[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#995566: RFS: golang-github-bytedance-gopkg/0.0~git20210910.e4efae9-1 [ITP] -- Universal Utilities for Go (library)



Hi Aloïs Micard,
Thanks for reply,

Yes, I've built it in newly created vagrant debian vm using pbuilder,
and it works well.
According to the failed log you provided, I wonder if your cpu has
something special.
Could you please provide the lscpu -v output so I can send it to
upstream and find out
the reason it failed to test.


On Wed, Oct 13, 2021 at 3:21 PM Aloïs Micard <creekorful@debian.org> wrote:
>
> On Sat, 2 Oct 2021 18:41:42 +0800 Yanhao Mo <yanhaocs@gmail.com> wrote:
> > Package: sponsorship-requests
> > Severity: wishlist
> >
> > Dear mentors,
> >
> > I am looking for a sponsor for my package "golang-github-bytedance-gopkg":
> >
> >  * Package name    : golang-github-bytedance-gopkg
> >    Version         : 0.0~git20210910.e4efae9-1
> >    Upstream Author : [fill in name and email of upstream]
> >  * URL             : https://github.com/bytedance/gopkg
> >  * License         : Apache-2.0
> >  * Vcs             :
> > https://salsa.debian.org/go-team/packages/golang-github-bytedance-gopkg
> >    Section         : golang
> >
> > It builds those binary packages:
> >
> >   golang-github-bytedance-gopkg-dev - Universal Utilities for Go (library)
> >
> > To access further information about this package, please visit the
> > following URL:
> >
> >   https://mentors.debian.net/package/golang-github-bytedance-gopkg/
> >
> > Alternatively, one can download the package with dget using this command:
> >
> >   dget -x https://mentors.debian.net/debian/pool/main/g/golang-github-bytedance-gopkg/golang-github-bytedance-gopkg_0.0~git20210910.e4efae9-1.dsc
> >
> > Changes for the initial release:
> >
> >  golang-github-bytedance-gopkg (0.0~git20210910.e4efae9-1) unstable;
> > urgency=medium
> >  .
> >    * Initial release (Closes: #995564)
> >
> > Regards,
> > --
> >   Yanhao Mo
> >
> >
>
> Hello there!
>
> I have tried building your package in an up-to-date chroot (amd64) but
> the build has failed during the dh_auto_test phase.
> Here's the relevant output:
>
> ```
> === RUN   TestLen0_16
> --- PASS: TestLen0_16 (0.00s)
> === RUN   TestLen17_128
> --- PASS: TestLen17_128 (0.00s)
> === RUN   TestLen129_240
> --- PASS: TestLen129_240 (0.00s)
> === RUN   TestLen240_1024
> --- PASS: TestLen240_1024 (0.00s)
> === RUN   TestLen1025_1048576_scalar
> --- PASS: TestLen1025_1048576_scalar (0.00s)
> === RUN   TestLen1024_1048576_AVX2
> SIGILL: illegal instruction
> PC=0x512f99 m=0 sigcode=2
> instruction bytes: 0xc5 0xfe 0x6f 0x8 0xc5 0xfe 0x6f 0x50 0x20 0xc4 0xe2 0x7d 0x59 0x5 0x81 0x6e
>
> goroutine 23 [running]:
> github.com/bytedance/gopkg/util/xxhash3.accumAVX2(0x660e80, 0xc000180000, 0x619740, 0x400)
>         /<<PKGBUILDDIR>>/_build/src/github.com/bytedance/gopkg/util/xxhash3/avx2.s:30 +0x19 fp=0xc000039698 sp=0xc000039690 pc=0x512f99
> github.com/bytedance/gopkg/util/xxhash3.xxh3HashLarge(0xc000180000, 0x400, 0x1ad20e5fd78cde6e)
>         /<<PKGBUILDDIR>>/_build/src/github.com/bytedance/gopkg/util/xxhash3/hash.go:127 +0x537 fp=0xc0000396e8 sp=0xc000039698 pc=0x50f0b7
> github.com/bytedance/gopkg/util/xxhash3.Hash(0xc000180000, 0x400, 0x20186a0, 0x1ad20e5fd78cde6e)
>         /<<PKGBUILDDIR>>/_build/src/github.com/bytedance/gopkg/util/xxhash3/hash.go:33 +0x52 fp=0xc000039710 sp=0xc0000396e8 pc=0x50e912
> github.com/bytedance/gopkg/util/xxhash3.TestLen1024_1048576_AVX2(0xc000001e00)
>         /<<PKGBUILDDIR>>/_build/src/github.com/bytedance/gopkg/util/xxhash3/correctness_test.go:105 +0xb7 fp=0xc000039780 sp=0xc000039710 pc=0x510a77
> testing.tRunner(0xc000001e00, 0x5591e8)
>         /usr/lib/go-1.16/src/testing/testing.go:1193 +0xef fp=0xc0000397d0 sp=0xc000039780 pc=0x4cd84f
> runtime.goexit()
>         /usr/lib/go-1.16/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc0000397d8 sp=0xc0000397d0 pc=0x46c6e1
> created by testing.(*T).Run
>         /usr/lib/go-1.16/src/testing/testing.go:1238 +0x2b3
>
> goroutine 1 [chan receive]:
> testing.(*T).Run(0xc000001e00, 0x553458, 0x18, 0x5591e8, 0x47f101)
>         /usr/lib/go-1.16/src/testing/testing.go:1239 +0x2da
> testing.runTests.func1(0xc000001380)
>         /usr/lib/go-1.16/src/testing/testing.go:1511 +0x78
> testing.tRunner(0xc000001380, 0xc000089de0)
>         /usr/lib/go-1.16/src/testing/testing.go:1193 +0xef
> testing.runTests(0xc00000c048, 0x62fc20, 0xe, 0xe, 0xc051c0102355a113, 0x8bd496be5e, 0x633900, 0x550c81)
>         /usr/lib/go-1.16/src/testing/testing.go:1509 +0x2fe
> testing.(*M).Run(0xc0000a8000, 0x0)
>         /usr/lib/go-1.16/src/testing/testing.go:1417 +0x1eb
> main.main()
>         _testmain.go:71 +0x138
>
> rax    0x660e80
> rbx    0x619740
> rcx    0xc000180000
> rdx    0x619740
> rdi    0x18e82621e5dca703
> rsi    0x400
> rbp    0xc0000396d8
> rsp    0xc000039690
> r8     0x3fd7867397525a9a
> r9     0x43f2905c46cd412f
> r10    0xff7aa508c0f63fe5
> r11    0x9e3779b185ebca87
> r12    0xc000039708
> r13    0x0
> r14    0x578284
> r15    0x0
> rip    0x512f99
> rflags 0x10202
> cs     0x33
> fs     0x0
> gs     0x0
> FAIL    github.com/bytedance/gopkg/util/xxhash3 0.575s
> ?       github.com/bytedance/gopkg/util/xxhash3/internal/xxh3_raw       [no test files]
> FAIL
> ```
>
> Have you managed to build it locally on a clean chroot?
> Thanks for your work!
>
> Cheers,
>
> --
> Aloïs Micard <creekorful@debian.org>
>
> GPG: DA4A A436 9BFA E299 67CD E85B F733 E871 0859 FCD2
>

Cheers,


Reply to: