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)

Reply via email to