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 2016/05/24 07:46:31 UTC

Build failed in Jenkins: olingo-odata2 #1286

See <https://builds.apache.org/job/olingo-odata2/1286/changes>

Changes:

[christian.amend] [OLINGO-947] Fix Java warnings

[christian.amend] "Deep insert fix and Dual access changes"

------------------------------------------
[...truncated 2696 lines...]
            
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-annotation-processor/maven-metadata.xml (451 B at 2.9 KB/sec)
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building olingo-odata2-annotation-processor-api 2.0.7-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ olingo-odata2-annotation-processor-api ---
[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/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/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.7-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/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] --- maven-jar-plugin:2.3.2:jar (default-jar) @ olingo-odata2-annotation-processor-api ---
[INFO] Building jar: <https://builds.apache.org/job/olingo-odata2/ws/odata2-annotation-processor/annotation-processor-api/target/olingo-odata2-annotation-processor-api-2.0.7-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/ws/odata2-annotation-processor/annotation-processor-api/target/olingo-odata2-annotation-processor-api-2.0.7-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/ws/odata2-annotation-processor/annotation-processor-api/target/olingo-odata2-annotation-processor-api-2.0.7-SNAPSHOT.jar> to /home/jenkins/.m2/repository/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.7-SNAPSHOT/olingo-odata2-annotation-processor-api-2.0.7-SNAPSHOT.jar
[INFO] Installing <https://builds.apache.org/job/olingo-odata2/ws/odata2-annotation-processor/annotation-processor-api/pom.xml> to /home/jenkins/.m2/repository/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.7-SNAPSHOT/olingo-odata2-annotation-processor-api-2.0.7-SNAPSHOT.pom
[INFO] Installing <https://builds.apache.org/job/olingo-odata2/ws/odata2-annotation-processor/annotation-processor-api/target/olingo-odata2-annotation-processor-api-2.0.7-SNAPSHOT-sources.jar> to /home/jenkins/.m2/repository/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.7-SNAPSHOT/olingo-odata2-annotation-processor-api-2.0.7-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ olingo-odata2-annotation-processor-api ---
Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.7-SNAPSHOT/maven-metadata.xml
1023/1023 B   
              
Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.7-SNAPSHOT/maven-metadata.xml (1023 B at 3.7 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.7-SNAPSHOT/olingo-odata2-annotation-processor-api-2.0.7-20160524.074141-18.jar
2/11 KB       
4/11 KB   
6/11 KB   
8/11 KB   
10/11 KB   
11/11 KB   
           
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.7-SNAPSHOT/olingo-odata2-annotation-processor-api-2.0.7-20160524.074141-18.jar (11 KB at 60.3 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.7-SNAPSHOT/olingo-odata2-annotation-processor-api-2.0.7-20160524.074141-18.pom
2/4 KB     
4/4 KB   
         
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.7-SNAPSHOT/olingo-odata2-annotation-processor-api-2.0.7-20160524.074141-18.pom (4 KB at 22.3 KB/sec)
Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-annotation-processor-api/maven-metadata.xml
455/455 B   
            
Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-annotation-processor-api/maven-metadata.xml (455 B at 4.5 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.7-SNAPSHOT/maven-metadata.xml
1023/1023 B   
              
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.7-SNAPSHOT/maven-metadata.xml (1023 B at 7.3 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-annotation-processor-api/maven-metadata.xml
455/455 B     
            
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-annotation-processor-api/maven-metadata.xml (455 B at 3.3 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.7-SNAPSHOT/olingo-odata2-annotation-processor-api-2.0.7-20160524.074141-18-sources.jar
2/9 KB      
4/9 KB   
6/9 KB   
8/9 KB   
9/9 KB   
         
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.7-SNAPSHOT/olingo-odata2-annotation-processor-api-2.0.7-20160524.074141-18-sources.jar (9 KB at 53.8 KB/sec)
Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.7-SNAPSHOT/maven-metadata.xml
1023/1023 B   
              
Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.7-SNAPSHOT/maven-metadata.xml (1023 B at 7.3 KB/sec)
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building olingo-odata2-annotation-processor-core 2.0.7-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ olingo-odata2-annotation-processor-core ---
[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/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/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/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 20 source files to <https://builds.apache.org/job/olingo-odata2/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/ws/odata2-annotation-processor/annotation-processor-core/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.olingo.odata2.annotation.processor.core.util.ClassHelperTest
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.087 sec <<< FAILURE!
loadFromDirWithUnsafeName(org.apache.olingo.odata2.annotation.processor.core.util.ClassHelperTest)  Time elapsed: 0.008 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:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	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:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	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.089 sec
Running org.apache.olingo.odata2.annotation.processor.core.datasource.BeanPropertyAccessTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.196 sec
Running org.apache.olingo.odata2.annotation.processor.core.datasource.AnnotationsInMemoryDsTest
Tests run: 30, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 1.056 sec
Running org.apache.olingo.odata2.annotation.processor.core.datasource.AnnotationValueAccessTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.apache.olingo.odata2.annotation.processor.core.AnnotationServiceFactoryImplTest
Tests run: 3, 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.018 sec
Running org.apache.olingo.odata2.annotation.processor.core.edm.AnnotationEdmProviderTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.089 sec
Running org.apache.olingo.odata2.annotation.processor.core.edm.AnnotationEdmProviderNamespacesTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.035 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: 116, Failures: 0, Errors: 1, Skipped: 3

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] olingo-odata2-parent .............................. SUCCESS [4.709s]
[INFO] olingo-odata2-lib ................................. SUCCESS [1.037s]
[INFO] olingo-odata2-api ................................. SUCCESS [8.672s]
[INFO] olingo-odata2-api-annotation ...................... SUCCESS [2.094s]
[INFO] olingo-odata2-testutil ............................ SUCCESS [3.122s]
[INFO] olingo-odata2-core ................................ SUCCESS [32.100s]
[INFO] olingo-odata2-ref ................................. SUCCESS [5.083s]
[INFO] olingo-odata2-fit ................................. SUCCESS [1:25.320s]
[INFO] olingo-odata2-ref-web ............................. SUCCESS [1.141s]
[INFO] olingo-odata2-jpa-processor ....................... SUCCESS [1.035s]
[INFO] olingo-odata2-jpa-processor-api ................... SUCCESS [3.125s]
[INFO] olingo-odata2-jpa-processor-core .................. SUCCESS [10.931s]
[INFO] olingo-odata2-jpa-processor-ref ................... SUCCESS [4.251s]
[INFO] olingo-odata2-jpa-processor-ref-web ............... SUCCESS [2.771s]
[INFO] olingo-odata2-annotation-processor ................ SUCCESS [0.979s]
[INFO] olingo-odata2-annotation-processor-api ............ SUCCESS [1.976s]
[INFO] olingo-odata2-annotation-processor-core ........... FAILURE [5.080s]
[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: 2:54.849s
[INFO] Finished at: Tue May 24 07:41:47 UTC 2016
[INFO] Final Memory: 47M/1893M
[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/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

Jenkins build is back to normal : olingo-odata2 #1287

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/olingo-odata2/1287/>