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

executor/linux: dump more information when failed to open kcov file #2044

Merged
merged 1 commit into from Aug 13, 2020

Conversation

KumanekoSakura
Copy link

With commit 50e21c6 ("executor/linux: dump mount information when failed to open kcov file"), we got an unexpected result.

/sys/kernel/ does not exist despite /sys/ exists.
/proc/mounts cannot be opened despite /proc/ exists.

If sysfs is not mounted on /sys/ and proc is not mounted on /proc/ , maybe other filesystems (e.g. devtmpfs, cgroup) are not mounted as well.
Let's dump "/", "/proc/" and "/sys/", and then mount /proc/ and dump /proc/mounts .

With commit 50e21c6 ("executor/linux: dump mount information when
failed to open kcov file"), we got an unexpected result.

  /sys/kernel/ does not exist despite /sys/ exists.
  /proc/mounts cannot be opened despite /proc/ exists.

If sysfs is not mounted on /sys/ and proc is not mounted on /proc/ ,
maybe other filesystems (e.g. devtmpfs, cgroup) are not mounted as well.
Let's dump "/", "/proc/" and "/sys/", and then mount /proc/ and dump /proc/mounts .
@codecov
Copy link

codecov bot commented Aug 13, 2020

Codecov Report

Merging #2044 into master will not change coverage.
The diff coverage is n/a.

@dvyukov dvyukov merged commit 598f493 into google:master Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants