[pkg-golang-devel] Bug#877541: [pkg-go] Bug#877541: prometheus FTBFS on i386: FAIL github.com/prometheus/prometheus/storage/local [build failed]

Martín Ferrari tincho at tincho.org
Tue Oct 24 21:28:10 UTC 2017


reassign 877541 golang-1.9
retitle 877541 golang-1.9: Invalid instruction error in i386
thanks

This seems to be an issue with go 1.9, this error is not reproducible
with other versions of go:

$ /usr/lib/go-1.7/bin/go test -c -v
github.com/prometheus/prometheus/storage/local
$ /usr/lib/go-1.8/bin/go test -c -v
github.com/prometheus/prometheus/storage/local
$ /usr/lib/go-1.9/bin/go test -c -v
github.com/prometheus/prometheus/storage/local
# github.com/prometheus/prometheus/storage/local
build/src/github.com/prometheus/prometheus/storage/local/storage_test.go:2028:26:
invalid instruction: 01483
(/tmp/buildd/prometheus-1.8.1+ds/build/src/github.com/prometheus/prometheus/storage/local/storage_test.go:2029)
FMOVD	""..autotmp_78+176(DX)(SP*1), F0


I can't find any reference listing this instruction as valid i386, but
maybe I am not looking correctly.

It is the same issue as #877319. Also, I don't see anything weird in the
code (it faults at the for):

        got := it.RangeValues(metric.Interval{OldestInclusive: 0,
NewestInclusive: 3})
        // Note that we cannot just reflect.DeepEqual(want, got) because
it has
        // the semantics of NaN != NaN.
        for i, gotSamplePair := range got {
                wantSamplePair := want[i]
                if !wantSamplePair.Equal(&gotSamplePair) {
                        t.Fatalf("want %v, got %v", wantSamplePair,
gotSamplePair)
                }
        }


On 02/10/17 13:45, Adrian Bunk wrote:
> Source: prometheus
> Version: 1.7.2+ds-1
> Severity: serious
> 
> https://buildd.debian.org/status/fetch.php?pkg=prometheus&arch=i386&ver=1.7.2%2Bds-1&stamp=1506959630&raw=0
> 
> ...
> FAIL	github.com/prometheus/prometheus/storage/local [build failed]
> ...
> dh_auto_test: cd build && go test -v -p 4 -timeout 20m github.com/prometheus/prometheus/cmd/prometheus github.com/prometheus/prometheus/cmd/promtool github.com/prometheus/prometheus/config github.com/prometheus/prometheus/discovery github.com/prometheus/prometheus/discovery/azure github.com/prometheus/prometheus/discovery/consul github.com/prometheus/prometheus/discovery/dns github.com/prometheus/prometheus/discovery/ec2 github.com/prometheus/prometheus/discovery/file github.com/prometheus/prometheus/discovery/gce github.com/prometheus/prometheus/discovery/marathon github.com/prometheus/prometheus/discovery/openstack github.com/prometheus/prometheus/discovery/triton github.com/prometheus/prometheus/discovery/zookeeper github.com/prometheus/prometheus/notifier github.com/prometheus/prometheus/promql github.com/prometheus/prometheus/relabel github.com/prometheus/prometheus/retrieval github.com/prometheus/prometheus/rules github.com/prometheus/prometheus/storage github.com/prometheus/pr
>  ometheus/storage/fanin github.com/prometheus/prometheus/storage/local github.com/prometheus/prometheus/storage/local/chunk github.com/prometheus/prometheus/storage/local/codable github.com/prometheus/prometheus/storage/local/index github.com/prometheus/prometheus/storage/local/storagetool github.com/prometheus/prometheus/storage/metric github.com/prometheus/prometheus/storage/remote github.com/prometheus/prometheus/template github.com/prometheus/prometheus/util/cli github.com/prometheus/prometheus/util/flock github.com/prometheus/prometheus/util/httputil github.com/prometheus/prometheus/util/promlint github.com/prometheus/prometheus/util/stats github.com/prometheus/prometheus/util/strutil github.com/prometheus/prometheus/util/testutil github.com/prometheus/prometheus/util/treecache github.com/prometheus/prometheus/web github.com/prometheus/prometheus/web/api/v1 github.com/prometheus/prometheus/web/ui returned exit code 2
> debian/rules:46: recipe for target 'override_dh_auto_test' failed
> make[1]: *** [override_dh_auto_test] Error 2
> 
> _______________________________________________
> Pkg-go-maintainers mailing list
> Pkg-go-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers
> 


-- 
Martín Ferrari (Tincho)


More information about the pkg-golang-devel mailing list