use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh [ 03:51:48 ] Running: 'dnf install -y --skip-broken python3-pip python3-wheel python3-augeas augeas-libs python3-netifaces' Last metadata expiration check: 2:06:07 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package python3-pip-22.3.1-2.fc38.noarch is already installed. Package python3-wheel-1:0.38.4-2.fc38.noarch is already installed. Package python3-augeas-1.1.0-7.fc38.noarch is already installed. Package augeas-libs-1.13.0-4.fc38.x86_64 is already installed. Package python3-netifaces-0.11.0-5.fc38.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! [ 03:51:57 ] 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 [ 03:52:13 ] Running: 'python3 -m pip install wheel' Requirement already satisfied: wheel in /opt/stqe-venv/lib64/python3.11/site-packages (0.38.4) [ 03:52:17 ] 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) [ 03:52:23 ] Running: '/opt/stqe-venv/bin/stqe-test run --fmf -f tags:targetcli_basic' INFO: [2023-01-28 03:52:27] Running: 'chmod +x /opt/stqe-venv/lib64/python3.11/site-packages/stqe//tests/install_targetcli.py'... INFO: [2023-01-28 03:52:27] 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-28 03:52:27] 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-2.fc38.noarch) INFO: [2023-01-28 03:52:29] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:06:47 ago on Sat 28 Jan 2023 01:45:48 AM EST. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: targetcli noarch 2.1.54-7.fc38 beaker-Fedora-Everything 93 k Installing dependencies: python3-configshell noarch 1:1.1.29-10.fc38 beaker-Fedora-Everything 91 k python3-kmod x86_64 0.9-36.fc38 beaker-Fedora-Everything 81 k python3-pyudev noarch 0.24.0-2.fc38 beaker-Fedora 97 k python3-rtslib noarch 2.1.75-4.fc38 beaker-Fedora-Everything 128 k python3-urwid x86_64 2.1.2-8.fc38 beaker-Fedora-Everything 940 k target-restore noarch 2.1.75-4.fc38 beaker-Fedora-Everything 14 k Transaction Summary ================================================================================ Install 7 Packages Total download size: 1.4 M Installed size: 5.9 M Downloading Packages: (1/7): python3-kmod-0.9-36.fc38.x86_64.rpm 1.1 MB/s | 81 kB 00:00 (2/7): python3-pyudev-0.24.0-2.fc38.noarch.rpm 872 kB/s | 97 kB 00:00 (3/7): python3-configshell-1.1.29-10.fc38.noarc 741 kB/s | 91 kB 00:00 (4/7): python3-rtslib-2.1.75-4.fc38.noarch.rpm 2.7 MB/s | 128 kB 00:00 (5/7): target-restore-2.1.75-4.fc38.noarch.rpm 590 kB/s | 14 kB 00:00 (6/7): targetcli-2.1.54-7.fc38.noarch.rpm 3.3 MB/s | 93 kB 00:00 (7/7): python3-urwid-2.1.2-8.fc38.x86_64.rpm 9.7 MB/s | 940 kB 00:00 -------------------------------------------------------------------------------- Total 5.4 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-8.fc38.x86_64 1/7 Installing : python3-configshell-1:1.1.29-10.fc38.noarch 2/7 Installing : python3-kmod-0.9-36.fc38.x86_64 3/7 Installing : python3-pyudev-0.24.0-2.fc38.noarch 4/7 Installing : python3-rtslib-2.1.75-4.fc38.noarch 5/7 Installing : target-restore-2.1.75-4.fc38.noarch 6/7 Running scriptlet: target-restore-2.1.75-4.fc38.noarch 6/7 Installing : targetcli-2.1.54-7.fc38.noarch 7/7 Running scriptlet: targetcli-2.1.54-7.fc38.noarch 7/7 Verifying : python3-pyudev-0.24.0-2.fc38.noarch 1/7 Verifying : python3-configshell-1:1.1.29-10.fc38.noarch 2/7 Verifying : python3-kmod-0.9-36.fc38.x86_64 3/7 Verifying : python3-rtslib-2.1.75-4.fc38.noarch 4/7 Verifying : python3-urwid-2.1.2-8.fc38.x86_64 5/7 Verifying : target-restore-2.1.75-4.fc38.noarch 6/7 Verifying : targetcli-2.1.54-7.fc38.noarch 7/7 Installed: python3-configshell-1:1.1.29-10.fc38.noarch python3-kmod-0.9-36.fc38.x86_64 python3-pyudev-0.24.0-2.fc38.noarch python3-rtslib-2.1.75-4.fc38.noarch python3-urwid-2.1.2-8.fc38.x86_64 target-restore-2.1.75-4.fc38.noarch targetcli-2.1.54-7.fc38.noarch Complete! INFO: targetcli was successfully installed ============================================================================================================== Running install 'install_iscsi-initiator-utils.py' ============================================================================================================== INFO: [2023-01-28 03:53:00] 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-2.fc38.noarch) INFO: [2023-01-28 03:53:01] Running: 'dnf install -y iscsi-initiator-utils'... Last metadata expiration check: 2:07:20 ago on Sat 28 Jan 2023 01:45:48 AM EST. Dependencies resolved. ======================================================================================== Package Arch Version Repository Size ======================================================================================== Installing: iscsi-initiator-utils x86_64 6.2.1.4-7.git2a8f9d8.fc38 beaker-Fedora 381 k Installing dependencies: iscsi-initiator-utils-iscsiuio x86_64 6.2.1.4-7.git2a8f9d8.fc38 beaker-Fedora 93 k isns-utils-libs x86_64 0.101-6.fc38 beaker-Fedora 105 k Transaction Summary ======================================================================================== Install 3 Packages Total download size: 579 k Installed size: 2.1 M Downloading Packages: (1/3): iscsi-initiator-utils-iscsiuio-6.2.1.4-7 1.0 MB/s | 93 kB 00:00 (2/3): isns-utils-libs-0.101-6.fc38.x86_64.rpm 1.4 MB/s | 105 kB 00:00 (3/3): iscsi-initiator-utils-6.2.1.4-7.git2a8f9 2.8 MB/s | 381 kB 00:00 -------------------------------------------------------------------------------- Total 3.0 MB/s | 579 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-6.fc38.x86_64 1/3 Installing : iscsi-initiator-utils-iscsiuio-6.2.1.4-7.git2a8f9d8. 2/3 Running scriptlet: iscsi-initiator-utils-iscsiuio-6.2.1.4-7.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-7.git2a8f9d8.fc38.x86_ 3/3 Running scriptlet: iscsi-initiator-utils-6.2.1.4-7.git2a8f9d8.fc38.x86_ 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-7.git2a8f9d8.fc38.x86_ 1/3 Verifying : iscsi-initiator-utils-iscsiuio-6.2.1.4-7.git2a8f9d8. 2/3 Verifying : isns-utils-libs-0.101-6.fc38.x86_64 3/3 Installed: iscsi-initiator-utils-6.2.1.4-7.git2a8f9d8.fc38.x86_64 iscsi-initiator-utils-iscsiuio-6.2.1.4-7.git2a8f9d8.fc38.x86_64 isns-utils-libs-0.101-6.fc38.x86_64 Complete! INFO: iscsi-initiator-utils was successfully installed ============================================================================================================== Running test 'targetcli/cli/saveconfig_backup' ============================================================================================================== INFO: [2023-01-28 03:53:29] 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-2.fc38.noarch) INFO: [2023-01-28 03:53:31] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:07:49 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:53:39] Creating saveconfig.json number 0 INFO: [2023-01-28 03:53:39] Running: 'targetcli saveconfig'... Configuration saved to /etc/target/saveconfig.json INFO: [2023-01-28 03:53:42] Creating saveconfig.json number 1 INFO: [2023-01-28 03:53:42] Running: 'targetcli saveconfig'... Last 10 configs saved in /etc/target/backup/. Configuration saved to /etc/target/saveconfig.json INFO: [2023-01-28 03:53:43] Creating saveconfig.json number 2 INFO: [2023-01-28 03:53:43] Running: 'targetcli saveconfig'... Configuration saved to /etc/target/saveconfig.json INFO: [2023-01-28 03:53:45] Creating saveconfig.json number 3 INFO: [2023-01-28 03:53:45] Running: 'targetcli saveconfig'... Configuration saved to /etc/target/saveconfig.json INFO: [2023-01-28 03:53:46] Creating saveconfig.json number 4 INFO: [2023-01-28 03:53:46] Running: 'targetcli saveconfig'... Configuration saved to /etc/target/saveconfig.json INFO: dnf is installed (dnf-4.14.0-2.fc38.noarch) INFO: [2023-01-28 03:53:48] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:08:06 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:53:56] Getting parameter max_backup_files from group global with params group = global, max_backup_files = max_backup_files INFO: [2023-01-28 03:53:56] Running: 'targetcli get global max_backup_files'... max_backup_files=10 INFO: [2023-01-28 03:53:57] Removing backups from /etc/target/backup with params cmd = rm -rf /etc/target/backup/* INFO: [2023-01-28 03:53:57] Running: 'rm -rf /etc/target/backup/*'... INFO: [2023-01-28 03:53:57] Removing saveconfig.json with params cmd = rm -rf /etc/target/saveconfig.json INFO: [2023-01-28 03:53:57] Running: 'rm -rf /etc/target/saveconfig.json'... ============================================================================================================== Running setup 'targetcli/setup/create_loopdev' ============================================================================================================== INFO: [2023-01-28 03:53:58] 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-28 03:53:59] 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-28 03:53:59] Running: 'fallocate -l 1M /var/tmp/loop0.img'... INFO: [2023-01-28 03:54:00] Running: 'losetup /dev/loop0 /var/tmp/loop0.img'... INFO: [2023-01-28 03:54:00] Writing var TARGETCLI_LOOPDEV_NAME with params var = {'TARGETCLI_LOOPDEV_NAME': '/dev/loop0'} ============================================================================================================== Running setup 'targetcli/setup/create_block' ============================================================================================================== INFO: [2023-01-28 03:54:00] 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-2.fc38.noarch) INFO: [2023-01-28 03:54:02] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:08:21 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:54:11] Creating backstore object with path /backstores/block with params name = block, dev = /dev/loop0 INFO: [2023-01-28 03:54:11] Running: 'targetcli /backstores/block create name=block dev=/dev/loop0 '... Created block storage object block using /dev/loop0. INFO: [2023-01-28 03:54:13] Writing var TARGETCLI_block_NAME with params var = {'BLOCK_NAME': 'block'} ============================================================================================================== Running test 'targetcli/cli/block_attributes' ============================================================================================================== INFO: [2023-01-28 03:54:13] 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-2.fc38.noarch) INFO: [2023-01-28 03:54:14] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:08:33 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:54:23] Getting parameters from group attribute with params group = attribute INFO: [2023-01-28 03:54:23] 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=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=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-28 03:54:24] 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 = 1, 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-28 03:54:24] 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='1' 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 '1'. 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-28 03:54:25] 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 = 1, 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-28 03:54:26] 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=1 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-28 03:54:27] 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-2.fc38.noarch) INFO: [2023-01-28 03:54:29] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:08:47 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:54:37] Deleting bacstore block with params name = block INFO: [2023-01-28 03:54:37] Running: 'targetcli /backstores/block delete name=block '... Deleted storage object block. ============================================================================================================== Running cleanup 'targetcli/setup/loopdev_delete' ============================================================================================================== INFO: [2023-01-28 03:54:39] 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-28 03:54:40] Deleting loopdev /dev/loop0 with params name = /dev/loop0 INFO: Deleting loop device /dev/loop0 INFO: [2023-01-28 03:54:41] Running: 'losetup -d /dev/loop0'... INFO: [2023-01-28 03:54:41] Running: 'rm -f /var/tmp/loop0.img'... ============================================================================================================== Running setup 'targetcli/setup/stop_multipath' ============================================================================================================== INFO: [2023-01-28 03:54:41] 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 installed (device-mapper-multipath-0.9.4-1.fc38.x86_64) INFO: [2023-01-28 03:54:43] Running: 'systemctl status multipathd.socket'... multipathd.socket - multipathd control socket Loaded: loaded (/usr/lib/systemd/system/multipathd.socket; disabled; preset: disabled) Active: inactive (dead) Triggers: multipathd.service Listen: @/org/kernel/linux/storage/multipathd (Stream) INFO: Service multipathd.socket is not running. INFO: [2023-01-28 03:54:44] Running: 'systemctl status multipathd'... multipathd.service - Device-Mapper Multipath Device Controller Loaded: loaded (/usr/lib/systemd/system/multipathd.service; disabled; preset: enabled) Active: inactive (dead) TriggeredBy: multipathd.socket Jan 28 03:39:24 kvm-08-guest24.hv2.lab.eng.bos.redhat.com systemd[1]: Starting multipathd.service - Device-Mapper Multipath Device Controller... Jan 28 03:39:25 kvm-08-guest24.hv2.lab.eng.bos.redhat.com multipathd[217236]: multipathd v0.9.4: start up Jan 28 03:39:25 kvm-08-guest24.hv2.lab.eng.bos.redhat.com multipathd[217236]: reconfigure: setting up paths and maps Jan 28 03:39:25 kvm-08-guest24.hv2.lab.eng.bos.redhat.com systemd[1]: Started multipathd.service - Device-Mapper Multipath Device Controller. Jan 28 03:39:36 kvm-08-guest24.hv2.lab.eng.bos.redhat.com multipathd[217236]: remove maps (operator) Jan 28 03:39:38 kvm-08-guest24.hv2.lab.eng.bos.redhat.com multipathd[217236]: multipathd: shut down Jan 28 03:39:38 kvm-08-guest24.hv2.lab.eng.bos.redhat.com systemd[1]: Stopping multipathd.service - Device-Mapper Multipath Device Controller... Jan 28 03:39:39 kvm-08-guest24.hv2.lab.eng.bos.redhat.com systemd[1]: multipathd.service: Deactivated successfully. Jan 28 03:39:39 kvm-08-guest24.hv2.lab.eng.bos.redhat.com systemd[1]: Stopped multipathd.service - Device-Mapper Multipath Device Controller. Jan 28 03:39:39 kvm-08-guest24.hv2.lab.eng.bos.redhat.com systemd[1]: multipathd.service: Consumed 1.145s CPU time. INFO: Service multipathd is not running. WARN: Skipping setup! Services multipathd.service and multipathd.socket are dead! INFO: [2023-01-28 03:54:44] Writing var START_MULTIPATH with params var = {'START_MULTIPATH': 1} ============================================================================================================== Running setup 'targetcli/setup/create_fileio' ============================================================================================================== INFO: [2023-01-28 03:54:45] 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-2.fc38.noarch) INFO: [2023-01-28 03:54:46] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:09:05 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:54:55] Creating backstore object with path /backstores/fileio with params name = fileio, file_or_dev = /var/tmp/fileio_file, size = 1M INFO: [2023-01-28 03:54:55] 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-28 03:54:56] Writing var TARGETCLI_fileio_NAME with params var = {'FILEIO_NAME': 'fileio'} INFO: [2023-01-28 03:54:56] Writing var FILEIO_FILE with params var = {'FILEIO_FILE': '/var/tmp/fileio_file'} ============================================================================================================== Running setup 'targetcli/setup/create_loopback' ============================================================================================================== INFO: [2023-01-28 03:54:56] 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-2.fc38.noarch) INFO: [2023-01-28 03:54:58] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:09:16 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:55:06] Creating loopback INFO: [2023-01-28 03:55:06] Running: 'targetcli /loopback create '... Created target naa.5001405c6ad41f89. INFO: [2023-01-28 03:55:08] Creating lun with name: 255 with params storage_object = /backstores/fileio/fileio, lun = 255 INFO: [2023-01-28 03:55:08] Running: 'targetcli /loopback/naa.5001405c6ad41f89/luns create storage_object=/backstores/fileio/fileio lun=255 '... Created LUN 255. INFO: [2023-01-28 03:55:09] Waiting udev to finish storage scan INFO: Waiting udev to finish storage scan INFO: [2023-01-28 03:55:10] Running: 'udevadm settle'... INFO: [2023-01-28 03:55:26] Writing var SCSI_ID with params var = {'SCSI_ID': '2:0:1:255'} INFO: [2023-01-28 03:55:26] Writing var LOOPBACK_WWN with params var = {'LOOPBACK_WWN': 'naa.5001405c6ad41f89'} INFO: [2023-01-28 03:55:26] Writing var LOOPBACK_LUN with params var = {'LOOPBACK_LUN': '255'} ============================================================================================================== Running test 'targetcli/cli/create_pscsi' ============================================================================================================== INFO: [2023-01-28 03:55:26] 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-2.fc38.noarch) INFO: [2023-01-28 03:55:28] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:09:46 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:55:36] Creating backstore pscsi object with name: pscsi_test with params name = pscsi_test, dev = 2:0:1:255 INFO: [2023-01-28 03:55:36] Running: 'targetcli /backstores/pscsi create name=pscsi_test dev=2:0:1:255 '... Created pscsi storage object pscsi_test using 2:0:1:255 INFO: [2023-01-28 03:55:38] Deleting pscsi object pscsi_test with params name = pscsi_test INFO: [2023-01-28 03:55:38] Running: 'targetcli /backstores/pscsi delete name=pscsi_test '... Deleted storage object pscsi_test. ============================================================================================================== Running cleanup 'targetcli/setup/delete_loopback' ============================================================================================================== INFO: [2023-01-28 03:55:39] 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-2.fc38.noarch) INFO: [2023-01-28 03:55:41] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:10:00 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:55:49] Deleting lun: lun255 with params lun = lun255 INFO: [2023-01-28 03:55:50] Running: 'targetcli /loopback/naa.5001405c6ad41f89/luns delete lun=lun255 '... Deleted LUN 255. INFO: [2023-01-28 03:55:51] Deleting loopback: naa.5001405c6ad41f89 with params wwn = naa.5001405c6ad41f89 INFO: [2023-01-28 03:55:51] Running: 'targetcli /loopback delete wwn=naa.5001405c6ad41f89 '... Deleted Target naa.5001405c6ad41f89. ============================================================================================================== Running cleanup 'targetcli/setup/delete_fileio' ============================================================================================================== INFO: [2023-01-28 03:55:52] 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-2.fc38.noarch) INFO: [2023-01-28 03:55:54] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:10:13 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:56:03] Deleting bacstore fileio with params name = fileio INFO: [2023-01-28 03:56:03] Running: 'targetcli /backstores/fileio delete name=fileio '... Deleted storage object fileio. INFO: [2023-01-28 03:56:04] Removing file with params cmd = rm -f /var/tmp/fileio_file INFO: [2023-01-28 03:56:04] Running: 'rm -f /var/tmp/fileio_file'... ============================================================================================================== Running setup 'targetcli/setup/create_fileio_1g' ============================================================================================================== INFO: [2023-01-28 03:56:04] 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-2.fc38.noarch) INFO: [2023-01-28 03:56:06] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:10:25 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:56:15] Creating backstore object with path /backstores/fileio with params name = fileio, file_or_dev = /var/tmp/fileio_file, size = 1G INFO: [2023-01-28 03:56:15] 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-28 03:56:16] Writing var TARGETCLI_fileio_NAME with params var = {'FILEIO_NAME': 'fileio'} INFO: [2023-01-28 03:56:16] Writing var FILEIO_FILE with params var = {'FILEIO_FILE': '/var/tmp/fileio_file'} ============================================================================================================== Running setup 'targetcli/setup/create_fileio_target' ============================================================================================================== INFO: [2023-01-28 03:56:16] 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-2.fc38.noarch) INFO: [2023-01-28 03:56:18] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:10:36 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:56:26] Creating iscsi INFO: [2023-01-28 03:56:26] Running: 'targetcli /iscsi create '... Created target iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a. 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-28 03:56:28] Creating lun with storage object: /backstores/fileio/fileio with params storage_object = /backstores/fileio/fileio INFO: [2023-01-28 03:56:28] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1/luns create storage_object=/backstores/fileio/fileio '... Created LUN 0. INFO: [2023-01-28 03:56:29] Setting parameter generate_node_acls to '1' with params generate_node_acls = 1, group = attribute INFO: [2023-01-28 03:56:29] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set attribute generate_node_acls='1''... Parameter generate_node_acls is now '1'. INFO: [2023-01-28 03:56:30] Setting parameter demo_mode_write_protect to '0' with params demo_mode_write_protect = 0, group = attribute INFO: [2023-01-28 03:56:30] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set attribute demo_mode_write_protect='0''... Parameter demo_mode_write_protect is now '0'. INFO: [2023-01-28 03:56:32] Writing var TPG with params var = {'TPG': 'tpg1'} INFO: [2023-01-28 03:56:32] Writing var TARGET IQN with params var = {'TARGET_IQN': 'iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a'} ============================================================================================================== Running test 'targetcli/cli/iscsi_fileio_lun_stress' ============================================================================================================== INFO: [2023-01-28 03:56:32] 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-28 03:56: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-28 03:56:34] 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 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 login retries (reopen_max) 5 exceeded iscsiadm: Could not perform SendTargets discovery: iSCSI PDU timed out FAIL:(libsan.host.iscsi) Could not discover iSCSI target INFO: [2023-01-28 03:56:41] Should succeed with '0'. Got '1'. FAIL: [2023-01-28 03:56:41] 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-28 03:56:41] Trying to login to portal: 127.0.0.1 with params target = iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a INFO: Performing iSCSI login INFO: [2023-01-28 03:56:41] Running: 'iscsiadm -m node -l -T iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a'... iscsiadm: No records found FAIL:(libsan.host.iscsi) Could not login to iSCSI target iscsiadm: No records found INFO: [2023-01-28 03:56:42] Should succeed with '0'. Got '1'. FAIL: [2023-01-28 03:56:42] Trying to login to portal: 127.0.0.1 with params target = iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a with params target = iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a failed. INFO: [2023-01-28 03:56:42] 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_20230128035632.log uploaded successfully ============================================================================================================== Running setup 'targetcli/setup/configure_chap' ============================================================================================================== INFO: [2023-01-28 03:56:42] 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-2.fc38.noarch) INFO: [2023-01-28 03:56:44] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:11:02 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:56:52] Enabling discovery_auth and setting userid and password with params enable = 1, group = discovery_auth, userid = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~, password = .-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba INFO: [2023-01-28 03:56:52] 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-28 03:56:53] Enabling authentication and generate node acls with params group = attribute, authentication = 1, generate_node_acls = 1 INFO: [2023-01-28 03:56:53] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set attribute authentication='1' generate_node_acls='1''... Parameter authentication is now '1'. Parameter generate_node_acls is now '1'. INFO: [2023-01-28 03:56:55] Setting userid and password in auth group with params group = auth, userid = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~, password = .-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba INFO: [2023-01-28 03:56:55] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set auth userid='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~' password='.-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba''... Parameter userid is now 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~'. Parameter password is now '.-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba'. INFO: [2023-01-28 03:56:56] Writing var CHAP_USERID with params var = {'CHAP_USERID': 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~'} INFO: [2023-01-28 03:56:56] Writing var CHAP_PASSWORD with params var = {'CHAP_PASSWORD': '.-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba'} ============================================================================================================== Running test 'targetcli/cli/iscsi_chap' ============================================================================================================== INFO: [2023-01-28 03:56:56] 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-28 03:56:58] 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-28 03:57:03] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sat 2023-01-28 03:56:36 EST INFO: [2023-01-28 03:57:03] 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-28 03:57:04] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sat 2023-01-28 03:57:04 EST Waiting 5 seconds before restart. INFO: [2023-01-28 03:57:09] Running: 'systemctl restart iscsid'... INFO: CHAP authentication enabled INFO: [2023-01-28 03:57:10] 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-28 03:57:10] 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-28 03:57:10] Should succeed with '0'. Got '1'. FAIL: [2023-01-28 03:57:10] 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-28 03:57:10] Trying to login to target: 127.0.0.1 with params target = iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a INFO: Performing iSCSI login INFO: [2023-01-28 03:57:10] Running: 'iscsiadm -m node -l -T iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a'... iscsiadm: No records found FAIL:(libsan.host.iscsi) Could not login to iSCSI target iscsiadm: No records found INFO: [2023-01-28 03:57:10] Should succeed with '0'. Got '1'. FAIL: [2023-01-28 03:57:10] Trying to login to target: 127.0.0.1 with params target = iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a with params target = iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a failed. INFO: [2023-01-28 03:57:10] Cleaning up INFO: Deleting target portal: 127.0.0.1 INFO: [2023-01-28 03:57:11] Running: 'iscsiadm -m discoverydb --type sendtargets --portal "127.0.0.1:3260" -o delete'... INFO: [2023-01-28 03:57:11] Cleaning chap username and password iscsid config INFO: [2023-01-28 03:57:14] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sat 2023-01-28 03:57:10 EST INFO: [2023-01-28 03:57:15] Running: 'systemctl restart iscsid'... INFO: dnf is installed (dnf-4.14.0-2.fc38.noarch) INFO: [2023-01-28 03:57:16] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:11:34 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:57:24] Setting parameter: userid to '' in group auth with params group = auth, userid = INFO: [2023-01-28 03:57:24] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set auth userid='''... Parameter userid is now ''. INFO: [2023-01-28 03:57:25] Setting parameter: password to '' in group auth with params group = auth, password = INFO: [2023-01-28 03:57:25] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set auth password='''... Parameter password is now ''. INFO: [2023-01-28 03:57:27] Setting parameter: userid to '' in group discovery_auth with params group = discovery_auth, userid = INFO: [2023-01-28 03:57:27] Running: 'targetcli /iscsi set discovery_auth userid='''... Parameter userid is now ''. INFO: [2023-01-28 03:57:28] Setting parameter: password to '' in group discovery_auth with params group = discovery_auth, password = INFO: [2023-01-28 03:57:28] Running: 'targetcli /iscsi set discovery_auth password='''... Parameter password is now ''. INFO: log_submit() - /tmp/targetcli_cli_iscsi_chap_20230128035656.log uploaded successfully ============================================================================================================== Running cleanup 'targetcli/setup/disable_chap' ============================================================================================================== INFO: [2023-01-28 03:57:30] 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-2.fc38.noarch) INFO: [2023-01-28 03:57:32] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:11:50 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:57:40] Disabling discovery_auth with params enable = 0, group = discovery_auth INFO: [2023-01-28 03:57:40] Running: 'targetcli /iscsi set discovery_auth enable='0''... Parameter enable is now 'False'. INFO: [2023-01-28 03:57:41] Disabling authentication with params group = attribute, authentication = 0 INFO: [2023-01-28 03:57:41] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set attribute authentication='0''... Parameter authentication is now '0'. INFO: [2023-01-28 03:57:42] Removing var: CHAP_MUTUAL_USERID from /tmp with params var = CHAP_MUTUAL_USERID INFO: [2023-01-28 03:57:42] Removing var: CHAP_MUTUAL_PASSWORD from /tmp with params var = CHAP_MUTUAL_PASSWORD INFO: [2023-01-28 03:57:42] Removing var: CHAP_PASSWORD from /tmp with params var = CHAP_PASSWORD INFO: [2023-01-28 03:57:42] Removing var: CHAP_USERID from /tmp with params var = CHAP_USERID ============================================================================================================== Running setup 'targetcli/setup/configure_chap_2ways' ============================================================================================================== INFO: [2023-01-28 03:57:43] 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-2.fc38.noarch) INFO: [2023-01-28 03:57:45] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:12:03 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:57:53] 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-28 03:57:53] 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-28 03:57:54] Enabling authentication and generate node acls with params group = attribute, authentication = 1, generate_node_acls = 1 INFO: [2023-01-28 03:57:54] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set attribute authentication='1' generate_node_acls='1''... Parameter authentication is now '1'. Parameter generate_node_acls is now '1'. INFO: [2023-01-28 03:57:55] 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-28 03:57:56] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/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-28 03:57:57] Writing var CHAP_MUTUAL_USERID with params var = {'CHAP_MUTUAL_USERID': '0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'} INFO: [2023-01-28 03:57:57] Writing var CHAP_MUTUAL_PASSWORD with params var = {'CHAP_MUTUAL_PASSWORD': '.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'} INFO: [2023-01-28 03:57:57] Writing var CHAP_USERID with params var = {'CHAP_USERID': 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~'} INFO: [2023-01-28 03:57:57] Writing var CHAP_PASSWORD with params var = {'CHAP_PASSWORD': '.-+@_=:/[],~9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba'} ============================================================================================================== Running test 'targetcli/cli/iscsi_chap_2way' ============================================================================================================== INFO: [2023-01-28 03:57:57] 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-28 03:57:59] 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-28 03:58:03] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sat 2023-01-28 03:57:15 EST INFO: [2023-01-28 03:58:03] 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-28 03:58:04] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sat 2023-01-28 03:58:04 EST Waiting 5 seconds before restart. INFO: [2023-01-28 03:58:09] Running: 'systemctl restart iscsid'... INFO: CHAP authentication enabled INFO: [2023-01-28 03:58:10] 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-28 03:58:10] 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-28 03:58:10] Should succeed with '0'. Got '1'. FAIL: [2023-01-28 03:58:10] 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-28 03:58:10] Trying to login to target: 127.0.0.1 with params target = iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a INFO: Performing iSCSI login INFO: [2023-01-28 03:58:10] Running: 'iscsiadm -m node -l -T iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a'... iscsiadm: No records found FAIL:(libsan.host.iscsi) Could not login to iSCSI target iscsiadm: No records found INFO: [2023-01-28 03:58:10] Cleaning up INFO: Deleting target portal: 127.0.0.1 INFO: [2023-01-28 03:58:11] Running: 'iscsiadm -m discoverydb --type sendtargets --portal "127.0.0.1:3260" -o delete'... INFO: [2023-01-28 03:58:11] Disabling CHAP INFO: [2023-01-28 03:58:14] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sat 2023-01-28 03:58:10 EST INFO: [2023-01-28 03:58:15] Running: 'systemctl restart iscsid'... INFO: dnf is installed (dnf-4.14.0-2.fc38.noarch) INFO: [2023-01-28 03:58:16] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:12:35 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:58:25] Setting parameter: userid to '' in group auth with params group = auth, userid = INFO: [2023-01-28 03:58:25] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set auth userid='''... Parameter userid is now ''. INFO: [2023-01-28 03:58:26] Setting parameter: password to '' in group auth with params group = auth, password = INFO: [2023-01-28 03:58:26] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set auth password='''... Parameter password is now ''. INFO: [2023-01-28 03:58:27] Setting parameter: mutual_userid to '' in group auth with params group = auth, mutual_userid = INFO: [2023-01-28 03:58:27] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set auth mutual_userid='''... Parameter mutual_userid is now ''. INFO: [2023-01-28 03:58:29] Setting parameter: mutual_password to '' in group auth with params group = auth, mutual_password = INFO: [2023-01-28 03:58:29] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set auth mutual_password='''... Parameter mutual_password is now ''. INFO: [2023-01-28 03:58:30] Setting parameter: userid to '' in group discovery_auth with params group = discovery_auth, userid = INFO: [2023-01-28 03:58:30] Running: 'targetcli /iscsi set discovery_auth userid='''... Parameter userid is now ''. INFO: [2023-01-28 03:58:32] Setting parameter: password to '' in group discovery_auth with params group = discovery_auth, password = INFO: [2023-01-28 03:58:32] Running: 'targetcli /iscsi set discovery_auth password='''... Parameter password is now ''. INFO: [2023-01-28 03:58:33] Setting parameter: mutual_userid to '' in group discovery_auth with params group = discovery_auth, mutual_userid = INFO: [2023-01-28 03:58:33] Running: 'targetcli /iscsi set discovery_auth mutual_userid='''... Parameter mutual_userid is now ''. INFO: [2023-01-28 03:58:34] Setting parameter: mutual_password to '' in group discovery_auth with params group = discovery_auth, mutual_password = INFO: [2023-01-28 03:58:35] Running: 'targetcli /iscsi set discovery_auth mutual_password='''... Parameter mutual_password is now ''. INFO: log_submit() - /tmp/targetcli_cli_iscsi_chap_2way_20230128035757.log uploaded successfully ============================================================================================================== Running cleanup 'targetcli/setup/disable_chap' ============================================================================================================== INFO: [2023-01-28 03:58:36] 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-2.fc38.noarch) INFO: [2023-01-28 03:58:38] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:12:57 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:58:47] Disabling discovery_auth with params enable = 0, group = discovery_auth INFO: [2023-01-28 03:58:47] Running: 'targetcli /iscsi set discovery_auth enable='0''... Parameter enable is now 'False'. INFO: [2023-01-28 03:58:48] Disabling authentication with params group = attribute, authentication = 0 INFO: [2023-01-28 03:58:48] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set attribute authentication='0''... Parameter authentication is now '0'. INFO: [2023-01-28 03:58:50] Removing var: CHAP_MUTUAL_USERID from /tmp with params var = CHAP_MUTUAL_USERID INFO: [2023-01-28 03:58:50] Removing var: CHAP_MUTUAL_PASSWORD from /tmp with params var = CHAP_MUTUAL_PASSWORD INFO: [2023-01-28 03:58:50] Removing var: CHAP_PASSWORD from /tmp with params var = CHAP_PASSWORD INFO: [2023-01-28 03:58:50] Removing var: CHAP_USERID from /tmp with params var = CHAP_USERID ============================================================================================================== Running setup 'targetcli/setup/configure_chap_2ways_long' ============================================================================================================== INFO: [2023-01-28 03:58:50] 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-2.fc38.noarch) INFO: [2023-01-28 03:58:52] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:13:11 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:59:01] 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-28 03:59:01] 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-28 03:59:02] Enabling authentication and generate node acls with params group = attribute, authentication = 1, generate_node_acls = 1 INFO: [2023-01-28 03:59:02] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set attribute authentication='1' generate_node_acls='1''... Parameter authentication is now '1'. Parameter generate_node_acls is now '1'. INFO: [2023-01-28 03:59:04] 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-28 03:59:04] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/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-28 03:59:05] Writing var CHAP_MUTUAL_USERID with params var = {'CHAP_MUTUAL_USERID': '0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs'} INFO: [2023-01-28 03:59:05] Writing var CHAP_MUTUAL_PASSWORD with params var = {'CHAP_MUTUAL_PASSWORD': '.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs0123456789'} INFO: [2023-01-28 03:59:05] Writing var CHAP_USERID with params var = {'CHAP_USERID': 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs.-+@_=:/[],~'} INFO: [2023-01-28 03:59:05] Writing var CHAP_PASSWORD with params var = {'CHAP_PASSWORD': '.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-+@_=:/[],~abcdefghijklmnopqrs'} ============================================================================================================== Running test 'targetcli/cli/iscsi_chap_2way_long' ============================================================================================================== INFO: [2023-01-28 03:59:05] 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-28 03:59:07] 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-28 03:59:11] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sat 2023-01-28 03:58:15 EST INFO: [2023-01-28 03:59:12] 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-28 03:59:13] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sat 2023-01-28 03:59:12 EST Waiting 5 seconds before restart. INFO: [2023-01-28 03:59:18] Running: 'systemctl restart iscsid'... INFO: CHAP authentication enabled INFO: [2023-01-28 03:59:19] 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-28 03:59:19] 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-28 03:59:19] Should succeed with '0'. Got '1'. FAIL: [2023-01-28 03:59:19] 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-28 03:59:19] Trying to login to target: 127.0.0.1 with params target = iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a INFO: Performing iSCSI login INFO: [2023-01-28 03:59:19] Running: 'iscsiadm -m node -l -T iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a'... iscsiadm: No records found FAIL:(libsan.host.iscsi) Could not login to iSCSI target iscsiadm: No records found INFO: [2023-01-28 03:59:19] Cleaning up INFO: Deleting target portal: 127.0.0.1 INFO: [2023-01-28 03:59:20] Running: 'iscsiadm -m discoverydb --type sendtargets --portal "127.0.0.1:3260" -o delete'... INFO: [2023-01-28 03:59:20] Disabling CHAP INFO: [2023-01-28 03:59:23] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sat 2023-01-28 03:59:19 EST INFO: [2023-01-28 03:59:24] Running: 'systemctl restart iscsid'... INFO: dnf is installed (dnf-4.14.0-2.fc38.noarch) INFO: [2023-01-28 03:59:25] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:13:44 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:59:34] Setting parameter: userid to '' in group auth with params group = auth, userid = INFO: [2023-01-28 03:59:34] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set auth userid='''... Parameter userid is now ''. INFO: [2023-01-28 03:59:35] Setting parameter: password to '' in group auth with params group = auth, password = INFO: [2023-01-28 03:59:35] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set auth password='''... Parameter password is now ''. INFO: [2023-01-28 03:59:36] Setting parameter: mutual_userid to '' in group auth with params group = auth, mutual_userid = INFO: [2023-01-28 03:59:36] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set auth mutual_userid='''... Parameter mutual_userid is now ''. INFO: [2023-01-28 03:59:38] Setting parameter: mutual_password to '' in group auth with params group = auth, mutual_password = INFO: [2023-01-28 03:59:38] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set auth mutual_password='''... Parameter mutual_password is now ''. INFO: [2023-01-28 03:59:39] Setting parameter: userid to '' in group discovery_auth with params group = discovery_auth, userid = INFO: [2023-01-28 03:59:39] Running: 'targetcli /iscsi set discovery_auth userid='''... Parameter userid is now ''. INFO: [2023-01-28 03:59:41] Setting parameter: password to '' in group discovery_auth with params group = discovery_auth, password = INFO: [2023-01-28 03:59:41] Running: 'targetcli /iscsi set discovery_auth password='''... Parameter password is now ''. INFO: [2023-01-28 03:59:42] Setting parameter: mutual_userid to '' in group discovery_auth with params group = discovery_auth, mutual_userid = INFO: [2023-01-28 03:59:42] Running: 'targetcli /iscsi set discovery_auth mutual_userid='''... Parameter mutual_userid is now ''. INFO: [2023-01-28 03:59:43] Setting parameter: mutual_password to '' in group discovery_auth with params group = discovery_auth, mutual_password = INFO: [2023-01-28 03:59:43] Running: 'targetcli /iscsi set discovery_auth mutual_password='''... Parameter mutual_password is now ''. INFO: log_submit() - /tmp/targetcli_cli_iscsi_chap_2way_long_20230128035905.log uploaded successfully ============================================================================================================== Running cleanup 'targetcli/setup/disable_chap' ============================================================================================================== INFO: [2023-01-28 03:59:45] 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-2.fc38.noarch) INFO: [2023-01-28 03:59:47] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:14:06 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 03:59:55] Disabling discovery_auth with params enable = 0, group = discovery_auth INFO: [2023-01-28 03:59:56] Running: 'targetcli /iscsi set discovery_auth enable='0''... Parameter enable is now 'False'. INFO: [2023-01-28 03:59:57] Disabling authentication with params group = attribute, authentication = 0 INFO: [2023-01-28 03:59:57] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set attribute authentication='0''... Parameter authentication is now '0'. INFO: [2023-01-28 03:59:58] Removing var: CHAP_MUTUAL_USERID from /tmp with params var = CHAP_MUTUAL_USERID INFO: [2023-01-28 03:59:58] Removing var: CHAP_MUTUAL_PASSWORD from /tmp with params var = CHAP_MUTUAL_PASSWORD INFO: [2023-01-28 03:59:58] Removing var: CHAP_PASSWORD from /tmp with params var = CHAP_PASSWORD INFO: [2023-01-28 03:59:58] Removing var: CHAP_USERID from /tmp with params var = CHAP_USERID ============================================================================================================== Running setup 'targetcli/setup/configure_chap_2ways_short' ============================================================================================================== INFO: [2023-01-28 03:59:58] 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-2.fc38.noarch) INFO: [2023-01-28 04:00:00] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:14:19 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 04:00:09] 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-28 04:00:09] 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-28 04:00:10] Enabling authentication and generate node acls with params group = attribute, authentication = 1, generate_node_acls = 1 INFO: [2023-01-28 04:00:10] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set attribute authentication='1' generate_node_acls='1''... Parameter authentication is now '1'. Parameter generate_node_acls is now '1'. INFO: [2023-01-28 04:00:12] Setting userid and password in auth group with params group = auth, userid = a, password = 0, mutual_userid = A, mutual_password = 1 INFO: [2023-01-28 04:00:12] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/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-28 04:00:13] Writing var CHAP_MUTUAL_USERID with params var = {'CHAP_MUTUAL_USERID': 'A'} INFO: [2023-01-28 04:00:13] Writing var CHAP_MUTUAL_PASSWORD with params var = {'CHAP_MUTUAL_PASSWORD': '1'} INFO: [2023-01-28 04:00:13] Writing var CHAP_USERID with params var = {'CHAP_USERID': 'a'} INFO: [2023-01-28 04:00:13] Writing var CHAP_PASSWORD with params var = {'CHAP_PASSWORD': '0'} ============================================================================================================== Running test 'targetcli/cli/iscsi_chap_2way_short' ============================================================================================================== INFO: [2023-01-28 04:00:13] 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-28 04:00:15] 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-28 04:00:19] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sat 2023-01-28 03:59:24 EST INFO: [2023-01-28 04:00:19] 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-28 04:00:20] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sat 2023-01-28 04:00:20 EST Waiting 5 seconds before restart. INFO: [2023-01-28 04:00:25] Running: 'systemctl restart iscsid'... INFO: CHAP authentication enabled INFO: [2023-01-28 04:00:26] 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-28 04:00:26] 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-28 04:00:26] Should succeed with '0'. Got '1'. FAIL: [2023-01-28 04:00:26] 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-28 04:00:26] Trying to login to target: 127.0.0.1 with params target = iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a INFO: Performing iSCSI login INFO: [2023-01-28 04:00:27] Running: 'iscsiadm -m node -l -T iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a'... iscsiadm: No records found FAIL:(libsan.host.iscsi) Could not login to iSCSI target iscsiadm: No records found INFO: [2023-01-28 04:00:27] Cleaning up INFO: Deleting target portal: 127.0.0.1 INFO: [2023-01-28 04:00:27] Running: 'iscsiadm -m discoverydb --type sendtargets --portal "127.0.0.1:3260" -o delete'... INFO: [2023-01-28 04:00:28] Disabling CHAP INFO: [2023-01-28 04:00:31] Running: 'systemctl show iscsid --property=ActiveEnterTimestamp'... ActiveEnterTimestamp=Sat 2023-01-28 04:00:26 EST INFO: [2023-01-28 04:00:31] Running: 'systemctl restart iscsid'... INFO: dnf is installed (dnf-4.14.0-2.fc38.noarch) INFO: [2023-01-28 04:00:32] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:14:51 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 04:00:41] Setting parameter: userid to '' in group auth with params group = auth, userid = INFO: [2023-01-28 04:00:41] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set auth userid='''... Parameter userid is now ''. INFO: [2023-01-28 04:00:42] Setting parameter: password to '' in group auth with params group = auth, password = INFO: [2023-01-28 04:00:42] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set auth password='''... Parameter password is now ''. INFO: [2023-01-28 04:00:43] Setting parameter: mutual_userid to '' in group auth with params group = auth, mutual_userid = INFO: [2023-01-28 04:00:43] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set auth mutual_userid='''... Parameter mutual_userid is now ''. INFO: [2023-01-28 04:00:45] Setting parameter: mutual_password to '' in group auth with params group = auth, mutual_password = INFO: [2023-01-28 04:00:45] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set auth mutual_password='''... Parameter mutual_password is now ''. INFO: [2023-01-28 04:00:46] Setting parameter: userid to '' in group discovery_auth with params group = discovery_auth, userid = INFO: [2023-01-28 04:00:46] Running: 'targetcli /iscsi set discovery_auth userid='''... Parameter userid is now ''. INFO: [2023-01-28 04:00:48] Setting parameter: password to '' in group discovery_auth with params group = discovery_auth, password = INFO: [2023-01-28 04:00:48] Running: 'targetcli /iscsi set discovery_auth password='''... Parameter password is now ''. INFO: [2023-01-28 04:00:49] Setting parameter: mutual_userid to '' in group discovery_auth with params group = discovery_auth, mutual_userid = INFO: [2023-01-28 04:00:49] Running: 'targetcli /iscsi set discovery_auth mutual_userid='''... Parameter mutual_userid is now ''. INFO: [2023-01-28 04:00:50] Setting parameter: mutual_password to '' in group discovery_auth with params group = discovery_auth, mutual_password = INFO: [2023-01-28 04:00:50] Running: 'targetcli /iscsi set discovery_auth mutual_password='''... Parameter mutual_password is now ''. INFO: log_submit() - /tmp/targetcli_cli_iscsi_chap_2way_short_20230128040013.log uploaded successfully ============================================================================================================== Running cleanup 'targetcli/setup/disable_chap' ============================================================================================================== INFO: [2023-01-28 04:00:52] 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-2.fc38.noarch) INFO: [2023-01-28 04:00:54] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:15:12 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 04:01:02] Disabling discovery_auth with params enable = 0, group = discovery_auth INFO: [2023-01-28 04:01:02] Running: 'targetcli /iscsi set discovery_auth enable='0''... Parameter enable is now 'False'. INFO: [2023-01-28 04:01:04] Disabling authentication with params group = attribute, authentication = 0 INFO: [2023-01-28 04:01:04] Running: 'targetcli /iscsi/iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a/tpg1 set attribute authentication='0''... Parameter authentication is now '0'. INFO: [2023-01-28 04:01:05] Removing var: CHAP_MUTUAL_USERID from /tmp with params var = CHAP_MUTUAL_USERID INFO: [2023-01-28 04:01:05] Removing var: CHAP_MUTUAL_PASSWORD from /tmp with params var = CHAP_MUTUAL_PASSWORD INFO: [2023-01-28 04:01:05] Removing var: CHAP_PASSWORD from /tmp with params var = CHAP_PASSWORD INFO: [2023-01-28 04:01:05] Removing var: CHAP_USERID from /tmp with params var = CHAP_USERID ============================================================================================================== Running cleanup 'targetcli/setup/delete_iscsi_target' ============================================================================================================== INFO: [2023-01-28 04:01:05] 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-2.fc38.noarch) INFO: [2023-01-28 04:01:07] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:15:26 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 04:01:15] Deleting iscsi target: iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a with params wwn = iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a INFO: [2023-01-28 04:01:16] Running: 'targetcli /iscsi delete wwn=iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a '... Deleted Target iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a. ============================================================================================================== Running cleanup 'targetcli/setup/delete_fileio' ============================================================================================================== INFO: [2023-01-28 04:01:17] 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-2.fc38.noarch) INFO: [2023-01-28 04:01:19] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:15:38 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 04:01:27] Deleting bacstore fileio with params name = fileio INFO: [2023-01-28 04:01:28] Running: 'targetcli /backstores/fileio delete name=fileio '... Deleted storage object fileio. INFO: [2023-01-28 04:01:29] Removing file with params cmd = rm -f /var/tmp/fileio_file INFO: [2023-01-28 04:01:29] Running: 'rm -f /var/tmp/fileio_file'... ============================================================================================================== Running cleanup 'targetcli/setup/start_multipath' ============================================================================================================== INFO: [2023-01-28 04:01:29] 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 installed (device-mapper-multipath-0.9.4-1.fc38.x86_64) WARN: Skipping start of the services because they have not been running! INFO: [2023-01-28 04:01:31] Cleaning var START_MULTIPATH with params var = START_MULTIPATH ============================================================================================================== Running setup 'targetcli/setup/create_fileio' ============================================================================================================== INFO: [2023-01-28 04:01:31] 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-2.fc38.noarch) INFO: [2023-01-28 04:01:33] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:15:52 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 04:01:42] Creating backstore object with path /backstores/fileio with params name = fileio, file_or_dev = /var/tmp/fileio_file, size = 1M INFO: [2023-01-28 04:01:42] 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-28 04:01:43] Writing var TARGETCLI_fileio_NAME with params var = {'FILEIO_NAME': 'fileio'} INFO: [2023-01-28 04:01:43] Writing var FILEIO_FILE with params var = {'FILEIO_FILE': '/var/tmp/fileio_file'} ============================================================================================================== Running test 'targetcli/cli/fileio_attributes' ============================================================================================================== INFO: [2023-01-28 04:01:43] 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-2.fc38.noarch) INFO: [2023-01-28 04:01:45] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:16:04 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 04:01:54] Getting parameters from group attribute with params group = attribute INFO: [2023-01-28 04:01:54] 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-28 04:01:55] 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-28 04:01:55] 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-28 04:01:57] 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-28 04:01:57] 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-28 04:01:58] 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-2.fc38.noarch) INFO: [2023-01-28 04:02:00] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:16:19 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 04:02:09] Deleting bacstore fileio with params name = fileio INFO: [2023-01-28 04:02:09] Running: 'targetcli /backstores/fileio delete name=fileio '... Deleted storage object fileio. INFO: [2023-01-28 04:02:10] Removing file with params cmd = rm -f /var/tmp/fileio_file INFO: [2023-01-28 04:02:10] Running: 'rm -f /var/tmp/fileio_file'... ============================================================================================================== Running setup 'targetcli/setup/create_ramdisk' ============================================================================================================== INFO: [2023-01-28 04:02:10] 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-2.fc38.noarch) INFO: [2023-01-28 04:02:12] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:16:31 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 04:02:21] Creating backstore object with path /backstores/ramdisk with params name = ramdisk, size = 1M INFO: [2023-01-28 04:02:21] Running: 'targetcli /backstores/ramdisk create name=ramdisk size=1M '... Created ramdisk ramdisk with size 1M. INFO: [2023-01-28 04:02:22] Writing var TARGETCLI_ramdisk_NAME with params var = {'RAMDISK_NAME': 'ramdisk'} ============================================================================================================== Running test 'targetcli/cli/ramdisk_attributes' ============================================================================================================== INFO: [2023-01-28 04:02:22] 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-2.fc38.noarch) INFO: [2023-01-28 04:02:24] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:16:43 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 04:02:33] Getting parameters from group attribute with params group = attribute INFO: [2023-01-28 04:02:33] 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-28 04:02:34] 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-28 04:02:34] 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-28 04:02:35] 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-28 04:02:36] 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-28 04:02:37] 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-2.fc38.noarch) INFO: [2023-01-28 04:02:39] Running: 'dnf install -y targetcli'... Last metadata expiration check: 2:16:58 ago on Sat 28 Jan 2023 01:45:48 AM EST. Package targetcli-2.1.54-7.fc38.noarch is already installed. Dependencies resolved. Nothing to do. Complete! INFO: targetcli was successfully installed INFO: [2023-01-28 04:02:48] Deleting bacstore ramdisk with params name = ramdisk INFO: [2023-01-28 04:02:48] Running: 'targetcli /backstores/ramdisk delete name=ramdisk '... Deleted storage object ramdisk. ============================================================================================================== Running test 'remove-tmp/TARGETCLI_LOOPDEV_NAME' ============================================================================================================== INFO: [2023-01-28 04:02:49] Running: 'rm -f /tmp/TARGETCLI_LOOPDEV_NAME'... ============================================================================================================== Running test 'remove-tmp/BLOCK_NAME' ============================================================================================================== INFO: [2023-01-28 04:02:49] Running: 'rm -f /tmp/BLOCK_NAME'... ============================================================================================================== Running test 'remove-tmp/START_MULTIPATH' ============================================================================================================== INFO: [2023-01-28 04:02:50] Running: 'rm -f /tmp/START_MULTIPATH'... ============================================================================================================== Running test 'remove-tmp/FILEIO_NAME' ============================================================================================================== INFO: [2023-01-28 04:02:50] Running: 'rm -f /tmp/FILEIO_NAME'... ============================================================================================================== Running test 'remove-tmp/FILEIO_FILE' ============================================================================================================== INFO: [2023-01-28 04:02:50] Running: 'rm -f /tmp/FILEIO_FILE'... ============================================================================================================== Running test 'remove-tmp/SCSI_ID' ============================================================================================================== INFO: [2023-01-28 04:02:50] Running: 'rm -f /tmp/SCSI_ID'... ============================================================================================================== Running test 'remove-tmp/LOOPBACK_WWN' ============================================================================================================== INFO: [2023-01-28 04:02:50] Running: 'rm -f /tmp/LOOPBACK_WWN'... ============================================================================================================== Running test 'remove-tmp/LOOPBACK_LUN' ============================================================================================================== INFO: [2023-01-28 04:02:51] Running: 'rm -f /tmp/LOOPBACK_LUN'... ============================================================================================================== Running test 'remove-tmp/TPG' ============================================================================================================== INFO: [2023-01-28 04:02:51] Running: 'rm -f /tmp/TPG'... ============================================================================================================== Running test 'remove-tmp/TARGET_IQN' ============================================================================================================== INFO: [2023-01-28 04:02:51] Running: 'rm -f /tmp/TARGET_IQN'... ============================================================================================================== Running test 'remove-tmp/CHAP_USERID' ============================================================================================================== INFO: [2023-01-28 04:02:51] Running: 'rm -f /tmp/CHAP_USERID'... ============================================================================================================== Running test 'remove-tmp/CHAP_PASSWORD' ============================================================================================================== INFO: [2023-01-28 04:02:51] Running: 'rm -f /tmp/CHAP_PASSWORD'... ============================================================================================================== Running test 'remove-tmp/CHAP_MUTUAL_USERID' ============================================================================================================== INFO: [2023-01-28 04:02:52] Running: 'rm -f /tmp/CHAP_MUTUAL_USERID'... ============================================================================================================== Running test 'remove-tmp/CHAP_MUTUAL_PASSWORD' ============================================================================================================== INFO: [2023-01-28 04:02:52] Running: 'rm -f /tmp/CHAP_MUTUAL_PASSWORD'... ============================================================================================================== Running test 'remove-tmp/RAMDISK_NAME' ============================================================================================================== INFO: [2023-01-28 04:02:52] Running: 'rm -f /tmp/RAMDISK_NAME'... ============================================================================================================== Running test 'remove-tmp/FILE_NAMES' ============================================================================================================== INFO: [2023-01-28 04:02:52] Running: 'rm -f /tmp/FILE_NAMES'... ============================================================================================================== Generating test result report ============================================================================================================== Install name: install_targetcli.py Status: PASS Elapsed Time: 33s Install name: install_iscsi-initiator-utils.py Status: PASS Elapsed Time: 29s Test name: targetcli/cli/saveconfig_backup Status: PASS Elapsed Time: 29s Setup name: targetcli/setup/create_loopdev Status: PASS Elapsed Time: 02s Setup name: targetcli/setup/create_block Status: PASS Elapsed Time: 13s Test name: targetcli/cli/block_attributes Status: PASS Elapsed Time: 14s Cleanup name: targetcli/setup/delete_block Status: PASS Elapsed Time: 12s Cleanup name: targetcli/setup/loopdev_delete Status: PASS Elapsed Time: 02s Setup name: targetcli/setup/stop_multipath Status: PASS Elapsed Time: 03s Setup name: targetcli/setup/create_fileio Status: PASS Elapsed Time: 12s Setup name: targetcli/setup/create_loopback Status: PASS Elapsed Time: 30s Test name: targetcli/cli/create_pscsi Status: PASS Elapsed Time: 13s Cleanup name: targetcli/setup/delete_loopback Status: PASS Elapsed Time: 13s Cleanup name: targetcli/setup/delete_fileio Status: PASS Elapsed Time: 12s Setup name: targetcli/setup/create_fileio_1g Status: PASS Elapsed Time: 12s Setup name: targetcli/setup/create_fileio_target Status: PASS Elapsed Time: 16s Test name: targetcli/cli/iscsi_fileio_lun_stress Status: FAIL Elapsed Time: 10s Setup name: targetcli/setup/configure_chap Status: PASS Elapsed Time: 14s Test name: targetcli/cli/iscsi_chap Status: FAIL Elapsed Time: 34s 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.kvm-08-guest24.x8664:sn.50335678449a with params target = iqn.2003-01.org.linux-iscsi.kvm-08-guest24.x8664:sn.50335678449a failed. Cleanup name: targetcli/setup/disable_chap Status: PASS Elapsed Time: 13s Setup name: targetcli/setup/configure_chap_2ways Status: PASS Elapsed Time: 14s Test name: targetcli/cli/iscsi_chap_2way Status: FAIL Elapsed Time: 39s 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: 14s Setup name: targetcli/setup/configure_chap_2ways_long Status: PASS Elapsed Time: 15s Test name: targetcli/cli/iscsi_chap_2way_long Status: FAIL Elapsed Time: 40s 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: 13s Setup name: targetcli/setup/configure_chap_2ways_short Status: PASS Elapsed Time: 15s Test name: targetcli/cli/iscsi_chap_2way_short Status: FAIL Elapsed Time: 39s 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: 13s Cleanup name: targetcli/setup/delete_iscsi_target Status: PASS Elapsed Time: 12s Cleanup name: targetcli/setup/delete_fileio Status: PASS Elapsed Time: 12s Cleanup name: targetcli/setup/start_multipath Status: PASS Elapsed Time: 02s Setup name: targetcli/setup/create_fileio Status: PASS Elapsed Time: 12s Test name: targetcli/cli/fileio_attributes Status: PASS Elapsed Time: 15s Cleanup name: targetcli/setup/delete_fileio Status: PASS Elapsed Time: 12s Setup name: targetcli/setup/create_ramdisk Status: PASS Elapsed Time: 12s Test name: targetcli/cli/ramdisk_attributes Status: PASS Elapsed Time: 15s Cleanup name: targetcli/setup/delete_ramdisk Status: PASS Elapsed Time: 12s Cleanup name: remove-tmp/TARGETCLI_LOOPDEV_NAME Status: PASS Elapsed Time: 00s Cleanup name: remove-tmp/BLOCK_NAME Status: PASS Elapsed Time: 01s Cleanup name: remove-tmp/START_MULTIPATH 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: 01s Cleanup name: remove-tmp/CHAP_MUTUAL_PASSWORD Status: PASS Elapsed Time: 00s Cleanup name: remove-tmp/RAMDISK_NAME Status: PASS Elapsed Time: 00s Cleanup name: remove-tmp/FILE_NAMES Status: PASS Elapsed Time: 00s ============================================================================================================== Total - PASS: 49 FAIL: 5 SKIP: 0 WARN: 0 Total Time: 10m24s ==============================================================================================================