Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firewalld 2.2.1 → 2.3.0 blocks local podman ports on RHEL 10 #7291

Open
martinpitt opened this issue Jan 7, 2025 · 3 comments
Open

firewalld 2.2.1 → 2.3.0 blocks local podman ports on RHEL 10 #7291

martinpitt opened this issue Jan 7, 2025 · 3 comments

Comments

@martinpitt
Copy link
Member

Downstream report: https://issues.redhat.com/browse/RHEL-72937

@cockpituous
Copy link
Contributor

rhel-10-0
Ooops, it happened again


subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '3001', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-822', '127.0.0.2', 'set -e;', 'podman tag localhost/test-busybox localhost:5000/my-busybox; podman push localhost:5000/my-busybox')' returned non-zero exit status 125.

Wrote screenshot to TestApplication-testCreateContainerSystem-rhel-10-0-127.0.0.2-3001-FAIL.png
Wrote HTML dump to TestApplication-testCreateContainerSystem-rhel-10-0-127.0.0.2-3001-FAIL.html
Journal extracted to TestApplication-testCreateContainerSystem-rhel-10-0-127.0.0.2-3001-FAIL.log.gz
Connection to 127.0.0.2 closed by remote host.
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/check-application", line 1722, in testCreateContainerSystem
    self._testCreateContainer(True)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/work/make-checkout-workdir/test/check-application", line 1736, in _testCreateContainer
    self.execute(True,
    ~~~~~~~~~~~~^^^^^^
                 f"podman tag {IMG_BUSYBOX} localhost:5000/my-busybox; podman push localhost:5000/my-busybox")
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/check-application", line 211, in execute
    return self.machine.execute(cmd)
           ~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/work/make-checkout-workdir/bots/machine/machine_core/ssh_connection.py", line 327, in execute
    res = subprocess.run(command_line,
                         input=input.encode("UTF-8") if input else b'',
                         stdout=stdout, check=check)
  File "/usr/lib64/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '3001', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-822', '127.0.0.2', 'set -e;', 'podman tag localhost/test-busybox localhost:5000/my-busybox; podman push localhost:5000/my-busybox')' returned non-zero exit status 125.

# Result testCreateContainerSystem (__main__.TestApplication.testCreateContainerSystem) failed
# 1 TEST FAILED [40s on 8763f606e969]
not ok 8 /work/make-checkout-workdir/test/check-application TestApplication.testCreateContainerSystem [ND@7]

First occurrence: 2025-01-07T07:19:08.643038+00:00 | revision d222794
Times recorded: 1
Latest occurrences:

  • 2025-01-07T07:19:08.643038+00:00 | revision d222794

@cockpituous
Copy link
Contributor

rhel-10-0
Ooops, it happened again


subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '2901', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-2657', '127.0.0.2', 'set -e;', 'podman tag localhost/test-busybox localhost:5000/my-busybox; podman push localhost:5000/my-busybox')' returned non-zero exit status 125.

Wrote screenshot to TestApplication-testCreateContainerUser-rhel-10-0-127.0.0.2-2901-FAIL.png
Wrote HTML dump to TestApplication-testCreateContainerUser-rhel-10-0-127.0.0.2-2901-FAIL.html
Journal extracted to TestApplication-testCreateContainerUser-rhel-10-0-127.0.0.2-2901-FAIL.log.gz
Connection to 127.0.0.2 closed by remote host.
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/check-application", line 1725, in testCreateContainerUser
    self._testCreateContainer(False)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/work/make-checkout-workdir/test/check-application", line 1736, in _testCreateContainer
    self.execute(True,
    ~~~~~~~~~~~~^^^^^^
                 f"podman tag {IMG_BUSYBOX} localhost:5000/my-busybox; podman push localhost:5000/my-busybox")
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/check-application", line 211, in execute
    return self.machine.execute(cmd)
           ~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/work/make-checkout-workdir/bots/machine/machine_core/ssh_connection.py", line 327, in execute
    res = subprocess.run(command_line,
                         input=input.encode("UTF-8") if input else b'',
                         stdout=stdout, check=check)
  File "/usr/lib64/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '2901', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-2657', '127.0.0.2', 'set -e;', 'podman tag localhost/test-busybox localhost:5000/my-busybox; podman push localhost:5000/my-busybox')' returned non-zero exit status 125.

