Error: SHELLCHECK_WARNING (CWE-571): [#def1] /usr/share/podman/test/system/280-update.bats:173:11: warning[SC2155]: Declare and assign separately to avoid masking return values. # 171| # bats test_tags=ci:parallel # 172| @test "podman update - test all HealthCheck flags" { # 173|-> local ctrname="c-h-$(safename)" # 174| local msg="healthmsg-$(random_string)" # 175| local TMP_DIR_HEALTHCHECK="$PODMAN_TMPDIR/healthcheck" Error: SHELLCHECK_WARNING (CWE-571): [#def2] /usr/share/podman/test/system/280-update.bats:174:11: warning[SC2155]: Declare and assign separately to avoid masking return values. # 172| @test "podman update - test all HealthCheck flags" { # 173| local ctrname="c-h-$(safename)" # 174|-> local msg="healthmsg-$(random_string)" # 175| local TMP_DIR_HEALTHCHECK="$PODMAN_TMPDIR/healthcheck" # 176| mkdir $TMP_DIR_HEALTHCHECK Error: SHELLCHECK_WARNING (CWE-571): [#def3] /usr/share/podman/test/system/280-update.bats:232:11: warning[SC2155]: Declare and assign separately to avoid masking return values. # 230| # bats test_tags=ci:parallel # 231| @test "podman update - test HealthCheck flags without HealthCheck commands" { # 232|-> local ctrname="c-h-$(safename)" # 233| # 234| # flag-name=value Error: SHELLCHECK_WARNING (CWE-571): [#def4] /usr/share/podman/test/system/280-update.bats:261:11: warning[SC2155]: Declare and assign separately to avoid masking return values. # 259| # bats test_tags=ci:parallel # 260| @test "podman update - --no-healthcheck" { # 261|-> local msg="healthmsg-$(random_string)" # 262| local ctrname="c-h-$(safename)" # 263| Error: SHELLCHECK_WARNING (CWE-571): [#def5] /usr/share/podman/test/system/280-update.bats:262:11: warning[SC2155]: Declare and assign separately to avoid masking return values. # 260| @test "podman update - --no-healthcheck" { # 261| local msg="healthmsg-$(random_string)" # 262|-> local ctrname="c-h-$(safename)" # 263| # 264| run_podman run -d --name $ctrname \ Error: SHELLCHECK_WARNING (CWE-569): [#def6] /usr/share/podman/test/system/280-update.bats:272:42: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it. # 270| run_podman update $ctrname --no-healthcheck # 271| # 272|-> run_podman inspect $ctrname --format {{.Config.Healthcheck.Test}} # 273| assert "$output" == "[NONE]" "HealthCheck command is disabled" # 274| Error: SHELLCHECK_WARNING (CWE-569): [#def7] /usr/share/podman/test/system/280-update.bats:272:43: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it. # 270| run_podman update $ctrname --no-healthcheck # 271| # 272|-> run_podman inspect $ctrname --format {{.Config.Healthcheck.Test}} # 273| assert "$output" == "[NONE]" "HealthCheck command is disabled" # 274| Error: SHELLCHECK_WARNING (CWE-569): [#def8] /usr/share/podman/test/system/280-update.bats:272:68: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it. # 270| run_podman update $ctrname --no-healthcheck # 271| # 272|-> run_podman inspect $ctrname --format {{.Config.Healthcheck.Test}} # 273| assert "$output" == "[NONE]" "HealthCheck command is disabled" # 274| Error: SHELLCHECK_WARNING (CWE-569): [#def9] /usr/share/podman/test/system/280-update.bats:272:69: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it. # 270| run_podman update $ctrname --no-healthcheck # 271| # 272|-> run_podman inspect $ctrname --format {{.Config.Healthcheck.Test}} # 273| assert "$output" == "[NONE]" "HealthCheck command is disabled" # 274| Error: SHELLCHECK_WARNING (CWE-569): [#def10] /usr/share/podman/test/system/280-update.bats:275:42: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it. # 273| assert "$output" == "[NONE]" "HealthCheck command is disabled" # 274| # 275|-> run_podman inspect $ctrname --format {{.Config.StartupHealthCheck}} # 276| assert "$output" == "<nil>" "startup HealthCheck command is disabled" # 277| Error: SHELLCHECK_WARNING (CWE-569): [#def11] /usr/share/podman/test/system/280-update.bats:275:43: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it. # 273| assert "$output" == "[NONE]" "HealthCheck command is disabled" # 274| # 275|-> run_podman inspect $ctrname --format {{.Config.StartupHealthCheck}} # 276| assert "$output" == "<nil>" "startup HealthCheck command is disabled" # 277| Error: SHELLCHECK_WARNING (CWE-569): [#def12] /usr/share/podman/test/system/280-update.bats:275:70: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it. # 273| assert "$output" == "[NONE]" "HealthCheck command is disabled" # 274| # 275|-> run_podman inspect $ctrname --format {{.Config.StartupHealthCheck}} # 276| assert "$output" == "<nil>" "startup HealthCheck command is disabled" # 277| Error: SHELLCHECK_WARNING (CWE-569): [#def13] /usr/share/podman/test/system/280-update.bats:275:71: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it. # 273| assert "$output" == "[NONE]" "HealthCheck command is disabled" # 274| # 275|-> run_podman inspect $ctrname --format {{.Config.StartupHealthCheck}} # 276| assert "$output" == "<nil>" "startup HealthCheck command is disabled" # 277| Error: SHELLCHECK_WARNING (CWE-571): [#def14] /usr/share/podman/test/system/280-update.bats:285:11: warning[SC2155]: Declare and assign separately to avoid masking return values. # 283| local TMP_DIR_HEALTHCHECK="$PODMAN_TMPDIR/healthcheck" # 284| mkdir $TMP_DIR_HEALTHCHECK # 285|-> local ctrname="c-h-$(safename)" # 286| local msg="healthmsg-$(random_string)" # 287| Error: SHELLCHECK_WARNING (CWE-571): [#def15] /usr/share/podman/test/system/280-update.bats:286:11: warning[SC2155]: Declare and assign separately to avoid masking return values. # 284| mkdir $TMP_DIR_HEALTHCHECK # 285| local ctrname="c-h-$(safename)" # 286|-> local msg="healthmsg-$(random_string)" # 287| # 288| run_podman run -d --name $ctrname \
| analyzer-version-clippy | 1.82.0 |
| analyzer-version-cppcheck | 2.16.0 |
| analyzer-version-gcc | 14.2.1 |
| analyzer-version-gcc-analyzer | 14.2.1 |
| 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 | 14.2.1 |
| 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-191.us-west-2.compute.internal |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | podman-5.4.0~dev-1.20241119183145516369.main.216.dd97d3e19 |
| diffbase-store-results-to | /tmp/tmpp2xfvoau/podman-5.4.0~dev-1.20241119183145516369.main.216.dd97d3e19.tar.xz |
| diffbase-time-created | 2024-11-19 19:29:24 |
| diffbase-time-finished | 2024-11-19 19:41:20 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpp2xfvoau/podman-5.4.0~dev-1.20241119183145516369.main.216.dd97d3e19.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmpp2xfvoau/podman-5.4.0~dev-1.20241119183145516369.main.216.dd97d3e19.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-191.us-west-2.compute.internal |
| mock-config | fedora-rawhide-x86_64 |
| project-name | podman-5.4.0~dev-1.20241119192027540015.pr24442.218.f80f90f0b |
| store-results-to | /tmp/tmparl4tg5b/podman-5.4.0~dev-1.20241119192027540015.pr24442.218.f80f90f0b.tar.xz |
| time-created | 2024-11-19 19:41:44 |
| time-finished | 2024-11-19 19:53:10 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmparl4tg5b/podman-5.4.0~dev-1.20241119192027540015.pr24442.218.f80f90f0b.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmparl4tg5b/podman-5.4.0~dev-1.20241119192027540015.pr24442.218.f80f90f0b.src.rpm' |
| tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |