testlens-app[bot] commented on PR #15994: URL: https://github.com/apache/grails-core/pull/15994#issuecomment-5005268822
## 🚨 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 / Build Grails Forge \(Java 25, indy\=false\)](https://github.com/apache/grails-core/actions/runs/29593789340/job/87929129473?pr=15994) > :test-core:test [grails-forge] | Test | Runs | Flakiness | |---|---|--:| | ScaffoldingSpec > test generate-controller command | ❌ | 0% 🟢 | 🏷️ Commit: 38902374f6a19ced212e8e7b6b536c5c034a836c ▶️ Tests: 14836 executed 🟡 Checks: 23/55 completed ### Test Failures <details> <summary><strong>ScaffoldingSpec > test generate-controller command</strong> (:test-core:test [grails-forge] in <a href="https://github.com/apache/grails-core/actions/runs/29593789340/job/87929129473?pr=15994">CI / Build Grails Forge (Java 25, indy=false)</a>)</summary> ``` org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/testapp9274673623304397770 with arguments [runCommand, -Pargs=generate-controller example.grails.Bird] Output: > Task :compileJava NO-SOURCE > Task :compileGroovy > Task :buildProperties > Task :processResources > Task :classes > Task :findMainClass > Task :runCommand Jul 17, 2026 4:22:30 PM org.jline.utils.Log logr WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information) 16:22:31.040 [main] INFO org.springframework.boot.devtools.restart.RestartApplicationListener -- Restart disabled due to System property 'spring.devtools.restart.enabled' being set to false > < > ____ _ _ < > / ___|_ __ __ _(_) |___ < > | | _| '__/ _` | | / __| < > | |_| | | | (_| | | \__ \ < > \____|_| \__,_|_|_|___/ < > https://grails.apache.org < > < testapp9274673623304397770: 0.1 | JVM: BellSoft 25.0.3 Grails: 8.0.0-SNAPSHOT | Groovy: 5.0.7 | Spring Boot: 4.1.0 Spring: 7.0.8 2026-07-17T16:22:32.469Z INFO 15485 --- [ main] .c.GrailsApplicationContextCommandRunner : Starting GrailsApplicationContextCommandRunner v8.0.0-SNAPSHOT using Java 25.0.3 with PID 15485 (/tmp/testappTestKit11969250609799463511/caches/modules-2/files-2.1/org.apache.grails/grails-console/8.0.0-SNAPSHOT/6e9e34388954167588cac654f1677594ed0400ee/grails-console-8.0.0-SNAPSHOT.jar started by runner in /tmp/testapp9274673623304397770) 2026-07-17T16:22:32.473Z INFO 15485 --- [ main] .c.GrailsApplicationContextCommandRunner : The following 1 profile is active: "development" 2026-07-17T16:22:32.640Z INFO 15485 --- [ main] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' 2026-07-17T16:22:32.947Z INFO 15485 --- [ main] g.plugins.DefaultGrailsPluginManager : Loaded 20 Grails plugins in load order: [dataBinding (8.0.0-SNAPSHOT), sitemesh3 (8.0.0-SNAPSHOT), restResponder (8.0.0-SNAPSHOT), i18n (8.0.0-SNAPSHOT), core (8.0.0-SNAPSHOT), eventBus (8.0.0-SNAPSHOT), groovyPages (8.0.0-SNAPSHOT), urlMappings (8.0.0-SNAPSHOT), controllers (8.0.0-SNAPSHOT), codecs (8.0.0-SNAPSHOT), mimeTypes (8.0.0-SNAPSHOT), dataSource (8.0.0-SNAPSHOT), assetPipeline (5.2.0-M1), scaffolding (8.0.0-SNAPSHOT), domainClass (8.0.0-SNAPSHOT), converters (8.0.0-SNAPSHOT), fields (8.0.0-SNAPSHOT), hibernate (8.0.0-SNAPSHOT), interceptors (8.0.0-SNAPSHOT), services (8.0.0-SNAPSHOT)] 2026-07-17T16:22:37.523Z INFO 15485 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.6.15.Final 2026-07-17T16:22:37.882Z INFO 15485 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2026-07-17T16:22:38.239Z INFO 15485 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2026-07-17T16:22:38.544Z INFO 15485 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn0: url=jdbc:h2:mem:devDb user=SA 2026-07-17T16:22:38.545Z INFO 15485 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2026-07-17T16:22:38.592Z INFO 15485 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 2026-07-17T16:22:40.525Z WARN 15485 --- [ main] g.u.s.DevelopmentWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'groovyPagesTemplateEngine': Cannot resolve reference to bean 'gspTagLibraryLookup' while setting bean property 'tagLibraryLookup' 2026-07-17T16:22:40.526Z INFO 15485 --- [ main] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2026-07-17T16:22:40.531Z INFO 15485 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2026-07-17T16:22:40.536Z INFO 15485 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 2026-07-17T16:22:40.553Z INFO 15485 --- [ main] .s.b.a.l.ConditionEvaluationReportLogger : Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2026-07-17T16:22:40.572Z ERROR 15485 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: Field urlMappingsHolder in org.grails.web.mapping.DefaultLinkGenerator required a bean of type 'grails.web.mapping.UrlMappingsHolder' that could not be found. The injection point has the following annotations: - @org.springframework.beans.factory.annotation.Autowired(required=true) Action: Consider defining a bean of type 'grails.web.mapping.UrlMappingsHolder' in your configuration. Error | Context failed to load: Error creating bean with name 'groovyPagesTemplateEngine': Cannot resolve reference to bean 'gspTagLibraryLookup' while setting bean property 'tagLibraryLookup' > Task :runCommand FAILED [Incubating] Problems report is available at: file:///tmp/testapp9274673623304397770/build/reports/problems/problems-report.html FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':runCommand' (registered by plugin 'org.apache.grails.gradle.grails-web'). > Process 'command '/opt/hostedtoolcache/Java_Liberica_jdk/25.0.3-11/x64/bin/java'' finished with non-zero exit value 1 * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights from a Build Scan (powered by Develocity). > Get more help at https://help.gradle.org. Deprecated Gradle features were used in this build, making it incompatible with Gradle 10. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/9.6.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 1m 10s 5 actionable tasks: 5 executed at org.gradle.testkit.runner.internal.DefaultGradleRunner.lambda$build$2(DefaultGradleRunner.java:275) at org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:374) at org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:273) at org.grails.forge.utils.CommandSpec.executeGradle(CommandSpec.groovy:84) at org.grails.forge.features.scaffolding.ScaffoldingSpec.test generate-controller command(ScaffoldingSpec.groovy:41) ``` </details> ### Muted Tests > [!NOTE] > Checks are currently running using the configuration below. Select tests to mute in this pull request: 🔲 ScaffoldingSpec > test generate-controller command <!-- uniqueId=[engine:spock]/[spec:org.grails.forge.features.scaffolding.ScaffoldingSpec]/[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]
