Uploaded image for project: 'RHEL Testing'
  1. RHEL Testing
  2. RHELTEST-993

[rhel-9] podman: Error: crun: executable file `/no/such/command` not found: No such file or directory: OCI runtime attempted to invoke a command that was not found

    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • rhel-container-tools

      This is a script problem that the error message expr is not match the RHEL version.

      [2025-04-15 00:55:22] 030-run.bats
      [00:55:22] START - All [+xxxx] lines that follow are relative to 2025-04-15T00:55:22.
      [+0000s] 1..4
      [+0006s] not ok 1 [030] podman run - basic tests
      [+0006s] # tags: ci:parallel distro-integration
      [+0006s] # (from function `basic_teardown' in file /usr/share/podman/test/system/helpers.bash, line 255,
      [+0006s] #  from function `teardown' in test file /usr/share/podman/test/system/helpers.bash, line 265)
      [+0006s] #   `basic_teardown' failed
      [+0006s] #
      [+0006s] # [00:55:23.262152196] # podman run --rm quay.io/libpod/testimage:20241011 true
      [+0006s] #
      [+0006s] # [00:55:24.304810067] # podman run --rm quay.io/libpod/testimage:20241011 false
      [+0006s] # [00:55:25.099410334] [ rc=1 (expected) ]
      [+0006s] #
      [+0006s] # [00:55:25.110395376] # podman run --rm quay.io/libpod/testimage:20241011 sh -c exit 32
      [+0006s] # [00:55:25.917876954] [ rc=32 (expected) ]
      [+0006s] #
      [+0006s] # [00:55:25.928582234] # podman run --rm quay.io/libpod/testimage:20241011 echo WyB9xquZAFzbtPkZwIJVprwYtIvlmw
      [+0006s] # [00:55:26.697387265] WyB9xquZAFzbtPkZwIJVprwYtIvlmw
      [+0006s] #
      [+0006s] # [00:55:26.708535241] # podman run --rm quay.io/libpod/testimage:20241011 /no/such/command
      [+0006s] # [00:55:27.465153169] Error: crun: executable file `/no/such/command` not found: No such file or directory: OCI runtime attempted to invoke a command that was not found
      [+0006s] # [00:55:27.468230859] [ rc=127 (expected) ]
      [+0006s] #
      [+0006s] # [00:55:27.484406141] # podman run --rm quay.io/libpod/testimage:20241011 /etc
      [+0006s] # [00:55:28.328503435] Error: crun: the path `/etc` is not a regular file: Operation not permitted: OCI permission denied
      [+0006s] # [00:55:28.332241581] [ rc=126 (expected) ]
      [+0006s] # #/vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
      [+0006s] # #|     FAIL: podman run /etc - output
      [+0006s] # #| expected: 'Error:.*exec.*\(permission denied\|is a directory\)' (using expr)
      [+0006s] # #|   actual: 'Error: crun: the path `/etc` is not a regular file: Operation not permitted: OCI permission denied'
      [+0006s] # #\^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      [+0006s] # # [teardown]
      [+0006s] # #/vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
      [+0006s] # #| FAIL: 1 test assertions failed. Search for 'FAIL:' above this line.
      [+0006s] # #\^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      [+0006s] ok 2 [030] podman run : add username to /etc/passwd if --userns=keep-id # skip [rootful] --userns=keep-id only works in rootless mode
      [+0008s] ok 3 [030] podman run - does not truncate or hang with big output
      [+0009s] ok 4 [030] podman run --device-read-bps
      [00:55:31] END - [+0009s] total duration since 2025-04-15T00:55:31
       

      test logs: https://datawarehouse.cki-project.org/kcidb/tests/17325799

              chuanchangjia Alex Jia
              ypu@redhat.com Yiqiao Pu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: