testlens-app[bot] commented on PR #15339: URL: https://github.com/apache/grails-core/pull/15339#issuecomment-4368345100
## 🚨 TestLens detected 1 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 / Build Grails Forge \(21\)](https://github.com/apache/grails-core/actions/runs/25127849964/job/74168721247?pr=15339) | :grails-forge-core:test [grails-forge] | MongoSyncSpec > test mongo sync dependencies are present for gradle | 🚫 ❌ | 🏷️ Commit: f6878e7c06c6ee5acdacd5d5c47176a2ca07232a ▶️ Tests: 8113 executed 🟡 Checks: 11/29 completed ### Test Failure <details> <summary><strong>MongoSyncSpec > test mongo sync dependencies are present for gradle</strong> (:grails-forge-core:test [grails-forge] in <a href="https://github.com/apache/grails-core/actions/runs/25127849964/job/74168721247?pr=15339">CI / Build Grails Forge (21)</a>)</summary> ``` Condition not satisfied: template.contains('testImplementation "org.testcontainers:mongodb"') | | | false buildscript { repositories { maven { url = 'file:/home/runner/work/grails-core/grails-core/build/local-maven' } mavenCentral() maven { url = 'https://repo.grails.org/grails/restricted' } maven { url = 'https://repository.apache.org/content/groups/snapshots' content { includeVersionByRegex('org[.]apache[.]grails.*', '.*', '.*-SNAPSHOT') } content { includeVersionByRegex('org[.]apache[.]groovy.*', 'groovy.*', '.*-SNAPSHOT') } mavenContent { snapshotsOnly() } } maven { url = 'https://repository.apache.org/content/groups/staging' content { includeVersionByRegex('org[.]apache[.]grails[.]gradle', 'grails-publish', '.*') } content { includeVersionByRegex('org[.]apache[.]groovy.*', 'groovy.*', '.*') } mavenContent { releasesOnly() } } } dependencies { // Not Published to Gradle Plugin Portal classpath "cloud.wondrify:asset-pipeline-gradle" classpath platform("org.apache.grails:grails-bom:$grailsVersion") classpath "org.apache.grails:grails-data-hibernate5" classpath "org.apache.grails:grails-gradle-plugins" } } plugins { id "war" id "idea" id "eclipse" } // Not Published to Gradle Plugin Portal apply plugin: "org.apache.grails.gradle.grails-web" apply plugin: "org.apache.grails.gradle.grails-gsp" apply plugin: "cloud.wondrify.asset-pipeline" group = "example.grails" repositories { maven { url = 'file:/home/runner/work/grails-core/grails-core/build/local-maven' } mavenCentral() maven { url = 'https://repo.grails.org/grails/restricted' } maven { url = 'https://repository.apache.org/content/groups/snapshots' content { includeVersionByRegex('org[.]apache[.]grails.*', '.*', '.*-SNAPSHOT') } content { includeVersionByRegex('org[.]apache[.]groovy.*', 'groovy.*', '.*-SNAPSHOT') } mavenContent { snapshotsOnly() } } maven { url = 'https://repository.apache.org/content/groups/staging' content { includeVersionByRegex('org[.]apache[.]grails[.]gradle', 'grails-publish', '.*') } content { includeVersionByRegex('org[.]apache[.]groovy.*', 'groovy.*', '.*') } mavenContent { releasesOnly() } } } dependencies { profile "org.apache.grails.profiles:web" developmentOnly "org.springframework.boot:spring-boot-devtools" // Spring Boot DevTools may cause performance slowdowns or compatibility issues on larger applications testAndDevelopmentOnly "org.webjars.npm:bootstrap" testAndDevelopmentOnly "org.webjars.npm:bootstrap-icons" testAndDevelopmentOnly "org.webjars.npm:jquery" implementation platform("org.apache.grails:grails-bom:$grailsVersion") implementation "org.apache.grails:grails-core" implementation "org.apache.grails:grails-data-hibernate5" implementation "org.apache.grails:grails-databinding" implementation "org.apache.grails:grails-events" implementation "org.apache.grails:grails-gsp" implementation "org.apache.grails:grails-interceptors" implementation "org.apache.grails:grails-layout" implementation "org.apache.grails:grails-logging" implementation "org.apache.grails:grails-rest-transforms" implementation "org.apache.grails:grails-scaffolding" implementation "org.apache.grails:grails-services" implementation "org.apache.grails:grails-url-mappings" implementation "org.apache.grails:grails-web-boot" implementation "org.mongodb:mongodb-driver-sync" implementation "org.springframework.boot:spring-boot-autoconfigure" implementation "org.springframework.boot:spring-boot-starter" implementation "org.springframework.boot:spring-boot-starter-actuator" implementation "org.springframework.boot:spring-boot-starter-logging" implementation "org.springframework.boot:spring-boot-starter-tomcat" implementation "org.springframework.boot:spring-boot-starter-validation" console "org.apache.grails:grails-console" runtimeOnly "cloud.wondrify:asset-pipeline-grails" runtimeOnly "com.h2database:h2" runtimeOnly "com.zaxxer:HikariCP" runtimeOnly "org.fusesource.jansi:jansi" integrationTestImplementation testFixtures("org.apache.grails:grails-geb") testImplementation "org.apache.grails:grails-testing-support-datamapping" testImplementation "org.apache.grails:grails-testing-support-web" testImplementation "org.apache.grails.testing:grails-testing-support-mongodb" testImplementation "org.spockframework:spock-core" testImplementation "org.testcontainers:spock" testImplementation "org.testcontainers:testcontainers" } compileJava.options.release = 17 tasks.withType(Test).configureEach { useJUnitPlatform() } assets { excludes = [ 'webjars/jquery/**', 'webjars/bootstrap/**', 'webjars/bootstrap-icons/**' ] includes = [ 'webjars/jquery/*/dist/jquery.js', 'webjars/bootstrap/*/dist/js/bootstrap.bundle.js', 'webjars/bootstrap/*/dist/css/bootstrap.css', 'webjars/bootstrap-icons/*/font/bootstrap-icons.css', 'webjars/bootstrap-icons/*/font/fonts/*', ] } // https://github.com/apache/grails-core/issues/15321 tasks.withType(GroovyCompile).configureEach { groovyOptions.optimizationOptions.indy = false } at org.grails.forge.feature.database.MongoSyncSpec.test mongo sync dependencies are present for gradle(MongoSyncSpec.groovy:56) ``` </details> ### Muted Tests > [!NOTE] > Checks are currently running using the configuration below. Select tests to mute in this pull request: 🔲 MongoSyncSpec > test mongo sync dependencies are present for gradle <!-- uniqueId=[engine:spock]/[spec:org.grails.forge.feature.database.MongoSyncSpec]/[feature:$spock_feature_1_2] --> 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]
