See
<https://builds.apache.org/job/olingo-odata4/1407/display/redirect?page=changes>
Changes:
[rareddy] OLINGO-1104: Write @odata.navigationLink and @odata.assosiationLink
------------------------------------------
[...truncated 190.75 KB...]
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:827)
at
org.apache.olingo.server.example.TripPinServiceTest.httpSend(TripPinServiceTest.java:95)
at
org.apache.olingo.server.example.TripPinServiceTest.httpGET(TripPinServiceTest.java:91)
at
org.apache.olingo.server.example.TripPinServiceTest.testReadComplexArrayProperty(TripPinServiceTest.java:263)
testAddCollectionReferences(org.apache.olingo.server.example.TripPinServiceTest)
Time elapsed: 0 sec <<< ERROR!
java.lang.IllegalStateException: Invalid use of BasicClientConnManager:
connection still allocated.
Make sure to release the connection before allocating another one.
at
org.apache.http.impl.conn.BasicClientConnectionManager.getConnection(BasicClientConnectionManager.java:162)
at
org.apache.http.impl.conn.BasicClientConnectionManager$1.getConnection(BasicClientConnectionManager.java:139)
at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:456)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:827)
at
org.apache.olingo.server.example.TripPinServiceTest.httpSend(TripPinServiceTest.java:95)
at
org.apache.olingo.server.example.TripPinServiceTest.httpGET(TripPinServiceTest.java:91)
at
org.apache.olingo.server.example.TripPinServiceTest.testAddCollectionReferences(TripPinServiceTest.java:404)
testReadPrimitivePropertyValue(org.apache.olingo.server.example.TripPinServiceTest)
Time elapsed: 0 sec <<< ERROR!
java.lang.IllegalStateException: Invalid use of BasicClientConnManager:
connection still allocated.
Make sure to release the connection before allocating another one.
at
org.apache.http.impl.conn.BasicClientConnectionManager.getConnection(BasicClientConnectionManager.java:162)
at
org.apache.http.impl.conn.BasicClientConnectionManager$1.getConnection(BasicClientConnectionManager.java:139)
at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:456)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:827)
at
org.apache.olingo.server.example.TripPinServiceTest.httpSend(TripPinServiceTest.java:95)
at
org.apache.olingo.server.example.TripPinServiceTest.httpGET(TripPinServiceTest.java:91)
at
org.apache.olingo.server.example.TripPinServiceTest.testReadPrimitivePropertyValue(TripPinServiceTest.java:236)
testRead$Count(org.apache.olingo.server.example.TripPinServiceTest) Time
elapsed: 0.001 sec <<< ERROR!
java.lang.IllegalStateException: Invalid use of BasicClientConnManager:
connection still allocated.
Make sure to release the connection before allocating another one.
at
org.apache.http.impl.conn.BasicClientConnectionManager.getConnection(BasicClientConnectionManager.java:162)
at
org.apache.http.impl.conn.BasicClientConnectionManager$1.getConnection(BasicClientConnectionManager.java:139)
at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:456)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:827)
at
org.apache.olingo.server.example.TripPinServiceTest.httpSend(TripPinServiceTest.java:95)
at
org.apache.olingo.server.example.TripPinServiceTest.httpGET(TripPinServiceTest.java:91)
at
org.apache.olingo.server.example.TripPinServiceTest.testRead$Count(TripPinServiceTest.java:206)
testUpdatePrimitiveArrayProperty(org.apache.olingo.server.example.TripPinServiceTest)
Time elapsed: 0 sec <<< ERROR!
java.lang.IllegalStateException: Invalid use of BasicClientConnManager:
connection still allocated.
Make sure to release the connection before allocating another one.
at
org.apache.http.impl.conn.BasicClientConnectionManager.getConnection(BasicClientConnectionManager.java:162)
at
org.apache.http.impl.conn.BasicClientConnectionManager$1.getConnection(BasicClientConnectionManager.java:139)
at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:456)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:827)
at
org.apache.olingo.server.example.TripPinServiceTest.httpSend(TripPinServiceTest.java:95)
at
org.apache.olingo.server.example.TripPinServiceTest.testUpdatePrimitiveArrayProperty(TripPinServiceTest.java:583)
testBadNavigationProperty(org.apache.olingo.server.example.TripPinServiceTest)
Time elapsed: 0 sec <<< ERROR!
java.lang.IllegalStateException: Invalid use of BasicClientConnManager:
connection still allocated.
Make sure to release the connection before allocating another one.
at
org.apache.http.impl.conn.BasicClientConnectionManager.getConnection(BasicClientConnectionManager.java:162)
at
org.apache.http.impl.conn.BasicClientConnectionManager$1.getConnection(BasicClientConnectionManager.java:139)
at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:456)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:827)
at
org.apache.olingo.server.example.TripPinServiceTest.httpSend(TripPinServiceTest.java:95)
at
org.apache.olingo.server.example.TripPinServiceTest.httpGET(TripPinServiceTest.java:91)
at
org.apache.olingo.server.example.TripPinServiceTest.testBadNavigationProperty(TripPinServiceTest.java:676)
testReadNavigationPropertyNonExistingNavigation(org.apache.olingo.server.example.TripPinServiceTest)
Time elapsed: 0 sec <<< ERROR!
java.lang.IllegalStateException: Invalid use of BasicClientConnManager:
connection still allocated.
Make sure to release the connection before allocating another one.
at
org.apache.http.impl.conn.BasicClientConnectionManager.getConnection(BasicClientConnectionManager.java:162)
at
org.apache.http.impl.conn.BasicClientConnectionManager$1.getConnection(BasicClientConnectionManager.java:139)
at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:456)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:827)
at
org.apache.olingo.server.example.TripPinServiceTest.httpSend(TripPinServiceTest.java:95)
at
org.apache.olingo.server.example.TripPinServiceTest.httpGET(TripPinServiceTest.java:91)
at
org.apache.olingo.server.example.TripPinServiceTest.testReadNavigationPropertyNonExistingNavigation(TripPinServiceTest.java:632)
Results :
Failed tests:
ServiceDispatcherTest.testReadPropertyRef:302->helpGETTest:138
serviceHandler.read(
<Capturing argument>,
<Capturing argument>
);
Wanted 1 time:
-> at
org.apache.olingo.server.core.ServiceDispatcherTest$8.validate(ServiceDispatcherTest.java:308)
But was 2 times. Undesired invocation:
-> at
org.apache.olingo.server.core.requests.DataRequest$ValueRequest.execute(DataRequest.java:674)
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: 97, Failures: 7, Errors: 53, Skipped: 2
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Olingo-OData ....................................... SUCCESS [ 9.926 s]
[INFO] odata-lib .......................................... SUCCESS [ 4.456 s]
[INFO] odata-commons-api .................................. SUCCESS [ 21.461 s]
[INFO] odata-commons-core ................................. SUCCESS [ 22.785 s]
[INFO] odata-client-api ................................... SUCCESS [ 11.738 s]
[INFO] odata-client-core .................................. SUCCESS [ 25.530 s]
[INFO] odata-server-api ................................... SUCCESS [ 13.866 s]
[INFO] odata-server-core .................................. SUCCESS [ 26.973 s]
[INFO] odata-server-core-ext .............................. FAILURE [ 15.731 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: 02:38 min
[INFO] Finished at: 2017-04-13T14:39:08+00:00
[INFO] Final Memory: 116M/1290M
[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