See <https://builds.apache.org/job/olingo-odata4/380/changes>
Changes: [mibo] [OLINGO-317] Added additional tests [michael.bolz] [OLINGO-317] Added complex type handling [michael.bolz] [OLINGO-317] Added collection type handling [michael.bolz] [OLINGO-317] Minor code clean up in test ------------------------------------------ [...truncated 1273 lines...] [INFO] Exclude: **/*.batch [INFO] Exclude: **/NOTICE [INFO] Exclude: **/DEPENDENCIES [INFO] Exclude: **/nb-configuration.xml [INFO] Exclude: **/.externalToolBuilders/** [INFO] Exclude: **/maven-eclipse.xml [INFO] Exclude: **/ref/** [INFO] Exclude: **/server-ref/** [INFO] 119 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 119 licence. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ olingo-server-api --- [INFO] Building jar: /x1/jenkins/jenkins-slave/workspace/olingo-odata4/lib/server-api/target/olingo-server-api-0.1.0-SNAPSHOT.jar [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ olingo-server-api --- [INFO] [INFO] --- maven-checkstyle-plugin:2.12.1:check (checkstyle) @ olingo-server-api --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-install-plugin:2.5.1:install (default-install) @ olingo-server-api --- [INFO] Installing /x1/jenkins/jenkins-slave/workspace/olingo-odata4/lib/server-api/target/olingo-server-api-0.1.0-SNAPSHOT.jar to /home/jenkins/.m2/repository/org/apache/olingo/olingo-server-api/0.1.0-SNAPSHOT/olingo-server-api-0.1.0-SNAPSHOT.jar [INFO] Installing /x1/jenkins/jenkins-slave/workspace/olingo-odata4/lib/server-api/pom.xml to /home/jenkins/.m2/repository/org/apache/olingo/olingo-server-api/0.1.0-SNAPSHOT/olingo-server-api-0.1.0-SNAPSHOT.pom [INFO] [INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @ olingo-server-api --- Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-api/0.1.0-SNAPSHOT/maven-metadata.xml 790/790 B Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-api/0.1.0-SNAPSHOT/maven-metadata.xml (790 B at 3.0 KB/sec) Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-api/0.1.0-SNAPSHOT/olingo-server-api-0.1.0-20140707.061311-164.jar 2/80 KB 4/80 KB 6/80 KB 8/80 KB 10/80 KB 12/80 KB 14/80 KB 16/80 KB 18/80 KB 20/80 KB 22/80 KB 24/80 KB 26/80 KB 28/80 KB 30/80 KB 32/80 KB 34/80 KB 36/80 KB 38/80 KB 40/80 KB 42/80 KB 44/80 KB 46/80 KB 48/80 KB 50/80 KB 52/80 KB 54/80 KB 56/80 KB 58/80 KB 60/80 KB 62/80 KB 64/80 KB 66/80 KB 68/80 KB 70/80 KB 72/80 KB 74/80 KB 76/80 KB 78/80 KB 80/80 KB Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-api/0.1.0-SNAPSHOT/olingo-server-api-0.1.0-20140707.061311-164.jar (80 KB at 1450.4 KB/sec) Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-api/0.1.0-SNAPSHOT/olingo-server-api-0.1.0-20140707.061311-164.pom 2/2 KB Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-api/0.1.0-SNAPSHOT/olingo-server-api-0.1.0-20140707.061311-164.pom (2 KB at 38.7 KB/sec) Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-api/maven-metadata.xml 294/294 B Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-api/maven-metadata.xml (294 B at 7.2 KB/sec) Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-api/0.1.0-SNAPSHOT/maven-metadata.xml 790/790 B Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-api/0.1.0-SNAPSHOT/maven-metadata.xml (790 B at 19.3 KB/sec) Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-api/maven-metadata.xml 294/294 B Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-api/maven-metadata.xml (294 B at 6.7 KB/sec) [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building olingo-server-core 0.1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ olingo-server-core --- [INFO] Deleting /x1/jenkins/jenkins-slave/workspace/olingo-odata4/lib/server-core/target [INFO] [INFO] --- antlr4-maven-plugin:4.1:antlr4 (default) @ olingo-server-core --- [INFO] ANTLR 4: Processing source directory /x1/jenkins/jenkins-slave/workspace/olingo-odata4/lib/server-core/src/main/antlr4 [INFO] Processing grammar: org/apache/olingo/server/core/uri/antlr/UriLexer.g4 [WARNING] Message{errorType=EPSILON_TOKEN, args=[REST_F], e=null, fileName='org/apache/olingo/server/core/uri/antlr/UriLexer.g4', line=308, charPosition=0} [INFO] Processing grammar: org/apache/olingo/server/core/uri/antlr/UriParser.g4 [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ olingo-server-core --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ olingo-server-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /x1/jenkins/jenkins-slave/workspace/olingo-odata4/lib/server-core/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ olingo-server-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 105 source files to /x1/jenkins/jenkins-slave/workspace/olingo-odata4/lib/server-core/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ olingo-server-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ olingo-server-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 27 source files to /x1/jenkins/jenkins-slave/workspace/olingo-odata4/lib/server-core/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ olingo-server-core --- [INFO] Surefire report directory: /x1/jenkins/jenkins-slave/workspace/olingo-odata4/lib/server-core/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.olingo.server.core.ContentNegotiatorTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.209 sec - in org.apache.olingo.server.core.ContentNegotiatorTest Running org.apache.olingo.server.core.ODataHttpHandlerImplTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.085 sec - in org.apache.olingo.server.core.ODataHttpHandlerImplTest Running org.apache.olingo.server.core.edm.provider.EdmActionImplTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 sec - in org.apache.olingo.server.core.edm.provider.EdmActionImplTest Running org.apache.olingo.server.core.edm.provider.EdmActionImportImplTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec - in org.apache.olingo.server.core.edm.provider.EdmActionImportImplTest Running org.apache.olingo.server.core.edm.provider.EdmComplexTypeImplTest Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec - in org.apache.olingo.server.core.edm.provider.EdmComplexTypeImplTest Running org.apache.olingo.server.core.edm.provider.EdmEntityContainerImplTest Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec - in org.apache.olingo.server.core.edm.provider.EdmEntityContainerImplTest Running org.apache.olingo.server.core.edm.provider.EdmEntitySetImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in org.apache.olingo.server.core.edm.provider.EdmEntitySetImplTest Running org.apache.olingo.server.core.edm.provider.EdmEntityTypeImplTest Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec - in org.apache.olingo.server.core.edm.provider.EdmEntityTypeImplTest Running org.apache.olingo.server.core.edm.provider.EdmEnumTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec - in org.apache.olingo.server.core.edm.provider.EdmEnumTest Running org.apache.olingo.server.core.edm.provider.EdmFunctionImplTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.apache.olingo.server.core.edm.provider.EdmFunctionImplTest Running org.apache.olingo.server.core.edm.provider.EdmFunctionImportImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.olingo.server.core.edm.provider.EdmFunctionImportImplTest Running org.apache.olingo.server.core.edm.provider.EdmKeyPropertyRefImplTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec - in org.apache.olingo.server.core.edm.provider.EdmKeyPropertyRefImplTest Running org.apache.olingo.server.core.edm.provider.EdmMemberImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.olingo.server.core.edm.provider.EdmMemberImplTest Running org.apache.olingo.server.core.edm.provider.EdmNamedImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.olingo.server.core.edm.provider.EdmNamedImplTest Running org.apache.olingo.server.core.edm.provider.EdmNavigationPropertyImplTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.olingo.server.core.edm.provider.EdmNavigationPropertyImplTest Running org.apache.olingo.server.core.edm.provider.EdmParameterImplTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in org.apache.olingo.server.core.edm.provider.EdmParameterImplTest Running org.apache.olingo.server.core.edm.provider.EdmPropertyImplTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in org.apache.olingo.server.core.edm.provider.EdmPropertyImplTest Running org.apache.olingo.server.core.edm.provider.EdmProviderImplOverloadingTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec - in org.apache.olingo.server.core.edm.provider.EdmProviderImplOverloadingTest Running org.apache.olingo.server.core.edm.provider.EdmProviderImplTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec - in org.apache.olingo.server.core.edm.provider.EdmProviderImplTest Running org.apache.olingo.server.core.edm.provider.EdmReturnTypeImplTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec - in org.apache.olingo.server.core.edm.provider.EdmReturnTypeImplTest Running org.apache.olingo.server.core.edm.provider.EdmSchemaImplTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec - in org.apache.olingo.server.core.edm.provider.EdmSchemaImplTest Running org.apache.olingo.server.core.edm.provider.EdmServiceMetadataImplTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in org.apache.olingo.server.core.edm.provider.EdmServiceMetadataImplTest Running org.apache.olingo.server.core.edm.provider.EdmSingletonImplTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.apache.olingo.server.core.edm.provider.EdmSingletonImplTest Running org.apache.olingo.server.core.edm.provider.EdmTypeDefinitionImplTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.olingo.server.core.edm.provider.EdmTypeDefinitionImplTest Running org.apache.olingo.server.core.edm.provider.EdmTypeImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.olingo.server.core.edm.provider.EdmTypeImplTest Running org.apache.olingo.server.core.serializer.json.ODataJsonSerializerTest Tests run: 4, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.41 sec <<< FAILURE! - in org.apache.olingo.server.core.serializer.json.ODataJsonSerializerTest entityETCompAllPrim(org.apache.olingo.server.core.serializer.json.ODataJsonSerializerTest) Time elapsed: 0.02 sec <<< FAILURE! org.junit.ComparisonFailure: expected:<..."2014-03-19T10:12:00[+01:00","PropertyDuration":"P16148383DT8H]0S","PropertyGuid":"...> but was:<..."2014-03-19T10:12:00[Z","PropertyDuration":"P16148425DT]0S","PropertyGuid":"...> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at org.apache.olingo.server.core.serializer.json.ODataJsonSerializerTest.entityETCompAllPrim(ODataJsonSerializerTest.java:441) entitySimple(org.apache.olingo.server.core.serializer.json.ODataJsonSerializerTest) Time elapsed: 0.015 sec <<< FAILURE! org.junit.ComparisonFailure: expected:<..."2014-03-19T10:12:00[+01:00","PropertyDuration":"P16148383DT8H]0S","PropertyGuid":"...> but was:<..."2014-03-19T10:12:00[Z","PropertyDuration":"P16148425DT]0S","PropertyGuid":"...> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at org.apache.olingo.server.core.serializer.json.ODataJsonSerializerTest.entitySimple(ODataJsonSerializerTest.java:345) entityCollAllPrim(org.apache.olingo.server.core.serializer.json.ODataJsonSerializerTest) Time elapsed: 0.016 sec <<< FAILURE! org.junit.ComparisonFailure: expected:<..."2014-03-19T10:12:00[+01:00","2014-07-02T13:30:00+02:00"],"CollPropertyDuration":["P16148383DT8H0S","P16253479DT4]H0S"],"CollPropertyG...> but was:<..."2014-03-19T10:12:00[Z","2014-07-02T13:30:00Z"],"CollPropertyDuration":["P16148425DT0S","P16253562DT12]H0S"],"CollPropertyG...> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at org.apache.olingo.server.core.serializer.json.ODataJsonSerializerTest.entityCollAllPrim(ODataJsonSerializerTest.java:404) Results : Failed tests: ODataJsonSerializerTest.entityETCompAllPrim:441 expected:<..."2014-03-19T10:12:00[+01:00","PropertyDuration":"P16148383DT8H]0S","PropertyGuid":"...> but was:<..."2014-03-19T10:12:00[Z","PropertyDuration":"P16148425DT]0S","PropertyGuid":"...> ODataJsonSerializerTest.entitySimple:345 expected:<..."2014-03-19T10:12:00[+01:00","PropertyDuration":"P16148383DT8H]0S","PropertyGuid":"...> but was:<..."2014-03-19T10:12:00[Z","PropertyDuration":"P16148425DT]0S","PropertyGuid":"...> ODataJsonSerializerTest.entityCollAllPrim:404 expected:<..."2014-03-19T10:12:00[+01:00","2014-07-02T13:30:00+02:00"],"CollPropertyDuration":["P16148383DT8H0S","P16253479DT4]H0S"],"CollPropertyG...> but was:<..."2014-03-19T10:12:00[Z","2014-07-02T13:30:00Z"],"CollPropertyDuration":["P16148425DT0S","P16253562DT12]H0S"],"CollPropertyG...> Tests run: 158, Failures: 3, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] olingo-parent ..................................... SUCCESS [7.290s] [INFO] olingo-lib ........................................ SUCCESS [0.878s] [INFO] olingo-commons-api ................................ SUCCESS [4.333s] [INFO] olingo-commons-core ............................... SUCCESS [5.737s] [INFO] olingo-client-api ................................. SUCCESS [1.702s] [INFO] olingo-client-core ................................ SUCCESS [9.362s] [INFO] olingo-server-api ................................. SUCCESS [1.739s] [INFO] olingo-server-core ................................ FAILURE [5.588s] [INFO] olingo-server-tecsvc .............................. SKIPPED [INFO] olingo-server-test ................................ SKIPPED [INFO] olingo-ext ........................................ SKIPPED [INFO] olingo-client-core-android ........................ SKIPPED [INFO] olingo-client-proxy ............................... SKIPPED [INFO] pojogen-maven-plugin .............................. SKIPPED [INFO] olingo-client-proxy-android ....................... SKIPPED [INFO] olingo-fit ........................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 37.230s [INFO] Finished at: Mon Jul 07 06:13:16 UTC 2014 [INFO] Final Memory: 29M/198M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project olingo-server-core: There are test failures. [ERROR] [ERROR] Please refer to /x1/jenkins/jenkins-slave/workspace/olingo-odata4/lib/server-core/target/surefire-reports for the individual test results. [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 :olingo-server-core Build step 'Invoke top-level Maven targets' marked build as failure
