testlens-app[bot] commented on PR #15959: URL: https://github.com/apache/grails-core/pull/15959#issuecomment-4938508457
## 🚨 TestLens detected 1 failed test 🚨 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 - Groovy Joint Validation Build / build\_grails](https://github.com/apache/grails-core/actions/runs/29109336633/job/86418437166?pr=15959) > :grails-test-examples-spring-security-core-misc-functional-test-app-group:integrationTest | Test | Runs | Flakiness | |---|---|--:| | SecuredControllerSpec > test login as sherlock, sherlock belongs to detective groups. All detectives have the role ADMIN | ❌ | 0% 🟢 | 🏷️ Commit: 7f4e24d9b0d60e876d9301ff02ddfcd111f1f46f ▶️ Tests: 12081 executed 🟡 Checks: 59/60 completed ### Test Failures <details> <summary><strong>SecuredControllerSpec > test login as sherlock, sherlock belongs to detective groups. All detectives have the role ADMIN</strong> (:grails-test-examples-spring-security-core-misc-functional-test-app-group:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/29109336633/job/86418437166?pr=15959">CI - Groovy Joint Validation Build / build_grails</a>)</summary> ``` Condition not satisfied: pageSource.contains('you have ROLE_ADMIN') | | | false <html lang="en" class="no-js"><head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title> Login </title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="layout" content="main"> <style type="text/css" media="screen"> #login { margin: 15px 0px; padding: 0px; text-align: center; font-family: Arial, Helvetica, sans-serif; } #login .inner { width: 340px; padding-bottom: 6px; margin: 60px auto; text-align: left; border: 1px solid #aab; background-color: #f0f0fa; -moz-box-shadow: 2px 2px 2px #eee; -webkit-box-shadow: 2px 2px 2px #eee; -khtml-box-shadow: 2px 2px 2px #eee; box-shadow: 2px 2px 2px #eee; } #login .inner .fheader { padding: 18px 26px 14px 26px; background-color: #f7f7ff; margin: 0px 0 14px 0; color: #2e3741; font-size: 18px; font-weight: bold; } #login .inner .cssform p { clear: left; margin: 0; padding: 4px 0 3px 0; padding-left: 105px; margin-bottom: 20px; height: 1%; } #login .inner .cssform input[type="text"] { width: 75%; } #login .inner .cssform label { font-weight: bold; float: left; text-align: right; margin-left: -105px; width: 110px; padding-top: 3px; padding-right: 10px; } #remember_me_holder { padding-left: 120px; } #submit { margin-left: 15px; } #remember_me_holder label { float: none; margin-left: 0; text-align: left; width: 200px } #login .inner .login_message { padding: 6px 25px 20px 25px; color: #c33; } #login .inner .text_ { width: 75%; } #login .inner .chk { height: 12px; } #passwordToggler { padding: 3px 4px; cursor: pointer; } </style> </head> <body> <div id="login"> <div class="inner"> <div class="fheader">Please Login</div> <form action="/login/authenticate" method="POST" id="loginForm" class="cssform" autocomplete="off"> <p> <label for="username">Username:</label> <input type="text" class="text_" name="username" id="username" autocapitalize="none"> </p> <p> <label for="password">Password:</label> <input type="password" class="text_" name="password" id="password"> <i id="passwordToggler" title="toggle password display" onclick="passwordDisplayToggle()">👁</i> </p> <p id="remember_me_holder"> <input type="checkbox" class="chk" name="remember-me" id="remember_me"> <label for="remember_me">Remember me</label> </p> <p> <input type="submit" id="submit" value="Login"> </p> </form> </div> </div> <script type="text/javascript"> document.addEventListener("DOMContentLoaded", function(event) { document.forms['loginForm'].elements['username'].focus(); }); function passwordDisplayToggle() { var toggleEl = document.getElementById("passwordToggler"); var eyeIcon = '\u{1F441}'; var xIcon = '\u{2715}'; var passEl = document.getElementById("password"); if (passEl.type === "password") { toggleEl.innerHTML = xIcon; passEl.type = "text"; } else { toggleEl.innerHTML = eyeIcon; passEl.type = "password"; } } </script> </body></html> at demo.SecuredControllerSpec.$tt__$spock_feature_1_0(SecuredControllerSpec.groovy:52) at demo.SecuredControllerSpec.test login as sherlock, sherlock belongs to detective groups. All detectives have the role ADMIN_closure2(SecuredControllerSpec.groovy) at grails.gorm.transactions.GrailsTransactionTemplate$1.doInTransaction(GrailsTransactionTemplate.groovy:72) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137) at grails.gorm.transactions.GrailsTransactionTemplate.executeAndRollback(GrailsTransactionTemplate.groovy:69) at demo.SecuredControllerSpec.test login as sherlock, sherlock belongs to detective groups. All detectives have the role ADMIN(SecuredControllerSpec.groovy) ``` </details> ### Muted Tests > [!NOTE] > Checks are currently running using the configuration below. Select tests to mute in this pull request: 🔲 SecuredControllerSpec > test login as sherlock, sherlock belongs to detective groups. All detectives have the role ADMIN <!-- uniqueId=[engine:spock]/[spec:demo.SecuredControllerSpec]/[feature:$spock_feature_1_0] --> 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]
