https://linen.dev logo
p

P.VAD

06/08/2021, 2:14 PM
I am following this https://docs.airbyte.io/contributing-to-airbyte/developing-locally to setting up the locally development environment. But got fail during build. Any suggestion? I have install all technologies are required to build Airbyte locally mention at the beginning of the doc already. I am using Window 10 to do this.
Copy code
PS D:\Self-Project\PPMC\airbyte> ./gradlew clean build
Building all of Airbyte.
D:\Self-Project\PPMC\airbyte\airbyte-integrations\connectors
> Task :airbyte-cli:airbyteDocker FAILED
...
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':airbyte-cli:airbyteDocker'.
> A problem occurred starting process 'command 'D:\Self-Project\PPMC\airbyte\tools\bin\build_image.sh''

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

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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See <https://docs.gradle.org/6.7.1/userguide/command_line_interface.html#sec:command_line_warnings>

BUILD FAILED in 5m 16s
159 actionable tasks: 53 executed, 2 from cache, 104 up-to-date
u

user

06/08/2021, 2:30 PM
Hi, this looks like a docker error
u

user

06/08/2021, 2:30 PM
is the docker agent running on your windows?
u

user

06/08/2021, 2:33 PM
Yes, it is running normally
Docker version 20.10.6, build 370c289
u

user

06/08/2021, 2:34 PM
unfortunately it’s not possible to to do any development tasks on Airbyte on windows at the moment, must use linux or mac
u

user

06/08/2021, 2:34 PM
Understood, thanks. Will swap to Linux haha
u

user

06/08/2021, 2:34 PM
some users reported getting around this by using WSL2 on windows but I personally don’t have experience
u

user

06/08/2021, 3:11 PM
@s I have tried to install airbyte locally as well. This is my issue.
Copy code
<====---------> 36% EXECUTING [4m 1s]
> IDLE
<====---------> 36% EXECUTING [4m 2s]
> IDLE

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':airbyte-integrations:connectors:destination-s3:test'.
> There were failing tests. See the report at: file:///Users/sokheng_uchiha/Documents/Development/work/airbyte/airbyte-integrations/connectors/destination-s3/build/reports/tests/test/index.html

* Try:byte-integrations:connectors:source-clickhouse:compileIntegrationTestJavaJava > Resolve files of :airbyte-integrations:connec> :airbyte-integrRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights

* Get more help at <https://help.gradle.org-integrations>:connectors:source-clickh> :a> :airbyte-integ> :airbyte-integrations:connectors:source-clickh
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See <https://docs.gradle.org/6.7.1/userguide/command_line_interface.html#sec:command_line_warnings>

BUILD FAILED in 7m 39s
544 actionable tasks: 331 executed, 106 from cache, 107 up-to-date
u

user

06/08/2021, 3:11 PM
I am running on Mac
u

user

06/08/2021, 3:12 PM
what java version are you on?
u

user

06/08/2021, 3:14 PM
I am using
java 14.0.1 2020-04-14
u

user

06/08/2021, 3:14 PM
that's right
u

user

06/08/2021, 3:15 PM
what about python?
u

user

06/08/2021, 3:15 PM
Python 3.8.1 (v3.8.1:1b293b6006, Dec 18 2019, 14:08:53)
u

user

06/08/2021, 3:16 PM
what does the build output if you just run
./gradlew :airbyte-integrations:connectors:source-clickhouse:test
?
u

user

06/08/2021, 3:17 PM
I will do it and let you know