Public bug reported:

The included TestInotifyOverflow test unexpectedly fails on newer host
systems if the host system's fs.inotify.max_queued_events is greater
than 128*1024:

[2022-05-06T11:15:11+0200] 
ubuntu@pbuilder-amd64:/var/cache/pbuilder/tmp/podman_buildah_skopeo% grep FAIL 
golang-fsnotify_151-2_all.log__REDO
--- FAIL: TestInotifyOverflow (0.91s)
FAIL
FAIL    github.com/fsnotify/fsnotify    9.762s
FAIL

[2022-05-06T11:18:18+0200] root@desktop01:~# sysctl fs.inotify.max_queued_events
fs.inotify.max_queued_events = 1048576

In order to rebuild the package, it's necessary to temporarily modify
said system value (e.g., using "sysctl -w
fs.inotify.max_queued_events=16384"), which is rather cumbersome -- cf.
https://www.mail-archive.com/pkg-go-maintainers@alioth-
lists.debian.net/msg04669.html

It would be best to remove the above test (or maybe keep it but replace
the threshold with an absurdly high number?)

----
[2022-05-06T11:18:25+0200] root@desktop01:~# lsb_release -rd
Description:    Ubuntu 20.04.4 LTS
Release:        20.04

[2022-05-06T11:25:45+0200] 
ubuntu@pbuilder-amd64:/var/cache/pbuilder/tmp/podman_buildah_skopeo% _hgrep 
dget | grep fsnotify
 9911  [2022-05-06T11:06:06+0200]  dget 
http://archive.ubuntu.com/ubuntu/pool/universe/g/golang-fsnotify/golang-fsnotify_1.5.1-1.dsc
[2022-05-06T11:25:53+0200] 
ubuntu@pbuilder-amd64:/var/cache/pbuilder/tmp/podman_buildah_skopeo% ll 
original/*fsnotify*
-rw-rw-r-- 1 ubuntu ubuntu  3588 2022-05-06 10:05:47 
original/golang-fsnotify_1.5.1-1.debian.tar.xz
-rw-rw-r-- 1 ubuntu ubuntu  2228 2022-05-06 10:05:46 
original/golang-fsnotify_1.5.1-1.dsc
-rw-rw-r-- 1 ubuntu ubuntu 32691 2022-05-06 10:05:46 
original/golang-fsnotify_1.5.1.orig.tar.gz
----

** Affects: golang-fsnotify (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971967

Title:
  TestInotifyOverflow test fails on newer host systems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-fsnotify/+bug/1971967/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to