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

Changes:

[mibo] [OLINGO-1020] Fixed 0..1 edge cases for JPA-ext

------------------------------------------
[...truncated 1796 lines...]
Audit done.

[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
olingo-odata2-annotation-processor ---
[INFO] Installing 
<https://builds.apache.org/job/olingo-odata2-quality/ws/odata2-annotation-processor/pom.xml>
 to 
/home/jenkins/.m2/repository/org/apache/olingo/olingo-odata2-annotation-processor/2.0.8-SNAPSHOT/olingo-odata2-annotation-processor-2.0.8-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building olingo-odata2-annotation-processor-api 2.0.8-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.8-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] 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] 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.8-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.8-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.8-SNAPSHOT.jar>
 to 
/home/jenkins/.m2/repository/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.8-SNAPSHOT/olingo-odata2-annotation-processor-api-2.0.8-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.8-SNAPSHOT/olingo-odata2-annotation-processor-api-2.0.8-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.8-SNAPSHOT-sources.jar>
 to 
/home/jenkins/.m2/repository/org/apache/olingo/olingo-odata2-annotation-processor-api/2.0.8-SNAPSHOT/olingo-odata2-annotation-processor-api-2.0.8-SNAPSHOT-sources.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building olingo-odata2-annotation-processor-core 2.0.8-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.util.ClassHelperTest
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.074 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: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.064 sec
Running 
org.apache.olingo.odata2.annotation.processor.core.AnnotationServiceFactoryImplTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059 sec
Running 
org.apache.olingo.odata2.annotation.processor.core.edm.AnnotationEdmProviderTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 sec
Running 
org.apache.olingo.odata2.annotation.processor.core.edm.AnnotationEdmProviderNamespacesTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.036 sec
Running org.apache.olingo.odata2.annotation.processor.core.ListsProcessorTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec
Running 
org.apache.olingo.odata2.annotation.processor.core.datasource.AnnotationsInMemoryDsTest
Tests run: 34, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.493 sec
Running 
org.apache.olingo.odata2.annotation.processor.core.datasource.AnnotationValueAccessTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 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 [  4.304 s]
[INFO] olingo-odata2-lib .................................. SUCCESS [  0.394 s]
[INFO] olingo-odata2-api .................................. SUCCESS [  6.481 s]
[INFO] olingo-odata2-api-annotation ....................... SUCCESS [  1.511 s]
[INFO] olingo-odata2-testutil ............................. SUCCESS [  3.478 s]
[INFO] olingo-odata2-core ................................. SUCCESS [ 32.697 s]
[INFO] olingo-odata2-ref .................................. SUCCESS [  3.770 s]
[INFO] olingo-odata2-fit .................................. SUCCESS [01:26 min]
[INFO] olingo-odata2-ref-web .............................. SUCCESS [  1.208 s]
[INFO] olingo-odata2-jpa-processor ........................ SUCCESS [  0.295 s]
[INFO] olingo-odata2-jpa-processor-api .................... SUCCESS [  1.890 s]
[INFO] olingo-odata2-jpa-processor-core ................... SUCCESS [  9.671 s]
[INFO] olingo-odata2-jpa-processor-ref .................... SUCCESS [  1.335 s]
[INFO] olingo-odata2-jpa-processor-ref-web ................ SUCCESS [  2.567 s]
[INFO] olingo-odata2-annotation-processor ................. SUCCESS [  0.216 s]
[INFO] olingo-odata2-annotation-processor-api ............. SUCCESS [  0.826 s]
[INFO] olingo-odata2-annotation-processor-core ............ FAILURE [  4.481 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: 02:42 min
[INFO] Finished at: 2016-09-20T19:23:58+00:00
[INFO] Final Memory: 153M/2061M
[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

Reply via email to