Class componenttest.containers.ArtifactoryImageNameSubstitutorTest

10

tests

0

failures

0

ignored

0.245s

duration

100%

successful

Tests

Test Duration Result
testArtifactoryRegistryModifification 0s passed
testCompatibleSubstitutionIsMaintained 0.001s passed
testDockerClientStrategy 0.154s passed
testExplicitRegistryNotModified 0.025s passed
testRegistryAppendError 0.002s passed
testRegistryAppendErrorSkip 0.002s passed
testRegistryMirrorSwap 0.001s passed
testSyntheticImageNotModified 0.002s passed
testSyntheticImages 0.056s passed
testSystemPropertyModified 0.002s passed

Standard error

Jan 04, 2025 4:25:39 AM componenttest.containers.ArtifactoryRegistry findRegistry
INFO: Searching system property fat.test.artifactory.docker.server for an Artifactory registry.
Jan 04, 2025 4:25:39 AM componenttest.containers.ArtifactoryRegistry generateAuthToken
INFO: Generating Artifactory registry auth token from system properties: [ fat.test.artifactory.download.user, fat.test.artifactory.download.token]
Jan 04, 2025 4:25:39 AM com.ibm.websphere.simplicity.log.Log warning
WARNING: WARNING: Cannot use private registry for programmatically built or committed image localhost/testcontainers/ryuk:latest. Consider using a pre-built image instead.
Jan 04, 2025 4:25:39 AM com.ibm.websphere.simplicity.log.Log warning
WARNING: WARNING: Cannot use private registry for programmatically built or committed image sha256:5103a25d3efd8c0cbdbc80d358c5b1da91329c53e1fa99c43a8561a87eb61d3b. Consider using a pre-built image instead.
Jan 04, 2025 4:25:39 AM com.ibm.websphere.simplicity.log.Log warning
WARNING: WARNING: Cannot use private registry for programmatically built or committed image localhost/testcontainers/ryuk:latest. Consider using a pre-built image instead.
Jan 04, 2025 4:25:39 AM componenttest.containers.ArtifactoryImageNameSubstitutor apply
INFO: localhost/testcontainers/ryuk:latest --> localhost/testcontainers/ryuk:latest
Reason: Image name is known to be synthetic, cannot use Artifactory registry.
Jan 04, 2025 4:25:39 AM com.ibm.websphere.simplicity.log.Log warning
WARNING: WARNING: Cannot use private registry for programmatically built or committed image sha256:5103a25d3efd8c0cbdbc80d358c5b1da91329c53e1fa99c43a8561a87eb61d3b. Consider using a pre-built image instead.
Jan 04, 2025 4:25:39 AM componenttest.containers.ArtifactoryImageNameSubstitutor apply
INFO: sha256:5103a25d3efd8c0cbdbc80d358c5b1da91329c53e1fa99c43a8561a87eb61d3b --> sha256:5103a25d3efd8c0cbdbc80d358c5b1da91329c53e1fa99c43a8561a87eb61d3b
Reason: Image name is known to be synthetic, cannot use Artifactory registry.
Jan 04, 2025 4:25:39 AM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: quay.io/testcontainers/ryuk:1.0.0
Jan 04, 2025 4:25:39 AM componenttest.containers.ArtifactoryImageNameSubstitutor apply
INFO: quay.io/testcontainers/ryuk:1.0.0 --> quay.io/testcontainers/ryuk:1.0.0
Reason: Default behavior: use default docker registry.
Jan 04, 2025 4:25:40 AM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: kyleaure/oracle-xe:1.0.0
Jan 04, 2025 4:25:40 AM componenttest.containers.ArtifactoryImageNameSubstitutor apply
INFO: kyleaure/oracle-xe:1.0.0 --> example.com/wasliberty-infrastructure-docker/kyleaure/oracle-xe:1.0.0
Reason: Using a remote docker host, must use Artifactory registry
Jan 04, 2025 4:25:40 AM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: kyleaure/oracle-xe:1.0.0
Jan 04, 2025 4:25:40 AM componenttest.containers.ArtifactoryImageNameSubstitutor apply
INFO: kyleaure/oracle-xe:1.0.0 --> kyleaure/oracle-xe:1.0.0
Reason: Default behavior: use default docker registry.
Jan 04, 2025 4:25:40 AM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: kyleaure/oracle-xe:1.0.0
Jan 04, 2025 4:25:40 AM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: public.ecr.aws/docker/library/mongo:6.0.6
Jan 04, 2025 4:25:40 AM componenttest.containers.ArtifactoryImageNameSubstitutor apply
INFO: public.ecr.aws/docker/library/mongo:6.0.6 --> example.com/wasliberty-aws-docker-remote/docker/library/mongo:6.0.6
Reason: Using a remote docker host, must use Artifactory registry
Jan 04, 2025 4:25:40 AM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: quay.io/testcontainers/ryuk:1.0.0
Jan 04, 2025 4:25:40 AM com.ibm.websphere.simplicity.log.Log warning
WARNING: The registry (icr.io) was configured on the docker image name.
This registry will NOT be replaced and we WILL pull from a non-artifactory registry.
Jan 04, 2025 4:25:40 AM componenttest.containers.ArtifactoryImageNameSubstitutor apply
INFO: icr.io/db2_community/db2:11.5.9.0 --> icr.io/db2_community/db2:11.5.9.0
Reason: Using a remote docker host, must use Artifactory registry
Jan 04, 2025 4:25:40 AM com.ibm.websphere.simplicity.log.Log warning
WARNING: The registry (mcr.microsoft.com) was configured on the docker image name.
This registry will NOT be replaced and we WILL pull from a non-artifactory registry.
Jan 04, 2025 4:25:40 AM componenttest.containers.ArtifactoryImageNameSubstitutor apply
INFO: mcr.microsoft.com/mssql/server:2019-CU28-ubuntu-20.04 --> mcr.microsoft.com/mssql/server:2019-CU28-ubuntu-20.04
Reason: Using a remote docker host, must use Artifactory registry
Jan 04, 2025 4:25:40 AM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: openliberty:1.0.0
Jan 04, 2025 4:25:40 AM componenttest.containers.ArtifactoryImageNameSubstitutor apply
INFO: openliberty:1.0.0 --> openliberty:1.0.0
Reason: System property [ fat.test.artifactory.force.external.repo ] was set to true, must use original image name.
Jan 04, 2025 4:25:40 AM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: openliberty:1.0.0
Jan 04, 2025 4:25:40 AM componenttest.containers.ArtifactoryImageNameSubstitutor apply
INFO: openliberty:1.0.0 --> openliberty:1.0.0
Reason: System property [ fat.test.artifactory.force.external.repo ] was set to true, must use original image name.
Jan 04, 2025 4:25:40 AM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: openliberty:1.0.0
Jan 04, 2025 4:25:40 AM componenttest.containers.ArtifactoryImageNameSubstitutor apply
INFO: openliberty:1.0.0 --> example.com/wasliberty-infrastructure-docker/openliberty:1.0.0
Reason: Artifactory was available.
Jan 04, 2025 4:25:40 AM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: openliberty:1.0.0
Jan 04, 2025 4:25:40 AM componenttest.containers.ArtifactoryImageNameSubstitutor apply
INFO: openliberty:1.0.0 --> openliberty:1.0.0
Reason: Default behavior: use default docker registry.
Jan 04, 2025 4:25:40 AM componenttest.containers.ArtifactoryImageNameSubstitutor apply
INFO: public.ecr.aws/docker/library/postgres:17.0-alpine --> example.com/wasliberty-aws-docker-remote/docker/library/postgres:17.0-alpine
Reason: Using a remote docker host, must use Artifactory registry