Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building a Java Custom Destination Fails at airbyte-ci connectors --name --disable-report-auto-open build --use-host-gradle-dist-tar #33805

Open
borko-charger opened this issue Dec 27, 2023 · 0 comments
Labels
area/platform issues related to the platform autoteam community frozen Not being actively worked on team/extensibility team/use

Comments

@borko-charger
Copy link

Topic

custom connector build issue

Relevant information

Steps to reproduce:

  1. Clone the airbyte repo (I checked out master)
  2. Run the generator for Java Destination
    2a) try build - failed due to check connection code
  3. Update the Check Connection code
  4. Build the connector
> Task :airbyte-integrations:connectors:destination-picolo:buildConnectorImage
The currently activated Python version 3.11.0 is not supported by the project (~3.10).
Trying to find and use a compatible version. 
Using python3 (3.10.12)
root: Setting working directory to /home/borko/projects/charger/airbyte
pipelines: airbyte-ci is up to date. Installed version: 2.12.0. Latest version: 2.12.0
pipelines: Called with dagger run: False
pipelines.cli.dagger_run: Running command: ['/home/borko/bin/dagger', 'run', '/home/borko/.cache/pypoetry/virtualenvs/pipelines-wBYiU3K6-py3.10/bin/airbyte-ci', 'connectors', '--name=destination-picolo', '--disable-report-auto-open', 'build', '--use-host-gradle-dist-tar']
Connected to engine c440e95b5e49
1: /home/borko/.cache/pypoetry/virtualenvs/pipelines-wBYiU3K6-py3.10/bin/airbyte-ci connectors --name=destination-picolo --disable-report-auto-open build --use-host-gradle-dist-tar
root: Setting working directory to /home/borko/projects/charger/airbyte
pipelines: airbyte-ci is up to date. Installed version: 2.12.0. Latest version: 2.12.0
pipelines: Called with dagger run: True
Usage: airbyte-ci connectors [OPTIONS] COMMAND [ARGS]...
Try 'airbyte-ci connectors --help' for help.

Error: Invalid value for '--name': 'destination-picolo' is not one of 'destination-mysql', 'destination-milvus'.... <full list>.
1: /home/borko/.cache/pypoetry/virtualenvs/pipelines-wBYiU3K6-py3.10/bin/airbyte-ci connectors --name=destination-picolo --disable-report-auto-open build --use-host-gradle-dist-tar ERROR: exit status 2
build: failed to solve: exit status 2

> Task :airbyte-integrations:connectors:destination-picolo:buildConnectorImage FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':airbyte-integrations:connectors:destination-picolo:buildConnectorImage'.
> Process 'command '/home/borko/projects/charger/airbyte/.venv/bin/python'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 14s
49 actionable tasks: 12 executed, 37 up-to-date

@borko-charger borko-charger changed the title Building a Java Custom Connector Fails at airbyte-ci connectors --name --disable-report-auto-open build --use-host-gradle-dist-tar Building a Java Custom Destination Fails at airbyte-ci connectors --name --disable-report-auto-open build --use-host-gradle-dist-tar Dec 27, 2023
@DanyloGL DanyloGL added area/platform issues related to the platform team/extensibility and removed needs-triage labels Jan 8, 2024
@girarda girarda added the frozen Not being actively worked on label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/platform issues related to the platform autoteam community frozen Not being actively worked on team/extensibility team/use
Projects
None yet
Development

No branches or pull requests

4 participants