Bug 2388185

Summary: mariadb11.8: STI tests will no longer be run in F43
Product: [Fedora] Fedora Reporter: Michal Schorm <mschorm>
Component: mariadb11.8Assignee: Pavol Sloboda <psloboda>
Status: MODIFIED --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fedora, fjanus, ljavorsk, mschorm, ndavidov, psloboda
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: 2382969 Environment:
Last Closed: 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: 2382969    
Bug Blocks: 2346261    

Description Michal Schorm 2025-08-13 09:16:02 UTC
+++ This bug was initially created as a clone of Bug #2382969 +++


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.

--- Additional comment from Pavol Sloboda on 2025-07-31 10:48:31 UTC ---

Hello, I have looked into the change and I will be working on a fix

Comment 1 Michal Schorm 2025-08-13 09:18:13 UTC
An update has been pushed:
  https://src.fedoraproject.org/rpms/mariadb11.8/c/63b1ca37bac2c442bfb14c181109c12538d71018?branch=rawhide
though it not yet seem to work as expected

Comment 2 Cristian Le 2025-08-13 11:26:51 UTC
That is quite a complicated setup, not sure what is meant to be doing, but a few tips:
- .fmf is just a fancy yaml file, so you can use whatever yaml formatter you want/have
- beakerlib install step can be avoided if you use beakerlib framework, and move the other parts inside the prep step
- you can *append* (not sure if there is pre-existing data there, but better to just append) to `$TMT_PLAN_ENVIRONMENT_FILE` [1] instead of the manual export command there
- as part of the current testing-farm handling the srpm packages are installed by default (although we are looking at removing that), maybe you can query from there instead
- is it not good to statically define the variables there? Maybe you can maintain those tests in src.fedoraproject.org/tests/mariadb if you need a common point to manage

[1]: https://tmt.readthedocs.io/en/stable/overview.html#step-variables