• Bug#1102953: python-saharaclient: FTBFS in testing: failing tests (6/6)

    From Lucas Nussbaum@21:1/5 to All on Sun Apr 13 14:40:01 2025
    [continued from previous message]

    'Name',
    'Required image tags',
    'Title',
    '',
    'Plugin version 0.1: enabled',
    'Plugin: enabled',
    '',
    'Service:',
    '',
    'HDFS',
    'MapReduce')
    actual = ('Required image tags',
    'Name',
    'Description',
    'Title',
    '',
    'Plugin version 0.1: enabled',
    'Plugin: enabled',
    '',
    'Service:',
    '',
    'HDFS',
    'MapReduce')


    ======================================================================
    FAIL: saharaclient.tests.unit.osc.v1.test_clusters.TestVerificationUpdateCluster.test_verification_show
    saharaclient.tests.unit.osc.v1.test_clusters.TestVerificationUpdateCluster.test_verification_show
    ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last):
    File "/build/reproducible-path/python-saharaclient-4.2.0/saharaclient/tests/unit/osc/v1/test_clusters.py", line 532, in test_verification_show
    self.assertEqual(expected_columns, columns)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 419, in assertEqual
    self.assertThat(observed, matcher, message)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 509, in assertThat
    raise mismatch_error
    testtools.matchers._impl.MismatchError: !=:
    reference = ('Health check (some check)', 'Verification status')
    actual = ('Verification status', 'Health check (some check)')


    ======================================================================
    FAIL: saharaclient.tests.unit.osc.v1.test_plugins.TestUpdatePlugin.test_plugin_update
    saharaclient.tests.unit.osc.v1.test_plugins.TestUpdatePlugin.test_plugin_update
    ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last):
    File "/usr/lib/python3.13/unittest/mock.py", line 1426, in patched
    return func(*newargs, **newkeywargs)
    File "/build/reproducible-path/python-saharaclient-4.2.0/saharaclient/tests/unit/osc/v1/test_plugins.py", line 229, in test_plugin_update
    self.assertEqual(expected_columns, columns)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 419, in assertEqual
    self.assertThat(observed, matcher, message)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 509, in assertThat
    raise mismatch_error
    testtools.matchers._impl.MismatchError: !=:
    reference = ('Description',
    'Name',
    'Title',
    'Versions',
    '',
    'Plugin version 0.1: enabled',
    'Plugin: enabled')
    actual = ('Versions',
    'Name',
    'Description',
    'Title',
    '',
    'Plugin version 0.1: enabled',
    'Plugin: enabled')


    ======================================================================
    FAIL: saharaclient.tests.unit.osc.v1.test_job_templates.TestCreateJobTemplate.test_job_template_create_all_options
    saharaclient.tests.unit.osc.v1.test_job_templates.TestCreateJobTemplate.test_job_template_create_all_options
    ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last):
    File "/build/reproducible-path/python-saharaclient-4.2.0/saharaclient/tests/unit/osc/v1/test_job_templates.py", line 103, in test_job_template_create_all_options
    self.assertEqual(expected_columns, columns)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 419, in assertEqual
    self.assertThat(observed, matcher, message)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 509, in assertThat
    raise mismatch_error
    testtools.matchers._impl.MismatchError: !=:
    reference = ('Description',
    'Id',
    'Is protected',
    'Is public',
    'Libs',
    'Mains',
    'Name',
    'Type')
    actual = ('Name',
    'Id',
    'Type',
    'Mains',
    'Libs',
    'Description',
    'Is public',
    'Is protected')


    ======================================================================
    FAIL: saharaclient.tests.unit.osc.v2.test_job_binaries.TestShowJobBinary.test_job_binary_show
    saharaclient.tests.unit.osc.v2.test_job_binaries.TestShowJobBinary.test_job_binary_show
    ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last):
    File "/build/reproducible-path/python-saharaclient-4.2.0/saharaclient/tests/unit/osc/v2/test_job_binaries.py", line 177, in test_job_binary_show
    self.assertEqual(expected_columns, columns)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 419, in assertEqual
    self.assertThat(observed, matcher, message)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 509, in assertThat
    raise mismatch_error
    testtools.matchers._impl.MismatchError: !=:
    reference = ('Description', 'Id', 'Is protected', 'Is public', 'Name', 'Url') actual = ('Name', 'Id', 'Url', 'Description', 'Is public', 'Is protected')


    ======================================================================
    FAIL: saharaclient.tests.unit.osc.v2.test_job_templates.TestCreateJobTemplate.test_job_template_create_all_options
    saharaclient.tests.unit.osc.v2.test_job_templates.TestCreateJobTemplate.test_job_template_create_all_options
    ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last):
    File "/build/reproducible-path/python-saharaclient-4.2.0/saharaclient/tests/unit/osc/v2/test_job_templates.py", line 103, in test_job_template_create_all_options
    self.assertEqual(expected_columns, columns)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 419, in assertEqual
    self.assertThat(observed, matcher, message)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 509, in assertThat
    raise mismatch_error
    testtools.matchers._impl.MismatchError: !=:
    reference = ('Description',
    'Id',
    'Is protected',
    'Is public',
    'Libs',
    'Mains',
    'Name',
    'Type')
    actual = ('Name',
    'Id',
    'Type',
    'Mains',
    'Libs',
    'Description',
    'Is public',
    'Is protected')


    ======================================================================
    FAIL: saharaclient.tests.unit.osc.v2.test_plugins.TestUpdatePlugin.test_plugin_update
    saharaclient.tests.unit.osc.v2.test_plugins.TestUpdatePlugin.test_plugin_update
    ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last):
    File "/usr/lib/python3.13/unittest/mock.py", line 1426, in patched
    return func(*newargs, **newkeywargs)
    File "/build/reproducible-path/python-saharaclient-4.2.0/saharaclient/tests/unit/osc/v2/test_plugins.py", line 229, in test_plugin_update
    self.assertEqual(expected_columns, columns)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 419, in assertEqual
    self.assertThat(observed, matcher, message)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 509, in assertThat
    raise mismatch_error
    testtools.matchers._impl.MismatchError: !=:
    reference = ('Description',
    'Name',
    'Title',
    'Versions',
    '',
    'Plugin version 0.1: enabled',
    'Plugin: enabled')
    actual = ('Versions',
    'Name',
    'Description',
    'Title',
    '',
    'Plugin version 0.1: enabled',
    'Plugin: enabled')


    ======================================================================
    FAIL: saharaclient.tests.unit.osc.v1.test_jobs.TestExecuteJob.test_job_execute_all_options
    saharaclient.tests.unit.osc.v1.test_jobs.TestExecuteJob.test_job_execute_all_options
    ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last):
    File "/build/reproducible-path/python-saharaclient-4.2.0/saharaclient/tests/unit/osc/v1/test_jobs.py", line 172, in test_job_execute_all_options
    self.assertEqual(expected_columns, columns)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 419, in assertEqual
    self.assertThat(observed, matcher, message)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 509, in assertThat
    raise mismatch_error
    testtools.matchers._impl.MismatchError: !=:
    reference = ('Cluster id',
    'End time',
    'Engine job id',
    'Id',
    'Input id',
    'Is protected',
    'Is public',
    'Job template id',
    'Output id',
    'Start time',
    'Status')
    actual = ('Id',
    'Job template id',
    'Cluster id',
    'Input id',
    'Output id',
    'Start time',
    'End time',
    'Status',
    'Is public',
    'Is protected',
    'Engine job id')


    ======================================================================
    FAIL: saharaclient.tests.unit.osc.v1.test_jobs.TestShowJob.test_job_show saharaclient.tests.unit.osc.v1.test_jobs.TestShowJob.test_job_show ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last):
    File "/build/reproducible-path/python-saharaclient-4.2.0/saharaclient/tests/unit/osc/v1/test_jobs.py", line 266, in test_job_show
    self.assertEqual(expected_columns, columns)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 419, in assertEqual
    self.assertThat(observed, matcher, message)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 509, in assertThat
    raise mismatch_error
    testtools.matchers._impl.MismatchError: !=:
    reference = ('Cluster id',
    'End time',
    'Engine job id',
    'Id',
    'Input id',
    'Is protected',
    'Is public',
    'Job template id',
    'Output id',
    'Start time',
    'Status')
    actual = ('Id',
    'Job template id',
    'Cluster id',
    'Input id',
    'Output id',
    'Start time',
    'End time',
    'Status',
    'Is public',
    'Is protected',
    'Engine job id')


    ======================================================================
    FAIL: saharaclient.tests.unit.osc.v1.test_jobs.TestUpdateJob.test_job_update_public_protected
    saharaclient.tests.unit.osc.v1.test_jobs.TestUpdateJob.test_job_update_public_protected
    ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last):
    File "/build/reproducible-path/python-saharaclient-4.2.0/saharaclient/tests/unit/osc/v1/test_jobs.py", line 345, in test_job_update_public_protected
    self.assertEqual(expected_columns, columns)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 419, in assertEqual
    self.assertThat(observed, matcher, message)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 509, in assertThat
    raise mismatch_error
    testtools.matchers._impl.MismatchError: !=:
    reference = ('Cluster id',
    'End time',
    'Engine job id',
    'Id',
    'Input id',
    'Is protected',
    'Is public',
    'Job template id',
    'Output id',
    'Start time',
    'Status')
    actual = ('Id',
    'Job template id',
    'Cluster id',
    'Input id',
    'Output id',
    'Start time',
    'End time',
    'Status',
    'Is public',
    'Is protected',
    'Engine job id')


    ======================================================================
    FAIL: saharaclient.tests.unit.osc.v2.test_cluster_templates.TestUpdateClusterTemplate.test_ct_update_all_options
    saharaclient.tests.unit.osc.v2.test_cluster_templates.TestUpdateClusterTemplate.test_ct_update_all_options
    ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last):
    File "/build/reproducible-path/python-saharaclient-4.2.0/saharaclient/tests/unit/osc/v2/test_cluster_templates.py", line 317, in test_ct_update_all_options
    self.assertEqual(expected_columns, columns)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 419, in assertEqual
    self.assertThat(observed, matcher, message)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 509, in assertThat
    raise mismatch_error
    testtools.matchers._impl.MismatchError: !=:
    reference = ('Anti affinity',
    'Description',
    'Domain name',
    'Id',
    'Is default',
    'Is protected',
    'Is public',
    'Name',
    'Node groups',
    'Plugin name',
    'Plugin version',
    'Use autoconfig')
    actual = ('Id',
    'Name',
    'Plugin name',
    'Plugin version',
    'Description',
    'Node groups',
    'Anti affinity',
    'Use autoconfig',
    'Is default',
    'Is protected',
    'Is public',
    'Domain name')


    ======================================================================
    FAIL: saharaclient.tests.unit.osc.v2.test_data_sources.TestShowDataSource.test_data_sources_show
    saharaclient.tests.unit.osc.v2.test_data_sources.TestShowDataSource.test_data_sources_show
    ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last):
    File "/build/reproducible-path/python-saharaclient-4.2.0/saharaclient/tests/unit/osc/v2/test_data_sources.py", line 186, in test_data_sources_show
    self.assertEqual(expected_columns, columns)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 419, in assertEqual
    self.assertThat(observed, matcher, message)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 509, in assertThat
    raise mismatch_error
    testtools.matchers._impl.MismatchError: !=:
    reference = ('Description', 'Id', 'Is protected', 'Is public', 'Name', 'Type', 'Url')
    actual = ('Name', 'Id', 'Type', 'Url', 'Description', 'Is public', 'Is protected')


    ======================================================================
    FAIL: saharaclient.tests.unit.osc.v2.test_images.TestRegisterImage.test_image_register_required_options
    saharaclient.tests.unit.osc.v2.test_images.TestRegisterImage.test_image_register_required_options
    ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last):
    File "/build/reproducible-path/python-saharaclient-4.2.0/saharaclient/tests/unit/osc/v2/test_images.py", line 207, in test_image_register_required_options
    self.assertEqual(expected_columns, columns)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 419, in assertEqual
    self.assertThat(observed, matcher, message)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 509, in assertThat
    raise mismatch_error
    testtools.matchers._impl.MismatchError: !=:
    reference = ('Description', 'Id', 'Name', 'Status', 'Tags', 'Username') actual = ('Name', 'Id', 'Username', 'Tags', 'Status', 'Description')


    ----------------------------------------------------------------------
    Ran 320 tests in 3.228s

    FAILED (failures=62)
    + 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
    attrs==25.3.0
    autocommand==2.2.2
    autopage==0.4.0
    babel==2.17.0
    bcrypt==4.2.0
    blinker==1.9.0
    certifi==2025.1.31
    chardet==5.2.0
    charset-normalizer==3.4.1
    cliff==4.9.1
    cmd2==2.5.11+ds
    coverage==7.6.0
    cryptography==43.0.0
    debtcollector==3.0.0
    decorator==5.1.1
    defusedxml==0.7.1
    deprecation==2.1.0
    docutils==0.21.2
    dogpile.cache==1.3.3
    dulwich==0.22.7
    extras==1.0.0
    fixtures==4.1.0
    flake8==7.1.1
    hacking==4.1.0
    idna==3.10
    imagesize==1.4.1
    importlib_metadata==8.6.1
    inflect==7.3.1
    iso8601==2.1.0
    jaraco.classes==3.4.0
    jaraco.context==6.0.1
    jaraco.functools==4.1.0
    jaraco.text==4.0.0
    jeepney==0.9.0
    Jinja2==3.1.6
    jmespath==1.0.1
    jsonpatch==1.32
    jsonpointer==2.4
    jsonschema==4.19.2
    jsonschema-specifications==2023.12.1
    keyring==25.6.0
    keystoneauth1==5.10.0
    lxml==5.3.1
    Mako==1.3.9.dev0
    MarkupSafe==2.1.5
    mccabe==0.7.0
    more-itertools==10.6.0
    msgpack==1.0.3
    netaddr==1.3.0
    oauthlib==3.2.2
    openstackdocstheme==3.2.0
    openstacksdk==4.4.0
    os-client-config==2.1.0
    os-service-types==1.7.0
    osc-lib==3.2.0
    oslo.config==9.7.1
    oslo.context==5.7.1
    oslo.i18n==6.5.1
    oslo.log==7.1.0
    oslo.serialization==5.7.0
    oslo.utils==8.2.0
    oslotest==5.0.0
    packaging==24.2
    pbr==6.1.1
    platformdirs==4.3.7
    prettytable==3.15.1
    psutil==5.9.8
    pyasyncore==1.0.2
    pycodestyle==2.12.1
    pyflakes==3.2.0
    Pygments==2.18.0
    PyJWT==2.10.1
    pyOpenSSL==25.0.0
    pyparsing==3.1.2
    pyperclip==1.8.2
    python-cinderclient==9.7.0
    python-dateutil==2.9.0
    python-glanceclient==4.8.0
    python-keystoneclient==5.6.0
    python-neutronclient==11.4.0
    python-openstackclient==7.4.0
    python-subunit==1.4.2
    pytz==2025.1
    PyYAML==6.0.2
    referencing==0.36.2
    requests==2.32.3
    requests_mock==1.12.1
    requestsexceptions==1.4.0
    rfc3986==2.0.0
    roman==5.0
    rpds-py==0.21.0
    SecretStorage==3.3.3
    setuptools==75.8.0
    simplejson==3.20.1
    six==1.17.0
    snowballstemmer==2.2.0
    Sphinx==8.1.3
    stestr==4.1.0
    stevedore==5.4.1
    testtools==2.7.2
    tomlkit==0.13.2
    typeguard==4.4.2
    typing_extensions==4.13.0
    urllib3==2.3.0
    voluptuous==0.14.2
    warlock==2.0.1
    wcwidth==0.2.13
    wheel==0.45.1
    wrapt==1.15.0
    zipp==3.21.0
    + exit 1
    make[1]: *** [debian/rules:21: override_dh_auto_test] Error 1


    The full build log is available from: http://qa-logs.debian.net/2025/04/12/python-saharaclient_4.2.0-4_testing.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250412;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250412&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)