[pkg-go] Bug#952166: 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
Sun Feb 23 13:08:00 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-20200222 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
> math/bits
> runtime/internal/sys
> runtime/internal/atomic
> runtime/internal/math
> internal/cpu
> unicode/utf8
> internal/race
> sync/atomic
> unicode
> internal/bytealg
> math
> internal/testlog
> runtime
> internal/reflectlite
> sync
> errors
> sort
> strconv
> io
> internal/oserror
> syscall
> strings
> reflect
> internal/syscall/unix
> time
> 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
> --- PASS: TestFsnotifyFakeSymlink (0.50s)
>     fsnotify_symlink_test.go:50: Created bogus symlink
>     fsnotify_symlink_test.go:36: event received: "/tmp/fsnotify762465417/zzznew": CREATE
>     fsnotify_symlink_test.go:72: calling Close()
> === RUN   TestFsnotifyMultipleOperations
> --- PASS: TestFsnotifyMultipleOperations (0.67s)
>     fsnotify_test.go:91: event received: "/tmp/fsnotify609539156/TestFsnotifySeq.testfile": CREATE
>     fsnotify_test.go:91: event received: "/tmp/fsnotify609539156/TestFsnotifySeq.testfile": MODIFY
>     fsnotify_test.go:91: event received: "/tmp/fsnotify609539156/TestFsnotifySeq.testfile": RENAME
>     fsnotify_test.go:91: event received: "/tmp/fsnotify609539156/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
> === RUN   TestFsnotifyMultipleCreates
> --- FAIL: TestFsnotifyMultipleCreates (2.76s)
>     fsnotify_test.go:204: event received: "/tmp/fsnotify995398310/TestFsnotifySeq.testfile": CREATE
>     fsnotify_test.go:204: event received: "/tmp/fsnotify995398310/TestFsnotifySeq.testfile": MODIFY
>     fsnotify_test.go:204: event received: "/tmp/fsnotify995398310/TestFsnotifySeq.testfile": DELETE
>     fsnotify_test.go:204: event received: "/tmp/fsnotify995398310/TestFsnotifySeq.testfile": CREATE
>     fsnotify_test.go:204: event received: "/tmp/fsnotify995398310/TestFsnotifySeq.testfile": MODIFY
>     fsnotify_test.go:204: event received: "/tmp/fsnotify995398310/TestFsnotifySeq.testfile": MODIFY
>     fsnotify_test.go:293: calling Close()
>     fsnotify_test.go:295: waiting for the event channel to become closed...
>     fsnotify_test.go:300: event stream was not closed after 2 seconds
> === RUN   TestFsnotifyDirOnly
> --- PASS: TestFsnotifyDirOnly (0.57s)
>     fsnotify_test.go:343: event received: "/tmp/fsnotify147046349/TestFsnotifyDirOnly.testfile": CREATE
>     fsnotify_test.go:343: event received: "/tmp/fsnotify147046349/TestFsnotifyDirOnly.testfile": MODIFY
>     fsnotify_test.go:343: event received: "/tmp/fsnotify147046349/TestFsnotifyDirOnly.testfile": DELETE
>     fsnotify_test.go:343: event received: "/tmp/fsnotify147046349/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
> === RUN   TestFsnotifyDeleteWatchedDir
> --- PASS: TestFsnotifyDeleteWatchedDir (0.50s)
>     fsnotify_test.go:445: event received: "/tmp/fsnotify576209608/TestFsnotifyEventsExisting.testfile": DELETE
>     fsnotify_test.go:445: event received: "/tmp/fsnotify576209608": DELETE
> === RUN   TestFsnotifySubDir
> --- PASS: TestFsnotifySubDir (0.72s)
>     fsnotify_test.go:491: event received: "/tmp/fsnotify078357895/sub": CREATE
>     fsnotify_test.go:491: event received: "/tmp/fsnotify078357895/TestFsnotifyFile1.testfile": CREATE
>     fsnotify_test.go:491: event received: "/tmp/fsnotify078357895/sub": DELETE
>     fsnotify_test.go:491: event received: "/tmp/fsnotify078357895/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
> === RUN   TestFsnotifyRename
> --- PASS: TestFsnotifyRename (0.52s)
>     fsnotify_test.go:589: event received: "/tmp/fsnotify165269306/TestFsnotifyEvents.testfile": CREATE
>     fsnotify_test.go:589: event received: "/tmp/fsnotify165269306/TestFsnotifyEvents.testfile": MODIFY
>     fsnotify_test.go:589: event received: "/tmp/fsnotify165269306/TestFsnotifyEvents.testfile": RENAME
>     fsnotify_test.go:589: event received: "/tmp/fsnotify165269306/TestFsnotifyEvents.testfileRenamed": CREATE
>     fsnotify_test.go:589: event received: "/tmp/fsnotify165269306/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
> === RUN   TestFsnotifyRenameToCreate
> --- PASS: TestFsnotifyRenameToCreate (0.52s)
>     fsnotify_test.go:671: event received: "/tmp/fsnotify163732305/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
> === RUN   TestFsnotifyRenameToOverwrite
> --- PASS: TestFsnotifyRenameToOverwrite (0.52s)
>     fsnotify_test.go:759: event received: "/tmp/fsnotify525807531/TestFsnotifyEvents.testfileRenamed": CREATE
>     fsnotify_test.go:788: calling Close()
>     fsnotify_test.go:790: waiting for the event channel to become closed...
>     fsnotify_test.go:793: event channel closed
> === RUN   TestRemovalOfWatch
> --- PASS: TestRemovalOfWatch (0.60s)
>     fsnotify_test.go:831: No event received, as expected.
> === RUN   TestFsnotifyAttrib
> --- PASS: TestFsnotifyAttrib (1.52s)
>     fsnotify_test.go:888: event received: "/tmp/fsnotify179499376/TestFsnotifyAttrib.testfile": MODIFY|ATTRIB
>     fsnotify_test.go:888: event received: "/tmp/fsnotify179499376/TestFsnotifyAttrib.testfile": MODIFY
>     fsnotify_test.go:888: event received: "/tmp/fsnotify179499376/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
> === RUN   TestFsnotifyClose
> --- PASS: TestFsnotifyClose (0.05s)
> FAIL
> FAIL	github.com/howeyc/fsnotify	9.453s
> 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/02/22/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