cockpit-project / bots

*beep* *boop* *beep*
GNU Lesser General Public License v2.1
25 stars 33 forks source link

coreutils no longer lists web logins in `who` #6789

Open allisonkarlitskaya opened 2 weeks ago

allisonkarlitskaya commented 2 weeks ago

Rough outline of what happened:

Upstream: https://lists.gnu.org/archive/html/bug-gnulib/2024-08/msg00160.html Downstream: https://bugzilla.redhat.com/show_bug.cgi?id=2307847

allisonkarlitskaya commented 2 weeks ago

Here's the email that I sent to bug-gnulib. I'm starting to think that this may never appear on the archive, so I'll include it here. I have no idea what else I should do.

To: bug-gnulib@gnu.org Subject: tty heuristics in lib/readutmp.c exclude "web" sessions

Fedora recently added systemd-devel to the build dependencies for coreutils:

This had the side-effect of the ./configure script defining READUTMP_USE_SYSTEMD, enabling read_utmp_from_systemd() in lib/readutmp.c:

This impacts the output of the "who" command when someone is logged in via Cockpit. The old version printed:

admin    web console  2024-08-26 08:46 (::ffff:172.27.0.2)

and the new version simply doesn't list the login.

The readutmp code generally only lists a session if it either has a tty defined or if it has an associated seat. Not all login session are like that. Consider a command run over ssh without allocating a terminal. In that case though, there is a heuristic (search "Try harder" in the code) that gets enabled if the session type (as returned by sd_session_get_type()) is set to "tty" (which it is for ssh, even if there is no actual pseudoterminal device). That heuristic results in the name of the service being written in place of the tty device.

Cockpit sets its session type to "web" and therefore doesn't get the same treatment. "web" is a supported session type in systemd-logind since ~10 years, although it was never documented. See https://github.com/systemd/systemd/pull/34128 about that.

