testlens-app[bot] commented on PR #16165: URL: https://github.com/apache/grails-core/pull/16165#issuecomment-5332527789
## 🚨 TestLens detected 9 failed tests 🚨 Here is what you can do: 1) Inspect the test failures carefully. 2) If you are convinced that some of the tests are flaky, you can mute them below. 3) Finally, trigger a rerun by checking the rerun checkbox. ### Test Summary #### [CI / Spring Security Config Functional Tests \(misc\)](https://github.com/apache/grails-core/actions/runs/32171244800/job/95823024513?pr=16165) > :grails-test-examples-spring-security-core-functional-test-app:integrationTest | Test | Runs | Flakiness | |---|---|--:| | MiscSpec > controller methods authenticated | ❌ | 0% 🟢 | | MiscSpec > controller methods unauthenticated | ❌ | 0% 🟢 | | MiscSpec > hierarchical roles | ❌ | 0% 🟢 | | MiscSpec > switch user | ❌ | 0% 🟢 | | MiscSpec > taglibs admin | ❌ | 0% 🟢 | | MiscSpec > taglibs unauthenticated | ❌ | 0% 🟢 | | MiscSpec > taglibs user | ❌ | 0% 🟢 | | MiscSpec > test Servlet API methods authenticated | ❌ | 0% 🟢 | | MiscSpec > test Servlet API methods unauthenticated | ❌ | 0% 🟢 | 🏷️ Commit: 131cc80e38583d5523eacc0bc0fda58ffa0b960e ▶️ Tests: 6473 executed 🟡 Checks: 18/71 completed ### Test Failures <details> <summary><strong>MiscSpec > controller methods authenticated</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32171244800/job/95823024513?pr=16165">CI / Spring Security Config Functional Tests (misc)</a>)</summary> ``` Condition not satisfied: contains('getPrincipal: grails.plugin.springsecurity.userdetails.GrailsUser') | false at specs.MiscSpec.controller methods authenticated_closure20(MiscSpec.groovy:328) at spock.lang.Specification.with(Specification.java:208) at specs.MiscSpec.controller methods authenticated(MiscSpec.groovy:327) ``` </details> <details> <summary><strong>MiscSpec > controller methods unauthenticated</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32171244800/job/95823024513?pr=16165">CI / Spring Security Config Functional Tests (misc)</a>)</summary> ``` Condition not satisfied: contains('getPrincipal: org.springframework.security.core.userdetails.User') | false at specs.MiscSpec.controller methods unauthenticated_closure19(MiscSpec.groovy:306) at spock.lang.Specification.with(Specification.java:208) at specs.MiscSpec.controller methods unauthenticated(MiscSpec.groovy:305) ``` </details> <details> <summary><strong>MiscSpec > hierarchical roles</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32171244800/job/95823024513?pr=16165">CI / Spring Security Config Functional Tests (misc)</a>)</summary> ``` Condition not satisfied: contains('Authenticated=true') | false at specs.MiscSpec.hierarchical roles_closure14(MiscSpec.groovy:168) at spock.lang.Specification.with(Specification.java:208) at specs.MiscSpec.hierarchical roles(MiscSpec.groovy:167) ``` </details> <details> <summary><strong>MiscSpec > switch user</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32171244800/job/95823024513?pr=16165">CI / Spring Security Config Functional Tests (misc)</a>)</summary> ``` Condition not satisfied: contains('Username=admin') | false at specs.MiscSpec.switch user_closure3(MiscSpec.groovy:64) at spock.lang.Specification.with(Specification.java:208) at specs.MiscSpec.switch user(MiscSpec.groovy:63) ``` </details> <details> <summary><strong>MiscSpec > taglibs admin</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32171244800/job/95823024513?pr=16165">CI / Spring Security Config Functional Tests (misc)</a>)</summary> ``` Condition not satisfied: contains('user and admin') | false at specs.MiscSpec.taglibs admin_closure18(MiscSpec.groovy:269) at spock.lang.Specification.with(Specification.java:208) at specs.MiscSpec.taglibs admin(MiscSpec.groovy:268) ``` </details> <details> <summary><strong>MiscSpec > taglibs unauthenticated</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32171244800/job/95823024513?pr=16165">CI / Spring Security Config Functional Tests (misc)</a>)</summary> ``` Condition not satisfied: contains('not user and not admin') | false at specs.MiscSpec.taglibs unauthenticated_closure16(MiscSpec.groovy:188) at spock.lang.Specification.with(Specification.java:208) at specs.MiscSpec.taglibs unauthenticated(MiscSpec.groovy:185) ``` </details> <details> <summary><strong>MiscSpec > taglibs user</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32171244800/job/95823024513?pr=16165">CI / Spring Security Config Functional Tests (misc)</a>)</summary> ``` Condition not satisfied: contains('user or admin') | false at specs.MiscSpec.taglibs user_closure17(MiscSpec.groovy:231) at spock.lang.Specification.with(Specification.java:208) at specs.MiscSpec.taglibs user(MiscSpec.groovy:227) ``` </details> <details> <summary><strong>MiscSpec > test Servlet API methods authenticated</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32171244800/job/95823024513?pr=16165">CI / Spring Security Config Functional Tests (misc)</a>)</summary> ``` Condition not satisfied: contains('request.getUserPrincipal(): UsernamePasswordAuthenticationToken') | false at specs.MiscSpec.test Servlet API methods authenticated_closure28(MiscSpec.groovy:423) at spock.lang.Specification.with(Specification.java:208) at specs.MiscSpec.test Servlet API methods authenticated(MiscSpec.groovy:422) ``` </details> <details> <summary><strong>MiscSpec > test Servlet API methods unauthenticated</strong> (:grails-test-examples-spring-security-core-functional-test-app:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/32171244800/job/95823024513?pr=16165">CI / Spring Security Config Functional Tests (misc)</a>)</summary> ``` Condition not satisfied: contains('request.getUserPrincipal(): null') | false at specs.MiscSpec.test Servlet API methods unauthenticated_closure27(MiscSpec.groovy:401) at spock.lang.Specification.with(Specification.java:208) at specs.MiscSpec.test Servlet API methods unauthenticated(MiscSpec.groovy:400) ``` </details> ### Muted Tests > [!NOTE] > Checks are currently running using the configuration below. Select tests to mute in this pull request: 🔲 MiscSpec > controller methods authenticated <!-- uniqueId=[engine:spock]/[spec:specs.MiscSpec]/[feature:$spock_feature_3_7] --> 🔲 MiscSpec > controller methods unauthenticated <!-- uniqueId=[engine:spock]/[spec:specs.MiscSpec]/[feature:$spock_feature_3_6] --> 🔲 MiscSpec > hierarchical roles <!-- uniqueId=[engine:spock]/[spec:specs.MiscSpec]/[feature:$spock_feature_3_2] --> 🔲 MiscSpec > switch user <!-- uniqueId=[engine:spock]/[spec:specs.MiscSpec]/[feature:$spock_feature_3_1] --> 🔲 MiscSpec > taglibs admin <!-- uniqueId=[engine:spock]/[spec:specs.MiscSpec]/[feature:$spock_feature_3_5] --> 🔲 MiscSpec > taglibs unauthenticated <!-- uniqueId=[engine:spock]/[spec:specs.MiscSpec]/[feature:$spock_feature_3_3] --> 🔲 MiscSpec > taglibs user <!-- uniqueId=[engine:spock]/[spec:specs.MiscSpec]/[feature:$spock_feature_3_4] --> 🔲 MiscSpec > test Servlet API methods authenticated <!-- uniqueId=[engine:spock]/[spec:specs.MiscSpec]/[feature:$spock_feature_3_10] --> 🔲 MiscSpec > test Servlet API methods unauthenticated <!-- uniqueId=[engine:spock]/[spec:specs.MiscSpec]/[feature:$spock_feature_3_9] --> Reuse successful test results: 🔲 ♻️ Only rerun the tests that failed or were muted before Click the checkbox to trigger a rerun: 🔲 **Rerun jobs** --- _Learn more about TestLens at [testlens.app](https://testlens.app)._ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
