Commit Graph

92 Commits

Author SHA1 Message Date
Bryan Boreham
9aa9b1ae70 Merge pull request #3797 from weaveworks/update-build-tools
Update build tools
2021-01-18 10:50:31 +00:00
Bryan Boreham
b438707a92 Clean up lint errors in shell scripts 2020-12-30 18:30:34 +00:00
Bryan Boreham
f17dceab0d Create /var/run/scope directory in test
The scope script is no longer creating it.
2020-12-29 18:48:56 +00:00
Bryan Boreham
8807aef333 fix (integration tests): replace localhost with 127.0.0.1 for more predictable behaviour 2020-06-11 10:48:37 +00:00
Bryan Boreham
de939cc39b tests: add an integration test to check connection thinning 2020-01-13 08:59:51 +00:00
Bryan Boreham
a32ebf2316 Add a check that the top-level UI is not empty 2018-11-23 13:50:19 +00:00
Bryan Boreham
efd4bbd5be Create bpf stop file differently
Somehow the /proc/pid/root thing is not creating a file that can be
seen inside the container any more.
2018-08-25 09:53:55 +00:00
Alban Crequy
af14cf796d integration test: restart EbpfTracker 2017-08-17 16:39:27 +02:00
Matthias Radestock
994719b815 test PATH propagation in container shells 2017-08-01 12:12:46 +01:00
Matthias Radestock
9457468362 remove checks for ebpf'ness in integration tests
since probes no longer supply that info
2017-07-30 10:33:29 +01:00
Matthias Radestock
b39b3e6274 re-add tests that were previously failing when using ebpf 2017-07-11 22:50:47 +01:00
Matthias Radestock
672beb64fa don't use eBPF in a couple of tests
There really should be two variants - with and without eBPF - but the
latter is broken due to #2689.
2017-07-06 18:26:28 +01:00
Matthias Radestock
b2f14a96c5 refactor: extract a couple of test helpers 2017-06-25 10:27:49 +01:00
Matthias Radestock
30168c520e don't look for 'weaveproxy' - it no longer exists
... as of Weave Net 2.0
2017-06-25 08:08:09 +01:00
Matthias Radestock
6ef8281ad0 replace weave run with use of weave proxy
since Weave Net 2.0 removed `weave run`.
2017-06-25 08:08:09 +01:00
Alfonso Acosta
b2e6b97aa8 Fix ebpf-connection checking 2017-05-31 15:10:52 +00:00
Alfonso Acosta
71e035665b Adjust integration tests 2017-05-31 10:04:52 +00:00
Alban Crequy
b761b5e52b integration tests: better log messages 2017-05-19 14:49:38 +02:00
Alban Crequy
4613819cb9 integration test: accept before kretprobe 2017-05-19 14:49:38 +02:00
Alfonso Acosta
1063a7bf39 Remove test debugging 2017-05-18 20:31:56 +00:00
Alfonso Acosta
7491031769 Add integration test 2017-05-18 20:28:28 +00:00
Iago López Galeiras
df9de11643 Revert "integration test: disable flaky test 311"
This reverts commit d1467b67a4.
2017-03-29 15:57:32 +02:00
Alban Crequy
d1467b67a4 integration test: disable flaky test 311
Temporarily disable the test. See https://github.com/weaveworks/scope/issues/2379
2017-03-23 12:13:43 +01:00
Alban Crequy
904da40fad integration tests: list containers & endpoints for debugging
And when endpoints_have_ebpf() fails to find all endpoints with eBPF,
print an example of endpoint.
2017-03-17 16:50:24 +01:00
Michael Schubert
21047dc77f Add 313_container_to_container_edge_with_ebpf_proc_fallback_test.sh 2017-03-14 13:59:09 +01:00
Alban Crequy
b70f047407 integration: disable tests with internet edge
They are currently flaky.

See https://github.com/weaveworks/scope/issues/2308
2017-03-09 13:21:58 +01:00
Iago López Galeiras
6d55a344a6 integration: add tests for eBPF 2017-03-08 22:11:12 +01:00
Iago López Galeiras
0e05198162 integration: remove check if on us-central-1
There's no obvious reason why those tests can only be run on
us-central-1, remove the check.

It was added with 1577b90c6
2017-03-08 22:11:12 +01:00
Alban Crequy
32550f60f2 integration: restart docker daemon after each test (#2298)
To be sure that containers from previous tests are not running in the
next test.
2017-03-04 09:47:40 +01:00
Alban Crequy
cf507de619 integration/gce.sh: allow PROJECT override 2017-02-21 17:19:19 +01:00
Alban Crequy
beec651cd7 Revert "bin/setup-circleci-secrets: possibly use generic credentials"
This reverts commit d0a5315c5c.
2017-02-10 20:17:02 +01:00
Alban Crequy
d0a5315c5c bin/setup-circleci-secrets: possibly use generic credentials
If the $SECRET_SCRIPT environment variable is defined in CircleCI, this
can override the GCE credentials.

I now use "base64" instead of "openssl base64" in order to support long
lines in base64 text. It's useful when the text comes from a long
environment variable like $SECRET_SCRIPT defined in CircleCI.

Also, the $PROJECT environment variable can now override the GCE project
name. Before, it needed to be named scope-integration-tests.
2017-02-09 17:42:36 +01:00
Alfonso Acosta
3ed02d9a9a Make integration tests more robust 2017-01-19 11:24:34 +00:00
Alfonso Acosta
57300c6bec Fix typo in test 2017-01-19 11:24:17 +00:00
Iago López Galeiras
5cb5c7d42e Fix shfmt issues 2017-01-18 11:51:41 +01:00
Iago López Galeiras
43d9f38c5e Fix various linter issues
Found via shellcheck.
2017-01-18 11:51:41 +01:00
Alfonso Acosta
58d8ae3ea4 Review comments 2016-09-26 10:53:59 +00:00
Alfonso Acosta
c15d071f88 Add sleep between scope launch and top 2016-09-26 08:11:20 +00:00
Alfonso Acosta
7fddaa9fd1 Print logs to debug shutdown integration test 2016-09-23 15:28:57 +00:00
Alfonso Acosta
12a3300286 Fix integration tests 2016-08-23 16:29:00 +00:00
Tom Wilkie
24062be6c9 Increase test replicas (#1529)
* Increase number of test VMs to 5 per shard.

* Make pipe router test shorter.
2016-05-19 11:00:51 +01:00
Tom Wilkie
2113795b9e Don't checkpoint weave during integration tests. 2016-05-16 15:10:43 +01:00
Tom Wilkie
f346ec535c Don't require the user to specify localhost when manually listing hosts 2016-05-12 11:51:47 +01:00
Alfonso Acosta
c1c40ad20d Add host-level terminals 2016-03-29 16:05:04 +00:00
Paul Bellamy
80dc714c1e rename LabelMajor to Label 2016-03-29 14:00:11 +01:00
Paul Bellamy
55d84bfa02 Add integration test for non-empty topologies. 2016-03-22 17:23:50 +00:00
Tom Wilkie
7d0b1cec61 Fix integration test 2016-03-03 20:22:47 +00:00
Tom Wilkie
f154e7a483 Add connection tables to details panel 2016-03-03 16:17:55 +00:00
Tom Wilkie
7abb296372 Merge pull request #1069 from weaveworks/1053-use-default-shell
Try to figure out the most suitable shell to use
2016-03-02 10:58:31 +00:00
Alfonso Acosta
46b4fa39ec Integration test 2016-03-01 20:36:56 +00:00