bots icon indicating copy to clipboard operation
bots copied to clipboard

freeipa-install broke on debian-testing

Open jelly opened this issue 1 month ago • 1 comments

Issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1118599

jelly avatar Oct 23 '25 09:10 jelly

debian-testing Ooops, it happened again


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', '-F', 'none', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-oHostname=127.0.0.2', '-oLogLevel=ERROR', '-oPort=2301', '-oUser=root', '-oControlPath=/tmp/.cockpit-test-resources/ssh-%C-21804', 'vm', 'set -e;', 'echo foobarfoo | realm join -vU admin cockpit.lan')' returned non-zero exit status 1.

Wrote screenshot to TestIPA-testUnqualifiedUsers-debian-testing-127.0.0.2-2301-FAIL.png
Wrote HTML dump to TestIPA-testUnqualifiedUsers-debian-testing-127.0.0.2-2301-FAIL.html
Journal extracted to TestIPA-testUnqualifiedUsers-debian-testing-127.0.0.2-2301-FAIL.log.gz
Journal extracted to TestIPA-testUnqualifiedUsers-services-127.0.0.2-2302-FAIL.log.gz
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-system-realms", line 646, in testUnqualifiedUsers
    super().testUnqualifiedUsers()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/work/make-checkout-workdir/test/verify/check-system-realms", line 293, in testUnqualifiedUsers
    m.execute(f"echo {self.admin_password} | realm join -vU {self.admin_user} cockpit.lan", timeout=300)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/bots/machine/machine_core/ssh_connection.py", line 337, 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', '-F', 'none', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-oHostname=127.0.0.2', '-oLogLevel=ERROR', '-oPort=2301', '-oUser=root', '-oControlPath=/tmp/.cockpit-test-resources/ssh-%C-21804', 'vm', 'set -e;', 'echo foobarfoo | realm join -vU admin cockpit.lan')' returned non-zero exit status 1.

# Result testUnqualifiedUsers (__main__.TestIPA.testUnqualifiedUsers) failed
# 1 TEST FAILED [78s on 36723875ae25]
not ok 61 test/verify/check-system-realms TestIPA.testUnqualifiedUsers $2

First occurrence: 2025-10-23T11:36:52.377268+00:00 | revision 03ad9f4339901c2cabb2eccae8899342dd68df9e Times recorded: 1 Latest occurrences:

  • 2025-10-23T11:36:52.377268+00:00 | revision 03ad9f4339901c2cabb2eccae8899342dd68df9e

self.wait_js_cond("%s(%s)" % (func, ','.join(map(jsquote, args))))
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 842, in wait_js_cond
    raise Error(f"timeout\nwait_js_cond({cond}): {last_error.msg}") from None
testlib.Error: timeout
wait_js_cond(!ph_is_present("#realms-join-dialog")): Error: condition did not become true

Wrote screenshot to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.png
Wrote HTML dump to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.html
Wrote JS log to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.js.log
Journal extracted to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.log.gz
Journal extracted to TestIPA-testQualifiedUsers-services-127.0.0.2-2202-FAIL.log.gz
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-system-realms", line 130, in testQualifiedUsers
    b.wait_not_present("#realms-join-dialog")
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 854, in wait_not_present
    self.wait_js_func('!ph_is_present', selector)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 845, in wait_js_func
    self.wait_js_cond("%s(%s)" % (func, ','.join(map(jsquote, args))))
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 842, in wait_js_cond
    raise Error(f"timeout\nwait_js_cond({cond}): {last_error.msg}") from None
testlib.Error: timeout
wait_js_cond(!ph_is_present("#realms-join-dialog")): Error: condition did not become true

# Result testQualifiedUsers (__main__.TestIPA.testQualifiedUsers) failed
# 1 TEST FAILED [381s on 36723875ae25]
not ok 60 test/verify/check-system-realms TestIPA.testQualifiedUsers $2

