[Reproducible-builds] Bug#796421: golang-prometheus-client: Non-determistically FTBFS due to unreliable timing in test

Chris Lamb lamby at debian.org
Fri Aug 21 19:53:43 UTC 2015


Source: golang-prometheus-client
Version: 0.6.0+ds-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

golang-prometheus-client's testsuite appears to use method
timing/benchmarking in such
a way that it will non-deterministically FTBFS. Upstream appear to admit
this in the comment in "func TestSummaryDecay":

  [..]

  === RUN TestSummaryDecay
  --- FAIL: TestSummaryDecay (1.68s)
  	summary_test.go:314: 70. got 37.000000, want 7.000000
  	summary_test.go:314: 80. got 47.000000, want 8.000000
  	summary_test.go:314: 90. got 51.000000, want 9.000000
  	summary_test.go:314: 100. got 56.000000, want 10.000000
  	summary_test.go:314: 110. got 63.000000, want 20.000000
  	summary_test.go:314: 120. got 70.000000, want 30.000000
  	summary_test.go:314: 130. got 84.000000, want 40.000000
  	summary_test.go:314: 140. got 95.000000, want 50.000000
  	summary_test.go:314: 150. got 107.000000, want 60.000000
  	summary_test.go:314: 160. got 116.000000, want 70.000000
  	summary_test.go:314: 170. got 132.000000, want 80.000000
  	summary_test.go:314: 180. got 150.000000, want 90.000000
  	summary_test.go:314: 190. got 163.000000, want 100.000000
  	summary_test.go:314: 200. got 170.000000, want 110.000000
  	summary_test.go:314: 210. got 181.000000, want 120.000000
  	summary_test.go:314: 220. got 189.000000, want 130.000000
  	summary_test.go:314: 230. got 198.000000, want 140.000000
  	summary_test.go:314: 240. got 204.000000, want 150.000000
  	summary_test.go:314: 250. got 207.000000, want 160.000000
  	summary_test.go:314: 260. got 210.000000, want 170.000000
  	summary_test.go:314: 270. got 219.000000, want 180.000000
  	summary_test.go:314: 280. got 242.000000, want 190.000000
  	summary_test.go:314: 290. got 249.000000, want 200.000000
  	summary_test.go:314: 300. got 259.000000, want 210.000000
  	summary_test.go:314: 310. got 270.000000, want 220.000000
  	summary_test.go:314: 320. got 275.000000, want 230.000000
  	summary_test.go:314: 330. got 276.000000, want 240.000000
  	summary_test.go:314: 340. got 281.000000, want 250.000000
  	summary_test.go:314: 350. got 285.000000, want 260.000000
  	summary_test.go:314: 360. got 293.000000, want 270.000000
  	summary_test.go:314: 370. got 308.000000, want 280.000000
  	summary_test.go:314: 380. got 313.000000, want 290.000000
  	summary_test.go:314: 390. got 323.000000, want 300.000000
  	summary_test.go:314: 400. got 333.000000, want 310.000000
  	summary_test.go:314: 410. got 343.000000, want 320.000000
  	summary_test.go:314: 420. got 352.000000, want 330.000000
  	summary_test.go:314: 430. got 367.000000, want 340.000000
  	summary_test.go:314: 500. got 433.000000, want 410.000000
  	summary_test.go:314: 510. got 450.000000, want 420.000000
  	summary_test.go:314: 520. got 458.000000, want 430.000000
  	summary_test.go:314: 530. got 477.000000, want 440.000000
  	summary_test.go:314: 540. got 492.000000, want 450.000000
  	summary_test.go:314: 550. got 508.000000, want 460.000000
  	summary_test.go:314: 560. got 511.000000, want 470.000000
  	summary_test.go:314: 570. got 519.000000, want 480.000000
  	summary_test.go:314: 580. got 529.000000, want 490.000000
  	summary_test.go:314: 590. got 536.000000, want 500.000000
  	summary_test.go:314: 600. got 540.000000, want 510.000000
  	summary_test.go:314: 610. got 547.000000, want 520.000000
  	summary_test.go:314: 630. got 564.000000, want 540.000000
  	summary_test.go:314: 640. got 572.000000, want 550.000000
  	summary_test.go:314: 740. got 672.000000, want 650.000000
  	summary_test.go:314: 750. got 689.000000, want 660.000000
  	summary_test.go:314: 760. got 697.000000, want 670.000000
  	summary_test.go:314: 770. got 714.000000, want 680.000000
  	summary_test.go:314: 780. got 719.000000, want 690.000000
  	summary_test.go:314: 790. got 727.000000, want 700.000000
  	summary_test.go:314: 800. got 737.000000, want 710.000000
  	summary_test.go:314: 810. got 746.000000, want 720.000000
  	summary_test.go:314: 820. got 752.000000, want 730.000000
  	summary_test.go:314: 920. got 855.000000, want 830.000000
  	summary_test.go:314: 930. got 874.000000, want 840.000000
  	summary_test.go:314: 940. got 884.000000, want 850.000000
  	summary_test.go:314: 950. got 894.000000, want 860.000000
  	summary_test.go:314: 960. got 904.000000, want 870.000000
  	summary_test.go:314: 970. got 911.000000, want 880.000000
  	summary_test.go:314: 980. got 918.000000, want 890.000000
  	summary_test.go:314: 990. got 926.000000, want 900.000000
  === RUN TestDelete
  --- PASS: TestDelete (0.00s)
  === RUN TestDeleteLabelValues
  --- PASS: TestDeleteLabelValues (0.00s)
  === RUN: ExampleGaugeFunc
  --- PASS: ExampleGaugeFunc (0.00s)
  === RUN: ExampleCounter
  --- PASS: ExampleCounter (0.00s)
  === RUN: ExampleLabelPairSorter
  --- PASS: ExampleLabelPairSorter (0.00s)
  === RUN: ExampleRegister
  --- PASS: ExampleRegister (0.01s)
  === RUN: ExampleSummary
  --- PASS: ExampleSummary (0.01s)
  === RUN: ExampleSummaryVec
  --- PASS: ExampleSummaryVec (0.01s)
  === RUN: ExampleConstSummary
  --- PASS: ExampleConstSummary (0.00s)
  === RUN: ExampleHistogram
  --- PASS: ExampleHistogram (0.00s)
  === RUN: ExampleConstHistogram
  --- PASS: ExampleConstHistogram (0.00s)
  === RUN: ExampleExpvarCollector
  --- PASS: ExampleExpvarCollector (0.00s)
  FAIL
  FAIL    github.com/prometheus/client_golang/prometheus  112.400s

  [..]

The full build log is attached or can be viewed here:

    https://reproducible.debian.net/logs/unstable/amd64/golang-prometheus-client_0.6.0+ds-1.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: golang-prometheus-client.0.6.0+ds-1.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150821/114486bb/attachment.txt>


More information about the Reproducible-builds mailing list