Skip to content

Commit 7b349c5

Browse files
committed
integration tests: add debugs
1 parent 0a42e65 commit 7b349c5

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

integration/314_container_accept_before_kretprobe_test.sh

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ weave_on "$HOST1" run -d --name server busybox /bin/sh -c "while true; do \
1313
sleep 1 ;
1414
done | nc -l -p 8080"
1515

16-
scope_on "$HOST1" launch --probe.ebpf.connections=true
16+
scope_on "$HOST1" launch --probe.ebpf.connections=true -debug
1717
wait_for_containers "$HOST1" 60 server
1818
has_container "$HOST1" server
1919

20+
sleep 10
21+
2022
weave_on "$HOST1" run -d --name client busybox /bin/sh -c "while true; do \
2123
date ;
2224
sleep 1 ;
@@ -29,6 +31,16 @@ has_container "$HOST1" client
2931
list_containers "$HOST1"
3032
list_connections "$HOST1"
3133

34+
sleep 10
35+
36+
echo "EbpfTracker"
37+
docker_on "$HOST1" logs weavescope 2>&1 | grep "EbpfTracker" || true
38+
echo
39+
40+
echo "fd-install events:"
41+
docker_on "$HOST1" logs weavescope 2>&1 | grep "fd-install" || true
42+
echo
43+
3244
has_connection containers "$HOST1" client server
3345

3446
endpoints_have_ebpf "$HOST1"

0 commit comments

Comments
 (0)