Repository navigation
Enable core dump support from ITF - #697
NicolasFussberger wants to merge 3 commits into
Conversation
|
|
||
| For Linux, you'll have to set the core pattern on your **host** machine as this is shared to the docker container: | ||
|
|
||
| `sudo sysctl -w kernel.core_pattern="/tmp/core.%e.%p"` No newline at end of file |
There was a problem hiding this comment.
Would be nice to do this in automatic behavior. 😍
Save actual value to hidden file in repo (add this file to .gitignore), update value to for docker environment, execute tests and revert it again and delete file. If the execution of the tests is aborted via ctrl+c, the file still exists, so value is not needed to be updated on the next start.
What do you think?
If not, we should at least note, that the old value should be stored somewhere, to be able to restore the correct value later.
There was a problem hiding this comment.
I am not sure if this would work. I think you'll need a privileged container in the first place to adjust this host setting. On the pipeline this is probably not possible and it would influence other jobs running on the same VM/Host.
You would additionally need to create a pipeline-sepcific config to turn this off (core dumps are anyone not stored in the pipeline right now AFAIK).
There was a problem hiding this comment.
Okay, but please move description to tests/integration/readme.md.
|
Doesn't seem to work. What I did Got this output: |
Must be some additional host setting then that we need to consider additionally. |
ITF adds the support for downloading core dumps.
However, the setup for core dumps is still for qemu / docker inside the module repo.