Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tmt: can't disable lint check G001 #3156

Closed
bgoncalv opened this issue Aug 20, 2024 · 1 comment · Fixed by #3158
Closed

tmt: can't disable lint check G001 #3156

bgoncalv opened this issue Aug 20, 2024 · 1 comment · Fixed by #3158
Labels
bug Something isn't working command | lint tmt lint command
Milestone

Comments

@bgoncalv
Copy link

tmt --version
tmt version: 1.35.0
git clone https://gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests
cd kernel-tests
git checkout 91734f29d9d1e5fc0a9e46d4527454c0c65963fe
tmt lint --outcome-only fail --disable-check G001
Lint checks on all
fail G001 duplicate id "3454c370-0d0f-494f-aef9-b842a53756d9" in "/kdump/analyse-crash-cmd/common_analyse"
fail G001 duplicate id "3454c370-0d0f-494f-aef9-b842a53756d9" in "/kdump/analyse-crash-cmd/simple_analyse"
fail G001 duplicate id "3454c370-0d0f-494f-aef9-b842a53756d9" in "/kdump/analyse-crash-cmd/simple_check"
fail G001 duplicate id "896b41ea-f80b-4aaf-9641-19e3b5b09627" in "/kdump/kexec-boot/basic"
fail G001 duplicate id "896b41ea-f80b-4aaf-9641-19e3b5b09627" in "/kdump/kexec-boot/exec_live"
fail G001 duplicate id "896b41ea-f80b-4aaf-9641-19e3b5b09627" in "/kdump/kexec-boot/memdebug"
fail G001 duplicate id "942f0232-906a-4644-9c5a-10a056845e58" in "/memory/config_debug_wx_test/config_debug_wx_test"
fail G001 duplicate id "942f0232-906a-4644-9c5a-10a056845e58" in "/memory/config_memtest/config_memtest"
fail G001 duplicate id "985f0229-d93c-44d3-8c67-f6b5472bf3d7" in "/security/crypto/17113"
fail G001 duplicate id "985f0229-d93c-44d3-8c67-f6b5472bf3d7" in "/security/crypto/1990040"
fail G001 duplicate id "c8c9ef7d-f618-4450-b379-452da8276732" in "/storage/ssd/nvme_suspend_disk_resume_io"
fail G001 duplicate id "c8c9ef7d-f618-4450-b379-452da8276732" in "/storage/ssd/nvme_suspend_mem_resume_io"
@happz happz added command | lint tmt lint command bug Something isn't working labels Aug 20, 2024
happz added a commit that referenced this issue Aug 20, 2024
Empty set is not the same as unset, and the test must respect that.

Fixes #3156
@happz happz added this to the 1.36 milestone Aug 20, 2024
martinhoyer added a commit to martinhoyer/tmt that referenced this issue Aug 20, 2024
@martinhoyer
Copy link
Collaborator

@happz you're too fast for me

happz added a commit that referenced this issue Aug 27, 2024
Empty set is not the same as unset, and the test must respect that.

Fixes #3156
@happz happz closed this as completed in 2faebfd Aug 27, 2024
The-Mule pushed a commit to The-Mule/tmt that referenced this issue Oct 14, 2024
Empty set is not the same as unset, and the test must respect that.

Fixes teemtee#3156
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working command | lint tmt lint command
Projects
None yet
3 participants