Your message dated Fri, 21 Feb 2020 19:35:25 +0000
with message-id <[email protected]>
and subject line Bug#935935: fixed in golang-golang-x-sys 
0.0~git20200219.cb0a6d8-1
has caused the Debian Bug report #935935,
regarding golang-golang-x-sys: test failure in chroots
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.)


-- 
935935: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935935
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: golang-golang-x-sys
Version: 0.0~git20190726.fc99dfb-1
Severity: important
Tags: patch

Hello, while debugging a test failure in Ubuntu and pbuilder chroots, I found 
that the issue is also in Debian chroots (at lest in pbuilder environments), so 
you might want to disable it too for people not using sbuild.

not sure what happens, but the test is never run in sbuild because of missing 
capabilities, see e.g. the log from Debian builds:
(note: this is a new test, so previous versions never run such code)

=== RUN   TestOpenByHandleAt
=== RUN   TestOpenByHandleAt/clone=false
=== RUN   TestOpenByHandleAt/clone=true
--- PASS: TestOpenByHandleAt (0.00s)
    syscall_linux_test.go:559: mountID: 495, handle: size=12, type=1, 
bytes="\x99Zp\x90\r\x80\xad\x01\x00\x00\x00\x00"
    --- SKIP: TestOpenByHandleAt/clone=false (0.00s)
        syscall_linux_test.go:544: skipping open_by_handle_at test without 
CAP_DAC_READ_SEARCH
    --- SKIP: TestOpenByHandleAt/clone=true (0.00s)
        syscall_linux_test.go:544: skipping open_by_handle_at test without 
CAP_DAC_READ_SEARCH

While on Ubuntu:
=== RUN   TestOpenByHandleAt
--- FAIL: TestOpenByHandleAt (0.00s)
    syscall_linux_test.go:559: mountID: 29, handle: size=8, type=1, 
bytes="\x8eQ\x02\x00\f\xa4\x8ah"
    syscall_linux_test.go:563: openMountByID: mountID not found



cat /proc/self/mountinfo 
749 29 0:4 / /proc rw,relatime shared:611 - proc /proc rw
768 29 0:21 / /sys rw,nosuid,nodev,noexec,relatime shared:685 - sysfs sysfs rw
1092 29 0:69 / /dev/shm rw,relatime shared:755 - tmpfs tmpfs rw
1137 29 0:70 / /dev/pts rw,nosuid,noexec,relatime shared:766 - devpts devpts 
rw,gid=5,mode=620,ptmxmode=666
1159 29 0:70 /ptmx /dev/ptmx rw,nosuid,noexec,relatime shared:766 - devpts 
devpts rw,gid=5,mode=620,ptmxmode=666
1174 29 0:22 /9 /dev/console rw,nosuid,noexec,relatime shared:3 - devpts devpts 
rw,gid=5,mode=620,ptmxmode=000


I'm currently ignoring it with the following "patch"
--- golang-golang-x-sys-0.0~git20190726.fc99dfb.orig/unix/syscall_linux_test.go
+++ golang-golang-x-sys-0.0~git20190726.fc99dfb/unix/syscall_linux_test.go
@@ -539,6 +539,7 @@ func TestClockNanosleep(t *testing.T) {
 }

 func TestOpenByHandleAt(t *testing.T) {
+       t.Skip("cannot parse correctly /proc/self/mountinfo on chroots, 
ignoring test")
        skipIfNotSupported := func(t *testing.T, name string, err error) {
                if err == unix.EPERM {
                        t.Skipf("skipping %s test without CAP_DAC_READ_SEARCH", 
name)


Do you have any idea?

thanks

Gianfranco

--- End Message ---
--- Begin Message ---
Source: golang-golang-x-sys
Source-Version: 0.0~git20200219.cb0a6d8-1
Done: Anthony Fok <[email protected]>

We believe that the bug you reported is fixed in the latest version of
golang-golang-x-sys, 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.
Anthony Fok <[email protected]> (supplier of updated golang-golang-x-sys 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: Fri, 21 Feb 2020 12:08:47 -0700
Source: golang-golang-x-sys
Architecture: source
Version: 0.0~git20200219.cb0a6d8-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <[email protected]>
Changed-By: Anthony Fok <[email protected]>
Closes: 907191 935935
Changes:
 golang-golang-x-sys (0.0~git20200219.cb0a6d8-1) unstable; urgency=medium
 .
   * New upstream version 0.0~git20200219.cb0a6d8
   * Update debhelper to "Build-Depends: debhelper-compat (= 12)"
   * debian/gbp.conf: Set debian-branch to debian/sid for DEP-14 conformance
   * Bump Standards-Version to 4.5.0 (no change)
   * Add "Rules-Requires-Root: no" to debian/control
   * Allow minor number of /dev/random to mismatch in TestDevices
     as some autobuilders have /dev/random linked to /dev/urandom.
     Thanks to Santiago Vila <[email protected]> for providing an
     initial patch. (Closes: #907191)
   * Skip TestOpenByHandleAt if openMountByID fails to prevent FTBFS under
     pbuilder.  Thanks to Gianfranco Costamagna <[email protected]>
     for providing an initial patch. (Closes: #935935)
Checksums-Sha1:
 121fbf1561c9da342dfa9a01facb9d6049269fa5 2329 
golang-golang-x-sys_0.0~git20200219.cb0a6d8-1.dsc
 31c3028d66f998f7844bc19d5272f1d14b2b2ec7 418612 
golang-golang-x-sys_0.0~git20200219.cb0a6d8.orig.tar.xz
 7805b92694226bc60ae21af4dbc094f14f0e7e50 6760 
golang-golang-x-sys_0.0~git20200219.cb0a6d8-1.debian.tar.xz
 39790bc83b54cca3461608be3e96528eeacc1fe7 6285 
golang-golang-x-sys_0.0~git20200219.cb0a6d8-1_amd64.buildinfo
Checksums-Sha256:
 e8b45b43f63102f26598f40e779d360f86f6f16250009e8b7ce2198b22260f66 2329 
golang-golang-x-sys_0.0~git20200219.cb0a6d8-1.dsc
 1e08fde9eb97ed9677ff86e806759a1c09ee715a3d6405ea74be08e5a48a85fc 418612 
golang-golang-x-sys_0.0~git20200219.cb0a6d8.orig.tar.xz
 1ee640c68e37b163d71f43f559135c3386e9cf0a793eff223a50ded3ca7c1445 6760 
golang-golang-x-sys_0.0~git20200219.cb0a6d8-1.debian.tar.xz
 1e8aa598d673d0f5ee072c58d1a2a83eb5c6026f09e67ce055c28d8bd25a4e2e 6285 
golang-golang-x-sys_0.0~git20200219.cb0a6d8-1_amd64.buildinfo
Files:
 2bfe0c5bbb63223c1238c6c24ab0283b 2329 devel optional 
golang-golang-x-sys_0.0~git20200219.cb0a6d8-1.dsc
 f065dc1a1f4400b71cc4a4cb0d70040b 418612 devel optional 
golang-golang-x-sys_0.0~git20200219.cb0a6d8.orig.tar.xz
 67a17d00e3ef6a150ac10c01dc92951e 6760 devel optional 
golang-golang-x-sys_0.0~git20200219.cb0a6d8-1.debian.tar.xz
 5284984e1f54336a570ddd87f7fa902e 6285 devel optional 
golang-golang-x-sys_0.0~git20200219.cb0a6d8-1_amd64.buildinfo

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

iQIzBAEBCAAdFiEEFCQhsZrUqVmW+VBy6iUAtBLFms8FAl5QLNEACgkQ6iUAtBLF
ms933BAAo13vSdz0iucifFaD85F22N0vKAFAVnDkMG5fPBSIC80VV/9kMAT8gHeh
49kppmKv/YLis2RoMOhF+hv5lIH9c2G3quthv9Ecx7hDjiBx0HiMKdyoS8jF1fTS
EWpjiWMUn31yIN3qICOvc6S3AanRFkfP5+m6XcbBRgYVlh1Nl1gAc2upB6vqxIPY
MUs7STGTanON7lhNmmqkputPYJW5KAMajdriRl2dCq866llzm94zK9zi6if7wC1G
2tSYH91WP0FbffWVc9ocyShI369n/NqNuR5tmKvV4vmRUnAXMwdJKxYzrV2oi2VV
WN+65flacPBzDrZYHS8d93tX+eZ2TpeffmQOm2zwXgWgvJkCx7jw8VF82/+S3T1y
pPzeuYRpIteSbM1W9lpIDc6QCrVVvF6pbLr+UtceBETvvWOlQQeTaBJETfgWPyNp
yOhpU5L7VxzBoywsDWmOdrEcK7HD0pXlQOPeNIunwQoSORpwh7w3M7C8zdYoIc2s
Gt/c85EFuzx2yHp7R11uw3C47hTFC7j/sf5rya8tRVRJLmlqR3OECSBDm2uWdAwu
RAVeVboXdYchvJQtXL3vl5oSBzp91lVRZceejAVUxOgETbuz9N4lUb95KOV1Jn+y
EmdEMwzONRwf7D7/SFaaEanTUW+zK9+IY1ciWY3imeJJbWNDVes=
=TIlm
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to