Bug 2382942

Summary: libffi: STI tests will no longer be run in F43
Product: [Fedora] Fedora Reporter: Cristian Le <fedora>
Component: libffiAssignee: Jesus Checa <jchecahi>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: codonell, dj, fweimer, green, lkundrak, mcermak, mcoufal, skolosov
Target Milestone: ---Flags: fweimer: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-08-12 10:14:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2346261    

Description Cristian Le 2025-07-23 13:46:37 UTC
Dear package maintainer,

This is an automated bug created due to the announced change proposal Disablement of STI tests.

Your project still has STI tests under `tests/tests*.yml`, which will no longer be run soon. We suggest you
migrate these tests to TMT format instead.

In the simplest case when the STI tests is a simple wrapper around a `tests/run_tests.sh`, the migration would
look like this:
```
$ tmt init
$ rm tests/tests.yml
$ cat <<EOF > ./plans.fmf
summary: Run all smoke tests
discover:
  how: fmf
execute:
  how: tmt
EOF
$ cat <<EOF > ./tests/main.fmf
summary: Smoke test
test: ./run_tests.sh
EOF
```

See https://fedoraproject.org/wiki/Changes/DisableSTI for more information, including a link to a migration
guide.

Feel free to reach out to us here or in #fedora-ci or #tmt matrix rooms if you need any help.

Comment 1 Carlos O'Donell 2025-07-23 15:29:30 UTC
We have the same test code downstream in c9s and c10s, which I think need updating.

It would be logically best to update Fedora Rawhide libffi to use fmf/tmt in this case and then any downstreams can backport as required?

Comment 2 Cristian Le 2025-07-23 15:38:49 UTC
Yes, updating in Rawhide only is acceptable. Epel-Centos backporting is on a case-by-case basis. If the test code itself is equivalent in all versions, it is encouraged to update centos as well, otherwise using STI will still be supported as best as possible.

Comment 3 Florian Weimer 2025-08-12 10:14:10 UTC
Fixed via https://src.fedoraproject.org/rpms/libffi/pull-request/13. Thanks, Jesus!