Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1020072

Bug#966674: dh-make-golang: go test TestSnapshotVersion always fails on reproducible builds2

From Roger Shimizu <rosh@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#966674: dh-make-golang: go test TestSnapshotVersion always fails on reproducible builds2
Date 2020-08-01 18:40 +0200
Message-ID <Az2Ia-29W-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: dh-make-golang
Version: 0.3.3-1
Severity: normal

Dear Maintainer,

go test TestSnapshotVersion always fails on reproducible builds2.
(although 1st build, rbuild, always passes)

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/dh-make-golang.html

error log (build2):
=== RUN   TestSnapshotVersion
    TestSnapshotVersion: version_test.go:51: got "0.0~git20150419.7a77fff", want "0.0~git20150420."
2020/07/25 23:00:42 Found latest tag "v1"
2020/07/25 23:00:42 WARNING: Latest tag "v1" is not a valid SemVer version
2020/07/25 23:00:42 Latest tag "v1" matches master
2020/07/25 23:00:42 Found latest tag "v1"
2020/07/25 23:00:42 WARNING: Latest tag "v1" is not a valid SemVer version
2020/07/25 23:00:42 INFO: master is ahead of "v1" by 1 commits
    TestSnapshotVersion: version_test.go:81: got "1", want "1+git20150507.1."
2020/07/25 23:00:42 Found latest tag "v1"
2020/07/25 23:00:42 WARNING: Latest tag "v1" is not a valid SemVer version
2020/07/25 23:00:42 INFO: master is ahead of "v1" by 2 commits
    TestSnapshotVersion: version_test.go:101: got "1", want "1+git20150508.2."
--- FAIL: TestSnapshotVersion (0.07s)


rbuild log (1st build) of same version:
=== RUN   TestSnapshotVersion
2021/08/28 05:22:38 Found latest tag "v1"
2021/08/28 05:22:38 WARNING: Latest tag "v1" is not a valid SemVer version
2021/08/28 05:22:38 Latest tag "v1" matches master
2021/08/28 05:22:38 Found latest tag "v1"
2021/08/28 05:22:38 WARNING: Latest tag "v1" is not a valid SemVer version
2021/08/28 05:22:38 INFO: master is ahead of "v1" by 1 commits
    TestSnapshotVersion: version_test.go:81: got "1", want "1+git20150507.1."
2021/08/28 05:22:38 Found latest tag "v1"
2021/08/28 05:22:38 WARNING: Latest tag "v1" is not a valid SemVer version
2021/08/28 05:22:38 INFO: master is ahead of "v1" by 2 commits
    TestSnapshotVersion: version_test.go:101: got "1", want "1+git20150508.2."
--- PASS: TestSnapshotVersion (0.06s)

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#966674: dh-make-golang: go test TestSnapshotVersion always fails on reproducible builds2 Roger Shimizu <rosh@debian.org> - 2020-08-01 18:40 +0200

csiph-web