Unable to build new java destination connector with gradle


The user is facing an issue while trying to build a new Java destination connector using Gradle. The error log shows a context deadline exceeded error and a non-zero exit value 1.


Unable to build new java destination connector with gradle

Steps to reproduce, I have followed the steps as per airbyte documentation(https://docs.airbyte.com/connector-development/tutorials/building-a-java-destination)

git clone https://github.com/airbytehq/airbyte.git
cd airbyte-integrations/connector-templates/generator
cd ~/airbyte
./gradlew :airbyte-integrations:connectors:destination-foresight:build

Python version: 3.10.0
Java Version: 1.21.0

Error Log:

Task :airbyte-integrations:connectors:destination-foresight:buildConnectorImage
root: Setting working directory to /home/venkateshk/airbyte
pipelines: airbyte-ci is up to date. Installed version: 4.5.4. Latest version: 4.5.4
pipelines: Called with dagger run: False
pipelines.cli.dagger_run: Running command: [‘/home/venkateshk/bin/dagger’, ‘run’, ‘/home/venkateshk/tmp_venv/airbyte_venv/bin/airbyte-ci’, ‘connectors’, ‘–name=destination-foresight’, ‘–disable-report-auto-open’, ‘build’, ‘–use-host-gradle-dist-tar’]
1: connect
1: > in init
1: starting engine
1: starting engine [605.5s]NG [10m 25s]
1: connect ERROR: new client: context deadline exceeded
new client: context deadline exceeded

Task :airbyte-integrations:connectors:destination-foresight:buildConnectorImage FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ‘:airbyte-integrations:connectors:destination-foresight:buildConnectorImage’.
Process ‘command ‘/home/venkateshk/airbyte/airbyte-integrations/connectors/build/.venv/bin/python’’ finished with non-zero exit value 1

Could you please provide your thoughts on this?


This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want to access the original thread.

Join the conversation on Slack

["build-new-connector", "java-destination", "gradle", "context-deadline-exceeded", "non-zero-exit-value"]