Files

34 lines
2.0 KiB
Plaintext

=== mvn -B -ntp verify (key lines) ===
[INFO] --- clean:3.5.0:clean (default-clean) ---
[INFO] --- cyclonedx:2.9.3:makeAggregateBom (default) ---
[INFO] --- resources:3.5.0:resources (default-resources) ---
[INFO] --- compiler:3.16.0:compile (default-compile) ---
[INFO] --- resources:3.5.0:testResources (default-testResources) ---
[INFO] --- compiler:3.16.0:testCompile (default-testCompile) ---
[INFO] --- surefire:3.6.1:test (default-test) ---
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 -- in <class>
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
[INFO] --- jar:3.5.1:jar (default-jar) ---
[INFO] --- spring-boot:4.2.0:repackage (repackage) ---
[INFO] Replacing main artifact /tmp/dd/gitea-actions/target/gitea-actions-demo-1.0.0.jar with repackaged archive, adding nested dependencies in BOOT-INF/.
[INFO] --- failsafe:3.6.1:integration-test (default) ---
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 -- in <class>
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[INFO] --- failsafe:3.6.1:verify (default) ---
[INFO] BUILD SUCCESS
=== target/ after the build ===
gitea-actions-demo-1.0.0.jar
gitea-actions-demo-1.0.0.jar.original
=== Same command where Docker is really unreachable (docker.sock masked in a private mount namespace) ===
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 -- in <class>
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
23:57:14.999 [main] ERROR org.testcontainers.dockerclient.DockerClientProviderStrategy -- Could not find a valid Docker environment. Please check configuration. Attempted configurations were:
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 <<< FAILURE! -- in <class>
java.lang.IllegalStateException: Could not find a valid Docker environment. Please see logs and check configuration
[ERROR] TicketApiIT.initializationError ? IllegalState Could not find a valid Docker environment. Please see logs and check configuration
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO] BUILD FAILURE