# Result testCreateContainerUser (__main__.TestApplication.testCreateContainerUser) failed
# 1 TEST FAILED [18s on 8763f606e969]
not ok 9 /work/make-checkout-workdir/test/check-application TestApplication.testCreateContainerUser [ND@6]

First occurrence: 2025-01-07T07:19:21.019162+00:00 | revision d222794
Times recorded: 1
Latest occurrences:

  • 2025-01-07T07:19:21.019162+00:00 | revision d222794

@cockpituous
Copy link
Contributor

cockpituous commented Jan 7, 2025

rhel-10-0
Ooops, it happened again


subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '3001', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-3583', '127.0.0.2', 'set -e;', 'podman tag localhost/test-busybox localhost:5000/my-busybox; podman push localhost:5000/my-busybox')' returned non-zero exit status 125.

Wrote screenshot to TestApplication-testDownloadImage-rhel-10-0-127.0.0.2-3001-FAIL.png
Wrote HTML dump to TestApplication-testDownloadImage-rhel-10-0-127.0.0.2-3001-FAIL.html
Journal extracted to TestApplication-testDownloadImage-rhel-10-0-127.0.0.2-3001-FAIL.log.gz
Connection to 127.0.0.2 closed by remote host.
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/check-application", line 1159, in testDownloadImage
    prepare()
    ~~~~~~~^^
  File "/work/make-checkout-workdir/test/check-application", line 1046, in prepare
    self.execute(True,
    ~~~~~~~~~~~~^^^^^^
                 f"podman tag {IMG_BUSYBOX} localhost:5000/my-busybox; podman push localhost:5000/my-busybox")
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/check-application", line 211, in execute
    return self.machine.execute(cmd)
           ~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/work/make-checkout-workdir/bots/machine/machine_core/ssh_connection.py", line 327, in execute
    res = subprocess.run(command_line,
                         input=input.encode("UTF-8") if input else b'',
                         stdout=stdout, check=check)
  File "/usr/lib64/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '3001', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-3583', '127.0.0.2', 'set -e;', 'podman tag localhost/test-busybox localhost:5000/my-busybox; podman push localhost:5000/my-busybox')' returned non-zero exit status 125.

# Result testDownloadImage (__main__.TestApplication.testDownloadImage) failed
# 1 TEST FAILED [16s on 8763f606e969]
not ok 13 /work/make-checkout-workdir/test/check-application TestApplication.testDownloadImage [ND@7]

First occurrence: 2025-01-07T07:19:26.272950+00:00 | revision d222794
Times recorded: 1
Latest occurrences:

  • 2025-01-07T07:19:26.272950+00:00 | revision d222794

input=input.encode("UTF-8") if input else b'',
                         stdout=stdout, check=check)
  File "/usr/lib64/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '2701', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-9019', '127.0.0.2', 'set -e;', 'podman push localhost:5000/test-image:1; podman rmi localhost:5000/test-image:1')' returned non-zero exit status 125.

Wrote screenshot to TestApplication-testPullImage-rhel-10-0-127.0.0.2-2701-FAIL.png
Wrote HTML dump to TestApplication-testPullImage-rhel-10-0-127.0.0.2-2701-FAIL.html
Journal extracted to TestApplication-testPullImage-rhel-10-0-127.0.0.2-2701-FAIL.log.gz
Connection to 127.0.0.2 closed by remote host.
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/check-application", line 1244, in testPullImage
    self.execute(True, f"podman push {image1}; podman rmi {image1}")
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/check-application", line 211, in execute
    return self.machine.execute(cmd)
           ~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/work/make-checkout-workdir/bots/machine/machine_core/ssh_connection.py", line 327, in execute
    res = subprocess.run(command_line,
                         input=input.encode("UTF-8") if input else b'',
                         stdout=stdout, check=check)
  File "/usr/lib64/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '2701', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-9019', '127.0.0.2', 'set -e;', 'podman push localhost:5000/test-image:1; podman rmi localhost:5000/test-image:1')' returned non-zero exit status 125.

# Result testPullImage (__main__.TestApplication.testPullImage) failed
# 1 TEST FAILED [17s on 8763f606e969]
not ok 34 /work/make-checkout-workdir/test/check-application TestApplication.testPullImage [ND@4]

First occurrence: 2025-01-07T07:20:41.466666+00:00 | revision d222794
Times recorded: 1
Latest occurrences:

  • 2025-01-07T07:20:41.466666+00:00 | revision d222794

subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '3001', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-3121', '127.0.0.2', 'set -e;', 'podman tag localhost/test-busybox localhost:5000/my-busybox; podman push localhost:5000/my-busybox')' returned non-zero exit status 125.

Wrote screenshot to TestApplication-testCreateContainerUser-rhel-10-0-127.0.0.2-3001-FAIL.png
Wrote HTML dump to TestApplication-testCreateContainerUser-rhel-10-0-127.0.0.2-3001-FAIL.html
Journal extracted to TestApplication-testCreateContainerUser-rhel-10-0-127.0.0.2-3001-FAIL.log.gz
Connection to 127.0.0.2 closed by remote host.
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/check-application", line 1720, in testCreateContainerUser
    self._testCreateContainer(False)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/work/make-checkout-workdir/test/check-application", line 1731, in _testCreateContainer
    self.execute(True,
    ~~~~~~~~~~~~^^^^^^
                 f"podman tag {IMG_BUSYBOX} localhost:5000/my-busybox; podman push localhost:5000/my-busybox")
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/check-application", line 211, in execute
    return self.machine.execute(cmd)
           ~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/work/make-checkout-workdir/bots/machine/machine_core/ssh_connection.py", line 327, in execute
    res = subprocess.run(command_line,
                         input=input.encode("UTF-8") if input else b'',
                         stdout=stdout, check=check)
  File "/usr/lib64/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '3001', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-3121', '127.0.0.2', 'set -e;', 'podman tag localhost/test-busybox localhost:5000/my-busybox; podman push localhost:5000/my-busybox')' returned non-zero exit status 125.

# Result testCreateContainerUser (__main__.TestApplication.testCreateContainerUser) failed
# 1 TEST FAILED [19s on c8e9d1bd577d]
not ok 9 /work/make-checkout-workdir/test/check-application TestApplication.testCreateContainerUser [ND@7]

First occurrence: 2025-01-07T08:51:59.952244+00:00 | revision d984f34829165bbba070e50c17d60aa72355d38c
Times recorded: 1
Latest occurrences:

  • 2025-01-07T08:51:59.952244+00:00 | revision d984f34829165bbba070e50c17d60aa72355d38c

subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '2701', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-7116', '127.0.0.2', 'set -e;', 'podman tag localhost/test-busybox localhost:5000/my-busybox; podman push localhost:5000/my-busybox')' returned non-zero exit status 125.

