Skip to content

Conversation

@yrodiere
Copy link
Member

Fixes #33104, at least in the default case when there are no volume mounts. Which I suppose is good enough?

At the very least, this looks better than simply failing to start with cryptic errors.

@quarkus-bot

This comment has been minimized.

@yrodiere
Copy link
Member Author

Looks like Max is having a little fun with infrastructure?

  Downloading JBang ...
  Error downloading JBang from https://github.com/jbangdev/jbang/releases/latest/download/jbang.tar
  Error: Process completed with exit code 22.

@holly-cummins
Copy link
Contributor

We should also remove the guard on the test. Well, assuming the test now passes with podman, which I can't check locally. :)

<!-- Disabled pending fix of #33104 -->
<profile>
<id>podman</id>
<activation>
<property>
<name>env.IS_PODMAN</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>

@quarkus-bot quarkus-bot bot added the area/jdbc Issues related to the JDBC extensions label Nov 24, 2025
@yrodiere
Copy link
Member Author

yrodiere commented Nov 24, 2025

We should also remove the guard on the test

Thanks, I forgot about this. Done!

Well, assuming the test now passes with podman, which I can't check locally

[INFO] Running io.quarkus.jdbc.db2.deployment.DevServicesDB2DatasourceTestCase
2025-11-24 18:14:03,708 INFO  [org.eclipse.aether.internal.impl.filter.GroupIdRemoteRepositoryFilterSource] (main) Loaded 1 groupId for remote repository gradle
2025-11-24 18:14:05,304 INFO  [org.testcontainers.DockerClientFactory] (build-21) Testcontainers version: 1.21.3
2025-11-24 18:14:05,764 INFO  [org.testcontainers.dockerclient.DockerClientProviderStrategy] (build-21) Found Docker environment with Environment variables, system properties and defaults. Resolved dockerHost=unix:///run/user/1000/podman/podman.sock
2025-11-24 18:14:05,765 INFO  [org.testcontainers.DockerClientFactory] (build-21) Docker host IP address is localhost
2025-11-24 18:14:05,879 INFO  [org.testcontainers.DockerClientFactory] (build-21) Connected to docker: 
  Server Version: 5.7.0
  API Version: 1.41
  Operating System: fedora
  Total Memory: 63721 MB
2025-11-24 18:14:05,885 INFO  [org.testcontainers.images.PullPolicy] (build-21) Image pull policy will be performed by: DefaultPullPolicy()
2025-11-24 18:14:05,887 INFO  [org.testcontainers.utility.ImageNameSubstitutor] (build-21) Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')
2025-11-24 18:14:05,889 INFO  [org.testcontainers.DockerClientFactory] (build-21) Checking the system...
2025-11-24 18:14:05,890 INFO  [org.testcontainers.DockerClientFactory] (build-21) ✔︎ Docker server version should be at least 1.6.0
2025-11-24 18:14:06,117 INFO  [tc.icr.io/db2_community/db2:12.1.0.0] (build-21) Creating container for image: icr.io/db2_community/db2:12.1.0.0
2025-11-24 18:14:06,180 INFO  [tc.icr.io/db2_community/db2:12.1.0.0] (build-21) Reusing container with ID: 78bd4ff10f2229ff0ab611f9c07c0378dfe029550aad335ecf3957cf43bf6b81 and hash: d7f572c8a213cd1025aa5a92eb51babadee9cf11
2025-11-24 18:14:06,181 INFO  [tc.icr.io/db2_community/db2:12.1.0.0] (build-21) Reusing existing container (78bd4ff10f2229ff0ab611f9c07c0378dfe029550aad335ecf3957cf43bf6b81) and not creating a new one
2025-11-24 18:14:06,360 INFO  [tc.icr.io/db2_community/db2:12.1.0.0] (build-21) Container icr.io/db2_community/db2:12.1.0.0 started in PT0.242351206S
2025-11-24 18:14:06,360 INFO  [tc.icr.io/db2_community/db2:12.1.0.0] (build-21) Container is started (JDBC URL: jdbc:db2://localhost:36717/quarkus)
2025-11-24 18:14:06,360 INFO  [io.quarkus.devservices.db2.deployment.DB2DevServicesProcessor] (build-21) Dev Services for IBM Db2 started.
2025-11-24 18:14:06,361 INFO  [io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor] (build-21) Dev Services for default datasource (db2) started - container ID is 78bd4ff10f22
2025-11-24 18:14:06,579 INFO  [io.quarkus] (main) quarkus-jdbc-db2-deployment 999-SNAPSHOT on JVM (powered by Quarkus 999-SNAPSHOT) started in 0.151s. 
2025-11-24 18:14:06,580 INFO  [io.quarkus] (main) Profile test activated. 
2025-11-24 18:14:06,580 INFO  [io.quarkus] (main) Installed features: [agroal, cdi, compose, jdbc-db2, narayana-jta, smallrye-context-propagation]
2025-11-24 18:14:06,747 INFO  [io.quarkus] (main) quarkus-jdbc-db2-deployment stopped in 0.004s
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.566 s -- in io.quarkus.jdbc.db2.deployment.DevServicesDB2DatasourceTestCase

🎉

@quarkus-bot
Copy link

quarkus-bot bot commented Nov 24, 2025

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit db2546d.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

Warning

There are other workflow runs running, you probably need to wait for their status before merging.

You can consult the Develocity build scans.

@quarkus-bot
Copy link

quarkus-bot bot commented Nov 24, 2025

Status for workflow Quarkus Documentation CI

This is the status report for running Quarkus Documentation CI on commit db2546d.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

@github-actions
Copy link

🎊 PR Preview 0b1ce00 has been successfully built and deployed to https://quarkus-pr-main-51204-preview.surge.sh/version/main/guides/

  • Images of blog posts older than 3 months are not available.
  • Newsletters older than 3 months are not available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/container-image area/devservices area/jdbc Issues related to the JDBC extensions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test failure with podman: Quarkus - JDBC - DB2 - Deployment

2 participants