use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/packages/net-snmp/tcp-transport/../testlib/net-snmp-lib.sh: line 18: /usr/lib/beakerlib/beakerlib.sh: No such file or directory :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 12:01:32 ] :: [ INFO ] :: using '/var/tmp/beakerlib-17/backup-net-snmp-lib' as backup destination :: [ 12:01:33 ] :: [ BEGIN ] :: Running 'cp snmpd.conf /etc/snmp/snmpd.conf' :: [ 12:01:33 ] :: [ PASS ] :: Command 'cp snmpd.conf /etc/snmp/snmpd.conf' (Expected 0, got 0) :: [ 12:01:33 ] :: [ BEGIN ] :: Running 'restorecon /etc/snmp/snmpd.conf' :: [ 12:01:33 ] :: [ PASS ] :: Command 'restorecon /etc/snmp/snmpd.conf' (Expected 0, got 0) :: [ 12:01:33 ] :: [ INFO ] :: using '/var/tmp/beakerlib-17/backup-net-snmp-lib' as backup destination :: [ 12:01:34 ] :: [ BEGIN ] :: Running 'restorecon /etc/sysconfig/snmpd' :: [ 12:01:34 ] :: [ PASS ] :: Command 'restorecon /etc/sysconfig/snmpd' (Expected 0, got 0) :: [ 12:01:34 ] :: [ BEGIN ] :: Running 'restorecon /etc/snmp/snmp.conf' :: [ 12:01:34 ] :: [ PASS ] :: Command 'restorecon /etc/snmp/snmp.conf' (Expected 0, got 0) :: [ 12:01:34 ] :: [ LOG ] :: === snmpd.conf ===: :: [ 12:01:34 ] :: [ LOG ] :: rocommunity public agentaddress tcp:127.0.0.1:1161 :: [ 12:01:34 ] :: [ LOG ] :: === snmp.conf ===: :: [ 12:01:34 ] :: [ LOG ] :: defVersion 2c defCommunity public :: [ 12:01:34 ] :: [ LOG ] :: === /etc/sysconfig/snmpd ===: :: [ 12:01:34 ] :: [ LOG ] :: OPTIONS='-p /var/run/snmpd.pid -LF 0-6 /var/log/snmpd.log' :: [ 12:01:34 ] :: [ LOG ] :: nsPrepareService done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 12:01:35 ] :: [ BEGIN ] :: Running 'rlServiceStart snmpd' Redirecting to /bin/systemctl status snmpd.service Redirecting to /bin/systemctl start snmpd.service :: [ 12:01:35 ] :: [ LOG ] :: rlServiceStart: Service snmpd started successfully :: [ 12:01:35 ] :: [ PASS ] :: Command 'rlServiceStart snmpd' (Expected 0, got 0) :: [ 12:01:35 ] :: [ BEGIN ] :: Check the server is online :: actually running 'snmpwalk tcp:localhost:1161 sysLocation' SNMPv2-MIB::sysLocation.0 = STRING: Unknown :: [ 12:01:35 ] :: [ PASS ] :: Check the server is online (Expected 0, got 0) :: [ 12:01:35 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.VYxEOYHH' should contain 'sysLocation.*Unknown' :: [ 12:01:36 ] :: [ BEGIN ] :: Running 'nsCheckAndStop snmpd' ● snmpd.service - Simple Network Management Protocol (SNMP) Daemon. Loaded: loaded (/usr/lib/systemd/system/snmpd.service; disabled; vendor preset: disabled) Active: active (running) since Wed 2022-09-28 12:01:35 EDT; 345ms ago Main PID: 197083 (snmpd) Tasks: 1 (limit: 20406) Memory: 4.5M CPU: 99ms CGroup: /system.slice/snmpd.service └─197083 /usr/sbin/snmpd -p /var/run/snmpd.pid -LF 0-6 /var/log/snmpd.log -f Sep 28 12:01:35 hpe-apollo-cn99xx-15-vm-18.khw4.lab.eng.bos.redhat.com systemd[1]: Starting Simple Network Management Protocol (SNMP) Daemon.... Sep 28 12:01:35 hpe-apollo-cn99xx-15-vm-18.khw4.lab.eng.bos.redhat.com systemd[1]: Started Simple Network Management Protocol (SNMP) Daemon.. :: [ 12:01:36 ] :: [ PASS ] :: Command 'nsCheckAndStop snmpd' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Test) ** Test PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 12:01:37 ] :: [ BEGIN ] :: Running 'nsCleanup' :: [ 12:01:37 ] :: [ BEGIN ] :: Check that snmpd and snmptrapd is not running :: actually running 'pidof snmpd snmptrapd' :: [ 12:01:37 ] :: [ PASS ] :: Check that snmpd and snmptrapd is not running (Expected 1, got 1) :: [ 12:01:37 ] :: [ BEGIN ] :: Running 'nsCheckLog' :: [ 12:01:37 ] :: [ BEGIN ] :: Checking the log file for unknown entries :: actually running 'egrep -v '(^$|NET-SNMP version|Connection from ...|Received SNMP packet|\[init_smux\] bind failed: Permission denied|Creating directory: /var/agentx|read_config_store open failure on /var/net-snmp/snmpd.conf|Received TERM or STOP signal... shutting down...|Creating directory: /var/net-snmp|mibII/mta_sendmail.c:open_sendmailst|_ifXTable_container_row_restore|Created directory: /var/lib/net-snmp/mib_indexes|Created directory: /var/lib/net-snmp/mib_indexes|Created directory: /var/lib/net-snmp/cert_indexes|Duplicate IPv4 address detected, some interfaces may not be visible in IP-MIB|)' /var/log/snmpd.log >/tmp/tmp.YeI78AP6Qh' :: [ 12:01:37 ] :: [ PASS ] :: Checking the log file for unknown entries (Expected 1, got 1) :: [ 12:01:37 ] :: [ PASS ] :: Command 'nsCheckLog' (Expected 0, got 0) :: [ 12:01:37 ] :: [ PASS ] :: Command 'nsCleanup' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 17 Package : unknown beakerlib RPM : beakerlib-1.27-3.el9.noarch Test name : unknown Test started : 2022-09-28 12:01:32 EDT Test finished : 2022-09-28 12:01:38 EDT (still running) Test duration : 6 seconds Distro : CentOS Stream release 9 Hostname : hpe-apollo-cn99xx-15-vm-18.khw4.lab.eng.bos.redhat.com Architecture : aarch64 CPUs : 0 x RAM size : 5135 MB HDD size : 94.04 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 12:01:32 ] :: [ INFO ] :: using '/var/tmp/beakerlib-17/backup-net-snmp-lib' as backup destination :: [ 12:01:33 ] :: [ PASS ] :: Command 'cp snmpd.conf /etc/snmp/snmpd.conf' (Expected 0, got 0) :: [ 12:01:33 ] :: [ PASS ] :: Command 'restorecon /etc/snmp/snmpd.conf' (Expected 0, got 0) :: [ 12:01:33 ] :: [ INFO ] :: using '/var/tmp/beakerlib-17/backup-net-snmp-lib' as backup destination :: [ 12:01:34 ] :: [ PASS ] :: Command 'restorecon /etc/sysconfig/snmpd' (Expected 0, got 0) :: [ 12:01:34 ] :: [ PASS ] :: Command 'restorecon /etc/snmp/snmp.conf' (Expected 0, got 0) :: [ 12:01:34 ] :: [ LOG ] :: === snmpd.conf ===: :: [ 12:01:34 ] :: [ LOG ] :: rocommunity public agentaddress tcp:127.0.0.1:1161 :: [ 12:01:34 ] :: [ LOG ] :: === snmp.conf ===: :: [ 12:01:34 ] :: [ LOG ] :: defVersion 2c defCommunity public :: [ 12:01:34 ] :: [ LOG ] :: === /etc/sysconfig/snmpd ===: :: [ 12:01:34 ] :: [ LOG ] :: OPTIONS='-p /var/run/snmpd.pid -LF 0-6 /var/log/snmpd.log' :: [ 12:01:34 ] :: [ LOG ] :: nsPrepareService done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 12:01:35 ] :: [ LOG ] :: rlServiceStart: Service snmpd started successfully :: [ 12:01:35 ] :: [ PASS ] :: Command 'rlServiceStart snmpd' (Expected 0, got 0) :: [ 12:01:35 ] :: [ PASS ] :: Check the server is online (Expected 0, got 0) :: [ 12:01:35 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.VYxEOYHH' should contain 'sysLocation.*Unknown' :: [ 12:01:36 ] :: [ PASS ] :: Command 'nsCheckAndStop snmpd' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Test) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 12:01:37 ] :: [ PASS ] :: Check that snmpd and snmptrapd is not running (Expected 1, got 1) :: [ 12:01:37 ] :: [ PASS ] :: Checking the log file for unknown entries (Expected 1, got 1) :: [ 12:01:37 ] :: [ PASS ] :: Command 'nsCheckLog' (Expected 0, got 0) :: [ 12:01:37 ] :: [ PASS ] :: Command 'nsCleanup' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Cleanup)