File tree Expand file tree Collapse file tree 4 files changed +22
-6
lines changed
Expand file tree Collapse file tree 4 files changed +22
-6
lines changed Original file line number Diff line number Diff line change @@ -1070,6 +1070,18 @@ pub(crate) fn update_integration() -> Result<()> {
10701070 tests_content. push_str ( "# THIS IS GENERATED CODE - DO NOT EDIT\n " ) ;
10711071 tests_content. push_str ( "# Generated by: cargo xtask tmt\n " ) ;
10721072 tests_content. push_str ( "\n " ) ;
1073+ // bootc probes for SELinux mac_admin capability by attempting chcon with
1074+ // an intentionally invalid label, which generates expected AVC denials.
1075+ // Report as informational only in OSCI gating test
1076+ tests_content
1077+ . push_str ( "# bootc probes for SELinux mac_admin capability by attempting chcon with\n " ) ;
1078+ tests_content
1079+ . push_str ( "# an intentionally invalid label, which generates expected AVC denials.\n " ) ;
1080+ tests_content. push_str ( "# Report as informational only in OSCI gating test\n " ) ;
1081+ tests_content. push_str ( "check:\n " ) ;
1082+ tests_content. push_str ( " - how: avc\n " ) ;
1083+ tests_content. push_str ( " result: info\n " ) ;
1084+ tests_content. push_str ( "\n " ) ;
10731085 tests_content. push_str ( & tests_yaml_formatted) ;
10741086
10751087 // Only write if content changed
Original file line number Diff line number Diff line change 33cloud-init
44/usr/bin/flock
55/usr/bin/awk
6+ # Needed by tmt avc check
7+ audit
8+ policycoreutils
69# Required by install-to-filesystem-var-mount test
710parted
811lvm2
Original file line number Diff line number Diff line change 22provision:
33 how: virtual
44 image: $@{test_disk_image}
5- # bootc probes for SELinux mac_admin/install_t capability by attempting
6- # chcon with an intentionally invalid label (see lsm.rs test_install_t).
7- # This generates expected AVC denials that rhel-ci's injected AVC check
8- # would otherwise flag as test failures.
9- environment:
10- AVC_ERROR: +no_avc_check
115prepare:
126 # Install image mode system on package mode system
137 # Do not run on image mode VM running on Github CI and Locally
Original file line number Diff line number Diff line change 11# THIS IS GENERATED CODE - DO NOT EDIT
22# Generated by: cargo xtask tmt
33
4+ # bootc probes for SELinux mac_admin capability by attempting chcon with
5+ # an intentionally invalid label, which generates expected AVC denials.
6+ # Report as informational only in OSCI gating test
7+ check:
8+ - how: avc
9+ result: info
10+
411/test-01-readonly:
512 summary: Execute booted readonly/nondestructive tests
613 duration: 30m
You can’t perform that action at this time.
0 commit comments