See 
<https://builds.apache.org/job/olingo-odata4/1451/display/redirect?page=changes>

Changes:

[ramya.vasanth] [OLINGO-1191] Code Improvements

------------------------------------------
[...truncated 224.03 KB...]
    <Capturing argument>,
    <Capturing argument>
);
-> at 
org.apache.olingo.server.core.ServiceDispatcherTest$7.validate(ServiceDispatcherTest.java:288)
Actually, there were zero interactions with this mock.

  ServiceDispatcherTest.test$id:452->helpGETTest:138 
Wanted but not invoked:
serviceHandler.read(
    <Capturing argument>,
    <Capturing argument>
);
-> at 
org.apache.olingo.server.core.ServiceDispatcherTest$16.validate(ServiceDispatcherTest.java:458)
Actually, there were zero interactions with this mock.

  ServiceDispatcherTest.testReadProperty:242->helpGETTest:138 
Wanted but not invoked:
serviceHandler.read(
    <Capturing argument>,
    <Capturing argument>
);
-> at 
org.apache.olingo.server.core.ServiceDispatcherTest$5.validate(ServiceDispatcherTest.java:247)
Actually, there were zero interactions with this mock.

  ServiceDispatcherTest.testReadReference:387->helpGETTest:138 
Wanted but not invoked:
serviceHandler.read(
    <Capturing argument>,
    <Capturing argument>
);
-> at 
org.apache.olingo.server.core.ServiceDispatcherTest$13.validate(ServiceDispatcherTest.java:392)
Actually, there were zero interactions with this mock.

  ServiceDispatcherTest.testReadMedia:353->helpGETTest:138 
Wanted but not invoked:
serviceHandler.readMediaStream(
    <Capturing argument>,
    <Capturing argument>
);
-> at 
org.apache.olingo.server.core.ServiceDispatcherTest$11.validate(ServiceDispatcherTest.java:358)
Actually, there were zero interactions with this mock.

  ServiceDispatcherTest.testEntitySetCount:205->helpGETTest:138 
Wanted but not invoked:
serviceHandler.read(
    <Capturing argument>,
    <Capturing argument>
);
-> at 
org.apache.olingo.server.core.ServiceDispatcherTest$3.validate(ServiceDispatcherTest.java:210)
Actually, there were zero interactions with this mock.

  ServiceDispatcherTest.testEntitySet:185->helpGETTest:138 
Wanted but not invoked:
serviceHandler.read(
    <Capturing argument>,
    <Capturing argument>
);
-> at 
org.apache.olingo.server.core.ServiceDispatcherTest$2.validate(ServiceDispatcherTest.java:190)
Actually, there were zero interactions with this mock.

  ServiceDispatcherTest.testMetadata:172->helpGETTest:138 
Wanted but not invoked:
serviceHandler.readMetadata(
    <Capturing argument>,
    <Capturing argument>
);
-> at 
org.apache.olingo.server.core.ServiceDispatcherTest$1.validate(ServiceDispatcherTest.java:177)
Actually, there were zero interactions with this mock.

  ServiceDispatcherTest.testWriteReference:430->helpTest:165 
Wanted but not invoked:
serviceHandler.updateReference(
    <Capturing argument>,
    <Capturing argument>,
    <Capturing argument>,
    <Capturing argument>
);
-> at 
org.apache.olingo.server.core.ServiceDispatcherTest$15.validate(ServiceDispatcherTest.java:439)
Actually, there were zero interactions with this mock.

  ServiceDispatcherTest.testReadPropertyRef:302->helpGETTest:138 
Wanted but not invoked:
serviceHandler.read(
    <Capturing argument>,
    <Capturing argument>
);
-> at 
org.apache.olingo.server.core.ServiceDispatcherTest$8.validate(ServiceDispatcherTest.java:308)
Actually, there were zero interactions with this mock.

  ServiceDispatcherTest.testReadComplexProperty:262->helpGETTest:138 
Wanted but not invoked:
serviceHandler.read(
    <Capturing argument>,
    <Capturing argument>
);
-> at 
org.apache.olingo.server.core.ServiceDispatcherTest$6.validate(ServiceDispatcherTest.java:267)
Actually, there were zero interactions with this mock.

  ServiceDispatcherTest.testEntity:224->helpGETTest:138 
Wanted but not invoked:
serviceHandler.read(
    <Capturing argument>,
    <Capturing argument>
);
-> at 
org.apache.olingo.server.core.ServiceDispatcherTest$4.validate(ServiceDispatcherTest.java:229)
Actually, there were zero interactions with this mock.

  ServiceDispatcherTest.testReadNavigation:370->helpGETTest:138 
Wanted but not invoked:
serviceHandler.read(
    <Capturing argument>,
    <Capturing argument>
);
-> at 
org.apache.olingo.server.core.ServiceDispatcherTest$12.validate(ServiceDispatcherTest.java:375)
Actually, there were zero interactions with this mock.

  ServiceDispatcherTest.testWriteReferenceCollection:406->helpTest:165 
Wanted but not invoked:
serviceHandler.addReference(
    <Capturing argument>,
    <Capturing argument>,
    <Capturing argument>,
    <Capturing argument>
);
-> at 
org.apache.olingo.server.core.ServiceDispatcherTest$14.validate(ServiceDispatcherTest.java:415)
Actually, there were zero interactions with this mock.

  ServiceDispatcherTest.testFunctionImport:322->helpGETTest:138 
Wanted but not invoked:
serviceHandler.invoke(
    <Capturing argument>,
    <Capturing argument>,
    <Capturing argument>
);
-> at 
org.apache.olingo.server.core.ServiceDispatcherTest$9.validate(ServiceDispatcherTest.java:328)
Actually, there were zero interactions with this mock.

  TripPinServiceTest.testCreateStream2:316->httpSend:96 expected:<204> but 
was:<500>

Tests in error: 
  
TripPinServiceTest.testReadNavigationPropertyEntitySetNotExisting:666->httpGET:91->httpSend:95
 » IllegalState
  
TripPinServiceTest.testReadEntityWithFullMetadata:167->httpGET:91->httpSend:95 
» IllegalState
  
TripPinServiceTest.testReadNavigationPropertyEntityCollection2:638->httpGET:91->httpSend:95
 » IllegalState
  TripPinServiceTest.testDeleteMedia:293->httpSend:95 » IllegalState Invalid 
use...
  TripPinServiceTest.testReadEntitySetWithPaging:146->httpSend:95 » IllegalState
  TripPinServiceTest.testCreateStream:305->httpSend:95 » IllegalState Invalid 
us...
  
TripPinServiceTest.testReadNavigationPropertyEntityCoolectionDerivedFilter:705->httpGET:91->httpSend:95
 » IllegalState
  TripPinServiceTest.testBadReferences:388->httpGET:91->httpSend:95 » 
IllegalState
  TripPinServiceTest.testEntityId:432->httpGET:91->httpSend:95 » IllegalState 
In...
  TripPinServiceTest.testActionImportWithNoResponse:367->httpSend:95 » 
IllegalState
  TripPinServiceTest.testReadPrimitiveProperty:212->httpGET:91->httpSend:95 » 
IllegalState
  TripPinServiceTest.testSelectOption:358->httpGET:91->httpSend:95 » 
IllegalState
  
TripPinServiceTest.testReadNavigationPropertyEntityProperty:683->httpGET:91->httpSend:95
 » IllegalState
  TripPinServiceTest.testReadStream:335->httpGET:91->httpSend:95 » IllegalState 
...
  TripPinServiceTest.testCreateMedia:283->httpSend:95 » IllegalState Invalid 
use...
  TripPinServiceTest.dataIsolation:808->httpSend:95 » IllegalState Invalid use 
o...
  TripPinServiceTest.testAddDelete2ReferenceCollection:760->httpSend:95 » 
IllegalState
  
TripPinServiceTest.testReadNavigationPropertyEntityNotExisting:659->httpGET:91->httpSend:95
 » IllegalState
  TripPinServiceTest.testReadNonExistentProperty:220->httpGET:91->httpSend:95 » 
IllegalState
  TripPinServiceTest.testSingleton:350->httpGET:91->httpSend:95 » IllegalState 
I...
  
TripPinServiceTest.testReadNavigationPropertyEntityMultipleDerivedTypes:693->httpGET:91->httpSend:95
 » IllegalState
  TripPinServiceTest.testReadMedia:272->httpGET:91->httpSend:95 » IllegalState 
I...
  TripPinServiceTest.testReadEntityWithKey:158->httpGET:91->httpSend:95 » 
IllegalState
  TripPinServiceTest.testUpdateEntity:498->httpSend:95 » IllegalState Invalid 
us...
  TripPinServiceTest.testDeleteReference:784->httpGET:91->httpSend:95 » 
IllegalState
  TripPinServiceTest.testDeleteEntity:511->httpSend:95 » IllegalState Invalid 
us...
  TripPinServiceTest.testCreateEntityWithLinkToRelatedEntities:544->httpSend:95 
» IllegalState
  TripPinServiceTest.testXMLInvalidChars:121->httpSend:95 » IllegalState 
Invalid...
  TripPinServiceTest.testDeleteProperty:596->httpGET:91->httpSend:95 » 
IllegalState
  TripPinServiceTest.testAllowHeader:373->httpGET:91->httpSend:95 » IllegalState
  TripPinServiceTest.testUpdateReference:731->httpGET:91->httpSend:95 » 
IllegalState
  TripPinServiceTest.testUpdateRawValue:247->httpSend:95 » IllegalState Invalid 
...
  TripPinServiceTest.testmetadata:137->httpSend:95 » IllegalState Invalid use 
of...
  TripPinServiceTest.testCreateReadDeleteEntity:471->httpSend:95 » IllegalState 
...
  TripPinServiceTest.testDeleteStream:326->httpSend:95 » IllegalState Invalid 
us...
  
TripPinServiceTest.testReadNavigationPropertyEntity:649->httpGET:91->httpSend:95
 » IllegalState
  
TripPinServiceTest.testReadEntityWithNonExistingKey:200->httpGET:91->httpSend:95
 » IllegalState
  
TripPinServiceTest.testReadPrimitiveArrayProperty:226->httpGET:91->httpSend:95 
» IllegalState
  TripPinServiceTest.testUpdatePrimitiveProperty:563->httpSend:95 » IllegalState
  TripPinServiceTest.testErrorResponse:191->httpGET:91->httpSend:95 » 
IllegalState
  
TripPinServiceTest.testReadNavigationPropertyNoContainsTarget:623->httpGET:91->httpSend:95
 » IllegalState
  TripPinServiceTest.testReadReferences:394->httpGET:91->httpSend:95 » 
IllegalState
  
TripPinServiceTest.testReadNavigationPropertyEntityDerivedFilter:720->httpGET:91->httpSend:95
 » IllegalState
  TripPinServiceTest.testLambdaAny:344->httpGET:91->httpSend:95 » IllegalState 
I...
  
TripPinServiceTest.testReadNavigationPropertyEntityCollection:611->httpGET:91->httpSend:95
 » IllegalState
  TripPinServiceTest.crossJoin:799->httpGET:91->httpSend:95 » IllegalState 
Inval...
  TripPinServiceTest.testReadComplexArrayProperty:263->httpGET:91->httpSend:95 
» IllegalState
  TripPinServiceTest.testAddCollectionReferences:404->httpGET:91->httpSend:95 » 
IllegalState
  
TripPinServiceTest.testReadPrimitivePropertyValue:236->httpGET:91->httpSend:95 
» IllegalState
  TripPinServiceTest.testRead$Count:206->httpGET:91->httpSend:95 » IllegalState 
...
  TripPinServiceTest.testUpdatePrimitiveArrayProperty:583->httpSend:95 » 
IllegalState
  TripPinServiceTest.testBadNavigationProperty:676->httpGET:91->httpSend:95 » 
IllegalState
  
TripPinServiceTest.testReadNavigationPropertyNonExistingNavigation:632->httpGET:91->httpSend:95
 » IllegalState

Tests run: 106, Failures: 17, Errors: 53, Skipped: 2

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Olingo-OData ....................................... SUCCESS [  9.543 s]
[INFO] odata-lib .......................................... SUCCESS [  4.885 s]
[INFO] odata-commons-api .................................. SUCCESS [ 15.384 s]
[INFO] odata-commons-core ................................. SUCCESS [ 15.357 s]
[INFO] odata-client-api ................................... SUCCESS [ 10.748 s]
[INFO] odata-client-core .................................. SUCCESS [ 17.671 s]
[INFO] odata-server-api ................................... SUCCESS [ 11.375 s]
[INFO] odata-server-core .................................. SUCCESS [ 22.653 s]
[INFO] odata-server-core-ext .............................. FAILURE [  8.092 s]
[INFO] odata-server-tecsvc ................................ SKIPPED
[INFO] odata-server-test .................................. SKIPPED
[INFO] odata-ext .......................................... SKIPPED
[INFO] odata-client-proxy ................................. SKIPPED
[INFO] pojogen-maven-plugin ............................... SKIPPED
[INFO] odata-client-android ............................... SKIPPED
[INFO] odata-karaf ........................................ SKIPPED
[INFO] odata-karaf-features ............................... SKIPPED
[INFO] odata-samples ...................................... SKIPPED
[INFO] odata-server-osgi-sample ........................... SKIPPED
[INFO] odata-karaf-fit .................................... SKIPPED
[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: 01:58 min
[INFO] Finished at: 2017-12-14T05:10:01Z
[INFO] Final Memory: 127M/3155M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on 
project odata-server-core-ext: There are test failures.
[ERROR] 
[ERROR] Please refer to 
<https://builds.apache.org/job/olingo-odata4/ws/lib/server-core-ext/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-server-core-ext
Build step 'Invoke top-level Maven targets' marked build as failure
Not sending mail to unregistered user [email protected]

Reply via email to