• Bug#1100210: designate: FTBFS: KeyError: 'reason' (1/2)

    From Santiago Vila@21:1/5 to All on Wed Mar 12 17:40:13 2025
    Package: src:designate
    Version: 1:19.0.0-3
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    debian/rules clean
    make: pyversions: No such file or directory
    py3versions: no X-Python3-Version in control file, using supported versions
    dh clean --buildsystem=pybuild --with python3,sphinxdoc
    debian/rules override_dh_auto_clean
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    make[1]: pyversions: No such file or directory
    py3versions: no X-Python3-Version in control file, using supported versions python3 setup.py clean /usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
    !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.

    [... snipped ...]

    designate.tests.unit.workers.test_zone_tasks.TestParseQueryResults.test_result_cases_update_success_all ... ok
    DEBUG [designate.worker.tasks.zone] Results for polling zone_name=<Mock name='mock.name' id='140219943290256'> zone_id=<Mock name='mock.id' id='140219943290592'> action=UPDATE serial=2 query=DNSQueryResult(positives=4, no_zones=0, consensus_serial=3,
    results=[3, 3, 3, 3]) designate.tests.unit.workers.test_zone_tasks.TestParseQueryResults.test_result_cases_update_success_all_higher_serial
    designate.tests.unit.workers.test_zone_tasks.TestParseQueryResults.test_result_cases_update_success_all_higher_serial ... ok
    DEBUG [designate.worker.tasks.zone] Results for polling zone_name=<Mock name='mock.name' id='140219943291264'> zone_id=<Mock name='mock.id' id='140219943291600'> action=UPDATE serial=2 query=DNSQueryResult(positives=2, no_zones=1, consensus_serial=2,
    results=[2, 1, 0, 3]) designate.tests.unit.workers.test_zone_tasks.TestParseQueryResults.test_result_cases_update_success_with_higher_serial
    designate.tests.unit.workers.test_zone_tasks.TestParseQueryResults.test_result_cases_update_success_with_higher_serial ... ok
    DEBUG [designate.worker.tasks.zone] Polling serial=1 for zone_name=example.org. zone_id=<Mock name='mock.id' id='140219943293280'> action=<Mock name='mock.action' id='140219943293616'> on ns=<Mock id='140219943292272'>
    DEBUG [designate.worker.tasks.zone] Found serial=10 for zone_name=example.org. zone_id=<Mock name='mock.id' id='140219943293280'> action=<Mock name='mock.action' id='140219943293616'> on ns=<Mock id='140219943292272'>
    designate.tests.unit.workers.test_zone_tasks.TestPollForZone.test_call designate.tests.unit.workers.test_zone_tasks.TestPollForZone.test_call ... ok
    DEBUG [designate.worker.tasks.zone] Polling serial=1 for zone_name=example.org. zone_id=<Mock name='mock.id' id='140219943292272'> action=<Mock name='mock.action' id='140219943293952'> on ns=<Mock id='140219943292608'>
    WARNING [designate.worker.tasks.zone] Unexpected failure polling serial=1 for zone_name=example.org. zone_id=<Mock name='mock.id' id='140219943292272'> action=<Mock name='mock.action' id='140219943293952'> on ns=<Mock id='140219943292608'> Error=
    designate.tests.unit.workers.test_zone_tasks.TestPollForZone.test_call_exception_raised
    designate.tests.unit.workers.test_zone_tasks.TestPollForZone.test_call_exception_raised ... ok
    DEBUG [designate.worker.tasks.zone] Polling serial=1 for zone_name=example.org. zone_id=<Mock name='mock.id' id='140219943294624'> action=<Mock name='mock.action' id='140219943294960'> on ns=<Mock id='140219943292608'>
    INFO [designate.worker.tasks.zone] Timeout polling serial=1 for zone_name=example.org. zone_id=<Mock name='mock.id' id='140219943294624'> action=<Mock name='mock.action' id='140219943294960'> on ns=<Mock id='140219943292608'>
    designate.tests.unit.workers.test_zone_tasks.TestPollForZone.test_call_timeout designate.tests.unit.workers.test_zone_tasks.TestPollForZone.test_call_timeout ... ok
    designate.tests.unit.workers.test_zone_tasks.TestPollForZone.test_get_serial designate.tests.unit.workers.test_zone_tasks.TestPollForZone.test_get_serial ... ok
    DEBUG [designate.worker.tasks.zone] Sent NOTIFY to host=203.0.113.1:53 for zone_name=example.org. zone_id=None
    designate.tests.unit.workers.test_zone_tasks.TestSendNotify.test_call_notify designate.tests.unit.workers.test_zone_tasks.TestSendNotify.test_call_notify ... ok
    INFO [designate.worker.tasks.zone] Timeout on NOTIFY to host=203.0.113.1:53 for zone_name=example.org. zone_id=None
    designate.tests.unit.workers.test_zone_tasks.TestSendNotify.test_call_notify_timeout
    designate.tests.unit.workers.test_zone_tasks.TestSendNotify.test_call_notify_timeout ... ok
    DEBUG [designate.worker.tasks.zone] Updating status for zone_name=<Mock name='mock.name' id='140219943297984'> zone_id=<Mock name='mock.id' id='140219943298320'> to action=<Mock name='mock.action' id='140219943298656'> serial=0
    designate.tests.unit.workers.test_zone_tasks.TestUpdateStatus.test_call_central_call
    designate.tests.unit.workers.test_zone_tasks.TestUpdateStatus.test_call_central_call ... ok
    DEBUG [designate.worker.tasks.zone] Updating status for zone_name=<Mock name='mock.name' id='140219949663632'> zone_id=<Mock name='mock.id' id='140219943189344'> to action=CREATE serial=0
    designate.tests.unit.workers.test_zone_tasks.TestUpdateStatus.test_call_on_create_error
    designate.tests.unit.workers.test_zone_tasks.TestUpdateStatus.test_call_on_create_error ... ok
    DEBUG [designate.worker.tasks.zone] Updating status for zone_name=<Mock name='mock.name' id='140219943188000'> zone_id=<Mock name='mock.id' id='140219943187664'> to action=DELETE serial=0
    designate.tests.unit.workers.test_zone_tasks.TestUpdateStatus.test_call_on_delete
    designate.tests.unit.workers.test_zone_tasks.TestUpdateStatus.test_call_on_delete ... ok
    DEBUG [designate.worker.tasks.zone] Updating status for zone_name=<Mock name='mock.name' id='140219943175232'> zone_id=<Mock name='mock.id' id='140219943186656'> to action=DELETE serial=0
    designate.tests.unit.workers.test_zone_tasks.TestUpdateStatus.test_call_on_delete_error
    designate.tests.unit.workers.test_zone_tasks.TestUpdateStatus.test_call_on_delete_error ... ok
    DEBUG [designate.worker.tasks.zone] Updating status for zone_name=<Mock name='mock.name' id='140219943180272'> zone_id=<Mock name='mock.id' id='140219943182624'> to action=UPDATE serial=0
    designate.tests.unit.workers.test_zone_tasks.TestUpdateStatus.test_call_on_success
    designate.tests.unit.workers.test_zone_tasks.TestUpdateStatus.test_call_on_success ... ok
    DEBUG [designate.worker.tasks.zone] Updating status for zone_name=<Mock name='mock.name' id='140219943186320'> zone_id=<Mock name='mock.id' id='140219943184976'> to action=UPDATE serial=0
    designate.tests.unit.workers.test_zone_tasks.TestUpdateStatus.test_call_on_update_error
    designate.tests.unit.workers.test_zone_tasks.TestUpdateStatus.test_call_on_update_error ... ok
    INFO [designate.worker.tasks.zone] Attempting to CREATE zone_name=<Mock name='mock.name' id='140219947432800'> zone_id=<Mock name='mock.id' id='140219947432464'>
    designate.tests.unit.workers.test_zone_tasks.TestZoneAction.test_call designate.tests.unit.workers.test_zone_tasks.TestZoneAction.test_call ... ok
    INFO [designate.worker.tasks.zone] Attempting to CREATE zone_name=<Mock name='mock.name' id='140219947426080'> zone_id=<Mock name='mock.id' id='140219947429104'>
    designate.tests.unit.workers.test_zone_tasks.TestZoneAction.test_call_action_on_targets_false
    designate.tests.unit.workers.test_zone_tasks.TestZoneAction.test_call_action_on_targets_false ... ok
    INFO [designate.worker.tasks.zone] Attempting to CREATE zone_name=<Mock name='mock.name' id='140219944789936'> zone_id=<Mock name='mock.id' id='140219944783216'>
    designate.tests.unit.workers.test_zone_tasks.TestZoneAction.test_call_fails_on_poll_for_zone
    designate.tests.unit.workers.test_zone_tasks.TestZoneAction.test_call_fails_on_poll_for_zone ... ok
    INFO [designate.worker.tasks.zone] Attempting to CREATE zone_name=<Mock name='mock.name' id='140219950428720'> zone_id=<Mock name='mock.id' id='140219943391920'>
    designate.tests.unit.workers.test_zone_tasks.TestZoneAction.test_call_fails_on_zone_targets
    designate.tests.unit.workers.test_zone_tasks.TestZoneAction.test_call_fails_on_zone_targets ... ok
    INFO [designate.worker.tasks.zone] Attempting to DELETE zone_name=<Mock name='mock.name' id='140219943393936'> zone_id=<Mock name='mock.id' id='140219943394272'>
    designate.tests.unit.workers.test_zone_tasks.TestZoneAction.test_call_on_delete designate.tests.unit.workers.test_zone_tasks.TestZoneAction.test_call_on_delete ... ok
    INFO [designate.worker.tasks.zone] Attempting to CREATE zone_name=<Mock name='mock.name' id='140219943296304'> zone_id=<Mock name='mock.id' id='140219943292608'>
    designate.tests.unit.workers.test_zone_tasks.TestZoneAction.test_call_poll_for_zone_false
    designate.tests.unit.workers.test_zone_tasks.TestZoneAction.test_call_poll_for_zone_false ... ok
    designate.tests.unit.workers.test_zone_tasks.TestZoneAction.test_constructor designate.tests.unit.workers.test_zone_tasks.TestZoneAction.test_constructor ... ok
    designate.tests.unit.workers.test_zone_tasks.TestZoneAction.test_wait_for_nameservers
    designate.tests.unit.workers.test_zone_tasks.TestZoneAction.test_wait_for_nameservers ... ok
    DEBUG [designate.worker.tasks.zone] Attempting to CREATE zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'>
    DEBUG [designate.worker.tasks.zone] Sent NOTIFY to host=203.0.113.1:53 for zone_name=example.org. zone_id=None
    DEBUG [designate.worker.tasks.zone] Successfully performed CREATE for zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'>
    designate.tests.unit.workers.test_zone_tasks.TestZoneActionOnTarget.test_call_create
    designate.tests.unit.workers.test_zone_tasks.TestZoneActionOnTarget.test_call_create ... ok
    DEBUG [designate.worker.tasks.zone] Attempting to CREATE zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'>
    DEBUG [designate.worker.tasks.zone] Sent NOTIFY to host=203.0.113.1:53 for zone_name=cat.example.org. zone_id=None
    DEBUG [designate.worker.tasks.zone] Successfully performed CREATE for zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'>
    designate.tests.unit.workers.test_zone_tasks.TestZoneActionOnTarget.test_call_create_catalog_zone
    designate.tests.unit.workers.test_zone_tasks.TestZoneActionOnTarget.test_call_create_catalog_zone ... ok
    DEBUG [designate.worker.tasks.zone] Attempting to DELETE zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'>
    DEBUG [designate.worker.tasks.zone] Successfully performed DELETE for zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'>
    designate.tests.unit.workers.test_zone_tasks.TestZoneActionOnTarget.test_call_delete
    designate.tests.unit.workers.test_zone_tasks.TestZoneActionOnTarget.test_call_delete ... ok
    DEBUG [designate.worker.tasks.zone] Attempting to CREATE zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'>
    INFO [designate.worker.tasks.zone] Failed to CREATE zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'> on attempt=1 Error=
    INFO [designate.worker.tasks.zone] Failed to CREATE zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'> on attempt=2 Error=
    INFO [designate.worker.tasks.zone] Failed to CREATE zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'> on attempt=3 Error=
    INFO [designate.worker.tasks.zone] Failed to CREATE zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'> on attempt=4 Error=
    INFO [designate.worker.tasks.zone] Failed to CREATE zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'> on attempt=5 Error=
    INFO [designate.worker.tasks.zone] Failed to CREATE zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'> on attempt=6 Error=
    INFO [designate.worker.tasks.zone] Failed to CREATE zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'> on attempt=7 Error=
    INFO [designate.worker.tasks.zone] Failed to CREATE zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'> on attempt=8 Error=
    INFO [designate.worker.tasks.zone] Failed to CREATE zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'> on attempt=9 Error=
    INFO [designate.worker.tasks.zone] Failed to CREATE zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'> on attempt=10 Error=
    designate.tests.unit.workers.test_zone_tasks.TestZoneActionOnTarget.test_call_exception_raised
    designate.tests.unit.workers.test_zone_tasks.TestZoneActionOnTarget.test_call_exception_raised ... ok
    DEBUG [designate.worker.tasks.zone] Attempting to UPDATE zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'>
    DEBUG [designate.worker.tasks.zone] Sent NOTIFY to host=203.0.113.1:53 for zone_name=example.org. zone_id=None
    DEBUG [designate.worker.tasks.zone] Successfully performed UPDATE for zone_name=example.org. zone_id=None on target=<PoolTarget id:'4588652b-50e7-46b9-b688-a9bad40a873e' type:'fake' pool_id:'None'>
    designate.tests.unit.workers.test_zone_tasks.TestZoneActionOnTarget.test_call_update
    designate.tests.unit.workers.test_zone_tasks.TestZoneActionOnTarget.test_call_update ... ok
    designate.tests.unit.workers.test_zone_tasks.TestZoneActor.test_call designate.tests.unit.workers.test_zone_tasks.TestZoneActor.test_call ... ok designate.tests.unit.workers.test_zone_tasks.TestZoneActor.test_execute designate.tests.unit.workers.test_zone_tasks.TestZoneActor.test_execute ... ok designate.tests.unit.workers.test_zone_tasks.TestZoneActor.test_threshold_from_config
    designate.tests.unit.workers.test_zone_tasks.TestZoneActor.test_threshold_from_config ... ok
    INFO [designate.worker.tasks.zone] Could not CREATE zone_name=<Mock name='example.org..name' id='140219945910352'> zone_id=123 success=8 total=10 on enough targets. Updating status to ERROR
    DEBUG [designate.worker.tasks.zone] Updating status for zone_name=<Mock name='example.org..name' id='140219945910352'> zone_id=123 to action=CREATE serial=0
    designate.tests.unit.workers.test_zone_tasks.TestZoneActor.test_threshold_met_false
    designate.tests.unit.workers.test_zone_tasks.TestZoneActor.test_threshold_met_false ... ok
    designate.tests.unit.workers.test_zone_tasks.TestZoneActor.test_threshold_met_true
    designate.tests.unit.workers.test_zone_tasks.TestZoneActor.test_threshold_met_true ... ok
    DEBUG [designate.worker.tasks.zone] Updating status for zone_name=<Mock name='example.com..name' id='140219947427760'> zone_id=<Mock name='example.com..id' id='140219944786576'> to action=UPDATE serial=2
    designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_call_on_failure
    designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_call_on_failure ... ok
    DEBUG [designate.worker.tasks.zone] Updating status for zone_name=<Mock name='example.com..name' id='140219943398640'> zone_id=<Mock name='example.com..id' id='140219943396288'> to action=UPDATE serial=2
    designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_call_on_success
    designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_call_on_success ... ok
    designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_constructor designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_constructor ... ok
    INFO [designate.worker.tasks.zone] Could not find serial=1 for zone_name=<Mock name='example.com..name' id='140219943186992'> zone_id=<Mock name='example.com..id' id='140219943188336'> action=<Mock name='example.com..action' id='140219943187664'> on
    enough nameservers designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_on_error_failure
    designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_on_error_failure ... ok
    INFO [designate.worker.tasks.zone] Could not find serial=1 for zone_name=<Mock name='example.com..name' id='140219943181952'> zone_id=<Mock name='example.com..id' id='140219943176912'> action=<Mock name='example.com..action' id='140219943180944'> on
    enough nameservers designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_on_no_zones_failure
    designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_on_no_zones_failure ... ok
    DEBUG [designate.worker.tasks.zone] Found success for zone_name=<Mock name='example.com..name' id='140219943186320'> zone_id=<Mock name='example.com..id' id='140219943184304'> action=<Mock name='example.com..action' id='140219943189344'> at serial=1
    designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_on_success designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_on_success ... ok
    designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_threshold_met_false_low_positives
    designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_threshold_met_false_low_positives ... ok
    designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_threshold_met_false_no_zones
    designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_threshold_met_false_no_zones ... ok
    designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_threshold_met_false_no_zones_one_result
    designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_threshold_met_false_no_zones_one_result ... ok
    designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_threshold_met_true
    designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_threshold_met_true ... ok
    designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_threshold_met_true_no_zones
    designate.tests.unit.workers.test_zone_tasks.TestZonePoller.test_threshold_met_true_no_zones ... ok
    DEBUG [designate.worker.processing] Finished Task(s): <Mock name='PollForZone().task_name' id='140219949663632'>, <Mock name='PollForZone().task_name' id='140219949663632'> in 0.000199s
    DEBUG [designate.worker.tasks.zone] Results for polling zone_name=<Mock name='example.com..name' id='140219943293952'> zone_id=<Mock name='example.com..id' id='140219943294624'> action=UPDATE serial=10 query=DNSQueryResult(positives=2, no_zones=0,
    consensus_serial=10, results=[10, 10])
    DEBUG [designate.worker.tasks.zone] Successful poll for zone_name=<Mock name='example.com..name' id='140219943293952'> zone_id=<Mock name='example.com..id' id='140219943294624'> action=UPDATE
    designate.tests.unit.workers.test_zone_tasks.TestZonePollerPolling.test_do_poll designate.tests.unit.workers.test_zone_tasks.TestZonePollerPolling.test_do_poll ... ok
    DEBUG [designate.worker.tasks.zone] Results for polling zone_name=<Mock name='example.com..name' id='140219943292272'> zone_id=<Mock name='example.com..id' id='140219943294288'> action=UPDATE serial=10 query=DNSQueryResult(positives=0, no_zones=2,
    consensus_serial=0, results=[0, 0])
    DEBUG [designate.worker.tasks.zone] Unsuccessful poll for zone_name=<Mock name='example.com..name' id='140219943292272'> zone_id=<Mock name='example.com..id' id='140219943294288'> action=UPDATE on attempt=1
    DEBUG [designate.storage.sqlalchemy.base] Including deleted items in query results
    WARNING [designate.worker.tasks.base] Error trying to get zone action. Error=No sql_connection parameter is established
    DEBUG [designate.worker.tasks.zone] Results for polling zone_name=<Mock name='example.com..name' id='140219943292272'> zone_id=<Mock name='example.com..id' id='140219943294288'> action=UPDATE serial=10 query=DNSQueryResult(positives=2, no_zones=0,
    consensus_serial=10, results=[10, 10])
    DEBUG [designate.worker.tasks.zone] Successful poll for zone_name=<Mock name='example.com..name' id='140219943292272'> zone_id=<Mock name='example.com..id' id='140219943294288'> action=UPDATE
    designate.tests.unit.workers.test_zone_tasks.TestZonePollerPolling.test_do_poll_with_retry
    designate.tests.unit.workers.test_zone_tasks.TestZonePollerPolling.test_do_poll_with_retry ... ok
    DEBUG [designate.worker.tasks.zone] Results for polling zone_name=<Mock name='example.com..name' id='140219943296304'> zone_id=<Mock name='example.com..id' id='140219943291600'> action=UPDATE serial=10 query=DNSQueryResult(positives=0, no_zones=2,
    consensus_serial=0, results=[0, 0])
    DEBUG [designate.worker.tasks.zone] Unsuccessful poll for zone_name=<Mock name='example.com..name' id='140219943296304'> zone_id=<Mock name='example.com..id' id='140219943291600'> action=UPDATE on attempt=1
    DEBUG [designate.storage.sqlalchemy.base] Including deleted items in query results
    WARNING [designate.worker.tasks.base] Error trying to get zone action. Error=No sql_connection parameter is established
    DEBUG [designate.worker.tasks.zone] Results for polling zone_name=<Mock name='example.com..name' id='140219943296304'> zone_id=<Mock name='example.com..id' id='140219943291600'> action=UPDATE serial=10 query=DNSQueryResult(positives=0, no_zones=2,
    consensus_serial=0, results=[0, 0])
    DEBUG [designate.worker.tasks.zone] Unsuccessful poll for zone_name=<Mock name='example.com..name' id='140219943296304'> zone_id=<Mock name='example.com..id' id='140219943291600'> action=UPDATE on attempt=2
    DEBUG [designate.storage.sqlalchemy.base] Including deleted items in query results
    WARNING [designate.worker.tasks.base] Error trying to get zone action. Error=No sql_connection parameter is established
    DEBUG [designate.worker.tasks.zone] Results for polling zone_name=<Mock name='example.com..name' id='140219943296304'> zone_id=<Mock name='example.com..id' id='140219943291600'> action=UPDATE serial=10 query=DNSQueryResult(positives=0, no_zones=2,
    consensus_serial=0, results=[0, 0])
    DEBUG [designate.worker.tasks.zone] Unsuccessful poll for zone_name=<Mock name='example.com..name' id='140219943296304'> zone_id=<Mock name='example.com..id' id='140219943291600'> action=UPDATE on attempt=3
    DEBUG [designate.storage.sqlalchemy.base] Including deleted items in query results
    WARNING [designate.worker.tasks.base] Error trying to get zone action. Error=No sql_connection parameter is established
    DEBUG [designate.worker.tasks.zone] Results for polling zone_name=<Mock name='example.com..name' id='140219943296304'> zone_id=<Mock name='example.com..id' id='140219943291600'> action=UPDATE serial=10 query=DNSQueryResult(positives=0, no_zones=2,
    consensus_serial=0, results=[0, 0])
    DEBUG [designate.worker.tasks.zone] Unsuccessful poll for zone_name=<Mock name='example.com..name' id='140219943296304'> zone_id=<Mock name='example.com..id' id='140219943291600'> action=UPDATE on attempt=4
    DEBUG [designate.storage.sqlalchemy.base] Including deleted items in query results
    WARNING [designate.worker.tasks.base] Error trying to get zone action. Error=No sql_connection parameter is established
    designate.tests.unit.workers.test_zone_tasks.TestZonePollerPolling.test_do_poll_with_retry_until_fail
    designate.tests.unit.workers.test_zone_tasks.TestZonePollerPolling.test_do_poll_with_retry_until_fail ... ok
    An error has occurred:
    Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/designate/cmd/manage.py", line 122, in main
    fn(*fn_args)
    ~~^^^^^^^^^^
    File "/usr/lib/python3.13/unittest/mock.py", line 1167, in __call__
    return self._mock_call(*args, **kwargs)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.13/unittest/mock.py", line 1171, in _mock_call
    return self._execute_mock_call(*args, **kwargs)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.13/unittest/mock.py", line 1226, in _execute_mock_call
    raise effect
    Exception


    ======================================================================
    FAIL: designate.tests.unit.backend.test_infoblox.BasicInfobloxBackendTestCase.test_create_zone_handle_error
    designate.tests.unit.backend.test_infoblox.BasicInfobloxBackendTestCase.test_create_zone_handle_error
    ---------------------------------------------------------------------- testtools.testresult.real._StringException: pythonlogging:'': {{{
    2025-03-12 15:32:47,095 DEBUG [designate.plugin] Loaded plugin backend:infoblox 2025-03-12 15:32:47,095 DEBUG [infoblox_client.connector] Cloud WAPI version detected: 2.10
    2025-03-12 15:32:47,095 DEBUG [infoblox_client.connector] Configuring session 2025-03-12 15:32:47,095 DEBUG [urllib3.util.retry] Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None)
    2025-03-12 15:32:47,095 INFO [infoblox_client.connector] Authenticating with username and password.
    2025-03-12 15:32:47,095 DEBUG [infoblox_client.connector] SSL verification is False
    2025-03-12 15:32:47,095 DEBUG [infoblox_client.connector] Connector initialized with options: {'host': '192.0.2.1', 'username': '****', 'password': '****', 'http_pool_connections': None, 'http_pool_maxsize': None, 'wapi_version': '2.10', 'ssl_verify':
    None, 'cert': '****', 'key': '****'}
    }}}

    Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/designate/tests/unit/backend/test_infoblox.py", line 296, in test_create_zone_handle_error
    infoblox_exceptions.InfobloxTimeoutError('error')
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
    File "/usr/lib/python3/dist-packages/infoblox_client/exceptions.py", line 37, in __init__
    super(InfobloxException, self).__init__(**kwargs)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/infoblox_client/exceptions.py", line 27, in __init__
    super(BaseExc, self).__init__(self.message % kwargs)
    ~~~~~~~~~~~~~^~~~~~~~
    KeyError: 'reason'


    ======================================================================
    FAIL: designate.tests.unit.backend.test_infoblox.BasicInfobloxBackendTestCase.test_delete_zone_handle_error
    designate.tests.unit.backend.test_infoblox.BasicInfobloxBackendTestCase.test_delete_zone_handle_error
    ---------------------------------------------------------------------- testtools.testresult.real._StringException: pythonlogging:'': {{{
    2025-03-12 15:32:47,108 DEBUG [designate.plugin] Loaded plugin backend:infoblox 2025-03-12 15:32:47,108 DEBUG [infoblox_client.connector] Cloud WAPI version detected: 2.10
    2025-03-12 15:32:47,108 DEBUG [infoblox_client.connector] Configuring session 2025-03-12 15:32:47,108 DEBUG [urllib3.util.retry] Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None)
    2025-03-12 15:32:47,108 INFO [infoblox_client.connector] Authenticating with username and password.
    2025-03-12 15:32:47,108 DEBUG [infoblox_client.connector] SSL verification is False
    2025-03-12 15:32:47,108 DEBUG [infoblox_client.connector] Connector initialized with options: {'host': '192.0.2.1', 'username': '****', 'password': '****', 'http_pool_connections': None, 'http_pool_maxsize': None, 'wapi_version': '2.10', 'ssl_verify':
    None, 'cert': '****', 'key': '****'}
    }}}

    Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/designate/tests/unit/backend/test_infoblox.py", line 365, in test_delete_zone_handle_error
    infoblox_exceptions.InfobloxTimeoutError('error')
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
    File "/usr/lib/python3/dist-packages/infoblox_client/exceptions.py", line 37, in __init__
    super(InfobloxException, self).__init__(**kwargs)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/infoblox_client/exceptions.py", line 27, in __init__
    super(BaseExc, self).__init__(self.message % kwargs)
    ~~~~~~~~~~~~~^~~~~~~~
    KeyError: 'reason'


    ----------------------------------------------------------------------
    Ran 919 tests in 4.743s

    FAILED (failures=2, expected failures=1)
    + echo ======> STESTR TEST SUITE FAILED FOR python3.13: displaying pip3 freeze output...
    ======> STESTR TEST SUITE FAILED FOR python3.13: displaying pip3 freeze output...
    + [ -x /usr/bin/pip3 ]
    + pip3 freeze
    WARNING: The directory '/sbuild-nonexistent/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should
    use sudo's -H flag.
    alabaster==0.7.16
    alembic==1.13.2.dev0
    amqp==5.3.1
    async-timeout==5.0.1
    attrs==25.1.0
    autocommand==2.2.2
    autopage==0.4.0
    babel==2.17.0
    bandit==1.7.10
    bcrypt==4.2.0
    beautifulsoup4==4.13.3
    blinker==1.9.0
    blockdiag==3.0.0
    cachetools==5.3.3
    certifi==2025.1.31
    cffi==1.17.1
    chardet==5.2.0
    charset-normalizer==3.4.1
    click==8.1.8
    cliff==4.7.0
    cmd2==2.5.11+ds
    colorama==0.4.6
    confluent-kafka==1.7.0
    coverage==7.6.0
    cryptography==43.0.0
    ddt==1.7.2
    debtcollector==3.0.0
    decorator==5.1.1
    defusedxml==0.7.1
    Deprecated==1.2.18
    deprecation==2.0.7
    designate==19.0.0
    dnspython==2.7.0
    docutils==0.21.2
    dogpile.cache==1.3.3
    dulwich==0.22.7
    edgegrid-python==1.3.1
    etcd3==0.12.0
    etcd3gw==2.4.2
    eventlet==0.36.1
    extras==1.0.0
    fasteners==0.18
    fixtures==4.1.0
    flake8==7.1.1
    Flask==3.1.0
    freetype-py==2.5.1
    funcparserlib==1.0.0
    futurist==3.0.0
    gabbi==3.0.0
    gevent==24.11.1
    gitdb==4.0.11
    GitPython==3.1.44
    greenlet==3.1.0
    grpcio==1.51.1
    hacking==4.1.0
    httplib2==0.22.0
    idna==3.10
    imagesize==1.4.1
    importlib_metadata==8.6.1
    inflect==7.3.1
    infoblox-client==0.6.2
    iniconfig==1.1.1
    iso8601==2.1.0
    itsdangerous==2.2.0
    jaraco.classes==3.4.0
    jaraco.context==6.0.1
    jaraco.functools==4.1.0
    jaraco.text==4.0.0
    jeepney==0.8.0
    Jinja2==3.1.5
    jmespath==1.0.1
    jschema-to-python==1.2.3
    jsonpatch==1.32
    jsonpath-rw==1.4.0
    jsonpath-rw-ext==1.2.2
    jsonpickle==4.0.2+dfsg
    jsonpointer==2.4
    jsonschema==4.19.2
    jsonschema-specifications==2023.12.1
    kazoo==2.9.0.dev0
    keyring==25.6.0
    keystoneauth1==5.8.0
    keystonemiddleware==10.7.1
    kombu==5.4.2
    legacy-cgi==2.6.2
    logutils==0.3.5
    lxml==5.3.1
    Mako==1.3.8.dev0
    markdown-it-py==3.0.0
    MarkupSafe==2.1.5
    mccabe==0.7.0
    mdurl==0.1.2
    monotonic==1.6
    more-itertools==10.6.0
    msgpack==1.0.3
    ndg-httpsclient==0.5.1
    netaddr==1.3.0
    netifaces==0.11.0
    oauthlib==3.2.2
    openstackdocstheme==3.2.0
    openstacksdk==4.0.1
    os-api-ref==2.3.0
    os-client-config==2.1.0
    os-service-types==1.7.0
    os-testr==3.0.0
    osc-lib==3.1.0
    oslo.cache==3.8.0
    oslo.concurrency==6.1.0
    oslo.config==9.6.0
    oslo.context==5.6.0
    oslo.db==16.0.0
    oslo.i18n==6.4.0
    oslo.log==6.1.2
    oslo.messaging==14.9.1
    oslo.metrics==0.9.0
    oslo.middleware==6.2.0
    oslo.policy==4.4.0
    oslo.reports==3.4.0
    oslo.rootwrap==7.3.0
    oslo.serialization==5.5.0
    oslo.service==3.5.0
    oslo.upgradecheck==2.4.0
    oslo.utils==7.3.0
    oslo.versionedobjects==3.4.0
    oslosphinx==4.18.0
    oslotest==5.0.0
    osprofiler==4.2.0
    packaging==24.2
    paramiko==3.5.1
    Paste==3.10.1
    PasteDeploy==3.1.0
    pbr==6.1.0
    pecan==1.5.1
    pillow==11.1.0
    platformdirs==4.3.6
    pluggy==1.5.0
    ply==3.11
    prettytable==3.12.0
    prometheus_client==0.21.1
    protobuf==4.21.12
    psutil==5.9.8
    psycopg2==2.9.10
    pure-sasl==0.5.1
    pyasn1==0.6.1
    pyasyncore==1.0.2
    pycadf==3.1.1
    pycairo==1.26.1
    pycodestyle==2.12.1
    pycparser==2.22

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Goirand@21:1/5 to All on Tue Mar 25 12:40:01 2025
    Control: tag -1 pending

    Hello,

    Bug #1100210 in designate reported by you has been fixed in the
    Git repository and is awaiting an upload. You can see the commit
    message below and you can check the diff of the fix at:

    https://salsa.debian.org/openstack-team/services/designate/-/commit/3fcca207085b4ab25a84fdc66be8912205d4969e

    ------------------------------------------------------------------------ Blacklist 2 infoblox unit tests that are failing (Closes: #1100210). ------------------------------------------------------------------------

    (this message was generated automatically)
    --
    Greetings

    https://bugs.debian.org/1100210

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Tue Mar 25 12:40:02 2025
    Processing control commands:

    tag -1 pending
    Bug #1100210 [src:designate] designate: FTBFS: KeyError: 'reason'
    Added tag(s) pending.

    --
    1100210: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100210
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Tue Mar 25 13:00:01 2025
    This is a multi-part message in MIME format...

    Your message dated Tue, 25 Mar 2025 11:49:05 +0000
    with message-id <E1tx2mH-002alz-40@fasolo.debian.org>
    and subject line Bug#1100210: fixed in designate 1:19.0.0-4
    has caused the Debian Bug report #1100210,
    regarding designate: FTBFS: KeyError: 'reason'
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1100210: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100210
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 12 Mar 2025 16:30:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-121.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,FVGT_m_MULTI_ODD,
    HAS_PACKAGE,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,
    X_DEBBUGS_CC autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 512; hammy, 150; neutral, 997; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
    0.000-+--pkgbuilddir, 0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*sanvila Return-path: <sanvila@debian.org>
    Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:48094)
    f