Skip to content

Commit fbb168b

Browse files
committed
wip
Signed-off-by: Federico Di Pierro <[email protected]>
1 parent 8330933 commit fbb168b

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

Diff for: .github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ jobs:
251251
diff -u expected_ldd_out.txt ldd_out.txt
252252
253253
run-e2e-tests:
254-
name: run-e2e-tests-${{ matrix.arch }}
254+
name: run-e2e-tests-${{ matrix.arch }}-${{ matrix.name }}
255255
strategy:
256256
fail-fast: false
257257
matrix:

Diff for: test/e2e/tests/test_network/test_network.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
'image': 'nginx:1.14-alpine',
1010
},
1111
'curl': {
12-
'image': 'curlimages/curl:8.11.1',
12+
'image': 'curlimages/curl:8.12.0',
1313
'args': ["sleep", "300"]
1414
}
1515
}

Diff for: test/e2e/tests/test_process/test_container.py

+5-12
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
'http-hello': {
1515
'image': 'hashicorp/http-echo:1.0.0',
1616
'args': ['-text=hello'],
17-
'user': '11:100'
17+
'user': '65532:50'
1818
}
1919
}
2020
]
@@ -32,7 +32,6 @@ def test_exec_in_container(sinsp, run_containers: dict):
3232

3333
container_id = get_container_id(app_container)
3434

35-
app_container.exec_run("sleep 5")
3635
app_container.exec_run("sh -c ls")
3736

3837
expected_events = [
@@ -49,16 +48,10 @@ def test_exec_in_container(sinsp, run_containers: dict):
4948
'evt.type': 'execve',
5049
'proc.exe': '/http-echo',
5150
'proc.cmdline': 'http-echo -text=hello',
52-
'user.uid': 11,
53-
'user.name': 'operator',
54-
'group.gid': 100,
55-
'group.name': 'users',
56-
}, {
57-
'container.id': container_id,
58-
'evt.category': 'process',
59-
'evt.type': 'execve',
60-
'proc.exe': 'sleep',
61-
'proc.cmdline': 'sleep 5'
51+
'user.uid': 65532,
52+
'user.name': 'nonroot',
53+
'group.gid': 50,
54+
'group.name': 'staff',
6255
}, {
6356
'container.id': container_id,
6457
'evt.category': 'process',

0 commit comments

Comments
 (0)