So I guess my wish here is open-ended, but something like "please allow for a way to ensure that web logins appear in the output of who" without requiring us to set our session type to "tty" (which we don't want to do). This could look like adding a special case for "web" session types but probably a more permissive approach for listing the service name for all sessions without a tty might make sense? We're also open to setting other session attributes as may be appropriate. In the utmp case we have some rather old code for writing "web console" as "tty" field, but I'd like to avoid that on the new code path...

Thanks for your consideration.

Allison Karlitskaya

cockpituous commented 2 weeks ago

fedora-41 Ooops, it happened again


# ----------------------------------------------------------------------
# testBasic (__main__.TestLogin.testBasic)
Starting ChromeDriver 127.0.6533.99 (f31af5097d90ef5ae5bd7b8700199bc6189ba34d-refs/branch-heads/6533@{#1910}) on port 59181
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
useradd: failed to reset the lastlog entry of UID 1003: No such file or directory
Creating mailbox file: File exists
> info: Authentication failed
> info: Authentication failed
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-26 10:10 (172.27.0.2)\n'

Wrote screenshot to TestLogin-testBasic-fedora-41-127.0.0.2-2701-FAIL.png
> warn: failed to poll tuned Object(4)
> warn: failed to poll tuned Object(4)
Wrote HTML dump to TestLogin-testBasic-fedora-41-127.0.0.2-2701-FAIL.html
Wrote JS log to TestLogin-testBasic-fedora-41-127.0.0.2-2701-FAIL.js.log
> warn: Resolving coreutils failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
Journal extracted to TestLogin-testBasic-fedora-41-127.0.0.2-2701-FAIL.log.gz
> warn: loading available updates failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
> warn: cockpit.format_{bytes,bits}[_per_sec](..., GiB, [object Object]) is deprecated.
> warn: transport closed: disconnected
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-26 10:10 (172.27.0.2)\n'

# Result testBasic (__main__.TestLogin.testBasic) failed
# 1 TEST FAILED [15s on 3fe644dbd323]
not ok 62 test/verify/check-static-login TestLogin.testBasic [ND@4]

First occurrence: 2024-08-26T10:10:18.812969+00:00 | revision ab78a2e9739f0b07961ef677c4cb838af7691f7b Times recorded: 1 Latest occurrences:

# ----------------------------------------------------------------------
# testBasic (__main__.TestLogin.testBasic)
Starting ChromeDriver 127.0.6533.99 (f31af5097d90ef5ae5bd7b8700199bc6189ba34d-refs/branch-heads/6533@{#1910}) on port 46327
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
useradd: failed to reset the lastlog entry of UID 1003: No such file or directory
Creating mailbox file: File exists
> info: Authentication failed
> info: Authentication failed
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-26 11:17 (172.27.0.2)\n'

Wrote screenshot to TestLogin-testBasic-fedora-41-127.0.0.2-2901-FAIL.png
> warn: failed to poll tuned Object(4)
> warn: failed to poll tuned Object(4)
Wrote HTML dump to TestLogin-testBasic-fedora-41-127.0.0.2-2901-FAIL.html
Wrote JS log to TestLogin-testBasic-fedora-41-127.0.0.2-2901-FAIL.js.log
> warn: Resolving coreutils failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
Journal extracted to TestLogin-testBasic-fedora-41-127.0.0.2-2901-FAIL.log.gz
> warn: loading available updates failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
> warn: cockpit.format_{bytes,bits}[_per_sec](..., GiB, [object Object]) is deprecated.
> warn: transport closed: disconnected
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-26 11:17 (172.27.0.2)\n'

# Result testBasic (__main__.TestLogin.testBasic) failed
# 1 TEST FAILED [17s on c00d2fb5c7d6]
not ok 62 test/verify/check-static-login TestLogin.testBasic [ND@6]

First occurrence: 2024-08-26T11:17:59.572070+00:00 | revision 4d03cbe57bb7180a85a0eb20c3e4582ff814d21f Times recorded: 1 Latest occurrences:

# ----------------------------------------------------------------------
# testBasic (__main__.TestLogin.testBasic)
Starting ChromeDriver 126.0.6478.182 (5b5d8292ddf182f8b2096fa665b473b6317906d5-refs/branch-heads/6478@{#1776}) on port 37763
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
useradd: failed to reset the lastlog entry of UID 1003: No such file or directory
Creating mailbox file: File exists
> info: Authentication failed
> info: Authentication failed
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-26 11:50 (172.27.0.2)\n'

Wrote screenshot to TestLogin-testBasic-fedora-41-127.0.0.2-2301-FAIL.png
Wrote HTML dump to TestLogin-testBasic-fedora-41-127.0.0.2-2301-FAIL.html
Wrote JS log to TestLogin-testBasic-fedora-41-127.0.0.2-2301-FAIL.js.log
> warn: failed to poll tuned Object(4)
> warn: failed to poll tuned Object(4)
Journal extracted to TestLogin-testBasic-fedora-41-127.0.0.2-2301-FAIL.log.gz
> warn: Resolving coreutils failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
> warn: loading available updates failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
> warn: cockpit.format_{bytes,bits}[_per_sec](..., GiB, [object Object]) is deprecated.
> warn: transport closed: disconnected
umount: /run/user/1000: no mount point specified.
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-26 11:50 (172.27.0.2)\n'

# Result testBasic (__main__.TestLogin.testBasic) failed
# 1 TEST FAILED [19s on 3260ec095181]
not ok 62 test/verify/check-static-login TestLogin.testBasic [ND@1]

First occurrence: 2024-08-26T11:50:26.989061+00:00 | revision 5c43abd2e59ede294500f5d31021f1825d5697e3 Times recorded: 1 Latest occurrences:

# ----------------------------------------------------------------------
# testBasic (__main__.TestLogin.testBasic)
Starting ChromeDriver 127.0.6533.99 (f31af5097d90ef5ae5bd7b8700199bc6189ba34d-refs/branch-heads/6533@{#1910}) on port 52229
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
useradd: failed to reset the lastlog entry of UID 1003: No such file or directory
Creating mailbox file: File exists
> info: Authentication failed
> info: Authentication failed
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-27 03:10 (172.27.0.2)\n'

Wrote screenshot to TestLogin-testBasic-fedora-41-127.0.0.2-2901-FAIL.png
> warn: failed to poll tuned Object(4)
> warn: failed to poll tuned Object(4)
Wrote HTML dump to TestLogin-testBasic-fedora-41-127.0.0.2-2901-FAIL.html
Wrote JS log to TestLogin-testBasic-fedora-41-127.0.0.2-2901-FAIL.js.log
> warn: Resolving coreutils failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
Journal extracted to TestLogin-testBasic-fedora-41-127.0.0.2-2901-FAIL.log.gz
> warn: loading available updates failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
> warn: cockpit.format_{bytes,bits}[_per_sec](..., GiB, [object Object]) is deprecated.
> warn: transport closed: disconnected
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-27 03:10 (172.27.0.2)\n'

# Result testBasic (__main__.TestLogin.testBasic) failed
# 1 TEST FAILED [17s on 38345244bd0d]
not ok 62 test/verify/check-static-login TestLogin.testBasic [ND@6]

First occurrence: 2024-08-27T03:11:11.837575+00:00 | revision ab8a369c5af22d71897f50eb79237839d0645d4e Times recorded: 1 Latest occurrences:

# ----------------------------------------------------------------------
# testBasic (__main__.TestLogin.testBasic)
Starting ChromeDriver 126.0.6478.182 (5b5d8292ddf182f8b2096fa665b473b6317906d5-refs/branch-heads/6478@{#1776}) on port 34041
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
useradd: failed to reset the lastlog entry of UID 1003: No such file or directory
Creating mailbox file: File exists
> info: Authentication failed
> info: Authentication failed
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-27 08:41 (172.27.0.2)\n'

Wrote screenshot to TestLogin-testBasic-fedora-41-127.0.0.2-2501-FAIL.png
Wrote HTML dump to TestLogin-testBasic-fedora-41-127.0.0.2-2501-FAIL.html
Wrote JS log to TestLogin-testBasic-fedora-41-127.0.0.2-2501-FAIL.js.log
> warn: failed to poll tuned Object(4)
> warn: failed to poll tuned Object(4)
> warn: Resolving coreutils failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
Journal extracted to TestLogin-testBasic-fedora-41-127.0.0.2-2501-FAIL.log.gz
> warn: loading available updates failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
> warn: transport closed: disconnected
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-27 08:41 (172.27.0.2)\n'

# Result testBasic (__main__.TestLogin.testBasic) failed
# 1 TEST FAILED [17s on 47b417f70d6e]
not ok 62 test/verify/check-static-login TestLogin.testBasic [ND@3]

First occurrence: 2024-08-27T08:41:39.413635+00:00 | revision e53330e2337e7610d7180021ecef65631033c008 Times recorded: 1 Latest occurrences:

# ----------------------------------------------------------------------
# testBasic (__main__.TestLogin.testBasic)
Starting ChromeDriver 127.0.6533.99 (f31af5097d90ef5ae5bd7b8700199bc6189ba34d-refs/branch-heads/6533@{#1910}) on port 55469
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
useradd: failed to reset the lastlog entry of UID 1003: No such file or directory
Creating mailbox file: File exists
> info: Authentication failed
> info: Authentication failed
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-27 09:17 (172.27.0.2)\n'

> warn: failed to poll tuned Object(4)
> warn: failed to poll tuned Object(4)
Wrote screenshot to TestLogin-testBasic-fedora-41-127.0.0.2-2701-FAIL.png
Wrote HTML dump to TestLogin-testBasic-fedora-41-127.0.0.2-2701-FAIL.html
Wrote JS log to TestLogin-testBasic-fedora-41-127.0.0.2-2701-FAIL.js.log
> warn: Resolving coreutils failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
> warn: loading available updates failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
Journal extracted to TestLogin-testBasic-fedora-41-127.0.0.2-2701-FAIL.log.gz
> warn: cockpit.format_{bytes,bits}[_per_sec](..., GiB, [object Object]) is deprecated.
> warn: transport closed: disconnected
umount: /run/user/1000: no mount point specified.
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-27 09:17 (172.27.0.2)\n'

# Result testBasic (__main__.TestLogin.testBasic) failed
# 1 TEST FAILED [18s on a4690f0514c5]
not ok 143 test/verify/check-static-login TestLogin.testBasic [ND@4]

First occurrence: 2024-08-27T09:18:15.762880+00:00 | revision 130377f1a8da6f6cff87ff7a2a12d37223e223d5 Times recorded: 1 Latest occurrences:

# ----------------------------------------------------------------------
# testBasic (__main__.TestLogin.testBasic)
Starting ChromeDriver 126.0.6478.182 (5b5d8292ddf182f8b2096fa665b473b6317906d5-refs/branch-heads/6478@{#1776}) on port 60065
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
useradd: failed to reset the lastlog entry of UID 1003: No such file or directory
Creating mailbox file: File exists
> info: Authentication failed
> info: Authentication failed
> warn: failed to poll tuned Object(4)
> warn: failed to poll tuned Object(4)
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-27 10:00 (172.27.0.2)\n'

Wrote screenshot to TestLogin-testBasic-fedora-41-127.0.0.2-2901-FAIL.png
> warn: Resolving coreutils failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
Wrote HTML dump to TestLogin-testBasic-fedora-41-127.0.0.2-2901-FAIL.html
Wrote JS log to TestLogin-testBasic-fedora-41-127.0.0.2-2901-FAIL.js.log
> warn: loading available updates failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
Journal extracted to TestLogin-testBasic-fedora-41-127.0.0.2-2901-FAIL.log.gz
> warn: cockpit.format_{bytes,bits}[_per_sec](..., GiB, [object Object]) is deprecated.
> warn: transport closed: disconnected
umount: /run/user/1000: target is busy.
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-27 10:00 (172.27.0.2)\n'

# Result testBasic (__main__.TestLogin.testBasic) failed
# 1 TEST FAILED [16s on 065023815c04]
not ok 62 test/verify/check-static-login TestLogin.testBasic [ND@6]

First occurrence: 2024-08-27T10:00:58.578001+00:00 | revision 947c9d281f9f9f867cc2ec3292bf9b5caba7328e Times recorded: 1 Latest occurrences:

# ----------------------------------------------------------------------
# testBasic (__main__.TestLogin.testBasic)
Starting ChromeDriver 126.0.6478.182 (5b5d8292ddf182f8b2096fa665b473b6317906d5-refs/branch-heads/6478@{#1776}) on port 51457
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
useradd: failed to reset the lastlog entry of UID 1003: No such file or directory
Creating mailbox file: File exists
> info: Authentication failed
> info: Authentication failed
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-27 10:38 (172.27.0.2)\n'

Wrote screenshot to TestLogin-testBasic-fedora-41-127.0.0.2-2201-FAIL.png
> warn: failed to poll tuned Object(4)
> warn: failed to poll tuned Object(4)
Wrote HTML dump to TestLogin-testBasic-fedora-41-127.0.0.2-2201-FAIL.html
Wrote JS log to TestLogin-testBasic-fedora-41-127.0.0.2-2201-FAIL.js.log
> warn: Resolving coreutils failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
Journal extracted to TestLogin-testBasic-fedora-41-127.0.0.2-2201-FAIL.log.gz
> warn: loading available updates failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
> warn: cockpit.format_{bytes,bits}[_per_sec](..., GiB, [object Object]) is deprecated.
> warn: transport closed: disconnected
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-27 10:38 (172.27.0.2)\n'

# Result testBasic (__main__.TestLogin.testBasic) failed
# 1 TEST FAILED [18s on 68ae6589faaf]
not ok 62 test/verify/check-static-login TestLogin.testBasic [ND@0]

First occurrence: 2024-08-27T10:39:02.866343+00:00 | revision f03738ec90a083973600e9eb1fb166f4a93da51f Times recorded: 1 Latest occurrences:

# ----------------------------------------------------------------------
# testBasic (__main__.TestLogin.testBasic)
Starting ChromeDriver 126.0.6478.182 (5b5d8292ddf182f8b2096fa665b473b6317906d5-refs/branch-heads/6478@{#1776}) on port 38483
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
useradd: failed to reset the lastlog entry of UID 1003: No such file or directory
Creating mailbox file: File exists
> info: Authentication failed
> info: Authentication failed
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-27 11:42 (172.27.0.2)\n'

> warn: failed to poll tuned Object(4)
> warn: failed to poll tuned Object(4)
Wrote screenshot to TestLogin-testBasic-fedora-41-127.0.0.2-2301-FAIL.png
> warn: Resolving coreutils failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
Wrote HTML dump to TestLogin-testBasic-fedora-41-127.0.0.2-2301-FAIL.html
Wrote JS log to TestLogin-testBasic-fedora-41-127.0.0.2-2301-FAIL.js.log
> warn: loading available updates failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
Journal extracted to TestLogin-testBasic-fedora-41-127.0.0.2-2301-FAIL.log.gz
> warn: cockpit.format_{bytes,bits}[_per_sec](..., GiB, [object Object]) is deprecated.
> warn: transport closed: disconnected
umount: /run/user/1000: no mount point specified.
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-27 11:42 (172.27.0.2)\n'

# Result testBasic (__main__.TestLogin.testBasic) failed
# 1 TEST FAILED [16s on ac945176b2c5]
not ok 62 test/verify/check-static-login TestLogin.testBasic [ND@1]

First occurrence: 2024-08-27T11:42:46.244619+00:00 | revision 0873fbd5556c9d0607d058ea66d1a2837c1cc7ef Times recorded: 1 Latest occurrences:

# ----------------------------------------------------------------------
# testBasic (__main__.TestLogin.testBasic)
Starting ChromeDriver 127.0.6533.99 (f31af5097d90ef5ae5bd7b8700199bc6189ba34d-refs/branch-heads/6533@{#1910}) on port 59783
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
useradd: failed to reset the lastlog entry of UID 1003: No such file or directory
Creating mailbox file: File exists
> info: Authentication failed
> info: Authentication failed
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-29 08:14 (172.27.0.2)\n'

Wrote screenshot to TestLogin-testBasic-fedora-41-127.0.0.2-2801-FAIL.png
> warn: failed to poll tuned Object(4)
> warn: failed to poll tuned Object(4)
Wrote HTML dump to TestLogin-testBasic-fedora-41-127.0.0.2-2801-FAIL.html
Wrote JS log to TestLogin-testBasic-fedora-41-127.0.0.2-2801-FAIL.js.log
> warn: Resolving coreutils failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
Journal extracted to TestLogin-testBasic-fedora-41-127.0.0.2-2801-FAIL.log.gz
> warn: loading available updates failed: {"detail":"cannot update repo 'updates': Cannot prepare internal mirrorlist: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]; Last error: Curl error (6): Could not resolve hostname for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f41&arch=x86_64 [Could not resolve host: mirrors.fedoraproject.org]","code":64}
> warn: cockpit.format_{bytes,bits}[_per_sec](..., GiB, [object Object]) is deprecated.
> warn: transport closed: disconnected
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/verify/check-static-login", line 122, in testBasic
    self.assertRegex(m.execute("who"), r"(^|\n)admin *web.*(\d+\.\d+|::)")
AssertionError: Regex didn't match: '(^|\\n)admin *web.*(\\d+\\.\\d+|::)' not found in 'root     sshd         2024-08-29 08:14 (172.27.0.2)\n'

# Result testBasic (__main__.TestLogin.testBasic) failed
# 1 TEST FAILED [17s on e166276d2a74]
not ok 143 test/verify/check-static-login TestLogin.testBasic [ND@5]

First occurrence: 2024-08-29T08:15:10.339907+00:00 | revision c7f1827e9c47db2f2a38ffce3655fcbef65d7a3d Times recorded: 1 Latest occurrences: