Ankit@DESKTOP-65S9MDQ MINGW64 /e/WorkSpaces/Airbyte_Code/airbyte (master) $ SUB_BUILD=PLATFORM ./gradlew clean build Building Airbyte Sub Build: PLATFORM Type-safe dependency accessors is an incubating feature. > Configure project : configuring docker task for airbyte-bootloader configuring docker task for airbyte-cli configuring docker task for airbyte-container-orchestrator configuring docker task for airbyte-cron configuring docker task for airbyte-server configuring docker task for airbyte-temporal configuring docker task for airbyte-webapp configuring docker task for airbyte-workers configuring docker task for init configuring docker task for db-lib configuring docker task for reporter > Task :airbyte-temporal:buildDockerImage Building image using context 'E:\WorkSpaces\Airbyte_Code\airbyte\airbyte-temporal\build\docker'. Using images 'airbyte/temporal:dev'. Step 1/4 : FROM airbyte/temporal-auto-setup:1.13.0 ---> b7065905af23 Step 2/4 : ENV TEMPORAL_HOME /etc/temporal ---> Using cache ---> 07ae61b95b6a Step 3/4 : COPY bin/scripts/update-and-start-temporal.sh update-and-start-temporal.sh ---> Using cache ---> bf3190113ed7 Step 4/4 : ENTRYPOINT ["./update-and-start-temporal.sh"] ---> Using cache ---> d6f8bb17994a [Warning] One or more build-args [JDK_VERSION ALPINE_IMAGE NGINX_IMAGE VERSION JDK_IMAGE DOCKER_BUILD_ARCH] were not consumed Successfully built d6f8bb17994a Successfully tagged airbyte/temporal:dev Created image with ID 'd6f8bb17994a'. > Task :airbyte-config:init:buildDockerImage Building image using context 'E:\WorkSpaces\Airbyte_Code\airbyte\airbyte-config\init\build\docker'. Using images 'airbyte/init:dev'. Step 1/4 : ARG ALPINE_IMAGE=alpine:3.13 Step 2/4 : FROM ${ALPINE_IMAGE} AS seed ---> dd53f409bf0b Step 3/4 : WORKDIR /app ---> Using cache ---> 3b4e0be11120 Step 4/4 : COPY bin/scripts scripts ---> Using cache ---> c4ec7f4395ed [Warning] One or more build-args [JDK_VERSION NGINX_IMAGE VERSION JDK_IMAGE DOCKER_BUILD_ARCH] were not consumed Successfully built c4ec7f4395ed Successfully tagged airbyte/init:dev Created image with ID 'c4ec7f4395ed'. > Task :airbyte-cli:buildDockerImage Building image using context 'E:\WorkSpaces\Airbyte_Code\airbyte\airbyte-cli\build\docker'. Using images 'airbyte/cli:dev'. Step 1/6 : ARG ALPINE_IMAGE=alpine:3.13 Step 2/6 : FROM ${ALPINE_IMAGE} ---> dd53f409bf0b Step 3/6 : RUN apk --no-cache add curl tar && if [[ `uname -m` == "aarch64" ]] ; then ARCH=arm64 ; else ARCH=`uname -m` ; fi && curl -OL https://github.com/danielgtaylor/restish/releases/download/v0.9.0/restish-0.9.0-linux-${ARCH}.tar.gz && tar -C /usr/local/bin -xzf restish-0.9.0-linux-${ARCH}.tar.gz && rm -rf restish-0.9.0-linux-${ARCH}.tar.gz ---> Running in 533f24b1f0e4 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz > Task :airbyte-db:db-lib:buildDockerImage Building image using context 'E:\WorkSpaces\Airbyte_Code\airbyte\airbyte-db\db-lib\build\docker'. Using images 'airbyte/db:dev'. Step 1/2 : FROM postgres:13-alpine ---> ed8ed2786948 Step 2/2 : COPY bin/init.sql /docker-entrypoint-initdb.d/000_init.sql ---> Using cache ---> e8a11eaabddf [Warning] One or more build-args [VERSION JDK_IMAGE DOCKER_BUILD_ARCH JDK_VERSION ALPINE_IMAGE NGINX_IMAGE] were not consumed Successfully built e8a11eaabddf Successfully tagged airbyte/db:dev Created image with ID 'e8a11eaabddf'. > Task :airbyte-json-validation:jacocoTestCoverageVerification [ant:jacocoReport] Rule violated for class io.airbyte.validation.json.JsonSchemaValidator: branches covered ratio is 0.5, but expected minimum is 0.8 [ant:jacocoReport] Rule violated for class io.airbyte.validation.json.JsonSchemaValidator: instructions covered ratio is 0.6, but expected minimum is 0.8 [ant:jacocoReport] Rule violated for class io.airbyte.validation.json.JsonValidationException: instructions covered ratio is 0.4, but expected minimum is 0.8 [ant:jacocoReport] Rule violated for class io.airbyte.validation.json.AbstractSchemaValidator: instructions covered ratio is 0.0, but expected minimum is 0.8 > Task :airbyte-cli:buildDockerImage fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz (1/7) Installing ca-certificates (20220614-r0) (2/7) Installing brotli-libs (1.0.9-r5) (3/7) Installing nghttp2-libs (1.43.0-r0) (4/7) Installing libcurl (7.79.1-r3) (5/7) Installing curl (7.79.1-r3) (6/7) Installing libacl (2.2.53-r0) (7/7) Installing tar (1.34-r0) Executing busybox-1.33.1-r8.trigger Executing ca-certificates-20220614-r0.trigger OK: 8 MiB in 21 packages % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 > Task :airbyte-api:generateApiServerLegacy ################################################################################ # Thanks for using OpenAPI Generator. # # Please consider donation to help us maintain this project ? # # https://opencollective.com/openapi_generator/donate # ################################################################################ Successfully generated code to E:\WorkSpaces\Airbyte_Code\airbyte\airbyte-api\build/generated/api/server > Task :airbyte-webapp:npmInstall npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead. > Task :airbyte-notification:compileJava E:\WorkSpaces\Airbyte_Code\airbyte\airbyte-notification\src\main\java\io\airbyte\notification\NotificationClient.java:68: warning: non-varargs call of varargs method with inexact argument type for last parameter; return String.format(template, data); ^ cast to Object for a varargs call cast to Object[] for a non-varargs call and to suppress this warning E:\WorkSpaces\Airbyte_Code\airbyte\airbyte-notification\src\main\java\io\airbyte\notification\CustomerioNotificationClient.java:153: warning: non-varargs call of varargs method with inexact argument type for last parameter; return String.format(template, data); ^ cast to Object for a varargs call cast to Object[] for a non-varargs call and to suppress this warning 2 warnings > Task :airbyte-cli:buildDockerImage 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0curl: (6) Could not resolve host: objects.githubusercontent.com > Task :airbyte-cli:buildDockerImage FAILED > Task :airbyte-commons:test Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended > Task :airbyte-queue:test FAILED OnDiskQueueTest > testCleanupOnEmpty() FAILED org.opentest4j.AssertionFailedError: expected: but was: at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at app//org.junit.jupiter.api.AssertFalse.failNotFalse(AssertFalse.java:63) at app//org.junit.jupiter.api.AssertFalse.assertFalse(AssertFalse.java:36) at app//org.junit.jupiter.api.AssertFalse.assertFalse(AssertFalse.java:31) at app//org.junit.jupiter.api.Assertions.assertFalse(Assertions.java:227) at app//io.airbyte.queue.OnDiskQueueTest.testCleanupOnEmpty(OnDiskQueueTest.java:80) OnDiskQueueTest > testCleanupOnNotEmpty() FAILED org.opentest4j.AssertionFailedError: expected: but was: at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at app//org.junit.jupiter.api.AssertFalse.failNotFalse(AssertFalse.java:63) at app//org.junit.jupiter.api.AssertFalse.assertFalse(AssertFalse.java:36) at app//org.junit.jupiter.api.AssertFalse.assertFalse(AssertFalse.java:31) at app//org.junit.jupiter.api.Assertions.assertFalse(Assertions.java:227) at app//io.airbyte.queue.OnDiskQueueTest.testCleanupOnNotEmpty(OnDiskQueueTest.java:90) 6 tests completed, 2 failed > Task :airbyte-protocol:protocol-models:test CatalogHelpersTest > testGetFieldNames() FAILED org.opentest4j.AssertionFailedError: expected: <[CAD, DKK, HKD, HUF, ISK, PHP, date, items, nestedkey, oldName, someArray, somekey, something, something2, 文]> but was: <[CAD, DKK, HKD, HUF, ISK, PHP, date, items, nestedkey, oldName, someArray, somekey, something, something2, ?]> at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177) at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141) at app//io.airbyte.protocol.models.CatalogHelpersTest.testGetFieldNames(CatalogHelpersTest.java:103) 12 tests completed, 1 failed > Task :airbyte-protocol:protocol-models:test FAILED > Task :airbyte-config:specs:generateSeedConnectorSpecs 2022-09-21 21:34:36 INFO i.a.c.EnvConfigs(getEnvOrDefault):1096 - Using default value for environment variable SHOULD_RUN_SYNC_WORKFLOWS: 'true' 2022-09-21 21:34:36 INFO i.a.c.EnvConfigs(getEnvOrDefault):1096 - Using default value for environment variable WORKER_PLANE: 'CONTROL_PLANE' 2022-09-21 21:34:36 INFO i.a.c.EnvConfigs(getEnvOrDefault):1096 - Using default value for environment variable SPEC_CACHE_BUCKET: 'io-airbyte-cloud-spec-cache' 2022-09-21 21:34:37 INFO i.a.c.s.SeedConnectorSpecGenerator(run):78 - Updating seeded SOURCE definition specs if necessary... 2022-09-21 21:34:39 INFO i.a.c.s.SeedConnectorSpecGenerator(run):90 - Finished updating E:\WorkSpaces\Airbyte_Code\airbyte\airbyte-config\init\src\main\resources\seed\source_specs.yaml 2022-09-21 21:34:39 INFO i.a.c.s.SeedConnectorSpecGenerator(run):78 - Updating seeded DESTINATION definition specs if necessary... 2022-09-21 21:34:39 INFO i.a.c.s.SeedConnectorSpecGenerator(run):90 - Finished updating E:\WorkSpaces\Airbyte_Code\airbyte\airbyte-config\init\src\main\resources\seed\destination_specs.yaml > Task :airbyte-db:db-lib:compileJava Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. > Task :airbyte-webapp:npmInstall npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: react-dom@16.14.0 npm WARN Found: react@17.0.2 npm WARN node_modules/react npm WARN react@"^17.0.2" from the root project npm WARN 74 more (@emotion/react, @floating-ui/react-dom, ...) npm WARN npm WARN Could not resolve dependency: npm WARN peer react@"^16.14.0" from react-dom@16.14.0 npm WARN node_modules/react-lazylog/node_modules/react-dom npm WARN peer react-dom@"^15.3.0 || ^16.0.0-alpha" from react-virtualized@9.22.3 npm WARN node_modules/react-lazylog/node_modules/react-virtualized npm WARN npm WARN Conflicting peer dependency: react@16.14.0 npm WARN node_modules/react npm WARN peer react@"^16.14.0" from react-dom@16.14.0 npm WARN node_modules/react-lazylog/node_modules/react-dom npm WARN peer react-dom@"^15.3.0 || ^16.0.0-alpha" from react-virtualized@9.22.3 npm WARN node_modules/react-lazylog/node_modules/react-virtualized npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: react-virtualized@9.22.3 npm WARN Found: react@17.0.2 npm WARN node_modules/react npm WARN react@"^17.0.2" from the root project npm WARN 74 more (@emotion/react, @floating-ui/react-dom, ...) npm WARN npm WARN Could not resolve dependency: npm WARN peer react@"^15.3.0 || ^16.0.0-alpha" from react-virtualized@9.22.3 npm WARN node_modules/react-lazylog/node_modules/react-virtualized npm WARN react-virtualized@"^9.21.0" from react-lazylog@4.5.3 npm WARN node_modules/react-lazylog npm WARN npm WARN Conflicting peer dependency: react@16.14.0 npm WARN node_modules/react npm WARN peer react@"^15.3.0 || ^16.0.0-alpha" from react-virtualized@9.22.3 npm WARN node_modules/react-lazylog/node_modules/react-virtualized npm WARN react-virtualized@"^9.21.0" from react-lazylog@4.5.3 npm WARN node_modules/react-lazylog > Task :airbyte-api:compileJava Note: E:\WorkSpaces\Airbyte_Code\airbyte\airbyte-api\build\generated\api\client\src\main\java\io\airbyte\api\client\invoker\generated\JSON.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :airbyte-commons:test JsonsTest > testToPrettyString() FAILED org.opentest4j.AssertionFailedError: expected: <{ "test": "abc" } > but was: <{ "test": "abc" } > at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177) at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141) at app//io.airbyte.commons.json.JsonsTest.testToPrettyString(JsonsTest.java:228) MoreResourcesTest > testResourceReadDuplicateName() FAILED org.opentest4j.AssertionFailedError: expected: but was: at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177) at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141) at app//io.airbyte.commons.resources.MoreResourcesTest.testResourceReadDuplicateName(MoreResourcesTest.java:61) MoreResourcesTest > testResourceReadWithClass() FAILED org.opentest4j.AssertionFailedError: expected: but was: at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177) at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141) at app//io.airbyte.commons.resources.MoreResourcesTest.testResourceReadWithClass(MoreResourcesTest.java:36) MoreResourcesTest > testReadBytes() FAILED org.opentest4j.AssertionFailedError: expected: but was: at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177) at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141) at app//io.airbyte.commons.resources.MoreResourcesTest.testReadBytes(MoreResourcesTest.java:53) MoreResourcesTest > testResourceRead() FAILED org.opentest4j.AssertionFailedError: expected: but was: at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177) at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141) at app//io.airbyte.commons.resources.MoreResourcesTest.testResourceRead(MoreResourcesTest.java:28) MoreResourcesTest > testReadResourceAsFile() FAILED org.opentest4j.AssertionFailedError: expected: but was: at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177) at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141) at app//io.airbyte.commons.resources.MoreResourcesTest.testReadResourceAsFile(MoreResourcesTest.java:48) 136 tests completed, 6 failed > Task :airbyte-commons:test FAILED > Task :airbyte-cron:compileJava Note: Creating bean classes for 2 type elements > Task :airbyte-webapp:npmInstall added 22 packages, removed 26 packages, changed 67 packages, and audited 3856 packages in 51s 476 packages are looking for funding run `npm fund` for details 38 vulnerabilities (1 low, 6 moderate, 31 high) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. FAILURE: Build completed with 4 failures. 1: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':airbyte-cli:buildDockerImage'. > Could not build image: The command '/bin/sh -c apk --no-cache add curl tar && if [[ `uname -m` == "aarch64" ]] ; then ARCH=arm64 ; else ARCH=`uname -m` ; fi && curl -OL https://github.com/danielgtaylor/restish/releases/download/v0.9.0/restish-0.9.0-linux-${ARCH}.tar.gz && tar -C /usr/local/bin -xzf restish-0.9.0-linux-${ARCH}.tar.gz && rm -rf restish-0.9.0-linux-${ARCH}.tar.gz' returned a non-zero code: 6 * 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. ============================================================================== 2: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':airbyte-queue:test'. > There were failing tests. See the report at: file:///E:/WorkSpaces/Airbyte_Code/airbyte/airbyte-queue/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. ============================================================================== 3: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':airbyte-protocol:protocol-models:test'. > There were failing tests. See the report at: file:///E:/WorkSpaces/Airbyte_Code/airbyte/airbyte-protocol/protocol-models/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. ============================================================================== 4: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':airbyte-commons:test'. > There were failing tests. See the report at: file:///E:/WorkSpaces/Airbyte_Code/airbyte/airbyte-commons/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 8.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 1m 34s 161 actionable tasks: 107 executed, 25 from cache, 29 up-to-date