Wrote screenshot to TestApplication-testDownloadImage-rhel-10-0-127.0.0.2-2701-FAIL.png
Wrote HTML dump to TestApplication-testDownloadImage-rhel-10-0-127.0.0.2-2701-FAIL.html
Journal extracted to TestApplication-testDownloadImage-rhel-10-0-127.0.0.2-2701-FAIL.log.gz
Connection to 127.0.0.2 closed by remote host.
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/check-application", line 1154, in testDownloadImage
    prepare()
    ~~~~~~~^^
  File "/work/make-checkout-workdir/test/check-application", line 1041, in prepare
    self.execute(True,
    ~~~~~~~~~~~~^^^^^^
                 f"podman tag {IMG_BUSYBOX} localhost:5000/my-busybox; podman push localhost:5000/my-busybox")
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/check-application", line 211, in execute
    return self.machine.execute(cmd)
           ~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/work/make-checkout-workdir/bots/machine/machine_core/ssh_connection.py", line 327, in execute
    res = subprocess.run(command_line,
                         input=input.encode("UTF-8") if input else b'',
                         stdout=stdout, check=check)
  File "/usr/lib64/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '2701', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-7116', '127.0.0.2', 'set -e;', 'podman tag localhost/test-busybox localhost:5000/my-busybox; podman push localhost:5000/my-busybox')' returned non-zero exit status 125.

# Result testDownloadImage (__main__.TestApplication.testDownloadImage) failed
# 1 TEST FAILED [18s on c8e9d1bd577d]
not ok 13 /work/make-checkout-workdir/test/check-application TestApplication.testDownloadImage [ND@4]

First occurrence: 2025-01-07T08:52:48.810203+00:00 | revision d984f34829165bbba070e50c17d60aa72355d38c
Times recorded: 1
Latest occurrences:

  • 2025-01-07T08:52:48.810203+00:00 | revision d984f34829165bbba070e50c17d60aa72355d38c

input=input.encode("UTF-8") if input else b'',
                         stdout=stdout, check=check)
  File "/usr/lib64/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '2901', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-22863', '127.0.0.2', 'set -e;', 'podman push localhost:5000/test-image:1; podman rmi localhost:5000/test-image:1')' returned non-zero exit status 125.

Wrote screenshot to TestApplication-testPullImage-rhel-10-0-127.0.0.2-2901-FAIL.png
Wrote HTML dump to TestApplication-testPullImage-rhel-10-0-127.0.0.2-2901-FAIL.html
Journal extracted to TestApplication-testPullImage-rhel-10-0-127.0.0.2-2901-FAIL.log.gz
Connection to 127.0.0.2 closed by remote host.
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/check-application", line 1239, in testPullImage
    self.execute(True, f"podman push {image1}; podman rmi {image1}")
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/check-application", line 211, in execute
    return self.machine.execute(cmd)
           ~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/work/make-checkout-workdir/bots/machine/machine_core/ssh_connection.py", line 327, in execute
    res = subprocess.run(command_line,
                         input=input.encode("UTF-8") if input else b'',
                         stdout=stdout, check=check)
  File "/usr/lib64/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '2901', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-22863', '127.0.0.2', 'set -e;', 'podman push localhost:5000/test-image:1; podman rmi localhost:5000/test-image:1')' returned non-zero exit status 125.

# Result testPullImage (__main__.TestApplication.testPullImage) failed
# 1 TEST FAILED [18s on c8e9d1bd577d]
not ok 34 /work/make-checkout-workdir/test/check-application TestApplication.testPullImage [ND@6]

First occurrence: 2025-01-07T08:56:49.739149+00:00 | revision d984f34829165bbba070e50c17d60aa72355d38c
Times recorded: 1
Latest occurrences:

  • 2025-01-07T08:56:49.739149+00:00 | revision d984f34829165bbba070e50c17d60aa72355d38c

subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '2701', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-3474', '127.0.0.2', 'set -e;', 'podman tag localhost/test-busybox localhost:5000/my-busybox; podman push localhost:5000/my-busybox')' returned non-zero exit status 125.

Wrote screenshot to TestApplication-testDownloadImage-rhel-10-0-127.0.0.2-2701-FAIL.png
Wrote HTML dump to TestApplication-testDownloadImage-rhel-10-0-127.0.0.2-2701-FAIL.html
Journal extracted to TestApplication-testDownloadImage-rhel-10-0-127.0.0.2-2701-FAIL.log.gz
Connection to 127.0.0.2 closed by remote host.
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/check-application", line 1159, in testDownloadImage
    prepare()
    ~~~~~~~^^
  File "/work/make-checkout-workdir/test/check-application", line 1046, in prepare
    self.execute(True,
    ~~~~~~~~~~~~^^^^^^
                 f"podman tag {IMG_BUSYBOX} localhost:5000/my-busybox; podman push localhost:5000/my-busybox")
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/check-application", line 211, in execute
    return self.machine.execute(cmd)
           ~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/work/make-checkout-workdir/bots/machine/machine_core/ssh_connection.py", line 327, in execute
    res = subprocess.run(command_line,
                         input=input.encode("UTF-8") if input else b'',
                         stdout=stdout, check=check)
  File "/usr/lib64/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '2701', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-3474', '127.0.0.2', 'set -e;', 'podman tag localhost/test-busybox localhost:5000/my-busybox; podman push localhost:5000/my-busybox')' returned non-zero exit status 125.

# Result testDownloadImage (__main__.TestApplication.testDownloadImage) failed
# 1 TEST FAILED [18s on dc96f77e8fb5]
not ok 13 /work/make-checkout-workdir/test/check-application TestApplication.testDownloadImage [ND@4]

First occurrence: 2025-01-07T12:15:36.201653+00:00 | revision 2b5bb779484c59f23a5e1d30d14e72d3d0be8a2f
Times recorded: 1
Latest occurrences:

  • 2025-01-07T12:15:36.201653+00:00 | revision 2b5bb779484c59f23a5e1d30d14e72d3d0be8a2f

input=input.encode("UTF-8") if input else b'',
                         stdout=stdout, check=check)
  File "/usr/lib64/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '2901', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-8976', '127.0.0.2', 'set -e;', 'podman push localhost:5000/test-image:1; podman rmi localhost:5000/test-image:1')' returned non-zero exit status 125.

Wrote screenshot to TestApplication-testPullImage-rhel-10-0-127.0.0.2-2901-FAIL.png
Wrote HTML dump to TestApplication-testPullImage-rhel-10-0-127.0.0.2-2901-FAIL.html
Journal extracted to TestApplication-testPullImage-rhel-10-0-127.0.0.2-2901-FAIL.log.gz
Connection to 127.0.0.2 closed by remote host.
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/check-application", line 1244, in testPullImage
    self.execute(True, f"podman push {image1}; podman rmi {image1}")
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/check-application", line 211, in execute
    return self.machine.execute(cmd)
           ~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/work/make-checkout-workdir/bots/machine/machine_core/ssh_connection.py", line 327, in execute
    res = subprocess.run(command_line,
                         input=input.encode("UTF-8") if input else b'',
                         stdout=stdout, check=check)
  File "/usr/lib64/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '2901', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-8976', '127.0.0.2', 'set -e;', 'podman push localhost:5000/test-image:1; podman rmi localhost:5000/test-image:1')' returned non-zero exit status 125.

# Result testPullImage (__main__.TestApplication.testPullImage) failed
# 1 TEST FAILED [18s on dc96f77e8fb5]
not ok 34 /work/make-checkout-workdir/test/check-application TestApplication.testPullImage [ND@6]

First occurrence: 2025-01-07T12:16:58.350173+00:00 | revision 2b5bb779484c59f23a5e1d30d14e72d3d0be8a2f
Times recorded: 1
Latest occurrences:

  • 2025-01-07T12:16:58.350173+00:00 | revision 2b5bb779484c59f23a5e1d30d14e72d3d0be8a2f

subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '3001', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-2817', '127.0.0.2', 'set -e;', 'podman tag localhost/test-busybox localhost:5000/my-busybox; podman push localhost:5000/my-busybox')' returned non-zero exit status 125.

