Update quay.io/keycloak/keycloak Docker tag to v25 #17
28 passed, 8 failed and 3 skipped
❌ build/test-results/integrationTest/TEST-uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.xml
18 tests were completed in 9s with 7 passed, 8 failed and 3 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec | 7✅ | 8❌ | 3⚪ | 9s |
❌ uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec
✅ PUBLIC - test getting public endpoint of providers
✅ KEYCLOAK01 - test logging in with empty authentication code
✅ KEYCLOAK02 - test logging in with random authentication code
✅ KEYCLOAK03 - test logging in with no authentication code
✅ KEYCLOAK04 - test logging in with valid authentication code and invalid session_state
✅ KEYCLOAK05 - test logging in with valid authentication code and invalid nonce
❌ KEYCLOAK06 - test logging in with valid authentication code and parameters with existing user
Condition failed with Exception:
❌ KEYCLOAK07 - test logging in with valid authentication code and parameters with non-existent user
Condition failed with Exception:
✅ KEYCLOAK08 - test logging in with valid authentication code and altered max_age
❌ KEYCLOAK09 - test access inside timeout
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
❌ KEYCLOAK10 - test access after timeout with no refresh token
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
❌ KEYCLOAK11 - test access after timeout with expired refresh token
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
❌ KEYCLOAK12 - test access after timeout with refresh token
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
❌ KEYCLOAK13 - test access after session invalidated
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
❌ KEYCLOAK14 - test access after logout
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
⚪ KEYCLOAK15 - test access after user has been disabled
⚪ GOOGLE01 - test logging in with valid authentication code and parameters with non-existent user
⚪ AZURE01 - test logging in with valid authentication code and parameters with user
✅ build/test-results/integrationTest/TEST-uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.provider.details.DiscoveryDocumentServiceSpec.xml
4 tests were completed in 392ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.provider.details.DiscoveryDocumentServiceSpec | 4✅ | 392ms |
✅ build/test-results/integrationTest/TEST-uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.provider.OpenidConnectProviderFunctionalSpec.xml
13 tests were completed in 6s with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.provider.OpenidConnectProviderFunctionalSpec | 13✅ | 6s |
✅ build/test-results/integrationTest/TEST-uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.provider.OpenidConnectProviderServiceSpec.xml
4 tests were completed in 84ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.provider.OpenidConnectProviderServiceSpec | 4✅ | 84ms |
Annotations
github-actions / Integration Test Results
uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec ► KEYCLOAK06 - test logging in with valid authentication code and parameters with existing user
Failed test found in:
build/test-results/integrationTest/TEST-uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.xml
Error:
Condition failed with Exception:
Raw output
Condition failed with Exception:
verifyResponse(OK, response)
| |
| <io.micronaut.http.client.netty.FullNettyClientHttpResponse@4c32a71a status=UNAUTHORIZED headers=io.micronaut.http.netty.NettyHttpHeaders@1d3e0df5 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@9365e48 attributes={} nettyHttpResponse=HttpObjectAggregator$AggregatedFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(freed, components=1))
| HTTP/1.1 401
| Vary: Origin
| Vary: Access-Control-Request-Method
| Vary: Access-Control-Request-Headers
| Content-Type: application/json;charset=UTF-8
| Content-Language: en
| Date: Tue, 01 Oct 2024 13:04:44 GMT
| Connection: close
| content-length: 71 convertedBodies=[JsonError:Optional[ /api/authentication/login - null], Map:Optional[{path=/api/authentication/login, additional=Invalid credentials}]] mediaTypeCodecRegistry=io.micronaut.http.codec.DefaultMediaTypeCodecRegistry@21444be7 byteBufferFactory=io.micronaut.buffer.netty.NettyByteBufferFactory@584890f6 body=[path:/api/authentication/login, additional:Invalid credentials] complete=true bodyBytes=[123, 34, 112, 97, 116, 104, 34, 58, 34, 47, 97, 112, 105, 47, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 47, 108, 111, 103, 105, 110, 34, 44, 34, 97, 100, 100, 105, 116, 105, 111, 110, 97, 108, 34, 58, 34, 73, 110, 118, 97, 108, 105, 100, 32, 99, 114, 101, 100, 101, 110, 116, 105, 97, 108, 115, 34, 125]>
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:120)
at uk.ac.ox.softeng.maurodatamapper.test.json.ResponseComparer$Trait$Helper.verifyResponse(ResponseComparer.groovy:47)
at uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.KEYCLOAK06 - test logging in with valid authentication code and parameters with existing user(OpenidConnectAuthenticationFunctionalSpec.groovy:248)
at uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.KEYCLOAK06 - test logging in with valid authentication code and parameters with existing user(OpenidConnectAuthenticationFunctionalSpec.groovy:248)
Caused by: java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:120)
at uk.ac.ox.softeng.maurodatamapper.test.json.ResponseComparer$Trait$Helper.verifyResponse(ResponseComparer.groovy:47)
... 1 more
github-actions / Integration Test Results
uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec ► KEYCLOAK07 - test logging in with valid authentication code and parameters with non-existent user
Failed test found in:
build/test-results/integrationTest/TEST-uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.xml
Error:
Condition failed with Exception:
Raw output
Condition failed with Exception:
verifyResponse(OK, response)
| |
| <io.micronaut.http.client.netty.FullNettyClientHttpResponse@63524e93 status=UNAUTHORIZED headers=io.micronaut.http.netty.NettyHttpHeaders@790c5e4e nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@41d46a50 attributes={} nettyHttpResponse=HttpObjectAggregator$AggregatedFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: CompositeByteBuf(freed, components=1))
| HTTP/1.1 401
| Vary: Origin
| Vary: Access-Control-Request-Method
| Vary: Access-Control-Request-Headers
| Content-Type: application/json;charset=UTF-8
| Content-Language: en
| Date: Tue, 01 Oct 2024 13:04:45 GMT
| Connection: close
| content-length: 71 convertedBodies=[JsonError:Optional[ /api/authentication/login - null], Map:Optional[{path=/api/authentication/login, additional=Invalid credentials}]] mediaTypeCodecRegistry=io.micronaut.http.codec.DefaultMediaTypeCodecRegistry@21444be7 byteBufferFactory=io.micronaut.buffer.netty.NettyByteBufferFactory@584890f6 body=[path:/api/authentication/login, additional:Invalid credentials] complete=true bodyBytes=[123, 34, 112, 97, 116, 104, 34, 58, 34, 47, 97, 112, 105, 47, 97, 117, 116, 104, 101, 110, 116, 105, 99, 97, 116, 105, 111, 110, 47, 108, 111, 103, 105, 110, 34, 44, 34, 97, 100, 100, 105, 116, 105, 111, 110, 97, 108, 34, 58, 34, 73, 110, 118, 97, 108, 105, 100, 32, 99, 114, 101, 100, 101, 110, 116, 105, 97, 108, 115, 34, 125]>
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:120)
at uk.ac.ox.softeng.maurodatamapper.test.json.ResponseComparer$Trait$Helper.verifyResponse(ResponseComparer.groovy:47)
at uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.KEYCLOAK07 - test logging in with valid authentication code and parameters with non-existent user(OpenidConnectAuthenticationFunctionalSpec.groovy:265)
at uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.KEYCLOAK07 - test logging in with valid authentication code and parameters with non-existent user(OpenidConnectAuthenticationFunctionalSpec.groovy:265)
Caused by: java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:120)
at uk.ac.ox.softeng.maurodatamapper.test.json.ResponseComparer$Trait$Helper.verifyResponse(ResponseComparer.groovy:47)
... 1 more
github-actions / Integration Test Results
uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec ► KEYCLOAK09 - test access inside timeout
Failed test found in:
build/test-results/integrationTest/TEST-uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.xml
Error:
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
Raw output
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:120)
at uk.ac.ox.softeng.maurodatamapper.test.json.ResponseComparer$Trait$Helper.verifyResponse(ResponseComparer.groovy:47)
at uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.KEYCLOAK09 - test access inside timeout(OpenidConnectAuthenticationFunctionalSpec.groovy:304)
github-actions / Integration Test Results
uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec ► KEYCLOAK10 - test access after timeout with no refresh token
Failed test found in:
build/test-results/integrationTest/TEST-uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.xml
Error:
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
Raw output
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:120)
at uk.ac.ox.softeng.maurodatamapper.test.json.ResponseComparer$Trait$Helper.verifyResponse(ResponseComparer.groovy:47)
at uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.KEYCLOAK10 - test access after timeout with no refresh token(OpenidConnectAuthenticationFunctionalSpec.groovy:324)
github-actions / Integration Test Results
uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec ► KEYCLOAK11 - test access after timeout with expired refresh token
Failed test found in:
build/test-results/integrationTest/TEST-uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.xml
Error:
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
Raw output
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:120)
at uk.ac.ox.softeng.maurodatamapper.test.json.ResponseComparer$Trait$Helper.verifyResponse(ResponseComparer.groovy:47)
at uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.KEYCLOAK11 - test access after timeout with expired refresh token(OpenidConnectAuthenticationFunctionalSpec.groovy:361)
github-actions / Integration Test Results
uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec ► KEYCLOAK12 - test access after timeout with refresh token
Failed test found in:
build/test-results/integrationTest/TEST-uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.xml
Error:
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
Raw output
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:120)
at uk.ac.ox.softeng.maurodatamapper.test.json.ResponseComparer$Trait$Helper.verifyResponse(ResponseComparer.groovy:47)
at uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.KEYCLOAK12 - test access after timeout with refresh token(OpenidConnectAuthenticationFunctionalSpec.groovy:397)
github-actions / Integration Test Results
uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec ► KEYCLOAK13 - test access after session invalidated
Failed test found in:
build/test-results/integrationTest/TEST-uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.xml
Error:
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
Raw output
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:120)
at uk.ac.ox.softeng.maurodatamapper.test.json.ResponseComparer$Trait$Helper.verifyResponse(ResponseComparer.groovy:47)
at uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.KEYCLOAK13 - test access after session invalidated(OpenidConnectAuthenticationFunctionalSpec.groovy:423)
github-actions / Integration Test Results
uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec ► KEYCLOAK14 - test access after logout
Failed test found in:
build/test-results/integrationTest/TEST-uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.xml
Error:
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
Raw output
java.lang.AssertionError: Failed Response code expected:<OK> but was:<UNAUTHORIZED>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:120)
at uk.ac.ox.softeng.maurodatamapper.test.json.ResponseComparer$Trait$Helper.verifyResponse(ResponseComparer.groovy:47)
at uk.ac.ox.softeng.maurodatamapper.plugins.authentication.openid.connect.OpenidConnectAuthenticationFunctionalSpec.KEYCLOAK14 - test access after logout(OpenidConnectAuthenticationFunctionalSpec.groovy:450)