testlens-app[bot] commented on PR #15530: URL: https://github.com/apache/grails-core/pull/15530#issuecomment-4224358929
## 🚨 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 | Check | Project/Task | Test | Runs | |---|---|---|---| | [CI - Groovy Joint Validation Build / build\_grails](https://github.com/apache/grails-core/actions/runs/24246674372/job/70795099285?pr=15530) | :grails-data-hibernate7-dbmigration:test | DbmGenerateGormChangelogCommandSpec > writes Change Log to copy the current state of the database to STDOUT | ❌ | | [CI - Groovy Joint Validation Build / build\_grails](https://github.com/apache/grails-core/actions/runs/24246674372/job/70795099285?pr=15530) | :grails-data-hibernate7-dbmigration:test | DbmGenerateGormChangelogCommandSpec > writes Change Log to copy the current state of the database to a file given as arguments | ❌ | 🏷️ Commit: 732d30f1d91f38ad09f44a1ff3d85b8164fea531 ▶️ Tests: 7205 executed 🟡 Checks: 43/64 completed ### Test Failures <details> <summary><strong>DbmGenerateGormChangelogCommandSpec > writes Change Log to copy the current state of the database to STDOUT</strong> (:grails-data-hibernate7-dbmigration:test in <a href="https://github.com/apache/grails-core/actions/runs/24246674372/job/70795099285?pr=15530">CI - Groovy Joint Validation Build / build_grails</a>)</summary> ``` Condition not satisfied: extractOutput(output) =~ ''' databaseChangeLog = \\{ changeSet\\(author: ".+?", id: ".+?"\\) \\{ createTable\\(tableName: "author"\\) \\{ column\\(autoIncrement: "true", name: "id", type: "BIGINT"\\) \\{ constraints\\(nullable: "false", primaryKey: "true", primaryKeyName: "authorPK"\\) \\} column\\(name: "version", type: "BIGINT"\\) \\{ constraints\\(nullable: "false"\\) \\} column\\(name: "name", type: "VARCHAR\\(255\\)"\\) \\{ constraints\\(nullable: "false"\\) \\} \\} \\} changeSet\\(author: ".+?", id: ".+?"\\) \\{ createTable\\(tableName: "book"\\) \\{ column\\(autoIncrement: "true", name: "id", type: "BIGINT"\\) \\{ constraints\\(nullable: "false", primaryKey: "true", primaryKeyName: "bookPK"\\) \\} column\\(name: "version", type: "BIGINT"\\) \\{ constraints\\(nullable: "false"\\) \\} column\\(name: "author_id", type: "BIGINT"\\) \\{ constraints\\(nullable: "false"\\) \\} column\\(name: "title", type: "VARCHAR\\(255\\)"\\) \\{ constraints\\(nullable: "false"\\) \\} \\} \\} ch angeSet\\(author: ".+?", id: ".+?"\\) \\{ addForeignKeyConstraint\\(baseColumnNames: "author_id", baseTableName: "book", constraintName: "FK.+?", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "author", validate: "true"\\) \\} \\} '''.replaceAll(/\s/,"") | | | | | databaseChangeLog=\{changeSet\(author:".+?",id:".+?"\)\{createTable\(tableName:"author"\)\{column\(autoIncrement:"true",name:"id",type:"BIGINT"\)\{constraints\(nullable:"false",primaryKey:"true",primaryKeyName:"authorPK"\)\}column\(name:"version",type:"BIGINT"\)\{constraints\(nullable:"false"\)\}column\(name:"name",type:"VARCHAR\(255\)"\)\{constraints\(nullable:"false"\)\}\}\}changeSet\(author:".+?",id:".+?"\)\{createTable\(tableName:"book"\)\{column\(autoIncrement:"true",name:"id",type:"BIGINT"\)\{constraints\(nullable:"false",primaryKey:"true",primaryKeyName:"bookPK"\)\}column\(name:"version",type:"BIGINT"\)\{constraints\(nullable:"false"\)\}column\(name:"author_id",type:"BIGINT"\)\{constraints\(nul lable:"false"\)\}column\(name:"title",type:"VARCHAR\(255\)"\)\{constraints\(nullable:"false"\)\}\}\}changeSet\(author:".+?",id:".+?"\)\{addForeignKeyConstraint\(baseColumnNames:"author_id",baseTableName:"book",constraintName:"FK.+?",deferrable:"false",initiallyDeferred:"false",referencedColumnNames:"id",referencedTableName:"author",validate:"true"\)\}\} | 14:12:54.352 [Test worker] INFO org.hibernate.orm.connections.pooling -- HHH10001005: Database info: | Database JDBC URL [jdbc:h2:mem:testDb] | Database driver: H2 JDBC Driver | Database dialect: H2Dialect | Database version: 2.4.240 | Default catalog/schema: TESTDB/PUBLIC | Autocommit mode: undefined/unknown | Isolation level: READ_COMMITTED [default READ_COMMITTED] | JDBC fetch size: 100 | Pool: DataSourceConnectionProvider | Minimum pool size: undefined/unknown | Maximum pool size: undefined/unknown | 14:12:54.359 [Test worker] INFO org.hibernate.envers.boot.internal.EnversServiceImpl -- Envers integration enabled? : true | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Reading hibernate configuration hibernate:gorm | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Using dialect org.hibernate.dialect.H2Dialect | 14:12:54.773 [Thread-17] WARN org.hibernate.orm.deprecation -- HHH90000021: Encountered deprecated setting [hibernate.temp.use_jdbc_metadata_defaults], use [hibernate.boot.allow_jdbc_metadata_access] instead | 14:12:54.773 [Thread-17] WARN org.hibernate.orm.deprecation -- HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) | 14:12:54.774 [Thread-17] INFO org.hibernate.orm.connections.pooling -- HHH10001005: Database info: | Database JDBC URL [undefined/unknown] | Database driver: undefined/unknown | Database dialect: H2Dialect | Database version: 2.1.214 | Default catalog/schema: unknown/unknown | Autocommit mode: undefined/unknown | Isolation level: <unknown> | JDBC fetch size: undefined/unknown | Pool: undefined/unknown | Minimum pool size: undefined/unknown | Maximum pool size: undefined/unknown | 14:12:54.778 [Thread-17] INFO org.hibernate.envers.boot.internal.EnversServiceImpl -- Envers integration enabled? : true | Apr 10, 2026 2:12:54 PM liquibase.snapshot | INFO: Creating snapshot | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table author | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table author | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table book | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table book | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table book | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table book | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table book | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table book | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table book | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found primary key bookPK | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Converted column data type - hibernate type: bigint, SQL type: -5, type name: bigint | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Converted column data type - hibernate type: bigint, SQL type: -5, type name: bigint | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Converted column data type - hibernate type: varchar(255), SQL type: 12, type name: varchar | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Converted column data type - hibernate type: bigint, SQL type: -5, type name: bigint | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Converted column data type - hibernate type: bigint, SQL type: -5, type name: bigint | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table author | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found primary key authorPK | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Converted column data type - hibernate type: bigint, SQL type: -5, type name: bigint | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Converted column data type - hibernate type: bigint, SQL type: -5, type name: bigint | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Converted column data type - hibernate type: varchar(255), SQL type: 12, type name: varchar | Apr 10, 2026 2:12:54 PM liquibase.command | INFO: Diff command completed | BEST PRACTICE: The changelog generated by diffChangeLog/generateChangeLog should be inspected for correctness and completeness before being deployed. Some database objects and their dependencies cannot be represented automatically, and they may need to be manually updated before being deployed. | Apr 10, 2026 2:12:54 PM liquibase.snapshot | INFO: Creating snapshot | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table author | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table author | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table book | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table book | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table book | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table book | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table book | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table book | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table book | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found primary key bookPK | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Converted column data type - hibernate type: bigint, SQL type: -5, type name: bigint | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Converted column data type - hibernate type: bigint, SQL type: -5, type name: bigint | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Converted column data type - hibernate type: varchar(255), SQL type: 12, type name: varchar | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Converted column data type - hibernate type: bigint, SQL type: -5, type name: bigint | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Converted column data type - hibernate type: bigint, SQL type: -5, type name: bigint | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found table author | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Found primary key authorPK | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Converted column data type - hibernate type: bigint, SQL type: -5, type name: bigint | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Converted column data type - hibernate type: bigint, SQL type: -5, type name: bigint | Apr 10, 2026 2:12:54 PM liquibase.ext | INFO: Converted column data type - hibernate type: varchar(255), SQL type: 12, type name: varchar | databaseChangeLog = { | | changeSet(author: "runner (generated)", id: "1775830374933-1") { | createTable(tableName: "author") { | column(autoIncrement: "true", name: "id", type: "BIGINT") { | constraints(nullable: "false", primaryKey: "true", primaryKeyName: "authorPK") | } | | column(name: "version", type: "BIGINT") { | constraints(nullable: "false") | } | | column(name: "name", type: "VARCHAR(255)") { | constraints(nullable: "false") | } | } | } | | changeSet(author: "runner (generated)", id: "1775830374933-2") { | createTable(tableName: "book") { | column(autoIncrement: "true", name: "id", type: "BIGINT") { | constraints(nullable: "false", primaryKey: "true", primaryKeyName: "bookPK") | } | | column(name: "version", type: "BIGINT") { | constraints(nullable: "false") | } | | column(name: "title", type: "VARCHAR(255)") { | constraints(nullable: "false") | } | | column(name: "author_id", type: "BIGINT") { | constraints(nullable: "false") | } | } | } | | changeSet(author: "runner (generated)", id: "1775830374933-3") { | addForeignKeyConstraint(baseColumnNames: "author_id", baseTableName: "book", constraintName: "FKklnrv3weler2ftkweewlky958", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "author", validate: "true") | } | } | Apr 10, 2026 2:12:54 PM liquibase.command | INFO: Command execution complete databaseChangeLog={changeSet(author:"runner(generated)",id:"1775830374933-1"){createTable(tableName:"author"){column(autoIncrement:"true",name:"id",type:"BIGINT"){constraints(nullable:"false",primaryKey:"true",primaryKeyName:"authorPK")}column(name:"version",type:"BIGINT"){constraints(nullable:"false")}column(name:"name",type:"VARCHAR(255)"){constraints(nullable:"false")}}}changeSet(author:"runner(generated)",id:"1775830374933-2"){createTable(tableName:"book"){column(autoIncrement:"true",name:"id",type:"BIGINT"){constraints(nullable:"false",primaryKey:"true",primaryKeyName:"bookPK")}column(name:"version",type:"BIGINT"){constraints(nullable:"false")}column(name:"title",type:"VARCHAR(255)"){constraints(nullable:"false")}column(name:"author_id",type:"BIGINT"){constraints(nullable:"false")}}}changeSet(author:"runner(generated)",id:"1775830374933-3"){addForeignKeyConstraint(baseColumnNames:"author_id",baseTableName:"book",constraintName:"FKklnrv3weler2ftkweewlky958",deferrable:"false", initiallyDeferred:"false",referencedColumnNames:"id",referencedTableName:"author",validate:"true")}} at org.grails.plugins.databasemigration.command.DbmGenerateGormChangelogCommandSpec.writes Change Log to copy the current state of the database to STDOUT(DbmGenerateGormChangelogCommandSpec.groovy:79) ``` </details> <details> <summary><strong>DbmGenerateGormChangelogCommandSpec > writes Change Log to copy the current state of the database to a file given as arguments</strong> (:grails-data-hibernate7-dbmigration:test in <a href="https://github.com/apache/grails-core/actions/runs/24246674372/job/70795099285?pr=15530">CI - Groovy Joint Validation Build / build_grails</a>)</summary> ``` Condition not satisfied: output =~ ''' databaseChangeLog = \\{ changeSet\\(author: ".+?", id: ".+?"\\) \\{ createTable\\(tableName: "author"\\) \\{ column\\(autoIncrement: "true", name: "id", type: "BIGINT"\\) \\{ constraints\\(nullable: "false", primaryKey: "true", primaryKeyName: "authorPK"\\) \\} column\\(name: "version", type: "BIGINT"\\) \\{ constraints\\(nullable: "false"\\) \\} column\\(name: "name", type: "VARCHAR\\(255\\)"\\) \\{ constraints\\(nullable: "false"\\) \\} \\} \\} changeSet\\(author: ".+?", id: ".+?"\\) \\{ createTable\\(tableName: "book"\\) \\{ column\\(autoIncrement: "true", name: "id", type: "BIGINT"\\) \\{ constraints\\(nullable: "false", primaryKey: "true", primaryKeyName: "bookPK"\\) \\} column\\(name: "version", type: "BIGINT"\\) \\{ constraints\\(nullable: "false"\\) \\} column\\(name: "author_id", type: "BIGINT"\\) \\{ constraints\\(nullable: "false"\\) \\} column\\(name: "title", type: "VARCHAR\\(255\\)"\\) \\{ constraints\\(nullable: "false"\\) \\} \\} \\} changeSet\\(autho r: ".+?", id: ".+?"\\) \\{ addForeignKeyConstraint\\(baseColumnNames: "author_id", baseTableName: "book", constraintName: "FK.+?", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "author", validate: "true"\\) \\} \\} '''.replaceAll(/\s/, "") | | databaseChangeLog={changeSet(author:"runner(generated)",id:"1775830375805-1"){createTable(tableName:"author"){column(autoIncrement:"true",name:"id",type:"BIGINT"){constraints(nullable:"false",primaryKey:"true",primaryKeyName:"authorPK")}column(name:"version",type:"BIGINT"){constraints(nullable:"false")}column(name:"name",type:"VARCHAR(255)"){constraints(nullable:"false")}}}changeSet(author:"runner(generated)",id:"1775830375805-2"){createTable(tableName:"book"){column(autoIncrement:"true",name:"id",type:"BIGINT"){constraints(nullable:"false",primaryKey:"true",primaryKeyName:"bookPK")}column(name:"version",type:"BIGINT"){constraints(nullable:"false")}column(name:"title",type:"VARCHAR(255)"){constraints(nullable:"false")}column(name:"author_id",type:"BIGINT"){constraints(nullable:"false")}}}changeSet(author:"runner(generated)",id:"1775830375805-3"){addForeignKeyConstraint(baseColumnNames:"author_id",baseTableName:"book",constraintName:"FKklnrv3weler2ftkweewlky958",deferrable:"false", initiallyDeferred:"false",referencedColumnNames:"id",referencedTableName:"author",validate:"true")}} databaseChangeLog=\{changeSet\(author:".+?",id:".+?"\)\{createTable\(tableName:"author"\)\{column\(autoIncrement:"true",name:"id",type:"BIGINT"\)\{constraints\(nullable:"false",primaryKey:"true",primaryKeyName:"authorPK"\)\}column\(name:"version",type:"BIGINT"\)\{constraints\(nullable:"false"\)\}column\(name:"name",type:"VARCHAR\(255\)"\)\{constraints\(nullable:"false"\)\}\}\}changeSet\(author:".+?",id:".+?"\)\{createTable\(tableName:"book"\)\{column\(autoIncrement:"true",name:"id",type:"BIGINT"\)\{constraints\(nullable:"false",primaryKey:"true",primaryKeyName:"bookPK"\)\}column\(name:"version",type:"BIGINT"\)\{constraints\(nullable:"false"\)\}column\(name:"author_id",type:"BIGINT"\)\{constraints\(nullable:"false"\) \}column\(name:"title",type:"VARCHAR\(255\)"\)\{constraints\(nullable:"false"\)\}\}\}changeSet\(author:".+?",id:".+?"\)\{addForeignKeyConstraint\(baseColumnNames:"author_id",baseTableName:"book",constraintName:"FK.+?",deferrable:"false",initiallyDeferred:"false",referencedColumnNames:"id",referencedTableName:"author",validate:"true"\)\}\} at org.grails.plugins.databasemigration.command.DbmGenerateGormChangelogCommandSpec.writes Change Log to copy the current state of the database to a file given as arguments(DbmGenerateGormChangelogCommandSpec.groovy:134) ``` </details> ### Muted Tests > [!NOTE] > Checks are currently running using the configuration below. Select tests to mute in this pull request: 🔲 DbmGenerateGormChangelogCommandSpec > writes Change Log to copy the current state of the database to STDOUT <!-- uniqueId=[engine:spock]/[spec:org.grails.plugins.databasemigration.command.DbmGenerateGormChangelogCommandSpec]/[feature:$spock_feature_2_0] --> 🔲 DbmGenerateGormChangelogCommandSpec > writes Change Log to copy the current state of the database to a file given as arguments <!-- uniqueId=[engine:spock]/[spec:org.grails.plugins.databasemigration.command.DbmGenerateGormChangelogCommandSpec]/[feature:$spock_feature_2_1] --> 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]
