Skip to content

Instantly share code, notes, and snippets.

@nqn
Created May 27, 2016 23:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nqn/dbd5a8eb77c1418253b659d66cb56e35 to your computer and use it in GitHub Desktop.
Save nqn/dbd5a8eb77c1418253b659d66cb56e35 to your computer and use it in GitHub Desktop.
Running sudo -E unshare --pid --fork --mount-proc /usr/local/go/bin/go test ./integration_tests/...
ok github.com/intelsdi-x/swan/integration_tests/pkg/cassandra 0.879s
ok github.com/intelsdi-x/swan/integration_tests/pkg/executor 0.031s
ok github.com/intelsdi-x/swan/integration_tests/pkg/isolation 0.095s
.x..
Failures:
* /home/vagrant/go/src/github.com/intelsdi-x/swan/integration_tests/pkg/snap/session_test.go
Line 72:
Expected: true
Actual: false
4 total assertions
--- FAIL: TestSnap (0.51s)
FAIL
FAIL github.com/intelsdi-x/swan/integration_tests/pkg/snap 0.526s
.x..
Failures:
* /home/vagrant/go/src/github.com/intelsdi-x/swan/integration_tests/pkg/snap/sessions/mutilate_test.go
Line 65:
Expected: true
Actual: false
4 total assertions
--- FAIL: TestSnapMutilateSession (0.52s)
FAIL
FAIL github.com/intelsdi-x/swan/integration_tests/pkg/snap/sessions 0.530s
ok github.com/intelsdi-x/swan/integration_tests/pkg/workloads 5.158s
ok github.com/intelsdi-x/swan/integration_tests/pkg/workloads/l1data 0.101s
ok github.com/intelsdi-x/swan/integration_tests/pkg/workloads/l1intensity 0.071s
ok github.com/intelsdi-x/swan/integration_tests/pkg/workloads/l3data 0.058s
ok github.com/intelsdi-x/swan/integration_tests/pkg/workloads/memoryBandwidth 0.050s
time="2016-05-27T19:08:38-04:00" level=error msg="Recovered from panic: Error while checking if plugin collector:mock is loaded: URL target is not available. Get http://127.0.0.1:28052/v1/plugins: dial tcp 127.0.0.1:28052: getsockopt: connection refused\n\n"
x
Failures:
* /home/vagrant/go/src/github.com/intelsdi-x/swan/integration_tests/snap-plugins/cassandra-publisher/cassandra_publisher_test.go
Line 52:
Expected: nil
Actual: 'not found'
1 total assertion
--- FAIL: TestCassandraPublisher (0.67s)
cassandra_publisher_test.go:31: Could not connect to snapd
cassandra_publisher_test.go:42: Error while checking if plugin collector:mock is loaded: URL target is not available. Get http://127.0.0.1:28052/v1/plugins: dial tcp 127.0.0.1:28052: getsockopt: connection refused
cassandra_publisher_test.go:47: Snap session start failed: URL target is not available. Get http://127.0.0.1:28052/v1/plugins: dial tcp 127.0.0.1:28052: getsockopt: connection refused
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment