+ _prepare_pmda_install systemd + '[' -z systemd ']' + iam=systemd + cp /etc/pcp/pmcd/pmcd.conf /tmp/652-805.pmcd.conf + cd /var/lib/pcp/pmdas/systemd + '[' -f Makefile -o -f GNUmakefile ']' + /usr/bin/sudo -E ./Remove + '[' -f /var/lib/pcp/config/systemd/systemd.conf ']' + /usr/bin/sudo -E ./Remove + /usr/bin/sudo -E ./Install + cat /tmp/652-805.out + _filter_pmda_install + sed -e 's/.* \(hash table entries\)/ NNN \1/' -e 's/.* \(non-leaf nodes\)/ NNN \1/' -e 's/.* \(leaf nodes\)/ NNN \1/' -e 's/.* \(bytes of symbol table\)/ NNN \1/' -e '/^Installing .mchart view*/d' -e '/Terminate PMDA/,/Updating the PMCD/c\ Terminate PMDA if already installed ...\ [...install files, make output...]\ Updating the PMCD control file, and notifying PMCD ...' -e '/Installing files/,/Updating the Performance Metrics/c\ Installing files ...\ [...install files, make output...]\ Updating the Performance Metrics Name Space (PMNS) ...' + _filter + _filter_pmda_warning + sed -e s,/tmp/652-805,TMPFILE,g -e s,/var/lib/pcp,PCP_VAR_DIR,g -e 's/[0-9][0-9]:[0-9][0-9]:[0-9][0-9]\.[0-9][0-9][0-9]/TIMESTAMP/g' + fgrep -v Warning: + grep . + grep -v 'Starting pm.*' + echo + echo '=== 1. scalar metrics ===' + pmprobe -v systemd + tee -a /home/kenj/src/pcp/qa/652.full + _filter_probe + sed -e 's/^\(systemd.journal.count 1\) [0-9][0-9]*/\1 COUNT/g' -e 's/^\(systemd.journal.bytes 1\) [0-9][0-9]*/\1 BYTES/g' + echo + echo '=== 2. journald.records ===' + sleep 3 + _filter_events + fgrep MESSAGE=yo + tee -a /home/kenj/src/pcp/qa/652.full + pmevent -T 10 systemd.journal.records + logger yo + echo + echo '=== 3. journald.records ===' + sleep 3 + tee -a /home/kenj/src/pcp/qa/652.full + _filter_events_raw + fgrep 4d4553534147453d796f + pmevent -T 10 systemd.journal.records_raw + logger yo + /usr/bin/sudo -E ./Remove + journalctl MESSAGE=yo Unprivileged users cannot access messages, unless persistent log storage is enabled. Users in the 'systemd-journal' group may always access messages. + cat /var/log/pcp/pmcd/systemd.log + status=0 + exit + _cleanup + _restore_pmda_install systemd + '[' -z systemd ']' + iam=systemd + signal=/usr/libexec/pcp/bin/pmsignal + '[' -f /tmp/652-805.systemd.conf ']' + diff /tmp/652-805.pmcd.conf /etc/pcp/pmcd/pmcd.conf + : + /usr/bin/sudo -E rm -fr /tmp/652-805.dir + /usr/bin/sudo -E rm -f /tmp/652-805.out /tmp/652-805.pmcd.conf + exit 0