First occurrence: 2025-10-23T11:41:35.999115+00:00 | revision 03ad9f4339901c2cabb2eccae8899342dd68df9e Times recorded: 1 Latest occurrences:

  • 2025-10-23T11:41:35.999115+00:00 | revision 03ad9f4339901c2cabb2eccae8899342dd68df9e

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', '-F', 'none', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-oHostname=127.0.0.2', '-oLogLevel=ERROR', '-oPort=2301', '-oUser=root', '-oControlPath=/tmp/.cockpit-test-resources/ssh-%C-22033', 'vm', 'set -e;', 'echo foobarfoo | realm join -vU admin cockpit.lan')' returned non-zero exit status 1.

Wrote screenshot to TestIPA-testUnqualifiedUsers-debian-testing-127.0.0.2-2301-FAIL.png
Wrote HTML dump to TestIPA-testUnqualifiedUsers-debian-testing-127.0.0.2-2301-FAIL.html
Journal extracted to TestIPA-testUnqualifiedUsers-debian-testing-127.0.0.2-2301-FAIL.log.gz
Journal extracted to TestIPA-testUnqualifiedUsers-services-127.0.0.2-2302-FAIL.log.gz
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-system-realms", line 646, in testUnqualifiedUsers
    super().testUnqualifiedUsers()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/work/make-checkout-workdir/test/verify/check-system-realms", line 293, in testUnqualifiedUsers
    m.execute(f"echo {self.admin_password} | realm join -vU {self.admin_user} cockpit.lan", timeout=300)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/bots/machine/machine_core/ssh_connection.py", line 337, 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', '-F', 'none', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-oHostname=127.0.0.2', '-oLogLevel=ERROR', '-oPort=2301', '-oUser=root', '-oControlPath=/tmp/.cockpit-test-resources/ssh-%C-22033', 'vm', 'set -e;', 'echo foobarfoo | realm join -vU admin cockpit.lan')' returned non-zero exit status 1.

# Result testUnqualifiedUsers (__main__.TestIPA.testUnqualifiedUsers) failed
# 1 TEST FAILED [77s on f905704e514a]
not ok 61 test/verify/check-system-realms TestIPA.testUnqualifiedUsers $2

First occurrence: 2025-10-26T19:17:13.055318+00:00 | revision 76f5c2bcf1926d36b040f59e05a555fcd7276d7e Times recorded: 1 Latest occurrences:

  • 2025-10-26T19:17:13.055318+00:00 | revision 76f5c2bcf1926d36b040f59e05a555fcd7276d7e

self.wait_js_cond("%s(%s)" % (func, ','.join(map(jsquote, args))))
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 842, in wait_js_cond
    raise Error(f"timeout\nwait_js_cond({cond}): {last_error.msg}") from None
testlib.Error: timeout
wait_js_cond(!ph_is_present("#realms-join-dialog")): Error: condition did not become true

Wrote screenshot to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.png
Wrote HTML dump to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.html
Wrote JS log to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.js.log
Journal extracted to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.log.gz
Journal extracted to TestIPA-testQualifiedUsers-services-127.0.0.2-2202-FAIL.log.gz
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-system-realms", line 130, in testQualifiedUsers
    b.wait_not_present("#realms-join-dialog")
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 854, in wait_not_present
    self.wait_js_func('!ph_is_present', selector)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 845, in wait_js_func
    self.wait_js_cond("%s(%s)" % (func, ','.join(map(jsquote, args))))
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 842, in wait_js_cond
    raise Error(f"timeout\nwait_js_cond({cond}): {last_error.msg}") from None
testlib.Error: timeout
wait_js_cond(!ph_is_present("#realms-join-dialog")): Error: condition did not become true

# Result testQualifiedUsers (__main__.TestIPA.testQualifiedUsers) failed
# 1 TEST FAILED [376s on f905704e514a]
not ok 60 test/verify/check-system-realms TestIPA.testQualifiedUsers $2

First occurrence: 2025-10-26T19:21:53.654825+00:00 | revision 76f5c2bcf1926d36b040f59e05a555fcd7276d7e Times recorded: 1 Latest occurrences:

  • 2025-10-26T19:21:53.654825+00:00 | revision 76f5c2bcf1926d36b040f59e05a555fcd7276d7e

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', '-F', 'none', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-oHostname=127.0.0.2', '-oLogLevel=ERROR', '-oPort=2301', '-oUser=root', '-oControlPath=/tmp/.cockpit-test-resources/ssh-%C-22470', 'vm', 'set -e;', 'echo foobarfoo | realm join -vU admin cockpit.lan')' returned non-zero exit status 1.

Wrote screenshot to TestIPA-testUnqualifiedUsers-debian-testing-127.0.0.2-2301-FAIL.png
Wrote HTML dump to TestIPA-testUnqualifiedUsers-debian-testing-127.0.0.2-2301-FAIL.html
Journal extracted to TestIPA-testUnqualifiedUsers-debian-testing-127.0.0.2-2301-FAIL.log.gz
Journal extracted to TestIPA-testUnqualifiedUsers-services-127.0.0.2-2302-FAIL.log.gz
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-system-realms", line 646, in testUnqualifiedUsers
    super().testUnqualifiedUsers()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/work/make-checkout-workdir/test/verify/check-system-realms", line 293, in testUnqualifiedUsers
    m.execute(f"echo {self.admin_password} | realm join -vU {self.admin_user} cockpit.lan", timeout=300)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/bots/machine/machine_core/ssh_connection.py", line 337, 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', '-F', 'none', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-oHostname=127.0.0.2', '-oLogLevel=ERROR', '-oPort=2301', '-oUser=root', '-oControlPath=/tmp/.cockpit-test-resources/ssh-%C-22470', 'vm', 'set -e;', 'echo foobarfoo | realm join -vU admin cockpit.lan')' returned non-zero exit status 1.

# Result testUnqualifiedUsers (__main__.TestIPA.testUnqualifiedUsers) failed
# 1 TEST FAILED [86s on 5113bcef4ee4]
not ok 61 test/verify/check-system-realms TestIPA.testUnqualifiedUsers $2

First occurrence: 2025-10-27T02:50:11.766238+00:00 | revision c9802a1ddbf8e09b53701463ef1fbd7cc12eea1b Times recorded: 1 Latest occurrences:

  • 2025-10-27T02:50:11.766238+00:00 | revision c9802a1ddbf8e09b53701463ef1fbd7cc12eea1b

self.wait_js_cond("%s(%s)" % (func, ','.join(map(jsquote, args))))
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 842, in wait_js_cond
    raise Error(f"timeout\nwait_js_cond({cond}): {last_error.msg}") from None
testlib.Error: timeout
wait_js_cond(!ph_is_present("#realms-join-dialog")): Error: condition did not become true

Wrote screenshot to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.png
Wrote HTML dump to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.html
Wrote JS log to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.js.log
Journal extracted to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.log.gz
Journal extracted to TestIPA-testQualifiedUsers-services-127.0.0.2-2202-FAIL.log.gz
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-system-realms", line 130, in testQualifiedUsers
    b.wait_not_present("#realms-join-dialog")
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 854, in wait_not_present
    self.wait_js_func('!ph_is_present', selector)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 845, in wait_js_func
    self.wait_js_cond("%s(%s)" % (func, ','.join(map(jsquote, args))))
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 842, in wait_js_cond
    raise Error(f"timeout\nwait_js_cond({cond}): {last_error.msg}") from None
testlib.Error: timeout
wait_js_cond(!ph_is_present("#realms-join-dialog")): Error: condition did not become true

# Result testQualifiedUsers (__main__.TestIPA.testQualifiedUsers) failed
# 1 TEST FAILED [392s on 5113bcef4ee4]
not ok 60 test/verify/check-system-realms TestIPA.testQualifiedUsers $2

First occurrence: 2025-10-27T02:54:36.356254+00:00 | revision c9802a1ddbf8e09b53701463ef1fbd7cc12eea1b Times recorded: 1 Latest occurrences:

  • 2025-10-27T02:54:36.356254+00:00 | revision c9802a1ddbf8e09b53701463ef1fbd7cc12eea1b

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', '-F', 'none', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-oHostname=127.0.0.2', '-oLogLevel=ERROR', '-oPort=2401', '-oUser=root', '-oControlPath=/tmp/.cockpit-test-resources/ssh-%C-22291', 'vm', 'set -e;', 'echo foobarfoo | realm join -vU admin cockpit.lan')' returned non-zero exit status 1.

Wrote screenshot to TestIPA-testUnqualifiedUsers-debian-testing-127.0.0.2-2401-FAIL.png
Wrote HTML dump to TestIPA-testUnqualifiedUsers-debian-testing-127.0.0.2-2401-FAIL.html
Journal extracted to TestIPA-testUnqualifiedUsers-debian-testing-127.0.0.2-2401-FAIL.log.gz
Journal extracted to TestIPA-testUnqualifiedUsers-services-127.0.0.2-2402-FAIL.log.gz
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-system-realms", line 646, in testUnqualifiedUsers
    super().testUnqualifiedUsers()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/work/make-checkout-workdir/test/verify/check-system-realms", line 293, in testUnqualifiedUsers
    m.execute(f"echo {self.admin_password} | realm join -vU {self.admin_user} cockpit.lan", timeout=300)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/bots/machine/machine_core/ssh_connection.py", line 337, 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', '-F', 'none', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-oHostname=127.0.0.2', '-oLogLevel=ERROR', '-oPort=2401', '-oUser=root', '-oControlPath=/tmp/.cockpit-test-resources/ssh-%C-22291', 'vm', 'set -e;', 'echo foobarfoo | realm join -vU admin cockpit.lan')' returned non-zero exit status 1.

# Result testUnqualifiedUsers (__main__.TestIPA.testUnqualifiedUsers) failed
# 1 TEST FAILED [93s on c2b33340e8f8]
not ok 61 test/verify/check-system-realms TestIPA.testUnqualifiedUsers $2

First occurrence: 2025-10-27T14:57:59.636162+00:00 | revision ac1d5a34e3b36770fc5c32ed5758ad0014f93680 Times recorded: 1 Latest occurrences:

  • 2025-10-27T14:57:59.636162+00:00 | revision ac1d5a34e3b36770fc5c32ed5758ad0014f93680

self.wait_js_cond("%s(%s)" % (func, ','.join(map(jsquote, args))))
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 842, in wait_js_cond
    raise Error(f"timeout\nwait_js_cond({cond}): {last_error.msg}") from None
testlib.Error: timeout
wait_js_cond(!ph_is_present("#realms-join-dialog")): Error: condition did not become true

Wrote screenshot to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.png
Wrote HTML dump to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.html
Wrote JS log to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.js.log
Journal extracted to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.log.gz
Journal extracted to TestIPA-testQualifiedUsers-services-127.0.0.2-2202-FAIL.log.gz
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-system-realms", line 130, in testQualifiedUsers
    b.wait_not_present("#realms-join-dialog")
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 854, in wait_not_present
    self.wait_js_func('!ph_is_present', selector)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 845, in wait_js_func
    self.wait_js_cond("%s(%s)" % (func, ','.join(map(jsquote, args))))
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 842, in wait_js_cond
    raise Error(f"timeout\nwait_js_cond({cond}): {last_error.msg}") from None
testlib.Error: timeout
wait_js_cond(!ph_is_present("#realms-join-dialog")): Error: condition did not become true

# Result testQualifiedUsers (__main__.TestIPA.testQualifiedUsers) failed
# 1 TEST FAILED [422s on c2b33340e8f8]
not ok 60 test/verify/check-system-realms TestIPA.testQualifiedUsers $2

First occurrence: 2025-10-27T15:02:51.778701+00:00 | revision ac1d5a34e3b36770fc5c32ed5758ad0014f93680 Times recorded: 1 Latest occurrences:

  • 2025-10-27T15:02:51.778701+00:00 | revision ac1d5a34e3b36770fc5c32ed5758ad0014f93680

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', '-F', 'none', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-oHostname=127.0.0.2', '-oLogLevel=ERROR', '-oPort=2401', '-oUser=root', '-oControlPath=/tmp/.cockpit-test-resources/ssh-%C-21746', 'vm', 'set -e;', 'echo foobarfoo | realm join -vU admin cockpit.lan')' returned non-zero exit status 1.

