Commit e72202d - Merge tagged docker tests into tests.yml and add missing dependencies

4 files Authored and Committed by merlinm 2 years ago
- Merge tagged docker tests into tests.yml and add missing dependencies
- Remove obsolete test_docker.yml and test_local.yml playbooks that use
  obsolete standard-test-docker and standard-test-selector roles

    
1 @@ -0,0 +1,2 @@
2 + *.retry
3 + artifacts*
 1 @@ -1,12 +0,0 @@
 2 - ---
 3 - - hosts: localhost
 4 -   vars:
 5 -     artifacts: ./artifacts
 6 -     playbooks: ./test_local.yml
 7 -   vars_prompt:
 8 -   - name: subjects
 9 -     prompt: "Name of Docker image test subject"
10 -     private: no
11 - 
12 -   roles:
13 -   - standard-test-docker
 1 @@ -1,34 +0,0 @@
 2 - ---
 3 - # This first play always runs on the local staging system
 4 - - hosts: localhost
 5 -   roles:
 6 -   - role: standard-test-selector
 7 -     tests_not_docker:
 8 -     - anacron-segfaults-with-certain-config-data
 9 -     - anacron-segfaults-with-certain-config-data-2
10 -     - init-script-failure
11 -     - echos-OK-twice-in-init-script
12 -     - cronie-jobs-environment
13 -     - only-one-running-instance-in-time
14 -     - cron-daemon-fails-to-log-that-it-is-shutting-down
15 -     - crond-subtask-abnormal-termination-removes-pid-file-in-error
16 -     - crontab-can-invoke-lookup-for-nonexisted-user
17 -     - Cron-does-uid-lookups-for-non-existent-users
18 -     - init-scripts-LSB
19 -     - ldap-users
20 -     - MAILTO-problem-with-anacron
21 -     - run-with-syslog-flag
22 -     tests_all:
23 -     - Can-t-remove-crontab-from-expired-accounts
24 -     - Make-crontab-a-PIE
25 -     - config-parsing-issue
26 -     - crond-is-missing-RELRO-flags
27 -     - crontab-has-wrong-permissions
28 -     - usr-bin-crontab-has-wrong-permissions
29 - 
30 -   - role: standard-test-beakerlib
31 -     tests: "{{ selected_tests }}"
32 -     required_packages:
33 -     - findutils         # beakerlib needs find command
34 -     - procps-ng         # multiple tests need ps and pidof commands
35 -     - psmisc            # multiple tests need killall command
 1 @@ -41,3 +41,22 @@
 2       - sssd              # ldap-users needs this package
 3       - sssd-ldap         # ldap-users needs this package
 4   
 5 + # Tests to run in a container environment
 6 + - hosts: localhost
 7 +   roles:
 8 +   - role: standard-test-beakerlib
 9 +     tags:
10 +     - container
11 +     tests:
12 +     - Can-t-remove-crontab-from-expired-accounts
13 +     - Make-crontab-a-PIE
14 +     - config-parsing-issue
15 +     - crond-is-missing-RELRO-flags
16 +     - crontab-has-wrong-permissions
17 +     - usr-bin-crontab-has-wrong-permissions
18 +     required_packages:
19 +     - cronie            # everything needs cronie package
20 +     - findutils         # beakerlib needs find command
21 +     - procps-ng         # multiple tests need ps and pidof commands
22 +     - psmisc            # multiple tests need killall command
23 +     - elfutils          # multiple tests need eu-readelf tool