You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2019/03/28 18:53:16 UTC
Build failed in Jenkins: AvroJava #629
See <https://builds.apache.org/job/AvroJava/629/display/redirect?page=changes>
Changes:
[dkulp] [AVRO-2630] Part 2 - allow the JSR310 conversions to truncate at the
------------------------------------------
[...truncated 255.23 KB...]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.31 s - in org.apache.avro.tool.TestRpcReceiveAndSendTools
[INFO] Running org.apache.avro.tool.TestIdlToSchemataTool
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.472 s - in org.apache.avro.tool.TestIdlToSchemataTool
[INFO] Running org.apache.avro.tool.TestRecodecTool
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.622 s - in org.apache.avro.tool.TestRecodecTool
[INFO] Running org.apache.avro.tool.TestTetherTool
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.963 s - in org.apache.avro.tool.TestTetherTool
[INFO] Running org.apache.avro.tool.TestTextFileTools
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.325 s - in org.apache.avro.tool.TestTextFileTools
[INFO] Running org.apache.avro.tool.TestDataFileRepairTool
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 s - in org.apache.avro.tool.TestDataFileRepairTool
[INFO] Running org.apache.avro.tool.TestMain
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 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: 1.81 s - in org.apache.avro.tool.TestRpcProtocolTool
[INFO] Running org.apache.avro.tool.TestSpecificCompilerTool
[ERROR] Tests run: 5, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 1.837 s <<< FAILURE! - in org.apache.avro.tool.TestSpecificCompilerTool
[ERROR] testCompileSchemaTwoFiles(org.apache.avro.tool.TestSpecificCompilerTool) Time elapsed: 1.232 s <<< FAILURE!
org.junit.ComparisonFailure: Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemaTwoFiles(TestSpecificCompilerTool.java:86)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[ERROR] testCompileSchemaSingleFile(org.apache.avro.tool.TestSpecificCompilerTool) Time elapsed: 0.025 s <<< FAILURE!
org.junit.ComparisonFailure: Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemaSingleFile(TestSpecificCompilerTool.java:78)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[ERROR] testCompileSchemasUsingString(org.apache.avro.tool.TestSpecificCompilerTool) Time elapsed: 0.103 s <<< FAILURE!
org.junit.ComparisonFailure: Found file: target/compiler/output-string/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output-string/avro/examples/baseball/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemasUsingString(TestSpecificCompilerTool.java:104)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[ERROR] testCompileSchemaFileAndDirectory(org.apache.avro.tool.TestSpecificCompilerTool) Time elapsed: 0.285 s <<< FAILURE!
org.junit.ComparisonFailure: Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemaFileAndDirectory(TestSpecificCompilerTool.java:95)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[INFO] Running org.apache.avro.tool.TestCatTool
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.948 s - in org.apache.avro.tool.TestCatTool
[INFO] Running org.apache.avro.tool.TestDataFileTools
[INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.399 s - in org.apache.avro.tool.TestDataFileTools
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] TestSpecificCompilerTool.testCompileSchemaFileAndDirectory:95->assertFileMatch:133 Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[ERROR] TestSpecificCompilerTool.testCompileSchemaSingleFile:78->assertFileMatch:133 Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[ERROR] TestSpecificCompilerTool.testCompileSchemaTwoFiles:86->assertFileMatch:133 Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[ERROR] TestSpecificCompilerTool.testCompileSchemasUsingString:104->assertFileMatch:133 Found file: target/compiler/output-string/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output-string/avro/examples/baseball/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[INFO]
[ERROR] Tests run: 68, Failures: 4, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Avro Toplevel 1.9.0-SNAPSHOT ................ SUCCESS [ 14.711 s]
[INFO] Apache Avro Java ................................... SUCCESS [ 11.219 s]
[INFO] Apache Avro ........................................ SUCCESS [01:54 min]
[INFO] Apache Avro Compiler ............................... SUCCESS [01:00 min]
[INFO] Apache Avro Maven Plugin ........................... SUCCESS [ 33.408 s]
[INFO] Apache Avro IPC .................................... SUCCESS [02:12 min]
[INFO] Apache Avro IPC Jetty .............................. SUCCESS [ 40.414 s]
[INFO] Apache Avro IPC Netty .............................. SUCCESS [ 45.666 s]
[INFO] Trevni Java ........................................ SUCCESS [ 6.697 s]
[INFO] Trevni Java Core ................................... SUCCESS [ 34.380 s]
[INFO] Apache Avro Mapred API ............................. SUCCESS [04:20 min]
[INFO] Trevni Java Avro ................................... SUCCESS [ 55.764 s]
[INFO] Trevni Specification ............................... SUCCESS [ 9.695 s]
[INFO] Apache Avro Tools .................................. FAILURE [01:10 min]
[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.9.0-SNAPSHOT .. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14:56 min
[INFO] Finished at: 2019-03-28T18:53:14Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3: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
AVRO-2630 issue doesn't exist in JIRA
Jenkins build is back to normal : AvroJava #635
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/AvroJava/635/display/redirect>
Build failed in Jenkins: AvroJava #634
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/AvroJava/634/display/redirect?page=changes>
Changes:
[dkulp] [AVRO-813] Keep the InputStream contract of -1 for eof Patch from Bruno
------------------------------------------
[...truncated 267.21 KB...]
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[ERROR] testCompileSchemasWithVariousFieldTypes(org.apache.avro.tool.TestSpecificCompilerTool) Time elapsed: 0.24 s <<< FAILURE!
org.junit.ComparisonFailure: Found file: target/compiler/output-string/avro/examples/baseball/FieldTest.java does not match expected file: src/test/compiler/output-string/avro/examples/baseball/FieldTest.java expected:<...rg.apache.avro.data.[TimeConversions.TimestampMillisConversion()); MODEL$.addLogicalTypeConversion(new org.apache.avro.data.TimeConversions.TimeMillisConversion()); } private static final BinaryMessageEncoder<FieldTest> ENCODER = new BinaryMessageEncoder<FieldTest>(MODEL$, SCHEMA$); private static final BinaryMessageDecoder<FieldTest> DECODER = new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$); /** * Return the BinaryMessageEncoder instance used by this class. * @return the message encoder used by this class */ public static BinaryMessageEncoder<FieldTest> getEncoder() { return ENCODER; } /** * Return the BinaryMessageDecoder instance used by this class. * @return the message decoder used by this class */ public static BinaryMessageDecoder<FieldTest> getDecoder() { return DECODER; } /** * Create a new BinaryMessageDecoder instance for this class that uses the specified {@link SchemaStore}. * @param resolver a {@link SchemaStore} used to find schemas by fingerprint * @return a BinaryMessageDecoder instance for this class backed by the given SchemaStore */ public static BinaryMessageDecoder<FieldTest> createDecoder(SchemaStore resolver) { return new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$, resolver); } /** * Serializes this FieldTest to a ByteBuffer. * @return a buffer holding the serialized data for this instance * @throws java.io.IOException if this instance could not be serialized */ public java.nio.ByteBuffer toByteBuffer() throws java.io.IOException { return ENCODER.encode(this); } /** * Deserializes a FieldTest from a ByteBuffer. * @param b a byte buffer holding serialized data for an instance of this class * @return a FieldTest instance decoded from the given buffer * @throws java.io.IOException if the given bytes could not be deserialized into an instance of this class */ public static FieldTest fromByteBuffer( java.nio.ByteBuffer b) throws java.io.IOException { return DECODER.decode(b); } /** The number of the player */ private int number; private java.lang.String last_name; private java.time.Instant timestamp; private java.time.Instant timestampMicros; private java.time.LocalTime timeMillis; private java.time.LocalTime timeMicros; /** * Default constructor. Note that this does not initialize fields * to their default values from the schema. If that is desired then * one should use <code>newBuilder()</code>. */ public FieldTest() {} /** * All-args constructor. * @param number The number of the player * @param last_name The new value for last_name * @param timestamp The new value for timestamp * @param timestampMicros The new value for timestampMicros * @param timeMillis The new value for timeMillis * @param timeMicros The new value for timeMicros */ public FieldTest(java.lang.Integer number, java.lang.String last_name, java.time.Instant timestamp, java.time.Instant timestampMicros, java.time.LocalTime timeMillis, java.time.LocalTime timeMicros) { this.number = number; this.last_name = last_name; this.timestamp = timestamp.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timestampMicros = timestampMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); this.timeMillis = timeMillis.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timeMicros = timeMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); } public org.apache.avro.specific.SpecificData getSpecificData() { return MODEL$; } public org.apache.avro.Schema getSchema() { return SCHEMA$; } // Used by DatumWriter. Applications should not call. public java.lang.Object get(int field$) { switch (field$) { case 0: return number; case 1: return last_name; case 2: return timestamp; case 3: return timestampMicros; case 4: return timeMillis; case 5: return timeMicros; default: throw new org.apache.avro.AvroRuntimeException("Bad index"); } } private static final org.apache.avro.Conversion<?>[] conversions = new org.apache.avro.Conversion<?>[] { null, null, new org.apache.avro.data.TimeConversions.TimestampMillisConversion(), new org.apache.avro.data.TimeConversions.TimestampMicrosConversion(), new org.apache.avro.data.TimeConversions.TimeMillisConversion(), new org.apache.avro.data.]TimeConversions.Time...> but was:<...rg.apache.avro.data.[Jsr310TimeConversions.TimestampMillisConversion()); MODEL$.addLogicalTypeConversion(new org.apache.avro.data.Jsr310TimeConversions.TimeMillisConversion()); } private static final BinaryMessageEncoder<FieldTest> ENCODER = new BinaryMessageEncoder<FieldTest>(MODEL$, SCHEMA$); private static final BinaryMessageDecoder<FieldTest> DECODER = new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$); /** * Return the BinaryMessageEncoder instance used by this class. * @return the message encoder used by this class */ public static BinaryMessageEncoder<FieldTest> getEncoder() { return ENCODER; } /** * Return the BinaryMessageDecoder instance used by this class. * @return the message decoder used by this class */ public static BinaryMessageDecoder<FieldTest> getDecoder() { return DECODER; } /** * Create a new BinaryMessageDecoder instance for this class that uses the specified {@link SchemaStore}. * @param resolver a {@link SchemaStore} used to find schemas by fingerprint * @return a BinaryMessageDecoder instance for this class backed by the given SchemaStore */ public static BinaryMessageDecoder<FieldTest> createDecoder(SchemaStore resolver) { return new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$, resolver); } /** * Serializes this FieldTest to a ByteBuffer. * @return a buffer holding the serialized data for this instance * @throws java.io.IOException if this instance could not be serialized */ public java.nio.ByteBuffer toByteBuffer() throws java.io.IOException { return ENCODER.encode(this); } /** * Deserializes a FieldTest from a ByteBuffer. * @param b a byte buffer holding serialized data for an instance of this class * @return a FieldTest instance decoded from the given buffer * @throws java.io.IOException if the given bytes could not be deserialized into an instance of this class */ public static FieldTest fromByteBuffer( java.nio.ByteBuffer b) throws java.io.IOException { return DECODER.decode(b); } /** The number of the player */ private int number; private java.lang.String last_name; private java.time.Instant timestamp; private java.time.Instant timestampMicros; private java.time.LocalTime timeMillis; private java.time.LocalTime timeMicros; /** * Default constructor. Note that this does not initialize fields * to their default values from the schema. If that is desired then * one should use <code>newBuilder()</code>. */ public FieldTest() {} /** * All-args constructor. * @param number The number of the player * @param last_name The new value for last_name * @param timestamp The new value for timestamp * @param timestampMicros The new value for timestampMicros * @param timeMillis The new value for timeMillis * @param timeMicros The new value for timeMicros */ public FieldTest(java.lang.Integer number, java.lang.String last_name, java.time.Instant timestamp, java.time.Instant timestampMicros, java.time.LocalTime timeMillis, java.time.LocalTime timeMicros) { this.number = number; this.last_name = last_name; this.timestamp = timestamp.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timestampMicros = timestampMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); this.timeMillis = timeMillis.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timeMicros = timeMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); } public org.apache.avro.specific.SpecificData getSpecificData() { return MODEL$; } public org.apache.avro.Schema getSchema() { return SCHEMA$; } // Used by DatumWriter. Applications should not call. public java.lang.Object get(int field$) { switch (field$) { case 0: return number; case 1: return last_name; case 2: return timestamp; case 3: return timestampMicros; case 4: return timeMillis; case 5: return timeMicros; default: throw new org.apache.avro.AvroRuntimeException("Bad index"); } } private static final org.apache.avro.Conversion<?>[] conversions = new org.apache.avro.Conversion<?>[] { null, null, new org.apache.avro.data.Jsr310TimeConversions.TimestampMillisConversion(), new org.apache.avro.data.Jsr310TimeConversions.TimestampMicrosConversion(), new org.apache.avro.data.Jsr310TimeConversions.TimeMillisConversion(), new org.apache.avro.data.Jsr310]TimeConversions.Time...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemasWithVariousFieldTypes(TestSpecificCompilerTool.java:113)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[ERROR] testCompileSchemaSingleFile(org.apache.avro.tool.TestSpecificCompilerTool) Time elapsed: 0.016 s <<< FAILURE!
org.junit.ComparisonFailure: Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemaSingleFile(TestSpecificCompilerTool.java:78)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[ERROR] testCompileSchemasUsingString(org.apache.avro.tool.TestSpecificCompilerTool) Time elapsed: 0.112 s <<< FAILURE!
org.junit.ComparisonFailure: Found file: target/compiler/output-string/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output-string/avro/examples/baseball/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemasUsingString(TestSpecificCompilerTool.java:104)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[ERROR] testCompileSchemaFileAndDirectory(org.apache.avro.tool.TestSpecificCompilerTool) Time elapsed: 0.232 s <<< FAILURE!
org.junit.ComparisonFailure: Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemaFileAndDirectory(TestSpecificCompilerTool.java:95)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[INFO] Running org.apache.avro.tool.TestToTrevniTool
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.963 s - in org.apache.avro.tool.TestToTrevniTool
[INFO] Running org.apache.avro.tool.TestTextFileTools
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.998 s - in org.apache.avro.tool.TestTextFileTools
[INFO] Running org.apache.avro.tool.TestRpcReceiveAndSendTools
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.169 s - in org.apache.avro.tool.TestRpcReceiveAndSendTools
[INFO] Running org.apache.avro.tool.TestJsonToFromBinaryFragmentTools
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.354 s - in org.apache.avro.tool.TestJsonToFromBinaryFragmentTools
[INFO] Running org.apache.avro.tool.TestDataFileRepairTool
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.069 s - in org.apache.avro.tool.TestDataFileRepairTool
[INFO] Running org.apache.avro.tool.TestTetherTool
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.081 s - in org.apache.avro.tool.TestTetherTool
[INFO] Running org.apache.avro.tool.TestCatTool
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.548 s - in org.apache.avro.tool.TestCatTool
[INFO] Running org.apache.avro.tool.TestCreateRandomFileTool
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.266 s - in org.apache.avro.tool.TestCreateRandomFileTool
[INFO] Running org.apache.avro.tool.TestIdlToSchemataTool
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.453 s - in org.apache.avro.tool.TestIdlToSchemataTool
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] TestSpecificCompilerTool.testCompileSchemaFileAndDirectory:95->assertFileMatch:133 Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[ERROR] TestSpecificCompilerTool.testCompileSchemaSingleFile:78->assertFileMatch:133 Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[ERROR] TestSpecificCompilerTool.testCompileSchemaTwoFiles:86->assertFileMatch:133 Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[ERROR] TestSpecificCompilerTool.testCompileSchemasUsingString:104->assertFileMatch:133 Found file: target/compiler/output-string/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output-string/avro/examples/baseball/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[ERROR] TestSpecificCompilerTool.testCompileSchemasWithVariousFieldTypes:113->assertFileMatch:133 Found file: target/compiler/output-string/avro/examples/baseball/FieldTest.java does not match expected file: src/test/compiler/output-string/avro/examples/baseball/FieldTest.java expected:<...rg.apache.avro.data.[TimeConversions.TimestampMillisConversion()); MODEL$.addLogicalTypeConversion(new org.apache.avro.data.TimeConversions.TimeMillisConversion()); } private static final BinaryMessageEncoder<FieldTest> ENCODER = new BinaryMessageEncoder<FieldTest>(MODEL$, SCHEMA$); private static final BinaryMessageDecoder<FieldTest> DECODER = new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$); /** * Return the BinaryMessageEncoder instance used by this class. * @return the message encoder used by this class */ public static BinaryMessageEncoder<FieldTest> getEncoder() { return ENCODER; } /** * Return the BinaryMessageDecoder instance used by this class. * @return the message decoder used by this class */ public static BinaryMessageDecoder<FieldTest> getDecoder() { return DECODER; } /** * Create a new BinaryMessageDecoder instance for this class that uses the specified {@link SchemaStore}. * @param resolver a {@link SchemaStore} used to find schemas by fingerprint * @return a BinaryMessageDecoder instance for this class backed by the given SchemaStore */ public static BinaryMessageDecoder<FieldTest> createDecoder(SchemaStore resolver) { return new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$, resolver); } /** * Serializes this FieldTest to a ByteBuffer. * @return a buffer holding the serialized data for this instance * @throws java.io.IOException if this instance could not be serialized */ public java.nio.ByteBuffer toByteBuffer() throws java.io.IOException { return ENCODER.encode(this); } /** * Deserializes a FieldTest from a ByteBuffer. * @param b a byte buffer holding serialized data for an instance of this class * @return a FieldTest instance decoded from the given buffer * @throws java.io.IOException if the given bytes could not be deserialized into an instance of this class */ public static FieldTest fromByteBuffer( java.nio.ByteBuffer b) throws java.io.IOException { return DECODER.decode(b); } /** The number of the player */ private int number; private java.lang.String last_name; private java.time.Instant timestamp; private java.time.Instant timestampMicros; private java.time.LocalTime timeMillis; private java.time.LocalTime timeMicros; /** * Default constructor. Note that this does not initialize fields * to their default values from the schema. If that is desired then * one should use <code>newBuilder()</code>. */ public FieldTest() {} /** * All-args constructor. * @param number The number of the player * @param last_name The new value for last_name * @param timestamp The new value for timestamp * @param timestampMicros The new value for timestampMicros * @param timeMillis The new value for timeMillis * @param timeMicros The new value for timeMicros */ public FieldTest(java.lang.Integer number, java.lang.String last_name, java.time.Instant timestamp, java.time.Instant timestampMicros, java.time.LocalTime timeMillis, java.time.LocalTime timeMicros) { this.number = number; this.last_name = last_name; this.timestamp = timestamp.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timestampMicros = timestampMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); this.timeMillis = timeMillis.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timeMicros = timeMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); } public org.apache.avro.specific.SpecificData getSpecificData() { return MODEL$; } public org.apache.avro.Schema getSchema() { return SCHEMA$; } // Used by DatumWriter. Applications should not call. public java.lang.Object get(int field$) { switch (field$) { case 0: return number; case 1: return last_name; case 2: return timestamp; case 3: return timestampMicros; case 4: return timeMillis; case 5: return timeMicros; default: throw new org.apache.avro.AvroRuntimeException("Bad index"); } } private static final org.apache.avro.Conversion<?>[] conversions = new org.apache.avro.Conversion<?>[] { null, null, new org.apache.avro.data.TimeConversions.TimestampMillisConversion(), new org.apache.avro.data.TimeConversions.TimestampMicrosConversion(), new org.apache.avro.data.TimeConversions.TimeMillisConversion(), new org.apache.avro.data.]TimeConversions.Time...> but was:<...rg.apache.avro.data.[Jsr310TimeConversions.TimestampMillisConversion()); MODEL$.addLogicalTypeConversion(new org.apache.avro.data.Jsr310TimeConversions.TimeMillisConversion()); } private static final BinaryMessageEncoder<FieldTest> ENCODER = new BinaryMessageEncoder<FieldTest>(MODEL$, SCHEMA$); private static final BinaryMessageDecoder<FieldTest> DECODER = new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$); /** * Return the BinaryMessageEncoder instance used by this class. * @return the message encoder used by this class */ public static BinaryMessageEncoder<FieldTest> getEncoder() { return ENCODER; } /** * Return the BinaryMessageDecoder instance used by this class. * @return the message decoder used by this class */ public static BinaryMessageDecoder<FieldTest> getDecoder() { return DECODER; } /** * Create a new BinaryMessageDecoder instance for this class that uses the specified {@link SchemaStore}. * @param resolver a {@link SchemaStore} used to find schemas by fingerprint * @return a BinaryMessageDecoder instance for this class backed by the given SchemaStore */ public static BinaryMessageDecoder<FieldTest> createDecoder(SchemaStore resolver) { return new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$, resolver); } /** * Serializes this FieldTest to a ByteBuffer. * @return a buffer holding the serialized data for this instance * @throws java.io.IOException if this instance could not be serialized */ public java.nio.ByteBuffer toByteBuffer() throws java.io.IOException { return ENCODER.encode(this); } /** * Deserializes a FieldTest from a ByteBuffer. * @param b a byte buffer holding serialized data for an instance of this class * @return a FieldTest instance decoded from the given buffer * @throws java.io.IOException if the given bytes could not be deserialized into an instance of this class */ public static FieldTest fromByteBuffer( java.nio.ByteBuffer b) throws java.io.IOException { return DECODER.decode(b); } /** The number of the player */ private int number; private java.lang.String last_name; private java.time.Instant timestamp; private java.time.Instant timestampMicros; private java.time.LocalTime timeMillis; private java.time.LocalTime timeMicros; /** * Default constructor. Note that this does not initialize fields * to their default values from the schema. If that is desired then * one should use <code>newBuilder()</code>. */ public FieldTest() {} /** * All-args constructor. * @param number The number of the player * @param last_name The new value for last_name * @param timestamp The new value for timestamp * @param timestampMicros The new value for timestampMicros * @param timeMillis The new value for timeMillis * @param timeMicros The new value for timeMicros */ public FieldTest(java.lang.Integer number, java.lang.String last_name, java.time.Instant timestamp, java.time.Instant timestampMicros, java.time.LocalTime timeMillis, java.time.LocalTime timeMicros) { this.number = number; this.last_name = last_name; this.timestamp = timestamp.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timestampMicros = timestampMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); this.timeMillis = timeMillis.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timeMicros = timeMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); } public org.apache.avro.specific.SpecificData getSpecificData() { return MODEL$; } public org.apache.avro.Schema getSchema() { return SCHEMA$; } // Used by DatumWriter. Applications should not call. public java.lang.Object get(int field$) { switch (field$) { case 0: return number; case 1: return last_name; case 2: return timestamp; case 3: return timestampMicros; case 4: return timeMillis; case 5: return timeMicros; default: throw new org.apache.avro.AvroRuntimeException("Bad index"); } } private static final org.apache.avro.Conversion<?>[] conversions = new org.apache.avro.Conversion<?>[] { null, null, new org.apache.avro.data.Jsr310TimeConversions.TimestampMillisConversion(), new org.apache.avro.data.Jsr310TimeConversions.TimestampMicrosConversion(), new org.apache.avro.data.Jsr310TimeConversions.TimeMillisConversion(), new org.apache.avro.data.Jsr310]TimeConversions.Time...>
[INFO]
[ERROR] Tests run: 68, Failures: 5, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Avro Toplevel 1.9.0-SNAPSHOT ................ SUCCESS [ 13.884 s]
[INFO] Apache Avro Java ................................... SUCCESS [ 9.867 s]
[INFO] Apache Avro ........................................ SUCCESS [01:37 min]
[INFO] Apache Avro Compiler ............................... SUCCESS [ 43.659 s]
[INFO] Apache Avro Maven Plugin ........................... SUCCESS [ 27.814 s]
[INFO] Apache Avro IPC .................................... SUCCESS [01:35 min]
[INFO] Apache Avro IPC Jetty .............................. SUCCESS [ 34.154 s]
[INFO] Apache Avro IPC Netty .............................. SUCCESS [ 39.466 s]
[INFO] Trevni Java ........................................ SUCCESS [ 6.131 s]
[INFO] Trevni Java Core ................................... SUCCESS [ 25.908 s]
[INFO] Apache Avro Mapred API ............................. SUCCESS [03:19 min]
[INFO] Trevni Java Avro ................................... SUCCESS [ 43.914 s]
[INFO] Trevni Specification ............................... SUCCESS [ 8.908 s]
[INFO] Apache Avro Tools .................................. FAILURE [ 57.889 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.9.0-SNAPSHOT .. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11:48 min
[INFO] Finished at: 2019-04-01T21:50:05Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3: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-813
Build failed in Jenkins: AvroJava #633
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/AvroJava/633/display/redirect?page=changes>
Changes:
[dan] AVRO-2365 Enhancements to maven-plugin induce goal
[dan] AVRO-2365: Allow using custom ReflectData impl
[dan] AVRO-2364 Use Jackson TokenBuffer in JsonDecoder
[dan] Wrap tokenBuffer in try-with-resource
[dan] AVRO-2354: Add CombineAvroKeyValueFileInputFormat in avro-mapred to
[dan] reorder test expectation
[dkulp] Update to latest jetty
[dkulp] Fix spotify errors after merge
[dkulp] New test may have different order on different systems
------------------------------------------
[...truncated 324.20 KB...]
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[ERROR] testCompileSchemaSingleFile(org.apache.avro.tool.TestSpecificCompilerTool) Time elapsed: 0.027 s <<< FAILURE!
org.junit.ComparisonFailure: Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemaSingleFile(TestSpecificCompilerTool.java:78)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[ERROR] testCompileSchemasUsingString(org.apache.avro.tool.TestSpecificCompilerTool) Time elapsed: 0.206 s <<< FAILURE!
org.junit.ComparisonFailure: Found file: target/compiler/output-string/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output-string/avro/examples/baseball/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemasUsingString(TestSpecificCompilerTool.java:104)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[ERROR] testCompileSchemaFileAndDirectory(org.apache.avro.tool.TestSpecificCompilerTool) Time elapsed: 0.304 s <<< FAILURE!
org.junit.ComparisonFailure: Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemaFileAndDirectory(TestSpecificCompilerTool.java:95)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[INFO] Running org.apache.avro.tool.TestCreateRandomFileTool
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.609 s - in org.apache.avro.tool.TestCreateRandomFileTool
[INFO] Running org.apache.avro.tool.TestJsonToFromBinaryFragmentTools
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.784 s - in org.apache.avro.tool.TestJsonToFromBinaryFragmentTools
[INFO] Running org.apache.avro.tool.TestMain
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s - in org.apache.avro.tool.TestMain
[INFO] Running org.apache.avro.tool.TestIdlToSchemataTool
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.579 s - in org.apache.avro.tool.TestIdlToSchemataTool
[INFO] Running org.apache.avro.tool.TestTextFileTools
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.348 s - in org.apache.avro.tool.TestTextFileTools
[INFO] Running org.apache.avro.tool.TestToTrevniTool
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.333 s - in org.apache.avro.tool.TestToTrevniTool
[INFO] Running org.apache.avro.tool.TestDataFileRepairTool
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 s - in org.apache.avro.tool.TestDataFileRepairTool
[INFO] Running org.apache.avro.tool.TestCatTool
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.057 s - in org.apache.avro.tool.TestCatTool
[INFO] Running org.apache.avro.tool.TestRecodecTool
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.906 s - in org.apache.avro.tool.TestRecodecTool
[INFO] Running org.apache.avro.tool.TestRpcProtocolTool
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.539 s - in org.apache.avro.tool.TestRpcProtocolTool
[INFO] Running org.apache.avro.tool.TestConcatTool
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.713 s - in org.apache.avro.tool.TestConcatTool
[INFO] Running org.apache.avro.tool.TestRpcReceiveAndSendTools
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.357 s - in org.apache.avro.tool.TestRpcReceiveAndSendTools
[INFO] Running org.apache.avro.tool.TestDataFileTools
[INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.123 s - in org.apache.avro.tool.TestDataFileTools
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] TestSpecificCompilerTool.testCompileSchemaFileAndDirectory:95->assertFileMatch:133 Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[ERROR] TestSpecificCompilerTool.testCompileSchemaSingleFile:78->assertFileMatch:133 Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[ERROR] TestSpecificCompilerTool.testCompileSchemaTwoFiles:86->assertFileMatch:133 Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[ERROR] TestSpecificCompilerTool.testCompileSchemasUsingString:104->assertFileMatch:133 Found file: target/compiler/output-string/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output-string/avro/examples/baseball/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[ERROR] TestSpecificCompilerTool.testCompileSchemasWithVariousFieldTypes:113->assertFileMatch:133 Found file: target/compiler/output-string/avro/examples/baseball/FieldTest.java does not match expected file: src/test/compiler/output-string/avro/examples/baseball/FieldTest.java expected:<...rg.apache.avro.data.[TimeConversions.TimestampMillisConversion()); MODEL$.addLogicalTypeConversion(new org.apache.avro.data.TimeConversions.TimeMillisConversion()); } private static final BinaryMessageEncoder<FieldTest> ENCODER = new BinaryMessageEncoder<FieldTest>(MODEL$, SCHEMA$); private static final BinaryMessageDecoder<FieldTest> DECODER = new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$); /** * Return the BinaryMessageEncoder instance used by this class. * @return the message encoder used by this class */ public static BinaryMessageEncoder<FieldTest> getEncoder() { return ENCODER; } /** * Return the BinaryMessageDecoder instance used by this class. * @return the message decoder used by this class */ public static BinaryMessageDecoder<FieldTest> getDecoder() { return DECODER; } /** * Create a new BinaryMessageDecoder instance for this class that uses the specified {@link SchemaStore}. * @param resolver a {@link SchemaStore} used to find schemas by fingerprint * @return a BinaryMessageDecoder instance for this class backed by the given SchemaStore */ public static BinaryMessageDecoder<FieldTest> createDecoder(SchemaStore resolver) { return new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$, resolver); } /** * Serializes this FieldTest to a ByteBuffer. * @return a buffer holding the serialized data for this instance * @throws java.io.IOException if this instance could not be serialized */ public java.nio.ByteBuffer toByteBuffer() throws java.io.IOException { return ENCODER.encode(this); } /** * Deserializes a FieldTest from a ByteBuffer. * @param b a byte buffer holding serialized data for an instance of this class * @return a FieldTest instance decoded from the given buffer * @throws java.io.IOException if the given bytes could not be deserialized into an instance of this class */ public static FieldTest fromByteBuffer( java.nio.ByteBuffer b) throws java.io.IOException { return DECODER.decode(b); } /** The number of the player */ private int number; private java.lang.String last_name; private java.time.Instant timestamp; private java.time.Instant timestampMicros; private java.time.LocalTime timeMillis; private java.time.LocalTime timeMicros; /** * Default constructor. Note that this does not initialize fields * to their default values from the schema. If that is desired then * one should use <code>newBuilder()</code>. */ public FieldTest() {} /** * All-args constructor. * @param number The number of the player * @param last_name The new value for last_name * @param timestamp The new value for timestamp * @param timestampMicros The new value for timestampMicros * @param timeMillis The new value for timeMillis * @param timeMicros The new value for timeMicros */ public FieldTest(java.lang.Integer number, java.lang.String last_name, java.time.Instant timestamp, java.time.Instant timestampMicros, java.time.LocalTime timeMillis, java.time.LocalTime timeMicros) { this.number = number; this.last_name = last_name; this.timestamp = timestamp.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timestampMicros = timestampMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); this.timeMillis = timeMillis.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timeMicros = timeMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); } public org.apache.avro.specific.SpecificData getSpecificData() { return MODEL$; } public org.apache.avro.Schema getSchema() { return SCHEMA$; } // Used by DatumWriter. Applications should not call. public java.lang.Object get(int field$) { switch (field$) { case 0: return number; case 1: return last_name; case 2: return timestamp; case 3: return timestampMicros; case 4: return timeMillis; case 5: return timeMicros; default: throw new org.apache.avro.AvroRuntimeException("Bad index"); } } private static final org.apache.avro.Conversion<?>[] conversions = new org.apache.avro.Conversion<?>[] { null, null, new org.apache.avro.data.TimeConversions.TimestampMillisConversion(), new org.apache.avro.data.TimeConversions.TimestampMicrosConversion(), new org.apache.avro.data.TimeConversions.TimeMillisConversion(), new org.apache.avro.data.]TimeConversions.Time...> but was:<...rg.apache.avro.data.[Jsr310TimeConversions.TimestampMillisConversion()); MODEL$.addLogicalTypeConversion(new org.apache.avro.data.Jsr310TimeConversions.TimeMillisConversion()); } private static final BinaryMessageEncoder<FieldTest> ENCODER = new BinaryMessageEncoder<FieldTest>(MODEL$, SCHEMA$); private static final BinaryMessageDecoder<FieldTest> DECODER = new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$); /** * Return the BinaryMessageEncoder instance used by this class. * @return the message encoder used by this class */ public static BinaryMessageEncoder<FieldTest> getEncoder() { return ENCODER; } /** * Return the BinaryMessageDecoder instance used by this class. * @return the message decoder used by this class */ public static BinaryMessageDecoder<FieldTest> getDecoder() { return DECODER; } /** * Create a new BinaryMessageDecoder instance for this class that uses the specified {@link SchemaStore}. * @param resolver a {@link SchemaStore} used to find schemas by fingerprint * @return a BinaryMessageDecoder instance for this class backed by the given SchemaStore */ public static BinaryMessageDecoder<FieldTest> createDecoder(SchemaStore resolver) { return new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$, resolver); } /** * Serializes this FieldTest to a ByteBuffer. * @return a buffer holding the serialized data for this instance * @throws java.io.IOException if this instance could not be serialized */ public java.nio.ByteBuffer toByteBuffer() throws java.io.IOException { return ENCODER.encode(this); } /** * Deserializes a FieldTest from a ByteBuffer. * @param b a byte buffer holding serialized data for an instance of this class * @return a FieldTest instance decoded from the given buffer * @throws java.io.IOException if the given bytes could not be deserialized into an instance of this class */ public static FieldTest fromByteBuffer( java.nio.ByteBuffer b) throws java.io.IOException { return DECODER.decode(b); } /** The number of the player */ private int number; private java.lang.String last_name; private java.time.Instant timestamp; private java.time.Instant timestampMicros; private java.time.LocalTime timeMillis; private java.time.LocalTime timeMicros; /** * Default constructor. Note that this does not initialize fields * to their default values from the schema. If that is desired then * one should use <code>newBuilder()</code>. */ public FieldTest() {} /** * All-args constructor. * @param number The number of the player * @param last_name The new value for last_name * @param timestamp The new value for timestamp * @param timestampMicros The new value for timestampMicros * @param timeMillis The new value for timeMillis * @param timeMicros The new value for timeMicros */ public FieldTest(java.lang.Integer number, java.lang.String last_name, java.time.Instant timestamp, java.time.Instant timestampMicros, java.time.LocalTime timeMillis, java.time.LocalTime timeMicros) { this.number = number; this.last_name = last_name; this.timestamp = timestamp.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timestampMicros = timestampMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); this.timeMillis = timeMillis.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timeMicros = timeMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); } public org.apache.avro.specific.SpecificData getSpecificData() { return MODEL$; } public org.apache.avro.Schema getSchema() { return SCHEMA$; } // Used by DatumWriter. Applications should not call. public java.lang.Object get(int field$) { switch (field$) { case 0: return number; case 1: return last_name; case 2: return timestamp; case 3: return timestampMicros; case 4: return timeMillis; case 5: return timeMicros; default: throw new org.apache.avro.AvroRuntimeException("Bad index"); } } private static final org.apache.avro.Conversion<?>[] conversions = new org.apache.avro.Conversion<?>[] { null, null, new org.apache.avro.data.Jsr310TimeConversions.TimestampMillisConversion(), new org.apache.avro.data.Jsr310TimeConversions.TimestampMicrosConversion(), new org.apache.avro.data.Jsr310TimeConversions.TimeMillisConversion(), new org.apache.avro.data.Jsr310]TimeConversions.Time...>
[INFO]
[ERROR] Tests run: 68, Failures: 5, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Avro Toplevel 1.9.0-SNAPSHOT ................ SUCCESS [ 20.838 s]
[INFO] Apache Avro Java ................................... SUCCESS [ 12.498 s]
[INFO] Apache Avro ........................................ SUCCESS [01:48 min]
[INFO] Apache Avro Compiler ............................... SUCCESS [ 48.564 s]
[INFO] Apache Avro Maven Plugin ........................... SUCCESS [ 31.077 s]
[INFO] Apache Avro IPC .................................... SUCCESS [01:44 min]
[INFO] Apache Avro IPC Jetty .............................. SUCCESS [ 36.363 s]
[INFO] Apache Avro IPC Netty .............................. SUCCESS [ 41.053 s]
[INFO] Trevni Java ........................................ SUCCESS [ 6.078 s]
[INFO] Trevni Java Core ................................... SUCCESS [ 27.166 s]
[INFO] Apache Avro Mapred API ............................. SUCCESS [03:54 min]
[INFO] Trevni Java Avro ................................... SUCCESS [ 51.478 s]
[INFO] Trevni Specification ............................... SUCCESS [ 9.075 s]
[INFO] Apache Avro Tools .................................. FAILURE [01:10 min]
[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.9.0-SNAPSHOT .. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:30 min
[INFO] Finished at: 2019-04-01T20:51:44Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3: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-2365
[JIRA] Updating issue AVRO-2364
[JIRA] Updating issue AVRO-2354
Build failed in Jenkins: AvroJava #632
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/AvroJava/632/display/redirect?page=changes>
Changes:
[Fokko] AVRO-2199: Validate that field defaults have the correct type (#497)
[Fokko] AVRO-2357: Allow generic types in reflect protos (#490)
------------------------------------------
[...truncated 274.21 KB...]
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[ERROR] testCompileSchemasWithVariousFieldTypes(org.apache.avro.tool.TestSpecificCompilerTool) Time elapsed: 0.288 s <<< FAILURE!
org.junit.ComparisonFailure: Found file: target/compiler/output-string/avro/examples/baseball/FieldTest.java does not match expected file: src/test/compiler/output-string/avro/examples/baseball/FieldTest.java expected:<...rg.apache.avro.data.[TimeConversions.TimestampMillisConversion()); MODEL$.addLogicalTypeConversion(new org.apache.avro.data.TimeConversions.TimeMillisConversion()); } private static final BinaryMessageEncoder<FieldTest> ENCODER = new BinaryMessageEncoder<FieldTest>(MODEL$, SCHEMA$); private static final BinaryMessageDecoder<FieldTest> DECODER = new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$); /** * Return the BinaryMessageEncoder instance used by this class. * @return the message encoder used by this class */ public static BinaryMessageEncoder<FieldTest> getEncoder() { return ENCODER; } /** * Return the BinaryMessageDecoder instance used by this class. * @return the message decoder used by this class */ public static BinaryMessageDecoder<FieldTest> getDecoder() { return DECODER; } /** * Create a new BinaryMessageDecoder instance for this class that uses the specified {@link SchemaStore}. * @param resolver a {@link SchemaStore} used to find schemas by fingerprint * @return a BinaryMessageDecoder instance for this class backed by the given SchemaStore */ public static BinaryMessageDecoder<FieldTest> createDecoder(SchemaStore resolver) { return new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$, resolver); } /** * Serializes this FieldTest to a ByteBuffer. * @return a buffer holding the serialized data for this instance * @throws java.io.IOException if this instance could not be serialized */ public java.nio.ByteBuffer toByteBuffer() throws java.io.IOException { return ENCODER.encode(this); } /** * Deserializes a FieldTest from a ByteBuffer. * @param b a byte buffer holding serialized data for an instance of this class * @return a FieldTest instance decoded from the given buffer * @throws java.io.IOException if the given bytes could not be deserialized into an instance of this class */ public static FieldTest fromByteBuffer( java.nio.ByteBuffer b) throws java.io.IOException { return DECODER.decode(b); } /** The number of the player */ private int number; private java.lang.String last_name; private java.time.Instant timestamp; private java.time.Instant timestampMicros; private java.time.LocalTime timeMillis; private java.time.LocalTime timeMicros; /** * Default constructor. Note that this does not initialize fields * to their default values from the schema. If that is desired then * one should use <code>newBuilder()</code>. */ public FieldTest() {} /** * All-args constructor. * @param number The number of the player * @param last_name The new value for last_name * @param timestamp The new value for timestamp * @param timestampMicros The new value for timestampMicros * @param timeMillis The new value for timeMillis * @param timeMicros The new value for timeMicros */ public FieldTest(java.lang.Integer number, java.lang.String last_name, java.time.Instant timestamp, java.time.Instant timestampMicros, java.time.LocalTime timeMillis, java.time.LocalTime timeMicros) { this.number = number; this.last_name = last_name; this.timestamp = timestamp.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timestampMicros = timestampMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); this.timeMillis = timeMillis.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timeMicros = timeMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); } public org.apache.avro.specific.SpecificData getSpecificData() { return MODEL$; } public org.apache.avro.Schema getSchema() { return SCHEMA$; } // Used by DatumWriter. Applications should not call. public java.lang.Object get(int field$) { switch (field$) { case 0: return number; case 1: return last_name; case 2: return timestamp; case 3: return timestampMicros; case 4: return timeMillis; case 5: return timeMicros; default: throw new org.apache.avro.AvroRuntimeException("Bad index"); } } private static final org.apache.avro.Conversion<?>[] conversions = new org.apache.avro.Conversion<?>[] { null, null, new org.apache.avro.data.TimeConversions.TimestampMillisConversion(), new org.apache.avro.data.TimeConversions.TimestampMicrosConversion(), new org.apache.avro.data.TimeConversions.TimeMillisConversion(), new org.apache.avro.data.]TimeConversions.Time...> but was:<...rg.apache.avro.data.[Jsr310TimeConversions.TimestampMillisConversion()); MODEL$.addLogicalTypeConversion(new org.apache.avro.data.Jsr310TimeConversions.TimeMillisConversion()); } private static final BinaryMessageEncoder<FieldTest> ENCODER = new BinaryMessageEncoder<FieldTest>(MODEL$, SCHEMA$); private static final BinaryMessageDecoder<FieldTest> DECODER = new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$); /** * Return the BinaryMessageEncoder instance used by this class. * @return the message encoder used by this class */ public static BinaryMessageEncoder<FieldTest> getEncoder() { return ENCODER; } /** * Return the BinaryMessageDecoder instance used by this class. * @return the message decoder used by this class */ public static BinaryMessageDecoder<FieldTest> getDecoder() { return DECODER; } /** * Create a new BinaryMessageDecoder instance for this class that uses the specified {@link SchemaStore}. * @param resolver a {@link SchemaStore} used to find schemas by fingerprint * @return a BinaryMessageDecoder instance for this class backed by the given SchemaStore */ public static BinaryMessageDecoder<FieldTest> createDecoder(SchemaStore resolver) { return new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$, resolver); } /** * Serializes this FieldTest to a ByteBuffer. * @return a buffer holding the serialized data for this instance * @throws java.io.IOException if this instance could not be serialized */ public java.nio.ByteBuffer toByteBuffer() throws java.io.IOException { return ENCODER.encode(this); } /** * Deserializes a FieldTest from a ByteBuffer. * @param b a byte buffer holding serialized data for an instance of this class * @return a FieldTest instance decoded from the given buffer * @throws java.io.IOException if the given bytes could not be deserialized into an instance of this class */ public static FieldTest fromByteBuffer( java.nio.ByteBuffer b) throws java.io.IOException { return DECODER.decode(b); } /** The number of the player */ private int number; private java.lang.String last_name; private java.time.Instant timestamp; private java.time.Instant timestampMicros; private java.time.LocalTime timeMillis; private java.time.LocalTime timeMicros; /** * Default constructor. Note that this does not initialize fields * to their default values from the schema. If that is desired then * one should use <code>newBuilder()</code>. */ public FieldTest() {} /** * All-args constructor. * @param number The number of the player * @param last_name The new value for last_name * @param timestamp The new value for timestamp * @param timestampMicros The new value for timestampMicros * @param timeMillis The new value for timeMillis * @param timeMicros The new value for timeMicros */ public FieldTest(java.lang.Integer number, java.lang.String last_name, java.time.Instant timestamp, java.time.Instant timestampMicros, java.time.LocalTime timeMillis, java.time.LocalTime timeMicros) { this.number = number; this.last_name = last_name; this.timestamp = timestamp.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timestampMicros = timestampMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); this.timeMillis = timeMillis.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timeMicros = timeMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); } public org.apache.avro.specific.SpecificData getSpecificData() { return MODEL$; } public org.apache.avro.Schema getSchema() { return SCHEMA$; } // Used by DatumWriter. Applications should not call. public java.lang.Object get(int field$) { switch (field$) { case 0: return number; case 1: return last_name; case 2: return timestamp; case 3: return timestampMicros; case 4: return timeMillis; case 5: return timeMicros; default: throw new org.apache.avro.AvroRuntimeException("Bad index"); } } private static final org.apache.avro.Conversion<?>[] conversions = new org.apache.avro.Conversion<?>[] { null, null, new org.apache.avro.data.Jsr310TimeConversions.TimestampMillisConversion(), new org.apache.avro.data.Jsr310TimeConversions.TimestampMicrosConversion(), new org.apache.avro.data.Jsr310TimeConversions.TimeMillisConversion(), new org.apache.avro.data.Jsr310]TimeConversions.Time...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemasWithVariousFieldTypes(TestSpecificCompilerTool.java:113)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[ERROR] testCompileSchemaSingleFile(org.apache.avro.tool.TestSpecificCompilerTool) Time elapsed: 0.024 s <<< FAILURE!
org.junit.ComparisonFailure: Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemaSingleFile(TestSpecificCompilerTool.java:78)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[ERROR] testCompileSchemasUsingString(org.apache.avro.tool.TestSpecificCompilerTool) Time elapsed: 0.134 s <<< FAILURE!
org.junit.ComparisonFailure: Found file: target/compiler/output-string/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output-string/avro/examples/baseball/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemasUsingString(TestSpecificCompilerTool.java:104)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[ERROR] testCompileSchemaFileAndDirectory(org.apache.avro.tool.TestSpecificCompilerTool) Time elapsed: 0.24 s <<< FAILURE!
org.junit.ComparisonFailure: Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemaFileAndDirectory(TestSpecificCompilerTool.java:95)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[INFO] Running org.apache.avro.tool.TestToTrevniTool
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.973 s - in org.apache.avro.tool.TestToTrevniTool
[INFO] Running org.apache.avro.tool.TestRpcProtocolTool
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.243 s - in org.apache.avro.tool.TestRpcProtocolTool
[INFO] Running org.apache.avro.tool.TestTetherTool
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.158 s - in org.apache.avro.tool.TestTetherTool
[INFO] Running org.apache.avro.tool.TestCreateRandomFileTool
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.095 s - in org.apache.avro.tool.TestCreateRandomFileTool
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] TestSpecificCompilerTool.testCompileSchemaFileAndDirectory:95->assertFileMatch:133 Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[ERROR] TestSpecificCompilerTool.testCompileSchemaSingleFile:78->assertFileMatch:133 Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[ERROR] TestSpecificCompilerTool.testCompileSchemaTwoFiles:86->assertFileMatch:133 Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[ERROR] TestSpecificCompilerTool.testCompileSchemasUsingString:104->assertFileMatch:133 Found file: target/compiler/output-string/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output-string/avro/examples/baseball/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[ERROR] TestSpecificCompilerTool.testCompileSchemasWithVariousFieldTypes:113->assertFileMatch:133 Found file: target/compiler/output-string/avro/examples/baseball/FieldTest.java does not match expected file: src/test/compiler/output-string/avro/examples/baseball/FieldTest.java expected:<...rg.apache.avro.data.[TimeConversions.TimestampMillisConversion()); MODEL$.addLogicalTypeConversion(new org.apache.avro.data.TimeConversions.TimeMillisConversion()); } private static final BinaryMessageEncoder<FieldTest> ENCODER = new BinaryMessageEncoder<FieldTest>(MODEL$, SCHEMA$); private static final BinaryMessageDecoder<FieldTest> DECODER = new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$); /** * Return the BinaryMessageEncoder instance used by this class. * @return the message encoder used by this class */ public static BinaryMessageEncoder<FieldTest> getEncoder() { return ENCODER; } /** * Return the BinaryMessageDecoder instance used by this class. * @return the message decoder used by this class */ public static BinaryMessageDecoder<FieldTest> getDecoder() { return DECODER; } /** * Create a new BinaryMessageDecoder instance for this class that uses the specified {@link SchemaStore}. * @param resolver a {@link SchemaStore} used to find schemas by fingerprint * @return a BinaryMessageDecoder instance for this class backed by the given SchemaStore */ public static BinaryMessageDecoder<FieldTest> createDecoder(SchemaStore resolver) { return new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$, resolver); } /** * Serializes this FieldTest to a ByteBuffer. * @return a buffer holding the serialized data for this instance * @throws java.io.IOException if this instance could not be serialized */ public java.nio.ByteBuffer toByteBuffer() throws java.io.IOException { return ENCODER.encode(this); } /** * Deserializes a FieldTest from a ByteBuffer. * @param b a byte buffer holding serialized data for an instance of this class * @return a FieldTest instance decoded from the given buffer * @throws java.io.IOException if the given bytes could not be deserialized into an instance of this class */ public static FieldTest fromByteBuffer( java.nio.ByteBuffer b) throws java.io.IOException { return DECODER.decode(b); } /** The number of the player */ private int number; private java.lang.String last_name; private java.time.Instant timestamp; private java.time.Instant timestampMicros; private java.time.LocalTime timeMillis; private java.time.LocalTime timeMicros; /** * Default constructor. Note that this does not initialize fields * to their default values from the schema. If that is desired then * one should use <code>newBuilder()</code>. */ public FieldTest() {} /** * All-args constructor. * @param number The number of the player * @param last_name The new value for last_name * @param timestamp The new value for timestamp * @param timestampMicros The new value for timestampMicros * @param timeMillis The new value for timeMillis * @param timeMicros The new value for timeMicros */ public FieldTest(java.lang.Integer number, java.lang.String last_name, java.time.Instant timestamp, java.time.Instant timestampMicros, java.time.LocalTime timeMillis, java.time.LocalTime timeMicros) { this.number = number; this.last_name = last_name; this.timestamp = timestamp.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timestampMicros = timestampMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); this.timeMillis = timeMillis.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timeMicros = timeMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); } public org.apache.avro.specific.SpecificData getSpecificData() { return MODEL$; } public org.apache.avro.Schema getSchema() { return SCHEMA$; } // Used by DatumWriter. Applications should not call. public java.lang.Object get(int field$) { switch (field$) { case 0: return number; case 1: return last_name; case 2: return timestamp; case 3: return timestampMicros; case 4: return timeMillis; case 5: return timeMicros; default: throw new org.apache.avro.AvroRuntimeException("Bad index"); } } private static final org.apache.avro.Conversion<?>[] conversions = new org.apache.avro.Conversion<?>[] { null, null, new org.apache.avro.data.TimeConversions.TimestampMillisConversion(), new org.apache.avro.data.TimeConversions.TimestampMicrosConversion(), new org.apache.avro.data.TimeConversions.TimeMillisConversion(), new org.apache.avro.data.]TimeConversions.Time...> but was:<...rg.apache.avro.data.[Jsr310TimeConversions.TimestampMillisConversion()); MODEL$.addLogicalTypeConversion(new org.apache.avro.data.Jsr310TimeConversions.TimeMillisConversion()); } private static final BinaryMessageEncoder<FieldTest> ENCODER = new BinaryMessageEncoder<FieldTest>(MODEL$, SCHEMA$); private static final BinaryMessageDecoder<FieldTest> DECODER = new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$); /** * Return the BinaryMessageEncoder instance used by this class. * @return the message encoder used by this class */ public static BinaryMessageEncoder<FieldTest> getEncoder() { return ENCODER; } /** * Return the BinaryMessageDecoder instance used by this class. * @return the message decoder used by this class */ public static BinaryMessageDecoder<FieldTest> getDecoder() { return DECODER; } /** * Create a new BinaryMessageDecoder instance for this class that uses the specified {@link SchemaStore}. * @param resolver a {@link SchemaStore} used to find schemas by fingerprint * @return a BinaryMessageDecoder instance for this class backed by the given SchemaStore */ public static BinaryMessageDecoder<FieldTest> createDecoder(SchemaStore resolver) { return new BinaryMessageDecoder<FieldTest>(MODEL$, SCHEMA$, resolver); } /** * Serializes this FieldTest to a ByteBuffer. * @return a buffer holding the serialized data for this instance * @throws java.io.IOException if this instance could not be serialized */ public java.nio.ByteBuffer toByteBuffer() throws java.io.IOException { return ENCODER.encode(this); } /** * Deserializes a FieldTest from a ByteBuffer. * @param b a byte buffer holding serialized data for an instance of this class * @return a FieldTest instance decoded from the given buffer * @throws java.io.IOException if the given bytes could not be deserialized into an instance of this class */ public static FieldTest fromByteBuffer( java.nio.ByteBuffer b) throws java.io.IOException { return DECODER.decode(b); } /** The number of the player */ private int number; private java.lang.String last_name; private java.time.Instant timestamp; private java.time.Instant timestampMicros; private java.time.LocalTime timeMillis; private java.time.LocalTime timeMicros; /** * Default constructor. Note that this does not initialize fields * to their default values from the schema. If that is desired then * one should use <code>newBuilder()</code>. */ public FieldTest() {} /** * All-args constructor. * @param number The number of the player * @param last_name The new value for last_name * @param timestamp The new value for timestamp * @param timestampMicros The new value for timestampMicros * @param timeMillis The new value for timeMillis * @param timeMicros The new value for timeMicros */ public FieldTest(java.lang.Integer number, java.lang.String last_name, java.time.Instant timestamp, java.time.Instant timestampMicros, java.time.LocalTime timeMillis, java.time.LocalTime timeMicros) { this.number = number; this.last_name = last_name; this.timestamp = timestamp.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timestampMicros = timestampMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); this.timeMillis = timeMillis.truncatedTo(java.time.temporal.ChronoUnit.MILLIS); this.timeMicros = timeMicros.truncatedTo(java.time.temporal.ChronoUnit.MICROS); } public org.apache.avro.specific.SpecificData getSpecificData() { return MODEL$; } public org.apache.avro.Schema getSchema() { return SCHEMA$; } // Used by DatumWriter. Applications should not call. public java.lang.Object get(int field$) { switch (field$) { case 0: return number; case 1: return last_name; case 2: return timestamp; case 3: return timestampMicros; case 4: return timeMillis; case 5: return timeMicros; default: throw new org.apache.avro.AvroRuntimeException("Bad index"); } } private static final org.apache.avro.Conversion<?>[] conversions = new org.apache.avro.Conversion<?>[] { null, null, new org.apache.avro.data.Jsr310TimeConversions.TimestampMillisConversion(), new org.apache.avro.data.Jsr310TimeConversions.TimestampMicrosConversion(), new org.apache.avro.data.Jsr310TimeConversions.TimeMillisConversion(), new org.apache.avro.data.Jsr310]TimeConversions.Time...>
[INFO]
[ERROR] Tests run: 68, Failures: 5, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Avro Toplevel 1.9.0-SNAPSHOT ................ SUCCESS [ 14.244 s]
[INFO] Apache Avro Java ................................... SUCCESS [ 9.878 s]
[INFO] Apache Avro ........................................ SUCCESS [01:28 min]
[INFO] Apache Avro Compiler ............................... SUCCESS [ 41.281 s]
[INFO] Apache Avro Maven Plugin ........................... SUCCESS [ 27.658 s]
[INFO] Apache Avro IPC .................................... SUCCESS [01:29 min]
[INFO] Apache Avro IPC Jetty .............................. SUCCESS [ 32.438 s]
[INFO] Apache Avro IPC Netty .............................. SUCCESS [ 38.431 s]
[INFO] Trevni Java ........................................ SUCCESS [ 6.226 s]
[INFO] Trevni Java Core ................................... SUCCESS [ 25.529 s]
[INFO] Apache Avro Mapred API ............................. SUCCESS [03:17 min]
[INFO] Trevni Java Avro ................................... SUCCESS [ 45.697 s]
[INFO] Trevni Specification ............................... SUCCESS [ 8.989 s]
[INFO] Apache Avro Tools .................................. FAILURE [ 59.039 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.9.0-SNAPSHOT .. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11:29 min
[INFO] Finished at: 2019-03-31T17:49:47Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3: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-2199
[JIRA] Updating issue AVRO-2357
Build failed in Jenkins: AvroJava #631
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/AvroJava/631/display/redirect?page=changes>
Changes:
[dan] Rename JSR310 conversion class to TimeConversions, deprecate Joda
[dan] AVRO-2362: Enable calling mvn spotless:apply to auto format code
------------------------------------------
[...truncated 408.51 KB...]
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-grouper/3.0.0-M3/surefire-grouper-3.0.0-M3.pom
Progress (1): 2.2/2.6 kBProgress (1): 2.6 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-grouper/3.0.0-M3/surefire-grouper-3.0.0-M3.pom (2.6 kB at 176 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit47/3.0.0-M3/surefire-junit47-3.0.0-M3.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/common-junit48/3.0.0-M3/common-junit48-3.0.0-M3.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-grouper/3.0.0-M3/surefire-grouper-3.0.0-M3.jar
Progress (1): 2.2/93 kBProgress (2): 2.2/93 kB | 2.2/22 kBProgress (2): 5.0/93 kB | 2.2/22 kBProgress (3): 5.0/93 kB | 2.2/22 kB | 2.2/40 kBProgress (3): 5.0/93 kB | 5.0/22 kB | 2.2/40 kBProgress (3): 7.7/93 kB | 5.0/22 kB | 2.2/40 kBProgress (3): 7.7/93 kB | 7.7/22 kB | 2.2/40 kBProgress (3): 7.7/93 kB | 7.7/22 kB | 5.0/40 kBProgress (3): 10/93 kB | 7.7/22 kB | 5.0/40 kB Progress (3): 10/93 kB | 10/22 kB | 5.0/40 kB Progress (3): 13/93 kB | 10/22 kB | 5.0/40 kBProgress (3): 13/93 kB | 10/22 kB | 7.7/40 kBProgress (3): 16/93 kB | 10/22 kB | 7.7/40 kBProgress (3): 16/93 kB | 13/22 kB | 7.7/40 kBProgress (3): 19/93 kB | 13/22 kB | 7.7/40 kBProgress (3): 19/93 kB | 13/22 kB | 10/40 kB Progress (3): 21/93 kB | 13/22 kB | 10/40 kBProgress (3): 21/93 kB | 16/22 kB | 10/40 kBProgress (3): 24/93 kB | 16/22 kB | 10/40 kBProgress (3): 24/93 kB | 16/22 kB | 13/40 kBProgress (3): 27/93 kB | 16/22 kB | 13/40 kBProgress (3): 27/93 kB | 19/22 kB | 13/40 kBProgress (3): 30/93 kB | 19/22 kB | 13/40 kBProgress (3): 30/93 kB | 19/22 kB | 16/40 kBProgress (3): 32/93 kB | 19/22 kB | 16/40 kBProgress (3): 32/93 kB | 21/22 kB | 16/40 kBProgress (3): 32/93 kB | 21/22 kB | 19/40 kBProgress (3): 32/93 kB | 22 kB | 19/40 kB Progress (3): 32/93 kB | 22 kB | 21/40 kBProgress (3): 32/93 kB | 22 kB | 24/40 kBProgress (3): 36/93 kB | 22 kB | 24/40 kBProgress (3): 36/93 kB | 22 kB | 27/40 kBProgress (3): 40/93 kB | 22 kB | 27/40 kBProgress (3): 45/93 kB | 22 kB | 27/40 kBProgress (3): 45/93 kB | 22 kB | 30/40 kBProgress (3): 49/93 kB | 22 kB | 30/40 kBProgress (3): 49/93 kB | 22 kB | 32/40 kBProgress (3): 49/93 kB | 22 kB | 35/40 kBProgress (3): 49/93 kB | 22 kB | 38/40 kBProgress (3): 53/93 kB | 22 kB | 38/40 kBProgress (3): 57/93 kB | 22 kB | 38/40 kBProgress (3): 57/93 kB | 22 kB | 40 kB Progress (3): 61/93 kB | 22 kB | 40 kBProgress (3): 65/93 kB | 22 kB | 40 kBProgress (3): 69/93 kB | 22 kB | 40 kBProgress (3): 73/93 kB | 22 kB | 40 kBProgress (3): 77/93 kB | 22 kB | 40 kBProgress (3): 81/93 kB | 22 kB | 40 kBProgress (3): 85/93 kB | 22 kB | 40 kBProgress (3): 90/93 kB | 22 kB | 40 kBProgress (3): 93 kB | 22 kB | 40 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-grouper/3.0.0-M3/surefire-grouper-3.0.0-M3.jar (40 kB at 1.9 MB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/common-junit48/3.0.0-M3/common-junit48-3.0.0-M3.jar (22 kB at 939 kB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit47/3.0.0-M3/surefire-junit47-3.0.0-M3.jar (93 kB at 3.6 MB/s)
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.avro.reflect.TestReflectData
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.829 s - in org.apache.avro.reflect.TestReflectData
[INFO] Running org.apache.avro.TestProtocol
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.TestProtocol
[INFO] Running org.apache.avro.TestSchemaCompatibilityMissingEnumSymbols
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.avro.TestSchemaCompatibilityMissingEnumSymbols
[INFO] Running org.apache.avro.TestSchemaCompatibilityTypeMismatch
[INFO] Tests run: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.apache.avro.TestSchemaCompatibilityTypeMismatch
[INFO] Running org.apache.avro.io.TestBlockingIO
[INFO] Tests run: 376, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 s - in org.apache.avro.io.TestBlockingIO
[INFO] Running org.apache.avro.TestSchemaCompatibilityMultiple
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.TestSchemaCompatibilityMultiple
[INFO] Running org.apache.avro.TestLogicalType
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s - in org.apache.avro.TestLogicalType
[INFO] Running org.apache.avro.TestDataFileReflect
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 s - in org.apache.avro.TestDataFileReflect
[INFO] Running org.apache.avro.io.TestBinaryEncoderFidelity
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.apache.avro.io.TestBinaryEncoderFidelity
[INFO] Running org.apache.avro.TestFixed
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.TestFixed
[INFO] Running org.apache.avro.TestSchemaBuilder
[INFO] Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 s - in org.apache.avro.TestSchemaBuilder
[INFO] Running org.apache.avro.TestCircularReferences
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.apache.avro.TestCircularReferences
[INFO] Running org.apache.avro.TestSchemaNormalization$TestFingerprintInternationalization
[INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 s - in org.apache.avro.TestSchemaNormalization$TestFingerprintInternationalization
[INFO] Running org.apache.avro.TestSchemaNormalization$TestFingerprint
[INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.apache.avro.TestSchemaNormalization$TestFingerprint
[INFO] Running org.apache.avro.TestSchemaNormalization$TestCanonical
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.apache.avro.TestSchemaNormalization$TestCanonical
[INFO] Running org.apache.avro.io.parsing.TestResolvingGrammarGenerator2
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.apache.avro.io.parsing.TestResolvingGrammarGenerator2
[INFO] Running org.apache.avro.generic.TestGenericData
[INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.apache.avro.generic.TestGenericData
[INFO] Running org.apache.avro.TestDataFileMeta
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.apache.avro.TestDataFileMeta
[INFO] Running org.apache.avro.TestReadingWritingDataInEvolvedSchemas
[INFO] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 s - in org.apache.avro.TestReadingWritingDataInEvolvedSchemas
[INFO] Running org.apache.avro.TestSchemaCompatibilityNameMismatch
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.TestSchemaCompatibilityNameMismatch
[INFO] Running org.apache.avro.generic.TestGenericConcreteEnum
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 s - in org.apache.avro.generic.TestGenericConcreteEnum
[INFO] Running org.apache.avro.io.TestBinaryDecoder
[INFO] Tests run: 48, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 s - in org.apache.avro.io.TestBinaryDecoder
[INFO] Running org.apache.avro.TestUnionSelfReference
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.TestUnionSelfReference
[INFO] Running org.apache.avro.io.TestBlockingIO2
[INFO] Tests run: 84, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.apache.avro.io.TestBlockingIO2
[INFO] Running org.apache.avro.TestNestedRecords
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.TestNestedRecords
[INFO] Running org.apache.avro.util.TestUtf8
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.util.TestUtf8
[INFO] Running org.apache.avro.TestDataFileCorruption
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.TestDataFileCorruption
[INFO] Running org.apache.avro.message.TestBinaryMessageEncoding
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.apache.avro.message.TestBinaryMessageEncoding
[INFO] Running org.apache.avro.io.TestJsonDecoder
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.apache.avro.io.TestJsonDecoder
[INFO] Running org.apache.avro.io.TestResolvingIOResolving
[INFO] Tests run: 192, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 s - in org.apache.avro.io.TestResolvingIOResolving
[INFO] Running org.apache.avro.reflect.TestReflectDatumReader
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.reflect.TestReflectDatumReader
[INFO] Running org.apache.avro.reflect.TestReflect
[INFO] Tests run: 68, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 s - in org.apache.avro.reflect.TestReflect
[INFO] Running org.apache.avro.TestDataFileDeflate
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.TestDataFileDeflate
[INFO] Running org.apache.avro.TestSchemaCompatibilityReaderFieldMissingDefaultValue
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.TestSchemaCompatibilityReaderFieldMissingDefaultValue
[INFO] Running org.apache.avro.generic.TestGenericRecordBuilder
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.generic.TestGenericRecordBuilder
[INFO] Running org.apache.avro.TestSchemaCompatibilityEnumDefaults
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.avro.TestSchemaCompatibilityEnumDefaults
[INFO] Running org.apache.avro.specific.TestSpecificToFromByteArray
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.074 s - in org.apache.avro.specific.TestSpecificToFromByteArray
[INFO] Running org.apache.avro.TestDataFile
[INFO] Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.71 s - in org.apache.avro.TestDataFile
[INFO] Running org.apache.avro.TestDataFileReader
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.034 s <<< FAILURE! - in org.apache.avro.TestDataFileReader
[ERROR] testForLeakingFileDescriptors(org.apache.avro.TestDataFileReader) Time elapsed: 0.033 s <<< FAILURE!
java.lang.AssertionError: File descriptor leaked from new DataFileReader() expected:<48> but was:<47>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.apache.avro.TestDataFileReader.testForLeakingFileDescriptors(TestDataFileReader.java:50)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[INFO] Running org.apache.avro.TestDataFileConcat
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.456 s - in org.apache.avro.TestDataFileConcat
[INFO] Running org.apache.avro.TestSchemaValidation
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s - in org.apache.avro.TestSchemaValidation
[INFO] Running org.apache.avro.io.parsing.TestResolvingGrammarGenerator
[INFO] Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 s - in org.apache.avro.io.parsing.TestResolvingGrammarGenerator
[INFO] Running org.apache.avro.file.TestIOExceptionDuringWrite
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.apache.avro.file.TestIOExceptionDuringWrite
[INFO] Running org.apache.avro.data.TestJodaTimeConversions
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.data.TestJodaTimeConversions
[INFO] Running org.apache.avro.TestSchemaCompatibility
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.apache.avro.TestSchemaCompatibility
[INFO] Running org.apache.avro.generic.TestGenericLogicalTypes
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.128 s - in org.apache.avro.generic.TestGenericLogicalTypes
[INFO] Running org.apache.avro.specific.TestSpecificLogicalTypes
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.086 s - in org.apache.avro.specific.TestSpecificLogicalTypes
[INFO] Running org.apache.avro.reflect.TestNonStringMapKeys
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 s - in org.apache.avro.reflect.TestNonStringMapKeys
[INFO] Running org.apache.avro.TestDataFileCustomSync
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.avro.TestDataFileCustomSync
[INFO] Running org.apache.avro.util.TestCaseFinder$NonParameterized
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.util.TestCaseFinder$NonParameterized
[INFO] Running org.apache.avro.util.TestCaseFinder$SimpleCases
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.util.TestCaseFinder$SimpleCases
[INFO] Running org.apache.avro.file.TestSeekableByteArrayInput
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.file.TestSeekableByteArrayInput
[INFO] Running org.apache.avro.TestSchema
[INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.avro.TestSchema
[INFO] Running org.apache.avro.util.internal.TestJacksonUtils
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.util.internal.TestJacksonUtils
[INFO] Running org.apache.avro.reflect.TestReflectLogicalTypes
[WARNING] Tests run: 16, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.259 s - in org.apache.avro.reflect.TestReflectLogicalTypes
[INFO] Running org.apache.avro.TestSchemaCompatibilityMissingUnionBranch
[INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s - in org.apache.avro.TestSchemaCompatibilityMissingUnionBranch
[INFO] Running org.apache.avro.reflect.TestByteBuffer
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.268 s - in org.apache.avro.reflect.TestByteBuffer
[INFO] Running org.apache.avro.specific.TestSpecificData
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.apache.avro.specific.TestSpecificData
[INFO] Running org.apache.avro.io.TestResolvingIO
[INFO] Tests run: 816, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.509 s - in org.apache.avro.io.TestResolvingIO
[INFO] Running org.apache.avro.generic.TestGenericDatumWriter
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.generic.TestGenericDatumWriter
[INFO] Running org.apache.avro.file.TestCustomCodec
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.avro.file.TestCustomCodec
[INFO] Running org.apache.avro.data.TestTimeConversions
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.data.TestTimeConversions
[INFO] Running org.apache.avro.file.TestAllCodecs
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.41 s - in org.apache.avro.file.TestAllCodecs
[INFO] Running org.apache.avro.io.TestEncoders
[INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 s - in org.apache.avro.io.TestEncoders
[INFO] Running org.apache.avro.io.TestValidatingIO
[INFO] Tests run: 972, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.154 s - in org.apache.avro.io.TestValidatingIO
[INFO] Running org.apache.avro.TestSchemaCompatibilityFixedSizeMismatch
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.TestSchemaCompatibilityFixedSizeMismatch
[INFO] Running org.apache.avro.reflect.TestReflectionUtil
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.apache.avro.reflect.TestReflectionUtil
[INFO] Running org.apache.avro.file.TestZstandardCodec
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.avro.file.TestZstandardCodec
[INFO] Running org.apache.avro.reflect.TestReflectAllowNulls
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.apache.avro.reflect.TestReflectAllowNulls
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] TestDataFileReader.testForLeakingFileDescriptors:50 File descriptor leaked from new DataFileReader() expected:<48> but was:<47>
[INFO]
[ERROR] Tests run: 3176, Failures: 1, Errors: 0, Skipped: 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Avro Toplevel 1.9.0-SNAPSHOT ................ SUCCESS [ 8.500 s]
[INFO] Apache Avro Java ................................... SUCCESS [ 9.339 s]
[INFO] Apache Avro ........................................ FAILURE [ 37.316 s]
[INFO] Apache Avro Compiler ............................... SKIPPED
[INFO] Apache Avro Maven Plugin ........................... SKIPPED
[INFO] Apache Avro IPC .................................... SKIPPED
[INFO] Apache Avro IPC Jetty .............................. SKIPPED
[INFO] Apache Avro IPC Netty .............................. SKIPPED
[INFO] Trevni Java ........................................ SKIPPED
[INFO] Trevni Java Core ................................... SKIPPED
[INFO] Apache Avro Mapred API ............................. SKIPPED
[INFO] Trevni Java Avro ................................... SKIPPED
[INFO] Trevni Specification ............................... SKIPPED
[INFO] Apache Avro Tools .................................. SKIPPED
[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.9.0-SNAPSHOT .. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58.787 s
[INFO] Finished at: 2019-03-29T13:52:41Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project avro: There are test failures.
[ERROR]
[ERROR] Please refer to <https://builds.apache.org/job/AvroJava/ws/lang/java/avro/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
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results
[JIRA] Updating issue AVRO-2362
Build failed in Jenkins: AvroJava #630
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/AvroJava/630/display/redirect?page=changes>
Changes:
[iemejia] AVRO-2336: Use Java Standard Charsets - Part 2
------------------------------------------
[...truncated 265.87 KB...]
org.junit.ComparisonFailure: Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemaTwoFiles(TestSpecificCompilerTool.java:86)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[ERROR] testCompileSchemaSingleFile(org.apache.avro.tool.TestSpecificCompilerTool) Time elapsed: 0.016 s <<< FAILURE!
org.junit.ComparisonFailure: Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemaSingleFile(TestSpecificCompilerTool.java:78)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[ERROR] testCompileSchemasUsingString(org.apache.avro.tool.TestSpecificCompilerTool) Time elapsed: 0.14 s <<< FAILURE!
org.junit.ComparisonFailure: Found file: target/compiler/output-string/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output-string/avro/examples/baseball/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemasUsingString(TestSpecificCompilerTool.java:104)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[ERROR] testCompileSchemaFileAndDirectory(org.apache.avro.tool.TestSpecificCompilerTool) Time elapsed: 0.241 s <<< FAILURE!
org.junit.ComparisonFailure: Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.apache.avro.tool.TestSpecificCompilerTool.assertFileMatch(TestSpecificCompilerTool.java:133)
at org.apache.avro.tool.TestSpecificCompilerTool.testCompileSchemaFileAndDirectory(TestSpecificCompilerTool.java:95)
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:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
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.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
[INFO] Running org.apache.avro.tool.TestDataFileRepairTool
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.118 s - in org.apache.avro.tool.TestDataFileRepairTool
[INFO] Running org.apache.avro.tool.TestCreateRandomFileTool
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.074 s - in org.apache.avro.tool.TestCreateRandomFileTool
[INFO] Running org.apache.avro.tool.TestToTrevniTool
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.906 s - in org.apache.avro.tool.TestToTrevniTool
[INFO] Running org.apache.avro.tool.TestTextFileTools
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.916 s - in org.apache.avro.tool.TestTextFileTools
[INFO] Running org.apache.avro.tool.TestMain
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.089 s - in org.apache.avro.tool.TestMain
[INFO] Running org.apache.avro.tool.TestRecodecTool
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.62 s - in org.apache.avro.tool.TestRecodecTool
[INFO] Running org.apache.avro.tool.TestDataFileTools
[INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.641 s - in org.apache.avro.tool.TestDataFileTools
[INFO] Running org.apache.avro.tool.TestTetherTool
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.847 s - in org.apache.avro.tool.TestTetherTool
[INFO] Running org.apache.avro.tool.TestRpcProtocolTool
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.208 s - in org.apache.avro.tool.TestRpcProtocolTool
[INFO] Running org.apache.avro.tool.TestCatTool
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.687 s - in org.apache.avro.tool.TestCatTool
[INFO] Running org.apache.avro.tool.TestIdlToSchemataTool
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.396 s - in org.apache.avro.tool.TestIdlToSchemataTool
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] TestSpecificCompilerTool.testCompileSchemaFileAndDirectory:95->assertFileMatch:133 Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[ERROR] TestSpecificCompilerTool.testCompileSchemaSingleFile:78->assertFileMatch:133 Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[ERROR] TestSpecificCompilerTool.testCompileSchemaTwoFiles:86->assertFileMatch:133 Found file: target/compiler/output/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[ERROR] TestSpecificCompilerTool.testCompileSchemasUsingString:104->assertFileMatch:133 Found file: target/compiler/output-string/avro/examples/baseball/Position.java does not match expected file: src/test/compiler/output-string/avro/examples/baseball/Position.java expected:<...ublic enum Position [implements org.apache.avro.generic.GenericEnumSymbol<Position> { P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; } public org.apache.avro.Schema get]Schema() { return SC...> but was:<...ublic enum Position [{ P, C, B1, B2, B3, SS, LF, CF, RF, DH ; public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"enum\",\"name\":\"Position\",\"namespace\":\"avro.examples.baseball\",\"symbols\":[\"P\",\"C\",\"B1\",\"B2\",\"B3\",\"SS\",\"LF\",\"CF\",\"RF\",\"DH\"]}"); public static org.apache.avro.Schema getClass]Schema() { return SC...>
[INFO]
[ERROR] Tests run: 68, Failures: 4, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Avro Toplevel 1.9.0-SNAPSHOT ................ SUCCESS [ 16.988 s]
[INFO] Apache Avro Java ................................... SUCCESS [ 10.979 s]
[INFO] Apache Avro ........................................ SUCCESS [01:32 min]
[INFO] Apache Avro Compiler ............................... SUCCESS [ 41.583 s]
[INFO] Apache Avro Maven Plugin ........................... SUCCESS [ 27.520 s]
[INFO] Apache Avro IPC .................................... SUCCESS [01:30 min]
[INFO] Apache Avro IPC Jetty .............................. SUCCESS [ 36.590 s]
[INFO] Apache Avro IPC Netty .............................. SUCCESS [ 37.924 s]
[INFO] Trevni Java ........................................ SUCCESS [ 6.469 s]
[INFO] Trevni Java Core ................................... SUCCESS [ 33.037 s]
[INFO] Apache Avro Mapred API ............................. SUCCESS [03:43 min]
[INFO] Trevni Java Avro ................................... SUCCESS [ 45.207 s]
[INFO] Trevni Specification ............................... SUCCESS [ 9.313 s]
[INFO] Apache Avro Tools .................................. FAILURE [ 58.419 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.9.0-SNAPSHOT .. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12:16 min
[INFO] Finished at: 2019-03-28T23:50:33Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3: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-2336