-
Notifications
You must be signed in to change notification settings - Fork 269
Output files are empty for processes that don't exit #2597
Copy link
Copy link
Open
Labels
Type: BugError or flaw producing unexpected resultsError or flaw producing unexpected results
Description
Describe the issue
I noticed that the managed processes that run forever (don't end themselves) will not produce the output files (stdout and stderr files)
I'm not sure if this is the intended behavior, but I think it's a good idea to see the output files of such processes.
To Reproduce
You can follow the tutorial to see the issue https://shadow.github.io/docs/guide/getting_started_basic.html
After running shadow shadow.yaml > shadow.log as described in the tutorial you will see that the files in shadow.data/hosts/server/ are empty.
Operating System (please complete the following information):
- OS and version: Ubuntu 20.04.5 LTS
- Kernel version: Linux thinkpad-t14-g2 5.14.0-1054-oem # 61-Ubuntu SMP Fri Oct 14 13:05:50 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Shadow (please complete the following information):
- Version: Shadow v2.3.0-0-gb09b00ed-dirty 2022-11-29--13:01:25
- Which plug-ins you are using: "/usr/bin/python3 -m http.server 80"
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: BugError or flaw producing unexpected resultsError or flaw producing unexpected results