updates-upstream-linux: check detected version before trying to use it
All threads resolved!
All threads resolved!
Just after adding apertis/v202*-security and -updates branches to be tracked by the dashboard, the returned version is "None" because the cache file is not yet updated. This "None" value makes the pipeline failing with:
Traceback (most recent call last):
File "/builds/infrastructure/dashboard/./bin/packaging-updates-upstream-linux", line 209, in <module>
results = compute_linux_updates(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/builds/infrastructure/dashboard/./bin/packaging-updates-upstream-linux", line 134, in compute_linux_updates
process = subprocess.run(
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', '-c', 'versionsort.suffix=-', 'ls-remote', '--exit-code', '--tags', '--refs', '--sort=version:refname', 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vNone*']' returned non-zero exit status 2.
To avoid failures, just skip this branch for this iteration.
https://phabricator.apertis.org/T9833
Signed-off-by: Dylan Aïssi dylan.aissi@collabora.com
Edited by Dylan Aïssi
Merge request reports
Activity
assigned to @daissi
added 1 commit
- 93962e17 - updates-upstream-linux: check detected version before trying to use it
requested review from @wlozano
- Resolved by Walter Lozano
My only question is, if we skip this iteration, will are being able to catch issues in
-updates
?
added 5 commits
-
63111ae8...d10731c0 - 2 commits from branch
master
- 1cb9733f - updates-upstream-linux: check detected version before trying to use it
- d3a99868 - json-merge: only write packaging data in cache file
- ed99d436 - Add branch.version as required data to use cache
Toggle commit list-
63111ae8...d10731c0 - 2 commits from branch
added 6 commits
-
ed99d436...672d5924 - 3 commits from branch
master
- 190ace6f - updates-upstream-linux: check detected version before trying to use it
- cf713f91 - json-merge: only write packaging data in cache file
- a9ec2290 - Add branch.version as required data to use cache
Toggle commit list-
ed99d436...672d5924 - 3 commits from branch
Please register or sign in to reply