Error: SHELLCHECK_WARNING (CWE-457): [#def1] /usr/share/lvm2-testsuite/shell/pvcreate-operation.sh:29:15: warning[SC2154]: dev1 is referenced but not assigned. # 27| # 28| # pvcreate fails when the same device appears twice on input # 29|-> not pvcreate "$dev1" "$dev1" 2>err # 30| grep "Duplicate device name found on input" err # 31| Error: SHELLCHECK_WARNING (CWE-563): [#def2] /usr/share/lvm2-testsuite/shell/pvcreate-partition.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally). # 12| # 13| # 14|-> SKIP_WITH_LVMPOLLD=1 # 15| SKIP_WITH_LVMLOCKD=1 # 16| Error: SHELLCHECK_WARNING (CWE-563): [#def3] /usr/share/lvm2-testsuite/shell/pvcreate-partition.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally). # 13| # 14| SKIP_WITH_LVMPOLLD=1 # 15|-> SKIP_WITH_LVMLOCKD=1 # 16| # 17| . lib/inittest Error: SHELLCHECK_WARNING (CWE-457): [#def4] /usr/share/lvm2-testsuite/shell/pvcreate-partition.sh:41:34: warning[SC2154]: dev1 is referenced but not assigned. # 39| } # 40| # 41|-> pvcreate_on_dev_with_part_table "$dev1" "dos" # 42| pvcreate_on_dev_with_part_table "$dev1" "gpt" Error: SHELLCHECK_WARNING (CWE-563): [#def5] /usr/share/lvm2-testsuite/shell/pvmove-single.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally). # 11| # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # 12| # 13|-> test_description="ensure pvmove works on single PV" # 14| SKIP_WITH_LVMLOCKD=1 # 15| Error: SHELLCHECK_WARNING (CWE-563): [#def6] /usr/share/lvm2-testsuite/shell/pvmove-single.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally). # 12| # 13| test_description="ensure pvmove works on single PV" # 14|-> SKIP_WITH_LVMLOCKD=1 # 15| # 16| . lib/inittest Error: SHELLCHECK_WARNING (CWE-457): [#def7] /usr/share/lvm2-testsuite/shell/pvmove-single.sh:20:23: warning[SC2154]: lv1 is referenced but not assigned. # 18| aux prepare_vg 1 # 19| # 20|-> lvcreate -aey -l16 -n $lv1 $vg # 21| lvcreate -aey -l16 -n $lv2 $vg # 22| Error: SHELLCHECK_WARNING (CWE-457): [#def8] /usr/share/lvm2-testsuite/shell/pvmove-single.sh:20:28: warning[SC2154]: vg is referenced but not assigned. # 18| aux prepare_vg 1 # 19| # 20|-> lvcreate -aey -l16 -n $lv1 $vg # 21| lvcreate -aey -l16 -n $lv2 $vg # 22| Error: SHELLCHECK_WARNING (CWE-457): [#def9] /usr/share/lvm2-testsuite/shell/pvmove-single.sh:21:23: warning[SC2154]: lv2 is referenced but not assigned. # 19| # 20| lvcreate -aey -l16 -n $lv1 $vg # 21|-> lvcreate -aey -l16 -n $lv2 $vg # 22| # 23| lvs -ao+seg_pe_ranges $vg Error: SHELLCHECK_WARNING (CWE-457): [#def10] /usr/share/lvm2-testsuite/shell/pvmove-single.sh:25:31: warning[SC2154]: dev1 is referenced but not assigned. # 23| lvs -ao+seg_pe_ranges $vg # 24| # 25|-> pvmove -i0 --alloc anywhere "$dev1:12-19" "$dev1" # 26| # 27| lvs -ao+seg_pe_ranges,seg_size_pe $vg
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
diffbase-analyzer-version-clippy | 1.82.0 |
diffbase-analyzer-version-cppcheck | 2.16.0 |
diffbase-analyzer-version-gcc | 14.2.1 |
diffbase-analyzer-version-gcc-analyzer | 15.0.0 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-unicontrol | 0.0.2 |
diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-39.us-west-2.compute.internal |
diffbase-mock-config | fedora-rawhide-gcc-latest-x86_64 |
diffbase-project-name | lvm2-2.03.25-4.fc41 |
diffbase-store-results-to | /tmp/tmptingh24i/lvm2-2.03.25-4.fc41.tar.xz |
diffbase-time-created | 2024-11-13 01:53:49 |
diffbase-time-finished | 2024-11-13 01:58:51 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmptingh24i/lvm2-2.03.25-4.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmptingh24i/lvm2-2.03.25-4.fc41.src.rpm' |
diffbase-tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-39.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | lvm2-2.03.27-1.fc42 |
store-results-to | /tmp/tmpqnw_0fh5/lvm2-2.03.27-1.fc42.tar.xz |
time-created | 2024-11-13 01:59:17 |
time-finished | 2024-11-13 02:04:01 |
title | Newly introduced findings |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpqnw_0fh5/lvm2-2.03.27-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpqnw_0fh5/lvm2-2.03.27-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |