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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 14:28:06 ] :: [ INFO ] :: using '/var/tmp/beakerlib-21/backup-net-snmp-lib' as backup destination :: [ 14:28:06 ] :: [ BEGIN ] :: Running 'cp snmpd.conf /etc/snmp/snmpd.conf' :: [ 14:28:06 ] :: [ PASS ] :: Command 'cp snmpd.conf /etc/snmp/snmpd.conf' (Expected 0, got 0) :: [ 14:28:06 ] :: [ BEGIN ] :: Running 'restorecon /etc/snmp/snmpd.conf' :: [ 14:28:06 ] :: [ PASS ] :: Command 'restorecon /etc/snmp/snmpd.conf' (Expected 0, got 0) :: [ 14:28:06 ] :: [ INFO ] :: using '/var/tmp/beakerlib-21/backup-net-snmp-lib' as backup destination :: [ 14:28:06 ] :: [ BEGIN ] :: Running 'restorecon /etc/sysconfig/snmpd' :: [ 14:28:06 ] :: [ PASS ] :: Command 'restorecon /etc/sysconfig/snmpd' (Expected 0, got 0) :: [ 14:28:06 ] :: [ BEGIN ] :: Running 'restorecon /etc/snmp/snmp.conf' :: [ 14:28:06 ] :: [ PASS ] :: Command 'restorecon /etc/snmp/snmp.conf' (Expected 0, got 0) :: [ 14:28:06 ] :: [ LOG ] :: === snmpd.conf ===: :: [ 14:28:06 ] :: [ LOG ] :: rocommunity public agentaddress tcp:127.0.0.1:1161 :: [ 14:28:06 ] :: [ LOG ] :: === snmp.conf ===: :: [ 14:28:06 ] :: [ LOG ] :: defVersion 2c defCommunity public :: [ 14:28:06 ] :: [ LOG ] :: === /etc/sysconfig/snmpd ===: :: [ 14:28:06 ] :: [ LOG ] :: OPTIONS='-p /var/run/snmpd.pid -LF 0-6 /var/log/snmpd.log' :: [ 14:28:06 ] :: [ LOG ] :: nsPrepareService done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 14:28:06 ] :: [ BEGIN ] :: Running 'rlServiceStart snmpd' Redirecting to /bin/systemctl status snmpd.service Redirecting to /bin/systemctl start snmpd.service :: [ 14:28:06 ] :: [ LOG ] :: rlServiceStart: Service snmpd started successfully :: [ 14:28:06 ] :: [ PASS ] :: Command 'rlServiceStart snmpd' (Expected 0, got 0) :: [ 14:28:06 ] :: [ BEGIN ] :: Check the server is online :: actually running 'snmpwalk tcp:localhost:1161 sysLocation' SNMPv2-MIB::sysLocation.0 = STRING: Unknown :: [ 14:28:06 ] :: [ PASS ] :: Check the server is online (Expected 0, got 0) :: [ 14:28:06 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.Rp2FTs6D' should contain 'sysLocation.*Unknown' :: [ 14:28:06 ] :: [ BEGIN ] :: Running 'nsCheckAndStop snmpd' ● snmpd.service - Simple Network Management Protocol (SNMP) Daemon. Loaded: loaded (/usr/lib/systemd/system/snmpd.service; disabled; preset: disabled) Active: active (running) since Mon 2023-02-06 14:28:06 EST; 79ms ago Main PID: 153548 (snmpd) Tasks: 1 (limit: 29935) Memory: 4.0M CPU: 26ms CGroup: /system.slice/snmpd.service └─153548 /usr/sbin/snmpd -p /var/run/snmpd.pid -LF 0-6 /var/log/snmpd.log -f Feb 06 14:28:06 s390x-kvm-036.lab.eng.rdu2.redhat.com systemd[1]: Starting Simple Network Management Protocol (SNMP) Daemon.... Feb 06 14:28:06 s390x-kvm-036.lab.eng.rdu2.redhat.com systemd[1]: Started Simple Network Management Protocol (SNMP) Daemon.. :: [ 14:28:06 ] :: [ PASS ] :: Command 'nsCheckAndStop snmpd' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Test) ** Test PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 14:28:06 ] :: [ BEGIN ] :: Running 'nsCleanup' :: [ 14:28:06 ] :: [ BEGIN ] :: Check that snmpd and snmptrapd is not running :: actually running 'pidof snmpd snmptrapd' :: [ 14:28:06 ] :: [ PASS ] :: Check that snmpd and snmptrapd is not running (Expected 1, got 1) :: [ 14:28:07 ] :: [ BEGIN ] :: Running 'nsCheckLog' :: [ 14:28:07 ] :: [ 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.QXDPR8KMfU' :: [ 14:28:07 ] :: [ PASS ] :: Checking the log file for unknown entries (Expected 1, got 1) :: [ 14:28:07 ] :: [ PASS ] :: Command 'nsCheckLog' (Expected 0, got 0) :: [ 14:28:07 ] :: [ PASS ] :: Command 'nsCleanup' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 21 Package : unknown beakerlib RPM : beakerlib-1.27-3.el9.noarch Test name : unknown Test started : 2023-02-06 14:28:05 EST Test finished : 2023-02-06 14:28:07 EST (still running) Test duration : 2 seconds Distro : CentOS Stream release 9 Hostname : s390x-kvm-036.lab.eng.rdu2.redhat.com Architecture : s390x CPUs : 0 x RAM size : 7517 MB HDD size : 111.96 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 14:28:06 ] :: [ INFO ] :: using '/var/tmp/beakerlib-21/backup-net-snmp-lib' as backup destination :: [ 14:28:06 ] :: [ PASS ] :: Command 'cp snmpd.conf /etc/snmp/snmpd.conf' (Expected 0, got 0) :: [ 14:28:06 ] :: [ PASS ] :: Command 'restorecon /etc/snmp/snmpd.conf' (Expected 0, got 0) :: [ 14:28:06 ] :: [ INFO ] :: using '/var/tmp/beakerlib-21/backup-net-snmp-lib' as backup destination :: [ 14:28:06 ] :: [ PASS ] :: Command 'restorecon /etc/sysconfig/snmpd' (Expected 0, got 0) :: [ 14:28:06 ] :: [ PASS ] :: Command 'restorecon /etc/snmp/snmp.conf' (Expected 0, got 0) :: [ 14:28:06 ] :: [ LOG ] :: === snmpd.conf ===: :: [ 14:28:06 ] :: [ LOG ] :: rocommunity public agentaddress tcp:127.0.0.1:1161 :: [ 14:28:06 ] :: [ LOG ] :: === snmp.conf ===: :: [ 14:28:06 ] :: [ LOG ] :: defVersion 2c defCommunity public :: [ 14:28:06 ] :: [ LOG ] :: === /etc/sysconfig/snmpd ===: :: [ 14:28:06 ] :: [ LOG ] :: OPTIONS='-p /var/run/snmpd.pid -LF 0-6 /var/log/snmpd.log' :: [ 14:28:06 ] :: [ LOG ] :: nsPrepareService done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 14:28:06 ] :: [ LOG ] :: rlServiceStart: Service snmpd started successfully :: [ 14:28:06 ] :: [ PASS ] :: Command 'rlServiceStart snmpd' (Expected 0, got 0) :: [ 14:28:06 ] :: [ PASS ] :: Check the server is online (Expected 0, got 0) :: [ 14:28:06 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.Rp2FTs6D' should contain 'sysLocation.*Unknown' :: [ 14:28:06 ] :: [ PASS ] :: Command 'nsCheckAndStop snmpd' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Test) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 14:28:06 ] :: [ PASS ] :: Check that snmpd and snmptrapd is not running (Expected 1, got 1) :: [ 14:28:07 ] :: [ PASS ] :: Checking the log file for unknown entries (Expected 1, got 1) :: [ 14:28:07 ] :: [ PASS ] :: Command 'nsCheckLog' (Expected 0, got 0) :: [ 14:28:07 ] :: [ PASS ] :: Command 'nsCleanup' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Cleanup)