yamllint blocking py2 zuul jobs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Al Bailey |
Bug Description
Brief Description
-----------------
Submissions to zuul are randomly failing for py2 jobs due to a newer version of yamllint.
The yamllint released on Jan 29, 2021 drops py2 support, but the upper constraints do not limit it,
and test-requirements will attempt to install whatever version it can.
This failure appears to be random at the moment, due to zuul servers having an older version cached.
Severity
--------
Major
Steps to Reproduce
------------------
Submit a job to distcloud and see if it randomly fails zuul for a py27 job
Expected Behavior
------------------
zuul job should only fail if there is a newly introduced bug.
Actual Behavior
----------------
zuul job is randomly failing. depends on which zuul worker node is selected.
Reproducibility
---------------
Intermittent
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
April 5, 2021
Last Pass
---------
It passed earlier today. A benign change failed.
https:/
Timestamp/Logs
--------------
Collecting yamllint>=0.5.2
Created temporary directory: /tmp/pip-
Looking up "https:/
No cache entry available
(trimmed some logs)
ERROR: Package 'yamllint' requires a different Python: 2.7.17 not in '>=3.5.*'
Test Activity
-------------
Development
Workaround
----------
Not really any. I will submit a fix.
Changed in starlingx: | |
status: | New → In Progress |
Changed in starlingx: | |
status: | Fix Committed → Fix Released |
tags: | added: in-r-stx50 |
review up here with a potential fix /review. opendev. org/c/starlingx /distcloud/ +/784821
https:/