See <https://builds.apache.org/job/olingo-odata4/388/changes>

Changes:

[michael.bolz] [OLINGO-317] Fixed test failure

------------------------------------------
[...truncated 3495 lines...]
3244/3477 KB   
3246/3477 KB   
3248/3477 KB   
3250/3477 KB   
3252/3477 KB   
3254/3477 KB   
3256/3477 KB   
3258/3477 KB   
3260/3477 KB   
3262/3477 KB   
3264/3477 KB   
3266/3477 KB   
3268/3477 KB   
3270/3477 KB   
3272/3477 KB   
3274/3477 KB   
3276/3477 KB   
3278/3477 KB   
3280/3477 KB   
3282/3477 KB   
3284/3477 KB   
3286/3477 KB   
3288/3477 KB   
3290/3477 KB   
3292/3477 KB   
3294/3477 KB   
3296/3477 KB   
3298/3477 KB   
3300/3477 KB   
3302/3477 KB   
3304/3477 KB   
3306/3477 KB   
3308/3477 KB   
3310/3477 KB   
3312/3477 KB   
3314/3477 KB   
3316/3477 KB   
3318/3477 KB   
3320/3477 KB   
3322/3477 KB   
3324/3477 KB   
3326/3477 KB   
3328/3477 KB   
3330/3477 KB   
3332/3477 KB   
3334/3477 KB   
3336/3477 KB   
3338/3477 KB   
3340/3477 KB   
3342/3477 KB   
3344/3477 KB   
3346/3477 KB   
3348/3477 KB   
3350/3477 KB   
3352/3477 KB   
3354/3477 KB   
3356/3477 KB   
3358/3477 KB   
3360/3477 KB   
3362/3477 KB   
3364/3477 KB   
3366/3477 KB   
3368/3477 KB   
3370/3477 KB   
3372/3477 KB   
3374/3477 KB   
3376/3477 KB   
3378/3477 KB   
3380/3477 KB   
3382/3477 KB   
3384/3477 KB   
3386/3477 KB   
3388/3477 KB   
3390/3477 KB   
3392/3477 KB   
3394/3477 KB   
3396/3477 KB   
3398/3477 KB   
3400/3477 KB   
3402/3477 KB   
3404/3477 KB   
3406/3477 KB   
3408/3477 KB   
3410/3477 KB   
3412/3477 KB   
3414/3477 KB   
3416/3477 KB   
3418/3477 KB   
3420/3477 KB   
3422/3477 KB   
3424/3477 KB   
3426/3477 KB   
3428/3477 KB   
3430/3477 KB   
3432/3477 KB   
3434/3477 KB   
3436/3477 KB   
3438/3477 KB   
3440/3477 KB   
3442/3477 KB   
3444/3477 KB   
3446/3477 KB   
3448/3477 KB   
3450/3477 KB   
3452/3477 KB   
3454/3477 KB   
3456/3477 KB   
3458/3477 KB   
3460/3477 KB   
3462/3477 KB   
3464/3477 KB   
3466/3477 KB   
3468/3477 KB   
3470/3477 KB   
3472/3477 KB   
3474/3477 KB   
3476/3477 KB   
3477/3477 KB   
               
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-tecsvc/0.1.0-SNAPSHOT/olingo-server-tecsvc-0.1.0-20140708.151358-86.war
 (3477 KB at 1256.1 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-tecsvc/0.1.0-SNAPSHOT/olingo-server-tecsvc-0.1.0-20140708.151358-86.pom
2/5 KB         
4/5 KB   
5/5 KB   
         
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-tecsvc/0.1.0-SNAPSHOT/olingo-server-tecsvc-0.1.0-20140708.151358-86.pom
 (5 KB at 6.5 KB/sec)
Downloading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-tecsvc/maven-metadata.xml
297/297 B   
            
Downloaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-tecsvc/maven-metadata.xml
 (297 B at 0.8 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-tecsvc/0.1.0-SNAPSHOT/maven-metadata.xml
790/790 B   
            
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-tecsvc/0.1.0-SNAPSHOT/maven-metadata.xml
 (790 B at 1.8 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-tecsvc/maven-metadata.xml
297/297 B   
            
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/olingo/olingo-server-tecsvc/maven-metadata.xml
 (297 B at 0.8 KB/sec)
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building olingo-server-test 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ olingo-server-test ---
[INFO] Deleting 
<https://builds.apache.org/job/olingo-odata4/ws/lib/server-test/target>
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
olingo-server-test ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
olingo-server-test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/olingo-odata4/ws/lib/server-test/src/main/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ 
olingo-server-test ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
olingo-server-test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
olingo-server-test ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 25 source files to 
<https://builds.apache.org/job/olingo-odata4/ws/lib/server-test/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ olingo-server-test 
---
[INFO] Surefire report directory: 
<https://builds.apache.org/job/olingo-odata4/ws/lib/server-test/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.olingo.server.core.ODataHandlerTest
Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.872 sec <<< 
FAILURE! - in org.apache.olingo.server.core.ODataHandlerTest
testServiceDocumentDefault(org.apache.olingo.server.core.ODataHandlerTest)  
Time elapsed: 0.036 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<application/json[]> but 
was:<application/json[;odata.metadata=minimal]>
        at org.junit.Assert.assertEquals(Assert.java:115)
        at org.junit.Assert.assertEquals(Assert.java:144)
        at 
org.apache.olingo.server.core.ODataHandlerTest.testServiceDocumentDefault(ODataHandlerTest.java:85)

Running org.apache.olingo.server.core.serializer.json.ServiceDocumentTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 sec - in 
org.apache.olingo.server.core.serializer.json.ServiceDocumentTest
Running org.apache.olingo.server.core.serializer.xml.MetadataDocumentTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec - in 
org.apache.olingo.server.core.serializer.xml.MetadataDocumentTest
Running org.apache.olingo.server.core.uri.RawUriTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
org.apache.olingo.server.core.uri.RawUriTest
Running org.apache.olingo.server.core.uri.UriInfoImplTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in 
org.apache.olingo.server.core.uri.UriInfoImplTest
Running org.apache.olingo.server.core.uri.UriResourceImplTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec - in 
org.apache.olingo.server.core.uri.UriResourceImplTest
Running org.apache.olingo.server.core.uri.antlr.TestFullResourcePath
Tests run: 80, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.528 sec - in 
org.apache.olingo.server.core.uri.antlr.TestFullResourcePath
Running org.apache.olingo.server.core.uri.antlr.TestLexer
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec - in 
org.apache.olingo.server.core.uri.antlr.TestLexer
Running org.apache.olingo.server.core.uri.antlr.TestUriParserImpl
Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076 sec - in 
org.apache.olingo.server.core.uri.antlr.TestUriParserImpl
Running org.apache.olingo.server.core.uri.queryoption.QueryOptionTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in 
org.apache.olingo.server.core.uri.queryoption.QueryOptionTest
Running org.apache.olingo.server.core.uri.queryoption.expression.ExpressionTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in 
org.apache.olingo.server.core.uri.queryoption.expression.ExpressionTest
Running org.apache.olingo.server.core.uri.validator.UriValidatorTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.06 sec - in 
org.apache.olingo.server.core.uri.validator.UriValidatorTest

Results :

Failed tests: 
  ODataHandlerTest.testServiceDocumentDefault:85 expected:<application/json[]> 
but was:<application/json[;odata.metadata=minimal]>

Tests run: 197, Failures: 1, Errors: 0, Skipped: 1

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] olingo-parent ..................................... SUCCESS [13.635s]
[INFO] olingo-lib ........................................ SUCCESS [2.673s]
[INFO] olingo-commons-api ................................ SUCCESS [8.391s]
[INFO] olingo-commons-core ............................... SUCCESS [8.592s]
[INFO] olingo-client-api ................................. SUCCESS [4.267s]
[INFO] olingo-client-core ................................ SUCCESS [14.602s]
[INFO] olingo-server-api ................................. SUCCESS [3.773s]
[INFO] olingo-server-core ................................ SUCCESS [10.763s]
[INFO] olingo-server-tecsvc .............................. SUCCESS [9.249s]
[INFO] olingo-server-test ................................ FAILURE [2.504s]
[INFO] olingo-ext ........................................ SKIPPED
[INFO] olingo-client-core-android ........................ SKIPPED
[INFO] olingo-client-proxy ............................... SKIPPED
[INFO] pojogen-maven-plugin .............................. SKIPPED
[INFO] olingo-client-proxy-android ....................... SKIPPED
[INFO] olingo-fit ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:19.141s
[INFO] Finished at: Tue Jul 08 15:14:05 UTC 2014
[INFO] Final Memory: 29M/154M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on 
project olingo-server-test: There are test failures.
[ERROR] 
[ERROR] Please refer to 
<https://builds.apache.org/job/olingo-odata4/ws/lib/server-test/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-server-test
Build step 'Invoke top-level Maven targets' marked build as failure

Reply via email to