-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Change sysdig submodule branch to ignore errors encountered while reading a procfs directory for a given process. The error is logged and procfs scraping continues. - Add integration test with mock `/proc` to verify the fix - Change integration tests to store the container logs from each integration test
- Loading branch information
1 parent
6d03672
commit c31d8e2
Showing
9 changed files
with
106 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
# Creates an incomplete proc entry for a fake process | ||
|
||
fake_pid="8989" | ||
fake_proc_name="short" | ||
fake_proc_dir="/tmp/fake-proc" | ||
fake_proc="${fake_proc_dir}/${fake_pid}" | ||
|
||
rm -rf "${fake_proc_dir}" | ||
|
||
mkdir -p "${fake_proc}" | ||
|
||
ln -s "/bin/sh" "${fake_proc}/exe" | ||
|
||
echo "Name: ${fake_proc_name}" > "${fake_proc}/status" | ||
echo "/bin/${fake_proc_name}" > "${fake_proc}/cmdline" | ||
env > "${fake_proc}/environ" |
Submodule src
updated
from 4c21d1 to 4748b4