diff --git a/test-cases/apparmor-folks.yaml b/test-cases/apparmor-folks.yaml deleted file mode 100644 index 140a1b5531a22c571a8be5df0d5ecf54b2634646..0000000000000000000000000000000000000000 --- a/test-cases/apparmor-folks.yaml +++ /dev/null @@ -1,70 +0,0 @@ -metadata: - name: apparmor-folks - format: "Apertis Test Definition 1.0" - image-types: - minimal: [ armhf-internal, armhf, arm64, amd64 ] - target: [ armhf-internal, amd64 ] - sdk: [ amd64 ] - image-deployment: - - APT - type: functional - exec-type: automated - priority: medium - maintainer: "Apertis Project" - description: "Test that AppArmor profiles provided in Folks package work - without unexpected auditd log entries." - - expected: - - "A list of executed test with related result (as pass/fail/skip) will be - shown on console, similar to the following:" - - | - >R1.13b_folks-alias-persistence.expected: pass - R1.13b_folks-eds-compatibility.expected: pass - R1.13b_folks-metacontacts-linking.expected: pass - R1.13b_folks-metacontacts-unlinking.expected: pass - R1.13b_folks-libsocialweb.expected: pass - R6.4.2_folks-metacontacts-antilinking.expected: pass - R1.13b_folks-retrieve-contacts-telepathy.expected: pass - test-malicious.expected: pass - - notes: - - "Other output on the console such as warnings and errors should be ignored - if the test passes" - - "This TC is based on other Folks test cases, all of them should PASS in - order to execute them against AppArmor." - - "If a subtest for this TC FAILs, check that the related test is PASSING." - - "It is worth to investigate AppArmor-side only if the original TC PASSes and - the profiled version of it FAILs." - - "Any other scenario is either OK or worth waiting the original TC to PASS." - -install: - deps: - - apparmor - - apparmor-profiles - - busybox - - chaiwala-apparmor-profiles - - apertis-tests-apparmor-report - - chaiwala-tests - - evolution-data-server - - folks-tools - - syncevolution - - python3 - - telepathy-mission-control-5 - - telepathy-gabble - - libfolks-eds25 - - libfolks-telepathy25 - git-repos: - - url: https://gitlab.apertis.org/infrastructure/apertis-tests.git - branch: 'apertis/v2019dev0' - -run: - steps: - - "# Enter test directory:" - - cd apertis-tests - - "# Execute the following commands:" - - echo -n | sudo tee /var/log/audit/audit.log - - common/run-test-in-systemd --name=run-test-folks --timeout=300 apparmor/folks/test-folks - - sudo cat /var/log/audit/audit.log | aa_log_extract_tokens.pl PERMITTING REJECTING - -parse: - pattern: ^(?P<test_case_id>.+)\.expected:\s*(?P<result>PASS|pass|FAIL|fail|SKIP|skip|UNKNOWN|unknown)$