Package: src:golang-github-weaveworks-promrus
Version: 1.2.0+git20210208.77c195c-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During an incremental rebuild of all packages in trixie, this package failed to 
build:

=== RUN   TestRegisteringHookMultipleTimesShouldBeSafe
    promrus_test.go:103:
                Error Trace:    
/<<PKGBUILDDIR>>/_build/src/github.com/weaveworks/promrus/promrus_test.go:103
                                
/<<PKGBUILDDIR>>/_build/src/github.com/weaveworks/promrus/promrus_test.go:29
                Error:          Expected nil, but got: &url.Error{Op:"Get", 
URL:"http://localhost:8080/metrics";, Err:(*net.OpError)(0xc000025360)}
                Test:           TestRegisteringHookMultipleTimesShouldBeSafe
--- FAIL: TestRegisteringHookMultipleTimesShouldBeSafe (0.00s)
panic: runtime error: invalid memory address or nil pointer dereference 
[recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x8a91ea]

That's what I got in my autobuilders, but it's also the way it fails in 
reproducible-builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/golang-github-weaveworks-promrus.html

I've decided to report this as "serious" because of the "invalid memory address or 
nil pointer dereference", which seems, well, quite serious.

To reproduce, I usually build the packages using machines with 1 CPU and 2 CPUs,
and in this case I've noticed that it fails a lot more on systems with 1 CPU,
so maybe this is enough to reproduce it:

taskset -c 0 dpkg-buildpackage -uc -us

In case that would not be enough, please contact me privately, as I would
be willing to offer a virtual machine where this happens 100% of the time.

Thanks.

Reply via email to