infra-docs-fpo/modules/release_guide/pages/sop_file_ftbfs.adoc
2023-08-16 15:41:30 +02:00

59 lines
1.4 KiB
Text

= File FTBFS
NOTE: FTBFS means "Fails To Build From Source".
== Description
After every mass rebuild, we file FTBFS bugs for the packages that failed to
build during mass rebuild.
This should be run after the
https://docs.pagure.org/releng/sop_mass_rebuild_packages.html#post-mass-rebuild-tasks[mass
rebuild builds are merged into main tag].
== Action
The FTBFS bugs are filed in bugzilla.
. Create a bugzilla bug for `FTBFS`:
* use the https://bugzilla.redhat.com/show_bug.cgi?id=1750908[previous
FTBFS bugzilla bug example] if its not created
. Set alias for `RAWHIDEFTBFS`:
* remove `RAWHIDEFTBFS` alias from the previous `FTBFS` bugzilla
* set `RAWHIDEFTBFS` alias on the new rawhide version `FTBFS` bugzilla
* set the alias on `RAWHIDEFailsToInstall` bugzilla in same fashion
. Install `python-bugzilla-cli` on your local machine if its not installed:
+
```
$ sudo dnf install python-bugzilla-cli
```
. Update the `massrebuildsinfo.py`:
* epoch
* buildtag
* destag
* tracking_bug
+
NOTE: Most of these values are already updated during mass rebuild, only one
that might need updating is `tracking_bug`.
. Update the `mass_rebuild_file_bugs.py`:
* rebuildid
. Login into bugzilla in the terminal using `bugzilla login` command:
+
```
$ bugzilla login
```
+
NOTE: Login as `releng@fedoraproject.org`
. Run `mass_rebuild_file_bugs.py` locally:
+
```
$ python mass_rebuild_file_bugs.py
```