olingo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: olingo-odata4 #1468
Date Wed, 11 Apr 2018 08:22:48 GMT
See <https://builds.apache.org/job/olingo-odata4/1468/display/redirect?page=changes>

Changes:

[archana.rai] [OLINGO-1256]Error code improvements

------------------------------------------
[...truncated 319.45 KB...]
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ odata-samples ---
[INFO] Installing <https://builds.apache.org/job/olingo-odata4/ws/samples/pom.xml> to
/home/jenkins/.m2/repository/org/apache/olingo/odata-samples/4.5.0-SNAPSHOT/odata-samples-4.5.0-SNAPSHOT.pom
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (rat-check) @ odata-samples ---
[INFO] 53 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] 179 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: 179 licence.
[INFO] 
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ odata-samples ---
[INFO] Skipping artifact deployment
[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] 
[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/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/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/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/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/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/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/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/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/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] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ odata-server-osgi-sample ---
[INFO] Skipping artifact deployment
[INFO] 
[INFO] --- maven-bundle-plugin:3.3.0:deploy (default-deploy) @ odata-server-osgi-sample ---
[INFO] Remote OBR update disabled (enable with -DremoteOBR)
[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] 
[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/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/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/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/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/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: 8.923 sec <<< FAILURE!
- in org.apache.olingo.osgi.itests.BundlesTest
test(org.apache.olingo.osgi.itests.BundlesTest)  Time elapsed: 0.078 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: 5.636 sec <<< FAILURE!
- in org.apache.olingo.osgi.itests.server.CarServiceTest
testServiceStarted(org.apache.olingo.osgi.itests.server.CarServiceTest)  Time elapsed: 5.636
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 [  7.956 s]
[INFO] odata-lib .......................................... SUCCESS [  3.957 s]
[INFO] odata-commons-api .................................. SUCCESS [ 14.252 s]
[INFO] odata-commons-core ................................. SUCCESS [ 14.385 s]
[INFO] odata-client-api ................................... SUCCESS [  8.941 s]
[INFO] odata-client-core .................................. SUCCESS [ 17.922 s]
[INFO] odata-server-api ................................... SUCCESS [ 10.195 s]
[INFO] odata-server-core .................................. SUCCESS [ 16.483 s]
[INFO] odata-server-core-ext .............................. SUCCESS [ 20.204 s]
[INFO] odata-server-tecsvc ................................ SUCCESS [  6.848 s]
[INFO] odata-server-test .................................. SUCCESS [ 11.270 s]
[INFO] odata-ext .......................................... SUCCESS [  3.885 s]
[INFO] odata-client-proxy ................................. SUCCESS [  9.214 s]
[INFO] pojogen-maven-plugin ............................... SUCCESS [ 31.179 s]
[INFO] odata-client-android ............................... SUCCESS [ 10.528 s]
[INFO] odata-karaf ........................................ SUCCESS [  3.680 s]
[INFO] odata-karaf-features ............................... SUCCESS [  5.738 s]
[INFO] odata-samples ...................................... SUCCESS [  0.651 s]
[INFO] odata-server-osgi-sample ........................... SUCCESS [  3.927 s]
[INFO] odata-karaf-fit .................................... FAILURE [ 19.068 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] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:42 min
[INFO] Finished at: 2018-04-11T08:22:46Z
[INFO] Final Memory: 236M/4638M
[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/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 archana.rai@sap.com
Not sending mail to unregistered user ramya.vasanth@sap.com

Mime
View raw message