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

2022-06-24 Thread Lucas Nussbaum
Hi,

On 24/06/22 at 22:48 +0800, Shengjing Zhu wrote:
> On Wed, Dec 22, 2021 at 12:42 AM Lucas Nussbaum  wrote:
> >
> > Source: golang-github-templexxx-xor
> > Version: 0.1.2-5
> > Severity: serious
> > Justification: FTBFS
> > Tags: bookworm sid ftbfs
> > User: lu...@debian.org
> > Usertags: ftbfs-20211220 ftbfs-bookworm
> >
> > 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/templexxx/xor
> > > internal/goexperiment
> > > internal/abi
> > > github.com/templexxx/cpufeat
> > > internal/cpu
> > > runtime/internal/atomic
> > > runtime/internal/sys
> > > runtime/internal/math
> > > internal/bytealg
> > > runtime
> > > github.com/templexxx/xor
> > >dh_auto_test -O--buildsystem=golang
> > >   cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 
> > > github.com/templexxx/xor
> > > === RUN   TestVerifyBytesNoSIMD
> > > --- PASS: TestVerifyBytesNoSIMD (1.13s)
> > > === RUN   TestVerifyBytes
> > > --- PASS: TestVerifyBytes (1.13s)
> > > === RUN   TestVerifyBytesSrc1
> > > unexpected fault address 0x0
> > > fatal error: fault
> > > [signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x4e7234]
> > >
> > > goroutine 10 [running]:
> > > runtime.throw({0x511356, 0xc1a2d0})
> > >   /usr/lib/go-1.17/src/runtime/panic.go:1198 +0x71 fp=0xc33638 
> > > sp=0xc33608 pc=0x433f11
> > > runtime.sigpanic()
> > >   /usr/lib/go-1.17/src/runtime/signal_unix.go:742 +0x2f6 
> > > fp=0xc33688 sp=0xc33638 pc=0x448696
> > > github.com/templexxx/xor.xorSrc0({0xc1a288, 0x11, 0x11}, 
> > > {0xc1a2a0, 0x11, 0x11}, {0xc1a2b8, 0x11, 0x11})
> > >   
> > > /<>/obj-x86_64-linux-gnu/src/github.com/templexxx/xor/sse2_amd64.s:43
> > >  +0x34 fp=0xc33690 sp=0xc33688 pc=0x4e7234
> 
> This test "sse2_amd64.s“ suggests it's related to SIMD, but I haven't
> checked if it just calls sse2 or more. I'm also not sure if the
> package is broken without SIMD, or just the test is broken.

The CPU used for 
http://qa-logs.debian.net/2022/06/24/golang-github-templexxx-xor_0.1.2-5_unstable.log
was Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz, so it's fairly
recent.

Lucas

___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers


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

2022-06-24 Thread Shengjing Zhu
On Wed, Dec 22, 2021 at 12:42 AM Lucas Nussbaum  wrote:
>
> Source: golang-github-templexxx-xor
> Version: 0.1.2-5
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20211220 ftbfs-bookworm
>
> 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/templexxx/xor
> > internal/goexperiment
> > internal/abi
> > github.com/templexxx/cpufeat
> > internal/cpu
> > runtime/internal/atomic
> > runtime/internal/sys
> > runtime/internal/math
> > internal/bytealg
> > runtime
> > github.com/templexxx/xor
> >dh_auto_test -O--buildsystem=golang
> >   cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 
> > github.com/templexxx/xor
> > === RUN   TestVerifyBytesNoSIMD
> > --- PASS: TestVerifyBytesNoSIMD (1.13s)
> > === RUN   TestVerifyBytes
> > --- PASS: TestVerifyBytes (1.13s)
> > === RUN   TestVerifyBytesSrc1
> > unexpected fault address 0x0
> > fatal error: fault
> > [signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x4e7234]
> >
> > goroutine 10 [running]:
> > runtime.throw({0x511356, 0xc1a2d0})
> >   /usr/lib/go-1.17/src/runtime/panic.go:1198 +0x71 fp=0xc33638 
> > sp=0xc33608 pc=0x433f11
> > runtime.sigpanic()
> >   /usr/lib/go-1.17/src/runtime/signal_unix.go:742 +0x2f6 
> > fp=0xc33688 sp=0xc33638 pc=0x448696
> > github.com/templexxx/xor.xorSrc0({0xc1a288, 0x11, 0x11}, {0xc1a2a0, 
> > 0x11, 0x11}, {0xc1a2b8, 0x11, 0x11})
> >   
> > /<>/obj-x86_64-linux-gnu/src/github.com/templexxx/xor/sse2_amd64.s:43
> >  +0x34 fp=0xc33690 sp=0xc33688 pc=0x4e7234

This test "sse2_amd64.s“ suggests it's related to SIMD, but I haven't
checked if it just calls sse2 or more. I'm also not sure if the
package is broken without SIMD, or just the test is broken.

-- 
Shengjing Zhu

___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers


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

2022-06-24 Thread Lucas Nussbaum
Control: severity -1 serious
Control: tags -1 - moreinfo reproducible

On 13/02/22 at 15:02 +0100, Lucas Nussbaum wrote:
> Hi Roger,
> 
> On 17/01/22 at 00:56 +0900, Roger Shimizu wrote:
> > control: tags -1 +moreinfo unreproducible
> > control: severity -1 important
> > 
> > Dear Lucas,
> > 
> > Thanks for the report!
> > 
> > > During a rebuild of all packages in sid, your package failed to build
> > > on amd64.
> > 
> > However, I cannot reproduce this ftbfs issue in my sid pbuilder environment.
> > The dh_auto_test can pass without problem.
> > 
> > Can you kindly retest?
> > Do we have a workflow regarding to such case?
> 
> This still fails. See attached build log.
> 
> Can you start with diffing this build log with yours to see if something
> interesting comes up?

Still fails. See 
http://qa-logs.debian.net/2022/06/24/golang-github-templexxx-xor_0.1.2-5_unstable.log

Lucas

___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers


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

2022-02-13 Thread Lucas Nussbaum
Hi Roger,

On 17/01/22 at 00:56 +0900, Roger Shimizu wrote:
> control: tags -1 +moreinfo unreproducible
> control: severity -1 important
> 
> Dear Lucas,
> 
> Thanks for the report!
> 
> > During a rebuild of all packages in sid, your package failed to build
> > on amd64.
> 
> However, I cannot reproduce this ftbfs issue in my sid pbuilder environment.
> The dh_auto_test can pass without problem.
> 
> Can you kindly retest?
> Do we have a workflow regarding to such case?

This still fails. See attached build log.

Can you start with diffing this build log with yours to see if something
interesting comes up?

Lucas
DC-Build-Header: golang-github-templexxx-xor 0.1.2-5 / 2022-02-12 22:48:19 +
DC-Task: type:rebuild-full source:golang-github-templexxx-xor version:0.1.2-5 
chroot:unstable esttime:85 
logfile:/tmp/golang-github-templexxx-xor_0.1.2-5_unstable.log modes:
DC-Sbuild-call: su user42 -c 'sbuild -n -A -s --force-orig-source --apt-update 
-d unstable -v --no-run-lintian golang-github-templexxx-xor_0.1.2-5'
sbuild (Debian sbuild) 0.81.2 (31 January 2021) on 
ip-10-84-232-212.eu-central-1.compute.internal

+==+
| golang-github-templexxx-xor 0.1.2-5 (amd64)  Sat, 12 Feb 2022 22:48:19 + |
+==+

Package: golang-github-templexxx-xor
Version: 0.1.2-5
Source Version: 0.1.2-5
Distribution: unstable
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64
Build Type: full

I: NOTICE: Log filtering will replace 
'var/run/schroot/mount/sid-amd64-sbuild-3551a1e7-9605-42c8-a7f5-cbbdb72de7a2' 
with '<>'
I: NOTICE: Log filtering will replace 
'build/golang-github-templexxx-xor-AgJ17c/resolver-k9YyDi' with 
'<>'

+--+
| Update chroot|
+--+

Get:1 http://127.0.0.1:12990/debian sid InRelease [165 kB]
Get:2 http://127.0.0.1:12990/debian sid/main Sources.diff/Index [63.6 kB]
Get:3 http://127.0.0.1:12990/debian sid/main amd64 Packages.diff/Index [63.6 kB]
Get:4 http://127.0.0.1:12990/debian sid/main Sources 
T-2022-02-12-2008.19-F-2022-02-12-0804.59.pdiff [39.2 kB]
Get:4 http://127.0.0.1:12990/debian sid/main Sources 
T-2022-02-12-2008.19-F-2022-02-12-0804.59.pdiff [39.2 kB]
Get:5 http://127.0.0.1:12990/debian sid/main amd64 Packages 
T-2022-02-12-2008.19-F-2022-02-12-0804.59.pdiff [76.5 kB]
Get:5 http://127.0.0.1:12990/debian sid/main amd64 Packages 
T-2022-02-12-2008.19-F-2022-02-12-0804.59.pdiff [76.5 kB]
Fetched 408 kB in 2s (263 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

+--+
| Fetch source files   |
+--+


Check APT
-

Checking available source versions...

Download source files with APT
--

Reading package lists...
NOTICE: 'golang-github-templexxx-xor' packaging is maintained in the 'Git' 
version control system at:
https://salsa.debian.org/go-team/packages/golang-github-templexxx-xor.git
Please use:
git clone 
https://salsa.debian.org/go-team/packages/golang-github-templexxx-xor.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 10.4 kB of source archives.
Get:1 http://127.0.0.1:12990/debian sid/main golang-github-templexxx-xor 
0.1.2-5 (dsc) [2290 B]
Get:2 http://127.0.0.1:12990/debian sid/main golang-github-templexxx-xor 
0.1.2-5 (tar) [5516 B]
Get:3 http://127.0.0.1:12990/debian sid/main golang-github-templexxx-xor 
0.1.2-5 (diff) [2640 B]
Fetched 10.4 kB in 0s (242 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 
'build/golang-github-templexxx-xor-AgJ17c/golang-github-templexxx-xor-0.1.2' 
with '<>'
I: NOTICE: Log filtering will replace 
'build/golang-github-templexxx-xor-AgJ17c' with '<>'

+--+
| Install package build dependencies   |
+--+


Setup apt archive
-

Merged Build-Depends: debhelper (>= 10), dh-golang, golang-any, 
golang-github-templexxx-cpufeat-dev, build-essential, fakeroot
Filtered Build-Depends: debhelper (>= 10), dh-golang, golang-any, 
golang-github-templexxx-cpufeat-dev, build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-main-dummy' in 
'/<>/apt_archive/sbuild-build-depends-main-dummy.deb'.
Ign:1 copy:/<>/apt_archive ./ InRelease
Get:2 cop

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

2022-01-16 Thread Roger Shimizu
control: tags -1 +moreinfo unreproducible
control: severity -1 important

Dear Lucas,

Thanks for the report!

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

However, I cannot reproduce this ftbfs issue in my sid pbuilder environment.
The dh_auto_test can pass without problem.

Can you kindly retest?
Do we have a workflow regarding to such case?

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1

___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers


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

2021-12-21 Thread Lucas Nussbaum
Source: golang-github-templexxx-xor
Version: 0.1.2-5
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

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/templexxx/xor
> internal/goexperiment
> internal/abi
> github.com/templexxx/cpufeat
> internal/cpu
> runtime/internal/atomic
> runtime/internal/sys
> runtime/internal/math
> internal/bytealg
> runtime
> github.com/templexxx/xor
>dh_auto_test -O--buildsystem=golang
>   cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 
> github.com/templexxx/xor
> === RUN   TestVerifyBytesNoSIMD
> --- PASS: TestVerifyBytesNoSIMD (1.13s)
> === RUN   TestVerifyBytes
> --- PASS: TestVerifyBytes (1.13s)
> === RUN   TestVerifyBytesSrc1
> unexpected fault address 0x0
> fatal error: fault
> [signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x4e7234]
> 
> goroutine 10 [running]:
> runtime.throw({0x511356, 0xc1a2d0})
>   /usr/lib/go-1.17/src/runtime/panic.go:1198 +0x71 fp=0xc33638 
> sp=0xc33608 pc=0x433f11
> runtime.sigpanic()
>   /usr/lib/go-1.17/src/runtime/signal_unix.go:742 +0x2f6 fp=0xc33688 
> sp=0xc33638 pc=0x448696
> github.com/templexxx/xor.xorSrc0({0xc1a288, 0x11, 0x11}, {0xc1a2a0, 
> 0x11, 0x11}, {0xc1a2b8, 0x11, 0x11})
>   
> /<>/obj-x86_64-linux-gnu/src/github.com/templexxx/xor/sse2_amd64.s:43
>  +0x34 fp=0xc33690 sp=0xc33688 pc=0x4e7234
> github.com/templexxx/xor.verifyBytesSrc1(0x11)
>   
> /<>/obj-x86_64-linux-gnu/src/github.com/templexxx/xor/xor_test.go:76
>  +0x132 fp=0xc33708 sp=0xc33690 pc=0x4e5552
> github.com/templexxx/xor.TestVerifyBytesSrc1(0xc000500680)
>   
> /<>/obj-x86_64-linux-gnu/src/github.com/templexxx/xor/xor_test.go:59
>  +0x4c fp=0xc33770 sp=0xc33708 pc=0x4e536c
> testing.tRunner(0xc000500680, 0x51b568)
>   /usr/lib/go-1.17/src/testing/testing.go:1259 +0x102 fp=0xc337c0 
> sp=0xc33770 pc=0x4afb02
> testing.(*T).Run·dwrap·21()
>   /usr/lib/go-1.17/src/testing/testing.go:1306 +0x2a fp=0xc337e0 
> sp=0xc337c0 pc=0x4b080a
> runtime.goexit()
>   /usr/lib/go-1.17/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc337e8 
> sp=0xc337e0 pc=0x463581
> created by testing.(*T).Run
>   /usr/lib/go-1.17/src/testing/testing.go:1306 +0x35a
> 
> goroutine 1 [chan receive]:
> testing.(*T).Run(0xc01d40, {0x514042, 0x465c93}, 0x51b568)
>   /usr/lib/go-1.17/src/testing/testing.go:1307 +0x375
> testing.runTests.func1(0xc6a2a0)
>   /usr/lib/go-1.17/src/testing/testing.go:1598 +0x6e
> testing.tRunner(0xc01d40, 0xc47d18)
>   /usr/lib/go-1.17/src/testing/testing.go:1259 +0x102
> testing.runTests(0xc00010c000, {0x5efac0, 0x5, 0x5}, {0x4721cd, 0x512f93, 
> 0x5f3b60})
>   /usr/lib/go-1.17/src/testing/testing.go:1596 +0x43f
> testing.(*M).Run(0xc00010c000)
>   /usr/lib/go-1.17/src/testing/testing.go:1504 +0x51d
> main.main()
>   _testmain.go:97 +0x14b
> FAIL  github.com/templexxx/xor2.263s
> FAIL
> dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 
> github.com/templexxx/xor returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/golang-github-templexxx-xor_0.1.2-5_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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

___
Pkg-go-maintainers mailing list
Pkg-go-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers