/var/lib/pcp/testsuite/524.out is in pcp-testsuite 3.8.12ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | QA output created by 524
default case ... should work
Log for pmlogger on HOST started DATE
Config parsed
Starting logger for host "HOST"
Archive basename: ARCHIVE
pmlogger: Sample limit reached, exiting
Log finished DATE
TIMESTAMP 30.0.5 (sampledso.colour): inst [1 or "green"] value NUMBER
TIMESTAMP 30.0.5 (sampledso.colour): inst [1 or "green"] value NUMBER
stdout is empty
stderr is empty
make current directory non-writeable and try again
Error: no pmlogger.log created
Error: no TEST archive created
stdout is empty
stderr contains ...
pmlogger: cannot open log "./pmlogger.log" for writing : Permission denied
Log for pmlogger on HOST started DATE
pmlogger: Warning: log file (./pmlogger.log) creation failed
Config parsed
Starting logger for host "HOST"
__pmLogNewFile: failed to create "./TEST.index": Permission denied
__pmLogCreate: Permission denied
Log finished DATE
now try with log somewhere writeable
Log for pmlogger on HOST started DATE
Config parsed
Starting logger for host "HOST"
__pmLogNewFile: failed to create "./TEST.index": Permission denied
__pmLogCreate: Permission denied
Log finished DATE
Error: no TEST archive created
stdout is empty
stderr is empty
and finally with the archive somewhere writeable
Error: no pmlogger.log created
TIMESTAMP 30.0.5 (sampledso.colour): inst [1 or "green"] value NUMBER
TIMESTAMP 30.0.5 (sampledso.colour): inst [1 or "green"] value NUMBER
stdout is empty
stderr contains ...
pmlogger: cannot open log "./pmlogger.log" for writing : Permission denied
Log for pmlogger on HOST started DATE
pmlogger: Warning: log file (./pmlogger.log) creation failed
Config parsed
Starting logger for host "HOST"
Archive basename: ARCHIVE
pmlogger: Sample limit reached, exiting
Log finished DATE
|