Class componenttest.containers.ArtifactoryImageNameSubstitutorTest

10

tests

0

failures

0

ignored

0.250s

duration

100%

successful

Tests

Test Duration Result
testArtifactoryRegistryModifification 0s passed
testCompatibleSubstitutionIsMaintained 0.001s passed
testDockerClientStrategy 0.170s passed
testExplicitRegistryNotModified 0.023s passed
testRegistryAppendError 0.001s passed
testRegistryAppendErrorSkip 0.002s passed
testRegistryMirrorSwap 0.001s passed
testSyntheticImageNotModified 0.002s passed
testSyntheticImages 0.047s passed
testSystemPropertyModified 0.003s passed

Standard error

Jan 05, 2025 12:27:06 PM componenttest.containers.ArtifactoryRegistry findRegistry
INFO: Searching system property fat.test.artifactory.docker.server for an Artifactory registry.
Jan 05, 2025 12:27:06 PM componenttest.containers.ArtifactoryRegistry generateAuthToken
INFO: Generating Artifactory registry auth token from system properties: [ fat.test.artifactory.download.user, fat.test.artifactory.download.token]
Jan 05, 2025 12:27:06 PM 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 05, 2025 12:27:06 PM 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 05, 2025 12:27:06 PM 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 05, 2025 12:27:06 PM 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 05, 2025 12:27:06 PM 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 05, 2025 12:27:06 PM componenttest.containers.ArtifactoryImageNameSubstitutor apply
INFO: sha256:5103a25d3efd8c0cbdbc80d358c5b1da91329c53e1fa99c43a8561a87eb61d3b --> sha256:5103a25d3efd8c0cbdbc80d358c5b1da91329c53e1fa99c43a8561a87eb61d3b
Reason: Image name is known to be synthetic, cannot use Artifactory registry.
Jan 05, 2025 12:27:06 PM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: quay.io/testcontainers/ryuk:1.0.0
Jan 05, 2025 12:27:06 PM 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 05, 2025 12:27:06 PM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: kyleaure/oracle-xe:1.0.0
Jan 05, 2025 12:27:06 PM 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 05, 2025 12:27:06 PM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: kyleaure/oracle-xe:1.0.0
Jan 05, 2025 12:27:06 PM 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 05, 2025 12:27:06 PM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: kyleaure/oracle-xe:1.0.0
Jan 05, 2025 12:27:06 PM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: public.ecr.aws/docker/library/mongo:6.0.6
Jan 05, 2025 12:27:06 PM 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 05, 2025 12:27:06 PM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: quay.io/testcontainers/ryuk:1.0.0
Jan 05, 2025 12:27:06 PM 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 05, 2025 12:27:06 PM 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 05, 2025 12:27:06 PM 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 05, 2025 12:27:06 PM 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 05, 2025 12:27:06 PM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: openliberty:1.0.0
Jan 05, 2025 12:27:06 PM 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 05, 2025 12:27:06 PM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: openliberty:1.0.0
Jan 05, 2025 12:27:06 PM 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 05, 2025 12:27:06 PM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: openliberty:1.0.0
Jan 05, 2025 12:27:06 PM componenttest.containers.ArtifactoryImageNameSubstitutor apply
INFO: openliberty:1.0.0 --> example.com/wasliberty-infrastructure-docker/openliberty:1.0.0
Reason: Artifactory was available.
Jan 05, 2025 12:27:06 PM componenttest.containers.ImageVerifier collectImage
INFO: Found an unknown image: openliberty:1.0.0
Jan 05, 2025 12:27:06 PM componenttest.containers.ArtifactoryImageNameSubstitutor apply
INFO: openliberty:1.0.0 --> openliberty:1.0.0
Reason: Default behavior: use default docker registry.
Jan 05, 2025 12:27:06 PM 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