Commit Graph

75 Commits

Author SHA1 Message Date
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
Tom Wilkie
bc48a48133 Split the internet node for incoming vs outgoing connections. 2016-03-01 14:11:47 +00:00
Tom Wilkie
96830942ed Plumb through custom weave domains. 2016-02-25 19:39:08 +00:00
Tom Wilkie
5f0b24e371 Disable checkpointing in tests. 2016-02-25 09:37:03 +00:00
Tom Wilkie
458c5aae39 Bump template name to get latest version of docker. 2016-02-22 12:14:36 +00:00
Tom Wilkie
0349c6f2e0 Update integration tests 2016-02-01 06:54:19 -08:00
Paul Bellamy
56122dd0cc Details panel backend redesign
Megasquish:
  [app] remove unused edge endpoint
  [WIP] refactoring node details api endpoint
  [WIP] plumbing the children through the rendering process
  adding IDList.Remove and StringSet.Remove
  [WIP] working on adding parents to detailed node renderings
  WIP UI components with mock backend data for new details
  grouping children by type
  UI components for node details health and info
  metric formatters for details panel
  Column headers and links for details table
  [WIP] started on rendering node metadata and metrics in the detail view
  DetailedNode.LabelMajor -> DetailedNode.Label
  rendering decent labels for parents of detailed nodes
  render metrics onto the top-level detailed node
  removing dead code
  Links to relatives
  metrics have a Format not Unit
  Show more/less actions for tables and relatives
  adjusted metric formatter
  TopologyTagger should tag k8s topology nodes
  make renderablenode ids more consistent, e.g. container:abcd1234
  working on rendering correct summaries for each node
  adding report.Node.Rank, so that merging is independent of order
  rendering children and parents correctly
  output child renderableNode ids, so we can link to them
  add group field to metrics, so they can be grouped
  Refactored details health items to prepare for grouping
  add metrics to processNodeSummaries
  hide summary section if there is no data for it
  fixing up tests
  moving detailed node rendering into a separate package
  Node ID/Topology are fields not metadata
    - This way I think we don't have to care about Metadata being non-commutative.
    - ID and topology are still non-commutative, as I'm not sure how to sanely
  merge them, but it's possible we don't care.
  host memory usage is a filesize, not a percent
  working on fixing some tests
  adding children to hosts detail panel
    - Had to redo how parents are calculated, so that children wouldn't interfere with it
    - have to have the host at the end because it is non-commutative
  only render links for linkable children (i.e. not unconnected processes)
  resolving TODOs
  fixing up lint errors
  make nil a valid value for render.Children so tests are cleaner
  working on backend tests
  make client handle missing metrics property
  Stop rendering container image nodes with process summaries/parents
  fix parent link to container images
  Calculate parents as a set on report.Node (except k8s)
  refactoring detailed.NodeSummary stuff
  removing RenderableNode.Summary*, we already track it on report.Node
  working on tests
  add Columns field to NodeSummaryGroup
  fixing up render/topologies_test
  fix children links to container images
  get children of hosts rendering right
  working on host renderer tests
  Change container report.Node.ID to a1b2c3;<container>
  The id should be globally unique, so we don't need the host id.
    This lets the kubernetes probe return a container node with the pod id,
    which will get merged into the real containers with other reports. The
    catch is that the kubernetes api doesn't tell us which hostname the
    container is running on, so we can't populate the old-style node ids.
  change terminology of system pods and services
  Fix kubernetes services with no selector
  Fixes handling of kubernetes service, which has no pods
  fix parent links for pods/services
  refactor detailed metadata to include sets and latest data
  fixing up host rendering tests
  fleshing out tests for node metadata and metrics
  don't render container pseudo-nodes as processes
  Update test for id format change.
2016-01-19 16:39:37 +01:00
Tom Wilkie
baec4688cb Various improvements to build & tests
- Fix broken wait in tests.
- Run lint in the build container.
- Merge two quick steps in the circle plan.
- Increase number of test VMs to 3 (again).
2016-01-15 10:00:41 -08:00
Tom Wilkie
8e4d3a4e8b Enable sharding for integration tests. 2016-01-12 21:54:49 +00:00
Tom Wilkie
bf91d5b8ba Use gce.sh, config.sh etc from tools. 2016-01-12 21:54:42 +00:00
Tom Wilkie
511daca1ca Wait for correct application. 2016-01-12 21:54:42 +00:00
Tom Wilkie
abf8accea2 Increase test replicas. 2016-01-12 21:54:42 +00:00
Tom Wilkie
b255a39517 Fix tests. 2016-01-07 14:50:56 +00:00
Tom Wilkie
57a06cb848 Review feedback 2016-01-06 12:46:25 +00:00
Tom Wilkie
d101b0fced Add integration test for procspy edges. 2016-01-06 12:46:25 +00:00
Tom Wilkie
abebb0f197 Build new test VM (to pickup latest Docker version). 2016-01-04 16:10:27 +00:00
Tom Wilkie
8d1307764f Update to deal with weave/499d6312b7e6159ab94c116127b9c020fe109118 2015-11-10 13:17:37 +00:00
Tom Wilkie
8f957c4f13 Add docker lifecycle controls, containers in states other that running, and a filter for those containers.
Also add integration test for container controls.
2015-11-06 17:39:54 +00:00