P.VAD
06/09/2021, 4:15 AM> Task :airbyte-integrations:connectors:destination-jdbc:test FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':airbyte-integrations:connectors:destination-jdbc:test'.
> There were failing tests. See the report at: file:///root/airbyte/airbyte-integrations/connectors/destination-jdbc/build/reports/tests/test/index.html
* 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 32m 3s
428 actionable tasks: 266 executed, 49 from cache, 113 up-to-date
Gradle was unable to watch the file system for changes. The inotify watches limit is too l
user
06/09/2021, 4:18 AMroot@airbyte:~/airbyte# java --version
java 14.0.2 2020-07-14
Java(TM) SE Runtime Environment (build 14.0.2+12-46)
Java HotSpot(TM) 64-Bit Server VM (build 14.0.2+12-46, mixed mode, sharing)
root@airbyte:~/airbyte# node --version
v14.17.0
root@airbyte:~/airbyte# python --version
Python 3.8.10
root@airbyte:~/airbyte# docker --version
Docker version 20.10.7, build f0df350
root@airbyte:~/airbyte# docker-compose --version
docker-compose version 1.29.2, build 5becea4c
root@airbyte:~/airbyte# jq --version
jq-1.5-1-a5b5cbe
root@airbyte:~/airbyte# cmake --version
cmake version 3.10.2
root@airbyte:~/airbyte# psql --version
psql (PostgreSQL) 10.17 (Ubuntu 10.17-0ubuntu0.18.04.1)
user
06/09/2021, 4:25 AM--stacktrace
and --info
?e.g. ./gradlew :airbyte-integrations:connectors:destination-jdbc:test --stacktrace --info
user
06/09/2021, 4:26 AMuser
06/09/2021, 4:30 AMto docker-java default behaviour. Exception message: /root/.docker/config.json (No such file or directory)
2021-06-09 04:28:44 INFO o.t.DockerClientFactory(client):210 - {} - Ryuk started - will monitor and terminate Testcontainers containers on JVM exit
2021-06-09 04:28:44 INFO o.t.DockerClientFactory(client):221 - {} - Checking the system...
2021-06-09 04:28:44 INFO o.t.DockerClientFactory(check):295 - {} - ✔︎ Docker server version should be at least 1.6.0lsTest
2021-06-09 04:28:45 ERROR o.t.DockerClientFactory(check):297 - {} - ❌ Docker environment should have more than 2GB free disk space
SqlOperationsUtilsTest > testInsertRawRecordsInSingleQuery() FAILED
java.lang.IllegalStateException: Check failed: Docker environment should have more than 2GB free disk space
at org.testcontainers.DockerClientFactory.check(DockerClientFactory.java:298)
at org.testcontainers.DockerClientFactory.checkDiskSpace(DockerClientFactory.java:287)
at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:224)
at org.testcontainers.LazyDockerClient.getDockerClient(LazyDockerClient.java:14)
at org.testcontainers.LazyDockerClient.authConfig(LazyDockerClient.java:12)
at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:310)
at io.airbyte.integrations.destination.jdbc.SqlOperationsUtilsTest.setup(SqlOperationsUtilsTest.java:64)
SwitchingDestinationTest > testCopy() STANDARD_OUT
2021-06-09 04:28:48 INFO i.a.i.d.j.c.SwitchingDestination(getConsumer):83 - {} - Using destination type: COPYtionTest
2021-06-09 04:28:48 INFO i.a.i.d.j.c.SwitchingDestination(check):75 - {} - Using destination type: COPY
SwitchingDestinationTest > testInsert() STANDARD_OUT
2021-06-09 04:28:48 INFO i.a.i.d.j.c.SwitchingDestination(getConsumer):83 - {} - Using destination type: INSERTonTest
2021-06-09 04:28:48 INFO i.a.i.d.j.c.SwitchingDestination(check):75 - {} - Using destination type: INSERT
Gradle Test Executor 1 finished executing tests.
> Task :airbyte-integrations:connectors:destination-jdbc:test FAILED
user
06/09/2021, 4:36 AMuser
06/09/2021, 4:36 AMuser
06/09/2021, 6:00 AMuser
06/09/2021, 6:14 AM> Task :airbyte-integrations:connectors:source-amazon-seller-partner:unitTest FAILED
:airbyte-integrations:connectors:source-amazon-seller-partner:unitTest (Thread[Daemon worker Thread 3,5,main]) completed. Took 2.153 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':airbyte-integrations:connectors:source-amazon-seller-partner:unitTest'.
> Python call failed: .venv/bin/python -m pytest -s unit_tests
user
06/09/2021, 6:21 AMuser
06/09/2021, 6:23 AMuser
06/09/2021, 6:38 AMuser
06/09/2021, 6:38 AMuser
06/09/2021, 6:41 AMuser
06/09/2021, 6:51 AMuser
06/09/2021, 6:52 AMuser
06/09/2021, 6:59 AMuser
06/09/2021, 7:00 AMuser
06/09/2021, 7:00 AMuser
06/09/2021, 7:04 AMuser
06/09/2021, 7:04 AM./gradlew :airbyte-integration:connectors:destination-s3:build
you should be gooduser
06/09/2021, 8:01 AMairbyte-scheduler | Host db:5432 not yet available...
airbyte-server | Host db:5432 not yet available...
airbyte-temporal | waiting for postgresql to start up
airbyte-temporal | nc: bad address 'db'
airbyte-temporal | + '[' 1 -eq 0 ']'
airbyte-temporal | + echo 'waiting for postgresql to start up'
airbyte-temporal | + sleep 1
airbyte-temporal | + nc -z db 5432
user
06/09/2021, 8:01 AMdocker stats
output?user
06/09/2021, 8:03 AMCONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
11647c344b3f airbyte-temporal 0.02% 1008KiB / 3.852GiB 0.02% 1.29kB / 252B 0B / 0B 2
7453cd3003e4 airbyte-webapp 0.00% 2.016MiB / 3.852GiB 0.05% 1.54kB / 0B 0B / 4.1kB 2
fc54d9721f5d airbyte-scheduler 0.02% 844KiB / 3.852GiB 0.02% 586B / 0B 0B / 0B 2
f61ebce509ba airbyte-server 0.03% 820KiB / 3.852GiB 0.02% 516B / 0B 0B / 0B 2
user
06/09/2021, 8:04 AMuser
06/09/2021, 8:04 AMuser
06/09/2021, 8:04 AMdocker-compose up
user
06/09/2021, 8:05 AMdocker-compose down -v
and then docker-compose up
and monitor the docker containers to see why Postgres isn't starting up?user
06/09/2021, 8:05 AMVERSION=dev
since you aren't developing on the Core Airbyte systemsuser
06/09/2021, 8:23 AM./gradlew :airbyte-integration:connectors:destination-s3:build
builds a dev image. if you set the S3 destination connector version to dev
in the admin page, the latest dev
image will always be used each timeuser
06/09/2021, 1:28 PMuser
06/09/2021, 1:39 PMuser
06/09/2021, 1:39 PMdev
. the next run should automatically pick it upuser
06/09/2021, 1:41 PMuser
06/09/2021, 1:44 PMuser
06/09/2021, 1:57 PMsimilarly you don't need to build core airbyte when working on the S3 connector. runningI follow your suggestion, but hmm it not automatically pickup the change. I working on this directorybuilds a dev image. if you set the S3 destination connector version to./gradlew :airbyte-integration:connectors:destination-s3:build
in the admin page, the latestdev
image will always be used each timedev
/airbyte-integrations/connectors/destination-s3/src/main
user
06/09/2021, 2:01 PMuser
06/09/2021, 2:02 PM