diff -Nru magnum-tempest-plugin-1.1.0/debian/changelog magnum-tempest-plugin-1.5.0/debian/changelog --- magnum-tempest-plugin-1.1.0/debian/changelog 2020-10-18 08:37:27.000000000 +0000 +++ magnum-tempest-plugin-1.5.0/debian/changelog 2021-09-30 11:38:20.000000000 +0000 @@ -1,3 +1,40 @@ +magnum-tempest-plugin (1.5.0-2) unstable; urgency=medium + + * Uploading to unstable. + + -- Thomas Goirand Thu, 30 Sep 2021 13:38:20 +0200 + +magnum-tempest-plugin (1.5.0-1) experimental; urgency=medium + + * New upstream release. + + -- Thomas Goirand Mon, 27 Sep 2021 10:55:55 +0200 + +magnum-tempest-plugin (1.4.0-1) experimental; urgency=medium + + * New upstream release. + + -- Thomas Goirand Mon, 30 Aug 2021 17:43:58 +0200 + +magnum-tempest-plugin (1.3.0-2) unstable; urgency=medium + + * Upload to unstable. + + -- Thomas Goirand Mon, 16 Aug 2021 16:52:33 +0200 + +magnum-tempest-plugin (1.3.0-1) experimental; urgency=medium + + * New upstream release. + + -- Thomas Goirand Tue, 30 Mar 2021 13:37:34 +0200 + +magnum-tempest-plugin (1.2.0-1) experimental; urgency=medium + + * New upstream release. + * Removed openstack-pkg-tools build-depends version. + + -- Thomas Goirand Sun, 28 Mar 2021 12:26:09 +0200 + magnum-tempest-plugin (1.1.0-2) unstable; urgency=medium * Uploading to unstable. diff -Nru magnum-tempest-plugin-1.1.0/debian/control magnum-tempest-plugin-1.5.0/debian/control --- magnum-tempest-plugin-1.1.0/debian/control 2020-10-18 08:37:27.000000000 +0000 +++ magnum-tempest-plugin-1.5.0/debian/control 2021-09-30 11:38:20.000000000 +0000 @@ -7,7 +7,7 @@ Build-Depends: debhelper-compat (= 11), dh-python, - openstack-pkg-tools (>= 109~), + openstack-pkg-tools, python3-all, python3-pbr, python3-setuptools, diff -Nru magnum-tempest-plugin-1.1.0/magnum_tempest_plugin/tests/api/v1/clients/cluster_client.py magnum-tempest-plugin-1.5.0/magnum_tempest_plugin/tests/api/v1/clients/cluster_client.py --- magnum-tempest-plugin-1.1.0/magnum_tempest_plugin/tests/api/v1/clients/cluster_client.py 2020-06-23 09:36:07.000000000 +0000 +++ magnum-tempest-plugin-1.5.0/magnum_tempest_plugin/tests/api/v1/clients/cluster_client.py 2021-07-27 15:23:08.000000000 +0000 @@ -167,7 +167,13 @@ def does_cluster_not_exist(self, cluster_id): try: - self.get_cluster(cluster_id) + resp, model = self.get_cluster(cluster_id) + if model.status in ['ERROR', 'DELETE_FAILED']: + self.LOG.error('Cluster %s is in failed state, status_reason: ' + '%s', cluster_id, model.status_reason) + raise exceptions.ServerFault( + "Got into an error condition: %s for %s" % + (model.status, cluster_id)) except exceptions.NotFound: self.LOG.warning('Cluster %s is not found.', cluster_id) return True diff -Nru magnum-tempest-plugin-1.1.0/magnum_tempest_plugin/tests/api/v1/test_cluster.py magnum-tempest-plugin-1.5.0/magnum_tempest_plugin/tests/api/v1/test_cluster.py --- magnum-tempest-plugin-1.1.0/magnum_tempest_plugin/tests/api/v1/test_cluster.py 2020-06-23 09:36:07.000000000 +0000 +++ magnum-tempest-plugin-1.5.0/magnum_tempest_plugin/tests/api/v1/test_cluster.py 2021-07-27 15:23:08.000000000 +0000 @@ -224,14 +224,20 @@ exceptions.BadRequest, self.cluster_client.post_cluster, gen_model) - @testtools.testcase.attr('negative') + @testtools.testcase.attr('positive') + @testtools.testcase.attr('slow') @decorators.idempotent_id('262eb132-a857-11e9-9382-00224d6b7bc1') - def test_create_cluster_with_node_count_0(self): + def test_create_cluster_with_zero_nodes(self): gen_model = datagen.valid_cluster_data( cluster_template_id=self.cluster_template.uuid, node_count=0) - self.assertRaises( - exceptions.BadRequest, - self.cluster_client.post_cluster, gen_model) + + # test cluster create + _, cluster_model = self._create_cluster(gen_model) + self.assertNotIn('status', cluster_model) + + # test cluster delete + self._delete_cluster(cluster_model.uuid) + self.clusters.remove(cluster_model.uuid) @testtools.testcase.attr('negative') @decorators.idempotent_id('29c6c5f0-a857-11e9-9382-00224d6b7bc1') diff -Nru magnum-tempest-plugin-1.1.0/.zuul.yaml magnum-tempest-plugin-1.5.0/.zuul.yaml --- magnum-tempest-plugin-1.1.0/.zuul.yaml 2020-06-23 09:36:07.000000000 +0000 +++ magnum-tempest-plugin-1.5.0/.zuul.yaml 2021-07-27 15:23:08.000000000 +0000 @@ -16,7 +16,7 @@ vars: tox_envlist: all tempest_test_regex: ^magnum_tempest_plugin.tests.api - tempest_black_regex: ^magnum_tempest_plugin.tests.api.v1.test_cluster.ClusterTest.test_create_list_sign_delete_clusters + tempest_exclude_regex: (test_create_list_sign_delete_clusters|test_create_cluster_with_zero_nodes) devstack_local_conf: test-config: $TEMPEST_CONFIG: @@ -27,6 +27,9 @@ flavor_id: ds2G master_flavor_id: ds2G copy_logs: true + devstack_localrc: + # NOTE: extend default glance limit from 1GB + GLANCE_LIMIT_IMAGE_SIZE_TOTAL: 5000 - job: name: magnum-tempest-plugin-base