I'm not exactly sure what is causing it, but there is a ton of this in the logs:
2019-02-08 12:32:26.104934 | ubuntu-xenial | b'2019-02-08 12:32:17,445 ERROR [oslo_messaging.rpc.server] Exception during message handling'
2019-02-08 12:32:26.105103 | ubuntu-xenial | b'Traceback (most recent call last):'
2019-02-08 12:32:26.105596 | ubuntu-xenial | b' File "/home/zuul/src/git.openstack.org/openstack/nova/.tox/lower-constraints/lib/python3.5/site-packages/oslo_messaging/rpc/server.py", line 166, in _process_incoming'
2019-02-08 12:32:26.105775 | ubuntu-xenial | b' res = self.dispatcher.dispatch(message)'
2019-02-08 12:32:26.106238 | ubuntu-xenial | b' File "/home/zuul/src/git.openstack.org/openstack/nova/.tox/lower-constraints/lib/python3.5/site-packages/oslo_messaging/rpc/dispatcher.py", line 265, in dispatch'
2019-02-08 12:32:26.106450 | ubuntu-xenial | b' return self._do_dispatch(endpoint, method, ctxt, args)'
2019-02-08 12:32:26.106919 | ubuntu-xenial | b' File "/home/zuul/src/git.openstack.org/openstack/nova/.tox/lower-constraints/lib/python3.5/site-packages/oslo_messaging/rpc/dispatcher.py", line 189, in _do_dispatch'
2019-02-08 12:32:26.107114 | ubuntu-xenial | b' ctxt = self.serializer.deserialize_context(ctxt)'
2019-02-08 12:32:26.107452 | ubuntu-xenial | b' File "/home/zuul/src/git.openstack.org/openstack/nova/nova/tests/fixtures.py", line 392, in deserialize_context'
2019-02-08 12:32:26.107689 | ubuntu-xenial | b' ctxt = super(CheatingSerializer, self).deserialize_context(values)'
2019-02-08 12:32:26.108147 | ubuntu-xenial | b' File "/home/zuul/src/git.openstack.org/openstack/nova/.tox/lower-constraints/lib/python3.5/site-packages/fixtures/_fixtures/monkeypatch.py", line 89, in avoid_get'
2019-02-08 12:32:26.108323 | ubuntu-xenial | b' return captured_method(*args, **kwargs)'
2019-02-08 12:32:26.108727 | ubuntu-xenial | b' File "/home/zuul/src/git.openstack.org/openstack/nova/nova/tests/unit/conductor/test_conductor.py", line 124, in fake_deserialize_context'
2019-02-08 12:32:26.108959 | ubuntu-xenial | b" self.assertEqual(self.context.user_id, ctxt_dict['user_id'])"
2019-02-08 12:32:26.109406 | ubuntu-xenial | b' File "/home/zuul/src/git.openstack.org/openstack/nova/.tox/lower-constraints/lib/python3.5/site-packages/testtools/testcase.py", line 411, in assertEqual'
2019-02-08 12:32:26.121688 | ubuntu-xenial | b' self.assertThat(observed, matcher, message)'
2019-02-08 12:32:26.122010 | ubuntu-xenial | b' File "/home/zuul/src/git.openstack.org/openstack/nova/.tox/lower-constraints/lib/python3.5/site-packages/testtools/testcase.py", line 498, in assertThat'
2019-02-08 12:32:26.122098 | ubuntu-xenial | b' raise mismatch_error'
2019-02-08 12:32:26.122297 | ubuntu-xenial | b"testtools.matchers._impl.MismatchError: '5fae60f5cf4642609ddd31f71748beac' != 'fake_user'"
It seems that those assertions don't actually cause failures in the tests, but they do spew into the logs which is contributing to the subunit parser failures.
Hit another failure in a unit test job that failed and dumped a ton into the console log:
http:// logs.openstack. org/27/ 619527/ 16/gate/ openstack- tox-lower- constraints/ cd2889d/ job-output. txt.gz# _2019-02- 08_12_32_ 26_095767
I'm not exactly sure what is causing it, but there is a ton of this in the logs:
2019-02-08 12:32:26.104934 | ubuntu-xenial | b'2019-02-08 12:32:17,445 ERROR [oslo_messaging .rpc.server] Exception during message handling' zuul/src/ git.openstack. org/openstack/ nova/.tox/ lower-constrain ts/lib/ python3. 5/site- packages/ oslo_messaging/ rpc/server. py", line 166, in _process_incoming' .dispatch( message) ' zuul/src/ git.openstack. org/openstack/ nova/.tox/ lower-constrain ts/lib/ python3. 5/site- packages/ oslo_messaging/ rpc/dispatcher. py", line 265, in dispatch' dispatch( endpoint, method, ctxt, args)' zuul/src/ git.openstack. org/openstack/ nova/.tox/ lower-constrain ts/lib/ python3. 5/site- packages/ oslo_messaging/ rpc/dispatcher. py", line 189, in _do_dispatch' .deserialize_ context( ctxt)' zuul/src/ git.openstack. org/openstack/ nova/nova/ tests/fixtures. py", line 392, in deserialize_ context' erializer, self).deseriali ze_context( values) ' zuul/src/ git.openstack. org/openstack/ nova/.tox/ lower-constrain ts/lib/ python3. 5/site- packages/ fixtures/ _fixtures/ monkeypatch. py", line 89, in avoid_get' method( *args, **kwargs)' zuul/src/ git.openstack. org/openstack/ nova/nova/ tests/unit/ conductor/ test_conductor. py", line 124, in fake_deserializ e_context' l(self. context. user_id, ctxt_dict[ 'user_id' ])" zuul/src/ git.openstack. org/openstack/ nova/.tox/ lower-constrain ts/lib/ python3. 5/site- packages/ testtools/ testcase. py", line 411, in assertEqual' (observed, matcher, message)' zuul/src/ git.openstack. org/openstack/ nova/.tox/ lower-constrain ts/lib/ python3. 5/site- packages/ testtools/ testcase. py", line 498, in assertThat' matchers. _impl.MismatchE rror: '5fae60f5cf4642 609ddd31f71748b eac' != 'fake_user'"
2019-02-08 12:32:26.105103 | ubuntu-xenial | b'Traceback (most recent call last):'
2019-02-08 12:32:26.105596 | ubuntu-xenial | b' File "/home/
2019-02-08 12:32:26.105775 | ubuntu-xenial | b' res = self.dispatcher
2019-02-08 12:32:26.106238 | ubuntu-xenial | b' File "/home/
2019-02-08 12:32:26.106450 | ubuntu-xenial | b' return self._do_
2019-02-08 12:32:26.106919 | ubuntu-xenial | b' File "/home/
2019-02-08 12:32:26.107114 | ubuntu-xenial | b' ctxt = self.serializer
2019-02-08 12:32:26.107452 | ubuntu-xenial | b' File "/home/
2019-02-08 12:32:26.107689 | ubuntu-xenial | b' ctxt = super(CheatingS
2019-02-08 12:32:26.108147 | ubuntu-xenial | b' File "/home/
2019-02-08 12:32:26.108323 | ubuntu-xenial | b' return captured_
2019-02-08 12:32:26.108727 | ubuntu-xenial | b' File "/home/
2019-02-08 12:32:26.108959 | ubuntu-xenial | b" self.assertEqua
2019-02-08 12:32:26.109406 | ubuntu-xenial | b' File "/home/
2019-02-08 12:32:26.121688 | ubuntu-xenial | b' self.assertThat
2019-02-08 12:32:26.122010 | ubuntu-xenial | b' File "/home/
2019-02-08 12:32:26.122098 | ubuntu-xenial | b' raise mismatch_error'
2019-02-08 12:32:26.122297 | ubuntu-xenial | b"testtools.
It seems that those assertions don't actually cause failures in the tests, but they do spew into the logs which is contributing to the subunit parser failures.