use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh [ 11:21:50 ] Running: 'dnf install -y --skip-broken python3-pip python3-wheel python3-augeas augeas-libs python3-netifaces' Last metadata expiration check: 1:43:37 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package python3-pip-22.3.1-1.eln123.noarch is already installed. Package python3-wheel-1:0.38.4-1.eln124.noarch is already installed. Package python3-augeas-1.1.0-6.eln120.noarch is already installed. Package augeas-libs-1.13.0-3.eln120.s390x is already installed. Package python3-netifaces-0.11.0-4.eln120.s390x is already installed. Dependencies resolved. Nothing to do. Complete! [ 11:21:52 ] Running: 'python3 -m pip install virtualenv && python3 -m venv /opt/stqe-venv && source /opt/stqe-venv/bin/activate' Requirement already satisfied: virtualenv in /usr/local/lib/python3.11/site-packages (20.17.1) Requirement already satisfied: distlib<1,>=0.3.6 in /usr/local/lib/python3.11/site-packages (from virtualenv) (0.3.6) Requirement already satisfied: filelock<4,>=3.4.1 in /usr/local/lib/python3.11/site-packages (from virtualenv) (3.9.0) Requirement already satisfied: platformdirs<3,>=2.4 in /usr/local/lib/python3.11/site-packages (from virtualenv) (2.6.2) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv [ 11:21:55 ] Running: 'python3 -m pip install wheel' Requirement already satisfied: wheel in /opt/stqe-venv/lib64/python3.11/site-packages (0.38.4) [ 11:21:56 ] Running: 'python3 -m pip install stqe --no-binary=stqe' DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 Requirement already satisfied: stqe in /opt/stqe-venv/lib64/python3.11/site-packages (0.1.21) Requirement already satisfied: libsan in /opt/stqe-venv/lib64/python3.11/site-packages (from stqe) (0.4.0) Requirement already satisfied: python-augeas in /opt/stqe-venv/lib64/python3.11/site-packages (from stqe) (1.1.0) Requirement already satisfied: fmf==1.1.0 in /opt/stqe-venv/lib64/python3.11/site-packages (from stqe) (1.1.0) Requirement already satisfied: pexpect in /opt/stqe-venv/lib64/python3.11/site-packages (from stqe) (4.8.0) Requirement already satisfied: filelock in /opt/stqe-venv/lib64/python3.11/site-packages (from fmf==1.1.0->stqe) (3.9.0) Requirement already satisfied: jsonschema in /opt/stqe-venv/lib64/python3.11/site-packages (from fmf==1.1.0->stqe) (4.17.3) Requirement already satisfied: ruamel.yaml in /opt/stqe-venv/lib64/python3.11/site-packages (from fmf==1.1.0->stqe) (0.17.21) Requirement already satisfied: future in /opt/stqe-venv/lib64/python3.11/site-packages (from libsan->stqe) (0.18.3) Requirement already satisfied: six in /opt/stqe-venv/lib64/python3.11/site-packages (from libsan->stqe) (1.16.0) Requirement already satisfied: distro in /opt/stqe-venv/lib64/python3.11/site-packages (from libsan->stqe) (1.8.0) Requirement already satisfied: netifaces in /opt/stqe-venv/lib64/python3.11/site-packages (from libsan->stqe) (0.11.0) Requirement already satisfied: ipaddress in /opt/stqe-venv/lib64/python3.11/site-packages (from libsan->stqe) (1.0.23) Requirement already satisfied: requests in /opt/stqe-venv/lib64/python3.11/site-packages (from libsan->stqe) (2.28.2) Requirement already satisfied: netapp-ontap in /opt/stqe-venv/lib64/python3.11/site-packages (from libsan->stqe) (9.11.1.0) Requirement already satisfied: ptyprocess>=0.5 in /opt/stqe-venv/lib64/python3.11/site-packages (from pexpect->stqe) (0.7.0) Requirement already satisfied: cffi>=1.0.0 in /opt/stqe-venv/lib64/python3.11/site-packages (from python-augeas->stqe) (1.15.1) Requirement already satisfied: pycparser in /opt/stqe-venv/lib64/python3.11/site-packages (from cffi>=1.0.0->python-augeas->stqe) (2.21) Requirement already satisfied: attrs>=17.4.0 in /opt/stqe-venv/lib64/python3.11/site-packages (from jsonschema->fmf==1.1.0->stqe) (22.2.0) Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /opt/stqe-venv/lib64/python3.11/site-packages (from jsonschema->fmf==1.1.0->stqe) (0.19.3) Requirement already satisfied: marshmallow>=3.2.1 in /opt/stqe-venv/lib64/python3.11/site-packages (from netapp-ontap->libsan->stqe) (3.19.0) Requirement already satisfied: requests-toolbelt>=0.9.1 in /opt/stqe-venv/lib64/python3.11/site-packages (from netapp-ontap->libsan->stqe) (0.10.1) Requirement already satisfied: urllib3>=1.26.7 in /opt/stqe-venv/lib64/python3.11/site-packages (from netapp-ontap->libsan->stqe) (1.26.14) Requirement already satisfied: charset-normalizer<4,>=2 in /opt/stqe-venv/lib64/python3.11/site-packages (from requests->libsan->stqe) (3.0.1) Requirement already satisfied: idna<4,>=2.5 in /opt/stqe-venv/lib64/python3.11/site-packages (from requests->libsan->stqe) (3.4) Requirement already satisfied: certifi>=2017.4.17 in /opt/stqe-venv/lib64/python3.11/site-packages (from requests->libsan->stqe) (2022.12.7) Requirement already satisfied: packaging>=17.0 in /opt/stqe-venv/lib64/python3.11/site-packages (from marshmallow>=3.2.1->netapp-ontap->libsan->stqe) (23.0) [ 11:21:57 ] Running: '/opt/stqe-venv/bin/stqe-test run --fmf -f tags:targetcli_basic' INFO: [2023-01-29 11:21:59] Running: 'chmod +x /opt/stqe-venv/lib64/python3.11/site-packages/stqe//tests/install_targetcli.py'... INFO: [2023-01-29 11:21:59] Running: 'chmod +x /opt/stqe-venv/lib64/python3.11/site-packages/stqe//tests/install_iscsi-initiator-utils.py'... ============================================================================================================== Running install 'install_targetcli.py' ============================================================================================================== INFO: [2023-01-29 11:21:59] Running: 'fmf_name='install_targetcli.py' fmf_install='True' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/install_targetcli.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:21:59] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:43:46 ago on Sun 29 Jan 2023 09:38:14 AM EST. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: targetcli noarch 2.1.54-6.eln120 beaker-AppStream 94 k Installing dependencies: python3-configshell noarch 1:1.1.29-9.eln121 beaker-BaseOS 91 k python3-kmod s390x 0.9-35.eln120 beaker-BaseOS 79 k python3-pyudev noarch 0.24.0-1.eln121 beaker-BaseOS 97 k python3-rtslib noarch 2.1.75-3.eln120 beaker-AppStream 128 k python3-urwid s390x 2.1.2-7.eln120 beaker-BaseOS 942 k target-restore noarch 2.1.75-3.eln120 beaker-AppStream 14 k Transaction Summary ================================================================================ Install 7 Packages Total download size: 1.4 M Installed size: 5.9 M Downloading Packages: (1/7): target-restore-2.1.75-3.eln120.noarch.rp 587 kB/s | 14 kB 00:00 (2/7): targetcli-2.1.54-6.eln120.noarch.rpm 2.0 MB/s | 94 kB 00:00 (3/7): python3-rtslib-2.1.75-3.eln120.noarch.rp 2.3 MB/s | 128 kB 00:00 (4/7): python3-configshell-1.1.29-9.eln121.noar 2.6 MB/s | 91 kB 00:00 (5/7): python3-kmod-0.9-35.eln120.s390x.rpm 2.7 MB/s | 79 kB 00:00 (6/7): python3-pyudev-0.24.0-1.eln121.noarch.rp 2.7 MB/s | 97 kB 00:00 (7/7): python3-urwid-2.1.2-7.eln120.s390x.rpm 12 MB/s | 942 kB 00:00 -------------------------------------------------------------------------------- Total 10 MB/s | 1.4 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : python3-urwid-2.1.2-7.eln120.s390x 1/7 Installing : python3-configshell-1:1.1.29-9.eln121.noarch 2/7 Installing : python3-pyudev-0.24.0-1.eln121.noarch 3/7 Installing : python3-kmod-0.9-35.eln120.s390x 4/7 Installing : python3-rtslib-2.1.75-3.eln120.noarch 5/7 Installing : target-restore-2.1.75-3.eln120.noarch 6/7 Running scriptlet: target-restore-2.1.75-3.eln120.noarch 6/7 Installing : targetcli-2.1.54-6.eln120.noarch 7/7 Running scriptlet: targetcli-2.1.54-6.eln120.noarch 7/7 Verifying : python3-rtslib-2.1.75-3.eln120.noarch 1/7 Verifying : target-restore-2.1.75-3.eln120.noarch 2/7 Verifying : targetcli-2.1.54-6.eln120.noarch 3/7 Verifying : python3-configshell-1:1.1.29-9.eln121.noarch 4/7 Verifying : python3-kmod-0.9-35.eln120.s390x 5/7 Verifying : python3-pyudev-0.24.0-1.eln121.noarch 6/7 Verifying : python3-urwid-2.1.2-7.eln120.s390x 7/7 Installed: python3-configshell-1:1.1.29-9.eln121.noarch python3-kmod-0.9-35.eln120.s390x python3-pyudev-0.24.0-1.eln121.noarch python3-rtslib-2.1.75-3.eln120.noarch python3-urwid-2.1.2-7.eln120.s390x target-restore-2.1.75-3.eln120.noarch targetcli-2.1.54-6.eln120.noarch Complete! INFO: targetcli was successfully installed ============================================================================================================== Running install 'install_iscsi-initiator-utils.py' ============================================================================================================== INFO: [2023-01-29 11:22:03] Running: 'fmf_name='install_iscsi-initiator-utils.py' fmf_install='True' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/install_iscsi-initiator-utils.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:22:03] Running: 'dnf install -y iscsi-initiator-utils'... Last metadata expiration check: 1:43:49 ago on Sun 29 Jan 2023 09:38:14 AM EST. Dependencies resolved. ========================================================================================= Package Arch Version Repository Size ========================================================================================= Installing: iscsi-initiator-utils s390x 6.2.1.4-6.git2a8f9d8.eln121 beaker-BaseOS 360 k Installing dependencies: iscsi-initiator-utils-iscsiuio s390x 6.2.1.4-6.git2a8f9d8.eln121 beaker-BaseOS 91 k isns-utils-libs s390x 0.101-5.eln120 beaker-BaseOS 102 k Transaction Summary ========================================================================================= Install 3 Packages Total download size: 553 k Installed size: 2.1 M Downloading Packages: (1/3): isns-utils-libs-0.101-5.eln120.s390x.rpm 3.1 MB/s | 102 kB 00:00 (2/3): iscsi-initiator-utils-iscsiuio-6.2.1.4-6 2.0 MB/s | 91 kB 00:00 (3/3): iscsi-initiator-utils-6.2.1.4-6.git2a8f9 6.2 MB/s | 360 kB 00:00 -------------------------------------------------------------------------------- Total 9.3 MB/s | 553 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : isns-utils-libs-0.101-5.eln120.s390x 1/3 Installing : iscsi-initiator-utils-iscsiuio-6.2.1.4-6.git2a8f9d8. 2/3 Running scriptlet: iscsi-initiator-utils-iscsiuio-6.2.1.4-6.git2a8f9d8. 2/3 Created symlink /etc/systemd/system/sockets.target.wants/iscsiuio.socket /usr/lib/systemd/system/iscsiuio.socket. Installing : iscsi-initiator-utils-6.2.1.4-6.git2a8f9d8.eln121.s3 3/3 Running scriptlet: iscsi-initiator-utils-6.2.1.4-6.git2a8f9d8.eln121.s3 3/3 Created symlink /etc/systemd/system/remote-fs.target.wants/iscsi.service /usr/lib/systemd/system/iscsi.service. Created symlink /etc/systemd/system/sockets.target.wants/iscsid.socket /usr/lib/systemd/system/iscsid.socket. Created symlink /etc/systemd/system/sysinit.target.wants/iscsi-onboot.service /usr/lib/systemd/system/iscsi-onboot.service. Verifying : iscsi-initiator-utils-6.2.1.4-6.git2a8f9d8.eln121.s3 1/3 Verifying : iscsi-initiator-utils-iscsiuio-6.2.1.4-6.git2a8f9d8. 2/3 Verifying : isns-utils-libs-0.101-5.eln120.s390x 3/3 Installed: iscsi-initiator-utils-6.2.1.4-6.git2a8f9d8.eln121.s390x iscsi-initiator-utils-iscsiuio-6.2.1.4-6.git2a8f9d8.eln121.s390x isns-utils-libs-0.101-5.eln120.s390x Complete! INFO: iscsi-initiator-utils was successfully installed ============================================================================================================== Running test 'targetcli/cli/saveconfig_backup' ============================================================================================================== INFO: [2023-01-29 11:22:06] Running: 'fmf_distro='[rhel-7, rhel-8, rhel-9, fedora, centos-8, centos-9]' fmf_number_of_backups='5' fmf_tags='[targetcli_basic]' fmf_tier='1' fmf_name='targetcli/cli/saveconfig_backup' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/cli/saveconfig_backup.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:22:06] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:43:52 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:22:07] Creating saveconfig.json number 0 INFO: [2023-01-29 11:22:07] Running: 'targetcli saveconfig'... Configuration saved to /etc/target/saveconfig.json INFO: [2023-01-29 11:22:08] Creating saveconfig.json number 1 INFO: [2023-01-29 11:22:08] Running: 'targetcli saveconfig'... Last 10 configs saved in /etc/target/backup/. Configuration saved to /etc/target/saveconfig.json INFO: [2023-01-29 11:22:08] Creating saveconfig.json number 2 INFO: [2023-01-29 11:22:08] Running: 'targetcli saveconfig'... Configuration saved to /etc/target/saveconfig.json INFO: [2023-01-29 11:22:08] Creating saveconfig.json number 3 INFO: [2023-01-29 11:22:08] Running: 'targetcli saveconfig'... Configuration saved to /etc/target/saveconfig.json INFO: [2023-01-29 11:22:08] Creating saveconfig.json number 4 INFO: [2023-01-29 11:22:08] Running: 'targetcli saveconfig'... Configuration saved to /etc/target/saveconfig.json INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:22:08] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:43:55 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:22:10] Getting parameter max_backup_files from group global with params group = global, max_backup_files = max_backup_files INFO: [2023-01-29 11:22:10] Running: 'targetcli get global max_backup_files'... max_backup_files=10 INFO: [2023-01-29 11:22:10] Removing backups from /etc/target/backup with params cmd = rm -rf /etc/target/backup/* INFO: [2023-01-29 11:22:10] Running: 'rm -rf /etc/target/backup/*'... INFO: [2023-01-29 11:22:10] Removing saveconfig.json with params cmd = rm -rf /etc/target/saveconfig.json INFO: [2023-01-29 11:22:10] Running: 'rm -rf /etc/target/saveconfig.json'... ============================================================================================================== Running setup 'targetcli/setup/create_loopdev' ============================================================================================================== INFO: [2023-01-29 11:22:10] Running: 'fmf_setup='True' fmf_loopdev_size='1' fmf_name='targetcli/setup/create_loopdev' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/create_loopdev.py'... INFO: [2023-01-29 11:22:10] Creating loopdev with params size = 1 INFO: Creating loop device /var/tmp/loop0.img with size 1 INFO: Creating file /var/tmp/loop0.img INFO: [2023-01-29 11:22:10] Running: 'fallocate -l 1M /var/tmp/loop0.img'... INFO: [2023-01-29 11:22:10] Running: 'losetup /dev/loop0 /var/tmp/loop0.img'... INFO: [2023-01-29 11:22:10] Writing var TARGETCLI_LOOPDEV_NAME with params var = {'TARGETCLI_LOOPDEV_NAME': '/dev/loop0'} ============================================================================================================== Running setup 'targetcli/setup/create_block' ============================================================================================================== INFO: [2023-01-29 11:22:10] Running: 'fmf_setup='True' fmf_backstore_name='block' fmf_backstore_type='block' fmf_loopdev='True' fmf_name='targetcli/setup/create_block' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/create_backstore.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:22:10] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:43:57 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:22:12] Creating backstore object with path /backstores/block with params name = block, dev = /dev/loop0 INFO: [2023-01-29 11:22:12] Running: 'targetcli /backstores/block create name=block dev=/dev/loop0 '... Created block storage object block using /dev/loop0. INFO: [2023-01-29 11:22:12] Writing var TARGETCLI_block_NAME with params var = {'BLOCK_NAME': 'block'} ============================================================================================================== Running test 'targetcli/cli/block_attributes' ============================================================================================================== INFO: [2023-01-29 11:22:12] Running: 'fmf_distro='[rhel-7, rhel-8, rhel-9, fedora, centos-8, centos-9]' fmf_tags='[targetcli_basic]' fmf_name='targetcli/cli/block_attributes' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/cli/block_attributes.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:22:12] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:43:59 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:22:14] Getting parameters from group attribute with params group = attribute INFO: [2023-01-29 11:22:14] Running: 'targetcli /backstores/block/block get attribute '... ATTRIBUTE CONFIG GROUP ====================== alua_support=1 -------------- block_size=512 -------------- Block size of the underlying device. emulate_3pc=1 ------------- If set to 1, enable Third Party Copy. emulate_caw=1 ------------- If set to 1, enable Compare and Write. emulate_dpo=1 ------------- If set to 1, turn on Disable Page Out. emulate_fua_read=1 ------------------ If set to 1, enable Force Unit Access read. emulate_fua_write=1 ------------------- If set to 1, enable Force Unit Access write. emulate_model_alias=1 --------------------- If set to 1, use the backend device name for the model alias. emulate_pr=1 ------------ If set to 1, enable SCSI Reservations. emulate_rest_reord=0 -------------------- If set to 0, the Queue Algorithm Modifier is Restricted Reordering. emulate_rsoc=1 -------------- emulate_tas=1 ------------- If set to 1, enable Task Aborted Status. emulate_tpu=0 ------------- If set to 1, enable Thin Provisioning Unmap. emulate_tpws=0 -------------- If set to 1, enable Thin Provisioning Write Same. emulate_ua_intlck_ctrl=0 ------------------------ If set to 1, enable Unit Attention Interlock. emulate_write_cache=0 --------------------- If set to 1, turn on Write Cache Enable. enforce_pr_isids=1 ------------------ If set to 1, enforce persistent reservation ISIDs. force_pr_aptpl=0 ---------------- If set to 1, force SPC-3 PR Activate Persistence across Target Power Loss operation. hw_block_size=512 [ro] ---------------------- Hardware block size in bytes. hw_max_sectors=2560 [ro] ------------------------ Maximum number of sectors the hardware can transfer at once. hw_pi_prot_type=0 [ro] ---------------------- If non-zero, DIF protection is enabled on the underlying hardware. hw_queue_depth=128 [ro] ----------------------- Hardware queue depth. is_nonrot=1 ----------- If set to 1, the backstore is a non rotational device. max_unmap_block_desc_count=1 ---------------------------- Maximum number of block descriptors for UNMAP. max_unmap_lba_count=8388607 --------------------------- Maximum number of LBA for UNMAP. max_write_same_len=8388607 -------------------------- Maximum length for WRITE_SAME. optimal_sectors=2560 -------------------- Optimal request size in sectors. pgr_support=1 ------------- pi_prot_format=0 ---------------- DIF protection format. pi_prot_type=0 -------------- DIF protection type. pi_prot_verify=0 ---------------- queue_depth=128 --------------- Queue depth. unmap_granularity=8 ------------------- UNMAP granularity. unmap_granularity_alignment=0 ----------------------------- UNMAP granularity alignment. unmap_zeroes_data=0 ------------------- If set to 1, zeroes are read back after an UNMAP. INFO: [2023-01-29 11:22:14] Changing parameters in group attribute with params group = attribute, emulate_3pc = 0, emulate_caw = 0, emulate_fua_write = 0, emulate_model_alias = 0, emulate_pr = 0, emulate_rsoc = 0, emulate_tas = 0, emulate_ua_intlck_ctrl = 1, enforce_pr_isids = 0, force_pr_aptpl = 1, is_nonrot = 0, max_unmap_block_desc_count = 0, max_unmap_lba_count = 4194303, max_write_same_len = 4194303, optimal_sectors = 1280, queue_depth = 64, unmap_granularity = 4, unmap_granularity_alignment = 1 INFO: [2023-01-29 11:22:14] Running: 'targetcli /backstores/block/block set attribute emulate_3pc='0' emulate_caw='0' emulate_fua_write='0' emulate_model_alias='0' emulate_pr='0' emulate_rsoc='0' emulate_tas='0' emulate_ua_intlck_ctrl='1' enforce_pr_isids='0' force_pr_aptpl='1' is_nonrot='0' max_unmap_block_desc_count='0' max_unmap_lba_count='4194303' max_write_same_len='4194303' optimal_sectors='1280' queue_depth='64' unmap_granularity='4' unmap_granularity_alignment='1''... Parameter emulate_3pc is now '0'. Parameter emulate_caw is now '0'. Parameter emulate_fua_write is now '0'. Parameter emulate_model_alias is now '0'. Parameter emulate_pr is now '0'. Parameter emulate_rsoc is now '0'. Parameter emulate_tas is now '0'. Parameter emulate_ua_intlck_ctrl is now '1'. Parameter enforce_pr_isids is now '0'. Parameter force_pr_aptpl is now '1'. Parameter is_nonrot is now '0'. Parameter max_unmap_block_desc_count is now '0'. Parameter max_unmap_lba_count is now '4194303'. Parameter max_write_same_len is now '4194303'. Parameter optimal_sectors is now '1280'. Parameter queue_depth is now '64'. Parameter unmap_granularity is now '4'. Parameter unmap_granularity_alignment is now '1'. INFO: [2023-01-29 11:22:14] Getting parameters from group attribute with params group = attribute, emulate_3pc = 0, emulate_caw = 0, emulate_fua_write = 0, emulate_model_alias = 0, emulate_pr = 0, emulate_rsoc = 0, emulate_tas = 0, emulate_ua_intlck_ctrl = 1, enforce_pr_isids = 0, force_pr_aptpl = 1, is_nonrot = 0, max_unmap_block_desc_count = 0, max_unmap_lba_count = 4194303, max_write_same_len = 4194303, optimal_sectors = 1280, queue_depth = 64, unmap_granularity = 4, unmap_granularity_alignment = 1 INFO: [2023-01-29 11:22:14] Running: 'targetcli /backstores/block/block get attribute emulate_3pc emulate_caw emulate_fua_write emulate_model_alias emulate_pr emulate_rsoc emulate_tas emulate_ua_intlck_ctrl enforce_pr_isids force_pr_aptpl is_nonrot max_unmap_block_desc_count max_unmap_lba_count max_write_same_len optimal_sectors queue_depth unmap_granularity unmap_granularity_alignment'... emulate_3pc=0 emulate_caw=0 emulate_fua_write=0 emulate_model_alias=0 emulate_pr=0 emulate_rsoc=0 emulate_tas=0 emulate_ua_intlck_ctrl=1 enforce_pr_isids=0 force_pr_aptpl=1 is_nonrot=0 max_unmap_block_desc_count=0 max_unmap_lba_count=4194303 max_write_same_len=4194303 optimal_sectors=1280 queue_depth=64 unmap_granularity=4 unmap_granularity_alignment=1 ============================================================================================================== Running cleanup 'targetcli/setup/delete_block' ============================================================================================================== INFO: [2023-01-29 11:22:14] Running: 'fmf_setup='True' fmf_backstore='block' fmf_name='targetcli/setup/delete_block' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/delete_backstore.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:22:14] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:44:01 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:22:16] Deleting bacstore block with params name = block INFO: [2023-01-29 11:22:16] Running: 'targetcli /backstores/block delete name=block '... Deleted storage object block. ============================================================================================================== Running cleanup 'targetcli/setup/loopdev_delete' ============================================================================================================== INFO: [2023-01-29 11:22:16] Running: 'fmf_setup='True' fmf_name='targetcli/setup/loopdev_delete' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/delete_loopdev.py'... INFO: [2023-01-29 11:22:16] Deleting loopdev /dev/loop0 with params name = /dev/loop0 INFO: Deleting loop device /dev/loop0 INFO: [2023-01-29 11:22:16] Running: 'losetup -d /dev/loop0'... INFO: [2023-01-29 11:22:16] Running: 'rm -f /var/tmp/loop0.img'... ============================================================================================================== Running setup 'targetcli/setup/stop_multipath' ============================================================================================================== INFO: [2023-01-29 11:22:16] Running: 'fmf_setup='True' fmf_descirption='Stops multipathd and multipathd.socket services' fmf_name='targetcli/setup/stop_multipath' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/stop_multipath.py'... INFO: device-mapper-multipath is not installed WARN: Skipping setup! Package device-mapper-multipath is not installed! ============================================================================================================== Running setup 'targetcli/setup/create_fileio' ============================================================================================================== INFO: [2023-01-29 11:22:16] Running: 'fmf_setup='True' fmf_backstore_name='fileio' fmf_backstore_type='fileio' fmf_file_or_dev='fileio_file' fmf_size='1M' fmf_name='targetcli/setup/create_fileio' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/create_backstore.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:22:17] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:44:03 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:22:18] Creating backstore object with path /backstores/fileio with params name = fileio, file_or_dev = /var/tmp/fileio_file, size = 1M INFO: [2023-01-29 11:22:18] Running: 'targetcli /backstores/fileio create name=fileio file_or_dev=/var/tmp/fileio_file size=1M '... Created fileio fileio with size 1048576 INFO: [2023-01-29 11:22:18] Writing var TARGETCLI_fileio_NAME with params var = {'FILEIO_NAME': 'fileio'} INFO: [2023-01-29 11:22:18] Writing var FILEIO_FILE with params var = {'FILEIO_FILE': '/var/tmp/fileio_file'} ============================================================================================================== Running setup 'targetcli/setup/create_loopback' ============================================================================================================== INFO: [2023-01-29 11:22:18] Running: 'fmf_setup='True' fmf_lun='255' fmf_name='targetcli/setup/create_loopback' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/create_loopback.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:22:18] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:44:04 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:22:19] Creating loopback INFO: [2023-01-29 11:22:19] Running: 'targetcli /loopback create '... Created target naa.5001405e0f30b035. INFO: [2023-01-29 11:22:19] Creating lun with name: 255 with params storage_object = /backstores/fileio/fileio, lun = 255 INFO: [2023-01-29 11:22:19] Running: 'targetcli /loopback/naa.5001405e0f30b035/luns create storage_object=/backstores/fileio/fileio lun=255 '... Created LUN 255. INFO: [2023-01-29 11:22:20] Waiting udev to finish storage scan INFO: Waiting udev to finish storage scan INFO: [2023-01-29 11:22:20] Running: 'udevadm settle'... INFO: [2023-01-29 11:22:35] Writing var SCSI_ID with params var = {'SCSI_ID': '0:0:1:255'} INFO: [2023-01-29 11:22:35] Writing var LOOPBACK_WWN with params var = {'LOOPBACK_WWN': 'naa.5001405e0f30b035'} INFO: [2023-01-29 11:22:35] Writing var LOOPBACK_LUN with params var = {'LOOPBACK_LUN': '255'} ============================================================================================================== Running test 'targetcli/cli/create_pscsi' ============================================================================================================== INFO: [2023-01-29 11:22:35] Running: 'fmf_distro='[rhel-7, rhel-8, rhel-9, fedora, centos-8, centos-9]' fmf_pscsi_name='pscsi_test' fmf_tags='[targetcli_basic]' fmf_name='targetcli/cli/create_pscsi' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/cli/create_pscsi.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:22:35] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:44:21 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:22:36] Creating backstore pscsi object with name: pscsi_test with params name = pscsi_test, dev = 0:0:1:255 INFO: [2023-01-29 11:22:37] Running: 'targetcli /backstores/pscsi create name=pscsi_test dev=0:0:1:255 '... Created pscsi storage object pscsi_test using 0:0:1:255 INFO: [2023-01-29 11:22:37] Deleting pscsi object pscsi_test with params name = pscsi_test INFO: [2023-01-29 11:22:37] Running: 'targetcli /backstores/pscsi delete name=pscsi_test '... Deleted storage object pscsi_test. ============================================================================================================== Running cleanup 'targetcli/setup/delete_loopback' ============================================================================================================== INFO: [2023-01-29 11:22:37] Running: 'fmf_setup='True' fmf_name='targetcli/setup/delete_loopback' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/delete_loopback.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:22:37] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:44:24 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:22:39] Deleting lun: lun255 with params lun = lun255 INFO: [2023-01-29 11:22:39] Running: 'targetcli /loopback/naa.5001405e0f30b035/luns delete lun=lun255 '... Deleted LUN 255. INFO: [2023-01-29 11:22:39] Deleting loopback: naa.5001405e0f30b035 with params wwn = naa.5001405e0f30b035 INFO: [2023-01-29 11:22:39] Running: 'targetcli /loopback delete wwn=naa.5001405e0f30b035 '... Deleted Target naa.5001405e0f30b035. ============================================================================================================== Running cleanup 'targetcli/setup/delete_fileio' ============================================================================================================== INFO: [2023-01-29 11:22:39] Running: 'fmf_setup='True' fmf_backstore='fileio' fmf_name='targetcli/setup/delete_fileio' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/delete_backstore.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:22:39] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:44:26 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:22:41] Deleting bacstore fileio with params name = fileio INFO: [2023-01-29 11:22:41] Running: 'targetcli /backstores/fileio delete name=fileio '... Deleted storage object fileio. INFO: [2023-01-29 11:22:41] Removing file with params cmd = rm -f /var/tmp/fileio_file INFO: [2023-01-29 11:22:41] Running: 'rm -f /var/tmp/fileio_file'... ============================================================================================================== Running setup 'targetcli/setup/create_fileio_1g' ============================================================================================================== INFO: [2023-01-29 11:22:41] Running: 'fmf_setup='True' fmf_backstore_name='fileio' fmf_backstore_type='fileio' fmf_file_or_dev='fileio_file' fmf_size='1G' fmf_name='targetcli/setup/create_fileio_1g' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/create_backstore.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:22:41] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:44:27 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:22:43] Creating backstore object with path /backstores/fileio with params name = fileio, file_or_dev = /var/tmp/fileio_file, size = 1G INFO: [2023-01-29 11:22:43] Running: 'targetcli /backstores/fileio create name=fileio file_or_dev=/var/tmp/fileio_file size=1G '... Created fileio fileio with size 1073741824 INFO: [2023-01-29 11:22:43] Writing var TARGETCLI_fileio_NAME with params var = {'FILEIO_NAME': 'fileio'} INFO: [2023-01-29 11:22:43] Writing var FILEIO_FILE with params var = {'FILEIO_FILE': '/var/tmp/fileio_file'} ============================================================================================================== Running setup 'targetcli/setup/create_fileio_target' ============================================================================================================== INFO: [2023-01-29 11:22:43] Running: 'fmf_setup='True' fmf_name='targetcli/setup/create_fileio_target' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/create_fileio_target.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:22:43] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:44:29 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:22:44] Creating iscsi INFO: [2023-01-29 11:22:44] Running: 'targetcli /iscsi create '... Created target iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996. Created TPG 1. Global pref auto_add_default_portal=true Created default portal listening on all IPs (0.0.0.0), port 3260. INFO: [2023-01-29 11:22:44] Creating lun with storage object: /backstores/fileio/fileio with params storage_object = /backstores/fileio/fileio INFO: [2023-01-29 11:22:44] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1/luns create storage_object=/backstores/fileio/fileio '... Created LUN 0. INFO: [2023-01-29 11:22:44] Setting parameter generate_node_acls to '1' with params generate_node_acls = 1, group = attribute INFO: [2023-01-29 11:22:44] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set attribute generate_node_acls='1''... Parameter generate_node_acls is now '1'. INFO: [2023-01-29 11:22:45] Setting parameter demo_mode_write_protect to '0' with params demo_mode_write_protect = 0, group = attribute INFO: [2023-01-29 11:22:45] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set attribute demo_mode_write_protect='0''... Parameter demo_mode_write_protect is now '0'. INFO: [2023-01-29 11:22:45] Writing var TPG with params var = {'TPG': 'tpg1'} INFO: [2023-01-29 11:22:45] Writing var TARGET IQN with params var = {'TARGET_IQN': 'iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996'} ============================================================================================================== Running test 'targetcli/cli/iscsi_fileio_lun_stress' ============================================================================================================== INFO: [2023-01-29 11:22:45] Running: 'fmf_distro='[rhel-7, rhel-8, rhel-9, fedora, centos-8, centos-9]' fmf_tags='[targetcli_basic]' fmf_name='targetcli/cli/iscsi_fileio_lun_stress' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/cli/iscsi_local_target.py'... INFO: [2023-01-29 11:22:45] Discovering local target with params target = 127.0.0.1, disc_db = True INFO: Executing Discovery_ST() with these arges: Target: 127.0.0.1 INFO: [2023-01-29 11:22:45] Running: 'iscsiadm -m discoverydb -D -p 127.0.0.1 -o new -t st'... FAIL:(libsan.host.iscsi) Could not discover iSCSI target INFO: [2023-01-29 11:22:46] Should succeed with '0'. Got '1'. FAIL: [2023-01-29 11:22:46] Discovering local target with params target = 127.0.0.1, disc_db = True with params target = 127.0.0.1, disc_db = True failed. INFO: [2023-01-29 11:22:46] Trying to login to portal: 127.0.0.1 with params target = iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996 INFO: Performing iSCSI login INFO: [2023-01-29 11:22:46] Running: 'iscsiadm -m node -l -T iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996'... iscsiadm: No records found FAIL:(libsan.host.iscsi) Could not login to iSCSI target iscsiadm: No records found INFO: [2023-01-29 11:22:46] Should succeed with '0'. Got '1'. FAIL: [2023-01-29 11:22:46] Trying to login to portal: 127.0.0.1 with params target = iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996 with params target = iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996 failed. INFO: [2023-01-29 11:22:46] Getting free scsi disks with params filter_only = {'vendor': 'LIO-ORG'} Traceback (most recent call last): File "/opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/cli/iscsi_local_target.py", line 74, in errs = iscsi_local() ^^^^^^^^^^^^^ File "/opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/cli/iscsi_local_target.py", line 52, in iscsi_local test_dev = '/dev/' + list(ret.keys())[0] ^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'keys' INFO: log_submit() - /tmp/targetcli_cli_iscsi_fileio_lun_stress_20230129112245.log uploaded successfully ============================================================================================================== Running setup 'targetcli/setup/configure_chap' ============================================================================================================== INFO: [2023-01-29 11:22:46] Running: 'fmf_setup='True' fmf_password='.-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba' fmf_userid='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~' fmf_name='targetcli/setup/configure_chap' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/configure_chap.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:22:46] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:44:33 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:22:48] Enabling discovery_auth and setting userid and password with params enable = 1, group = discovery_auth, userid = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~, password = .-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba INFO: [2023-01-29 11:22:48] Running: 'targetcli /iscsi set discovery_auth enable='1' userid='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~' password='.-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba''... Parameter enable is now 'True'. Parameter userid is now 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~'. Parameter password is now '.-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba'. INFO: [2023-01-29 11:22:48] Enabling authentication and generate node acls with params group = attribute, authentication = 1, generate_node_acls = 1 INFO: [2023-01-29 11:22:48] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set attribute authentication='1' generate_node_acls='1''... Parameter authentication is now '1'. Parameter generate_node_acls is now '1'. INFO: [2023-01-29 11:22:48] Setting userid and password in auth group with params group = auth, userid = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~, password = .-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba INFO: [2023-01-29 11:22:48] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set auth userid='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~' password='.-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba''... Parameter userid is now 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~'. Parameter password is now '.-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba'. INFO: [2023-01-29 11:22:48] Writing var CHAP_USERID with params var = {'CHAP_USERID': 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~'} INFO: [2023-01-29 11:22:48] Writing var CHAP_PASSWORD with params var = {'CHAP_PASSWORD': '.-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba'} ============================================================================================================== Running test 'targetcli/cli/iscsi_chap' ============================================================================================================== INFO: [2023-01-29 11:22:48] Running: 'fmf_distro='[rhel-8, rhel-9, fedora, centos-8, centos-9]' fmf_expected_ret='True' fmf_tags='[targetcli_basic, chap]' fmf_target_ip='127.0.0.1' fmf_name='targetcli/cli/iscsi_chap' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/cli/iscsi_chap.py'... INFO: [2023-01-29 11:22:49] Setting CHAP username and password in iscsid config with params target_user = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~, target_pass = .-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba ################################################################################ INFO: Setting node.session.auth.authmethod to CHAP in iscsid.conf ################################################################################ ################################################################################ INFO: Setting node.session.auth.username to abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~ in iscsid.conf ################################################################################ ################################################################################ INFO: Setting node.session.auth.password to .-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba in iscsid.conf ################################################################################ ################################################################################ INFO: Setting discovery.sendtargets.auth.authmethod to CHAP in iscsid.conf ################################################################################ ################################################################################ INFO: Setting discovery.sendtargets.auth.username to abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~ in iscsid.conf ################################################################################ ################################################################################ INFO: Setting discovery.sendtargets.auth.password to .-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba in iscsid.conf ################################################################################ INFO: [2023-01-29 11:22:51] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sun 2023-01-29 11:22:46 EST INFO: [2023-01-29 11:22:51] Running: 'systemctl restart iscsid'... INFO: node.session.auth.authmethod set successfully to CHAP INFO: node.session.auth.username set successfully to abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~ INFO: node.session.auth.password set successfully to .-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba INFO: discovery.sendtargets.auth.authmethod set successfully to CHAP INFO: discovery.sendtargets.auth.username set successfully to abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~ INFO: discovery.sendtargets.auth.password set successfully to .-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba INFO: [2023-01-29 11:22:51] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sun 2023-01-29 11:22:51 EST Waiting 5 seconds before restart. INFO: [2023-01-29 11:22:56] Running: 'systemctl restart iscsid'... INFO: CHAP authentication enabled INFO: [2023-01-29 11:22:56] Discovering local target with params target = 127.0.0.1, disc_db = True INFO: Executing Discovery_ST() with these arges: Target: 127.0.0.1 INFO: [2023-01-29 11:22:56] Running: 'iscsiadm -m discoverydb -D -p 127.0.0.1 -o new -t st'... iscsiadm: Connection to Discovery Address 127.0.0.1 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 127.0.0.1 iscsiadm: Connection to Discovery Address 127.0.0.1 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 127.0.0.1 iscsiadm: Connection to Discovery Address 127.0.0.1 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 127.0.0.1 iscsiadm: Connection to Discovery Address 127.0.0.1 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 127.0.0.1 FAIL:(libsan.host.iscsi) Could not discover iSCSI target INFO: [2023-01-29 11:23:00] Should succeed with '0'. Got '1'. FAIL: [2023-01-29 11:23:00] Discovering local target with params target = 127.0.0.1, disc_db = True with params target = 127.0.0.1, disc_db = True failed. INFO: [2023-01-29 11:23:00] Trying to login to target: 127.0.0.1 with params target = iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996 INFO: Performing iSCSI login INFO: [2023-01-29 11:23:00] Running: 'iscsiadm -m node -l -T iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996'... iscsiadm: No records found FAIL:(libsan.host.iscsi) Could not login to iSCSI target iscsiadm: No records found INFO: [2023-01-29 11:23:00] Should succeed with '0'. Got '1'. FAIL: [2023-01-29 11:23:00] Trying to login to target: 127.0.0.1 with params target = iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996 with params target = iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996 failed. INFO: [2023-01-29 11:23:00] Cleaning up INFO: Deleting target portal: 127.0.0.1 INFO: [2023-01-29 11:23:00] Running: 'iscsiadm -m discoverydb --type sendtargets --portal "127.0.0.1:3260" -o delete'... INFO: [2023-01-29 11:23:00] Cleaning chap username and password iscsid config INFO: [2023-01-29 11:23:02] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sun 2023-01-29 11:22:56 EST INFO: [2023-01-29 11:23:02] Running: 'systemctl restart iscsid'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:23:02] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:44:48 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:23:03] Setting parameter: userid to '' in group auth with params group = auth, userid = INFO: [2023-01-29 11:23:03] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set auth userid='''... Parameter userid is now ''. INFO: [2023-01-29 11:23:03] Setting parameter: password to '' in group auth with params group = auth, password = INFO: [2023-01-29 11:23:03] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set auth password='''... Parameter password is now ''. INFO: [2023-01-29 11:23:03] Setting parameter: userid to '' in group discovery_auth with params group = discovery_auth, userid = INFO: [2023-01-29 11:23:03] Running: 'targetcli /iscsi set discovery_auth userid='''... Parameter userid is now ''. INFO: [2023-01-29 11:23:03] Setting parameter: password to '' in group discovery_auth with params group = discovery_auth, password = INFO: [2023-01-29 11:23:03] Running: 'targetcli /iscsi set discovery_auth password='''... Parameter password is now ''. INFO: log_submit() - /tmp/targetcli_cli_iscsi_chap_20230129112248.log uploaded successfully ============================================================================================================== Running cleanup 'targetcli/setup/disable_chap' ============================================================================================================== INFO: [2023-01-29 11:23:04] Running: 'fmf_setup='True' fmf_name='targetcli/setup/disable_chap' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/disable_chap.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:23:04] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:44:50 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:23:05] Disabling discovery_auth with params enable = 0, group = discovery_auth INFO: [2023-01-29 11:23:05] Running: 'targetcli /iscsi set discovery_auth enable='0''... Parameter enable is now 'False'. INFO: [2023-01-29 11:23:05] Disabling authentication with params group = attribute, authentication = 0 INFO: [2023-01-29 11:23:05] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set attribute authentication='0''... Parameter authentication is now '0'. INFO: [2023-01-29 11:23:05] Removing var: CHAP_MUTUAL_USERID from /tmp with params var = CHAP_MUTUAL_USERID INFO: [2023-01-29 11:23:05] Removing var: CHAP_MUTUAL_PASSWORD from /tmp with params var = CHAP_MUTUAL_PASSWORD INFO: [2023-01-29 11:23:05] Removing var: CHAP_PASSWORD from /tmp with params var = CHAP_PASSWORD INFO: [2023-01-29 11:23:05] Removing var: CHAP_USERID from /tmp with params var = CHAP_USERID ============================================================================================================== Running setup 'targetcli/setup/configure_chap_2ways' ============================================================================================================== INFO: [2023-01-29 11:23:05] Running: 'fmf_setup='True' fmf_mutual_password='.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789' fmf_mutual_userid='0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' fmf_password='.-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba' fmf_userid='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~' fmf_name='targetcli/setup/configure_chap_2ways' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/configure_chap.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:23:06] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:44:52 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:23:07] Enabling discovery_auth and setting userid and password with params enable = 1, group = discovery_auth, userid = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~, password = .-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba, mutual_userid = 0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ, mutual_password = .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 INFO: [2023-01-29 11:23:07] Running: 'targetcli /iscsi set discovery_auth enable='1' userid='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~' password='.-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba' mutual_userid='0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' mutual_password='.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789''... Parameter enable is now 'True'. Parameter userid is now 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~'. Parameter password is now '.-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba'. Parameter mutual_userid is now '0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'. Parameter mutual_password is now '.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'. INFO: [2023-01-29 11:23:07] Enabling authentication and generate node acls with params group = attribute, authentication = 1, generate_node_acls = 1 INFO: [2023-01-29 11:23:07] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set attribute authentication='1' generate_node_acls='1''... Parameter authentication is now '1'. Parameter generate_node_acls is now '1'. INFO: [2023-01-29 11:23:07] Setting userid and password in auth group with params group = auth, userid = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~, password = .-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba, mutual_userid = 0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ, mutual_password = .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 INFO: [2023-01-29 11:23:07] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set auth userid='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~' password='.-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba' mutual_userid='0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' mutual_password='.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789''... Parameter userid is now 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~'. Parameter password is now '.-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba'. Parameter mutual_userid is now '0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'. Parameter mutual_password is now '.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'. INFO: [2023-01-29 11:23:07] Writing var CHAP_MUTUAL_USERID with params var = {'CHAP_MUTUAL_USERID': '0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'} INFO: [2023-01-29 11:23:07] Writing var CHAP_MUTUAL_PASSWORD with params var = {'CHAP_MUTUAL_PASSWORD': '.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'} INFO: [2023-01-29 11:23:07] Writing var CHAP_USERID with params var = {'CHAP_USERID': 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~'} INFO: [2023-01-29 11:23:07] Writing var CHAP_PASSWORD with params var = {'CHAP_PASSWORD': '.-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba'} ============================================================================================================== Running test 'targetcli/cli/iscsi_chap_2way' ============================================================================================================== INFO: [2023-01-29 11:23:07] Running: 'fmf_distro='[rhel-8, rhel-9, fedora, centos-8, centos-9]' fmf_expected_ret='True' fmf_tags='[targetcli_basic, chap]' fmf_target_ip='127.0.0.1' fmf_name='targetcli/cli/iscsi_chap_2way' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/cli/iscsi_chap_2ways.py'... INFO: [2023-01-29 11:23:07] Setting auth parameters in iscsid config with params target_user = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~, target_pass = .-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba, initiator_user = 0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ, initiator_pass = .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 INFO: Setting mutual two-way CHAP authentication ################################################################################ INFO: Setting node.session.auth.authmethod to CHAP in iscsid.conf ################################################################################ ################################################################################ INFO: Setting node.session.auth.username to abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~ in iscsid.conf ################################################################################ ################################################################################ INFO: Setting node.session.auth.password to .-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba in iscsid.conf ################################################################################ ################################################################################ INFO: Setting discovery.sendtargets.auth.authmethod to CHAP in iscsid.conf ################################################################################ ################################################################################ INFO: Setting discovery.sendtargets.auth.username to abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~ in iscsid.conf ################################################################################ ################################################################################ INFO: Setting discovery.sendtargets.auth.password to .-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba in iscsid.conf ################################################################################ ################################################################################ INFO: Setting node.session.auth.username_in to 0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ in iscsid.conf ################################################################################ ################################################################################ INFO: Setting node.session.auth.password_in to .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 in iscsid.conf ################################################################################ ################################################################################ INFO: Setting discovery.sendtargets.auth.username_in to 0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ in iscsid.conf ################################################################################ ################################################################################ INFO: Setting discovery.sendtargets.auth.password_in to .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 in iscsid.conf ################################################################################ INFO: [2023-01-29 11:23:09] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sun 2023-01-29 11:23:02 EST INFO: [2023-01-29 11:23:09] Running: 'systemctl restart iscsid'... INFO: node.session.auth.authmethod set successfully to CHAP INFO: node.session.auth.username set successfully to abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~ INFO: node.session.auth.password set successfully to .-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba INFO: discovery.sendtargets.auth.authmethod set successfully to CHAP INFO: discovery.sendtargets.auth.username set successfully to abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~ INFO: discovery.sendtargets.auth.password set successfully to .-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba INFO: node.session.auth.username_in set successfully to 0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ INFO: node.session.auth.password_in set successfully to .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 INFO: discovery.sendtargets.auth.username_in set successfully to 0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ INFO: discovery.sendtargets.auth.password_in set successfully to .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 INFO: [2023-01-29 11:23:09] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sun 2023-01-29 11:23:09 EST Waiting 5 seconds before restart. INFO: [2023-01-29 11:23:14] Running: 'systemctl restart iscsid'... INFO: CHAP authentication enabled INFO: [2023-01-29 11:23:14] Discovering local target with params target = 127.0.0.1, disc_db = True INFO: Executing Discovery_ST() with these arges: Target: 127.0.0.1 INFO: [2023-01-29 11:23:14] Running: 'iscsiadm -m discoverydb -D -p 127.0.0.1 -o new -t st'... FAIL:(libsan.host.iscsi) Could not discover iSCSI target INFO: [2023-01-29 11:23:14] Should succeed with '0'. Got '1'. FAIL: [2023-01-29 11:23:14] Discovering local target with params target = 127.0.0.1, disc_db = True with params target = 127.0.0.1, disc_db = True failed. INFO: [2023-01-29 11:23:14] Trying to login to target: 127.0.0.1 with params target = iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996 INFO: Performing iSCSI login INFO: [2023-01-29 11:23:14] Running: 'iscsiadm -m node -l -T iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996'... iscsiadm: No records found FAIL:(libsan.host.iscsi) Could not login to iSCSI target iscsiadm: No records found INFO: [2023-01-29 11:23:14] Cleaning up INFO: Deleting target portal: 127.0.0.1 INFO: [2023-01-29 11:23:14] Running: 'iscsiadm -m discoverydb --type sendtargets --portal "127.0.0.1:3260" -o delete'... INFO: [2023-01-29 11:23:14] Disabling CHAP INFO: [2023-01-29 11:23:16] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sun 2023-01-29 11:23:14 EST Waiting 5 seconds before restart. INFO: [2023-01-29 11:23:21] Running: 'systemctl restart iscsid'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:23:21] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:45:07 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:23:22] Setting parameter: userid to '' in group auth with params group = auth, userid = INFO: [2023-01-29 11:23:22] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set auth userid='''... Parameter userid is now ''. INFO: [2023-01-29 11:23:22] Setting parameter: password to '' in group auth with params group = auth, password = INFO: [2023-01-29 11:23:22] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set auth password='''... Parameter password is now ''. INFO: [2023-01-29 11:23:22] Setting parameter: mutual_userid to '' in group auth with params group = auth, mutual_userid = INFO: [2023-01-29 11:23:22] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set auth mutual_userid='''... Parameter mutual_userid is now ''. INFO: [2023-01-29 11:23:22] Setting parameter: mutual_password to '' in group auth with params group = auth, mutual_password = INFO: [2023-01-29 11:23:22] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set auth mutual_password='''... Parameter mutual_password is now ''. INFO: [2023-01-29 11:23:22] Setting parameter: userid to '' in group discovery_auth with params group = discovery_auth, userid = INFO: [2023-01-29 11:23:22] Running: 'targetcli /iscsi set discovery_auth userid='''... Parameter userid is now ''. INFO: [2023-01-29 11:23:23] Setting parameter: password to '' in group discovery_auth with params group = discovery_auth, password = INFO: [2023-01-29 11:23:23] Running: 'targetcli /iscsi set discovery_auth password='''... Parameter password is now ''. INFO: [2023-01-29 11:23:23] Setting parameter: mutual_userid to '' in group discovery_auth with params group = discovery_auth, mutual_userid = INFO: [2023-01-29 11:23:23] Running: 'targetcli /iscsi set discovery_auth mutual_userid='''... Parameter mutual_userid is now ''. INFO: [2023-01-29 11:23:23] Setting parameter: mutual_password to '' in group discovery_auth with params group = discovery_auth, mutual_password = INFO: [2023-01-29 11:23:23] Running: 'targetcli /iscsi set discovery_auth mutual_password='''... Parameter mutual_password is now ''. INFO: log_submit() - /tmp/targetcli_cli_iscsi_chap_2way_20230129112307.log uploaded successfully ============================================================================================================== Running cleanup 'targetcli/setup/disable_chap' ============================================================================================================== INFO: [2023-01-29 11:23:23] Running: 'fmf_setup='True' fmf_name='targetcli/setup/disable_chap' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/disable_chap.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:23:23] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:45:09 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:23:24] Disabling discovery_auth with params enable = 0, group = discovery_auth INFO: [2023-01-29 11:23:24] Running: 'targetcli /iscsi set discovery_auth enable='0''... Parameter enable is now 'False'. INFO: [2023-01-29 11:23:24] Disabling authentication with params group = attribute, authentication = 0 INFO: [2023-01-29 11:23:24] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set attribute authentication='0''... Parameter authentication is now '0'. INFO: [2023-01-29 11:23:25] Removing var: CHAP_MUTUAL_USERID from /tmp with params var = CHAP_MUTUAL_USERID INFO: [2023-01-29 11:23:25] Removing var: CHAP_MUTUAL_PASSWORD from /tmp with params var = CHAP_MUTUAL_PASSWORD INFO: [2023-01-29 11:23:25] Removing var: CHAP_PASSWORD from /tmp with params var = CHAP_PASSWORD INFO: [2023-01-29 11:23:25] Removing var: CHAP_USERID from /tmp with params var = CHAP_USERID ============================================================================================================== Running setup 'targetcli/setup/configure_chap_2ways_long' ============================================================================================================== INFO: [2023-01-29 11:23:25] Running: 'fmf_setup='True' fmf_mutual_password='.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs0123456789' fmf_mutual_userid='0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs' fmf_password='.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs' fmf_userid='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs.-+@_=:/[],~' fmf_name='targetcli/setup/configure_chap_2ways_long' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/configure_chap.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:23:25] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:45:11 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:23:26] Enabling discovery_auth and setting userid and password with params enable = 1, group = discovery_auth, userid = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs.-+@_=:/[],~, password = .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs, mutual_userid = 0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs, mutual_password = .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs0123456789 INFO: [2023-01-29 11:23:26] Running: 'targetcli /iscsi set discovery_auth enable='1' userid='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs.-+@_=:/[],~' password='.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs' mutual_userid='0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs' mutual_password='.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs0123456789''... Parameter enable is now 'True'. Parameter userid is now 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs.-+@_=:/[],~'. Parameter password is now '.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs'. Parameter mutual_userid is now '0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs'. Parameter mutual_password is now '.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs0123456789'. INFO: [2023-01-29 11:23:26] Enabling authentication and generate node acls with params group = attribute, authentication = 1, generate_node_acls = 1 INFO: [2023-01-29 11:23:26] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set attribute authentication='1' generate_node_acls='1''... Parameter authentication is now '1'. Parameter generate_node_acls is now '1'. INFO: [2023-01-29 11:23:26] Setting userid and password in auth group with params group = auth, userid = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs.-+@_=:/[],~, password = .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs, mutual_userid = 0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs, mutual_password = .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs0123456789 INFO: [2023-01-29 11:23:26] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set auth userid='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs.-+@_=:/[],~' password='.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs' mutual_userid='0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs' mutual_password='.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs0123456789''... Parameter userid is now 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs.-+@_=:/[],~'. Parameter password is now '.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs'. Parameter mutual_userid is now '0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs'. Parameter mutual_password is now '.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs0123456789'. INFO: [2023-01-29 11:23:26] Writing var CHAP_MUTUAL_USERID with params var = {'CHAP_MUTUAL_USERID': '0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs'} INFO: [2023-01-29 11:23:26] Writing var CHAP_MUTUAL_PASSWORD with params var = {'CHAP_MUTUAL_PASSWORD': '.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs0123456789'} INFO: [2023-01-29 11:23:26] Writing var CHAP_USERID with params var = {'CHAP_USERID': 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs.-+@_=:/[],~'} INFO: [2023-01-29 11:23:26] Writing var CHAP_PASSWORD with params var = {'CHAP_PASSWORD': '.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs'} ============================================================================================================== Running test 'targetcli/cli/iscsi_chap_2way_long' ============================================================================================================== INFO: [2023-01-29 11:23:26] Running: 'fmf_distro='[rhel-8, rhel-9, fedora, centos-8, centos-9]' fmf_expected_ret='True' fmf_tags='[targetcli_basic, chap]' fmf_target_ip='127.0.0.1' fmf_name='targetcli/cli/iscsi_chap_2way_long' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/cli/iscsi_chap_2ways.py'... INFO: [2023-01-29 11:23:26] Setting auth parameters in iscsid config with params target_user = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs.-+@_=:/[],~, target_pass = .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs, initiator_user = 0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs, initiator_pass = .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs0123456789 INFO: Setting mutual two-way CHAP authentication ################################################################################ INFO: Setting node.session.auth.authmethod to CHAP in iscsid.conf ################################################################################ ################################################################################ INFO: Setting node.session.auth.username to abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs.-+@_=:/[],~ in iscsid.conf ################################################################################ ################################################################################ INFO: Setting node.session.auth.password to .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs in iscsid.conf ################################################################################ ################################################################################ INFO: Setting discovery.sendtargets.auth.authmethod to CHAP in iscsid.conf ################################################################################ ################################################################################ INFO: Setting discovery.sendtargets.auth.username to abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs.-+@_=:/[],~ in iscsid.conf ################################################################################ ################################################################################ INFO: Setting discovery.sendtargets.auth.password to .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs in iscsid.conf ################################################################################ ################################################################################ INFO: Setting node.session.auth.username_in to 0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs in iscsid.conf ################################################################################ ################################################################################ INFO: Setting node.session.auth.password_in to .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs0123456789 in iscsid.conf ################################################################################ ################################################################################ INFO: Setting discovery.sendtargets.auth.username_in to 0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs in iscsid.conf ################################################################################ ################################################################################ INFO: Setting discovery.sendtargets.auth.password_in to .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs0123456789 in iscsid.conf ################################################################################ INFO: [2023-01-29 11:23:28] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sun 2023-01-29 11:23:21 EST INFO: [2023-01-29 11:23:28] Running: 'systemctl restart iscsid'... INFO: node.session.auth.authmethod set successfully to CHAP INFO: node.session.auth.username set successfully to abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs.-+@_=:/[],~ INFO: node.session.auth.password set successfully to .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs INFO: discovery.sendtargets.auth.authmethod set successfully to CHAP INFO: discovery.sendtargets.auth.username set successfully to abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs.-+@_=:/[],~ INFO: discovery.sendtargets.auth.password set successfully to .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs INFO: node.session.auth.username_in set successfully to 0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs INFO: node.session.auth.password_in set successfully to .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs0123456789 INFO: discovery.sendtargets.auth.username_in set successfully to 0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs INFO: discovery.sendtargets.auth.password_in set successfully to .-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs0123456789 INFO: [2023-01-29 11:23:28] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sun 2023-01-29 11:23:28 EST Waiting 5 seconds before restart. INFO: [2023-01-29 11:23:33] Running: 'systemctl restart iscsid'... INFO: CHAP authentication enabled INFO: [2023-01-29 11:23:33] Discovering local target with params target = 127.0.0.1, disc_db = True INFO: Executing Discovery_ST() with these arges: Target: 127.0.0.1 INFO: [2023-01-29 11:23:33] Running: 'iscsiadm -m discoverydb -D -p 127.0.0.1 -o new -t st'... FAIL:(libsan.host.iscsi) Could not discover iSCSI target INFO: [2023-01-29 11:23:33] Should succeed with '0'. Got '1'. FAIL: [2023-01-29 11:23:33] Discovering local target with params target = 127.0.0.1, disc_db = True with params target = 127.0.0.1, disc_db = True failed. INFO: [2023-01-29 11:23:33] Trying to login to target: 127.0.0.1 with params target = iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996 INFO: Performing iSCSI login INFO: [2023-01-29 11:23:33] Running: 'iscsiadm -m node -l -T iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996'... iscsiadm: No records found FAIL:(libsan.host.iscsi) Could not login to iSCSI target iscsiadm: No records found INFO: [2023-01-29 11:23:33] Cleaning up INFO: Deleting target portal: 127.0.0.1 INFO: [2023-01-29 11:23:33] Running: 'iscsiadm -m discoverydb --type sendtargets --portal "127.0.0.1:3260" -o delete'... INFO: [2023-01-29 11:23:33] Disabling CHAP INFO: [2023-01-29 11:23:35] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sun 2023-01-29 11:23:33 EST Waiting 5 seconds before restart. INFO: [2023-01-29 11:23:40] Running: 'systemctl restart iscsid'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:23:40] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:45:27 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:23:41] Setting parameter: userid to '' in group auth with params group = auth, userid = INFO: [2023-01-29 11:23:41] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set auth userid='''... Parameter userid is now ''. INFO: [2023-01-29 11:23:42] Setting parameter: password to '' in group auth with params group = auth, password = INFO: [2023-01-29 11:23:42] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set auth password='''... Parameter password is now ''. INFO: [2023-01-29 11:23:42] Setting parameter: mutual_userid to '' in group auth with params group = auth, mutual_userid = INFO: [2023-01-29 11:23:42] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set auth mutual_userid='''... Parameter mutual_userid is now ''. INFO: [2023-01-29 11:23:42] Setting parameter: mutual_password to '' in group auth with params group = auth, mutual_password = INFO: [2023-01-29 11:23:42] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set auth mutual_password='''... Parameter mutual_password is now ''. INFO: [2023-01-29 11:23:42] Setting parameter: userid to '' in group discovery_auth with params group = discovery_auth, userid = INFO: [2023-01-29 11:23:42] Running: 'targetcli /iscsi set discovery_auth userid='''... Parameter userid is now ''. INFO: [2023-01-29 11:23:42] Setting parameter: password to '' in group discovery_auth with params group = discovery_auth, password = INFO: [2023-01-29 11:23:42] Running: 'targetcli /iscsi set discovery_auth password='''... Parameter password is now ''. INFO: [2023-01-29 11:23:42] Setting parameter: mutual_userid to '' in group discovery_auth with params group = discovery_auth, mutual_userid = INFO: [2023-01-29 11:23:42] Running: 'targetcli /iscsi set discovery_auth mutual_userid='''... Parameter mutual_userid is now ''. INFO: [2023-01-29 11:23:42] Setting parameter: mutual_password to '' in group discovery_auth with params group = discovery_auth, mutual_password = INFO: [2023-01-29 11:23:42] Running: 'targetcli /iscsi set discovery_auth mutual_password='''... Parameter mutual_password is now ''. INFO: log_submit() - /tmp/targetcli_cli_iscsi_chap_2way_long_20230129112326.log uploaded successfully ============================================================================================================== Running cleanup 'targetcli/setup/disable_chap' ============================================================================================================== INFO: [2023-01-29 11:23:43] Running: 'fmf_setup='True' fmf_name='targetcli/setup/disable_chap' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/disable_chap.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:23:43] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:45:29 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:23:44] Disabling discovery_auth with params enable = 0, group = discovery_auth INFO: [2023-01-29 11:23:44] Running: 'targetcli /iscsi set discovery_auth enable='0''... Parameter enable is now 'False'. INFO: [2023-01-29 11:23:45] Disabling authentication with params group = attribute, authentication = 0 INFO: [2023-01-29 11:23:45] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set attribute authentication='0''... Parameter authentication is now '0'. INFO: [2023-01-29 11:23:45] Removing var: CHAP_MUTUAL_USERID from /tmp with params var = CHAP_MUTUAL_USERID INFO: [2023-01-29 11:23:45] Removing var: CHAP_MUTUAL_PASSWORD from /tmp with params var = CHAP_MUTUAL_PASSWORD INFO: [2023-01-29 11:23:45] Removing var: CHAP_PASSWORD from /tmp with params var = CHAP_PASSWORD INFO: [2023-01-29 11:23:45] Removing var: CHAP_USERID from /tmp with params var = CHAP_USERID ============================================================================================================== Running setup 'targetcli/setup/configure_chap_2ways_short' ============================================================================================================== INFO: [2023-01-29 11:23:45] Running: 'fmf_setup='True' fmf_mutual_password='1' fmf_mutual_userid='A' fmf_password='0' fmf_userid='a' fmf_name='targetcli/setup/configure_chap_2ways_short' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/configure_chap.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:23:45] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:45:31 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:23:46] Enabling discovery_auth and setting userid and password with params enable = 1, group = discovery_auth, userid = a, password = 0, mutual_userid = A, mutual_password = 1 INFO: [2023-01-29 11:23:46] Running: 'targetcli /iscsi set discovery_auth enable='1' userid='a' password='0' mutual_userid='A' mutual_password='1''... Parameter enable is now 'True'. Parameter userid is now 'a'. Parameter password is now '0'. Parameter mutual_userid is now 'A'. Parameter mutual_password is now '1'. INFO: [2023-01-29 11:23:47] Enabling authentication and generate node acls with params group = attribute, authentication = 1, generate_node_acls = 1 INFO: [2023-01-29 11:23:47] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set attribute authentication='1' generate_node_acls='1''... Parameter authentication is now '1'. Parameter generate_node_acls is now '1'. INFO: [2023-01-29 11:23:47] Setting userid and password in auth group with params group = auth, userid = a, password = 0, mutual_userid = A, mutual_password = 1 INFO: [2023-01-29 11:23:47] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set auth userid='a' password='0' mutual_userid='A' mutual_password='1''... Parameter userid is now 'a'. Parameter password is now '0'. Parameter mutual_userid is now 'A'. Parameter mutual_password is now '1'. INFO: [2023-01-29 11:23:47] Writing var CHAP_MUTUAL_USERID with params var = {'CHAP_MUTUAL_USERID': 'A'} INFO: [2023-01-29 11:23:47] Writing var CHAP_MUTUAL_PASSWORD with params var = {'CHAP_MUTUAL_PASSWORD': '1'} INFO: [2023-01-29 11:23:47] Writing var CHAP_USERID with params var = {'CHAP_USERID': 'a'} INFO: [2023-01-29 11:23:47] Writing var CHAP_PASSWORD with params var = {'CHAP_PASSWORD': '0'} ============================================================================================================== Running test 'targetcli/cli/iscsi_chap_2way_short' ============================================================================================================== INFO: [2023-01-29 11:23:47] Running: 'fmf_distro='[rhel-8, rhel-9, fedora, centos-8, centos-9]' fmf_expected_ret='True' fmf_tags='[targetcli_basic, chap]' fmf_target_ip='127.0.0.1' fmf_name='targetcli/cli/iscsi_chap_2way_short' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/cli/iscsi_chap_2ways.py'... INFO: [2023-01-29 11:23:47] Setting auth parameters in iscsid config with params target_user = a, target_pass = 0, initiator_user = A, initiator_pass = 1 INFO: Setting mutual two-way CHAP authentication ################################################################################ INFO: Setting node.session.auth.authmethod to CHAP in iscsid.conf ################################################################################ ################################################################################ INFO: Setting node.session.auth.username to a in iscsid.conf ################################################################################ ################################################################################ INFO: Setting node.session.auth.password to 0 in iscsid.conf ################################################################################ ################################################################################ INFO: Setting discovery.sendtargets.auth.authmethod to CHAP in iscsid.conf ################################################################################ ################################################################################ INFO: Setting discovery.sendtargets.auth.username to a in iscsid.conf ################################################################################ ################################################################################ INFO: Setting discovery.sendtargets.auth.password to 0 in iscsid.conf ################################################################################ ################################################################################ INFO: Setting node.session.auth.username_in to A in iscsid.conf ################################################################################ ################################################################################ INFO: Setting node.session.auth.password_in to 1 in iscsid.conf ################################################################################ ################################################################################ INFO: Setting discovery.sendtargets.auth.username_in to A in iscsid.conf ################################################################################ ################################################################################ INFO: Setting discovery.sendtargets.auth.password_in to 1 in iscsid.conf ################################################################################ INFO: [2023-01-29 11:23:49] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sun 2023-01-29 11:23:40 EST INFO: [2023-01-29 11:23:49] Running: 'systemctl restart iscsid'... INFO: node.session.auth.authmethod set successfully to CHAP INFO: node.session.auth.username set successfully to a INFO: node.session.auth.password set successfully to 0 INFO: discovery.sendtargets.auth.authmethod set successfully to CHAP INFO: discovery.sendtargets.auth.username set successfully to a INFO: discovery.sendtargets.auth.password set successfully to 0 INFO: node.session.auth.username_in set successfully to A INFO: node.session.auth.password_in set successfully to 1 INFO: discovery.sendtargets.auth.username_in set successfully to A INFO: discovery.sendtargets.auth.password_in set successfully to 1 INFO: [2023-01-29 11:23:49] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sun 2023-01-29 11:23:49 EST Waiting 5 seconds before restart. INFO: [2023-01-29 11:23:54] Running: 'systemctl restart iscsid'... INFO: CHAP authentication enabled INFO: [2023-01-29 11:23:54] Discovering local target with params target = 127.0.0.1, disc_db = True INFO: Executing Discovery_ST() with these arges: Target: 127.0.0.1 INFO: [2023-01-29 11:23:54] Running: 'iscsiadm -m discoverydb -D -p 127.0.0.1 -o new -t st'... FAIL:(libsan.host.iscsi) Could not discover iSCSI target INFO: [2023-01-29 11:23:54] Should succeed with '0'. Got '1'. FAIL: [2023-01-29 11:23:54] Discovering local target with params target = 127.0.0.1, disc_db = True with params target = 127.0.0.1, disc_db = True failed. INFO: [2023-01-29 11:23:54] Trying to login to target: 127.0.0.1 with params target = iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996 INFO: Performing iSCSI login INFO: [2023-01-29 11:23:54] Running: 'iscsiadm -m node -l -T iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996'... iscsiadm: No records found FAIL:(libsan.host.iscsi) Could not login to iSCSI target iscsiadm: No records found INFO: [2023-01-29 11:23:54] Cleaning up INFO: Deleting target portal: 127.0.0.1 INFO: [2023-01-29 11:23:54] Running: 'iscsiadm -m discoverydb --type sendtargets --portal "127.0.0.1:3260" -o delete'... INFO: [2023-01-29 11:23:54] Disabling CHAP INFO: [2023-01-29 11:23:56] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sun 2023-01-29 11:23:54 EST Waiting 5 seconds before restart. INFO: [2023-01-29 11:24:01] Running: 'systemctl restart iscsid'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:24:01] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:45:48 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:24:03] Setting parameter: userid to '' in group auth with params group = auth, userid = INFO: [2023-01-29 11:24:03] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set auth userid='''... Parameter userid is now ''. INFO: [2023-01-29 11:24:03] Setting parameter: password to '' in group auth with params group = auth, password = INFO: [2023-01-29 11:24:03] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set auth password='''... Parameter password is now ''. INFO: [2023-01-29 11:24:03] Setting parameter: mutual_userid to '' in group auth with params group = auth, mutual_userid = INFO: [2023-01-29 11:24:03] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set auth mutual_userid='''... Parameter mutual_userid is now ''. INFO: [2023-01-29 11:24:03] Setting parameter: mutual_password to '' in group auth with params group = auth, mutual_password = INFO: [2023-01-29 11:24:03] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set auth mutual_password='''... Parameter mutual_password is now ''. INFO: [2023-01-29 11:24:03] Setting parameter: userid to '' in group discovery_auth with params group = discovery_auth, userid = INFO: [2023-01-29 11:24:03] Running: 'targetcli /iscsi set discovery_auth userid='''... Parameter userid is now ''. INFO: [2023-01-29 11:24:03] Setting parameter: password to '' in group discovery_auth with params group = discovery_auth, password = INFO: [2023-01-29 11:24:03] Running: 'targetcli /iscsi set discovery_auth password='''... Parameter password is now ''. INFO: [2023-01-29 11:24:04] Setting parameter: mutual_userid to '' in group discovery_auth with params group = discovery_auth, mutual_userid = INFO: [2023-01-29 11:24:04] Running: 'targetcli /iscsi set discovery_auth mutual_userid='''... Parameter mutual_userid is now ''. INFO: [2023-01-29 11:24:04] Setting parameter: mutual_password to '' in group discovery_auth with params group = discovery_auth, mutual_password = INFO: [2023-01-29 11:24:04] Running: 'targetcli /iscsi set discovery_auth mutual_password='''... Parameter mutual_password is now ''. INFO: log_submit() - /tmp/targetcli_cli_iscsi_chap_2way_short_20230129112347.log uploaded successfully ============================================================================================================== Running cleanup 'targetcli/setup/disable_chap' ============================================================================================================== INFO: [2023-01-29 11:24:04] Running: 'fmf_setup='True' fmf_name='targetcli/setup/disable_chap' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/disable_chap.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:24:04] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:45:51 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:24:06] Disabling discovery_auth with params enable = 0, group = discovery_auth INFO: [2023-01-29 11:24:06] Running: 'targetcli /iscsi set discovery_auth enable='0''... Parameter enable is now 'False'. INFO: [2023-01-29 11:24:06] Disabling authentication with params group = attribute, authentication = 0 INFO: [2023-01-29 11:24:06] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996/tpg1 set attribute authentication='0''... Parameter authentication is now '0'. INFO: [2023-01-29 11:24:06] Removing var: CHAP_MUTUAL_USERID from /tmp with params var = CHAP_MUTUAL_USERID INFO: [2023-01-29 11:24:06] Removing var: CHAP_MUTUAL_PASSWORD from /tmp with params var = CHAP_MUTUAL_PASSWORD INFO: [2023-01-29 11:24:06] Removing var: CHAP_PASSWORD from /tmp with params var = CHAP_PASSWORD INFO: [2023-01-29 11:24:06] Removing var: CHAP_USERID from /tmp with params var = CHAP_USERID ============================================================================================================== Running cleanup 'targetcli/setup/delete_iscsi_target' ============================================================================================================== INFO: [2023-01-29 11:24:06] Running: 'fmf_setup='True' fmf_name='targetcli/setup/delete_iscsi_target' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/delete_iscsi_target.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:24:06] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:45:52 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:24:07] Deleting iscsi target: iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996 with params wwn = iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996 INFO: [2023-01-29 11:24:07] Running: 'targetcli /iscsi delete wwn=iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996 '... Deleted Target iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996. ============================================================================================================== Running cleanup 'targetcli/setup/delete_fileio' ============================================================================================================== INFO: [2023-01-29 11:24:08] Running: 'fmf_setup='True' fmf_backstore='fileio' fmf_name='targetcli/setup/delete_fileio' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/delete_backstore.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:24:08] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:45:54 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:24:09] Deleting bacstore fileio with params name = fileio INFO: [2023-01-29 11:24:09] Running: 'targetcli /backstores/fileio delete name=fileio '... Deleted storage object fileio. INFO: [2023-01-29 11:24:09] Removing file with params cmd = rm -f /var/tmp/fileio_file INFO: [2023-01-29 11:24:09] Running: 'rm -f /var/tmp/fileio_file'... ============================================================================================================== Running cleanup 'targetcli/setup/start_multipath' ============================================================================================================== INFO: [2023-01-29 11:24:09] Running: 'fmf_setup='True' fmf_name='targetcli/setup/start_multipath' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/start_multipath.py'... INFO: device-mapper-multipath is not installed WARN: Skipping setup! Package device-mapper-multipath is not installed! ============================================================================================================== Running setup 'targetcli/setup/create_fileio' ============================================================================================================== INFO: [2023-01-29 11:24:09] Running: 'fmf_setup='True' fmf_backstore_name='fileio' fmf_backstore_type='fileio' fmf_file_or_dev='fileio_file' fmf_size='1M' fmf_name='targetcli/setup/create_fileio' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/create_backstore.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:24:10] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:45:56 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:24:11] Creating backstore object with path /backstores/fileio with params name = fileio, file_or_dev = /var/tmp/fileio_file, size = 1M INFO: [2023-01-29 11:24:11] Running: 'targetcli /backstores/fileio create name=fileio file_or_dev=/var/tmp/fileio_file size=1M '... Created fileio fileio with size 1048576 INFO: [2023-01-29 11:24:11] Writing var TARGETCLI_fileio_NAME with params var = {'FILEIO_NAME': 'fileio'} INFO: [2023-01-29 11:24:11] Writing var FILEIO_FILE with params var = {'FILEIO_FILE': '/var/tmp/fileio_file'} ============================================================================================================== Running test 'targetcli/cli/fileio_attributes' ============================================================================================================== INFO: [2023-01-29 11:24:11] Running: 'fmf_distro='[rhel-7, rhel-8, rhel-9, fedora, centos-8, centos-9]' fmf_tags='[targetcli_basic]' fmf_name='targetcli/cli/fileio_attributes' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/cli/fileio_attributes.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:24:11] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:45:58 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:24:12] Getting parameters from group attribute with params group = attribute INFO: [2023-01-29 11:24:12] Running: 'targetcli /backstores/fileio/fileio get attribute '... ATTRIBUTE CONFIG GROUP ====================== alua_support=1 -------------- block_size=512 -------------- Block size of the underlying device. emulate_3pc=1 ------------- If set to 1, enable Third Party Copy. emulate_caw=1 ------------- If set to 1, enable Compare and Write. emulate_dpo=1 ------------- If set to 1, turn on Disable Page Out. emulate_fua_read=1 ------------------ If set to 1, enable Force Unit Access read. emulate_fua_write=1 ------------------- If set to 1, enable Force Unit Access write. emulate_model_alias=1 --------------------- If set to 1, use the backend device name for the model alias. emulate_pr=1 ------------ If set to 1, enable SCSI Reservations. emulate_rest_reord=0 -------------------- If set to 0, the Queue Algorithm Modifier is Restricted Reordering. emulate_rsoc=1 -------------- emulate_tas=1 ------------- If set to 1, enable Task Aborted Status. emulate_tpu=0 ------------- If set to 1, enable Thin Provisioning Unmap. emulate_tpws=0 -------------- If set to 1, enable Thin Provisioning Write Same. emulate_ua_intlck_ctrl=0 ------------------------ If set to 1, enable Unit Attention Interlock. emulate_write_cache=1 --------------------- If set to 1, turn on Write Cache Enable. enforce_pr_isids=1 ------------------ If set to 1, enforce persistent reservation ISIDs. force_pr_aptpl=0 ---------------- If set to 1, force SPC-3 PR Activate Persistence across Target Power Loss operation. hw_block_size=512 [ro] ---------------------- Hardware block size in bytes. hw_max_sectors=16384 [ro] ------------------------- Maximum number of sectors the hardware can transfer at once. hw_pi_prot_type=0 [ro] ---------------------- If non-zero, DIF protection is enabled on the underlying hardware. hw_queue_depth=128 [ro] ----------------------- Hardware queue depth. is_nonrot=0 ----------- If set to 1, the backstore is a non rotational device. max_unmap_block_desc_count=1 ---------------------------- Maximum number of block descriptors for UNMAP. max_unmap_lba_count=8192 ------------------------ Maximum number of LBA for UNMAP. max_write_same_len=4096 ----------------------- Maximum length for WRITE_SAME. optimal_sectors=16384 --------------------- Optimal request size in sectors. pgr_support=1 ------------- pi_prot_format=0 ---------------- DIF protection format. pi_prot_type=0 -------------- DIF protection type. pi_prot_verify=0 ---------------- queue_depth=128 --------------- Queue depth. unmap_granularity=1 ------------------- UNMAP granularity. unmap_granularity_alignment=0 ----------------------------- UNMAP granularity alignment. unmap_zeroes_data=0 ------------------- If set to 1, zeroes are read back after an UNMAP. INFO: [2023-01-29 11:24:13] Changing parameters in group attribute with params group = attribute, emulate_3pc = 0, emulate_caw = 0, emulate_fua_write = 0, emulate_model_alias = 0, emulate_pr = 0, emulate_rsoc = 0, emulate_tas = 0, emulate_tpu = 1, emulate_ua_intlck_ctrl = 1, emulate_write_cache = 0, enforce_pr_isids = 0, force_pr_aptpl = 1, is_nonrot = 1, max_unmap_block_desc_count = 0, max_unmap_lba_count = 4096, max_write_same_len = 2048, optimal_sectors = 8192, pi_prot_type = 1, queue_depth = 64, unmap_granularity = 0, unmap_granularity_alignment = 1 INFO: [2023-01-29 11:24:13] Running: 'targetcli /backstores/fileio/fileio set attribute emulate_3pc='0' emulate_caw='0' emulate_fua_write='0' emulate_model_alias='0' emulate_pr='0' emulate_rsoc='0' emulate_tas='0' emulate_tpu='1' emulate_ua_intlck_ctrl='1' emulate_write_cache='0' enforce_pr_isids='0' force_pr_aptpl='1' is_nonrot='1' max_unmap_block_desc_count='0' max_unmap_lba_count='4096' max_write_same_len='2048' optimal_sectors='8192' pi_prot_type='1' queue_depth='64' unmap_granularity='0' unmap_granularity_alignment='1''... Parameter emulate_3pc is now '0'. Parameter emulate_caw is now '0'. Parameter emulate_fua_write is now '0'. Parameter emulate_model_alias is now '0'. Parameter emulate_pr is now '0'. Parameter emulate_rsoc is now '0'. Parameter emulate_tas is now '0'. Parameter emulate_tpu is now '1'. Parameter emulate_ua_intlck_ctrl is now '1'. Parameter emulate_write_cache is now '0'. Parameter enforce_pr_isids is now '0'. Parameter force_pr_aptpl is now '1'. Parameter is_nonrot is now '1'. Parameter max_unmap_block_desc_count is now '0'. Parameter max_unmap_lba_count is now '4096'. Parameter max_write_same_len is now '2048'. Parameter optimal_sectors is now '8192'. Parameter pi_prot_type is now '1'. Parameter queue_depth is now '64'. Parameter unmap_granularity is now '0'. Parameter unmap_granularity_alignment is now '1'. INFO: [2023-01-29 11:24:13] Getting parameters from group attribute with params group = attribute, emulate_3pc = 0, emulate_caw = 0, emulate_fua_write = 0, emulate_model_alias = 0, emulate_pr = 0, emulate_rsoc = 0, emulate_tas = 0, emulate_tpu = 1, emulate_ua_intlck_ctrl = 1, emulate_write_cache = 0, enforce_pr_isids = 0, force_pr_aptpl = 1, is_nonrot = 1, max_unmap_block_desc_count = 0, max_unmap_lba_count = 4096, max_write_same_len = 2048, optimal_sectors = 8192, pi_prot_type = 1, queue_depth = 64, unmap_granularity = 0, unmap_granularity_alignment = 1 INFO: [2023-01-29 11:24:13] Running: 'targetcli /backstores/fileio/fileio get attribute emulate_3pc emulate_caw emulate_fua_write emulate_model_alias emulate_pr emulate_rsoc emulate_tas emulate_tpu emulate_ua_intlck_ctrl emulate_write_cache enforce_pr_isids force_pr_aptpl is_nonrot max_unmap_block_desc_count max_unmap_lba_count max_write_same_len optimal_sectors pi_prot_type queue_depth unmap_granularity unmap_granularity_alignment'... emulate_3pc=0 emulate_caw=0 emulate_fua_write=0 emulate_model_alias=0 emulate_pr=0 emulate_rsoc=0 emulate_tas=0 emulate_tpu=1 emulate_ua_intlck_ctrl=1 emulate_write_cache=0 enforce_pr_isids=0 force_pr_aptpl=1 is_nonrot=1 max_unmap_block_desc_count=0 max_unmap_lba_count=4096 max_write_same_len=2048 optimal_sectors=8192 pi_prot_type=1 queue_depth=64 unmap_granularity=0 unmap_granularity_alignment=1 ============================================================================================================== Running cleanup 'targetcli/setup/delete_fileio' ============================================================================================================== INFO: [2023-01-29 11:24:13] Running: 'fmf_setup='True' fmf_backstore='fileio' fmf_name='targetcli/setup/delete_fileio' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/delete_backstore.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:24:13] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:45:59 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:24:14] Deleting bacstore fileio with params name = fileio INFO: [2023-01-29 11:24:14] Running: 'targetcli /backstores/fileio delete name=fileio '... Deleted storage object fileio. INFO: [2023-01-29 11:24:14] Removing file with params cmd = rm -f /var/tmp/fileio_file INFO: [2023-01-29 11:24:14] Running: 'rm -f /var/tmp/fileio_file'... ============================================================================================================== Running setup 'targetcli/setup/create_ramdisk' ============================================================================================================== INFO: [2023-01-29 11:24:14] Running: 'fmf_setup='True' fmf_backstore_name='ramdisk' fmf_backstore_type='ramdisk' fmf_size='1M' fmf_name='targetcli/setup/create_ramdisk' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/create_backstore.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:24:15] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:46:01 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:24:16] Creating backstore object with path /backstores/ramdisk with params name = ramdisk, size = 1M INFO: [2023-01-29 11:24:16] Running: 'targetcli /backstores/ramdisk create name=ramdisk size=1M '... Created ramdisk ramdisk with size 1M. INFO: [2023-01-29 11:24:16] Writing var TARGETCLI_ramdisk_NAME with params var = {'RAMDISK_NAME': 'ramdisk'} ============================================================================================================== Running test 'targetcli/cli/ramdisk_attributes' ============================================================================================================== INFO: [2023-01-29 11:24:16] Running: 'fmf_distro='[rhel-7, rhel-8, rhel-9, fedora, centos-8, centos-9]' fmf_tags='[targetcli_basic]' fmf_name='targetcli/cli/ramdisk_attributes' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/cli/ramdisk_attributes.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:24:16] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:46:03 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:24:17] Getting parameters from group attribute with params group = attribute INFO: [2023-01-29 11:24:17] Running: 'targetcli /backstores/ramdisk/ramdisk get attribute '... ATTRIBUTE CONFIG GROUP ====================== alua_support=1 -------------- block_size=512 -------------- Block size of the underlying device. emulate_3pc=1 ------------- If set to 1, enable Third Party Copy. emulate_caw=1 ------------- If set to 1, enable Compare and Write. emulate_dpo=1 ------------- If set to 1, turn on Disable Page Out. emulate_fua_read=1 ------------------ If set to 1, enable Force Unit Access read. emulate_fua_write=1 ------------------- If set to 1, enable Force Unit Access write. emulate_model_alias=1 --------------------- If set to 1, use the backend device name for the model alias. emulate_pr=1 ------------ If set to 1, enable SCSI Reservations. emulate_rest_reord=0 -------------------- If set to 0, the Queue Algorithm Modifier is Restricted Reordering. emulate_rsoc=1 -------------- emulate_tas=1 ------------- If set to 1, enable Task Aborted Status. emulate_tpu=0 ------------- If set to 1, enable Thin Provisioning Unmap. emulate_tpws=0 -------------- If set to 1, enable Thin Provisioning Write Same. emulate_ua_intlck_ctrl=0 ------------------------ If set to 1, enable Unit Attention Interlock. emulate_write_cache=0 --------------------- If set to 1, turn on Write Cache Enable. enforce_pr_isids=1 ------------------ If set to 1, enforce persistent reservation ISIDs. force_pr_aptpl=0 ---------------- If set to 1, force SPC-3 PR Activate Persistence across Target Power Loss operation. hw_block_size=512 [ro] ---------------------- Hardware block size in bytes. hw_max_sectors=4294967288 [ro] ------------------------------ Maximum number of sectors the hardware can transfer at once. hw_pi_prot_type=0 [ro] ---------------------- If non-zero, DIF protection is enabled on the underlying hardware. hw_queue_depth=128 [ro] ----------------------- Hardware queue depth. is_nonrot=1 ----------- If set to 1, the backstore is a non rotational device. max_unmap_block_desc_count=0 ---------------------------- Maximum number of block descriptors for UNMAP. max_unmap_lba_count=0 --------------------- Maximum number of LBA for UNMAP. max_write_same_len=0 -------------------- Maximum length for WRITE_SAME. optimal_sectors=4294967288 -------------------------- Optimal request size in sectors. pgr_support=1 ------------- pi_prot_format=0 ---------------- DIF protection format. pi_prot_type=0 -------------- DIF protection type. pi_prot_verify=0 ---------------- queue_depth=128 --------------- Queue depth. unmap_granularity=0 ------------------- UNMAP granularity. unmap_granularity_alignment=0 ----------------------------- UNMAP granularity alignment. unmap_zeroes_data=0 ------------------- If set to 1, zeroes are read back after an UNMAP. INFO: [2023-01-29 11:24:17] Changing parameters in group attribute with params group = attribute, emulate_3pc = 0, emulate_caw = 0, emulate_fua_write = 0, emulate_model_alias = 0, emulate_pr = 0, emulate_rsoc = 0, emulate_tas = 0, emulate_ua_intlck_ctrl = 1, emulate_write_cache = 1, enforce_pr_isids = 0, force_pr_aptpl = 1, is_nonrot = 0, max_unmap_block_desc_count = 1, max_unmap_lba_count = 1, max_write_same_len = 1, optimal_sectors = 2147483644, pi_prot_type = 1, pi_prot_verify = 1, queue_depth = 64, unmap_granularity = 1, unmap_granularity_alignment = 1 INFO: [2023-01-29 11:24:18] Running: 'targetcli /backstores/ramdisk/ramdisk set attribute emulate_3pc='0' emulate_caw='0' emulate_fua_write='0' emulate_model_alias='0' emulate_pr='0' emulate_rsoc='0' emulate_tas='0' emulate_ua_intlck_ctrl='1' emulate_write_cache='1' enforce_pr_isids='0' force_pr_aptpl='1' is_nonrot='0' max_unmap_block_desc_count='1' max_unmap_lba_count='1' max_write_same_len='1' optimal_sectors='2147483644' pi_prot_type='1' pi_prot_verify='1' queue_depth='64' unmap_granularity='1' unmap_granularity_alignment='1''... Parameter emulate_3pc is now '0'. Parameter emulate_caw is now '0'. Parameter emulate_fua_write is now '0'. Parameter emulate_model_alias is now '0'. Parameter emulate_pr is now '0'. Parameter emulate_rsoc is now '0'. Parameter emulate_tas is now '0'. Parameter emulate_ua_intlck_ctrl is now '1'. Parameter emulate_write_cache is now '1'. Parameter enforce_pr_isids is now '0'. Parameter force_pr_aptpl is now '1'. Parameter is_nonrot is now '0'. Parameter max_unmap_block_desc_count is now '1'. Parameter max_unmap_lba_count is now '1'. Parameter max_write_same_len is now '1'. Parameter optimal_sectors is now '2147483644'. Parameter pi_prot_type is now '1'. Parameter pi_prot_verify is now '1'. Parameter queue_depth is now '64'. Parameter unmap_granularity is now '1'. Parameter unmap_granularity_alignment is now '1'. INFO: [2023-01-29 11:24:18] Getting parameters from group attribute with params group = attribute, emulate_3pc = 0, emulate_caw = 0, emulate_fua_write = 0, emulate_model_alias = 0, emulate_pr = 0, emulate_rsoc = 0, emulate_tas = 0, emulate_ua_intlck_ctrl = 1, emulate_write_cache = 1, enforce_pr_isids = 0, force_pr_aptpl = 1, is_nonrot = 0, max_unmap_block_desc_count = 1, max_unmap_lba_count = 1, max_write_same_len = 1, optimal_sectors = 2147483644, pi_prot_type = 1, pi_prot_verify = 1, queue_depth = 64, unmap_granularity = 1, unmap_granularity_alignment = 1 INFO: [2023-01-29 11:24:18] Running: 'targetcli /backstores/ramdisk/ramdisk get attribute emulate_3pc emulate_caw emulate_fua_write emulate_model_alias emulate_pr emulate_rsoc emulate_tas emulate_ua_intlck_ctrl emulate_write_cache enforce_pr_isids force_pr_aptpl is_nonrot max_unmap_block_desc_count max_unmap_lba_count max_write_same_len optimal_sectors pi_prot_type pi_prot_verify queue_depth unmap_granularity unmap_granularity_alignment'... emulate_3pc=0 emulate_caw=0 emulate_fua_write=0 emulate_model_alias=0 emulate_pr=0 emulate_rsoc=0 emulate_tas=0 emulate_ua_intlck_ctrl=1 emulate_write_cache=1 enforce_pr_isids=0 force_pr_aptpl=1 is_nonrot=0 max_unmap_block_desc_count=1 max_unmap_lba_count=1 max_write_same_len=1 optimal_sectors=2147483644 pi_prot_type=1 pi_prot_verify=1 queue_depth=64 unmap_granularity=1 unmap_granularity_alignment=1 ============================================================================================================== Running cleanup 'targetcli/setup/delete_ramdisk' ============================================================================================================== INFO: [2023-01-29 11:24:18] Running: 'fmf_setup='True' fmf_backstore='ramdisk' fmf_name='targetcli/setup/delete_ramdisk' /opt/stqe-venv/bin/python3 /opt/stqe-venv/lib64/python3.11/site-packages/stqe/tests/targetcli/setup/delete_backstore.py'... INFO: dnf is installed (dnf-4.14.0-1.eln121.noarch) INFO: [2023-01-29 11:24:18] Running: 'dnf install -y targetcli'... Last metadata expiration check: 1:46:04 ago on Sun 29 Jan 2023 09:38:14 AM EST. Package targetcli-2.1.54-6.eln120.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-29 11:24:19] Deleting bacstore ramdisk with params name = ramdisk INFO: [2023-01-29 11:24:19] Running: 'targetcli /backstores/ramdisk delete name=ramdisk '... Deleted storage object ramdisk. ============================================================================================================== Running test 'remove-tmp/TARGETCLI_LOOPDEV_NAME' ============================================================================================================== INFO: [2023-01-29 11:24:19] Running: 'rm -f /tmp/TARGETCLI_LOOPDEV_NAME'... ============================================================================================================== Running test 'remove-tmp/BLOCK_NAME' ============================================================================================================== INFO: [2023-01-29 11:24:19] Running: 'rm -f /tmp/BLOCK_NAME'... ============================================================================================================== Running test 'remove-tmp/FILEIO_NAME' ============================================================================================================== INFO: [2023-01-29 11:24:19] Running: 'rm -f /tmp/FILEIO_NAME'... ============================================================================================================== Running test 'remove-tmp/FILEIO_FILE' ============================================================================================================== INFO: [2023-01-29 11:24:19] Running: 'rm -f /tmp/FILEIO_FILE'... ============================================================================================================== Running test 'remove-tmp/SCSI_ID' ============================================================================================================== INFO: [2023-01-29 11:24:19] Running: 'rm -f /tmp/SCSI_ID'... ============================================================================================================== Running test 'remove-tmp/LOOPBACK_WWN' ============================================================================================================== INFO: [2023-01-29 11:24:19] Running: 'rm -f /tmp/LOOPBACK_WWN'... ============================================================================================================== Running test 'remove-tmp/LOOPBACK_LUN' ============================================================================================================== INFO: [2023-01-29 11:24:19] Running: 'rm -f /tmp/LOOPBACK_LUN'... ============================================================================================================== Running test 'remove-tmp/TPG' ============================================================================================================== INFO: [2023-01-29 11:24:19] Running: 'rm -f /tmp/TPG'... ============================================================================================================== Running test 'remove-tmp/TARGET_IQN' ============================================================================================================== INFO: [2023-01-29 11:24:19] Running: 'rm -f /tmp/TARGET_IQN'... ============================================================================================================== Running test 'remove-tmp/CHAP_USERID' ============================================================================================================== INFO: [2023-01-29 11:24:19] Running: 'rm -f /tmp/CHAP_USERID'... ============================================================================================================== Running test 'remove-tmp/CHAP_PASSWORD' ============================================================================================================== INFO: [2023-01-29 11:24:19] Running: 'rm -f /tmp/CHAP_PASSWORD'... ============================================================================================================== Running test 'remove-tmp/CHAP_MUTUAL_USERID' ============================================================================================================== INFO: [2023-01-29 11:24:19] Running: 'rm -f /tmp/CHAP_MUTUAL_USERID'... ============================================================================================================== Running test 'remove-tmp/CHAP_MUTUAL_PASSWORD' ============================================================================================================== INFO: [2023-01-29 11:24:19] Running: 'rm -f /tmp/CHAP_MUTUAL_PASSWORD'... ============================================================================================================== Running test 'remove-tmp/RAMDISK_NAME' ============================================================================================================== INFO: [2023-01-29 11:24:20] Running: 'rm -f /tmp/RAMDISK_NAME'... ============================================================================================================== Running test 'remove-tmp/FILE_NAMES' ============================================================================================================== INFO: [2023-01-29 11:24:20] Running: 'rm -f /tmp/FILE_NAMES'... ============================================================================================================== Generating test result report ============================================================================================================== Install name: install_targetcli.py Status: PASS Elapsed Time: 04s Install name: install_iscsi-initiator-utils.py Status: PASS Elapsed Time: 03s Test name: targetcli/cli/saveconfig_backup Status: PASS Elapsed Time: 04s Setup name: targetcli/setup/create_loopdev Status: PASS Elapsed Time: 00s Setup name: targetcli/setup/create_block Status: PASS Elapsed Time: 02s Test name: targetcli/cli/block_attributes Status: PASS Elapsed Time: 02s Cleanup name: targetcli/setup/delete_block Status: PASS Elapsed Time: 02s Cleanup name: targetcli/setup/loopdev_delete Status: PASS Elapsed Time: 00s Setup name: targetcli/setup/stop_multipath Status: PASS Elapsed Time: 00s Setup name: targetcli/setup/create_fileio Status: PASS Elapsed Time: 02s Setup name: targetcli/setup/create_loopback Status: PASS Elapsed Time: 17s Test name: targetcli/cli/create_pscsi Status: PASS Elapsed Time: 02s Cleanup name: targetcli/setup/delete_loopback Status: PASS Elapsed Time: 02s Cleanup name: targetcli/setup/delete_fileio Status: PASS Elapsed Time: 02s Setup name: targetcli/setup/create_fileio_1g Status: PASS Elapsed Time: 02s Setup name: targetcli/setup/create_fileio_target Status: PASS Elapsed Time: 02s Test name: targetcli/cli/iscsi_fileio_lun_stress Status: FAIL Elapsed Time: 01s Setup name: targetcli/setup/configure_chap Status: PASS Elapsed Time: 02s Test name: targetcli/cli/iscsi_chap Status: FAIL Elapsed Time: 16s Discovering local target with params target = 127.0.0.1, disc_db = True with params target = 127.0.0.1, disc_db = True failed. Trying to login to target: 127.0.0.1 with params target = iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996 with params target = iqn.2003-01.org.linux-iscsi.ibm-z-529.s390x:sn.c79257a69996 failed. Cleanup name: targetcli/setup/disable_chap Status: PASS Elapsed Time: 01s Setup name: targetcli/setup/configure_chap_2ways Status: PASS Elapsed Time: 02s Test name: targetcli/cli/iscsi_chap_2way Status: FAIL Elapsed Time: 16s Discovering local target with params target = 127.0.0.1, disc_db = True with params target = 127.0.0.1, disc_db = True failed. Cleanup name: targetcli/setup/disable_chap Status: PASS Elapsed Time: 02s Setup name: targetcli/setup/configure_chap_2ways_long Status: PASS Elapsed Time: 01s Test name: targetcli/cli/iscsi_chap_2way_long Status: FAIL Elapsed Time: 17s Discovering local target with params target = 127.0.0.1, disc_db = True with params target = 127.0.0.1, disc_db = True failed. Cleanup name: targetcli/setup/disable_chap Status: PASS Elapsed Time: 02s Setup name: targetcli/setup/configure_chap_2ways_short Status: PASS Elapsed Time: 02s Test name: targetcli/cli/iscsi_chap_2way_short Status: FAIL Elapsed Time: 17s Discovering local target with params target = 127.0.0.1, disc_db = True with params target = 127.0.0.1, disc_db = True failed. Cleanup name: targetcli/setup/disable_chap Status: PASS Elapsed Time: 02s Cleanup name: targetcli/setup/delete_iscsi_target Status: PASS Elapsed Time: 02s Cleanup name: targetcli/setup/delete_fileio Status: PASS Elapsed Time: 01s Cleanup name: targetcli/setup/start_multipath Status: PASS Elapsed Time: 00s Setup name: targetcli/setup/create_fileio Status: PASS Elapsed Time: 02s Test name: targetcli/cli/fileio_attributes Status: PASS Elapsed Time: 02s Cleanup name: targetcli/setup/delete_fileio Status: PASS Elapsed Time: 01s Setup name: targetcli/setup/create_ramdisk Status: PASS Elapsed Time: 02s Test name: targetcli/cli/ramdisk_attributes Status: PASS Elapsed Time: 02s Cleanup name: targetcli/setup/delete_ramdisk Status: PASS Elapsed Time: 01s Cleanup name: remove-tmp/TARGETCLI_LOOPDEV_NAME Status: PASS Elapsed Time: 00s Cleanup name: remove-tmp/BLOCK_NAME Status: PASS Elapsed Time: 00s Cleanup name: remove-tmp/FILEIO_NAME Status: PASS Elapsed Time: 00s Cleanup name: remove-tmp/FILEIO_FILE Status: PASS Elapsed Time: 00s Cleanup name: remove-tmp/SCSI_ID Status: PASS Elapsed Time: 00s Cleanup name: remove-tmp/LOOPBACK_WWN Status: PASS Elapsed Time: 00s Cleanup name: remove-tmp/LOOPBACK_LUN Status: PASS Elapsed Time: 00s Cleanup name: remove-tmp/TPG Status: PASS Elapsed Time: 00s Cleanup name: remove-tmp/TARGET_IQN Status: PASS Elapsed Time: 00s Cleanup name: remove-tmp/CHAP_USERID Status: PASS Elapsed Time: 00s Cleanup name: remove-tmp/CHAP_PASSWORD Status: PASS Elapsed Time: 00s Cleanup name: remove-tmp/CHAP_MUTUAL_USERID Status: PASS Elapsed Time: 00s Cleanup name: remove-tmp/CHAP_MUTUAL_PASSWORD Status: PASS Elapsed Time: 00s Cleanup name: remove-tmp/RAMDISK_NAME Status: PASS Elapsed Time: 01s Cleanup name: remove-tmp/FILE_NAMES Status: PASS Elapsed Time: 00s ============================================================================================================== Total - PASS: 48 FAIL: 5 SKIP: 0 WARN: 0 Total Time: 02m21s ==============================================================================================================