[CS9] scenario003-standalone-master failing on designate tests: "Nameservers list cannot be empty"

Bug #1995169 reported by Douglas Viroel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

periodic-tripleo-ci-centos-9-scenario003-standalone-master is failing on designate tempest tests with the following backtrace[1]:

---
setUpClass (designate_tempest_plugin.tests.api.v2.test_zones.ZonesTest)testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/tempest/test.py", line 168, in setUpClass
    raise value.with_traceback(trace)
  File "/usr/lib/python3.9/site-packages/tempest/test.py", line 158, in setUpClass
    cls.setup_clients()
  File "/usr/lib/python3.9/site-packages/designate_tempest_plugin/tests/api/v2/test_zones.py", line 69, in setup_clients
    super(ZonesTest, cls).setup_clients()
  File "/usr/lib/python3.9/site-packages/designate_tempest_plugin/tests/api/v2/test_zones.py", line 37, in setup_clients
    super(BaseZonesTest, cls).setup_clients()
  File "/usr/lib/python3.9/site-packages/designate_tempest_plugin/tests/base.py", line 100, in setup_clients
    cls.query_client = QueryClient(
  File "/usr/lib/python3.9/site-packages/designate_tempest_plugin/services/dns/query/query_client.py", line 27, in __init__
    self.nameservers = self._nameservers_not_empty(
  File "/usr/lib/python3.9/site-packages/designate_tempest_plugin/services/dns/query/query_client.py", line 37, in _nameservers_not_empty
    raise ValueError('Nameservers list cannot be empty and it should '
ValueError: Nameservers list cannot be empty and it should contain DNS backend IPs to "dig" for
---

This issue is related to a recent commmit merged on designate plugin[2] which makes a configuration mandatory to run these tests.

[1] https://review.rdoproject.org/zuul/builds?job_name=periodic-tripleo-ci-centos-9-scenario003-standalone-master&skip=0
[2] https://github.com/openstack/designate-tempest-plugin/commit/6c251b44c57f8d08d45468ef00a5c4d53a9c923b

Ronelle Landy (rlandy)
Changed in tripleo:
milestone: none → antelope-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ci (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/tripleo-ci/+/863092

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ci (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ci/+/863092
Committed: https://opendev.org/openstack/tripleo-ci/commit/880b0bc6c43a56fec3d1637a97792d3461d41293
Submitter: "Zuul (22348)"
Branch: master

commit 880b0bc6c43a56fec3d1637a97792d3461d41293
Author: Arx Cruz <email address hidden>
Date: Mon Oct 31 18:36:53 2022 +0100

    Adding dns.nameservers option in tempest

    Designate tests now requires at least one nameserver in tempest
    dns.nameservers option [1], this patch add it in order to make the test
    passes.

    1 - https://github.com/openstack/designate-tempest-plugin/commit/6c251b44c57f8d08d45468ef00a5c4d53a9c923b

    Closes-Bug: #1995169
    Change-Id: I6ddd0e3ab6acbeefe957d52482c59577af9e1658

Changed in tripleo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.