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

Changes:

[archana.rai] [OLINGO-1183,1118,1309,1313]Multiple JPA issues

------------------------------------------
[...truncated 356.09 KB...]
[INFO] --- maven-checkstyle-plugin:2.10:check (checkstyle) @ 
olingo-odata2-annotation-processor ---
[INFO] Starting audit...
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.11-SNAPSHOT/olingo-odata2-annotation-processor-2.0.11-SNAPSHOT.pom
[INFO] 
[INFO] ------< org.apache.olingo:olingo-odata2-annotation-processor-api >------
[INFO] Building olingo-odata2-annotation-processor-api 2.0.11-SNAPSHOT  [18/31]
[INFO] --------------------------------[ jar ]---------------------------------
[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-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)
[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)
[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] -----< org.apache.olingo:olingo-odata2-annotation-processor-core >------
[INFO] Building olingo-odata2-annotation-processor-core 2.0.11-SNAPSHOT [19/31]
[INFO] --------------------------------[ jar ]---------------------------------
[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-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.AnnotationHelperTest
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.163 sec
Running org.apache.olingo.odata2.annotation.processor.core.util.ClassHelperTest
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.034 sec <<< 
FAILURE!
loadFromDirWithUnsafeName(org.apache.olingo.odata2.annotation.processor.core.util.ClassHelperTest)
  Time elapsed: 0.009 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.edm.AnnotationEdmProviderTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec
Running 
org.apache.olingo.odata2.annotation.processor.core.edm.AnnotationEdmProviderNamespacesTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.055 sec
Running 
org.apache.olingo.odata2.annotation.processor.core.AnnotationServiceFactoryImplTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
Running 
org.apache.olingo.odata2.annotation.processor.core.datasource.AnnotationsInMemoryDsTest
Tests run: 34, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.645 sec
Running 
org.apache.olingo.odata2.annotation.processor.core.datasource.AnnotationValueAccessTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
Running 
org.apache.olingo.odata2.annotation.processor.core.datasource.BeanPropertyAccessTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.apache.olingo.odata2.annotation.processor.core.ListsProcessorTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 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 2.0.11-SNAPSHOT ............... SUCCESS [  7.159 s]
[INFO] olingo-odata2-lib .................................. SUCCESS [  0.455 s]
[INFO] olingo-odata2-api .................................. SUCCESS [  8.053 s]
[INFO] olingo-odata2-api-annotation ....................... SUCCESS [  1.147 s]
[INFO] olingo-odata2-testutil ............................. SUCCESS [ 15.554 s]
[INFO] olingo-odata2-core ................................. SUCCESS [ 40.835 s]
[INFO] olingo-odata2-ref .................................. SUCCESS [  4.633 s]
[INFO] olingo-odata2-fit .................................. SUCCESS [06:00 min]
[INFO] olingo-odata2-ref-web .............................. SUCCESS [  1.672 s]
[INFO] olingo-odata2-client-api ........................... SUCCESS [  1.483 s]
[INFO] olingo-odata2-client-core .......................... SUCCESS [ 22.531 s]
[INFO] olingo-odata2-jpa-processor ........................ SUCCESS [  0.311 s]
[INFO] olingo-odata2-jpa-processor-api .................... SUCCESS [  2.430 s]
[INFO] olingo-odata2-jpa-processor-core ................... SUCCESS [ 11.093 s]
[INFO] olingo-odata2-jpa-processor-ref .................... SUCCESS [ 15.581 s]
[INFO] olingo-odata2-jpa-processor-ref-web ................ SUCCESS [  3.078 s]
[INFO] olingo-odata2-annotation-processor ................. SUCCESS [  0.204 s]
[INFO] olingo-odata2-annotation-processor-api ............. SUCCESS [  0.893 s]
[INFO] olingo-odata2-annotation-processor-core ............ FAILURE [  6.213 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 2.0.11-SNAPSHOT SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:25 min
[INFO] Finished at: 2018-12-04T10:57:06Z
[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....@sap.com

Reply via email to