#1073164 pbuilder build --twice, stray process that requires manual intervention

Package:
logrotate
Source:
logrotate
Description:
Log rotation utility
Submitter:
Date:
2024-06-23 13:54:02 UTC
Severity:
normal
Tags:
#1073164#5
Date:
2024-06-13 19:34:38 UTC
From:
To:
Building logrotate twice with pbuilder (part of reproducible builds) e.g. 'sudo
pbuilder build --twice logrotate_<version>-<debian_revision>.dsc' results in a
stray process at the end of the second build that requires manual intervention
(hitting 'q' key) to exit and complete the build, see output below.

dpkg-genchanges: info: not including original source code in upload
I: copying local configuration
I: Copying back the cached apt archive contents
I: unmounting dev/ptmx filesystem
I: unmounting dev/pts filesystem
I: unmounting dev/shm filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
W: Stray processes left from build:
* system-pbuilder-build-logrotate_3.21.0\x2d2-24623.slice - Slice
/system/pbuilder/build/logrotate_3.21.>
     Loaded: loaded
     Active: active since Thu 2024-06-13 20:23:04 BST; 46s ago
 Invocation: 73d59e481a6848a489f3c27c57c333cb
      Tasks: 2
     Memory: 253.4M (peak: 369.5M)
        CPU: 1min 1.590s
     CGroup: /system.slice/system-pbuilder.slice/system-pbuilder-
build.slice/system-pbuilder-build-logro>
             `-run-r8841d7ef13ad49709af4343b1c9e543b.scope
               |-43056 flock state -c "sleep 10"
               `-43062 sleep 10

Jun 13 20:23:04 ks-windu systemd[1]: Created slice system-pbuilder-build-
logrotate_3.21.0\x2d2-24623.sli>
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build/24623 and its subdirectories
I: Current time: Thu Jun 13 20:24:11 BST 2024
I: pbuilder-time-stamp: 1718306651

Unsure of if there is a major issue here, but thought I would raise it.

Regards

Phil

#1073164#10
Date:
2024-06-23 13:51:24 UTC
From:
To:
control: tags -1 unreproducible

I tried the reproducer but it works for me.

Seems like test-0092 did not finish, but I wonder how a `sleep 10` could stall.