Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail in 2.0.0 RC.1 #3338

Closed
fmunteanu opened this Issue Oct 23, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@fmunteanu
Copy link

fmunteanu commented Oct 23, 2017

Both 2.0.0 RC.1 make tests and make tests-short fail on a CentOS 7.4.1708 Linux 4.9.49-moby x86_64 environment. Tests pass on 1.8.1, is there a new build requirement added?

export GOPATH=/home/rpm/BUILD/prometheus-2.0.0-rc.1
pushd src/github.com/prometheus/prometheus
/usr/bin/make -j2 test
make: *** [test] Error 1
@fabxc

This comment has been minimized.

Copy link
Member

fabxc commented Oct 30, 2017

We need some more information on this. Which tests are failing for you, what error are they failing with?

@fmunteanu

This comment has been minimized.

Copy link
Author

fmunteanu commented Oct 30, 2017

Running the go test passes all tests in RC2, no idea why /usr/bin/make -j2 test fails. I'll use the go test from now on into RPM builds.

$ promu build --prefix src/github.com/prometheus/prometheus
$ pushd src/github.com/prometheus/prometheus
$ go test -compiler gc -ldflags '' 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/kubernetes 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/pkg/labels github.com/prometheus/prometheus/pkg/pool github.com/prometheus/prometheus/pkg/relabel github.com/prometheus/prometheus/pkg/rulefmt github.com/prometheus/prometheus/pkg/textparse github.com/prometheus/prometheus/pkg/timestamp github.com/prometheus/prometheus/pkg/value github.com/prometheus/prometheus/prompb 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/prometheus/storage/remote github.com/prometheus/prometheus/storage/tsdb github.com/prometheus/prometheus/template 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/api/v2 github.com/prometheus/prometheus/web/ui
$ popd

@fmunteanu fmunteanu closed this Oct 30, 2017

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 23, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 23, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.