Your message dated Fri, 02 May 2025 23:49:07 +0000
with message-id <e1ub07v-007zj1...@fasolo.debian.org>
and subject line Bug#1104510: fixed in remrun 0.2.4-2
has caused the Debian Bug report #1104510,
regarding remrun: FTBFS: Could not chdir to home directory /var/lib/buildd: No 
such file or directory
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 ow...@bugs.debian.org
immediately.)


-- 
1104510: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104510
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:remrun
Version: 0.2.4-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

[ note: /var/lib/buildd is the $HOME of the user where I build packages, but 
this
  might not exist inside the chroot, looks like the problem is that the tests
  are trying to write to $HOME, which is forbidden by policy ]

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh 'clean'
   dh_auto_clean
        make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f -- 'remrun' 'remrun.1.gz'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh 'binary'
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
        make -j2 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
install -m 755 -- 'remrun.sh' 'remrun'
gzip -c -n -9 -- 'remrun.1' > 'remrun.1.gz' || { rm -f -- 'remrun.1.gz'; false; 
}
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
if [ -d /run/sshd ]; then \
        dh_auto_test -- SKIP_SHELLCHECK=1; \
else \
        echo 'No /run/sshd directory, not running the upstream test suite'; \
fi
        make -j2 test SKIP_SHELLCHECK=1
