[mikem@localhost fm-orchestrator]$ ./contrib/run-unittests.sh --podman --py3 tests/test_web/test_views.py::TestLogMessageViews
tests/test_web/test_views.py::TestLogMessageViews::test_view_log_messages_for_component_builds FAILED [100%] ========================================================================== FAILURES ========================================================================== ______________________________________________ TestLogMessageViews.test_view_log_messages_for_component_builds _______________________________________________ self = <tests.test_web.test_views.TestLogMessageViews object at 0x7f67ae1f9a50> def test_view_log_messages_for_component_builds(self): url = "/module-build-service/1/component-builds/{component_id}/messages".format( component_id=self.component_id) res = self.client.get(url) json_res = str(res.data) assert "Build-1" not in json_res assert "Build-2" not in json_res > assert "Component-1" in json_res E assert 'Component-1' in 'b\'{"messages":[],"meta":{"first":"http://localhost/module-build-service/1/component-builds/1/messages?page=1&per_pag...ponent-builds/1/messages?page=0&per_page=10","next":null,"page":1,"pages":0,"per_page":10,"prev":null,"total":0}}\\n\'' tests/test_web/test_views.py:2816: AssertionError
This doesn't fail every time, but it seems to fail roughly 1 out of 3 for me.
1 out of 3
Or more at times. I'm not sure the pattern
Commit ecc32223870f7f1e28efd1e2f0534a1855a8b860 in #1595 should resolve this issue.
The tests pass locally on the branch for me. Not sure why Jenkins hangs.
Metadata Update from @mprahl: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
This particular issue is fixed, but Jenkins still hangs. I'll file a ticket for this.
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/mbs/issues/1596
Please continue any further discussion there.