#11014 Update critical path set for Fedora 37
Closed: Fixed 2 years ago by humaton. Opened 2 years ago by churchyard.

  • Describe the issue

Looking at https://pdc.fedoraproject.org/rest_api/v1/component-branches/?name=f37&global_component=python3.10 and https://pdc.fedoraproject.org/rest_api/v1/component-branches/?name=f37&global_component=python3.11 I see that:

  • python3.10 is in critical_path
  • python3.11 is not

This should be the other way around (at least since branching). Could you please update the critical_path set for f37?

  • When do you need this? No particular deadline.

  • When is this no longer needed or useful? When F37 goes EOL.

  • If we cannot complete your request, what is the impact? Non-critical python3.10 updates needlessly stalled in Bodhi. Critical python3.11 updates not being tested /gated on OpenQA.


Metadata Update from @phsmoura:
- Issue tagged with: medium-gain, medium-trouble, ops

2 years ago

Huh, we just updated things last week... but it seems that the script that updates pdc isn't working right.

➜ scripts git:(main) ✗ python3 update-critpath.py --debug 37 critpath-37.txt REDACTED
DEBUG:update_critpath:Using pdc branch cache '/var/tmp/pdc-branch-cache.dbm'
DEBUG:update_critpath:Reading supplied 'critpath-37.txt'
DEBUG:update_critpath:Finding PDC branch IDs for supplied critpath list. (See cache in /var/tmp/pdc-branch-cache.dbm)
DEBUG:update_critpath:Done finding PDC branch IDs for supplied critpath list.
DEBUG:update_critpath:Retrieving existing critpath list from PDC.
DEBUG:update_critpath:Done retrieving existing critpath list from PDC.
DEBUG:update_critpath:0 packages need critpath removed.
DEBUG:update_critpath:0 packages need critpath added.
➜ scripts git:(main) ✗ grep python3.11 critpath-37.txt
python3.11
➜ scripts git:(main) ✗ curl "https://pdc.fedoraproject.org/rest_api/v1/component-branches/?name=f37&global_component=python3.11"
{"count":1,"next":null,"previous":null,"results":[{"id":598002,"global_component":"python3.11","name":"f37","slas":[{"id":1198151,"sla":"security_fixes","eol":"2023-11-14"},{"id":1198152,"sla":"bug_fixes","eol":"2023-11-14"}],"type":"rpm","active":true,"critical_path":false}]}%

The problem here was that the script expects branch in format f37, not just 37. Re-running the script resulted in an updated critpath.

Metadata Update from @humaton:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Verified for python3.10 and python3.11. Thank you.

Perhaps the script could note this in it's usage? Or error when not passed fN?

Login to comment on this ticket.

Metadata
Boards 1
Ops Status: Backlog