See <https://builds.apache.org/job/AvroJava/883/display/redirect?page=changes>
Changes: [dkulp] [AVRO-2639] Grab unit test from #726, Rest was already done as part of [dan] Added Bzip2 codec. [dan] Fixed some whitespaces - force rebuild [dan] Added bzip codec to the valid ones [github] [AVRO-2278] getter semantics confusing. (#864) [github] AVRO-2714: [C#] Optimize reading on .NET Core and Standard 2.1+ (#792) [dan] AVRO-2753: Add leaveOpen optional flag [github] AVRO-2784: Add the possibility to append to existing files in C# (#853) [dan] AVRO-2792: Fix C# logical type tests to work in other timezones than UTC [dan] AVRO-2782:Add indexed access to C# GenericRecord ------------------------------------------ [...truncated 303.79 KB...] [INFO] [INFO] ---------------------< org.apache.avro:trevni-doc >--------------------- [INFO] Building Trevni Specification 1.10.0-SNAPSHOT [13/23] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ trevni-doc --- [INFO] Deleting <https://builds.apache.org/job/AvroJava/ws/lang/java/trevni/doc/target> [INFO] [INFO] --- maven-source-plugin:3.2.1:jar-no-fork (default-cli) @ trevni-doc --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ trevni-doc --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce) @ trevni-doc --- [INFO] Adding ignore: module-info [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-banned-dependencies) @ trevni-doc --- [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ trevni-doc --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- spotless-maven-plugin:1.31.0:check (spotless-check) @ trevni-doc --- [INFO] [INFO] --- maven-bundle-plugin:4.1.0:manifest (bundle-manifest) @ trevni-doc --- [WARNING] Ignoring project type pom - supportedProjectTypes = [bundle] [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (checkstyle-check) @ trevni-doc --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-site-plugin:3.9.0:attach-descriptor (attach-descriptor) @ trevni-doc --- [INFO] Attaching 'site.xml' site descriptor with classifier 'site'. [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ trevni-doc --- [INFO] Installing <https://builds.apache.org/job/AvroJava/ws/lang/java/trevni/doc/pom.xml> to /home/jenkins/.m2/repository/org/apache/avro/trevni-doc/1.10.0-SNAPSHOT/trevni-doc-1.10.0-SNAPSHOT.pom [INFO] Installing <https://builds.apache.org/job/AvroJava/ws/lang/java/trevni/doc/target/trevni-doc-1.10.0-SNAPSHOT-site.xml> to /home/jenkins/.m2/repository/org/apache/avro/trevni-doc/1.10.0-SNAPSHOT/trevni-doc-1.10.0-SNAPSHOT-site.xml [INFO] [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ trevni-doc --- Downloading from apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/avro/trevni-doc/1.10.0-SNAPSHOT/maven-metadata.xml Progress (1): 822 B Downloaded from apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/avro/trevni-doc/1.10.0-SNAPSHOT/maven-metadata.xml (822 B at 920 B/s) Uploading to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/avro/trevni-doc/1.10.0-SNAPSHOT/trevni-doc-1.10.0-20200522.124557-206.pom Progress (1): 2.0 kB Uploaded to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/avro/trevni-doc/1.10.0-SNAPSHOT/trevni-doc-1.10.0-20200522.124557-206.pom (2.0 kB at 2.1 kB/s) Downloading from apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/avro/trevni-doc/maven-metadata.xml Progress (1): 347 B Downloaded from apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/avro/trevni-doc/maven-metadata.xml (347 B at 922 B/s) Uploading to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/avro/trevni-doc/1.10.0-SNAPSHOT/maven-metadata.xml Progress (1): 822 B Uploaded to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/avro/trevni-doc/1.10.0-SNAPSHOT/maven-metadata.xml (822 B at 682 B/s) Uploading to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/avro/trevni-doc/maven-metadata.xml Progress (1): 347 B Uploaded to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/avro/trevni-doc/maven-metadata.xml (347 B at 320 B/s) Uploading to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/avro/trevni-doc/1.10.0-SNAPSHOT/trevni-doc-1.10.0-20200522.124557-206-site.xml Progress (1): 1.1 kB Uploaded to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/avro/trevni-doc/1.10.0-SNAPSHOT/trevni-doc-1.10.0-20200522.124557-206-site.xml (1.1 kB at 1.1 kB/s) Uploading to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/avro/trevni-doc/1.10.0-SNAPSHOT/maven-metadata.xml Progress (1): 822 B Uploaded to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/avro/trevni-doc/1.10.0-SNAPSHOT/maven-metadata.xml (822 B at 675 B/s) [INFO] [INFO] ---------------------< org.apache.avro:avro-tools >--------------------- [INFO] Building Apache Avro Tools 1.10.0-SNAPSHOT [14/23] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ avro-tools --- [INFO] Deleting <https://builds.apache.org/job/AvroJava/ws/lang/java/tools/target> [INFO] [INFO] --- maven-source-plugin:3.2.1:jar-no-fork (default-cli) @ avro-tools --- [INFO] Building jar: <https://builds.apache.org/job/AvroJava/ws/lang/java/tools/target/avro-tools-1.10.0-SNAPSHOT-sources.jar> [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ avro-tools --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce) @ avro-tools --- [INFO] Adding ignore: module-info [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-banned-dependencies) @ avro-tools --- [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ avro-tools --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ avro-tools --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 6 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ avro-tools --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 31 source files to <https://builds.apache.org/job/AvroJava/ws/lang/java/tools/target/classes> [WARNING] <https://builds.apache.org/job/AvroJava/ws/lang/java/tools/src/main/java/org/apache/avro/tool/TetherTool.java>:[37,30] org.apache.commons.cli.OptionBuilder in org.apache.commons.cli has been deprecated [WARNING] <https://builds.apache.org/job/AvroJava/ws/lang/java/tools/src/main/java/org/apache/avro/tool/TetherTool.java>:[40,30] org.apache.commons.cli.GnuParser in org.apache.commons.cli has been deprecated [INFO] <https://builds.apache.org/job/AvroJava/ws/lang/java/tools/src/main/java/org/apache/avro/tool/Util.java>: Some input files use unchecked or unsafe operations. [INFO] <https://builds.apache.org/job/AvroJava/ws/lang/java/tools/src/main/java/org/apache/avro/tool/Util.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- spotless-maven-plugin:1.31.0:check (spotless-check) @ avro-tools --- [INFO] [INFO] --- maven-bundle-plugin:4.1.0:manifest (bundle-manifest) @ avro-tools --- [WARNING] Ignoring project type jar - supportedProjectTypes = [bundle] [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ avro-tools --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ avro-tools --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 16 source files to <https://builds.apache.org/job/AvroJava/ws/lang/java/tools/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ avro-tools --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.avro.tool.TestMain [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 s - in org.apache.avro.tool.TestMain [INFO] Running org.apache.avro.tool.TestRpcProtocolTool [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.946 s - in org.apache.avro.tool.TestRpcProtocolTool [INFO] Running org.apache.avro.tool.TestJsonToFromBinaryFragmentTools [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.262 s - in org.apache.avro.tool.TestJsonToFromBinaryFragmentTools [INFO] Running org.apache.avro.tool.TestSpecificCompilerTool [ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.186 s <<< FAILURE! - in org.apache.avro.tool.TestSpecificCompilerTool [ERROR] org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemaWithFieldVisibility Time elapsed: 0.075 s <<< FAILURE! org.junit.ComparisonFailure: Found file: target/compiler/output/avro/examples/baseball/FieldVisibilityTest.java does not match expected file: src/test/compiler/output/FieldVisibilityTest.java expected:<... default: throw new [org.apache.avro.AvroRuntimeException("Bad index"); } } // Used by DatumReader. Applications should not call. @SuppressWarnings(value="unchecked") public void put(int field$, java.lang.Object value$) { switch (field$) { case 0: name = (java.lang.CharSequence)value$; break; case 1: favorite_number = (java.lang.Integer)value$; break; case 2: favorite_color = (java.lang.CharSequence)value$; break; default: throw new org.apache.avro.AvroRuntimeException("Bad index"]); } } /** * ...> but was:<... default: throw new [IndexOutOfBoundsException("Invalid index: " + field$); } } // Used by DatumReader. Applications should not call. @SuppressWarnings(value="unchecked") public void put(int field$, java.lang.Object value$) { switch (field$) { case 0: name = (java.lang.CharSequence)value$; break; case 1: favorite_number = (java.lang.Integer)value$; break; case 2: favorite_color = (java.lang.CharSequence)value$; break; default: throw new IndexOutOfBoundsException("Invalid index: " + field$]); } } /** * ...> at org.junit.Assert.assertEquals(Assert.java:117) at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:146) at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemaWithFieldVisibility(TestSpecificCompilerTool.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83) at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75) at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:377) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:138) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:465) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:451) [INFO] Running org.apache.avro.tool.TestCreateRandomFileTool [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.548 s - in org.apache.avro.tool.TestCreateRandomFileTool [INFO] Running org.apache.avro.tool.TestTetherTool [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.104 s - in org.apache.avro.tool.TestTetherTool [INFO] Running org.apache.avro.tool.TestRecodecTool [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.603 s - in org.apache.avro.tool.TestRecodecTool [INFO] Running org.apache.avro.tool.TestRpcReceiveAndSendTools [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.955 s - in org.apache.avro.tool.TestRpcReceiveAndSendTools [INFO] Running org.apache.avro.tool.TestDataFileTools [INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.244 s - in org.apache.avro.tool.TestDataFileTools [INFO] Running org.apache.avro.tool.TestTextFileTools [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.298 s - in org.apache.avro.tool.TestTextFileTools [INFO] Running org.apache.avro.tool.TestIdlToSchemataTool [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.418 s - in org.apache.avro.tool.TestIdlToSchemataTool [INFO] Running org.apache.avro.tool.TestCatTool [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.693 s - in org.apache.avro.tool.TestCatTool [INFO] Running org.apache.avro.tool.TestConcatTool [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.004 s - in org.apache.avro.tool.TestConcatTool [INFO] Running org.apache.avro.tool.TestDataFileRepairTool [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.082 s - in org.apache.avro.tool.TestDataFileRepairTool [INFO] Running org.apache.avro.tool.TestUtil [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.195 s - in org.apache.avro.tool.TestUtil [INFO] Running org.apache.avro.tool.TestToTrevniTool [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.42 s - in org.apache.avro.tool.TestToTrevniTool [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] TestSpecificCompilerTool.testCompileSchemaWithFieldVisibility:83->assertFileMatch:146 Found file: target/compiler/output/avro/examples/baseball/FieldVisibilityTest.java does not match expected file: src/test/compiler/output/FieldVisibilityTest.java expected:<... default: throw new [org.apache.avro.AvroRuntimeException("Bad index"); } } // Used by DatumReader. Applications should not call. @SuppressWarnings(value="unchecked") public void put(int field$, java.lang.Object value$) { switch (field$) { case 0: name = (java.lang.CharSequence)value$; break; case 1: favorite_number = (java.lang.Integer)value$; break; case 2: favorite_color = (java.lang.CharSequence)value$; break; default: throw new org.apache.avro.AvroRuntimeException("Bad index"]); } } /** * ...> but was:<... default: throw new [IndexOutOfBoundsException("Invalid index: " + field$); } } // Used by DatumReader. Applications should not call. @SuppressWarnings(value="unchecked") public void put(int field$, java.lang.Object value$) { switch (field$) { case 0: name = (java.lang.CharSequence)value$; break; case 1: favorite_number = (java.lang.Integer)value$; break; case 2: favorite_color = (java.lang.CharSequence)value$; break; default: throw new IndexOutOfBoundsException("Invalid index: " + field$]); } } /** * ...> [INFO] [ERROR] Tests run: 76, Failures: 1, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Avro Toplevel 1.10.0-SNAPSHOT ............... SUCCESS [ 8.048 s] [INFO] Apache Avro Java ................................... SUCCESS [ 6.503 s] [INFO] Apache Avro ........................................ SUCCESS [01:21 min] [INFO] Apache Avro Compiler ............................... SUCCESS [ 29.780 s] [INFO] Apache Avro Maven Plugin ........................... SUCCESS [ 20.120 s] [INFO] Apache Avro IPC .................................... SUCCESS [01:01 min] [INFO] Apache Avro IPC Jetty .............................. SUCCESS [ 21.704 s] [INFO] Apache Avro IPC Netty .............................. SUCCESS [ 29.696 s] [INFO] Trevni Java ........................................ SUCCESS [ 3.962 s] [INFO] Trevni Java Core ................................... SUCCESS [ 19.207 s] [INFO] Apache Avro Mapred API ............................. SUCCESS [02:24 min] [INFO] Trevni Java Avro ................................... SUCCESS [ 33.898 s] [INFO] Trevni Specification ............................... SUCCESS [ 7.598 s] [INFO] Apache Avro Tools .................................. FAILURE [ 42.415 s] [INFO] Apache Avro Protobuf Compatibility ................. SKIPPED [INFO] Apache Avro Thrift Compatibility ................... SKIPPED [INFO] Apache Avro Maven Archetypes ....................... SKIPPED [INFO] Apache Avro Maven Service Archetype ................ SKIPPED [INFO] Apache Avro gRPC ................................... SKIPPED [INFO] Avro Integration Tests ............................. SKIPPED [INFO] Apache Avro Codegen Test dependencies .............. SKIPPED [INFO] Apache Avro Codegen Test ........................... SKIPPED [INFO] Apache Avro Performance Test Suite 1.10.0-SNAPSHOT . SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 08:31 min [INFO] Finished at: 2020-05-22T12:46:46Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) on project avro-tools: There are test failures. [ERROR] [ERROR] Please refer to <https://builds.apache.org/job/AvroJava/ws/lang/java/tools/target/surefire-reports> for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :avro-tools Build step 'Invoke top-level Maven targets' marked build as failure Recording test results [JIRA] Updating issue AVRO-2639 [JIRA] Updating issue AVRO-2278 [JIRA] Updating issue AVRO-2714 [JIRA] Updating issue AVRO-2753 [JIRA] Updating issue AVRO-2784 [JIRA] Updating issue AVRO-2792 [JIRA] Updating issue AVRO-2782
