|
25 | 25 | suffix: sct-repo
|
26 | 26 | register: repo_tmpdir
|
27 | 27 |
|
| 28 | + - debug: var=repo_tmpdir |
| 29 | + |
28 | 30 | - name: Create a temporary directory for results
|
29 | 31 | ansible.builtin.tempfile:
|
30 | 32 | state: directory
|
|
52 | 54 | - name: Ensure required individual Python packages are installed
|
53 | 55 | ansible.builtin.pip:
|
54 | 56 | name:
|
55 |
| - - "{{ repo_tmpdir.path }}" |
56 | 57 | - pytest-html
|
57 | 58 | - pytest-timeout
|
58 | 59 | virtualenv: "{{ sct_venv }}"
|
|
67 | 68 | file: "{{ kayobe_env_config_path }}/kolla/passwords.yml"
|
68 | 69 | name: kolla_passwords
|
69 | 70 |
|
| 71 | + - name: Print CWD |
| 72 | + ansible.builtin.command: |
| 73 | + cmd: > |
| 74 | + /usr/bin/pwd |
| 75 | + register: debug_working_dir |
| 76 | + |
| 77 | + - debug: var=debug_working_dir |
| 78 | + |
70 | 79 | # Monitoring tests should run once, executed on the host in the
|
71 | 80 | # tempest_runner group.
|
72 | 81 | - name: Run StackHPC Cloud monitoring tests
|
|
75 | 84 | {{ sct_venv }}/bin/py.test
|
76 | 85 | --html={{ results_tmpdir.path }}/monitoring.html
|
77 | 86 | --self-contained-html
|
78 |
| - --pyargs stackhpc_cloud_tests |
79 | 87 | --timeout {{ sct_timeout }}
|
80 | 88 | -rfEx
|
81 | 89 | -vv
|
82 |
| - # -k monitoring |
| 90 | + "{{ repo_tmpdir.path }}/stackhpc_cloud_tests/monitoring" |
83 | 91 | environment:
|
84 | 92 | GRAFANA_URL: "{{ sct_grafana_url }}"
|
85 | 93 | GRAFANA_USERNAME: "{{ sct_grafana_username }}"
|
|
125 | 133 | {{ sct_venv }}/bin/py.test
|
126 | 134 | --html={{ results_tmpdir.path }}/host-{{ inventory_hostname }}.html
|
127 | 135 | --self-contained-html
|
128 |
| - --pyargs stackhpc_cloud_tests |
129 | 136 | --timeout {{ sct_timeout }}
|
130 | 137 | -vv
|
131 |
| - # -k monitoring |
| 138 | + "{{ repo_tmpdir.path }}/stackhpc_cloud_tests/host" |
132 | 139 | environment:
|
133 | 140 | DOCKER_VERSION_MIN: "{{ sct_docker_version_min }}"
|
134 | 141 | DOCKER_VERSION_MAX: "{{ sct_docker_version_max }}"
|
|
0 commit comments