[pkg-go] Bug#975787: golang-github-howeyc-fsnotify: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/howeyc/fsnotify returned exit code 1

Lucas Nussbaum lucas at debian.org
Wed Nov 25 20:06:22 GMT 2020


Source: golang-github-howeyc-fsnotify
Version: 0.9.0+git20151003.f0c08ee-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201125 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
>  debian/rules build
> dh build --buildsystem=golang --with=golang
>    dh_update_autotools_config -O--buildsystem=golang
>    dh_autoreconf -O--buildsystem=golang
>    dh_auto_configure -O--buildsystem=golang
>    dh_auto_build -O--buildsystem=golang
> 	cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 github.com/howeyc/fsnotify
> internal/unsafeheader
> runtime/internal/sys
> runtime/internal/atomic
> internal/cpu
> math/bits
> runtime/internal/math
> unicode/utf8
> internal/race
> sync/atomic
> unicode
> internal/bytealg
> math
> internal/testlog
> runtime
> internal/reflectlite
> sync
> errors
> sort
> io
> internal/oserror
> strconv
> syscall
> strings
> reflect
> time
> internal/syscall/execenv
> internal/syscall/unix
> internal/poll
> internal/fmtsort
> os
> fmt
> github.com/howeyc/fsnotify
>    dh_auto_test -O--buildsystem=golang
> 	cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/howeyc/fsnotify
> === RUN   TestFsnotifyFakeSymlink
>     fsnotify_symlink_test.go:50: Created bogus symlink
>     fsnotify_symlink_test.go:36: event received: "/tmp/fsnotify457735749/zzznew": CREATE
>     fsnotify_symlink_test.go:72: calling Close()
> --- PASS: TestFsnotifyFakeSymlink (0.50s)
> === RUN   TestFsnotifyMultipleOperations
>     fsnotify_test.go:91: event received: "/tmp/fsnotify593067232/TestFsnotifySeq.testfile": CREATE
>     fsnotify_test.go:91: event received: "/tmp/fsnotify593067232/TestFsnotifySeq.testfile": MODIFY
>     fsnotify_test.go:91: event received: "/tmp/fsnotify593067232/TestFsnotifySeq.testfile": RENAME
>     fsnotify_test.go:91: event received: "/tmp/fsnotify593067232/TestFsnotifySeq.testfile": CREATE
>     fsnotify_test.go:167: calling Close()
>     fsnotify_test.go:169: waiting for the event channel to become closed...
>     fsnotify_test.go:172: event channel closed
> --- PASS: TestFsnotifyMultipleOperations (0.67s)
> === RUN   TestFsnotifyMultipleCreates
>     fsnotify_test.go:204: event received: "/tmp/fsnotify030001426/TestFsnotifySeq.testfile": CREATE
>     fsnotify_test.go:204: event received: "/tmp/fsnotify030001426/TestFsnotifySeq.testfile": MODIFY
>     fsnotify_test.go:204: event received: "/tmp/fsnotify030001426/TestFsnotifySeq.testfile": DELETE
>     fsnotify_test.go:204: event received: "/tmp/fsnotify030001426/TestFsnotifySeq.testfile": CREATE
>     fsnotify_test.go:204: event received: "/tmp/fsnotify030001426/TestFsnotifySeq.testfile": MODIFY
>     fsnotify_test.go:204: event received: "/tmp/fsnotify030001426/TestFsnotifySeq.testfile": MODIFY
>     fsnotify_test.go:293: calling Close()
>     fsnotify_test.go:295: waiting for the event channel to become closed...
>     fsnotify_test.go:298: event channel closed
> --- PASS: TestFsnotifyMultipleCreates (0.78s)
> === RUN   TestFsnotifyDirOnly
>     fsnotify_test.go:343: event received: "/tmp/fsnotify761300809/TestFsnotifyDirOnly.testfile": CREATE
>     fsnotify_test.go:343: event received: "/tmp/fsnotify761300809/TestFsnotifyDirOnly.testfile": MODIFY
>     fsnotify_test.go:343: event received: "/tmp/fsnotify761300809/TestFsnotifyDirOnly.testfile": DELETE
>     fsnotify_test.go:343: event received: "/tmp/fsnotify761300809/TestFsnotifyEventsExisting.testfile": DELETE
>     fsnotify_test.go:395: calling Close()
>     fsnotify_test.go:397: waiting for the event channel to become closed...
>     fsnotify_test.go:400: event channel closed
> --- PASS: TestFsnotifyDirOnly (0.57s)
> === RUN   TestFsnotifyDeleteWatchedDir
>     fsnotify_test.go:445: event received: "/tmp/fsnotify286157844/TestFsnotifyEventsExisting.testfile": DELETE
>     fsnotify_test.go:445: event received: "/tmp/fsnotify286157844": DELETE
> --- PASS: TestFsnotifyDeleteWatchedDir (0.50s)
> === RUN   TestFsnotifySubDir
>     fsnotify_test.go:491: event received: "/tmp/fsnotify731094627/sub": CREATE
>     fsnotify_test.go:491: event received: "/tmp/fsnotify731094627/TestFsnotifyFile1.testfile": CREATE
>     fsnotify_test.go:491: event received: "/tmp/fsnotify731094627/sub": DELETE
>     fsnotify_test.go:491: event received: "/tmp/fsnotify731094627/TestFsnotifyFile1.testfile": DELETE
>     fsnotify_test.go:548: calling Close()
>     fsnotify_test.go:550: waiting for the event channel to become closed...
>     fsnotify_test.go:553: event channel closed
> --- PASS: TestFsnotifySubDir (0.70s)
> === RUN   TestFsnotifyRename
>     fsnotify_test.go:589: event received: "/tmp/fsnotify688697958/TestFsnotifyEvents.testfile": CREATE
>     fsnotify_test.go:589: event received: "/tmp/fsnotify688697958/TestFsnotifyEvents.testfile": MODIFY
>     fsnotify_test.go:589: event received: "/tmp/fsnotify688697958/TestFsnotifyEvents.testfile": RENAME
>     fsnotify_test.go:589: event received: "/tmp/fsnotify688697958/TestFsnotifyEvents.testfileRenamed": CREATE
>     fsnotify_test.go:589: event received: "/tmp/fsnotify688697958/TestFsnotifyEvents.testfile": RENAME
>     fsnotify_test.go:624: calling Close()
>     fsnotify_test.go:626: waiting for the event channel to become closed...
>     fsnotify_test.go:629: event channel closed
> --- PASS: TestFsnotifyRename (0.51s)
> === RUN   TestFsnotifyRenameToCreate
>     fsnotify_test.go:671: event received: "/tmp/fsnotify441337997/TestFsnotifyEvents.testfileRenamed": CREATE
>     fsnotify_test.go:700: calling Close()
>     fsnotify_test.go:702: waiting for the event channel to become closed...
>     fsnotify_test.go:705: event channel closed
> --- PASS: TestFsnotifyRenameToCreate (0.50s)
> === RUN   TestFsnotifyRenameToOverwrite
>     fsnotify_test.go:759: event received: "/tmp/fsnotify460220999/TestFsnotifyEvents.testfileRenamed": CREATE
>     fsnotify_test.go:788: calling Close()
>     fsnotify_test.go:790: waiting for the event channel to become closed...
>     fsnotify_test.go:795: event stream was not closed after 2 seconds
> --- FAIL: TestFsnotifyRenameToOverwrite (2.51s)
> === RUN   TestRemovalOfWatch
>     fsnotify_test.go:831: No event received, as expected.
> --- PASS: TestRemovalOfWatch (0.61s)
> === RUN   TestFsnotifyAttrib
>     fsnotify_test.go:888: event received: "/tmp/fsnotify117319228/TestFsnotifyAttrib.testfile": MODIFY|ATTRIB
>     fsnotify_test.go:888: event received: "/tmp/fsnotify117319228/TestFsnotifyAttrib.testfile": MODIFY
>     fsnotify_test.go:888: event received: "/tmp/fsnotify117319228/TestFsnotifyAttrib.testfile": MODIFY|ATTRIB
>     fsnotify_test.go:966: calling Close()
>     fsnotify_test.go:968: waiting for the event channel to become closed...
>     fsnotify_test.go:971: event channel closed
> --- PASS: TestFsnotifyAttrib (1.75s)
> === RUN   TestFsnotifyClose
> --- PASS: TestFsnotifyClose (0.05s)
> FAIL
> FAIL	github.com/howeyc/fsnotify	9.655s
> FAIL
> dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/howeyc/fsnotify returned exit code 1

The full build log is available from:
   http://qa-logs.debian.net/2020/11/25/golang-github-howeyc-fsnotify_0.9.0+git20151003.f0c08ee-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-go-maintainers mailing list