Wrote screenshot to TestIPA-testUnqualifiedUsers-debian-testing-127.0.0.2-2401-FAIL.png
Wrote HTML dump to TestIPA-testUnqualifiedUsers-debian-testing-127.0.0.2-2401-FAIL.html
Journal extracted to TestIPA-testUnqualifiedUsers-debian-testing-127.0.0.2-2401-FAIL.log.gz
Journal extracted to TestIPA-testUnqualifiedUsers-services-127.0.0.2-2402-FAIL.log.gz
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-system-realms", line 646, in testUnqualifiedUsers
    super().testUnqualifiedUsers()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/work/make-checkout-workdir/test/verify/check-system-realms", line 293, in testUnqualifiedUsers
    m.execute(f"echo {self.admin_password} | realm join -vU {self.admin_user} cockpit.lan", timeout=300)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/bots/machine/machine_core/ssh_connection.py", line 337, 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', '-F', 'none', '-o', 'BatchMode=yes', '-o', 'IdentitiesOnly=yes', '-o', 'PKCS11Provider=none', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-oHostname=127.0.0.2', '-oLogLevel=ERROR', '-oPort=2401', '-oUser=root', '-oControlPath=/tmp/.cockpit-test-resources/ssh-%C-21746', 'vm', 'set -e;', 'echo foobarfoo | realm join -vU admin cockpit.lan')' returned non-zero exit status 1.

# Result testUnqualifiedUsers (__main__.TestIPA.testUnqualifiedUsers) failed
# 1 TEST FAILED [86s on a4a4a8c08051]
not ok 61 test/verify/check-system-realms TestIPA.testUnqualifiedUsers $2

First occurrence: 2025-10-27T16:40:15.755596+00:00 | revision f449a1ecd142868f14fd6f4ab3ab256d2fee38f3 Times recorded: 1 Latest occurrences:

  • 2025-10-27T16:40:15.755596+00:00 | revision f449a1ecd142868f14fd6f4ab3ab256d2fee38f3

self.wait_js_cond("%s(%s)" % (func, ','.join(map(jsquote, args))))
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 857, in wait_js_cond
    raise Error(f"timeout\nwait_js_cond({cond}): {last_error.msg}") from None
testlib.Error: timeout
wait_js_cond(!ph_is_present("#realms-join-dialog")): Error: condition did not become true

Wrote screenshot to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.png
Wrote HTML dump to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.html
Wrote JS log to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.js.log
Journal extracted to TestIPA-testQualifiedUsers-debian-testing-127.0.0.2-2201-FAIL.log.gz
Journal extracted to TestIPA-testQualifiedUsers-services-127.0.0.2-2202-FAIL.log.gz
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-system-realms", line 130, in testQualifiedUsers
    b.wait_not_present("#realms-join-dialog")
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 869, in wait_not_present
    self.wait_js_func('!ph_is_present', selector)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 860, in wait_js_func
    self.wait_js_cond("%s(%s)" % (func, ','.join(map(jsquote, args))))
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 857, in wait_js_cond
    raise Error(f"timeout\nwait_js_cond({cond}): {last_error.msg}") from None
testlib.Error: timeout
wait_js_cond(!ph_is_present("#realms-join-dialog")): Error: condition did not become true

# Result testQualifiedUsers (__main__.TestIPA.testQualifiedUsers) failed
# 1 TEST FAILED [386s on 5155966844d7]
not ok 56 test/verify/check-system-realms TestIPA.testQualifiedUsers $2

First occurrence: 2025-11-06T08:43:28.226216+00:00 | revision b3ec16cded05af620d2213711560770674deedb4 Times recorded: 1 Latest occurrences:

  • 2025-11-06T08:43:28.226216+00:00 | revision b3ec16cded05af620d2213711560770674deedb4

cockpituous avatar Oct 23 '25 11:10 cockpituous