Newly introduced findings

List of Findings

Error: SHELLCHECK_WARNING (CWE-571): [#def1]
/usr/share/podman/test/system/252-quadlet.bats:522:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
#  520|   @test "quadlet - network delete with dependencies" {
#  521|       # Save the unit name to use as the network for the container
#  522|->     local network_name=$(safename)
#  523|       local quadlet_network_unit=dep_$(safename).network
#  524|       local quadlet_network_file=$PODMAN_TMPDIR/${quadlet_network_unit}

Error: SHELLCHECK_WARNING (CWE-571): [#def2]
/usr/share/podman/test/system/252-quadlet.bats:538:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
#  536|       local network_service=$QUADLET_SERVICE_NAME
#  537|   
#  538|->     local quadlet_container_file=$PODMAN_TMPDIR/user_$(safename).container
#  539|       cat > $quadlet_container_file <<EOF
#  540|   [Container]

Error: SHELLCHECK_WARNING (CWE-571): [#def3]
/usr/share/podman/test/system/252-quadlet.bats:720:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
#  718|   @test "quadlet kube - named network dependency" {
#  719|       # Save the unit name to use as the network for the container
#  720|->     local quadlet_network_unit=dep_$(safename).network
#  721|       local quadlet_network_file=$PODMAN_TMPDIR/${quadlet_network_unit}
#  722|       local network_name="n-$(safename)"

Error: SHELLCHECK_WARNING (CWE-571): [#def4]
/usr/share/podman/test/system/252-quadlet.bats:729:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
#  727|   
#  728|       # Have quadlet create the systemd unit file for the network unit
#  729|->     local quadlet_tmpdir=$(mktemp -d --tmpdir=$PODMAN_TMPDIR quadlet.XXXXXX)
#  730|       run_quadlet "$quadlet_network_file" "$quadlet_tmpdir"
#  731|   

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.86.0
diffbase-analyzer-version-cppcheck2.17.1
diffbase-analyzer-version-gcc15.0.1
diffbase-analyzer-version-gcc-analyzer15.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-145.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namepodman-5.5.0~dev-1.20250410142621527514.main.628.c2b5be1e8e
diffbase-store-results-to/tmp/tmpgjt3hlzc/podman-5.5.0~dev-1.20250410142621527514.main.628.c2b5be1e8e.tar.xz
diffbase-time-created2025-04-10 14:49:04
diffbase-time-finished2025-04-10 15:01:00
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,shellcheck,unicontrol,clippy,gcc' '-o' '/tmp/tmpgjt3hlzc/podman-5.5.0~dev-1.20250410142621527514.main.628.c2b5be1e8e.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpgjt3hlzc/podman-5.5.0~dev-1.20250410142621527514.main.628.c2b5be1e8e.src.rpm'
diffbase-tool-versioncsmock-3.8.0-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-145.us-west-2.compute.internal
mock-configfedora-rawhide-x86_64
project-namepodman-5.5.0~dev-1.20250410143543468726.pr25844.630.129da6f43e
store-results-to/tmp/tmpsoegcjyq/podman-5.5.0~dev-1.20250410143543468726.pr25844.630.129da6f43e.tar.xz
time-created2025-04-10 15:01:25
time-finished2025-04-10 15:12:32
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,shellcheck,unicontrol,clippy,gcc' '-o' '/tmp/tmpsoegcjyq/podman-5.5.0~dev-1.20250410143543468726.pr25844.630.129da6f43e.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpsoegcjyq/podman-5.5.0~dev-1.20250410143543468726.pr25844.630.129da6f43e.src.rpm'
tool-versioncsmock-3.8.0-1.el9