DevHeads.net

Gating tests from tarball in Fedora - how to set up them?

Hi guys

I'm trying to enable gating tests for package system-storage-manager.
The tarball contains upstream tests and I would like to use these
(with the ability to apply patches to them, same as to the rest of the
code). I have a gating.yaml and tests.yml that works in RHEL exactly
as I want it, but when I try to apply them to Fedora, I can't get it
to work.

It looks as the tests are not included in the VM built for the test.
If I change tests.yml and use only "run: some_system_command," then
the system command is executed.

My tests.yml looks very similar to swid-tools, where it works
(according to jenkins logs), so I'm cc-ing Jan Pazdziora just in case.
(Jan, sorry for two emails, the first one bounced back from the list.)

I tried to find some solution on
<a href="https://docs.fedoraproject.org/en-US/ci/" title="https://docs.fedoraproject.org/en-US/ci/">https://docs.fedoraproject.org/en-US/ci/</a> (and subpages), but if it is
there, I didn't notice. I also found some other pages as
<a href="https://docs.pagure.org/greenwave/package-specific-policies.html" title="https://docs.pagure.org/greenwave/package-specific-policies.html">https://docs.pagure.org/greenwave/package-specific-policies.html</a>, with
the same result.

I'm using this PR to start the tests:
<a href="https://src.fedoraproject.org/rpms/system-storage-manager/pull-request/1" title="https://src.fedoraproject.org/rpms/system-storage-manager/pull-request/1">https://src.fedoraproject.org/rpms/system-storage-manager/pull-request/1</a>
A failed run: <a href="https://jenkins-continuous-infra.apps.ci.centos.org/blue/organizations/jenkins/fedora-f30-pr-pipeline/detail/fedora-f30-pr-pipeline/102/pipeline" title="https://jenkins-continuous-infra.apps.ci.centos.org/blue/organizations/jenkins/fedora-f30-pr-pipeline/detail/fedora-f30-pr-pipeline/102/pipeline">https://jenkins-continuous-infra.apps.ci.centos.org/blue/organizations/j...</a>

Any ideas what I'm doing wrong? gating.yaml and tests.yml bellow.

Thanks
Jan

- role: standard-test-basic
tags:
- atomic
- classic
required_packages:
- lvm2
- cryptsetup

tests:
- smoke: # Run tests
dir: ./source/
run: ./test.py --system --logs

I tried to replace the osci.brew-build.tier0.functional with some
build.foo cases, but it didn't change anything.