Issue #4649
Updated by bherring over 5 years ago
h2. Background
Starting April 4, both *test_package_paths* and *test_download_policies* have been failing.
Failures are locally reproducible.
Regression is not present in 2.18.1 or 2.19.0 (verified).
Nothing appears to be out-of-place looking at *journalctl*
h3. test_package_paths failure
h4. Code Failure Location
<pre>
rpms = []
for repo in repos:
with self.subTest(repo=repo):
rpms.append(
> get_unit(cfg, repo['distributors'][0], RPM).content
)
</pre>
h4. Failure
<pre>
requests.exceptions.HTTPError: 503 Server Error: Service Unavailable for url: https://host-10-0-148-62.openstacklocal:443/streamer/var/lib/pulp/content/units/rpm/30/938ff308e93a57caac883fa9ee3a8ffd61f457f413eb399387702a53f8ab4d/bear-4.1-1.noarch.rpm?policy=eyJleHRlbnNpb25zIjogeyJyZW1vdGVfaXAiOiAiMTAuMC4xNDkuNyJ9LCAicmVzb3VyY2UiOiAiL3N0cmVhbWVyL3Zhci9saWIvcHVscC9jb250ZW50L3VuaXRzL3JwbS8zMC85MzhmZjMwOGU5M2E1N2NhYWM4ODNmYTllZTNhOGZmZDYxZjQ1N2Y0MTNlYjM5OTM4NzcwMmE1M2Y4YWI0ZC9iZWFyLTQuMS0xLm5vYXJjaC5ycG0iLCAiZXhwaXJhdGlvbiI6IDE1NTQ3MDU4NTV9;signature=rh0RCG4Bq6Z_HwgOk4jvw6KSx3caffNdI87QhZsk_ih2GbOqgIiugQbnQ7_ujKFuBEqX-2o-4JNUqfYUmAIeGISbZuILPBntgje-3ULyytU2lpEAPCRXpgV-0eybIF4czT0QA1i4IAbyFjWt5jt1IUfIqbiGH_V-xXyKzJvStn5vllcNpi-HxOEIB3diSiXLqqzVHf29APgUGT278DoPZkCbeyaKNvgWUP3O_1gmb5fqa7w7-GzTYiP_AJjyUwmyCPqX72tmmTtwOw-v244UVFKbjfaNEmvIFNpInjWufZFoa4nhg-_R2Zb6TpmheP469b2OqWfnTWHwZuuvTkxWMg%3D%3D
</pre>
h3. test_download_policies
Most of the test_download_policies suite fails with similar streamer/500 errors
h3. Code Failure Location
<pre>
# Download an RPM.
> cls.rpm = get_unit(cls.cfg, cls.repo['distributors'][0], RPM)
</pre>
h3. Failure
<pre>
> raise HTTPError(http_error_msg, response=self)
E requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://host-10-0-148-62.openstacklocal:443/streamer/var/lib/pulp/content/units/rpm/30/938ff308e93a57caac883fa9ee3a8ffd61f457f413eb399387702a53f8ab4d/bear-4.1-1.noarch.rpm?policy=eyJleHRlbnNpb25zIjogeyJyZW1vdGVfaXAiOiAiMTAuMC4xNDkuNyJ9LCAicmVzb3VyY2UiOiAiL3N0cmVhbWVyL3Zhci9saWIvcHVscC9jb250ZW50L3VuaXRzL3JwbS8zMC85MzhmZjMwOGU5M2E1N2NhYWM4ODNmYTllZTNhOGZmZDYxZjQ1N2Y0MTNlYjM5OTM4NzcwMmE1M2Y4YWI0ZC9iZWFyLTQuMS0xLm5vYXJjaC5ycG0iLCAiZXhwaXJhdGlvbiI6IDE1NTQ3MDQ1MjB9;signature=uYuCRFILGPt-foPDpipaO4FDIwrdMPIrULGluwFM2_j1iX7e9qoK8vJL9bcPgyULWgQ62EGyDqFiwR2I9mmyJYm0m1qrWlfLZI9WGLFkomuamve_c9ORoUiS5R41rvPBpNYZJan7pitqnLdzLZVOzQMyb6YJMac4_uonWai0znYNsg7VxsoETTDm7Qp4Z1mT_SlO90g9BHas2hXEtq1VjuFMhLUenDGZpnmn8M9C43oAbIU4x9afYRwlrdYsEu9lq6nP0qxwr4JKAOz2WdQMFmZlSwm-c51q8Irh4mfG7-GJzBK558XcYNhqG_AhJ4JyPlkf5H4E_Lx2MZVjKhb9TA%3D%3D
</pre>