Podman Validation on RHEL9.7GA #27649
Chinnaras
started this conversation in
Show and tell
Replies: 1 comment
-
|
if you are an entitled customer of RHEL 9.7, you should report issues through that process. This repository is for the development of Podman versions consistent with our mail branch. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
I am facing one of the issue on podman container.
Issue:
In the container, we are doing types of validation like, podman, fj_podman, buildah and skopeo
we are using the test cases called bats file, when we excecute the script it will give the output eace cases output like ok,skip, Not ok .
based on the output we need to validate each test case , especially NG cased we have to investigate. for example below.
##########
not ok 145 bud-git-context
(from function `die' in file /home/container_test/buildah/test/system/helpers.bash, line 440,
from function `run_buildah' in file /home/container_test/buildah/test/system/helpers.bash, line 427,
in test file /home/container_test/buildah/test/system/bud.bats, line 3252)
`run_buildah build$WITH_POLICY_JSON -t $ {target} "${gitrepo}"' failed
/home/container_test/buildah/test/system /home/container_test/log/1117105107/buildah
/usr/bin/git
process 1203985 listening on port 46665
# /usr/bin/buildah build --signature-policy /home/container_test/buildah/test/system/policy.json -t giturl-image git://localhost:46665/repo
Error: prepping temporary context directory: cloning "git://localhost:46665/repo" to "/var/tmp/buildah3475417485":
fatal: unable to access 'https://localhost:46665/repo/': OpenSSL SSL_connect: SSL_ERROR_ZERO_RETURN in connection to localhost:46665
: failed while performing
git fetch: exit status 128[ rc=125 (** EXPECTED 0 **) ]
#/vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
#| FAIL: exit code is 125; expected 0
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/container_test/log/1117105107/buildah
not ok 146 bud-git-context-subdirectory
(from function `die' in file /home/container_test/buildah/test/system/helpers.bash, line 440,
from function `run_buildah' in file /home/container_test/buildah/test/system/helpers.bash, line 427,
in test file /home/container_test/buildah/test/system/bud.bats, line 3270)
`TMPDIR="${tmpdir}" run_buildah build$WITH_POLICY_JSON -t $ {target} "${gitrepo}"' failed
/home/container_test/buildah/test/system /home/container_test/log/1117105107/buildah
/usr/bin/git
process 1204069 listening on port 46105
# /usr/bin/buildah build --signature-policy /home/container_test/buildah/test/system/policy.json -t giturl-image git://localhost:46105/repo#main:nested/subdirectory
Error: prepping temporary context directory: cloning "git://localhost:46105/repo#main:nested/subdirectory" to "/tmp/buildah_tests.udmgeu/build/buildah212912200":
fatal: unable to access 'https://localhost:46105/repo/': OpenSSL SSL_connect: SSL_ERROR_ZERO_RETURN in connection to localhost:46105
: failed while performing
git fetch: exit status 128[ rc=125 (** EXPECTED 0 **) ]
#/vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
#| FAIL: exit code is 125; expected 0
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/container_test/log/1117105107/buildah
ok 147 bud-git-context-failure
ok 148 bud-github-context
not ok 149 bud-github-context-from-commit
(from function `die' in file /home/container_test/buildah/test/system/helpers.bash, line 440,
from function `run_buildah' in file /home/container_test/buildah/test/system/helpers.bash, line 427,
in test file /home/container_test/buildah/test/system/bud.bats, line 3314)
`run_buildah build$WITH_POLICY_JSON -t $ {target} "${gitrepo}"' failed
/home/container_test/buildah/test/system /home/container_test/log/1117105107/buildah
/usr/bin/git
process 1204359 listening on port 34037
# /usr/bin/buildah build --signature-policy /home/container_test/buildah/test/system/policy.json -t giturl-image git://localhost:34037/repo#f94193d34548eb58650a10a5183936d32c2d3280
Error: prepping temporary context directory: cloning "git://localhost:34037/repo#f94193d34548eb58650a10a5183936d32c2d3280" to "/var/tmp/buildah3857833107":
fatal: unable to access 'https://localhost:34037/repo/': OpenSSL SSL_connect: SSL_ERROR_ZERO_RETURN in connection to localhost:34037
: failed while performing
git fetch: exit status 128[ rc=125 (** EXPECTED 0 **) ]
#/vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
#| FAIL: exit code is 125; expected 0
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/container_test/log/1117105107/buildah
ok 150 bud-github-context-with-branch-subdir-commit
ok 151 bud-additional-tags
ok 152 bud-additional-tags-cached
ok 153 bud-volume-perms
ok 154 bud-volume-ownership
ok 155 bud-builtin-volume-symlink
ok 156 bud-from-glob
ok 157 bud-maintainer
ok 158 bud-unrecognized-instruction
ok 159 bud-shell
ok 160 bud-shell during build in Docker format
ok 161 bud-shell during build in OCI format
ok 162 bud-shell changed during build in Docker format
ok 163 bud-shell changed during build in OCI format
ok 164 bud with symlinks
ok 165 bud with symlinks to relative path
ok 166 bud with multiple symlinks in a path
ok 167 bud with multiple symlink pointing to itself
ok 168 bud multi-stage with symlink to absolute path
ok 169 bud multi-stage with dir symlink to absolute path
ok 170 bud with ENTRYPOINT and RUN
ok 171 bud with ENTRYPOINT and empty RUN
ok 172 bud with CMD and RUN
ok 173 bud with CMD and empty RUN
ok 174 bud with ENTRYPOINT, CMD and RUN
ok 175 bud with ENTRYPOINT, CMD and empty RUN
ok 176 bud access ENV variable defined in same source file
ok 177 bud access ENV variable defined in FROM image
ok 178 bud ENV preserves special characters after commit
ok 179 bud with Dockerfile from valid URL
ok 180 bud with Dockerfile from invalid URL
ok 181 bud with -f flag, alternate Dockerfile name
ok 182 bud with --cache-from noop flag
ok 183 bud with --compress noop flag
ok 184 bud with --cpu-shares flag, no argument
ok 185 bud with --cpu-shares flag, invalid argument
ok 186 bud with --cpu-shares flag, valid argument
ok 187 bud with --cpu-shares short flag (-c), no argument
ok 188 bud with --cpu-shares short flag (-c), invalid argument
ok 189 bud with --cpu-shares short flag (-c), valid argument
ok 190 bud-onbuild
ok 191 bud-onbuild-layers
ok 192 bud-logfile
ok 193 bud-logfile-with-split-logfile-by-platform
ok 194 bud with ARGS
ok 195 bud with unused ARGS
ok 196 bud with multi-value ARGS
ok 197 bud-from-stdin
ok 198 bud with preprocessor
ok 199 bud with preprocessor error
ok 200 bud-with-rejected-name
ok 201 bud with chown copy
ok 202 bud with combined chown and chmod copy
ok 203 bud with combined chown and chmod add
ok 204 bud with chown copy with bad chown flag in Dockerfile with --layers
ok 205 bud with chown copy with unknown substitutions in Dockerfile
ok 206 bud with chmod copy
ok 207 bud with chmod copy with bad chmod flag in Dockerfile with --layers
ok 208 bud with chmod add
ok 209 bud with chown add
ok 210 bud with chown add with bad chown flag in Dockerfile with --layers
ok 211 bud with chmod add with bad chmod flag in Dockerfile with --layers
ok 212 bud with ADD with checksum flag
ok 213 bud with ADD with bad checksum
ok 214 bud with ADD with bad checksum flag
ok 215 bud with ADD file construct
ok 216 bud with COPY of single file creates absolute path with correct permissions
ok 217 bud with COPY of single file creates relative path with correct permissions
ok 218 bud with ADD of single file creates absolute path with correct permissions
ok 219 bud with ADD of single file creates relative path with correct permissions
ok 220 bud multi-stage COPY creates absolute path with correct permissions
ok 221 bud multi-stage COPY creates relative path with correct permissions
ok 222 bud multi-stage COPY with invalid from statement
ok 223 bud COPY to root succeeds
ok 224 bud with FROM AS construct
ok 225 bud with FROM AS construct with layers
ok 226 bud with FROM AS skip FROM construct
ok 227 build with -f pointing to not a file should fail
ok 228 bud with symlink Dockerfile not specified in file
ok 229 bud with ARG before FROM default value
ok 230 bud with ARG before FROM
ok 231 bud-with-healthcheck
ok 232 bud with unused build arg
ok 233 bud with copy-from and cache
ok 234 bud with copy-from in Dockerfile no prior FROM
ok 235 bud with copy-from with bad from flag in Dockerfile with --layers
ok 236 bud with copy-from referencing the base image
ok 237 bud with copy-from referencing the current stage
ok 238 bud-target
ok 239 bud-no-target-name
ok 240 bud-multi-stage-nocache-nocommit
ok 241 bud-multi-stage-cache-nocontainer # skip FIXME: Broken in CI right now
ok 242 bud copy to symlink
ok 243 bud copy to dangling symlink
ok 244 bud WORKDIR isa symlink
ok 245 bud WORKDIR isa symlink no target dir
ok 246 bud WORKDIR isa symlink no target dir and follow on dir
ok 247 buildah bud --volume
ok 248 bud-copy-dot with --layers picks up changed file
ok 249 buildah-bud-policy
ok 250 bud-copy-replace-symlink
ok 251 bud-copy-recurse
ok 252 bud copy with .dockerignore #1
ok 253 bud copy with .dockerignore #2
ok 254 bud-copy-workdir
ok 255 bud-copy-workdir --layers
ok 256 bud-build-arg-cache
ok 257 bud test RUN with a privileged command
ok 258 bud-copy-dockerignore-hardlinks
ok 259 bud without any arguments should succeed
ok 260 bud without any arguments should fail when no Dockerfile exists
ok 261 bud with specified context should fail if directory contains no Dockerfile
ok 262 bud with specified context should fail if Dockerfile in context directory is actually a file
ok 263 bud with specified context should fail if context directory does not exist
ok 264 bud with specified context should succeed if context contains existing Dockerfile
ok 265 bud with specified context should fail if context contains empty Dockerfile
ok 266 bud-no-change
ok 267 bud-no-change-label
ok 268 bud-no-change-annotation
ok 269 bud-squash-layers
ok 270 bud-squash-hardlinks
ok 271 rootless: support --device and renaming device using bind-mount
ok 272 bud with additional directory of devices
ok 273 bud with additional device
ok 274 bud with Containerfile
ok 275 bud with Containerfile.in, --cpp-flag
ok 276 bud with Containerfile.in, via envariable
ok 277 bud with Dockerfile
ok 278 bud with Containerfile and Dockerfile
ok 279 bud-http-context-with-Containerfile
ok 280 bud with Dockerfile from stdin
ok 281 bud with Dockerfile from stdin tar
ok 282 bud containerfile with args
not ok 283 bud using gitrepo and branch
(from function `die' in file /home/container_test/buildah/test/system/helpers.bash, line 440,
from function `run_buildah' in file /home/container_test/buildah/test/system/helpers.bash, line 427,
in test file /home/container_test/buildah/test/system/bud.bats, line 4929)
`run_buildah build $WITH_POLICY_JSON --layers -t gittarget -f$BUDFILES/shell/Dockerfile git://localhost:$ {GITPORT}/repo#release-1.11-rhel' failed
/home/container_test/buildah/test/system /home/container_test/log/1117105107/buildah
process 1248964 listening on port 34045
# /usr/bin/buildah build --signature-policy /home/container_test/buildah/test/system/policy.json --layers -t gittarget -f /home/container_test/buildah/test/system/bud/shell/Dockerfile git://localhost:34045/repo#release-1.11-rhel
Error: prepping temporary context directory: cloning "git://localhost:34045/repo#release-1.11-rhel" to "/var/tmp/buildah3874741596":
fatal: unable to access 'https://localhost:34045/repo/': OpenSSL SSL_connect: SSL_ERROR_ZERO_RETURN in connection to localhost:34045
: failed while performing
git fetch: exit status 128[ rc=125 (** EXPECTED 0 **) ]
#/vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
#| FAIL: exit code is 125; expected 0
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/container_test/log/1117105107/buildah
ok 284 bud using gitrepo with .git and branch
ok 285 bud containerfile with tar archive in copy
ok 286 bud pull never
ok 287 bud pull false no local image
ok 288 bud with Containerfile should fail with nonexistent authfile
ok 289 bud for multi-stage Containerfile with invalid registry and --authfile as a fd, should fail with no such host
ok 290 bud COPY with URL should fail
ok 291 bud quiet
ok 292 bud COPY with Env Var in Containerfile
ok 293 bud with custom arch
ok 294 bud with custom os
ok 295 bud with custom os-version
ok 296 bud with custom os-features
ok 297 bud with custom platform
ok 298 bud with custom platform and empty os or arch
ok 299 bud Add with linked tarball
ok 300 bud file above context directory
ok 301 bud-multi-stage-args-scope
ok 302 bud-multi-stage-args-history
ok 303 bud-implicit-no-history
ok 304 bud with encrypted FROM image
ok 305 bud with --build-arg
ok 306 bud arg and env var with same name
ok 307 bud copy chown with newuser
ok 308 bud-builder-identity
ok 309 run check --from with arg
ok 310 bud preserve rootfs for --mount=type=bind,from=
ok 311 bud timestamp
ok 312 bud timestamp compare
ok 313 bud with-rusage
ok 314 bud with-rusage-logfile
ok 315 bud-caching-from-scratch
ok 316 bud-caching-from-scratch-config
ok 317 bud capabilities test
ok 318 bud does not gobble stdin
ok 319 bud cache by format
ok 320 bud cache add-copy-chown
ok 321 bud-terminal
ok 322 bud --ignorefile containerignore
ok 323 bud with network options
ok 324 bud-replace-from-in-containerfile
ok 325 bud test no --stdin
ok 326 bud with --arch flag
ok 327 bud with --manifest flag new manifest
ok 328 bud with --manifest flag existing manifest
ok 329 bud test empty newdir
ok 330 bud retain intermediary image
ok 331 bud --pull=ifmissing --arch test
ok 332 bud --file with directory
ok 333 bud --authfile
ok 334 build verify cache behaviour with --cache-ttl
ok 335 build verify cache must reuse most recent layer in conflict
ok 336 build verify cache behaviour with --cache-ttl=0s
ok 337 build test pushing and pulling from multiple remote cache sources
ok 338 build test pushing and pulling from remote cache sources
ok 339 build test pushing and pulling from remote cache sources - after adding content summary
ok 340 build test run mounting stage cached from remote cache source
ok 341 bud with undefined build arg directory
ok 342 bud with arg in from statement
ok 343 bud with --runtime and --runtime-flag
ok 344 bud - invalid runtime flags test
ok 345 bud - accept at most one arg
ok 346 bud with --no-hostname
ok 347 bud with --add-host
ok 348 bud with --add-host with host-gateway
not ok 349 bud with --cgroup-parent
(from function `die' in file /home/container_test/buildah/test/system/helpers.bash, line 440,
from function `run_buildah' in file /home/container_test/buildah/test/system/helpers.bash, line 427,
in test file /home/container_test/buildah/test/system/bud.bats, line 6406)
`run_buildah --cgroup-manager cgroupfs build --cgroupns=host --cgroup-parent test-cgroup -t with-flag ' failed
/home/container_test/buildah/test/system /home/container_test/log/1117105107/buildah
# [checking for: docker.io/library/alpine]
# [restoring from cache: /tmp/bats-run-mTH1ZB/suite/buildah-image-cache / docker.io/library/alpine]
Getting image source signatures
Copying blob sha256:9d16cba9fb961d1aafec9542f2bf7cb64acfc55245f9e4eb5abecd4cdc38d749
Copying config sha256:961769676411f082461f9ef46626dd7a2d1e2b2a38e6a44364bcbecf51e66dd4
Writing manifest to image destination
# /usr/bin/buildah --cgroup-manager cgroupfs build --cgroupns=host --cgroup-parent test-cgroup -t with-flag --runtime /home/container_test/buildah/test/system/../bin/dumpspec --signature-policy /home/container_test/buildah/test/system/policy.json --file /tmp/buildah_tests.weoai1/my-dir/Containerfile .
STEP 1/2: FROM alpine
STEP 2/2: RUN .linux.cgroupsPath
error running container: from /home/container_test/buildah/test/system/../bin/dumpspec creating container for [/bin/sh -c .linux.cgroupsPath]: : fork/exec /home/container_test/buildah/test/system/../bin/dumpspec: no such file or directory
time="2025-12-01T13:14:23+05:30" level=error msg="did not get container create message from subprocess: EOF"
Error: building at STEP "RUN .linux.cgroupsPath": while running runtime: exit status 1
[ rc=1 (** EXPECTED 0 **) ]
#/vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
#| FAIL: exit code is 1; expected 0
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/container_test/log/1117105107/buildah
ok 350 bud with --cpu-period and --cpu-quota
ok 351 bud check mount /sys/fs/cgroup
ok 352 bud with --cpu-shares, checked
ok 353 bud with --cpuset-cpus
ok 354 bud with --cpuset-mems
ok 355 bud with --isolation
ok 356 bud with --pull-always
ok 357 bud with --memory and --memory-swap
ok 358 bud with --shm-size
ok 359 bud with --ulimit
ok 360 bud with .dockerignore #3
ok 361 bud with copy --exclude
ok 362 bud with copy --parents
ok 363 bud-copy--parents-links
ok 364 bud with containerfile secret
ok 365 bud with containerfile secret and secret is accessed twice and build should be successful
ok 366 bud with containerfile secret accessed on second RUN
ok 367 bud with default mode perms
ok 368 bud with containerfile secret options
ok 369 bud with containerfile secret not required
ok 370 bud with containerfile secret required
ok 371 bud with containerfile env secret
ok 372 bud with containerfile env secret priority
ok 373 bud-multiple-platform-values # skip FIXME: #4396 - this test is broken, and is failing gating tests
ok 374 bud-multiple-platform-no-partial-manifest-list
ok 375 bud-multiple-platform-failure # skip unable to run arm container, assuming emulation is not available
ok 376 bud-multiple-platform-no-run
ok 377 bud-multiple-platform-with-base-as-default-arg
ok 378 bud-multiple-platform for --all-platform with additional-build-context
ok 379 bud-targetplatform-as-build-arg
ok 380 build must reset platform for stages if needed
ok 381 bud-multistage-relabel
ok 382 bud-from-relabel
ok 383 bud with run should not leave mounts behind cleanup test
ok 384 bud with custom files in /run/ should persist cleanup test
ok 385 bud-with-mount-like-buildkit
ok 386 bud-with-mount-no-source-like-buildkit
ok 387 bud-with-mount-with-only-target-like-buildkit
ok 388 bud-with-mount-no-subdir-like-buildkit
ok 389 bud-with-mount-relative-path-like-buildkit
ok 390 bud-with-mount-relative-path-like-buildkit-arg-in-source
ok 391 bud-with-mount-with-rw-like-buildkit
ok 392 bud-verify-if-we-dont-clean-preexisting-path
ok 393 bud-with-mount-with-tmpfs-like-buildkit
ok 394 bud-with-mount-with-tmpfs-with-copyup-like-buildkit
ok 395 bud-with-mount-cache-like-buildkit
ok 396 bud-with-mount-cache-like-buildkit with buildah prune should clear the cache
ok 397 bud-with-mount-cache-like-buildkit-verify-default-selinux-option
ok 398 bud-with-mount-cache-like-buildkit-locked-across-steps
ok 399 bud-with-multiple-mount-keeps-default-bind-mount
ok 400 bud with user in groups
ok 401 build proxy
ok 402 bud-with-mount-bind-from-like-buildkit
ok 403 bud-with-writeable-mount-bind-from-like-buildkit
ok 404 bud-with-mount-bind-from-without-source-like-buildkit
ok 405 bud-with-mount-bind-from-with-empty-from-like-buildkit
ok 406 bud-with-mount-cache-from-like-buildkit
ok 407 bud-with-mount-cache-image-from-like-buildkit
ok 408 bud-with-mount-cache-multiple-from-like-buildkit
ok 409 bud-with-mount-bind-from-relative-like-buildkit
ok 410 bud-with-mount-bind-from-multistage-relative-like-buildkit
ok 411 bud-with-mount-bind-from-cache-multistage-relative-like-buildkit
ok 412 bud with network names
ok 413 bud with --network slirp4netns
ok 414 bud with --network pasta # skip pasta only works rootless
ok 415 bud WORKDIR owned by USER
ok 416 build interrupted
ok 417 build terminated
ok 418 build killed
ok 419 build-multiple-parse
ok 420 build-with-network-test
ok 421 build-with-no-new-privileges-test
ok 422 build --group-add # skip test is being run by root or without any supplemental groups (uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023)
ok 423 build-env-precedence
ok 424 build prints 12-digit hash
ok 425 build with name path changes
ok 426 build test default ulimits # skip FIXME: we cannot rely on podman-run ulimits matching buildah-bud (see #5820)
ok 427 build no write file on host - CVE-2024-1753
ok 428 pull policy
ok 429 build-test --mount=type=secret test from env with chroot isolation # skip Need to not be root for this test to work
ok 430 build-logs-from-platform
ok 431 build add https retry ca
ok 432 bud with ADD with git repository source
ok 433 build-validates-bind-bind-propagation
ok 434 build-validates-cache-bind-propagation
ok 435 build-check-cve-2024-9675
ok 436 build-mounts-implicit-workdir
ok 437 build-security-opt-mask
ok 438 build-mounts-build-context-rw
ok 439 build-with-two-outputs
ok 440 build-with-timestamp-applies-to-oci-archive
ok 441 bud-source-date-epoch-arg
ok 442 bud-with-source-date-epoch-env
ok 443 bud-with-timestamp-config-effects
ok 444 bud-sets-created-annotation
ok 445 bud-with-source-date-epoch-arg
ok 446 bud source-date-epoch and timestamp inform cache checks
ok 447 bud unset/inherit=false for labels and annotations inform cache checks
ok 448 bud --link consistent diffID with --no-cache
ok 449 bud --link consistent diffID with different base images
ok 450 bud --link consistent diffID with multiple files
ok 451 bud --link with glob patterns consistent diffID
ok 452 bud --link cache behavior basic
ok 453 bud --link with chmod and chown
ok 454 bud --link multi-stage build cache
ok 455 bud --link ADD with remote URL consistent diffID
ok 456 bud --link respects dockerignore
ok 457 bud multi-platform --layers should create separate images for each platform
ok 458 bud multi-platform --layers should not reuse different platform if default platform is being used
ok 459 bud --layers should not include pulled up parent directories of mount points
ok 460 bud should include excluded pulled up parent directories in squashed images
ok 461 bud with a previously-used graphroot with base image in it used as imagestore # skip imagestore flag is compatible with overlay, but not vfs
[root@localhost buildah]#
This the one we are facing the error, so can you please advise us how to resolve this case.
Thankyou.
Beta Was this translation helpful? Give feedback.
All reactions