Commit Graph

26 Commits

Author SHA1 Message Date
Jesus Checa Hidalgo
dcc1247212 tests: fixes for gating tests
* plans/ci: setting "how: beakerlib" in execute step is deprecated.
  changed to "how: tmt" to comply with newer tmt versions.
  tmt versions.
* ltrace with both --o and --c does not produce output to file:
  add malloc to the list of syscalls to check for tracing.
* ltrace crashes when run on certain processes with --S option:
  make pgrep to exact match to avoid getting two PIDs, one from
  dbus-broker and other from dbus-broker-launch.
* ltrace doesn't work on PIE-binaries:
  Added missing 32-bit dependencies.
2022-05-11 13:54:16 +00:00
Martin Cermak
101cd9b6c3 CI testing: Fix the SRPM download
Usually, this test is used for gating ltrace.  In such case the
Fedora infrastructure offers the SRPM along with other ltrace
subrpms within a repo called "test-artifacts".

However, this test is also used to test dejagnu, because ltrace
has dejagnu based testsuite.  In such case the "test-artifacts"
repo has dejagnu, but not ltrace.

We need to be able to get the ltrace SRPM in both cases.
2021-11-12 09:09:08 +01:00
Martin Cermak
8fd295b7c5 Do not try to install compat arch requirements 2021-11-11 12:34:11 +01:00
Václav Kadlčík
809fa26deb Fix the setup in tests/Sanity/testsuite
"koji download-build" is a wrong tool to download artifacts being
tested. They are freshly scratch-built and hosted in a local repo
called "test-artifacts" unknown to koji. Using "dnf download"
directly and limited to that specific repo is a correct way to
reach them.

I'm adding a fallback using the repo's local files just in case
"dnf" suffers some temporary hiccup.
2021-09-24 13:12:50 +02:00
Václav Kadlčík
0e4ab8cfe4 Import RHEL's wrapper for the upstream test suite
Note: In RHEL, it's "testsuite2" outside of categories, here I'm adding
      it to the Sanity category.
Note: I've filed https://bugzilla.redhat.com/show_bug.cgi?id=1963110
      and included it as a known failure to make this test pass.
2021-08-17 16:31:24 +00:00
Václav Kadlčík
0554fda54f Import RHEL's test Sanity/random-apps
Note than several sub-tests (apps) had to be removed as unsuitable
for publishing.
2021-08-17 16:31:24 +00:00
Václav Kadlčík
c8ea90148a Import RHEL's test for RFE #1449588 2021-08-17 16:31:24 +00:00
Václav Kadlčík
04309572be Remove RHEL's test for #1427140
Right now it cannot work; it needs to access the source RPM for the
ltrace being tested which, in case of scratch builds, isn't currently
possible.
2021-05-19 15:40:27 +02:00
Václav Kadlčík
c0dedd804f Log more information in a regression test
To make the bz1427140-ltrace-ltrace-0-7-91-unwind-elfutils-patch work
not only for regular builds but for scratch builds as well, we need
to know how to refer them. This commit is just a temporary attempt to
find the environment variable holding the reference. I'll make use of
it in a follow-up commit.
2021-05-19 14:59:30 +02:00
Václav Kadlčík
d73a4e1684 Import a regression test from RHEL.
Sorry, no specific bug number, it wasn't recorded at that time and now
I can't find it, at least easily.
2021-05-19 13:29:09 +02:00
Václav Kadlčík
f20f6a9ea6 Import RHEL's regression test for #1158713
Note: I've prefixed the test with "bz1158713-" because ltrace's repo
      in Fedora ignores "ltrace-*/". See the .gitignore file.
2021-05-19 13:24:04 +02:00
Václav Kadlčík
9af7a027b2 Import RHEL's regression test for #211135 2021-05-19 13:16:02 +02:00
Václav Kadlčík
6c7c2d2b36 Import RHEL's regression test for #211163 2021-05-19 13:16:02 +02:00
Václav Kadlčík
6dd7382d3c Import RHEL's regression test for #223732 2021-05-19 13:16:02 +02:00
Václav Kadlčík
724196798c Import RHEL's regression test for #235671 2021-05-19 13:16:02 +02:00
Václav Kadlčík
644de0d37c Import RHEL's regression test for #427444 2021-05-19 13:16:02 +02:00
Václav Kadlčík
ec8db7cf57 Import RHEL's regression test for #447404 2021-05-19 13:16:01 +02:00
Václav Kadlčík
d7b87c0431 Import RHEL's regression test for #754096 2021-05-19 13:16:01 +02:00
Václav Kadlčík
f2f13e861b Import RHEL's regression test for #797761 2021-05-19 13:16:01 +02:00
Václav Kadlčík
ff856ee840 Import RHEL's regression test for #868281 2021-05-19 13:16:01 +02:00
Václav Kadlčík
b190a780c0 Import RHEL's regression test for #890961 2021-05-19 13:16:01 +02:00
Václav Kadlčík
4d182004cf Import RHEL's regression test for #1051221 2021-05-19 13:16:01 +02:00
Václav Kadlčík
cd59e55c7a Import RHEL's regression test for #1053765 2021-05-19 13:16:01 +02:00
Václav Kadlčík
dc3264a1bc Import RHEL's regression test for #1360259 2021-05-19 13:16:01 +02:00
Václav Kadlčík
fa03fb9fb0 Import RHEL's regression test for #1427140 2021-05-19 13:16:01 +02:00
Václav Kadlčík
e84d51dcc0 Introduce CI gating with a simple test 2021-01-18 16:44:54 +01:00