From fe921afa5b95c4d98210ba485ba16753389183ac Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Fri, 24 Feb 2023 16:15:58 -0500 Subject: [PATCH] Remove cppcheck jobs The plugin is deprecated and they are mostly unused. Change-Id: Ied5582fb297469f259818d40717f66c47e7c5bb3 Signed-off-by: Michael Jeanson --- .../ansible/roles/common/vars/Alpine.yml | 1 - .../ansible/roles/common/vars/Debian.yml | 1 - jobs/babeltrace.yaml | 22 ------------- jobs/librseq.yaml | 23 ------------- jobs/liburcu.yaml | 24 -------------- jobs/lttng-modules.yaml | 21 ------------ jobs/lttng-tools.yaml | 24 -------------- jobs/lttng-ust.yaml | 32 ------------------- lava/rootfs/vmdeboostrap/generate-root.py | 1 - 9 files changed, 149 deletions(-) diff --git a/automation/ansible/roles/common/vars/Alpine.yml b/automation/ansible/roles/common/vars/Alpine.yml index 3679fe6..6d04831 100644 --- a/automation/ansible/roles/common/vars/Alpine.yml +++ b/automation/ansible/roles/common/vars/Alpine.yml @@ -8,7 +8,6 @@ common_packages: - clang - cloc - coreutils - - cppcheck - curl - flex - gettext diff --git a/automation/ansible/roles/common/vars/Debian.yml b/automation/ansible/roles/common/vars/Debian.yml index 230c90d..475b754 100644 --- a/automation/ansible/roles/common/vars/Debian.yml +++ b/automation/ansible/roles/common/vars/Debian.yml @@ -7,7 +7,6 @@ common_packages: - clang - clang-tools - cloc - - cppcheck - curl - default-jdk-headless - emacs-nox diff --git a/jobs/babeltrace.yaml b/jobs/babeltrace.yaml index 9354aa4..c122f11 100644 --- a/jobs/babeltrace.yaml +++ b/jobs/babeltrace.yaml @@ -438,27 +438,6 @@ - build-discarder: days-to-keep: 1 -- job-template: - name: babeltrace_{version}_cppcheck - defaults: babeltrace - - triggers: - - pollscm: - cron: "@daily" - - builders: - - shell: | - rm -f cppcheck-result.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml - - publishers: - - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults - - archive: - artifacts: 'cppcheck-result.xml' - allow-empty: false - - cppcheck: - pattern: 'cppcheck-result.xml' - - job-template: name: babeltrace_{version}_scan-build defaults: babeltrace @@ -622,7 +601,6 @@ touchstone: '' - 'babeltrace_{version}_release': version: v2.0 - - 'babeltrace_{version}_cppcheck' - 'babeltrace_{version}_scan-build' - 'babeltrace_{version}_pylint' - 'babeltrace_{version}_coverity': diff --git a/jobs/librseq.yaml b/jobs/librseq.yaml index 385b662..d090bac 100644 --- a/jobs/librseq.yaml +++ b/jobs/librseq.yaml @@ -4,7 +4,6 @@ # jobtypes: # - build # - portbuild -# - cppcheck # - coverity # - scan-build # - pylint @@ -211,28 +210,6 @@ <<: *librseq_builders_defaults <<: *librseq_publishers_defaults -- job-template: - name: librseq_{version}_cppcheck - defaults: librseq - - triggers: - - pollscm: - cron: "@daily" - - builders: - - shell: | - rm -f cppcheck-result.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/librseq 2> cppcheck-result.xml - - publishers: - - archive: - artifacts: 'cppcheck-result.xml' - allow-empty: false - - cppcheck: - pattern: 'cppcheck-result.xml' - - workspace-cleanup: *librseq_publisher_workspace-cleanup_defaults - - email-ext: *librseq_publisher_email-ext_defaults - - job-template: name: dev_gerrit_librseq_{buildtype} defaults: librseq diff --git a/jobs/liburcu.yaml b/jobs/liburcu.yaml index b334be4..5767d18 100644 --- a/jobs/liburcu.yaml +++ b/jobs/liburcu.yaml @@ -4,7 +4,6 @@ # jobtypes: # - build # - portbuild -# - cppcheck # - coverity # - scan-build # - pylint @@ -203,28 +202,6 @@ <<: *liburcu_builders_defaults <<: *liburcu_publishers_defaults -- job-template: - name: liburcu_{version}_cppcheck - defaults: liburcu - - triggers: - - pollscm: - cron: "@daily" - - builders: - - shell: | - rm -f cppcheck-result.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/liburcu 2> cppcheck-result.xml - - publishers: - - archive: - artifacts: 'cppcheck-result.xml' - allow-empty: false - - cppcheck: - pattern: 'cppcheck-result.xml' - - workspace-cleanup: *liburcu_publisher_workspace_cleanup_defaults - - email-ext: *liburcu_publisher_email_ext_defaults - - job-template: name: dev_gerrit_liburcu_{buildtype} defaults: liburcu @@ -378,7 +355,6 @@ builds: !!python/tuple [std] confs: !!python/tuple [std] touchstone: '(build == "std")' - - 'liburcu_{version}_cppcheck' - 'liburcu_{version}_scan-build' - 'liburcu_{version}_coverity': version: master diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index 10a687c..41f0a06 100644 --- a/jobs/lttng-modules.yaml +++ b/jobs/lttng-modules.yaml @@ -619,26 +619,6 @@ allow-empty: false - workspace-cleanup -- job-template: - name: lttng-modules_{mversion}_cppcheck - defaults: lttng-modules - - triggers: - - pollscm: - cron: "@daily" - - builders: - - shell: | - rm -f cppcheck-result.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck-result.xml - - publishers: - - archive: - artifacts: 'cppcheck-result.xml' - allow-empty: false - - cppcheck: - pattern: 'cppcheck-result.xml' - ## Project - project: @@ -771,7 +751,6 @@ # Misc jobs - 'lttng-modules_ALL_trigger-vanilla' - - 'lttng-modules_{mversion}_cppcheck' - 'lttng-modules_{mversion}_coverity': mversion: master diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index 93c7b43..02647b6 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -721,27 +721,6 @@ fingerprint: true - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults -- job-template: - name: lttng-tools_{version}_cppcheck - defaults: lttng-tools - - triggers: - - pollscm: - cron: "@daily" - - builders: - - shell: | - rm -f cppcheck-result.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> cppcheck-result.xml - - publishers: - - archive: - artifacts: 'cppcheck-result.xml' - allow-empty: false - - cppcheck: - pattern: 'cppcheck-result.xml' - - email-ext: *lttng-tools_publisher_email-ext_defaults - - job-template: name: lttng-tools_{version}_scan-build defaults: lttng-tools @@ -1142,9 +1121,6 @@ urcuversion: stable-0.13 ustversion: stable-2.12 - # Other jobs - - 'lttng-tools_{version}_cppcheck' - - project: name: dev_upstream_lttng-tools job_prefix: 'dev_upstream_' diff --git a/jobs/lttng-ust.yaml b/jobs/lttng-ust.yaml index 82db156..5959d9a 100644 --- a/jobs/lttng-ust.yaml +++ b/jobs/lttng-ust.yaml @@ -425,32 +425,6 @@ - 'gerrit-{buildtype}' -- job-template: - name: lttng-ust_{version}_cppcheck - defaults: lttng-ust - - triggers: - - pollscm: - cron: "@daily" - - builders: - - shell: | - rm -f cppcheck-result.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-ust 2> cppcheck-result.xml - - publishers: - - archive: - artifacts: 'cppcheck-result.xml' - allow-empty: false - - cppcheck: - pattern: 'cppcheck-result.xml' - - email: - recipients: 'ci-notification@lists.lttng.org' - notify-every-unstable-build: true - send-to-individuals: false - - workspace-cleanup: *lttng-ust_publisher_workspace-cleanup_defaults - - - job-template: name: lttng-ust_{version}_scan-build defaults: lttng-ust @@ -579,8 +553,6 @@ liburcu_versions: !!python/tuple [stable-0.13, master] filter: '' touchstone: '' - - 'lttng-ust_{version}_cppcheck': - version: master - 'lttng-ust_{version}_scan-build': version: master - 'lttng-ust_{version}_coverity': @@ -632,8 +604,6 @@ liburcu_versions: !!python/tuple [stable-0.13, master] filter: '' touchstone: '' - - 'lttng-ust_{version}_cppcheck': - version: stable-2.13 - 'lttng-ust_{version}_scan-build': version: stable-2.13 @@ -683,8 +653,6 @@ liburcu_versions: !!python/tuple [stable-0.13] filter: '' touchstone: '' - - 'lttng-ust_{version}_cppcheck': - version: stable-2.12 - 'lttng-ust_{version}_scan-build': version: stable-2.12 diff --git a/lava/rootfs/vmdeboostrap/generate-root.py b/lava/rootfs/vmdeboostrap/generate-root.py index f9c3854..02e66d8 100755 --- a/lava/rootfs/vmdeboostrap/generate-root.py +++ b/lava/rootfs/vmdeboostrap/generate-root.py @@ -40,7 +40,6 @@ packages = [ 'chrpath', 'clang', 'cloc', - 'cppcheck', 'curl', 'elfutils', 'flex', -- 2.34.1