make[2]: Entering directory '/<<PKGBUILDDIR>>'
[ -n '1' ] || shellcheck -- 'remrun' 'tests/run-test.sh'
env PYTHONPATH='/<<PKGBUILDDIR>>/tests/python' python3 -B -u -m run_sshd_test 
-v -t 'tests/run-test.sh'  -- 'remrun'
Using /<<PKGBUILDDIR>>/run_sshd_test.vplskquw as a temporary directory, initial 
uid 924
Looking for a port to listen on at 127.0.0.1
- got 127.0.0.1:8086
Generating the SSH host key at 
/<<PKGBUILDDIR>>/run_sshd_test.vplskquw/server/ssh_host_key
Generating public/private ed25519 key pair.
Your identification has been saved in 
/<<PKGBUILDDIR>>/run_sshd_test.vplskquw/server/ssh_host_key
Your public key has been saved in 
/<<PKGBUILDDIR>>/run_sshd_test.vplskquw/server/ssh_host_key.pub
The key fingerprint is:
SHA256:BA1WJPWYP7M7X/7wagYvA3FmXpwlf0Vt8gzEndtkfec buildd@c7a-large-1746029472
The key's randomart image is:
+--[ED25519 256]--+
|      =*+    o.o=|
|     . o.+    =.%|
|        + .  . #*|
|       . .. + +.E|
|        S +* .  .|
|          .+o    |
|          .. oo  |
|          ..oo+o |
|          .o.=ooo|
+----[SHA256]-----+
Generating the SSH client key at 
/<<PKGBUILDDIR>>/run_sshd_test.vplskquw/home/.ssh/id
Generating public/private ed25519 key pair.
Your identification has been saved in 
/<<PKGBUILDDIR>>/run_sshd_test.vplskquw/home/.ssh/id
Your public key has been saved in 
/<<PKGBUILDDIR>>/run_sshd_test.vplskquw/home/.ssh/id.pub
The key fingerprint is:
SHA256:FoO7eOaRs6ao+aNEi5GLEbJUfWQB2G0nyqIfLo4Z9Us buildd@c7a-large-1746029472
The key's randomart image is:
+--[ED25519 256]--+
|   .+.++.        |
|  .. o.* .       |
|o.  . = =        |
|o+ . o . o       |
|=.o . . S        |
|+*.o . +         |
|=oo E B          |
|o=.= =.+         |
|B=+.ooo          |
+----[SHA256]-----+
Copying the client public key to the authorized keys file
Generating the client known hosts file
Generating the SSH client config file
Generating the SSH server config file
./home/.ssh/known_hosts:127.0.0.1 ssh-ed25519 
AAAAC3NzaC1lZDI1NTE5AAAAIDxCi8d5IzWIN2RX9T6qWat6KghOqTDrBiY/VfPPMaM2 
buildd@c7a-large-1746029472
./home/.ssh/id.pub:ssh-ed25519 
AAAAC3NzaC1lZDI1NTE5AAAAIKT7gGufD5U479YzZJZQzT8Sb2RcXlJmtOOGZHPMBY27 
buildd@c7a-large-1746029472
./home/.ssh/id:-----BEGIN OPENSSH PRIVATE KEY-----
./home/.ssh/id:b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
./home/.ssh/id:QyNTUxOQAAACCk+4Brnw+VOO/WM2SWUM0/Em9kXF5SZrTjhmRzzAWNuwAAAKCiDT++og0/
./home/.ssh/id:vgAAAAtzc2gtZWQyNTUxOQAAACCk+4Brnw+VOO/WM2SWUM0/Em9kXF5SZrTjhmRzzAWNuw
./home/.ssh/id:AAAEBQK/6Xpefxp3YwL8ljfh5peLAY69OxXfZztvaN5H+neaT7gGufD5U479YzZJZQzT8S
./home/.ssh/id:b2RcXlJmtOOGZHPMBY27AAAAG2J1aWxkZEBjN2EtbGFyZ2UtMTc0NjAyOTQ3MgEC
./home/.ssh/id:-----END OPENSSH PRIVATE KEY-----
./home/.ssh/config:
./home/.ssh/config:Host *
./home/.ssh/config:ForwardAgent no
./home/.ssh/config:ForwardX11 no
./home/.ssh/config:GlobalKnownHostsFile /dev/null
./home/.ssh/config:GSSAPIAuthentication no
./home/.ssh/config:HostbasedAuthentication no
./home/.ssh/config:IdentitiesOnly yes
./home/.ssh/config:IdentityFile 
/<<PKGBUILDDIR>>/run_sshd_test.vplskquw/home/.ssh/id
./home/.ssh/config:KbdInteractiveAuthentication no
./home/.ssh/config:PasswordAuthentication no
./home/.ssh/config:Port 8086
./home/.ssh/config:PubkeyAuthentication yes
./home/.ssh/config:RequestTTY no
./home/.ssh/config:StrictHostKeyChecking yes
./home/.ssh/config:Tunnel no
./home/.ssh/config:UpdateHostKeys no
./home/.ssh/config:User buildd
./home/.ssh/config:UserKnownHostsFile 
/<<PKGBUILDDIR>>/run_sshd_test.vplskquw/home/.ssh/known_hosts
./home/.ssh/config:VerifyHostKeyDNS no
./server/ssh_host_key:-----BEGIN OPENSSH PRIVATE KEY-----
./server/ssh_host_key:b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
./server/ssh_host_key:QyNTUxOQAAACA8QovHeSM1iDdkV/U+qlmreioITqkw6wYmP1XzzzGjNgAAAKCZXpw7mV6c
./server/ssh_host_key:OwAAAAtzc2gtZWQyNTUxOQAAACA8QovHeSM1iDdkV/U+qlmreioITqkw6wYmP1XzzzGjNg
./server/ssh_host_key:AAAEDhzwr2K7mWub6k1pBg/cSef+IQ4noF/77sH9fhK0OdETxCi8d5IzWIN2RX9T6qWat6
./server/ssh_host_key:KghOqTDrBiY/VfPPMaM2AAAAG2J1aWxkZEBjN2EtbGFyZ2UtMTc0NjAyOTQ3MgEC
./server/ssh_host_key:-----END OPENSSH PRIVATE KEY-----
./server/authorized_keys:ssh-ed25519 
AAAAC3NzaC1lZDI1NTE5AAAAIKT7gGufD5U479YzZJZQzT8Sb2RcXlJmtOOGZHPMBY27 
buildd@c7a-large-1746029472
./server/ssh_host_key.pub:ssh-ed25519 
AAAAC3NzaC1lZDI1NTE5AAAAIDxCi8d5IzWIN2RX9T6qWat6KghOqTDrBiY/VfPPMaM2 
buildd@c7a-large-1746029472
./server/sshd_config:
./server/sshd_config:AllowUsers buildd
./server/sshd_config:AuthorizedKeysFile 
/<<PKGBUILDDIR>>/run_sshd_test.vplskquw/server/authorized_keys
./server/sshd_config:DisableForwarding yes
./server/sshd_config:GSSAPIAuthentication no
./server/sshd_config:HostKey 
/<<PKGBUILDDIR>>/run_sshd_test.vplskquw/server/ssh_host_key
./server/sshd_config:IgnoreRhosts yes
./server/sshd_config:KbdInteractiveAuthentication no
./server/sshd_config:ListenAddress 127.0.0.1
./server/sshd_config:PasswordAuthentication no
./server/sshd_config:PermitRootLogin no
./server/sshd_config:PermitTTY no
./server/sshd_config:PidFile 
/<<PKGBUILDDIR>>/run_sshd_test.vplskquw/server/sshd.pid
./server/sshd_config:Port 8086
./server/sshd_config:PubkeyAuthentication yes
./server/sshd_config:StrictModes no
./server/sshd_config:UseDNS no
Determining the full path of the real SSH executable
Generating the SSH wrapper
Checking that the SSH-specific environment is sane
Looking for an SSH server executable
Starting an SSH server: /usr/sbin/sshd
- got SSH server process 1040196
Waiting for the SSH server at 127.0.0.1:8086 (address family AF_INET) to start 
accepting connections
Server listening on 127.0.0.1 port 8086.

Trying to connect to 127.0.0.1 port 8086...
Connected!
Got banner 'SSH-2.0-OpenSSH_10.0p2 Debian-2\r\n'
Checking that our SSH client and server both work
Connection closed by 127.0.0.1 port 36068

Accepted publickey for buildd from 127.0.0.1 port 36082 ssh2: ED25519 
SHA256:FoO7eOaRs6ao+aNEi5GLEbJUfWQB2G0nyqIfLo4Z9Us

Could not chdir to home directory /var/lib/buildd: No such file or directory
Received disconnect from 127.0.0.1 port 36082:11: disconnected by user

Disconnected from user buildd 127.0.0.1 port 36082

Running the /<<PKGBUILDDIR>>/tests/run-test.sh testsuite

=== Fail with a nonexistent local file

Not a readable regular file: /nonexistent

=== Do not run "whoami" on the remote host

Parsed SSH port '' user@host '127.0.0.1'
Obtaining the local checksum of /<<PKGBUILDDIR>>/tests/test-data/whoami.sh
Obtained local checksum 
3c1b851fd5df97943328a92039df4061fd53219b2b94244089237f5da2fcb0c5
About to create a temporary file at '127.0.0.1'
Accepted publickey for buildd from 127.0.0.1 port 36096 ssh2: ED25519 
SHA256:FoO7eOaRs6ao+aNEi5GLEbJUfWQB2G0nyqIfLo4Z9Us

Could not chdir to home directory /var/lib/buildd: No such file or directory
mktemp: failed to create file via template 'remrun.XXXXXX': Permission denied
Received disconnect from 127.0.0.1 port 36096:11: disconnected by user

Could not run mktemp at '127.0.0.1' via SSH
Disconnected from user buildd 127.0.0.1 port 36096

Unexpected failure; here is the output:
Killing the SSH server
The SSH server is done, code -9
Removing /<<PKGBUILDDIR>>/run_sshd_test.vplskquw in process 1040189
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/<<PKGBUILDDIR>>/tests/python/run_sshd_test/__main__.py", line 584, in 
<module>
    main()
    ~~~~^^
  File "/<<PKGBUILDDIR>>/tests/python/run_sshd_test/__main__.py", line 576, in 
main
    test_prog(cfg, ssh_cfg)
    ~~~~~~~~~^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/tests/python/run_sshd_test/__main__.py", line 407, in 
test_prog
    subprocess.check_call(["sh", "--", cfg.test_prog, cfg.prog], env=run_env)  
