Debian Bug report logs - #798618
chef-client: autopkgtest race condition

version graph

Package: chef; Maintainer for chef is Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>; Source for chef is src:chef (PTS, buildd, popcon).

Reported by: Martin Pitt <martin.pitt@ubuntu.com>

Date: Fri, 11 Sep 2015 04:21:02 UTC

Severity: normal

Tags: patch

Found in version chef/12.3.0-2

Fixed in version chef/12.14.60-3

Done: Unit 193 <unit193@ubuntu.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#798618; Package chef. (Fri, 11 Sep 2015 04:21:06 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Pitt <martin.pitt@ubuntu.com>:
New Bug report received and forwarded. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Fri, 11 Sep 2015 04:21:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Martin Pitt <martin.pitt@ubuntu.com>
To: Debian BTS Submit <submit@bugs.debian.org>
Subject: chef-client: autopkgtest race condition
Date: Fri, 11 Sep 2015 06:17:22 +0200
[Message part 1 (text/plain, inline)]
Package: chef
Version: 12.3.0-2
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
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)
[chef.autopkgtest.debdiff (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Reply sent to Unit 193 <unit193@ubuntu.com>:
You have taken responsibility. (Thu, 17 Aug 2017 10:51:06 GMT) (full text, mbox, link).


Notification sent to Martin Pitt <martin.pitt@ubuntu.com>:
Bug acknowledged by developer. (Thu, 17 Aug 2017 10:51:06 GMT) (full text, mbox, link).


Message #10 received at 798618-close@bugs.debian.org (full text, mbox, reply):

From: Unit 193 <unit193@ubuntu.com>
To: 798618-close@bugs.debian.org
Subject: Bug#798618: fixed in chef 12.14.60-3
Date: Thu, 17 Aug 2017 10:49:12 +0000
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 798618@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Unit 193 <unit193@ubuntu.com> (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 ftpmaster@ftp-master.debian.org)


-----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 <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Changed-By: Unit 193 <unit193@ubuntu.com>
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-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 19 Sep 2017 07:26:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jan 6 23:49:53 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.