Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792963 - [TEST] dev-lang/go-1.16.4 - --- FAIL: TestTicker
Summary: [TEST] dev-lang/go-1.16.4 - --- FAIL: TestTicker
Status: RESOLVED DUPLICATE of bug 729392
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2021-05-30 08:34 UTC by Toralf Förster
Modified: 2022-01-07 14:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.86 KB, text/plain)
2021-05-30 08:34 UTC, Toralf Förster
Details
dev-lang:go-1.16.4:20210530-080809.log (dev-lang:go-1.16.4:20210530-080809.log,11.40 KB, text/plain)
2021-05-30 08:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,50.71 KB, text/plain)
2021-05-30 08:34 UTC, Toralf Förster
Details
environment (environment,56.83 KB, text/plain)
2021-05-30 08:34 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.47 KB, application/x-bzip)
2021-05-30 08:34 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.92 KB, application/x-bzip)
2021-05-30 08:34 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-05-30 08:34:27 UTC
ok  	text/template	1.387s
ok  	text/template/parse	1.728s
--- FAIL: TestTicker (2.80s)
    tick_test.go:79: saw 5 errors
    tick_test.go:37: 10 20ms ticks took 599.673629ms, expected [240ms,360ms]
    tick_test.go:37: 10 20ms ticks took 500.305963ms, expected [240ms,360ms]
    tick_test.go:37: 10 20ms ticks took 586.319661ms, expected [240ms,360ms]

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j3_test-20210529-102459

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
Python 3.8.10
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo:
commit 2a330a46b979e5228a36c324edaee6d12f829b68
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun May 30 06:35:09 2021 +0000

    2021-05-30 06:35:07 UTC

emerge -qpvO dev-lang/go
[ebuild  N    ] dev-lang/go-1.16.4
Comment 1 Toralf Förster gentoo-dev 2021-05-30 08:34:29 UTC
Created attachment 712386 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-30 08:34:30 UTC
Created attachment 712389 [details]
dev-lang:go-1.16.4:20210530-080809.log
Comment 3 Toralf Förster gentoo-dev 2021-05-30 08:34:32 UTC
Created attachment 712392 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-05-30 08:34:33 UTC
Created attachment 712395 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-05-30 08:34:34 UTC
Created attachment 712398 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-30 08:34:36 UTC
Created attachment 712401 [details]
logs.tar.bz2
Comment 7 William Hubbs gentoo-dev 2021-05-31 18:47:32 UTC
I just ran the tests again here, both as part of an emerge and building
go manually outside of portage.

Inside portage I get this:

ok  	text/template	0.047s
ok  	text/template/parse	0.020s
ok  	time	1.894s

Outside portage I get this:

ok  	text/template	0.020s
ok  	text/template/parse	0.020s
ok  	time	2.092s

I noticed in your log that the time test seems to run for much longer.

ok  	text/template	1.387s
ok  	text/template/parse	1.728s
--- FAIL: TestTicker (2.80s)
    tick_test.go:79: saw 5 errors
    tick_test.go:37: 10 20ms ticks took 599.673629ms, expected [240ms,360ms]
    tick_test.go:37: 10 20ms ticks took 500.305963ms, expected [240ms,360ms]
    tick_test.go:37: 10 20ms ticks took 586.319661ms, expected [240ms,360ms]
    tick_test.go:37: 10 20ms ticks took 514.990618ms, expected [240ms,360ms]
    tick_test.go:37: 10 20ms ticks took 600.858331ms, expected [240ms,360ms]
FAIL
FAIL	time	11.799s

I can't reproduce this, so you might want to open a bug upstream and
link it here [1]. they can probably help you troubleshoot this. It looks
like it might be related to something in the tinderbox environment.

[1] https://github.com/golang/go/issues
Comment 8 Toralf Förster gentoo-dev 2021-05-31 19:31:56 UTC
(In reply to William Hubbs from comment #7)
> I can't reproduce this, so you might want to open a bug upstream and

ok, 
https://github.com/golang/go/issues/46474
Comment 9 Toralf Förster gentoo-dev 2022-01-07 14:31:18 UTC

*** This bug has been marked as a duplicate of bug 729392 ***