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

Show information/errors when executing shepherd-herd #13

Open
borro0 opened this issue Nov 27, 2019 · 0 comments
Open

Show information/errors when executing shepherd-herd #13

borro0 opened this issue Nov 27, 2019 · 0 comments

Comments

@borro0
Copy link
Collaborator

borro0 commented Nov 27, 2019

It would be nice from a user point of view, to have some message printed when shepherd-herd is executed to indicate it is running.

Looking at the beaglebone journal ctl I see some errors:
borro@sheep0:/opt/shepherd$ sudo journalctl -f -u shepherd
-- Logs begin at Fri 2019-07-26 14:21:03 CEST. --
Nov 27 11:34:36 sheep0 shepherd-sheep[1824]: File "h5py/h5f.pyx", line 98, in h5py.h5f.create (/build/h5py-0HdrwM/h5py-2.7.1/h5py/h5f.c:2296)
Nov 27 11:34:36 sheep0 shepherd-sheep[1824]: OSError: Unable to create file (unable to open file: name = '/home/borro0/mnt/var/emulation/emu.herd.h5', errno = 2, error message = 'No such file or directory', flags = 13, o_flags = 242)
Nov 27 11:34:37 sheep0 systemd[1]: shepherd.service: Main process exited, code=exited, status=1/FAILURE
Nov 27 11:34:37 sheep0 systemd[1]: shepherd.service: Failed with result 'exit-code'.
Nov 27 11:34:37 sheep0 systemd[1]: shepherd.service: Service hold-off time over, scheduling restart.
Nov 27 11:34:37 sheep0 systemd[1]: shepherd.service: Scheduled restart job, restart counter is at 5.
Nov 27 11:34:37 sheep0 systemd[1]: Stopped Recording/Emulation with SHEPHERD.
Nov 27 11:34:37 sheep0 systemd[1]: shepherd.service: Start request repeated too quickly.
Nov 27 11:34:37 sheep0 systemd[1]: shepherd.service: Failed with result 'exit-code'.
Nov 27 11:34:37 sheep0 systemd[1]: Failed to start Recording/Emulation with SHEPHERD.

However, nothing is coupled back to the user on shepherd-herd.

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

No branches or pull requests

1 participant