Functional tests on OSP15 with stestr-3 on RHEL8 are failing with subunit error: ft1.1: subunit.parsertesttools.testresult.real._StringException: Binary content: Packet data (application/octet-stream) Parser Error: {{{Bad checksum - calculated (0x4d492833), stored (0x3031392d)}}} ft1.2: subunit.parsertesttools.testresult.real._StringException: lost connection during failure report of test 'subunit.parser' This looks similar to upstream https://bugs.launchpad.net/nova/+bug/1832164, however backporting only this patch to OSP15 is not resolving issue. The root cause is too much information in Exception causing subunit to fail with that amount of stderr. In upstream there were number of patches to reduce such stderr deprecation warnings, e.g.: https://bugs.launchpad.net/nova/+bug/1813147 https://bugs.launchpad.net/nova/+bug/1629047
Those are top deprecation warning messages: ----- b'/usr/lib/python3.6/site-packages/paste/deploy/loadwsgi.py:22: DeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.' b' return pkg_resources.EntryPoint.parse("x=" + s).load(False)' ----- This one is fixed by codeeng 175704----- b'/home/zuul/src/code.engineering.redhat.com/nova/nova/db/sqlalchemy/api.py:1879: SADeprecationWarning: The joinedload_all() function is deprecated, and will be removed in a future release. Please use method chaining with joinedload() instead' ----- Below two can be 'fixed' by downgrading SQLAlchemy to version 1.2.18 ----- b'/usr/lib/python3.6/site-packages/migrate/changeset/databases/visitor.py:76: SADeprecationWarning: The Engine.contextual_connect() method is deprecated. This method is an artifact of the threadlocal engine strategy which is also to be deprecated. For explicit connections from an Engine, use the Engine.connect() method.' ----- b'/usr/lib64/python3.6/site-packages/sqlalchemy/orm/base.py:220: SADeprecationWarning: The Query.with_lockmode() method is deprecated and will be removed in a future release. Please refer to Query.with_for_update(). '
There were number of failed runs and from what I can see the common pattern is that for all failed tests the following one was inprogress: nova.tests.functional.notification_sample_tests.test_instance.TestInstanceNotificationSampleOldAttachFlow.test_instance_action
Looks like removing test_instance_action causes tests to pass, which means the following upstream fix did not resolve issue completely: The following commit was trying to fix the issue: https://github.com/openstack/nova/commit/93027713ab614b59ebb66f0617f85d43c956427c
We have a similar issue in Glance, and Abhishek Kekane told me that the recently released subunit 1.4.0 fixes this issue. There is already a patch in RDO to start using this new version in U (https://review.rdoproject.org/r/#/c/26033/).
Closing EOL, OSP 15 has been retired as of Sept 19, 2020