You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "jdaugherty (via GitHub)" <gi...@apache.org> on 2026/05/05 03:26:33 UTC
[PR] Vulnerability scanning [grails-core]
jdaugherty opened a new pull request, #15631:
URL: https://github.com/apache/grails-core/pull/15631
Adds a vulnerability scanning workflow for grails-core
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Vulnerability scanning [grails-core]
Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty commented on PR #15631:
URL: https://github.com/apache/grails-core/pull/15631#issuecomment-4382205936
I've opened https://github.com/sonatype-nexus-community/scan-gradle-plugin/issues/206
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Vulnerability scanning [grails-core]
Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty commented on PR #15631:
URL: https://github.com/apache/grails-core/pull/15631#issuecomment-4382370622
https://github.com/sonatype-nexus-community/scan-gradle-plugin/pull/207 is the fix for this. We can't adopt due to the classpath conflict. I'm hopeful Sonatype will accept the change.
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Vulnerability scanning [grails-core]
Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty commented on PR #15631:
URL: https://github.com/apache/grails-core/pull/15631#issuecomment-4380363708
Root cause: Adding the Sonatype scan plugin to build-logic/plugins/build.gradle changed the build-logic's content hash, which invalidated the Gradle build cache for all subproject tasks. When findMainClass runs fresh (not from
cache), MainClassFinder tries to read compiled Java 17 class files (major version 61) using groovyjarjarasm.asm.ClassReader — the ASM bundled with Groovy 3.x — which doesn't support class file version 61. This is a pre-existing bug
that was hidden by the build cache.
The fix is to switch MainClassFinder from groovyjarjarasm.asm (Groovy's bundled, potentially old ASM) to org.objectweb.asm (the explicit ASM library, version-managed by Spring Framework BOM at 9.7+, which supports Java 17+).
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Vulnerability scanning [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15631:
URL: https://github.com/apache/grails-core/pull/15631#issuecomment-4380689661
## 🚨 TestLens detected 17 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
| Check | Project/Task | Test | Runs |
|---|---|---|---|
| [CI / Functional Tests \(25\)](https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631) | :grails-test-examples-async-events-pubsub-demo:integrationTest | AsyncEventsSpec > book events are received after save | ❌ |
| [CI / Functional Tests \(25\)](https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631) | :grails-test-examples-async-events-pubsub-demo:integrationTest | AsyncEventsSpec > event listener receives correct book title | ❌ |
| [CI / Functional Tests \(25\)](https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631) | :grails-test-examples-async-events-pubsub-demo:integrationTest | AsyncEventsSpec > humor prefix is added by event listener | ❌ |
| [CI / Functional Tests \(25\)](https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631) | :grails-test-examples-async-events-pubsub-demo:integrationTest | AsyncEventsSpec > insert events contain book entity | ❌ |
| [CI / Functional Tests \(25\)](https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631) | :grails-test-examples-async-events-pubsub-demo:integrationTest | AsyncEventsSpec > multiple books can be saved in sequence | ❌ |
| [CI / Functional Tests \(25\)](https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631) | :grails-test-examples-async-events-pubsub-demo:integrationTest | AsyncEventsSpec > multiple sum events accumulate correctly | ❌ |
| [CI / Functional Tests \(25\)](https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631) | :grails-test-examples-async-events-pubsub-demo:integrationTest | AsyncEventsSpec > politics book throws exception | ❌ |
| [CI / Functional Tests \(25\)](https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631) | :grails-test-examples-async-events-pubsub-demo:integrationTest | AsyncEventsSpec > subscriber can track multiple book saves | ❌ |
| [CI / Functional Tests \(25\)](https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631) | :grails-test-examples-async-events-pubsub-demo:integrationTest | AsyncEventsSpec > sum service handles negative values | ❌ |
| [CI / Functional Tests \(25\)](https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631) | :grails-test-examples-async-events-pubsub-demo:integrationTest | AsyncEventsSpec > sum service handles zero values | ❌ |
| [CI / Functional Tests \(25\)](https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631) | :grails-test-examples-async-events-pubsub-demo:integrationTest | AsyncEventsSpec > total service accumulation handles rapid events | ❌ |
| [CI / Functional Tests \(25\)](https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631) | :grails-test-examples-async-events-pubsub-demo:integrationTest | PubSubSpec > Test event bus within Grails | ❌ |
| [CI / Functional Tests \(25\)](https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631) | :grails-test-examples-async-events-pubsub-demo:integrationTest | PubSubSpec > Test event from data service | ❌ |
| [CI / Functional Tests \(25\)](https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631) | :grails-test-examples-async-events-pubsub-demo:integrationTest | PubSubSpec > Test event from data service with rollback | ❌ |
| [CI / Functional Tests \(25\)](https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631) | :grails-test-examples-async-events-pubsub-demo:integrationTest | PubSubSpec > Test modify property event listener | ❌ |
| [CI / Functional Tests \(25\)](https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631) | :grails-test-examples-async-events-pubsub-demo:integrationTest | PubSubSpec > Test synchronous event listener | ❌ |
| [CI / Functional Tests \(25\)](https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631) | :grails-test-examples-async-events-pubsub-demo:integrationTest | TaskControllerSpec > test async error handling | ❌ |
🏷️ Commit: 089db366cbd7cedf51324c79eaceefd6cf543568
▶️ Tests: 6918 executed
🟡 Checks: 11/29 completed
### Test Failures (first 5 of 17)
<details>
<summary><strong>AsyncEventsSpec > book events are received after save</strong> (:grails-test-examples-async-events-pubsub-demo:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631">CI / Functional Tests (25)</a>)</summary>
```
java.lang.NullPointerException: Cannot invoke method reset() on null object
at pubsub.demo.AsyncEventsSpec.setup(AsyncEventsSpec.groovy:51)
```
</details>
<details>
<summary><strong>AsyncEventsSpec > event listener receives correct book title</strong> (:grails-test-examples-async-events-pubsub-demo:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631">CI / Functional Tests (25)</a>)</summary>
```
java.lang.NullPointerException: Cannot invoke method reset() on null object
at pubsub.demo.AsyncEventsSpec.setup(AsyncEventsSpec.groovy:51)
```
</details>
<details>
<summary><strong>AsyncEventsSpec > humor prefix is added by event listener</strong> (:grails-test-examples-async-events-pubsub-demo:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631">CI / Functional Tests (25)</a>)</summary>
```
java.lang.NullPointerException: Cannot invoke method reset() on null object
at pubsub.demo.AsyncEventsSpec.setup(AsyncEventsSpec.groovy:51)
```
</details>
<details>
<summary><strong>AsyncEventsSpec > insert events contain book entity</strong> (:grails-test-examples-async-events-pubsub-demo:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631">CI / Functional Tests (25)</a>)</summary>
```
java.lang.NullPointerException: Cannot invoke method reset() on null object
at pubsub.demo.AsyncEventsSpec.setup(AsyncEventsSpec.groovy:51)
```
</details>
<details>
<summary><strong>AsyncEventsSpec > multiple books can be saved in sequence</strong> (:grails-test-examples-async-events-pubsub-demo:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/25384940718/job/74443295681?pr=15631">CI / Functional Tests (25)</a>)</summary>
```
java.lang.NullPointerException: Cannot invoke method reset() on null object
at pubsub.demo.AsyncEventsSpec.setup(AsyncEventsSpec.groovy:51)
```
</details>
### Muted Tests
> [!NOTE]
> Checks are currently running using the configuration below.
Select tests to mute in this pull request:
🔲 AsyncEventsSpec > book events are received after save <!-- uniqueId=[engine:spock]/[spec:pubsub.demo.AsyncEventsSpec]/[feature:$spock_feature_0_4] -->
🔲 AsyncEventsSpec > event listener receives correct book title <!-- uniqueId=[engine:spock]/[spec:pubsub.demo.AsyncEventsSpec]/[feature:$spock_feature_0_5] -->
🔲 AsyncEventsSpec > humor prefix is added by event listener <!-- uniqueId=[engine:spock]/[spec:pubsub.demo.AsyncEventsSpec]/[feature:$spock_feature_0_7] -->
🔲 AsyncEventsSpec > insert events contain book entity <!-- uniqueId=[engine:spock]/[spec:pubsub.demo.AsyncEventsSpec]/[feature:$spock_feature_0_6] -->
🔲 AsyncEventsSpec > multiple books can be saved in sequence <!-- uniqueId=[engine:spock]/[spec:pubsub.demo.AsyncEventsSpec]/[feature:$spock_feature_0_3] -->
🔲 AsyncEventsSpec > multiple sum events accumulate correctly <!-- uniqueId=[engine:spock]/[spec:pubsub.demo.AsyncEventsSpec]/[feature:$spock_feature_0_0] -->
🔲 AsyncEventsSpec > politics book throws exception <!-- uniqueId=[engine:spock]/[spec:pubsub.demo.AsyncEventsSpec]/[feature:$spock_feature_0_8] -->
🔲 AsyncEventsSpec > subscriber can track multiple book saves <!-- uniqueId=[engine:spock]/[spec:pubsub.demo.AsyncEventsSpec]/[feature:$spock_feature_0_10] -->
🔲 AsyncEventsSpec > sum service handles negative values <!-- uniqueId=[engine:spock]/[spec:pubsub.demo.AsyncEventsSpec]/[feature:$spock_feature_0_2] -->
🔲 AsyncEventsSpec > sum service handles zero values <!-- uniqueId=[engine:spock]/[spec:pubsub.demo.AsyncEventsSpec]/[feature:$spock_feature_0_1] -->
🔲 AsyncEventsSpec > total service accumulation handles rapid events <!-- uniqueId=[engine:spock]/[spec:pubsub.demo.AsyncEventsSpec]/[feature:$spock_feature_0_9] -->
🔲 PubSubSpec > Test event bus within Grails <!-- uniqueId=[engine:spock]/[spec:pubsub.demo.PubSubSpec]/[feature:$spock_feature_0_0] -->
🔲 PubSubSpec > Test event from data service <!-- uniqueId=[engine:spock]/[spec:pubsub.demo.PubSubSpec]/[feature:$spock_feature_0_2] -->
🔲 PubSubSpec > Test event from data service with rollback <!-- uniqueId=[engine:spock]/[spec:pubsub.demo.PubSubSpec]/[feature:$spock_feature_0_1] -->
🔲 PubSubSpec > Test modify property event listener <!-- uniqueId=[engine:spock]/[spec:pubsub.demo.PubSubSpec]/[feature:$spock_feature_0_3] -->
🔲 PubSubSpec > Test synchronous event listener <!-- uniqueId=[engine:spock]/[spec:pubsub.demo.PubSubSpec]/[feature:$spock_feature_0_4] -->
🔲 TaskControllerSpec > test async error handling <!-- uniqueId=[engine:spock]/[spec:pubsub.demo.TaskControllerSpec]/[feature:$spock_feature_0_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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Vulnerability scanning [grails-core]
Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty commented on PR #15631:
URL: https://github.com/apache/grails-core/pull/15631#issuecomment-4380184476
Looks like the find main task is failing with these changes for some reason
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Vulnerability scanning [grails-core]
Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty commented on PR #15631:
URL: https://github.com/apache/grails-core/pull/15631#issuecomment-4380560543
Converting this to draft, the dependency bumps have caused gradle issues
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Vulnerability scanning [grails-core]
Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty merged PR #15631:
URL: https://github.com/apache/grails-core/pull/15631
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Vulnerability scanning [grails-core]
Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty commented on PR #15631:
URL: https://github.com/apache/grails-core/pull/15631#issuecomment-4772576047
Sonatype fixed the classpath issue so this is ready for review.
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Vulnerability scanning [grails-core]
Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty commented on code in PR #15631:
URL: https://github.com/apache/grails-core/pull/15631#discussion_r3185871705
##########
build-logic/plugins/src/main/groovy/org/apache/grails/buildsrc/VulnerabilityScanPlugin.groovy:
##########
@@ -0,0 +1,75 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.grails.buildsrc
+
+import groovy.transform.CompileStatic
+
+import org.gradle.api.GradleException
+import org.gradle.api.Plugin
+import org.gradle.api.Project
+import org.sonatype.gradle.plugins.scan.ossindex.OssIndexPluginExtension
+
+/**
+ * Convention plugin that configures Sonatype OSS Index / Guide vulnerability scanning.
+ *
+ * <p>Credentials are supplied via environment variables:
+ * <ul>
+ * <li>{@code SONATYPE_GUIDE_USERNAME} - Guide account email / user token username</li>
+ * <li>{@code SONATYPE_GUIDE_TOKEN} - Guide Personal Access Token (PAT)</li>
+ * </ul>
+ * The {@code ossIndexAudit} task is skipped silently when credentials are absent.</p>
+ */
+@CompileStatic
+class VulnerabilityScanPlugin implements Plugin<Project> {
+
+ static final String TASK_NAME = 'ossIndexAudit'
+
+ @Override
+ void apply(Project project) {
+ project.pluginManager.apply('org.sonatype.gradle.plugins.scan')
+
+ OssIndexPluginExtension extension = project.extensions.getByType(OssIndexPluginExtension)
+ extension.username = System.getenv('SONATYPE_GUIDE_USERNAME') ?: ''
+ extension.password = System.getenv('SONATYPE_GUIDE_TOKEN') ?: ''
+ extension.excludeCoordinates = [
+ 'org.hibernate:hibernate-core:5.6.11.Final',
Review Comment:
@jamesfredley @matrei We'll have to manage exceptions here.
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Vulnerability scanning [grails-core]
Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty commented on PR #15631:
URL: https://github.com/apache/grails-core/pull/15631#issuecomment-4382014454
Alright, the problem is that the ASM classes are shaded inside scan-gradle-plugin-3.1.5.jar itself. They're not a separate transitive dependency. Gradle exclusions only work on transitive dependencies, not on classes bundled inside a fat/shaded jar. So we can't exclude them with a standard exclude rule.
The find main class is picking the shaded version, which is frustrating.
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Vulnerability scanning [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15631:
URL: https://github.com/apache/grails-core/pull/15631#issuecomment-4904774868
## 🚨 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 / Spring Security Tests \(17\)](https://github.com/apache/grails-core/actions/runs/28870850494/job/85632918754?pr=15631) > :grails-test-examples-spring-security-core-misc-functional-test-app-roles:integrationTest
| Test | Runs |
|---|---|
| SecuredControllerSpec > test RoleHierarchyEntry lifecycle | ❌ |
🏷️ Commit: c6f7212b3af8318fa62362e6cd469dbd93f4fe0d
▶️ Tests: 28007 executed
🟡 Checks: 25/47 completed
### Test Failures
<details>
<summary><strong>SecuredControllerSpec > test RoleHierarchyEntry lifecycle</strong> (:grails-test-examples-spring-security-core-misc-functional-test-app-roles:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28870850494/job/85632918754?pr=15631">CI / Spring Security Tests (17)</a>)</summary>
```
Condition not satisfied:
pageSource.contains('Sorry, you\'re not authorized to view this page.')
| |
| 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.test RoleHierarchyEntry lifecycle(SecuredControllerSpec.groovy:37)
```
</details>
### Muted Tests
> [!NOTE]
> Checks are currently running using the configuration below.
Select tests to mute in this pull request:
🔲 SecuredControllerSpec > test RoleHierarchyEntry lifecycle <!-- 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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Vulnerability scanning [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15631:
URL: https://github.com/apache/grails-core/pull/15631#issuecomment-4772067220
## 🚨 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 / Functional Tests \(17\)](https://github.com/apache/grails-core/actions/runs/27975721197/job/82792861937?pr=15631) > :grails-test-examples-scaffolding:integrationTest
| Test | Runs |
|---|---|
| UserControllerSpec > User list | ❌ |
🏷️ Commit: f5a9fbaaa15dfcf05d70f4061463c68859293646
▶️ Tests: 33207 executed
🟡 Checks: 25/29 completed
### Test Failures
<details>
<summary><strong>UserControllerSpec > User list</strong> (:grails-test-examples-scaffolding:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/27975721197/job/82792861937?pr=15631">CI / Functional Tests (17)</a>)</summary>
```
geb.waiting.WaitTimeoutException: condition did not pass in 10 seconds (failed with exception)
at geb.waiting.Wait.waitFor(Wait.groovy:128)
at geb.waiting.PotentiallyWaitingExecutor.execute(PotentiallyWaitingExecutor.groovy:31)
at geb.Page.verifyThisPageAtOnly(Page.groovy:424)
at geb.Page.getAtVerificationResult(Page.groovy:217)
at geb.Page.verifyAt(Page.groovy:188)
at geb.Browser.doAt(Browser.groovy:1208)
at geb.Browser.at(Browser.groovy:410)
at geb.Browser.to(Browser.groovy:566)
at geb.Browser.to(Browser.groovy:543)
at geb.Browser.to(Browser.groovy:532)
at grails.plugin.geb.support.delegate.BrowserDelegate$Trait$Helper.to(BrowserDelegate.groovy:160)
at com.example.UserControllerSpec.User list(UserControllerSpec.groovy:46)
Caused by: Assertion failed:
title == pageTitle
| | |
| | 'User List'
| false
'Please sign in'
at com.example.pages.UserListPage._clinit__closure1(UserListPage.groovy:28)
at com.example.pages.UserListPage._clinit__closure1(UserListPage.groovy)
at geb.waiting.Wait.waitFor(Wait.groovy:117)
... 11 more
```
</details>
### Muted Tests
> [!NOTE]
> Checks are currently running using the configuration below.
Select tests to mute in this pull request:
🔲 UserControllerSpec > User list <!-- uniqueId=[engine:spock]/[spec:com.example.UserControllerSpec]/[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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Vulnerability scanning [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15631:
URL: https://github.com/apache/grails-core/pull/15631#issuecomment-4770487505
## ✅ All tests passed ✅
🏷️ Commit: a2e28b9ee685d5365e3d44f5b60a2ad841ced92c
▶️ Tests: 27476 executed
⚪️ Checks: 33/33 completed
---
_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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Vulnerability scanning [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15631:
URL: https://github.com/apache/grails-core/pull/15631#issuecomment-4376511812
## ✅ All tests passed ✅
🏷️ Commit: 377c31b8e3da32b8d7b17c2b119ca342c0de63a3
▶️ Tests: 35228 executed
⚪️ Checks: 33/33 completed
---
_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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Vulnerability scanning [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15631:
URL: https://github.com/apache/grails-core/pull/15631#issuecomment-4380418756
## 🔎 No tests executed 🔎
🏷️ Commit: 7c523336f8964366adcd57fbda8bb8901507230d
▶️ Tests: 0 executed
⚪️ Checks: 33/33 completed
---
_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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Vulnerability scanning [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15631:
URL: https://github.com/apache/grails-core/pull/15631#issuecomment-4381252698
## ✅ All tests passed ✅
🏷️ Commit: d1e8460ca0713af30170218e455188df47f3158c
▶️ Tests: 34054 executed
⚪️ Checks: 33/33 completed
---
_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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org