testlens-app[bot] commented on PR #16237: URL: https://github.com/apache/grails-core/pull/16237#issuecomment-5963058213
## 🚨 TestLens detected 2 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 / Functional Tests \(Java 21, indy\=true, shard 1\)](https://github.com/apache/grails-core/actions/runs/37075035453/job/111062893960?pr=16237) > :grails-test-examples-openapi:integrationTest | Test | Runs | Flakiness | |---|---|--:| | OpenApiDocumentFunctionalSpec > a failed validation answers with the described errors | ❌ | 0% 🟢 | #### [CI / Functional Tests \(Java 25, indy\=false, shard 1\)](https://github.com/apache/grails-core/actions/runs/37075035453/job/111062894149?pr=16237) > :grails-test-examples-openapi:integrationTest | Test | Runs | Flakiness | |---|---|--:| | OpenApiDocumentFunctionalSpec > a failed validation answers with the described errors | ❌ | 0% 🟢 | 🏷️ Commit: fcd17a611a9c42b897b219155636319cbd2466d5 ▶️ Tests: 62607 executed 🟡 Checks: 40/88 completed ### Test Failures <details><summary><strong>OpenApiDocumentFunctionalSpec > a failed validation answers with the described errors</strong> (:grails-test-examples-openapi:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/37075035453/job/111062893960?pr=16237">CI / Functional Tests (Java 21, indy=true, shard 1)</a>)</summary> ``` Condition not satisfied: errors.keySet() == ((Map) described.get('properties')).keySet() | | | | | | | | | | | [errors] | | | | [errors:[type:array, items:[type:object, properties:[object:[type:string, description:The name of the object that failed validation, xml:[attribute:true]], field:[type:string, description:The property that failed validation, xml:[attribute:true]], rejected-value:[description:The value that was rejected], message:[type:string, description:Why the value was rejected]], required:[message, object], xml:[name:error]], xml:[wrapped:false]]] | | | [type:object, description:The validation errors of a request that could not be bound, properties:[errors:[type:array, items:[type:object, properties:[object:[type:string, description:The name of the object that failed validation, xml:[attribute:true]], field:[type:string, description:The property that failed validation, xml:[attribute:true]], rejected-value:[description:The value that was rejected], message:[type:string, description:Why the value was rejected]], required:[message, object], xml:[name:error]], xml:[wrapped:false]]], required:[errors], xml:[name:errors]] | | false | | 3 differences (25% similarity, 0 missing, 3 extra) | | missing: [] | | extra: [detail, status, title] | [detail, status, title, errors] [detail:Request validation failed with 2 errors., status:422, title:Validation failed, errors:[[object:openapiapp.Book, field:title, codes:[openapiapp.Book.title.nullable.error.openapiapp.Book.title, openapiapp.Book.title.nullable.error.title, openapiapp.Book.title.nullable.error.java.lang.String, openapiapp.Book.title.nullable.error, book.title.nullable.error.openapiapp.Book.title, book.title.nullable.error.title, book.title.nullable.error.java.lang.String, book.title.nullable.error, openapiapp.Book.title.nullable.openapiapp.Book.title, openapiapp.Book.title.nullable.title, openapiapp.Book.title.nullable.java.lang.String, openapiapp.Book.title.nullable, book.title.nullable.openapiapp.Book.title, book.title.nullable.title, book.title.nullable.java.lang.String, book.title.nullable, nullable.openapiapp.Book.title, nullable.title, nullable.java.lang.String, nullable], message:Property [title] of class [class openapiapp.Book] cannot be null], [object:openapiapp.Book, field:genre, code s:[openapiapp.Book.genre.inList.error.openapiapp.Book.genre, openapiapp.Book.genre.inList.error.genre, openapiapp.Book.genre.inList.error.java.lang.String, openapiapp.Book.genre.inList.error, book.genre.inList.error.openapiapp.Book.genre, book.genre.inList.error.genre, book.genre.inList.error.java.lang.String, book.genre.inList.error, openapiapp.Book.genre.not.inList.openapiapp.Book.genre, openapiapp.Book.genre.not.inList.genre, openapiapp.Book.genre.not.inList.java.lang.String, openapiapp.Book.genre.not.inList, book.genre.not.inList.openapiapp.Book.genre, book.genre.not.inList.genre, book.genre.not.inList.java.lang.String, book.genre.not.inList, not.inList.openapiapp.Book.genre, not.inList.genre, not.inList.java.lang.String, not.inList], message:Property [genre] of class [class openapiapp.Book] with value [poetry] is not contained within the list [[scifi, history]]]]] at openapiapp.OpenApiDocumentFunctionalSpec.a failed validation answers with the described errors(OpenApiDocumentFunctionalSpec.groovy:239) ``` |expected|actual| |---|---| ||<b>detail</b>| |errors|errors| ||<b>status</b>| ||<b>title</b>| </details> <details><summary><strong>OpenApiDocumentFunctionalSpec > a failed validation answers with the described errors</strong> (:grails-test-examples-openapi:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/37075035453/job/111062894149?pr=16237">CI / Functional Tests (Java 25, indy=false, shard 1)</a>)</summary> ``` Condition not satisfied: errors.keySet() == ((Map) described.get('properties')).keySet() | | | | | | | | | | | [errors] | | | | [errors:[type:array, items:[type:object, properties:[object:[type:string, description:The name of the object that failed validation, xml:[attribute:true]], field:[type:string, description:The property that failed validation, xml:[attribute:true]], rejected-value:[description:The value that was rejected], message:[type:string, description:Why the value was rejected]], required:[message, object], xml:[name:error]], xml:[wrapped:false]]] | | | [type:object, description:The validation errors of a request that could not be bound, properties:[errors:[type:array, items:[type:object, properties:[object:[type:string, description:The name of the object that failed validation, xml:[attribute:true]], field:[type:string, description:The property that failed validation, xml:[attribute:true]], rejected-value:[description:The value that was rejected], message:[type:string, description:Why the value was rejected]], required:[message, object], xml:[name:error]], xml:[wrapped:false]]], required:[errors], xml:[name:errors]] | | false | | 3 differences (25% similarity, 0 missing, 3 extra) | | missing: [] | | extra: [detail, status, title] | [detail, status, title, errors] [detail:Request validation failed with 2 errors., status:422, title:Validation failed, errors:[[object:openapiapp.Book, field:title, codes:[openapiapp.Book.title.nullable.error.openapiapp.Book.title, openapiapp.Book.title.nullable.error.title, openapiapp.Book.title.nullable.error.java.lang.String, openapiapp.Book.title.nullable.error, book.title.nullable.error.openapiapp.Book.title, book.title.nullable.error.title, book.title.nullable.error.java.lang.String, book.title.nullable.error, openapiapp.Book.title.nullable.openapiapp.Book.title, openapiapp.Book.title.nullable.title, openapiapp.Book.title.nullable.java.lang.String, openapiapp.Book.title.nullable, book.title.nullable.openapiapp.Book.title, book.title.nullable.title, book.title.nullable.java.lang.String, book.title.nullable, nullable.openapiapp.Book.title, nullable.title, nullable.java.lang.String, nullable], message:Property [title] of class [class openapiapp.Book] cannot be null], [object:openapiapp.Book, field:genre, code s:[openapiapp.Book.genre.inList.error.openapiapp.Book.genre, openapiapp.Book.genre.inList.error.genre, openapiapp.Book.genre.inList.error.java.lang.String, openapiapp.Book.genre.inList.error, book.genre.inList.error.openapiapp.Book.genre, book.genre.inList.error.genre, book.genre.inList.error.java.lang.String, book.genre.inList.error, openapiapp.Book.genre.not.inList.openapiapp.Book.genre, openapiapp.Book.genre.not.inList.genre, openapiapp.Book.genre.not.inList.java.lang.String, openapiapp.Book.genre.not.inList, book.genre.not.inList.openapiapp.Book.genre, book.genre.not.inList.genre, book.genre.not.inList.java.lang.String, book.genre.not.inList, not.inList.openapiapp.Book.genre, not.inList.genre, not.inList.java.lang.String, not.inList], message:Property [genre] of class [class openapiapp.Book] with value [poetry] is not contained within the list [[scifi, history]]]]] at openapiapp.OpenApiDocumentFunctionalSpec.a failed validation answers with the described errors(OpenApiDocumentFunctionalSpec.groovy:239) ``` |expected|actual| |---|---| ||<b>detail</b>| |errors|errors| ||<b>status</b>| ||<b>title</b>| </details> ### Rerun Controls > [!NOTE] > Checks are currently running using the configuration below. Select tests to mute in this pull request: 🔲 OpenApiDocumentFunctionalSpec > a failed validation answers with the described errors <!-- uniqueId=[engine:spock]/[spec:openapiapp.OpenApiDocumentFunctionalSpec]/[feature:$spock_feature_0_21] --> 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/docs](https://testlens.app/docs/features/pr-comment/)._ -- 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]