# noqa: S603,S607
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/subprocess.py", line 419, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sh', '--', 
PosixPath('/<<PKGBUILDDIR>>/tests/run-test.sh'), 
PosixPath('/<<PKGBUILDDIR>>/remrun')]' returned non-zero exit status 1.
make[2]: *** [Makefile:45: test] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j2 test SKIP_SHELLCHECK=1 returned exit code 2
make[1]: *** [debian/rules:9: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202505/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:remrun, so that this is still
visible in the BTS web page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: remrun
Source-Version: 0.2.4-2
Done: Peter Pentchev <r...@debian.org>

We believe that the bug you reported is fixed in the latest version of
remrun, 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 1104...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Pentchev <r...@debian.org> (supplier of updated remrun 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 03 May 2025 02:22:42 +0300
Source: remrun
Architecture: source
Version: 0.2.4-2
Distribution: unstable
Urgency: medium
Maintainer: Peter Pentchev <r...@debian.org>
Changed-By: Peter Pentchev <r...@debian.org>
Closes: 1104510
Changes:
 remrun (0.2.4-2) unstable; urgency=medium
 .
   * Add the tests-unpriv-refactor, tests-unpriv-fail, and
     writable-homedir patches cherry-picked from upstream.
     Closes: #1104510
Checksums-Sha1:
 82bd33eb608a43d0affb14ffff542789d6bdf068 2482 remrun_0.2.4-2.dsc
 6313536ef8e464e99491e888339ee2f2b82ffb76 11576 remrun_0.2.4-2.debian.tar.xz
Checksums-Sha256:
 b9bf285c67554316b77427ac16ed53186ec2dbd798182da23e81031fcec0146e 2482 
remrun_0.2.4-2.dsc
 b43bd86cc3c3cb1b4ff6fcb93b0cbbf02a0f4ac38361cc477326535113b3cf25 11576 
remrun_0.2.4-2.debian.tar.xz
Files:
 556600089213eba770c15852bcd3cd6e 2482 utils optional remrun_0.2.4-2.dsc
 70a8cb2ceaa0a1edb78f22b2a091e8bb 11576 utils optional 
remrun_0.2.4-2.debian.tar.xz

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

iQJEBAEBCgAuFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAmgVVIAQHHJvYW1AZGVi
aWFuLm9yZwAKCRBlHu+wJSffE6PKD/9aS0IYEkR/OLKblmXnzepGCrVlKYdzid6Z
CWSvAyRXIW6eeIzuN8xe+5Qly9Y8RbW9u++uRnnENS8klRirx97dd9ATjK6nlHiw
HFw3+Qop8Bg7Pm5tcHAeQdOyWxE7Upw+/iKQlKCk0m7JIh9xXf9sdxAkO6TZ7FyE
gv1fWhmvsCIrku04A8AIbDVEHWz/2Xi4ZPh39OHuYWjg0uuk5fyHlmGr16wIWpyy
OUNhUAmo3x+Hl8Fdk+XfQHfY49bmjBQxZLaqyhVVKmVUGN+3xLmqTLocUYeXFs7H
Z4XdP+nMrL3LOnpE8yTXOoWNRNWbtcUS71MlvBCWS3XGGLGyYx/95hKLVk4TLt5I
GPAR5rg0Jm5NXdKxjJo3Q90tWPpE0bApa+UlKyVd0QW1X5ZCz2K+h3+BjuLpPGh3
1/P5KBiewulu9wJI7IbhJnzfJfabj+mqBx5UWQ5dkC0xHlQTMNWIhSfC1C2Cq1FR
g6O8hXcosLVF4YHSh4NDRZpj68G1+g2FUI5hzNyF6QIyN8FMWCHUuSSZiIiOpQmX
ESHfE3HU2GvEYHBlU6lYuQRgELIBksZXbz+ql5Ov/RJ7Ehl9pEdEGoAhDLn0zX53
JNkYFwnZR+6pscak99bN8TG3MqrJdILcjakQFngQ2gsifxLq743HunEBOvrtMsTN
qDewsyA2xQ==
=Jxlz
-----END PGP SIGNATURE-----

Attachment: pgpmoNzhQqFTA.pgp
Description: PGP signature


--- End Message ---

Reply via email to