Your message dated Thu, 17 Aug 2017 10:49:12 +0000
with message-id <[email protected]>
and subject line Bug#798618: fixed in chef 12.14.60-3
has caused the Debian Bug report #798618,
regarding chef-client: autopkgtest race condition
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.)
--
798618: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798618
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: chef
Version: 12.3.0-2
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch wily
Hello,
chef's "init" autopkgtest fails frequently under systemd:
http://autopkgtest.ubuntu.com/packages/c/chef/wily/amd64/
unfortunately the test doesn't give any extra information on failure:
test_initscript_starts_stops
ASSERT:
I made the test more verbose, turns out that the pgrep matches too broadly:
test_initscript_starts_stops
ASSERT:chef-client still running after stop: 7543
/lib/systemd/systemd-cgroups-agent /system.slice/chef-client.service
Attached patch fixes this.
Thanks for considering,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
diff -Nru chef-12.3.0/debian/changelog chef-12.3.0/debian/changelog
--- chef-12.3.0/debian/changelog 2015-08-25 21:56:21.000000000 +0200
+++ chef-12.3.0/debian/changelog 2015-09-11 06:15:52.000000000 +0200
@@ -1,3 +1,10 @@
+chef (12.3.0-2ubuntu1) wily; urgency=medium
+
+ * debian/tests/init: Be more verbose on failure, and tighten the pgrep to
+ avoid catching "systemd-cgroups-agent chef-client.service" after stopping.
+
+ -- Martin Pitt <[email protected]> Fri, 11 Sep 2015 06:14:52 +0200
+
chef (12.3.0-2) unstable; urgency=medium
* Fix installation of initscript and /etc/default file
diff -Nru chef-12.3.0/debian/tests/init chef-12.3.0/debian/tests/init
--- chef-12.3.0/debian/tests/init 2015-08-25 21:56:21.000000000 +0200
+++ chef-12.3.0/debian/tests/init 2015-09-11 06:14:47.000000000 +0200
@@ -2,9 +2,11 @@
test_initscript_starts_stops() {
service chef-client stop
- assertFalse 'pgrep -fa chef-client'
+ if ps=$(pgrep -fa bin/chef-client); then
+ fail "chef-client still running after stop: $ps"
+ fi
service chef-client start
- assertTrue 'pgrep -fa chef-client'
+ assertTrue 'chef-client not running after start' 'pgrep -fa bin/chef-client'
}
. shunit2
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: chef
Source-Version: 12.14.60-3
We believe that the bug you reported is fixed in the latest version of
chef, 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.
Unit 193 <[email protected]> (supplier of updated chef 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: Mon, 07 Aug 2017 05:01:33 -0400
Source: chef
Binary: chef ruby-chef-config
Architecture: source
Version: 12.14.60-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers
<[email protected]>
Changed-By: Unit 193 <[email protected]>
Description:
chef - systems integration framework - clients
ruby-chef-config - Chef configuration library
Closes: 798618 869179
Changes:
chef (12.14.60-3) unstable; urgency=medium
.
* Team upload.
.
[ Stefano Rivera ]
* Build-Depend on ruby-fuzzyurl, rather than relying on it's indirect
presence via ohai -> ruby-chef-config.
* Blacklist mount_spec and ifconfig_spec, as they require real root.
* Be more verbose on failure, and tighten the pgrep to avoid catching
"systemd-cgroups-agent chef-client.service" after stopping.
(Patch from Ubuntu, Closes: #798618)
* Unset http[s]_proxy in the subversion spec, so it doesn't alter generated
subversion commands.
.
[ Unit 193 ]
* Bump Standards-Version to 4.0.1.
* d/p/0004-Use-newer-net-ssh.patch:
- Relax dependency on ruby-net-ssh (Closes: #869179)
Checksums-Sha1:
1c53e9c12a764000a339d9d29d64cfb22f9a2d53 2923 chef_12.14.60-3.dsc
8a75a79463bf526da037f96d0eed96a03af73d4c 29576 chef_12.14.60-3.debian.tar.xz
935823f647a25e2afcf7a76fac1e226ece82fdc2 7323 chef_12.14.60-3_source.buildinfo
Checksums-Sha256:
f022a2b13592ebcdc03eafafe065526342d71fd782d8705c8d2baedc672d7359 2923
chef_12.14.60-3.dsc
debfa03b826b95d40a0c806a9301fe0a2265ff3aa81911aa9743ac0ef2ffb08b 29576
chef_12.14.60-3.debian.tar.xz
172314c3e9d4206118287c1e97d3bdfc417c7c02558a56ac6fffc780c4281c8c 7323
chef_12.14.60-3_source.buildinfo
Files:
46d5d739e2ea404f4cf704483dc8dfc7 2923 ruby optional chef_12.14.60-3.dsc
bfcadfe37a48ea884f4d5df16589a6ba 29576 ruby optional
chef_12.14.60-3.debian.tar.xz
bc2ebc33e07ae77412b9ce5c928f38b7 7323 ruby optional
chef_12.14.60-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEKnl0ri/BUtd4Z9pKzh+cZ0USwioFAlmVcl0ACgkQzh+cZ0US
wiqFhhAAqcL7s1PYnb+2xiL2v0pqITyCId3HhFx6ZmWZKwvORozjGzVGx7DN16d3
bTY9OCM22tRlNgP1Gjtm5VI7+NvhAU+tb60rxhnofIttEFcfI/4rptgbDxpS6wdM
u5a2pXdJ33hIs+3gsRU6xVeRMQzdP5LFFFJz9ylgWKR0rv/9U9UA+vpX5/9kNAAj
Gf3jNUPG2KjyDYuSkWQ7OvSczk3MsMyuwERbgABVGI3AbYnhvMitin+IYqU33Y3v
zzNHryCU3zR5+Wa+iRtoi1Ey5plxKT5+pIy1i7lzC4by9a3JfSmY84+3VZsPM49o
Rn/dnnzrC8Ac0wgY4qK/r9lAKHpA5Pn6iTVjmskiOuPuB+L9uMcDk+3/QmjNplau
LKwc3n5LU6wsYwy3eBYATY1wclIpZCRHTUdjufaaKbk/EUjRMJNMGd41/DWoinRM
tPEc+G6L8agTda6+Fvkb3aMSY/PFkm2p0qPCqO9k7KzZaqQpDSjtvcYsqgiNAvP9
zBZqFIVs2v5gO5paWYWtgIuK2xw5ckUSzXUIxi9QDhgKNv0V2iqp7QHhidaBrW6Y
Ajhnggr6V69Gy25wPOzwOEniO2vj4oxG2R6bbmYUp3WDqQMEOIt3mRHf+1RNUcXQ
SQ+lxkLIhknnW8VKmOIK6KuNNJhwHevcYaC90piGdhYkG36n6MM=
=CACB
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers