Merge ~raychan96/charm-telegraf:update-test-bundle into charm-telegraf:master
- Git
- lp:~raychan96/charm-telegraf
- update-test-bundle
- Merge into master
| Status: | Merged |
|---|---|
| Approved by: | Eric Chen |
| Approved revision: | 919b67acf8f25dc3a023872f352dbf36739a9f4b |
| Merged at revision: | 7c2ee02170655f939637d5e496f0ac088336a20c |
| Proposed branch: | ~raychan96/charm-telegraf:update-test-bundle |
| Merge into: | charm-telegraf:master |
| Diff against target: |
222 lines (+5/-21) 7 files modified
charmcraft.yaml (+0/-4) dev/null (+0/-9) src/tests/functional/requirements.txt (+1/-0) src/tests/functional/tests/bundles/base-compute.yaml (+3/-0) src/tests/functional/tests/bundles/overlays/jammy-compute.yaml.j2 (+1/-1) src/tests/functional/tests/tests.yaml (+0/-6) src/tox.ini (+0/-1) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| JamesLin | Approve | ||
| Eric Chen | Approve | ||
| 🤖 prod-jenkaas-bootstack (community) | continuous-integration | Approve | |
|
Review via email:
|
|||
Commit message
Update openstack charms' channel to match the corresponding ubuntu series, and add juju 3.1 support for functional test.
Description of the change
| 🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote : | # |
| Eric Chen (eric-chen) : | # |
| 🤖 prod-jenkaas-bootstack (prod-jenkaas-bootstack) wrote : | # |
FAILED: Continuous integration, rev:c3caec899da
https:/
Executed test runs:
FAILURE: https:/
None: https:/
Click here to trigger a rebuild:
https:/
| 🤖 prod-jenkaas-bootstack (prod-jenkaas-bootstack) wrote : | # |
FAILED: Continuous integration, rev:c3caec899da
https:/
Executed test runs:
FAILURE: https:/
None: https:/
Click here to trigger a rebuild:
https:/
| 🤖 prod-jenkaas-bootstack (prod-jenkaas-bootstack) wrote : | # |
FAILED: Continuous integration, rev:c3caec899da
https:/
Executed test runs:
FAILURE: https:/
None: https:/
Click here to trigger a rebuild:
https:/
| Tianqi Xiao (txiao) wrote : | # |
Re-triggering CI
| 🤖 prod-jenkaas-bootstack (prod-jenkaas-bootstack) wrote : | # |
FAILED: Continuous integration, rev:c3caec899da
https:/
Executed test runs:
FAILURE: https:/
None: https:/
Click here to trigger a rebuild:
https:/
| 🤖 prod-jenkaas-bootstack (prod-jenkaas-bootstack) wrote : | # |
FAILED: Continuous integration, rev:f6b22ea08c4
https:/
Executed test runs:
FAILURE: https:/
None: https:/
Click here to trigger a rebuild:
https:/
| 🤖 prod-jenkaas-bootstack (prod-jenkaas-bootstack) wrote : | # |
FAILED: Continuous integration, rev:f6b22ea08c4
https:/
Executed test runs:
FAILURE: https:/
None: https:/
Click here to trigger a rebuild:
https:/
| 🤖 prod-jenkaas-bootstack (prod-jenkaas-bootstack) wrote : | # |
FAILED: Continuous integration, rev:91694dd1c61
https:/
Executed test runs:
FAILURE: https:/
None: https:/
Click here to trigger a rebuild:
https:/
| Eric Chen (eric-chen) wrote : | # |
It's weird that we need to create the log in the charm. It was pass in
https:/
I think we do not find the real root cause.
| Chi Wai CHAN (raychan96) wrote (last edit ): | # |
This was a silence error, and I also could not find out when and how telegraf was changed from the upstream project. However, this is a new bug because both `install_
| 🤖 prod-jenkaas-bootstack (prod-jenkaas-bootstack) wrote : | # |
FAILED: Continuous integration, rev:0192d94d9e7
https:/
Executed test runs:
FAILURE: https:/
None: https:/
Click here to trigger a rebuild:
https:/
| Eric Chen (eric-chen) wrote : | # |
wait for 1.28.2 release then we can remove "create_
https:/
| 🤖 prod-jenkaas-bootstack (prod-jenkaas-bootstack) wrote : | # |
PASSED: Continuous integration, rev:919b67acf8f
https:/
Executed test runs:
SUCCESS: https:/
None: https:/
Click here to trigger a rebuild:
https:/
| Eric Chen (eric-chen) : | # |
| JamesLin (jneo8) : | # |
| Chi Wai CHAN (raychan96) wrote : | # |
I've a major change to this MP, please double check if it's okay to you.
| 🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote : | # |
Change successfully merged at revision 7c2ee02170655f9
Preview Diff
| 1 | diff --git a/charmcraft.yaml b/charmcraft.yaml | |||
| 2 | index 559f214..0dcc80d 100644 | |||
| 3 | --- a/charmcraft.yaml | |||
| 4 | +++ b/charmcraft.yaml | |||
| 5 | @@ -30,7 +30,3 @@ bases: | |||
| 6 | 30 | channel: "20.04" | 30 | channel: "20.04" |
| 7 | 31 | architectures: | 31 | architectures: |
| 8 | 32 | - amd64 | 32 | - amd64 |
| 9 | 33 | - name: ubuntu | ||
| 10 | 34 | channel: "18.04" | ||
| 11 | 35 | architectures: | ||
| 12 | 36 | - amd64 | ||
| 13 | diff --git a/src/tests/functional/requirements.txt b/src/tests/functional/requirements.txt | |||
| 14 | index e0e4940..a4ec443 100644 | |||
| 15 | --- a/src/tests/functional/requirements.txt | |||
| 16 | +++ b/src/tests/functional/requirements.txt | |||
| 17 | @@ -2,3 +2,4 @@ | |||
| 18 | 2 | # https://github.com/openstack-charmers/zaza/issues/452 | 2 | # https://github.com/openstack-charmers/zaza/issues/452 |
| 19 | 3 | keystoneauth1 | 3 | keystoneauth1 |
| 20 | 4 | python-novaclient | 4 | python-novaclient |
| 21 | 5 | git+https://github.com/openstack-charmers/zaza.git@libjuju-3.1#egg=zaza | ||
| 22 | diff --git a/src/tests/functional/tests/bundles/base-compute.yaml b/src/tests/functional/tests/bundles/base-compute.yaml | |||
| 23 | index 623d03d..7ab26ac 100644 | |||
| 24 | --- a/src/tests/functional/tests/bundles/base-compute.yaml | |||
| 25 | +++ b/src/tests/functional/tests/bundles/base-compute.yaml | |||
| 26 | @@ -22,6 +22,9 @@ machines: | |||
| 27 | 22 | applications: | 22 | applications: |
| 28 | 23 | telegraf: | 23 | telegraf: |
| 29 | 24 | num_units: 0 | 24 | num_units: 0 |
| 30 | 25 | options: | ||
| 31 | 26 | install_method: 'deb' | ||
| 32 | 27 | install_sources: 'ppa:telegraf-devs/staging' # Temporary fix for 23.10 release | ||
| 33 | 25 | nova-cloud-controller-mysql-router: | 28 | nova-cloud-controller-mysql-router: |
| 34 | 26 | charm: ch:mysql-router | 29 | charm: ch:mysql-router |
| 35 | 27 | keystone-mysql-router: | 30 | keystone-mysql-router: |
| 36 | diff --git a/src/tests/functional/tests/bundles/base.yaml b/src/tests/functional/tests/bundles/base.yaml | |||
| 37 | 28 | deleted file mode 100644 | 31 | deleted file mode 100644 |
| 38 | index d63e529..0000000 | |||
| 39 | --- a/src/tests/functional/tests/bundles/base.yaml | |||
| 40 | +++ /dev/null | |||
| 41 | @@ -1,31 +0,0 @@ | |||
| 42 | 1 | applications: | ||
| 43 | 2 | percona-cluster: | ||
| 44 | 3 | charm: ch:percona-cluster | ||
| 45 | 4 | num_units: 1 | ||
| 46 | 5 | telegraf: | ||
| 47 | 6 | num_units: 0 | ||
| 48 | 7 | options: | ||
| 49 | 8 | prometheus_datasource: prometheus2 | ||
| 50 | 9 | prometheus_ip_range: '0.0.0.0/0' | ||
| 51 | 10 | grafana: | ||
| 52 | 11 | charm: ch:grafana | ||
| 53 | 12 | num_units: 1 | ||
| 54 | 13 | options: | ||
| 55 | 14 | install_method: snap | ||
| 56 | 15 | prometheus2: | ||
| 57 | 16 | charm: ch:prometheus2 | ||
| 58 | 17 | num_units: 1 | ||
| 59 | 18 | |||
| 60 | 19 | relations: | ||
| 61 | 20 | - - percona-cluster:juju-info | ||
| 62 | 21 | - telegraf:juju-info | ||
| 63 | 22 | - - percona-cluster:db-admin | ||
| 64 | 23 | - telegraf:mysql | ||
| 65 | 24 | - - prometheus2:target | ||
| 66 | 25 | - telegraf:prometheus-client | ||
| 67 | 26 | - - grafana:grafana-source | ||
| 68 | 27 | - prometheus2:grafana-source | ||
| 69 | 28 | - - grafana:dashboards | ||
| 70 | 29 | - telegraf:dashboards | ||
| 71 | 30 | - - prometheus2:prometheus-rules | ||
| 72 | 31 | - telegraf:prometheus-rules | ||
| 73 | diff --git a/src/tests/functional/tests/bundles/bionic-compute.yaml b/src/tests/functional/tests/bundles/bionic-compute.yaml | |||
| 74 | 32 | deleted file mode 120000 | 0 | deleted file mode 120000 |
| 75 | index 1787a74..0000000 | |||
| 76 | --- a/src/tests/functional/tests/bundles/bionic-compute.yaml | |||
| 77 | +++ /dev/null | |||
| 78 | @@ -1 +0,0 @@ | |||
| 79 | 1 | ./base-compute.yaml | ||
| 80 | 2 | \ No newline at end of file | 0 | \ No newline at end of file |
| 81 | diff --git a/src/tests/functional/tests/bundles/bionic.yaml b/src/tests/functional/tests/bundles/bionic.yaml | |||
| 82 | 3 | deleted file mode 120000 | 1 | deleted file mode 120000 |
| 83 | index 07c6c99..0000000 | |||
| 84 | --- a/src/tests/functional/tests/bundles/bionic.yaml | |||
| 85 | +++ /dev/null | |||
| 86 | @@ -1 +0,0 @@ | |||
| 87 | 1 | ./base.yaml | ||
| 88 | 2 | \ No newline at end of file | 0 | \ No newline at end of file |
| 89 | diff --git a/src/tests/functional/tests/bundles/focal.yaml b/src/tests/functional/tests/bundles/focal.yaml | |||
| 90 | 3 | deleted file mode 120000 | 1 | deleted file mode 120000 |
| 91 | index 07c6c99..0000000 | |||
| 92 | --- a/src/tests/functional/tests/bundles/focal.yaml | |||
| 93 | +++ /dev/null | |||
| 94 | @@ -1 +0,0 @@ | |||
| 95 | 1 | ./base.yaml | ||
| 96 | 2 | \ No newline at end of file | 0 | \ No newline at end of file |
| 97 | diff --git a/src/tests/functional/tests/bundles/jammy.yaml b/src/tests/functional/tests/bundles/jammy.yaml | |||
| 98 | 3 | deleted file mode 120000 | 1 | deleted file mode 120000 |
| 99 | index 07c6c99..0000000 | |||
| 100 | --- a/src/tests/functional/tests/bundles/jammy.yaml | |||
| 101 | +++ /dev/null | |||
| 102 | @@ -1 +0,0 @@ | |||
| 103 | 1 | ./base.yaml | ||
| 104 | 2 | \ No newline at end of file | 0 | \ No newline at end of file |
| 105 | diff --git a/src/tests/functional/tests/bundles/overlays/bionic-compute.yaml.j2 b/src/tests/functional/tests/bundles/overlays/bionic-compute.yaml.j2 | |||
| 106 | 3 | deleted file mode 100644 | 1 | deleted file mode 100644 |
| 107 | index ccf0cfc..0000000 | |||
| 108 | --- a/src/tests/functional/tests/bundles/overlays/bionic-compute.yaml.j2 | |||
| 109 | +++ /dev/null | |||
| 110 | @@ -1,40 +0,0 @@ | |||
| 111 | 1 | series: bionic | ||
| 112 | 2 | |||
| 113 | 3 | machines: | ||
| 114 | 4 | '0': | ||
| 115 | 5 | series: focal | ||
| 116 | 6 | '1': | ||
| 117 | 7 | series: focal | ||
| 118 | 8 | '2': | ||
| 119 | 9 | series: focal | ||
| 120 | 10 | '3': | ||
| 121 | 11 | '4': | ||
| 122 | 12 | series: focal | ||
| 123 | 13 | '5': | ||
| 124 | 14 | series: focal | ||
| 125 | 15 | '6': | ||
| 126 | 16 | series: focal | ||
| 127 | 17 | '7': | ||
| 128 | 18 | '8': | ||
| 129 | 19 | '9': | ||
| 130 | 20 | series: focal | ||
| 131 | 21 | |||
| 132 | 22 | applications: | ||
| 133 | 23 | nova-cloud-controller-mysql-router: | ||
| 134 | 24 | series: focal | ||
| 135 | 25 | keystone-mysql-router: | ||
| 136 | 26 | series: focal | ||
| 137 | 27 | neutron-api-mysql-router: | ||
| 138 | 28 | series: focal | ||
| 139 | 29 | placement-mysql-router: | ||
| 140 | 30 | series: focal | ||
| 141 | 31 | mysql-innodb-cluster: | ||
| 142 | 32 | series: focal | ||
| 143 | 33 | keystone: | ||
| 144 | 34 | series: focal | ||
| 145 | 35 | nova-cloud-controller: | ||
| 146 | 36 | series: focal | ||
| 147 | 37 | neutron-api: | ||
| 148 | 38 | series: focal | ||
| 149 | 39 | placement: | ||
| 150 | 40 | series: focal | ||
| 151 | diff --git a/src/tests/functional/tests/bundles/overlays/bionic.yaml.j2 b/src/tests/functional/tests/bundles/overlays/bionic.yaml.j2 | |||
| 152 | 41 | deleted file mode 100644 | 0 | deleted file mode 100644 |
| 153 | index 65b2826..0000000 | |||
| 154 | --- a/src/tests/functional/tests/bundles/overlays/bionic.yaml.j2 | |||
| 155 | +++ /dev/null | |||
| 156 | @@ -1 +0,0 @@ | |||
| 157 | 1 | series: bionic | ||
| 158 | diff --git a/src/tests/functional/tests/bundles/overlays/focal.yaml.j2 b/src/tests/functional/tests/bundles/overlays/focal.yaml.j2 | |||
| 159 | 2 | deleted file mode 100644 | 0 | deleted file mode 100644 |
| 160 | index 5331d30..0000000 | |||
| 161 | --- a/src/tests/functional/tests/bundles/overlays/focal.yaml.j2 | |||
| 162 | +++ /dev/null | |||
| 163 | @@ -1,5 +0,0 @@ | |||
| 164 | 1 | series: focal | ||
| 165 | 2 | |||
| 166 | 3 | applications: | ||
| 167 | 4 | percona-cluster: | ||
| 168 | 5 | series: bionic | ||
| 169 | diff --git a/src/tests/functional/tests/bundles/overlays/jammy-compute.yaml.j2 b/src/tests/functional/tests/bundles/overlays/jammy-compute.yaml.j2 | |||
| 170 | index 37a3367..441e8de 100644 | |||
| 171 | --- a/src/tests/functional/tests/bundles/overlays/jammy-compute.yaml.j2 | |||
| 172 | +++ b/src/tests/functional/tests/bundles/overlays/jammy-compute.yaml.j2 | |||
| 173 | @@ -16,4 +16,4 @@ applications: | |||
| 174 | 16 | nova-compute: | 16 | nova-compute: |
| 175 | 17 | channel: yoga/stable | 17 | channel: yoga/stable |
| 176 | 18 | placement: | 18 | placement: |
| 178 | 19 | channel: latest/edge | 19 | channel: yoga/stable |
| 179 | diff --git a/src/tests/functional/tests/bundles/overlays/jammy.yaml.j2 b/src/tests/functional/tests/bundles/overlays/jammy.yaml.j2 | |||
| 180 | 20 | deleted file mode 100644 | 20 | deleted file mode 100644 |
| 181 | index d1d4c1e..0000000 | |||
| 182 | --- a/src/tests/functional/tests/bundles/overlays/jammy.yaml.j2 | |||
| 183 | +++ /dev/null | |||
| 184 | @@ -1,9 +0,0 @@ | |||
| 185 | 1 | series: jammy | ||
| 186 | 2 | |||
| 187 | 3 | applications: | ||
| 188 | 4 | percona-cluster: | ||
| 189 | 5 | series: bionic | ||
| 190 | 6 | grafana: | ||
| 191 | 7 | series: focal | ||
| 192 | 8 | prometheus2: | ||
| 193 | 9 | series: focal | ||
| 194 | diff --git a/src/tests/functional/tests/tests.yaml b/src/tests/functional/tests/tests.yaml | |||
| 195 | index caa7b46..ef06d73 100644 | |||
| 196 | --- a/src/tests/functional/tests/tests.yaml | |||
| 197 | +++ b/src/tests/functional/tests/tests.yaml | |||
| 198 | @@ -1,14 +1,8 @@ | |||
| 199 | 1 | charm_name: telegraf | 1 | charm_name: telegraf |
| 200 | 2 | gate_bundles: | 2 | gate_bundles: |
| 201 | 3 | - base: bionic | ||
| 202 | 4 | - base: focal | ||
| 203 | 5 | - base: jammy | ||
| 204 | 6 | - base: focal-snap | 3 | - base: focal-snap |
| 205 | 7 | - compute: bionic-compute | ||
| 206 | 8 | - compute: focal-compute | 4 | - compute: focal-compute |
| 207 | 9 | - compute: jammy-compute | 5 | - compute: jammy-compute |
| 208 | 10 | smoke_bundles: | ||
| 209 | 11 | - base: focal | ||
| 210 | 12 | dev_bundles: | 6 | dev_bundles: |
| 211 | 13 | - compute: focal-compute | 7 | - compute: focal-compute |
| 212 | 14 | target_deploy_status: | 8 | target_deploy_status: |
| 213 | diff --git a/src/tox.ini b/src/tox.ini | |||
| 214 | index ff18d44..5cc8d0b 100644 | |||
| 215 | --- a/src/tox.ini | |||
| 216 | +++ b/src/tox.ini | |||
| 217 | @@ -81,5 +81,4 @@ deps = | |||
| 218 | 81 | changedir = {toxinidir}/tests/functional | 81 | changedir = {toxinidir}/tests/functional |
| 219 | 82 | commands = functest-run-suite {posargs:--keep-faulty-model} | 82 | commands = functest-run-suite {posargs:--keep-faulty-model} |
| 220 | 83 | deps = | 83 | deps = |
| 221 | 84 | git+https://github.com/openstack-charmers/zaza.git#egg=zaza | ||
| 222 | 85 | -r {toxinidir}/tests/functional/requirements.txt | 84 | -r {toxinidir}/tests/functional/requirements.txt |

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.