Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tetragon: on bugtool dump systemd and journal info #2223

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tixxdz
Copy link
Member

@tixxdz tixxdz commented Mar 14, 2024

No description provided.

@tixxdz tixxdz requested review from willfindlay and a team as code owners March 14, 2024 17:14
@tixxdz tixxdz added the release-note/minor This PR introduces a minor user-visible change label Mar 14, 2024
@tixxdz tixxdz force-pushed the pr/tixxdz/03-2024-tetragon-journactl-dump branch from 9f1b6a8 to be78081 Compare March 14, 2024 17:17
@tixxdz tixxdz requested a review from jrfastab March 14, 2024 17:19
@kkourt
Copy link
Contributor

kkourt commented Mar 15, 2024

Failure is:

 --- FAIL: TestNamespacedPolicies (0.00s)
    logcapture.go:25: time="2024-03-14T23:41:13Z" level=info msg="Supported cgroup controller 'memory' is active on the system" cgroup.controller.hierarchyID=9 cgroup.controller.index=4 cgroup.controller.name=memory cgroup.fs=/sys/fs/cgroup
    logcapture.go:25: time="2024-03-14T23:41:13Z" level=info msg="Supported cgroup controller 'pids' is active on the system" cgroup.controller.hierarchyID=13 cgroup.controller.index=11 cgroup.controller.name=pids cgroup.fs=/sys/fs/cgroup
    logcapture.go:25: time="2024-03-14T23:41:13Z" level=info msg="Supported cgroup controller 'cpuset' is active on the system" cgroup.controller.hierarchyID=8 cgroup.controller.index=0 cgroup.controller.name=cpuset cgroup.fs=/sys/fs/cgroup
    logcapture.go:25: time="2024-03-14T23:41:13Z" level=warning msg="Detection of deployment mode failed" confmap-update=tg_conf_map error="detect deployment mode failed, could not parse process cgroup paths"
    logcapture.go:25: time="2024-03-14T23:41:13Z" level=warning msg="Deployment mode is unknown, advanced Cgroups tracking will be disabled" confmap-update=tg_conf_map
    policyfilter_test.go:113: 
        	Error Trace:	/home/runner/work/tetragon/tetragon/go/src/github.com/cilium/tetragon/pkg/sensors/tracing/policyfilter_test.go:113
        	Error:      	Received unexpected error:
        	            	detect deployment mode failed, could not parse process cgroup paths
        	Test:       	TestNamespacedPolicies
FAIL

@tixxdz tixxdz marked this pull request as draft March 15, 2024 11:38
Save cgroup info and deployment mode into bugtool dump.

Signed-off-by: Djalal Harouni <tixxdz@gmail.com>
@tixxdz tixxdz force-pushed the pr/tixxdz/03-2024-tetragon-journactl-dump branch from 4d84b34 to b47649f Compare March 15, 2024 13:49
Signed-off-by: Djalal Harouni <tixxdz@gmail.com>
Signed-off-by: Djalal Harouni <tixxdz@gmail.com>
@tixxdz tixxdz force-pushed the pr/tixxdz/03-2024-tetragon-journactl-dump branch from b47649f to 8ca51d6 Compare March 15, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/minor This PR introduces a minor user-visible change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants