You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For several processes on my RHEL 7.3 server, goss seems to misrecord the statuses of processes...
As a test, I pipe every process in ps into a goss add process command...
for p in $(ps -ef | grep -v '\[' | cut -b49- | cut -d" " -f1 | cut -d: -f1 | rev | cut -d/ -f1 | rev |sort -u); do
../goss a process ${p}
done
Apart from the fluff (CMD from ps header, and ps, cut, rev, sort used in the command above), one would expect all these processes to be actual running processes. Yet, goss reports several of them as NOT running.
3 of the 4 are listed as running, but even though systemd-journald is running, it is reported as false...
Whatever is happening is consistent, in the sense that validation will pass confirming "systemd-journald" is not running when goss re-executes.
There are a few other processes (excluding ps, cut, rev, sort from the command that fed goss) from a vendor product on my system that similarly report as running false when they are actually running...
Any idea what is happening to cause this strange behavior?
Imported from goss-org/goss#451
The text was updated successfully, but these errors were encountered: