[INFO] Scanning for projects... [INFO] [INFO] ---------------< com.aikitguides:boot4-verification-lab >--------------- [INFO] Building boot4-verification-lab 1.0.0 [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ boot4-verification-lab --- [INFO] Deleting /target [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ boot4-verification-lab --- [INFO] Copying 2 resources from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.14.0:compile (default-compile) @ boot4-verification-lab --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 3 source files with javac [debug release 17] to target/classes [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ boot4-verification-lab --- [INFO] skip non existing resourceDirectory /src/test/resources [INFO] [INFO] --- compiler:3.14.0:testCompile (default-testCompile) @ boot4-verification-lab --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 5 source files with javac [debug release 17] to target/test-classes [INFO] [INFO] --- surefire:3.5.4:test (default-test) @ boot4-verification-lab --- [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running guides.bootlab.FlywayHistoryTest 11:48:57.621 [main] INFO org.flywaydb.core.FlywayExecutor -- Database: jdbc:h2:mem:9599e0f9-bafa-4a40-9551-793fab33fc28 (H2 2.4) 11:48:57.627 [main] WARN org.flywaydb.core.internal.database.base.Database -- Using H2 2.4.240 which is newer than the version Flyway has been verified with. The latest verified version of H2 is 2.3.232. 11:48:57.637 [main] INFO org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory -- Schema history table "PUBLIC"."flyway_schema_history" does not exist yet 11:48:57.638 [main] INFO org.flywaydb.core.internal.command.DbValidate -- Successfully validated 2 migrations (execution time 00:00.005s) 11:48:57.641 [main] INFO org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory -- Creating Schema History table "PUBLIC"."flyway_schema_history" ... 11:48:57.653 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Current version of schema "PUBLIC": << Empty Schema >> 11:48:57.656 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Migrating schema "PUBLIC" to version "1 - create notes" 11:48:57.665 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Migrating schema "PUBLIC" to version "2 - add tag" 11:48:57.669 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Successfully applied 2 migrations to schema "PUBLIC", now at version v2 (execution time 00:00.003s) 11:48:57.679 [main] INFO org.flywaydb.core.FlywayExecutor -- Database: jdbc:h2:mem:9599e0f9-bafa-4a40-9551-793fab33fc28 (H2 2.4) 11:48:57.679 [main] WARN org.flywaydb.core.internal.database.base.Database -- Using H2 2.4.240 which is newer than the version Flyway has been verified with. The latest verified version of H2 is 2.3.232. 11:48:57.681 [main] INFO org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory -- Repair of failed migration in Schema History table "PUBLIC"."flyway_schema_history" not necessary. No failed migration detected. 11:48:57.682 [main] INFO org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory -- Repairing Schema History table for version 2 (Description: add tag, Type: SQL, Checksum: -866526785) ... 11:48:57.683 [main] INFO org.flywaydb.core.internal.command.DbRepair -- Successfully repaired schema history table "PUBLIC"."flyway_schema_history" (execution time 00:00.002s). 11:48:57.691 [main] INFO org.flywaydb.core.FlywayExecutor -- Database: jdbc:h2:mem:9599e0f9-bafa-4a40-9551-793fab33fc28 (H2 2.4) 11:48:57.691 [main] WARN org.flywaydb.core.internal.database.base.Database -- Using H2 2.4.240 which is newer than the version Flyway has been verified with. The latest verified version of H2 is 2.3.232. 11:48:57.695 [main] INFO org.flywaydb.core.internal.command.DbValidate -- Successfully validated 2 migrations (execution time 00:00.001s) 11:48:57.702 [main] INFO org.flywaydb.core.FlywayExecutor -- Database: jdbc:h2:mem:44cba586-82da-4d42-a216-66918512263c (H2 2.4) 11:48:57.703 [main] WARN org.flywaydb.core.internal.database.base.Database -- Using H2 2.4.240 which is newer than the version Flyway has been verified with. The latest verified version of H2 is 2.3.232. 11:48:57.704 [main] INFO org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory -- Schema history table "PUBLIC"."flyway_schema_history" does not exist yet 11:48:57.704 [main] INFO org.flywaydb.core.internal.command.DbValidate -- Successfully validated 2 migrations (execution time 00:00.000s) 11:48:57.704 [main] INFO org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory -- Creating Schema History table "PUBLIC"."flyway_schema_history" ... 11:48:57.706 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Current version of schema "PUBLIC": << Empty Schema >> 11:48:57.707 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Migrating schema "PUBLIC" to version "1 - create notes" 11:48:57.710 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Migrating schema "PUBLIC" to version "2 - add tag" 11:48:57.712 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Successfully applied 2 migrations to schema "PUBLIC", now at version v2 (execution time 00:00.001s) OBSERVATION repair: existing_nullable=YES fresh_nullable=NO 11:48:57.735 [main] INFO org.flywaydb.core.FlywayExecutor -- Database: jdbc:h2:mem:1532e46d-9f92-4b5b-8445-4a3b39d2d12b (H2 2.4) 11:48:57.736 [main] WARN org.flywaydb.core.internal.database.base.Database -- Using H2 2.4.240 which is newer than the version Flyway has been verified with. The latest verified version of H2 is 2.3.232. 11:48:57.737 [main] INFO org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory -- Schema history table "PUBLIC"."flyway_schema_history" does not exist yet 11:48:57.737 [main] INFO org.flywaydb.core.internal.command.DbValidate -- Successfully validated 2 migrations (execution time 00:00.000s) 11:48:57.737 [main] INFO org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory -- Creating Schema History table "PUBLIC"."flyway_schema_history" ... 11:48:57.739 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Current version of schema "PUBLIC": << Empty Schema >> 11:48:57.740 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Migrating schema "PUBLIC" to version "1 - create notes" 11:48:57.742 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Migrating schema "PUBLIC" to version "2 - add tag" 11:48:57.744 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Successfully applied 2 migrations to schema "PUBLIC", now at version v2 (execution time 00:00.001s) 11:48:57.751 [main] INFO org.flywaydb.core.FlywayExecutor -- Database: jdbc:h2:mem:1532e46d-9f92-4b5b-8445-4a3b39d2d12b (H2 2.4) 11:48:57.751 [main] WARN org.flywaydb.core.internal.database.base.Database -- Using H2 2.4.240 which is newer than the version Flyway has been verified with. The latest verified version of H2 is 2.3.232. OBSERVATION edited_applied_migration=checksum_mismatch 11:48:57.763 [main] INFO org.flywaydb.core.FlywayExecutor -- Database: jdbc:h2:mem:1c31e816-6eb0-47b2-9b2f-287a54ccc87b (H2 2.4) 11:48:57.763 [main] WARN org.flywaydb.core.internal.database.base.Database -- Using H2 2.4.240 which is newer than the version Flyway has been verified with. The latest verified version of H2 is 2.3.232. 11:48:57.764 [main] INFO org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory -- Schema history table "PUBLIC"."flyway_schema_history" does not exist yet 11:48:57.764 [main] INFO org.flywaydb.core.internal.command.DbValidate -- Successfully validated 2 migrations (execution time 00:00.000s) 11:48:57.764 [main] INFO org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory -- Creating Schema History table "PUBLIC"."flyway_schema_history" ... 11:48:57.766 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Current version of schema "PUBLIC": << Empty Schema >> 11:48:57.767 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Migrating schema "PUBLIC" to version "1 - create notes" 11:48:57.768 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Migrating schema "PUBLIC" to version "2 - add tag" 11:48:57.771 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Successfully applied 2 migrations to schema "PUBLIC", now at version v2 (execution time 00:00.001s) 11:48:57.777 [main] INFO org.flywaydb.core.FlywayExecutor -- Database: jdbc:h2:mem:1c31e816-6eb0-47b2-9b2f-287a54ccc87b (H2 2.4) 11:48:57.778 [main] WARN org.flywaydb.core.internal.database.base.Database -- Using H2 2.4.240 which is newer than the version Flyway has been verified with. The latest verified version of H2 is 2.3.232. 11:48:57.784 [main] INFO org.flywaydb.core.FlywayExecutor -- Database: jdbc:h2:mem:1c31e816-6eb0-47b2-9b2f-287a54ccc87b (H2 2.4) 11:48:57.785 [main] WARN org.flywaydb.core.internal.database.base.Database -- Using H2 2.4.240 which is newer than the version Flyway has been verified with. The latest verified version of H2 is 2.3.232. 11:48:57.786 [main] INFO org.flywaydb.core.internal.command.DbValidate -- Successfully validated 2 migrations (execution time 00:00.000s) 11:48:57.791 [main] INFO org.flywaydb.core.FlywayExecutor -- Database: jdbc:h2:mem:1c31e816-6eb0-47b2-9b2f-287a54ccc87b (H2 2.4) 11:48:57.791 [main] WARN org.flywaydb.core.internal.database.base.Database -- Using H2 2.4.240 which is newer than the version Flyway has been verified with. The latest verified version of H2 is 2.3.232. 11:48:57.793 [main] INFO org.flywaydb.core.internal.command.DbValidate -- Successfully validated 3 migrations (execution time 00:00.000s) 11:48:57.793 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Current version of schema "PUBLIC": 2 11:48:57.794 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Migrating schema "PUBLIC" to version "3 - require tag" 11:48:57.795 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Successfully applied 1 migration to schema "PUBLIC", now at version v3 (execution time 00:00.000s) 11:48:57.800 [main] INFO org.flywaydb.core.FlywayExecutor -- Database: jdbc:h2:mem:1c31e816-6eb0-47b2-9b2f-287a54ccc87b (H2 2.4) 11:48:57.800 [main] WARN org.flywaydb.core.internal.database.base.Database -- Using H2 2.4.240 which is newer than the version Flyway has been verified with. The latest verified version of H2 is 2.3.232. 11:48:57.802 [main] INFO org.flywaydb.core.internal.command.DbValidate -- Successfully validated 3 migrations (execution time 00:00.000s) 11:48:57.807 [main] INFO org.flywaydb.core.FlywayExecutor -- Database: jdbc:h2:mem:d1260228-628b-4331-aeb0-c02508b7f2d5 (H2 2.4) 11:48:57.807 [main] WARN org.flywaydb.core.internal.database.base.Database -- Using H2 2.4.240 which is newer than the version Flyway has been verified with. The latest verified version of H2 is 2.3.232. 11:48:57.808 [main] INFO org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory -- Schema history table "PUBLIC"."flyway_schema_history" does not exist yet 11:48:57.808 [main] INFO org.flywaydb.core.internal.command.DbValidate -- Successfully validated 3 migrations (execution time 00:00.000s) 11:48:57.809 [main] INFO org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory -- Creating Schema History table "PUBLIC"."flyway_schema_history" ... 11:48:57.810 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Current version of schema "PUBLIC": << Empty Schema >> 11:48:57.810 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Migrating schema "PUBLIC" to version "1 - create notes" 11:48:57.812 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Migrating schema "PUBLIC" to version "2 - add tag" 11:48:57.814 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Migrating schema "PUBLIC" to version "3 - require tag" 11:48:57.815 [main] INFO org.flywaydb.core.internal.command.DbMigrate -- Successfully applied 3 migrations to schema "PUBLIC", now at version v3 (execution time 00:00.000s) 11:48:57.821 [main] INFO org.flywaydb.core.FlywayExecutor -- Database: jdbc:h2:mem:1c31e816-6eb0-47b2-9b2f-287a54ccc87b (H2 2.4) 11:48:57.821 [main] WARN org.flywaydb.core.internal.database.base.Database -- Using H2 2.4.240 which is newer than the version Flyway has been verified with. The latest verified version of H2 is 2.3.232. 11:48:57.828 [main] INFO org.flywaydb.core.FlywayExecutor -- Database: jdbc:h2:mem:d1260228-628b-4331-aeb0-c02508b7f2d5 (H2 2.4) 11:48:57.829 [main] WARN org.flywaydb.core.internal.database.base.Database -- Using H2 2.4.240 which is newer than the version Flyway has been verified with. The latest verified version of H2 is 2.3.232. OBSERVATION forward_migration: existing_nullable=NO fresh_nullable=NO [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.417 s -- in guides.bootlab.FlywayHistoryTest [INFO] Running guides.bootlab.DatabaseActivationTest 11:48:57.877 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [guides.bootlab.DatabaseActivationTest]: DatabaseActivationTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 11:48:57.910 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration guides.bootlab.LabApplication for test class guides.bootlab.DatabaseActivationTest 2026-10-23T11:48:58.039+08:00 INFO 39572 --- [ main] guides.bootlab.DatabaseActivationTest : Starting DatabaseActivationTest using Java 17.0.19 with PID 39572 (started by in ) 2026-10-23T11:48:58.040+08:00 INFO 39572 --- [ main] guides.bootlab.DatabaseActivationTest : No active profile set, falling back to 1 default profile: "default" 2026-10-23T11:48:58.322+08:00 INFO 39572 --- [ main] r$InitializeUserDetailsManagerConfigurer : Global AuthenticationManager configured with UserDetailsService bean with name inMemoryUserDetailsManager 2026-10-23T11:48:58.453+08:00 INFO 39572 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2026-10-23T11:48:58.457+08:00 INFO 39572 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn41: url=jdbc:h2:mem:bootlab user=SA 2026-10-23T11:48:58.457+08:00 INFO 39572 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2026-10-23T11:48:58.461+08:00 INFO 39572 --- [ main] org.flywaydb.core.FlywayExecutor : Database: jdbc:h2:mem:bootlab (H2 2.4) 2026-10-23T11:48:58.461+08:00 WARN 39572 --- [ main] o.f.c.internal.database.base.Database : Using H2 2.4.240 which is newer than the version Flyway has been verified with. The latest verified version of H2 is 2.3.232. 2026-10-23T11:48:58.462+08:00 INFO 39572 --- [ main] o.f.c.i.s.JdbcTableSchemaHistory : Schema history table "PUBLIC"."flyway_schema_history" does not exist yet 2026-10-23T11:48:58.462+08:00 INFO 39572 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 1 migration (execution time 00:00.000s) 2026-10-23T11:48:58.463+08:00 INFO 39572 --- [ main] o.f.c.i.s.JdbcTableSchemaHistory : Creating Schema History table "PUBLIC"."flyway_schema_history" ... 2026-10-23T11:48:58.465+08:00 INFO 39572 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "PUBLIC": << Empty Schema >> 2026-10-23T11:48:58.465+08:00 INFO 39572 --- [ main] o.f.core.internal.command.DbMigrate : Migrating schema "PUBLIC" to version "1 - create lab marker" 2026-10-23T11:48:58.466+08:00 INFO 39572 --- [ main] o.f.core.internal.command.DbMigrate : Successfully applied 1 migration to schema "PUBLIC", now at version v1 (execution time 00:00.000s) 2026-10-23T11:48:58.514+08:00 INFO 39572 --- [ main] guides.bootlab.DatabaseActivationTest : Started DatabaseActivationTest in 0.56 seconds (process running for 1.322) OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended 2026-10-23T11:48:58.784+08:00 WARN 39572 --- [ main] o.f.c.internal.database.base.Database : Using H2 2.4.240 which is newer than the version Flyway has been verified with. The latest verified version of H2 is 2.3.232. 2026-10-23T11:48:58.786+08:00 WARN 39572 --- [ main] o.f.c.internal.database.base.Database : Using H2 2.4.240 which is newer than the version Flyway has been verified with. The latest verified version of H2 is 2.3.232. OBSERVATION startup_migrations=1 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.952 s -- in guides.bootlab.DatabaseActivationTest [INFO] Running guides.bootlab.SecurityContractTest 2026-10-23T11:48:58.791+08:00 INFO 39572 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [guides.bootlab.SecurityContractTest]: SecurityContractTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-10-23T11:48:58.792+08:00 INFO 39572 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration guides.bootlab.LabApplication for test class guides.bootlab.SecurityContractTest 2026-10-23T11:48:58.803+08:00 INFO 39572 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2026-10-23T11:48:58.803+08:00 INFO 39572 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2026-10-23T11:48:58.803+08:00 INFO 39572 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 0 ms OBSERVATION authenticated_get=200 2026-10-23T11:48:58.830+08:00 INFO 39572 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2026-10-23T11:48:58.830+08:00 INFO 39572 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2026-10-23T11:48:58.830+08:00 INFO 39572 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 0 ms OBSERVATION authenticated_post_without_csrf=403 2026-10-23T11:48:58.833+08:00 INFO 39572 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2026-10-23T11:48:58.833+08:00 INFO 39572 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2026-10-23T11:48:58.833+08:00 INFO 39572 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 0 ms OBSERVATION invalid_csrf=403 2026-10-23T11:48:58.836+08:00 INFO 39572 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2026-10-23T11:48:58.836+08:00 INFO 39572 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2026-10-23T11:48:58.836+08:00 INFO 39572 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 0 ms 2026-10-23T11:48:58.839+08:00 INFO 39572 --- [ main] o.s.mock.web.MockServletContext : Initializing Spring TestDispatcherServlet '' 2026-10-23T11:48:58.839+08:00 INFO 39572 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2026-10-23T11:48:58.839+08:00 INFO 39572 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 0 ms OBSERVATION unsecured_harness_post=200 2026-10-23T11:48:58.850+08:00 INFO 39572 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2026-10-23T11:48:58.850+08:00 INFO 39572 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2026-10-23T11:48:58.850+08:00 INFO 39572 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 0 ms OBSERVATION authenticated_post_with_csrf=200 2026-10-23T11:48:58.862+08:00 INFO 39572 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2026-10-23T11:48:58.862+08:00 INFO 39572 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2026-10-23T11:48:58.863+08:00 INFO 39572 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 0 ms OBSERVATION anonymous_get=401 [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.074 s -- in guides.bootlab.SecurityContractTest [INFO] Running guides.bootlab.NetworkContractTest 2026-10-23T11:48:58.866+08:00 INFO 39572 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [guides.bootlab.NetworkContractTest]: NetworkContractTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-10-23T11:48:58.866+08:00 INFO 39572 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration guides.bootlab.LabApplication for test class guides.bootlab.NetworkContractTest 2026-10-23T11:48:58.875+08:00 INFO 39572 --- [ main] guides.bootlab.NetworkContractTest : Starting NetworkContractTest using Java 17.0.19 with PID 39572 (started by in ) 2026-10-23T11:48:58.875+08:00 INFO 39572 --- [ main] guides.bootlab.NetworkContractTest : No active profile set, falling back to 1 default profile: "default" 2026-10-23T11:48:58.968+08:00 INFO 39572 --- [ main] o.s.boot.tomcat.TomcatWebServer : Tomcat initialized with port 0 (http) 2026-10-23T11:48:58.973+08:00 INFO 39572 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2026-10-23T11:48:58.973+08:00 INFO 39572 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/11.0.14] 2026-10-23T11:48:58.987+08:00 INFO 39572 --- [ main] b.w.c.s.WebApplicationContextInitializer : Root WebApplicationContext: initialization completed in 111 ms 2026-10-23T11:48:59.025+08:00 INFO 39572 --- [ main] r$InitializeUserDetailsManagerConfigurer : Global AuthenticationManager configured with UserDetailsService bean with name inMemoryUserDetailsManager 2026-10-23T11:48:59.057+08:00 INFO 39572 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Starting... 2026-10-23T11:48:59.057+08:00 INFO 39572 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-2 - Added connection conn51: url=jdbc:h2:mem:bootlab user=SA 2026-10-23T11:48:59.057+08:00 INFO 39572 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Start completed. 2026-10-23T11:48:59.057+08:00 INFO 39572 --- [ main] org.flywaydb.core.FlywayExecutor : Database: jdbc:h2:mem:bootlab (H2 2.4) 2026-10-23T11:48:59.058+08:00 WARN 39572 --- [ main] o.f.c.internal.database.base.Database : Using H2 2.4.240 which is newer than the version Flyway has been verified with. The latest verified version of H2 is 2.3.232. 2026-10-23T11:48:59.059+08:00 INFO 39572 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 1 migration (execution time 00:00.000s) 2026-10-23T11:48:59.060+08:00 INFO 39572 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "PUBLIC": 1 2026-10-23T11:48:59.060+08:00 INFO 39572 --- [ main] o.f.core.internal.command.DbMigrate : Schema "PUBLIC" is up to date. No migration necessary. 2026-10-23T11:48:59.081+08:00 INFO 39572 --- [ main] o.s.boot.tomcat.TomcatWebServer : Tomcat started on port 53623 (http) with context path '/' 2026-10-23T11:48:59.083+08:00 INFO 39572 --- [ main] guides.bootlab.NetworkContractTest : Started NetworkContractTest in 0.216 seconds (process running for 1.89) 2026-10-23T11:48:59.164+08:00 INFO 39572 --- [1-auto-1-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2026-10-23T11:48:59.164+08:00 INFO 39572 --- [1-auto-1-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2026-10-23T11:48:59.164+08:00 INFO 39572 --- [1-auto-1-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 0 ms OBSERVATION real_http: anonymous_get=401 basic_get=200 basic_post_without_csrf=403 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.451 s -- in guides.bootlab.NetworkContractTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.477 s [INFO] Finished at: 2026-10-23T11:48:59+08:00 [INFO] ------------------------------------------------------------------------