Your message dated Tue, 20 Aug 2019 23:10:41 +0000
with message-id <[email protected]>
and subject line Bug#929730: fixed in systemd 242-3
has caused the Debian Bug report #929730,
regarding systemd: boot-and-services test expects first kernel log line, but 
not always in logs
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
929730: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929730
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: systemd
Version: 241-5
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu eoan ubuntu-patch

Dear Maintainer,

boot-and-services test expects the first(ish) kernel log line to be in the 
system logs, but that is not guaranteed to be in the logs.

-- Package-specific info:


  * d/t/boot-and-services:
    - don't fail if some kernel msgs are missed (LP: #1830479)


Thanks for considering the patch.


-- System Information:
Debian Release: buster/sid
  APT prefers disco-updates
  APT policy: (500, 'disco-updates'), (500, 'disco-security'), (500, 'disco'), 
(100, 'disco-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.0.0-13-generic (SMP w/24 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd is related to:
pn  dracut           <none>
ii  initramfs-tools  0.131ubuntu19
ii  udev             240-6ubuntu5
diff -Nru systemd-241/debian/tests/boot-and-services 
systemd-241/debian/tests/boot-and-services
--- systemd-241/debian/tests/boot-and-services  2019-05-24 16:58:59.000000000 
-0400
+++ systemd-241/debian/tests/boot-and-services  2019-05-29 12:17:13.000000000 
-0400
@@ -108,8 +108,15 @@
         with open('/var/log/syslog') as f:
             log = f.read()
         if not is_container:
+            out = subprocess.check_output(['journalctl'])
+            if re.search(b'Missed.*kernel messages', out):
+                # if we missed some, just check for any kernel msg
+                kernel_regex = 'kernel:.*'
+            else:
+                # otherwise, check for the first(ish) kernel msg
+                kernel_regex = 'kernel:.*[cC]ommand line:'
             # has kernel messages
-            self.assertRegex(log, 'kernel:.*[cC]ommand line:')
+            self.assertRegex(log, kernel_regex)
         # has init messages
         self.assertRegex(log, 'systemd.*Reached target Graphical Interface')
         # has other services
@@ -185,8 +192,14 @@
     def test_no_options(self):
         out = subprocess.check_output(['journalctl'])
         if not is_container:
+            if re.search(b'Missed.*kernel messages', out):
+                # if we missed some, just check for any kernel msg
+                kernel_regex = b'kernel:.*'
+            else:
+                # otherwise, check for the first(ish) kernel msg
+                kernel_regex = b'kernel:.*[cC]ommand line:'
             # has kernel messages
-            self.assertRegex(out, b'kernel:.*[cC]ommand line:')
+            self.assertRegex(out, kernel_regex)
         # has init messages
         self.assertRegex(out, b'systemd.*Reached target Graphical Interface')
         # has other services

--- End Message ---
--- Begin Message ---
Source: systemd
Source-Version: 242-3

We believe that the bug you reported is fixed in the latest version of
systemd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Biebl <[email protected]> (supplier of updated systemd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 21 Aug 2019 00:12:22 +0200
Source: systemd
Architecture: source
Version: 242-3
Distribution: experimental
Urgency: medium
Maintainer: Debian systemd Maintainers 
<[email protected]>
Changed-By: Michael Biebl <[email protected]>
Closes: 929728 929730 934992
Changes:
 systemd (242-3) experimental; urgency=medium
 .
   [ Dan Streetman ]
   * d/t/boot-and-services: fix test_failing()
   * d/t/boot-and-services: check for any kernel message, not just first kernel
     message (Closes: #929730)
   * d/t/upstream: add TEST-30, TEST-34 to blacklist
   * d/t/timedated: replace systemctl is-active with systemctl show
   * d/t/control: root-unittests can break networking, add breaks-testbed
   * d/t/control: mark udev test skippable
   * d/t/upstream: always cleanup after (and before) each test
   * d/t/control: upstream test requires dmeventd
   * d/e/checkout-upstream: don't remove .git
   * d/e/checkout-upstream: move change to debian/ files above other changes
   * d/e/checkout-upstream: add UPSTREAM_KEEP_CHANGELOG param
   * d/e/checkout-upstream: create git commits for each change
   * d/e/checkout-upstream: switch from 'quilt' to 'native' format
   * d/e/checkout-upstream: set user.name, user.email if unset
   * d/t/storage: change plaintext_name to include testname
   * d/t/storage: increase wait for plaintext_dev from 5 to 30 seconds
   * d/t/storage: wait for service to start, only stop if active
   * d/t/storage: don't search for 'scsi_debug' in ask_password
   * d/t/storage: manage scsi_debug using add_hosts (Closes: #929728)
   * d/t/storage: use short timeout waiting for scsi_debug block dev to appear
   * d/t/storage: convert password agent into normal Thread
   * d/t/storage: fail if socket info not in ask_password contents
   * d/t/boot-smoke: pass failure reason to fail() to print instead of separate
     echo
   * d/t/boot-smoke: in fail() set +e so errors are ignored while gathering
     data
   * d/t/boot-smoke: gather still running jobs in fail()
   * d/t/boot-smoke: wait for is-system-running
   * d/t/boot-smoke: call fail if pidof polkitd fails
   * d/t/boot-smoke: remove check for running jobs
 .
   [ Michael Biebl ]
   * d/t/boot-smoke: check for NetworkManager instead of D-Bus activated
     polkitd (Closes: #934992)
Checksums-Sha1:
 eba5f4440b7d4da8ad6dd135db1ce84c2c76c5c2 4947 systemd_242-3.dsc
 f06b0d4d30f83e15609d47cfe929d0d44d3131f0 144596 systemd_242-3.debian.tar.xz
 e5d810110d9795190b55ba2d5dc7dc17ad8bd758 9359 systemd_242-3_source.buildinfo
Checksums-Sha256:
 0e37e8e56c3708b690be165c4136282964a317a9505385f1b53c601852318863 4947 
systemd_242-3.dsc
 1bc92102f3b1440a06195879453673615e67e4e52768b9c0f861da6348a282b2 144596 
systemd_242-3.debian.tar.xz
 c89a02832a443c9fe95f6e43ac61ceb0a2b15e31b3261008bb717d10ee0ab099 9359 
systemd_242-3_source.buildinfo
Files:
 6d1fce4b7862da2be4020c15977ff80f 4947 admin optional systemd_242-3.dsc
 38a9a9b3dcfa16fafb747a3483fefbfa 144596 admin optional 
systemd_242-3.debian.tar.xz
 38dfc0184087bc08c953e96981765a82 9359 admin optional 
systemd_242-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECbOsLssWnJBDRcxUauHfDWCPItwFAl1ccPoACgkQauHfDWCP
Itx/EQ/9Fndxnd9B76EV+4xcA6HNFTRuJpf2y7ePHLNEuPFzd4W4LHjd1y7SF/tI
W3MwcKOGR5FaG4xZ6igpGlYXaac20GYbVjHZD0dYNnWy1EqTsRdBKHTFq6zDcXQh
sg+amTxpRDbi+78oT/UGKJJCXJeyhUo2AIC9qWKr0qTGIAEMq4h3I/eulIYKhu8Z
2ygZvshKus8YdTxlnmjuonuSidFmP/k25Xr9S/yTFijZl39Qgu+adM9Ofl6kzgnH
SBgVZ1VC1KSe2YK7zDljYqEg2TyOX+e+eHMHwxDDh4sBQ9mI50RSyWBjfqM6bsll
s1DSNyvAbKC4pKZHmxw0RRfdIQ+O7i2+pv2FWUyG5TcjqHoFuN1/07rlmzaQuAvO
GT9kZsXd3godQ67mGmnoHXkS5trTiIfwQ9MDWAv1l2y6HkJAFKL88rSAqwOpmn2q
Wnb8XqUz+57U9LxCVfHmjLb9tqt6FRKmOJz5Yc5lfpCWj8NL18hmXffapqDZjo12
bHoi9FvLbKHYC1e9yeevY6pY/ANsIqw7dgf8/UhmmgxHhWqDoA5SNCdBvFSBWWuW
fXNEk7TZ3Kz6CfVZXjMFm9Efm/yBiFcF8+sqlE6qh6LzfzxumbRi2ds5NF9EYzY2
je57PrbP2tulI8L5pcgUh2CYs+T5weIgCo5flCtM+vtSmwylvv4=
=2IP2
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-systemd-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to