Wrote screenshot to TestApplication-testCreateContainerUser-rhel-10-0-127.0.0.2-3001-FAIL.png
Wrote HTML dump to TestApplication-testCreateContainerUser-rhel-10-0-127.0.0.2-3001-FAIL.html
Journal extracted to TestApplication-testCreateContainerUser-rhel-10-0-127.0.0.2-3001-FAIL.log.gz
Connection to 127.0.0.2 closed by remote host.
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/check-application", line 1726, in testCreateContainerUser
    self._testCreateContainer(False)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/work/make-checkout-workdir/test/check-application", line 1737, in _testCreateContainer
    self.execute(True,
    ~~~~~~~~~~~~^^^^^^
                 f"podman tag {IMG_BUSYBOX} localhost:5000/my-busybox; podman push localhost:5000/my-busybox")
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/check-application", line 211, in execute
    return self.machine.execute(cmd)
           ~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/work/make-checkout-workdir/bots/machine/machine_core/ssh_connection.py", line 327, in execute
    res = subprocess.run(command_line,
                         input=input.encode("UTF-8") if input else b'',
                         stdout=stdout, check=check)
  File "/usr/lib64/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '3001', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-2817', '127.0.0.2', 'set -e;', 'podman tag localhost/test-busybox localhost:5000/my-busybox; podman push localhost:5000/my-busybox')' returned non-zero exit status 125.

# Result testCreateContainerUser (__main__.TestApplication.testCreateContainerUser) failed
# 1 TEST FAILED [20s on bb4bc2164aab]
not ok 9 /work/make-checkout-workdir/test/check-application TestApplication.testCreateContainerUser [ND@7]

First occurrence: 2025-01-07T13:39:53.531975+00:00 | revision 93fe60e4b62095db028f6bf9ec4e11e8817083bb
Times recorded: 1
Latest occurrences:

  • 2025-01-07T13:39:53.531975+00:00 | revision 93fe60e4b62095db028f6bf9ec4e11e8817083bb

subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '2401', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-7319', '127.0.0.2', 'set -e;', 'podman tag localhost/test-busybox localhost:5000/my-busybox; podman push localhost:5000/my-busybox')' returned non-zero exit status 125.

Wrote screenshot to TestApplication-testDownloadImage-rhel-10-0-127.0.0.2-2401-FAIL.png
Wrote HTML dump to TestApplication-testDownloadImage-rhel-10-0-127.0.0.2-2401-FAIL.html
Journal extracted to TestApplication-testDownloadImage-rhel-10-0-127.0.0.2-2401-FAIL.log.gz
Connection to 127.0.0.2 closed by remote host.
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/check-application", line 1160, in testDownloadImage
    prepare()
    ~~~~~~~^^
  File "/work/make-checkout-workdir/test/check-application", line 1047, in prepare
    self.execute(True,
    ~~~~~~~~~~~~^^^^^^
                 f"podman tag {IMG_BUSYBOX} localhost:5000/my-busybox; podman push localhost:5000/my-busybox")
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/check-application", line 211, in execute
    return self.machine.execute(cmd)
           ~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/work/make-checkout-workdir/bots/machine/machine_core/ssh_connection.py", line 327, in execute
    res = subprocess.run(command_line,
                         input=input.encode("UTF-8") if input else b'',
                         stdout=stdout, check=check)
  File "/usr/lib64/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '2401', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-7319', '127.0.0.2', 'set -e;', 'podman tag localhost/test-busybox localhost:5000/my-busybox; podman push localhost:5000/my-busybox')' returned non-zero exit status 125.

# Result testDownloadImage (__main__.TestApplication.testDownloadImage) failed
# 1 TEST FAILED [19s on bb4bc2164aab]
not ok 13 /work/make-checkout-workdir/test/check-application TestApplication.testDownloadImage [ND@2]

First occurrence: 2025-01-07T13:40:52.569216+00:00 | revision 93fe60e4b62095db028f6bf9ec4e11e8817083bb
Times recorded: 1
Latest occurrences:

  • 2025-01-07T13:40:52.569216+00:00 | revision 93fe60e4b62095db028f6bf9ec4e11e8817083bb

