You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2018/04/23 06:36:40 UTC

Build failed in Jenkins: olingo-odata2-quality #812

See <https://builds.apache.org/job/olingo-odata2-quality/812/display/redirect?page=changes>

Changes:

[archana.rai] [Olingo-1259]Function Import enhancements

------------------------------------------
[...truncated 170.03 KB...]
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building olingo-odata2-annotation-processor-api 2.0.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ olingo-odata2-annotation-processor-api ---
[INFO] Deleting <https://builds.apache.org/job/olingo-odata2-quality/ws/odata2-annotation-processor/annotation-processor-api/target>
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.2:create (default) @ olingo-odata2-annotation-processor-api ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ olingo-odata2-annotation-processor-api ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ olingo-odata2-annotation-processor-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/olingo-odata2-quality/ws/odata2-annotation-processor/annotation-processor-api/src/main/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ olingo-odata2-annotation-processor-api ---
[INFO] Compiling 2 source files to <https://builds.apache.org/job/olingo-odata2-quality/ws/odata2-annotation-processor/annotation-processor-api/target/classes>
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:manifest (bundle-manifest) @ olingo-odata2-annotation-processor-api ---
[WARNING] Manifest org.apache.olingo:olingo-odata2-annotation-processor-api:jar:2.0.11-SNAPSHOT : Superfluous export-package instructions: [org.apache.olingo.odata2.annotation.processor.api.*]
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ olingo-odata2-annotation-processor-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/olingo-odata2-quality/ws/odata2-annotation-processor/annotation-processor-api/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ olingo-odata2-annotation-processor-api ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ olingo-odata2-annotation-processor-api ---
[INFO] 
[INFO] --- apache-rat-plugin:0.9:rat (rat-check) @ olingo-odata2-annotation-processor-api ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: **/MANIFEST.MF
[INFO] Exclude: .gitignore
[INFO] Exclude: .git/**
[INFO] Exclude: bin/**
[INFO] Exclude: **/*.project
[INFO] Exclude: **/*.classpath
[INFO] Exclude: **/*.json
[INFO] Exclude: **/*.batch
[INFO] Exclude: **/NOTICE
[INFO] Exclude: **/DEPENDENCIES
[INFO] Exclude: **/goal.txt
[INFO] Exclude: **/target/**
[INFO] Exclude: **/*.iml
[INFO] Exclude: .repository/**
[INFO] 3 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] 
[INFO] --- apache-rat-plugin:0.9:check (rat-check) @ olingo-odata2-annotation-processor-api ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: **/MANIFEST.MF
[INFO] Exclude: .gitignore
[INFO] Exclude: .git/**
[INFO] Exclude: bin/**
[INFO] Exclude: **/*.project
[INFO] Exclude: **/*.classpath
[INFO] Exclude: **/*.json
[INFO] Exclude: **/*.batch
[INFO] Exclude: **/NOTICE
[INFO] Exclude: **/DEPENDENCIES
[INFO] Exclude: **/goal.txt
[INFO] Exclude: **/target/**
[INFO] Exclude: **/*.iml
[INFO] Exclude: .repository/**
[INFO] 3 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: 3 licence.
[INFO] 
[INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ olingo-odata2-annotation-processor-api ---
[INFO] Building jar: <https://builds.apache.org/job/olingo-odata2-quality/ws/odata2-annotation-processor/annotation-processor-api/target/olingo-odata2-annotation-processor-api-2.0.11-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ olingo-odata2-annotation-processor-api ---
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ olingo-odata2-annotation-processor-api ---
[INFO] Building jar: <https://builds.apache.org/job/olingo-odata2-quality/ws/odata2-annotation-processor/annotation-processor-api/target/olingo-odata2-annotation-processor-api-2.0.11-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.10:check (checkstyle) @ olingo-odata2-annotation-processor-api ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ olingo-odata2-annotation-processor-api ---
[INFO] Installing <https://builds.apache.org/job/olingo-odata2-quality/ws/odata2-annotation-processor/annotation-processor-api/target/olingo-odata2-annotation-processor-api-2.0.11-SNAPSHOT.jar> to /home/jenkins/.m2/repository/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.11-SNAPSHOT/olingo-odata2-annotation-processor-api-2.0.11-SNAPSHOT.jar
[INFO] Installing <https://builds.apache.org/job/olingo-odata2-quality/ws/odata2-annotation-processor/annotation-processor-api/pom.xml> to /home/jenkins/.m2/repository/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.11-SNAPSHOT/olingo-odata2-annotation-processor-api-2.0.11-SNAPSHOT.pom
[INFO] Installing <https://builds.apache.org/job/olingo-odata2-quality/ws/odata2-annotation-processor/annotation-processor-api/target/olingo-odata2-annotation-processor-api-2.0.11-SNAPSHOT-sources.jar> to /home/jenkins/.m2/repository/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.11-SNAPSHOT/olingo-odata2-annotation-processor-api-2.0.11-SNAPSHOT-sources.jar
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building olingo-odata2-annotation-processor-core 2.0.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ olingo-odata2-annotation-processor-core ---
[INFO] Deleting <https://builds.apache.org/job/olingo-odata2-quality/ws/odata2-annotation-processor/annotation-processor-core/target>
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.2:create (default) @ olingo-odata2-annotation-processor-core ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ olingo-odata2-annotation-processor-core ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ olingo-odata2-annotation-processor-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/olingo-odata2-quality/ws/odata2-annotation-processor/annotation-processor-core/src/main/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ olingo-odata2-annotation-processor-core ---
[INFO] Compiling 13 source files to <https://builds.apache.org/job/olingo-odata2-quality/ws/odata2-annotation-processor/annotation-processor-core/target/classes>
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:manifest (bundle-manifest) @ olingo-odata2-annotation-processor-core ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ olingo-odata2-annotation-processor-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/olingo-odata2-quality/ws/odata2-annotation-processor/annotation-processor-core/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ olingo-odata2-annotation-processor-core ---
[INFO] Compiling 21 source files to <https://builds.apache.org/job/olingo-odata2-quality/ws/odata2-annotation-processor/annotation-processor-core/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ olingo-odata2-annotation-processor-core ---
[INFO] Surefire report directory: <https://builds.apache.org/job/olingo-odata2-quality/ws/odata2-annotation-processor/annotation-processor-core/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.olingo.odata2.annotation.processor.core.edm.AnnotationEdmProviderNamespacesTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.204 sec
Running org.apache.olingo.odata2.annotation.processor.core.edm.AnnotationEdmProviderTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.117 sec
Running org.apache.olingo.odata2.annotation.processor.core.AnnotationServiceFactoryImplTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec
Running org.apache.olingo.odata2.annotation.processor.core.util.ClassHelperTest
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.031 sec <<< FAILURE!
loadFromDirWithUnsafeName(org.apache.olingo.odata2.annotation.processor.core.util.ClassHelperTest)  Time elapsed: 0.01 sec  <<< ERROR!
java.lang.Exception: Unexpected exception, expected<java.lang.ClassFormatError> but was<java.lang.IllegalArgumentException>
	at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:31)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
	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.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.lang.IllegalArgumentException: No folder to scan found for package 'space space.package'.
	at org.apache.olingo.odata2.annotation.processor.core.util.ClassHelper.getResourceUri(ClassHelper.java:110)
	at org.apache.olingo.odata2.annotation.processor.core.util.ClassHelper.loadClasses(ClassHelper.java:73)
	at org.apache.olingo.odata2.annotation.processor.core.util.ClassHelper.loadClasses(ClassHelper.java:66)
	at org.apache.olingo.odata2.annotation.processor.core.util.ClassHelperTest.loadFromDirWithUnsafeName(ClassHelperTest.java:91)
	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:45)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:22)
	... 21 more

Running org.apache.olingo.odata2.annotation.processor.core.util.AnnotationHelperTest
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec
Running org.apache.olingo.odata2.annotation.processor.core.ListsProcessorTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.146 sec
Running org.apache.olingo.odata2.annotation.processor.core.datasource.AnnotationValueAccessTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 sec
Running org.apache.olingo.odata2.annotation.processor.core.datasource.AnnotationsInMemoryDsTest
Tests run: 34, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.558 sec
Running org.apache.olingo.odata2.annotation.processor.core.datasource.BeanPropertyAccessTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec

Results :

Tests in error: 
  loadFromDirWithUnsafeName(org.apache.olingo.odata2.annotation.processor.core.util.ClassHelperTest): Unexpected exception, expected<java.lang.ClassFormatError> but was<java.lang.IllegalArgumentException>

Tests run: 120, Failures: 0, Errors: 1, Skipped: 3

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] olingo-odata2-parent ............................... SUCCESS [  5.270 s]
[INFO] olingo-odata2-lib .................................. SUCCESS [  0.489 s]
[INFO] olingo-odata2-api .................................. SUCCESS [  7.701 s]
[INFO] olingo-odata2-api-annotation ....................... SUCCESS [  1.604 s]
[INFO] olingo-odata2-testutil ............................. SUCCESS [  4.329 s]
[INFO] olingo-odata2-core ................................. SUCCESS [ 37.760 s]
[INFO] olingo-odata2-ref .................................. SUCCESS [  4.551 s]
[INFO] olingo-odata2-fit .................................. SUCCESS [05:38 min]
[INFO] olingo-odata2-ref-web .............................. SUCCESS [  1.700 s]
[INFO] olingo-odata2-client-api ........................... SUCCESS [  1.404 s]
[INFO] olingo-odata2-client-core .......................... SUCCESS [ 20.723 s]
[INFO] olingo-odata2-jpa-processor ........................ SUCCESS [  0.336 s]
[INFO] olingo-odata2-jpa-processor-api .................... SUCCESS [  2.190 s]
[INFO] olingo-odata2-jpa-processor-core ................... SUCCESS [  9.872 s]
[INFO] olingo-odata2-jpa-processor-ref .................... SUCCESS [  1.645 s]
[INFO] olingo-odata2-jpa-processor-ref-web ................ SUCCESS [  3.242 s]
[INFO] olingo-odata2-annotation-processor ................. SUCCESS [  0.253 s]
[INFO] olingo-odata2-annotation-processor-api ............. SUCCESS [  0.833 s]
[INFO] olingo-odata2-annotation-processor-core ............ FAILURE [  5.346 s]
[INFO] olingo-odata2-annotation-processor-ref ............. SKIPPED
[INFO] olingo-odata2-annotation-processor-ref-web ......... SKIPPED
[INFO] olingo-odata2-dist ................................. SKIPPED
[INFO] olingo-odata2-dist-lib ............................. SKIPPED
[INFO] olingo-odata2-dist-jpa ............................. SKIPPED
[INFO] olingo-odata2-dist-janos ........................... SKIPPED
[INFO] olingo-odata2-dist-ref ............................. SKIPPED
[INFO] olingo-odata2-dist-javadoc ......................... SKIPPED
[INFO] olingo-odata2-sample ............................... SKIPPED
[INFO] olingo-odata2-sample-cars-service-archetype ........ SKIPPED
[INFO] olingo-odata2-sample-cars-annotation-archetype ..... SKIPPED
[INFO] olingo-odata2-sample-cars-jpa-archetype ............ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:28 min
[INFO] Finished at: 2018-04-23T06:36:38Z
[INFO] Final Memory: 163M/3412M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project olingo-odata2-annotation-processor-core: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://builds.apache.org/job/olingo-odata2-quality/ws/odata2-annotation-processor/annotation-processor-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-odata2-annotation-processor-core
Build step 'Invoke top-level Maven targets' marked build as failure
Not sending mail to unregistered user archana.rai@sap.com

Jenkins build is back to normal : olingo-odata2-quality #813

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/olingo-odata2-quality/813/display/redirect?page=changes>