See <https://builds.apache.org/job/olingo-odata4-all-profiles/244/display/redirect?page=changes>
Changes: [ramya.vasanth] [OLINGO-1232] Adding metadata document for testing ------------------------------------------ [...truncated 429.62 KB...] [INFO] Exclude: **/META-INF/** [INFO] Exclude: **/*.txt [INFO] Exclude: **/*.ini [INFO] Exclude: **/*.bin [INFO] Exclude: **/MANIFEST.MF [INFO] Exclude: .gitignore [INFO] Exclude: .git/** [INFO] Exclude: bin/** [INFO] Exclude: **/*.local [INFO] Exclude: **/*.project [INFO] Exclude: **/*.classpath [INFO] Exclude: **/*.json [INFO] Exclude: **/*.batch [INFO] Exclude: **/NOTICE [INFO] Exclude: **/DEPENDENCIES [INFO] Exclude: **/nb-configuration.xml [INFO] Exclude: **/.externalToolBuilders/** [INFO] Exclude: **/maven-eclipse.xml [INFO] Exclude: **/*.iml [INFO] Exclude: **/ref/** [INFO] Exclude: **/server-ref/** [INFO] Exclude: **/dependency-reduced-pom.xml [INFO] 1 resources included (use -debug for more details) Compiler warnings: WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.' [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 1 licence. [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building odata-server-osgi-sample 4.5.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ odata-server-osgi-sample --- [INFO] Deleting <https://builds.apache.org/job/olingo-odata4-all-profiles/ws/samples/osgi/server/target> [INFO] [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @ odata-server-osgi-sample --- [INFO] Source directory: <https://builds.apache.org/job/olingo-odata4-all-profiles/ws/samples/osgi/server/../../server/src/main> added. [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ odata-server-osgi-sample --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ odata-server-osgi-sample --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/olingo-odata4-all-profiles/ws/samples/osgi/server/src/main/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ odata-server-osgi-sample --- [INFO] Compiling 4 source files to <https://builds.apache.org/job/olingo-odata4-all-profiles/ws/samples/osgi/server/target/classes> [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ odata-server-osgi-sample --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/olingo-odata4-all-profiles/ws/samples/osgi/server/src/test/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ odata-server-osgi-sample --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ odata-server-osgi-sample --- [INFO] [INFO] --- maven-bundle-plugin:3.3.0:bundle (default-bundle) @ odata-server-osgi-sample --- [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ odata-server-osgi-sample --- [INFO] [INFO] --- maven-failsafe-plugin:2.17:integration-test (integration-test) @ odata-server-osgi-sample --- [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ odata-server-osgi-sample --- [INFO] Building jar: <https://builds.apache.org/job/olingo-odata4-all-profiles/ws/samples/osgi/server/target/odata-server-osgi-sample-4.5.0-SNAPSHOT-sources.jar> [INFO] [INFO] --- maven-failsafe-plugin:2.17:verify (integration-test) @ odata-server-osgi-sample --- [INFO] Failsafe report directory: <https://builds.apache.org/job/olingo-odata4-all-profiles/ws/samples/osgi/server/target/failsafe-reports> [INFO] [INFO] --- maven-checkstyle-plugin:2.12.1:check (checkstyle) @ odata-server-osgi-sample --- [INFO] Starting audit... Audit done. [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ odata-server-osgi-sample --- [INFO] Installing <https://builds.apache.org/job/olingo-odata4-all-profiles/ws/samples/osgi/server/target/odata-server-osgi-sample-4.5.0-SNAPSHOT.jar> to /home/jenkins/.m2/repository/org/apache/olingo/odata-server-osgi-sample/4.5.0-SNAPSHOT/odata-server-osgi-sample-4.5.0-SNAPSHOT.jar [INFO] Installing <https://builds.apache.org/job/olingo-odata4-all-profiles/ws/samples/osgi/server/pom.xml> to /home/jenkins/.m2/repository/org/apache/olingo/odata-server-osgi-sample/4.5.0-SNAPSHOT/odata-server-osgi-sample-4.5.0-SNAPSHOT.pom [INFO] Installing <https://builds.apache.org/job/olingo-odata4-all-profiles/ws/samples/osgi/server/target/odata-server-osgi-sample-4.5.0-SNAPSHOT-sources.jar> to /home/jenkins/.m2/repository/org/apache/olingo/odata-server-osgi-sample/4.5.0-SNAPSHOT/odata-server-osgi-sample-4.5.0-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-bundle-plugin:3.3.0:install (default-install) @ odata-server-osgi-sample --- [INFO] Installing org/apache/olingo/odata-server-osgi-sample/4.5.0-SNAPSHOT/odata-server-osgi-sample-4.5.0-SNAPSHOT.jar [INFO] Writing OBR metadata [INFO] [INFO] --- apache-rat-plugin:0.11:check (rat-check) @ odata-server-osgi-sample --- [INFO] 51 implicit excludes (use -debug for more details). [INFO] Exclude: **/target/** [INFO] Exclude: **/META-INF/** [INFO] Exclude: **/*.txt [INFO] Exclude: **/*.ini [INFO] Exclude: **/*.bin [INFO] Exclude: **/MANIFEST.MF [INFO] Exclude: .gitignore [INFO] Exclude: .git/** [INFO] Exclude: bin/** [INFO] Exclude: **/*.local [INFO] Exclude: **/*.project [INFO] Exclude: **/*.classpath [INFO] Exclude: **/*.json [INFO] Exclude: **/*.batch [INFO] Exclude: **/NOTICE [INFO] Exclude: **/DEPENDENCIES [INFO] Exclude: **/nb-configuration.xml [INFO] Exclude: **/.externalToolBuilders/** [INFO] Exclude: **/maven-eclipse.xml [INFO] Exclude: **/*.iml [INFO] Exclude: **/ref/** [INFO] Exclude: **/server-ref/** [INFO] Exclude: **/dependency-reduced-pom.xml [INFO] 1 resources included (use -debug for more details) Compiler warnings: WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.' [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 1 licence. [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building odata-karaf-fit 4.5.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ odata-karaf-fit --- [INFO] Deleting <https://builds.apache.org/job/olingo-odata4-all-profiles/ws/ext/karaf/karaf-fit/target> [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ odata-karaf-fit --- [INFO] [INFO] --- depends-maven-plugin:1.2:generate-depends-file (generate-depends-file) @ odata-karaf-fit --- [INFO] Created: <https://builds.apache.org/job/olingo-odata4-all-profiles/ws/ext/karaf/karaf-fit/target/classes/META-INF/maven/dependencies.properties> [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ odata-karaf-fit --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/olingo-odata4-all-profiles/ws/ext/karaf/karaf-fit/src/main/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ odata-karaf-fit --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ odata-karaf-fit --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/olingo-odata4-all-profiles/ws/ext/karaf/karaf-fit/src/test/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ odata-karaf-fit --- [INFO] Compiling 3 source files to <https://builds.apache.org/job/olingo-odata4-all-profiles/ws/ext/karaf/karaf-fit/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ odata-karaf-fit --- [INFO] Surefire report directory: <https://builds.apache.org/job/olingo-odata4-all-profiles/ws/ext/karaf/karaf-fit/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.olingo.osgi.itests.BundlesTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.828 sec <<< FAILURE! - in org.apache.olingo.osgi.itests.BundlesTest test(org.apache.olingo.osgi.itests.BundlesTest) Time elapsed: 0.103 sec <<< FAILURE! java.lang.AssertionError: Bundle org.apache.olingo.odata-server-api should be started expected:<32> but was:<2> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:743) at org.junit.Assert.assertEquals(Assert.java:118) at org.junit.Assert.assertEquals(Assert.java:555) at org.apache.olingo.osgi.itests.OlingoOSGiTestSupport.assertBundleStarted(OlingoOSGiTestSupport.java:123) at org.apache.olingo.osgi.itests.BundlesTest.test(BundlesTest.java:40) Running org.apache.olingo.osgi.itests.server.CarServiceTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.042 sec <<< FAILURE! - in org.apache.olingo.osgi.itests.server.CarServiceTest testServiceStarted(org.apache.olingo.osgi.itests.server.CarServiceTest) Time elapsed: 6.042 sec <<< FAILURE! java.lang.AssertionError: Bundle org.apache.olingo.odata-server-osgi-sample should be started expected:<32> but was:<2> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:743) at org.junit.Assert.assertEquals(Assert.java:118) at org.junit.Assert.assertEquals(Assert.java:555) at org.apache.olingo.osgi.itests.OlingoOSGiTestSupport.assertBundleStarted(OlingoOSGiTestSupport.java:123) at org.apache.olingo.osgi.itests.server.CarServiceTest.testServiceStarted(CarServiceTest.java:52) Results : Failed tests: BundlesTest.test:40->OlingoOSGiTestSupport.assertBundleStarted:123 Bundle org.apache.olingo.odata-server-api should be started expected:<32> but was:<2> CarServiceTest.testServiceStarted:52->OlingoOSGiTestSupport.assertBundleStarted:123 Bundle org.apache.olingo.odata-server-osgi-sample should be started expected:<32> but was:<2> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Olingo-OData ....................................... SUCCESS [ 2.687 s] [INFO] odata-lib .......................................... SUCCESS [ 0.303 s] [INFO] odata-commons-api .................................. SUCCESS [ 6.336 s] [INFO] odata-commons-core ................................. SUCCESS [ 6.305 s] [INFO] odata-client-api ................................... SUCCESS [ 2.297 s] [INFO] odata-client-core .................................. SUCCESS [ 8.942 s] [INFO] odata-server-api ................................... SUCCESS [ 2.960 s] [INFO] odata-server-core .................................. SUCCESS [ 9.595 s] [INFO] odata-server-core-ext .............................. SUCCESS [ 10.521 s] [INFO] odata-server-tecsvc ................................ SUCCESS [ 6.638 s] [INFO] odata-server-test .................................. SUCCESS [ 11.210 s] [INFO] odata-ext .......................................... SUCCESS [ 0.176 s] [INFO] odata-client-proxy ................................. SUCCESS [ 2.830 s] [INFO] pojogen-maven-plugin ............................... SUCCESS [ 23.875 s] [INFO] odata-client-android ............................... SUCCESS [ 2.625 s] [INFO] odata-karaf ........................................ SUCCESS [ 0.170 s] [INFO] odata-karaf-features ............................... SUCCESS [ 0.239 s] [INFO] odata-samples ...................................... SUCCESS [ 0.116 s] [INFO] odata-server-osgi-sample ........................... SUCCESS [ 3.238 s] [INFO] odata-karaf-fit .................................... FAILURE [ 17.855 s] [INFO] odata-fit .......................................... SKIPPED [INFO] odata-dist ......................................... SKIPPED [INFO] Olingo-OData-Client-for-Android .................... SKIPPED [INFO] Olingo-OData-Client-for-Java ....................... SKIPPED [INFO] Olingo-OData-Server-for-Java ....................... SKIPPED [INFO] Olingo-OData-Server-Extension-for-Java ............. SKIPPED [INFO] Olingo-OData-JavaDoc ............................... SKIPPED [INFO] odata-server-sample ................................ SKIPPED [INFO] odata-client-sample ................................ SKIPPED [INFO] DemoService Webapp ................................. SKIPPED [INFO] DemoService-Read-Webapp ............................ SKIPPED [INFO] DemoService-ReadEp-Webapp .......................... SKIPPED [INFO] DemoService-Write-Webapp ........................... SKIPPED [INFO] DemoService-Navigation-Webapp ...................... SKIPPED [INFO] DemoService-QueryOptions-TCS-Webapp ................ SKIPPED [INFO] DemoService-QueryOptions-ES-Webapp ................. SKIPPED [INFO] DemoService-QueryOptions-O-Webapp .................. SKIPPED [INFO] DemoService-QueryOptions-F Webapp .................. SKIPPED [INFO] DemoService-Action-Webapp .......................... SKIPPED [INFO] DemoService-ActionPreparation-Webapp ............... SKIPPED [INFO] DemoService-Media-Webapp ........................... SKIPPED [INFO] DemoService-Batch-Webapp ........................... SKIPPED [INFO] DemoService-DeepInsert-Webapp ...................... SKIPPED [INFO] DemoService-DeepInsertPreparation-Webapp ........... SKIPPED [INFO] DemoService-Streaming-Webapp ....................... SKIPPED [INFO] odata-tutorials .................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:00 min [INFO] Finished at: 2018-02-08T09:45:23Z [INFO] Final Memory: 226M/4252M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project odata-karaf-fit: There are test failures. [ERROR] [ERROR] Please refer to <https://builds.apache.org/job/olingo-odata4-all-profiles/ws/ext/karaf/karaf-fit/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 :odata-karaf-fit Build step 'Invoke top-level Maven targets' marked build as failure Not sending mail to unregistered user ramya.vasa...@sap.com