input=input.encode("UTF-8") if input else b'',
                         stdout=stdout, check=check)
  File "/usr/lib64/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '3001', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-22692', '127.0.0.2', 'set -e;', 'podman push localhost:5000/test-image:1; podman rmi localhost:5000/test-image:1')' returned non-zero exit status 125.

Wrote screenshot to TestApplication-testPullImage-rhel-10-0-127.0.0.2-3001-FAIL.png
Wrote HTML dump to TestApplication-testPullImage-rhel-10-0-127.0.0.2-3001-FAIL.html
Journal extracted to TestApplication-testPullImage-rhel-10-0-127.0.0.2-3001-FAIL.log.gz
Connection to 127.0.0.2 closed by remote host.
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/check-application", line 1240, in testPullImage
    self.execute(True, f"podman push {image1}; podman rmi {image1}")
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/check-application", line 211, in execute
    return self.machine.execute(cmd)
           ~~~~~~~~~~~~~~~~~~~~^^^^^
  File "/work/make-checkout-workdir/bots/machine/machine_core/ssh_connection.py", line 327, in execute
    res = subprocess.run(command_line,
                         input=input.encode("UTF-8") if input else b'',
                         stdout=stdout, check=check)
  File "/usr/lib64/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('env', '-u', 'LANGUAGE', 'LC_ALL=C', 'ssh', '-p', '3001', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'LogLevel=ERROR', '-l', 'root', '-o', 'ControlPath=/tmp/.cockpit-test-resources/ssh-%C-22692', '127.0.0.2', 'set -e;', 'podman push localhost:5000/test-image:1; podman rmi localhost:5000/test-image:1')' returned non-zero exit status 125.

# Result testPullImage (__main__.TestApplication.testPullImage) failed
# 1 TEST FAILED [18s on 7dac2c21802f]
not ok 34 /work/make-checkout-workdir/test/check-application TestApplication.testPullImage [ND@7]

First occurrence: 2025-01-08T07:48:28.051245+00:00 | revision fc903b546150a28d4b33b87ca76482c0793b3ff1
Times recorded: 1
Latest occurrences:

  • 2025-01-08T07:48:28.051245+00:00 | revision fc903b546150a28d4b33b87ca76482c0793b3ff1

martinpitt added a commit to martinpitt/cockpit-podman that referenced this issue Jan 7, 2025
RHEL 10 started to break `podman -p` port forwarding to localhost by
default [1]. This was a deliberate change [2][3]. We really don't care
about firewalling localhost ports from containers (does anybody
really?), so revert back to the previous behaviour (which is still the
default on Fedora) of having StrictForwardPorts=no.

This obsoletes our naughty cockpit-project/bots#7291

[1] https://issues.redhat.com/browse/RHEL-72937
[2] https://firewalld.org/2024/11/strict-forward-ports
[3] firewalld/firewalld#1380
martinpitt added a commit to martinpitt/cockpit-podman that referenced this issue Jan 8, 2025
RHEL 10 started to break `podman -p` port forwarding to localhost by
default [1]. This was a deliberate change [2][3]. We really don't care
about firewalling localhost ports from containers (does anybody
really?), so revert back to the previous behaviour (which is still the
default on Fedora) of having StrictForwardPorts=no.

This obsoletes our naughty cockpit-project/bots#7291

[1] https://issues.redhat.com/browse/RHEL-72937
[2] https://firewalld.org/2024/11/strict-forward-ports
[3] firewalld/firewalld#1380
martinpitt added a commit to cockpit-project/cockpit-podman that referenced this issue Jan 8, 2025
RHEL 10 started to break `podman -p` port forwarding to localhost by
default [1]. This was a deliberate change [2][3]. We really don't care
about firewalling localhost ports from containers (does anybody
really?), so revert back to the previous behaviour (which is still the
default on Fedora) of having StrictForwardPorts=no.

This obsoletes our naughty cockpit-project/bots#7291

[1] https://issues.redhat.com/browse/RHEL-72937
[2] https://firewalld.org/2024/11/strict-forward-ports
[3] firewalld/firewalld#1380
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants