[pkg-go] Bug#839433: golang-github-robfig-cron: FTBFS: dh_auto_test: go test -v -p 1 github.com/robfig/cron returned exit code 1

Lucas Nussbaum lucas at debian.org
Sat Oct 1 14:21:15 UTC 2016


Source: golang-github-robfig-cron
Version: 1-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161001 qa-ftbfs
Justification: FTBFS on amd64

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_testdir -O--buildsystem=golang
>    dh_update_autotools_config -O--buildsystem=golang
>    dh_auto_configure -O--buildsystem=golang
>    dh_auto_build -O--buildsystem=golang
> 	go install -v -p 1 github.com/robfig/cron
> github.com/robfig/cron
>    dh_auto_test -O--buildsystem=golang
> 	go test -v -p 1 github.com/robfig/cron
> === RUN   TestConstantDelayNext
> --- PASS: TestConstantDelayNext (0.00s)
> === RUN   TestNoEntries
> --- PASS: TestNoEntries (0.00s)
> === RUN   TestStopCausesJobsToNotRun
> --- PASS: TestStopCausesJobsToNotRun (1.01s)
> === RUN   TestAddBeforeRunning
> --- PASS: TestAddBeforeRunning (0.62s)
> === RUN   TestAddWhileRunning
> --- PASS: TestAddWhileRunning (1.00s)
> === RUN   TestSnapshotEntries
> --- PASS: TestSnapshotEntries (2.00s)
> === RUN   TestMultipleEntries
> --- PASS: TestMultipleEntries (1.00s)
> === RUN   TestRunningJobTwice
> --- PASS: TestRunningJobTwice (2.00s)
> === RUN   TestRunningMultipleSchedules
> --- PASS: TestRunningMultipleSchedules (1.00s)
> === RUN   TestLocalTimezone
> --- PASS: TestLocalTimezone (1.00s)
> === RUN   TestJob
> --- PASS: TestJob (1.00s)
> === RUN   TestRange
> --- PASS: TestRange (0.00s)
> === RUN   TestField
> --- PASS: TestField (0.00s)
> === RUN   TestBits
> --- PASS: TestBits (0.00s)
> === RUN   TestSpecSchedule
> --- PASS: TestSpecSchedule (0.00s)
> === RUN   TestActivation
> --- PASS: TestActivation (0.00s)
> === RUN   TestNext
> --- FAIL: TestNext (0.00s)
> 	spec_test.go:133: 2012-03-11T00:00:00-0500, "0 30 2 11 Mar ?": (expected) 2013-03-11 02:30:00 -0400 -0400 != 2012-03-11 02:30:00 -0500 -0500 (actual)
> 	spec_test.go:133: 2012-11-04T00:00:00-0400, "0 30 2 04 Nov ?": (expected) 2012-11-04 02:30:00 -0500 -0500 != 2012-11-04 02:30:00 -0400 -0400 (actual)
> 	spec_test.go:133: 2012-11-04T01:45:00-0400, "0 30 1 04 Nov ?": (expected) 2012-11-04 01:30:00 -0500 -0500 != 2013-11-04 01:30:00 -0400 -0400 (actual)
> === RUN   TestErrors
> 2016/10/01 11:46:02 Expected 5 or 6 fields, found 1: xyz
> 2016/10/01 11:46:02 End of range (60) above maximum (59): 60
> 2016/10/01 11:46:02 End of range (60) above maximum (59): 60
> 2016/10/01 11:46:02 Failed to parse int from XYZ: strconv.ParseInt: parsing "XYZ": invalid syntax
> --- PASS: TestErrors (0.00s)
> FAIL
> exit status 1
> FAIL	github.com/robfig/cron	10.637s
> dh_auto_test: go test -v -p 1 github.com/robfig/cron returned exit code 1

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

If the failure looks LSB-related:
similarly to tzdata, lsb-base is not installed in the build chroot.

The full build log is available from:
   http://aws-logs.debian.net/2016/10/01/golang-github-robfig-cron_1-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