Compare commits

...
Sign in to create a new pull request.

166 commits

Author SHA1 Message Date
Jonathan Wakely
0eafb3090d Patched to workaround Autoconf 2.72 incompatiblity with GCC 16 2026-01-13 18:57:21 +00:00
Jonathan Wakely
070cdc17ea Rebuilt for Boost 1.90 2026-01-13 10:52:47 +00:00
Frank Ch. Eigler
6fe8d3d7ef upstream release 5.4 2025-10-31 14:14:14 -04:00
Martin Cermak
93ca322655 Fix the CI gating setup
Fix the CI gating setup per https://docs.fedoraproject.org/en-US/ci/gating/
2025-09-22 20:32:15 +02:00
Frank Ch. Eigler
703cf33b20 Automated weekly systemtap rawhide release: 5.4~pre17585496g86ab88eb 2025-09-22 10:01:32 -04:00
Frank Ch. Eigler
02ce13f371 Automated weekly systemtap rawhide release: 5.4~pre17585473g1fe4178d 2025-09-22 09:23:23 -04:00
Python Maint
e304ee7f0d Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 14:59:01 +02:00
Python Maint
ccde07acbd Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 15:19:43 +02:00
Fedora Release Engineering
360287bbf0 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 19:02:43 +00:00
Python Maint
846836105b Rebuilt for Python 3.14 2025-06-03 14:30:52 +02:00
Frank Ch. Eigler
967cf9e53d disable dyninst buildreq on i686 2025-05-02 14:55:11 -04:00
Frank Ch. Eigler
b9c00fd898 rebase to upstream release 5.3 2025-05-02 14:45:36 -04:00
Frank Ch. Eigler
423d7bf3e5 Respin against newer dyninst 2025-02-06 09:04:46 -05:00
Frank Ch. Eigler
3105e88d5b expect disabled dyninst on i686 2025-01-24 18:52:57 -05:00
Frank Ch. Eigler
a230f161dd respin try for dyninst 13 2025-01-24 15:51:58 -05:00
Frank Ch. Eigler
12f28a923c Respin against dyninst 13.0.0 2025-01-24 15:25:54 -05:00
Frank Ch. Eigler
2da431cab3 Automated weekly systemtap rawhide release: 5.3~pre17373816g7a71d34b 2025-01-20 09:01:46 -05:00
Frank Ch. Eigler
e8c03b8035 Automated weekly systemtap rawhide release: 5.3~pre17373794g3efe129d 2025-01-20 08:26:17 -05:00
Frank Ch. Eigler
4f28506db7 Automated weekly systemtap rawhide release: 5.3~pre17373422g9a48fbea 2025-01-19 22:04:39 -05:00
Frank Ch. Eigler
ae0cad098c Automated weekly systemtap rawhide release: 5.2~pre17373420g1e894ff0 2025-01-19 22:01:49 -05:00
Fedora Release Engineering
eb8c0fea4c Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 12:16:21 +00:00
Frank Ch. Eigler
17f221776b upstream systemtap 5.2 release 2024-11-08 19:58:20 -05:00
William Cohen
67e80ccf00 Automated weekly systemtap rawhide release: 5.2~pre17283218gc5774e18 2024-10-07 13:24:16 -04:00
William Cohen
5a82cccf73 Automated weekly systemtap rawhide release: 5.2~pre17277956g0b7f6722 2024-10-01 11:15:22 -04:00
Frank Ch. Eigler
9c79ac67a5 Automated weekly systemtap rawhide release: 5.2~pre17250223gd07e4284 2024-08-30 08:52:32 -04:00
Martin Cermak
e42e009a44 CI Tests: Move systemtap tests to separate git repo
* Move systemtap tests to separate tests repo:
  https://src.fedoraproject.org/tests/systemtap
* For automated CI gating purposes use:
  https://src.fedoraproject.org/tests/systemtap-gating
2024-08-19 17:50:12 +02:00
Martin Cermak
6ba46a9a04 CI Tests: Regression/stap-ERROR-Build-id-mismatch-with: Skip on rhel9 (known RHEL-50105) 2024-08-16 18:27:34 +02:00
Martin Cermak
4bf1177f47 CI Tests: Regression/small-tests: run each subtest as a separate testcase 2024-08-16 18:02:50 +02:00
Martin Cermak
91da2bdd2e CI Tests: Regression/small-tests: provide TESTS var to specify tests to run 2024-08-16 17:22:11 +02:00
Lumir Balhar
20b4dc7947 Final split of sdt-dtrace and sdt-devel (rhbz#2296275)
https://fedoraproject.org/wiki/Changes/Separate_dtrace_package
2024-08-12 10:54:45 +00:00
Martin Cermak
d0c648ee8c CI Tests: Mark Sanity/quick-smoke-test as 'tier 1' 2024-08-09 13:30:01 +02:00
William Cohen
eedaf37e14 Automated weekly systemtap rawhide release: 5.2~pre17224323g98d1ea34 2024-07-31 09:27:17 -04:00
Lumir Balhar
93948388bc New sdt-dtrace subpackage for dtrace tool (rhbz#2296275)
This is phase one of the approved self-contained change:
https://fedoraproject.org/wiki/Changes/Separate_dtrace_package

Phase two will be to switch all packages that need the dtrace tool
to the new systemtap-sdt-drace and then we can remove
the requirement from systemtap-sdt-devel package.
2024-07-18 10:01:34 +02:00
William Cohen
8c07a00957 Automated weekly systemtap rawhide release: 5.2~pre17206355g1a07290a 2024-07-10 14:19:34 -04:00
William Cohen
f95124e787 Automated weekly systemtap rawhide release: 5.1~pre17206206ge48abca5 2024-07-10 10:10:10 -04:00
Martin Cermak
956a4db3d9 CI Tests: ftrace-logging-tapset test: adjust expected output 2024-06-28 13:02:36 +02:00
Martin Cermak
36b1f19663 CI tests: Regression/small-tests: extend test time 2024-06-20 14:36:31 +02:00
Martin Cermak
897096ec80 CI Tests: second-command-not-captured: raise STP_OVERLOAD_THRESHOLD for ppc64le
In tests/Regression/second-command-not-captured raise the
STP_OVERLOAD_THRESHOLD.  In practice the original treshold
500000000LL was hit here and there, causing intermittent
testcase failures.  This was reproducible manually in cca
50% of tests.
2024-06-20 14:20:53 +02:00
Martin Cermak
dd61c2d292 CI Tests: Port backtrace test for kernel-6.10
Modern kernel-6.10 doesn't have function kmem_cache_alloc(),
but we can test with another one, such as schedule().
2024-06-19 10:48:55 +02:00
Martin Cermak
73bce465bd CI Tests: Suppress selected rhel10/ppc64le error::dwarf problems 2024-06-17 18:42:00 +02:00
Martin Cermak
4ae3ff2152 CI Tests: Do not rely on python-unversioned-command.rpm 2024-06-13 12:15:54 +02:00
Python Maint
95a46ceb44 Rebuilt for Python 3.13 2024-06-08 22:34:35 +02:00
Frank Ch. Eigler
64a9703628 release 5.1 2024-05-16 12:03:54 -04:00
Martin Cermak
11f44c8ba2 CI tests: Regression/small-tests update 2024-05-08 08:22:55 +02:00
Martin Cermak
87e8ee9d88 CI tests: python probing: behave on rhel 2024-05-08 08:04:34 +02:00
Martin Cermak
668b8dd42a CI test updates
- Add upstream testsuite tests/Regression/upstream-testsuite
  to the CI testplan.  However, this one isn't a good measure
  for gating, because it is too complex and flaky.  But it's
  good to have test results at hand.  This testcase reports a
  failure only in case of an infrastructure problem.  Individual
  .exp test failures are not a show stopper from the persp of
  the CI gating.
- Add upstream systemtap build and install pseudo testcase.
  tests/Install/upstream-systemtap to the testplan.
  This one is disabled by default (in its main.fmf file).  The
  point here is to be able to test with upstream version of
  systemtap in case a working fedora build isn't available.
  This is a helper for manual testing, although if enabled, it
  will do its job in the automated CI pipeline too.
- Use FMF tag instead of tier attributes to define the testplan.
- Testcase updates:
  * tests/Regression/second-command-not-captured
  * tests/Regression/python-probing
2024-04-17 08:29:50 +02:00
Martin Cermak
63994d2843 Align with modern FMF specs. 2024-02-21 15:26:12 +01:00
Frank Ch. Eigler
4ae6e4b029
testsuite: adapt to "egrep" deprecation
sigh
2024-01-25 17:56:30 -05:00
Frank Ch. Eigler
756feba063 Automated weekly systemtap rawhide release: 5.1~pre17062192g5fd8daba 2024-01-25 16:47:16 -05:00
Frank Ch. Eigler
6b9b658442 testsuite: adapt to "fgrep" deprecation
Since for some reason upstream grep deprecated "fgrep", and for some reason
fedora packagers followed suit, some these tests scripts fail with the goofy
"fgrep: warning: fgrep is obsolescent; using grep -F" warning.
2024-01-25 16:42:18 -05:00
Frank Ch. Eigler
5c095346d4 Regression/PR16166/towers.c: gcc14 warning suppression 2024-01-25 16:38:34 -05:00
Frank Ch. Eigler
9c100ef16f restore SPDX %changelog blurb 2024-01-25 15:04:14 -05:00
Frank Ch. Eigler
0cecbe6966 Automated weekly systemtap rawhide release: 5.1~pre17062114g2604d135 2024-01-25 14:39:53 -05:00
Frank Ch. Eigler
f078b4cd79 Automated weekly systemtap rawhide release: 5.1~pre17060399gb6abf4bd 2024-01-23 15:00:09 -05:00
Frank Ch. Eigler
086a7444b9 Automated weekly systemtap rawhide release: 5.1~pre17059382g67086c54 2024-01-22 10:44:38 -05:00
Frank Ch. Eigler
d628fd39d2 Automated weekly systemtap rawhide release: 5.1~pre17056139g6c0b92b3 2024-01-18 16:39:40 -05:00
Frank Ch. Eigler
4aed2098f3 Automated weekly systemtap rawhide release: 5.1~pre17056120g2ccc0c4c 2024-01-18 16:07:50 -05:00
Jonathan Wakely
2783b620ad Rebuilt for Boost 1.83 2024-01-18 05:21:41 +00:00
Martin Cermak
1d4a6f14bb CI Tests: Robustify Regression/RHEL6Feature-cpp-backtraces 2023-11-24 15:13:33 +01:00
Frank Ch. Eigler
2a2af534e3 Resolves: RHEL-16549, systemtap uprobe partial registration failure can cause crashes 2023-11-16 18:50:39 -05:00
Frank Ch. Eigler
7e30728b5f Upstream release 5.0 2023-11-04 12:31:05 -04:00
Martin Cermak
5d53a19f79 Fix Regression/ipv6-tapset-support for modern Fedoras 2023-10-13 23:05:42 +02:00
William Cohen
b7cac72f19 Automated weekly systemtap rawhide release: 5.0~pre16958465gca71442b 2023-09-27 16:30:49 -04:00
Fedora Release Engineering
92650f2647 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 03:06:17 +00:00
Frank Ch. Eigler
3be2cacf55 Automated weekly systemtap rawhide release: 5.0~pre16891249ge891a37e 2023-07-11 21:23:14 -04:00
Frank Ch. Eigler
f303d28d53 Automated weekly systemtap rawhide release: 5.0~pre16890184ge891a37e 2023-07-10 15:47:14 -04:00
Frank Ch. Eigler
6c6cf1bcac Automated weekly systemtap rawhide release: 5.0~pre16885234gd98d6c2d 2023-07-04 22:17:16 -04:00
Frank Ch. Eigler
61a9dae5ea Automated weekly systemtap rawhide release: 5.0~pre16885197g6b17715f 2023-07-04 21:30:50 -04:00
Python Maint
6464adf385 Rebuilt for Python 3.12 2023-06-13 23:29:35 +02:00
Mark Wielaard
11422e39ad 4.9-2 - rebuilt for f39-build-side-67564 target 2023-05-19 22:49:33 +02:00
Martin Cermak
91acc811a1 CI Tests: Set DEBUGINFOD_URLS based on test FMF context.
Tests are supposed to be executed within defined context, such as e.g.
tmt --root . -c arch=x86_64 -c distro=fedora-38 -c trigger=build run ...

FTR: https://tmt.readthedocs.io/en/stable/spec/plans.html#context

This update sets DEBUGINFOD_URLS based on the provided distro
via the ci.fmf file.
2023-05-19 10:34:46 +02:00
Martin Cermak
3759fe484f CI Tests: Instead of waiting for a random event/hit, trigger one via ping 2023-05-18 13:09:44 +02:00
Martin Cermak
863bc06741 CI Tests: Regression/small-tests: Use debuginfod on Fedora 2023-05-18 12:26:45 +02:00
Martin Cermak
ca2a8a03ea CI Tests: Work around PR29765 2023-05-17 17:19:46 +02:00
Martin Cermak
12975603f1 CI Tests: Multiple updates
tests/Regression/RHEL6Feature-cpp-methods:
  Fix locale/LANG dependent sort collation prob
tests/Regression/python-probing:
  Make sure needed debuginfo is in place
tests/Regression/wrong-data-returned-by-nfs-commit-done:
  Refactor, improve clranup, simplify
2023-05-04 17:56:45 +02:00
Martin Cermak
6e53120fd1 CI Tests: Relax check for RPMs (not applicable to rhel8 modules) 2023-05-02 10:47:18 +02:00
Frank Ch. Eigler
0a08050f43 upstream release 2023-04-28 17:21:02 -04:00
Martin Cermak
8ea2489c53 CI Testing: Extend test coverage on Fedora
Enable most of the tests on Fedora.  Port some of them to Fedora.
Annotate expected failures with respective bugzilla IDs.
2023-03-10 15:27:23 +01:00
Frank Ch. Eigler
340640bc27 rhbz2173032 2023-02-23 16:37:59 -05:00
Martin Cermak
1c8c98dbcd CI testing: Drop the Regression/testsuite-upstream-raw TC 2023-02-22 09:48:52 +01:00
Martin Cermak
6e2eede1a1 CI tests: bz2152970 is a known issue 2023-02-21 20:41:54 +01:00
Martin Cermak
671f002697 Make yamllint happier 2023-02-21 18:46:22 +01:00
Martin Cermak
da710f5bb8 CI tests: On Fedora run Tier1 tests only. 2023-02-21 16:46:33 +01:00
Jonathan Wakely
f407c7e3a1 Rebuilt for Boost 1.81 2023-02-20 22:18:20 +00:00
Frank Ch. Eigler
6b7d1588ab respin with important upstream fixes 2023-02-08 12:36:07 -05:00
Fedora Release Engineering
14dabc02a6 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 04:34:30 +00:00
Martin Cermak
d5b191f9b0 tests: Fix fmf plan deprecated attributes 2022-12-12 13:55:48 +01:00
Serhei Makarov
359f52a3b0 upstream release 4.8 2022-11-03 17:30:09 -04:00
Frank Ch. Eigler
4da5c082d7 Automated weekly systemtap rawhide release: 4.8~pre16650659g6a096a7d 2022-10-06 10:19:54 -04:00
Martin Cermak
96a7f16670 tests/Regression/elfutils-debuginfod-client-not-being-called: Debuginfod client cache location change
Reflect elfutils upstream commit e939590219 (PR25502) changing the
location of the client cache.  Without this update the first run of
the testcase works, but not the subsequent runs.
2022-08-10 14:05:07 +02:00
Frank Ch. Eigler
3138353e0e Automated weekly systemtap rawhide release: 4.8~pre16594741g5bdc37b9 2022-08-02 17:03:09 -04:00
Frank Ch. Eigler
648b6d77e5 Automated weekly systemtap rawhide release: 4.8~pre16594727g09f1b7bb 2022-08-02 16:38:53 -04:00
Fedora Release Engineering
8efeb38c25 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 10:00:37 +00:00
Zbigniew Jędrzejewski-Szmek
460815a33b Rebuilt for pyparsing-3.0.9 2022-07-19 11:12:36 +02:00
Frank Ch. Eigler
d5dda0dab9 Automated weekly systemtap rawhide release: 4.8~pre16578235g069e109c 2022-07-14 14:32:00 -04:00
Frank Ch. Eigler
613a6720d2 Automated weekly systemtap rawhide release: 4.8~pre16557277g2882dcc9 2022-06-20 08:23:06 -04:00
Python Maint
19434e1809 Rebuilt for Python 3.11 2022-06-13 19:54:29 +02:00
Martin Cermak
5d247c7220 CI Tests: make Regression/python-probing less flaky
Make Regression/python-probing less flaky by restricting
the output flow, preventing the transport buffers flood (PR29108).
2022-05-26 11:05:48 +02:00
Martin Cermak
ca4fdbacfc CI Tests: make Regression/second-command-not-captured less flaky
Make Regression/second-command-not-captured less flaky by restricting
the output flow, preventing the transport buffers flood (PR29108).
2022-05-11 14:49:56 +02:00
Martin Cermak
8d5d041590 Include downstream/RHEL tests
Find new home for downstream RHEL tests.  Upstream them.  The set of
tests used for fedora gating stays intact:  The gating tests are only
those having the tier1 tag set in their main.fmf file.  The testplan
plans/ci.fmf filters the others out from gating.

The set of Fedora gating tests stays the same as it was before this
change.
2022-05-10 09:56:18 +02:00
Thomas Rodgers
1b351ce0ad Rebuilt for Boost 1.78 2022-05-04 11:42:19 +02:00
Frank Ch. Eigler
719873f8c8 upstream release 4.7 2022-05-02 11:16:09 -04:00
Richard W.M. Jones
27e7500190 Bump and rebuild to attempt to fix RHBZ#2070651 2022-04-01 17:11:22 +01:00
Frank Ch. Eigler
31ab245f8d Automated weekly systemtap rawhide release: 4.7~pre16468670g9f253544 2022-03-09 18:04:12 -05:00
Jiri
9a382728b3 Rebuilt for java-17-openjdk as system jdk
https://fedoraproject.org/wiki/Changes/Java17
2022-02-06 00:23:29 +01:00
William Cohen
cd9f46a12d Automated weekly systemtap rawhide release: 4.7~pre16433134g7d871ab5 2022-01-27 14:57:30 -05:00
William Cohen
fa2b37af6f rhbz2046015, rhbz2047316 2022-01-27 14:38:07 -05:00
William Cohen
257e594371 Automated weekly systemtap rawhide release: 4.7~pre16432070g1d2cb8b3 2022-01-26 09:25:05 -05:00
Fedora Release Engineering
5328b3977a - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 02:13:22 +00:00
Martin Cermak
142fdf283d CI Gating: Add the python-probing testcase 2022-01-21 13:51:15 +01:00
Stan Cox
66c958f130 Rebuild with dyninst-12.0.1 2022-01-10 14:17:46 -05:00
Martin Cermak
1d0f0df403 Automated weekly systemtap rawhide release: 4.7~pre16395042gefae8a3d 2021-12-14 18:50:20 +01:00
Frank Ch. Eigler
6cbe802078 Automated weekly systemtap rawhide release: 4.7~pre16388948g209b5a19 2021-12-07 11:35:02 -05:00
Frank Ch. Eigler
3d94003095 Automated weekly systemtap rawhide release: 4.7~pre16383943gecab2afe 2021-12-01 16:33:44 -05:00
Martin Cermak
2c11912983 CI Gating: Set up mandatory rebuild tests
Make sure components consuming systemtap-devel continue building
after a systemtap update.  Currently glibc and qemu rebuilds are
attempted.
2021-12-01 12:23:11 +01:00
Martin Cermak
55525336e6 Automated weekly systemtap rawhide release: 4.7~pre16378386g61a4c8f8 2021-11-25 12:11:45 +01:00
Martin Cermak
d2216bc0af CI Gating: Exclude conflicting glibc-headers from dnf transaction 2021-11-24 09:28:33 +01:00
Serguei Makarov
d739a4cf24 upstream release 4.6 2021-11-15 11:17:15 -05:00
Frank Ch. Eigler
0109644eeb Automated weekly systemtap rawhide release: 4.6~pre16291338gf2c14776 2021-08-16 13:12:18 -04:00
Jonathan Wakely
d517681e27 Rebuilt for Boost 1.76 2021-08-07 03:57:30 +01:00
Fedora Release Engineering
6710d16e67 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 18:48:26 +00:00
Frank Ch. Eigler
01b865d267 Automated weekly systemtap rawhide release: 4.6~pre16262021g84ef6bd9 2021-07-13 14:49:00 -04:00
Frank Ch. Eigler
2b1b4b504b Automated weekly systemtap rawhide release: 4.6~pre16262012gc7f1c12e 2021-07-13 14:35:08 -04:00
Frank Ch. Eigler
92c5f6ebac Automated weekly systemtap rawhide release: 4.6~pre16262008gbff2b2ff 2021-07-13 14:28:12 -04:00
Frank Ch. Eigler
42e15d3c37 Automated weekly systemtap rawhide release: 16261989g7c2751e3 2021-07-13 13:56:11 -04:00
Björn Esser
1339495408
Rebuild for versioned symbols in json-c 2021-07-10 11:58:40 +02:00
Martin Cermak
20a55c19f6 CI tests: SELinux setup common for all the tests
Userspace probing needs custom SELinux setup so that systemtap
can do userspace probing using dyninst.  See check_dyninst_sebools()
in stapdyn/dynutil.cxx for details.

This update moves such SELinux setup out from the userspace-probes
testcase, and makes it common for all the systemtap CI tests.
2021-06-14 18:44:12 +02:00
Martin Cermak
107122a4e8 CI tests: Add more tests
- Separate the "stap-prep" phase out to a separate phase
 - Add tests/Sanity/byteman-java-methods-probing
 - Add tests/Sanity/kernel-modules
 - Add tests/Sanity/userspace-probes
 - Add tests/Sanity/stap-server-basic-sanity
 - Add tests/Regression/small-tests
2021-06-09 16:28:54 +02:00
Python Maint
7b59f81081 Rebuilt for Python 3.10 2021-06-04 21:16:19 +02:00
Frank Ch. Eigler
8c4334f134 CI: prefer main fedora debuginfod server 2021-05-09 15:32:49 -04:00
Serguei Makarov
4be082b4da upstream release 4.5 2021-05-07 19:02:43 -04:00
Frank Ch. Eigler
58ac083d93 rpminspect tweaks: attempt to defang more tests 2021-05-04 17:31:39 -04:00
Frank Ch. Eigler
84959d29ef Automated weekly systemtap rawhide release: 0.202105041345git02b6be05fb76 2021-05-04 13:45:21 -04:00
Frank Ch. Eigler
a37d94ed80 rpminspect: start adding permanent rpminspect waivers 2021-05-03 12:30:05 -04:00
Martin Cermak
59f04a6c84 Drop the baseos-qe.koji-build.scratch-build.validation testcase 2021-05-03 17:59:29 +02:00
Stan Cox
ded0a76ab1 Rebuild for dyninst 11.0.0 2021-04-30 10:18:12 -04:00
Martin Cermak
bd7878dd23 Introduce Fedora CI gating.
Introduce CI gating.  This will introduce new testcase called
fedora-ci.koji-build.tier0.functional and will configure it
as a mandatory CI gating testcase for elfutils fedora builds.

The provided test case is executed by running ./runtest.sh.
The main.fmf file keeps the testcase metadata.  The plans and
.fmf folders contain configuration files needed for execution
of provided testcases within the Fedora CI infrastructure.

The provided testcase relies upon the debuginfod server
providing needed kernel-debuginfo.  It was tested with
staging instance of the debuginfod server running at
https://debuginfod.stg.fedoraproject.org/ .

Provided test uses Flexible Metadata Format, as documented in
https://fmf.readthedocs.io/ .
2021-04-14 17:02:36 +02:00
Martin Cermak
849807987a Automated weekly systemtap rawhide release: 0.202104140933gitad00fb87e 2021-04-14 09:33:39 +02:00
Martin Cermak
19272b877f Automated weekly systemtap rawhide release: 0.202104140931gitad00fb87e 2021-04-14 09:32:01 +02:00
Frank Ch. Eigler
5ec38ccd72 Automated weekly systemtap rawhide release: 0.202102231232git663a93e8b82b 2021-02-23 12:32:25 -05:00
Frank Ch. Eigler
2a603aada9 Automated weekly systemtap rawhide release: 0.202102191905git0f623095ee3e 2021-02-19 19:06:06 -05:00
Frank Ch. Eigler
a9a1ef83ce Automated weekly systemtap rawhide release: 0.202102101544git8d5e0abc542c 2021-02-10 15:44:47 -05:00
Frank Ch. Eigler
96f917a765 Automated weekly systemtap rawhide release: 0.202101291559git9e1a0f5703ad 2021-01-29 15:59:29 -05:00
Frank Ch. Eigler
befd93387a Automated weekly systemtap rawhide release: 0.20210129gitea81249b90b9 2021-01-29 12:21:06 -05:00
Frank Ch. Eigler
e093e56742 Automated weekly systemtap rawhide release: 0.20210128gita790dc64a9d8 2021-01-28 07:04:40 -05:00
Fedora Release Engineering
9b22d41940 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 21:32:32 +00:00
Jonathan Wakely
0cbed90cac Rebuilt for Boost 1.75 2021-01-22 21:03:27 +00:00
Tom Stellard
8ddaee9476 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-08 22:13:31 +00:00
Frank Ch. Eigler
a7d62b0834 Automated weekly systemtap rawhide release: 0.20210107gita4d01e48d435 2021-01-07 17:03:48 -05:00
Frank Ch. Eigler
0f643f8acd Automated weekly systemtap rawhide release: 0.20210105git6cb54128e005 2021-01-05 10:29:50 -05:00
Frank Ch. Eigler
bf618c625f Automated weekly systemtap rawhide release: 0.20201210gitd86b64029598 2020-12-10 15:33:04 -05:00
Frank Ch. Eigler
ac05b0cf07 Automated weekly systemtap rawhide release: 0.20201204git0d80048e02ec 2020-12-04 12:22:01 -05:00
Frank Ch. Eigler
8f9d42cd55 Automated weekly systemtap rawhide release: 0.20201203git963c215e781e 2020-12-03 15:25:23 -05:00
Frank Ch. Eigler
e03736d483 Automated weekly systemtap rawhide release: 0.20201203gitf02f08bc6eff 2020-12-03 14:30:31 -05:00
Frank Ch. Eigler
1c317b3f68 respin for newer dyninst 2020-11-12 11:04:42 -05:00
Frank Ch. Eigler
eb8d8837ef upstream release 4.4 2020-11-09 22:11:35 -05:00
Frank Ch. Eigler
23a9cfdc9d Automated weekly systemtap rawhide release: 0.20200922git05179173e71c 2020-09-22 06:15:33 -04:00
Stan Cox
957d20ac64 Rebuild for dyninst 10.2.0 2020-09-09 14:42:40 -04:00
William Cohen
f907176f6e Automated weekly systemtap rawhide release: 0.20200805git82b8e1a07 2020-08-05 14:36:06 -04:00
Frank Ch. Eigler
6873b87e53 Automated weekly systemtap rawhide release: 0.20200731git87344e948606 2020-07-31 18:56:24 -04:00
Fedora Release Engineering
50c5e2c2f4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 12:01:20 +00:00
Frank Ch. Eigler
7cec8c6260 Automated weekly systemtap rawhide release: 0.20200715gitce0fa621eb35 2020-07-15 18:39:15 -04:00
Frank Ch. Eigler
b473de15d9 Automated weekly systemtap rawhide release: 0.20200714gite5a63d9c000a 2020-07-14 17:07:05 -04:00
Frank Ch. Eigler
4fc0a3d97f Automated weekly systemtap rawhide release: 0.20200714git8212024da2ae 2020-07-14 12:50:45 -04:00
Jiri
f525b43b48 Rebuilt for JDK-11 2020-07-11 07:18:03 +02:00
Jeff Law
b5af26084b Disable LTO 2020-07-01 16:17:19 -06:00
13 changed files with 587 additions and 220 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

72
.gitignore vendored
View file

@ -41,3 +41,75 @@
/systemtap-4.3-0.20200211git91ffb97ad335.tar.gz
/systemtap-4.3-0.20200529git6d50a5cadb64.tar.gz
/systemtap-4.3.tar.gz
/systemtap-4.4-0.20200714git8212024da2ae.tar.gz
/systemtap-4.4-0.20200714gite5a63d9c000a.tar.gz
/systemtap-4.4-0.20200715gitce0fa621eb35.tar.gz
/systemtap-4.4-0.20200731git87344e948606.tar.gz
/systemtap-4.4-0.20200805git82b8e1a07.tar.gz
/systemtap-4.4-0.20200922git05179173e71c.tar.gz
/systemtap-4.4.tar.gz
/systemtap-4.4-0.20201203gitf02f08bc6eff.tar.gz
/systemtap-4.5-0.20201203git963c215e781e.tar.gz
/systemtap-4.5-0.20201204git0d80048e02ec.tar.gz
/systemtap-4.5-0.20201210gitd86b64029598.tar.gz
/systemtap-4.5-0.20210105git6cb54128e005.tar.gz
/systemtap-4.5-0.20210107gita4d01e48d435.tar.gz
/systemtap-4.5-0.20210128gita790dc64a9d8.tar.gz
/systemtap-4.5-0.20210129gitea81249b90b9.tar.gz
/systemtap-4.5-0.202101291559git9e1a0f5703ad.tar.gz
/systemtap-4.5-0.202102101544git8d5e0abc542c.tar.gz
/systemtap-4.5-0.202102191905git0f623095ee3e.tar.gz
/systemtap-4.5-0.202102231232git663a93e8b82b.tar.gz
/systemtap-4.5-0.202104140931gitad00fb87e.tar.gz
/systemtap-4.5-0.202104140933gitad00fb87e.tar.gz
/systemtap-4.5-0.202105041345git02b6be05fb76.tar.gz
/systemtap-4.5.tar.gz
/systemtap-4.6-16261989g7c2751e3.tar.gz
/systemtap-4.6~pre16262008gbff2b2ff.tar.gz
/systemtap-4.6~pre16262012gc7f1c12e.tar.gz
/systemtap-4.6~pre16262021g84ef6bd9.tar.gz
/systemtap-4.6~pre16291338gf2c14776.tar.gz
/systemtap-4.6.tar.gz
/systemtap-4.7~pre16378386g61a4c8f8.tar.gz
/systemtap-4.7~pre16383943gecab2afe.tar.gz
/systemtap-4.7~pre16388948g209b5a19.tar.gz
/systemtap-4.7~pre16395042gefae8a3d.tar.gz
/systemtap-4.7~pre16432070g1d2cb8b3.tar.gz
/systemtap-4.7~pre16433134g7d871ab5.tar.gz
/systemtap-4.7~pre16468670g9f253544.tar.gz
/systemtap-4.7.tar.gz
/systemtap-4.8~pre16557277g2882dcc9.tar.gz
/systemtap-4.8~pre16578235g069e109c.tar.gz
/systemtap-4.8~pre16594727g09f1b7bb.tar.gz
/systemtap-4.8~pre16594741g5bdc37b9.tar.gz
/systemtap-4.8~pre16650659g6a096a7d.tar.gz
/systemtap-4.8.tar.gz
/systemtap-4.9.tar.gz
/systemtap-5.0~pre16885197g6b17715f.tar.gz
/systemtap-5.0~pre16885234gd98d6c2d.tar.gz
/systemtap-5.0~pre16890184ge891a37e.tar.gz
/systemtap-5.0~pre16891249ge891a37e.tar.gz
/systemtap-5.0~pre16958465gca71442b.tar.gz
/systemtap-5.0.tar.gz
/systemtap-5.1~pre17056120g2ccc0c4c.tar.gz
/systemtap-5.1~pre17056139g6c0b92b3.tar.gz
/systemtap-5.1~pre17059382g67086c54.tar.gz
/systemtap-5.1~pre17060399gb6abf4bd.tar.gz
/systemtap-5.1~pre17062114g2604d135.tar.gz
/systemtap-5.1~pre17062192g5fd8daba.tar.gz
/systemtap-5.1.tar.gz
/systemtap-5.1~pre17206206ge48abca5.tar.gz
/systemtap-5.2~pre17206355g1a07290a.tar.gz
/systemtap-5.2~pre17224323g98d1ea34.tar.gz
/systemtap-5.2~pre17250223gd07e4284.tar.gz
/systemtap-5.2~pre17277956g0b7f6722.tar.gz
/systemtap-5.2~pre17283218gc5774e18.tar.gz
/systemtap-5.2.tar.gz
/systemtap-5.2~pre17373420g1e894ff0.tar.gz
/systemtap-5.3~pre17373422g9a48fbea.tar.gz
/systemtap-5.3~pre17373794g3efe129d.tar.gz
/systemtap-5.3~pre17373816g7a71d34b.tar.gz
/systemtap-5.3.tar.gz
/systemtap-5.4~pre17585473g1fe4178d.tar.gz
/systemtap-5.4~pre17585496g86ab88eb.tar.gz
/systemtap-5.4.tar.gz

30
gating.yaml Normal file
View file

@ -0,0 +1,30 @@
--- !Policy
product_versions:
- fedora-*
decision_contexts: [bodhi_update_push_testing]
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: baseos-qe.koji-build.scratch-build.validation}
--- !Policy
product_versions:
- fedora-*
decision_contexts: [bodhi_update_push_stable]
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: baseos-qe.koji-build.scratch-build.validation}
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build.rebuild.validation}
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build.rebuild.validation}

12
plans/ci.fmf Normal file
View file

@ -0,0 +1,12 @@
summary: CI Gating Plan
discover:
how: fmf
url: https://src.fedoraproject.org/tests/systemtap-gating.git
ref: main
directory: tests
prepare:
- name: prepare
how: shell
script: ./plans/prepare.sh
execute:
how: tmt

36
plans/prepare.sh Executable file
View file

@ -0,0 +1,36 @@
#!/bin/bash
# On Rawhide, the running kernel packages won't probably be avail in
# configured repos. Debuginfo isn't a problem, we access that using
# the debuginfod.
__fedora_install_deps ()
{
TMPD=$(mktemp -d)
pushd $TMPD
koji download-build --rpm kernel-`uname -r` --arch `uname -i`
koji download-build --rpm kernel-devel-`uname -r` --arch `uname -i`
koji download-build --rpm kernel-modules-`uname -r` --arch `uname -i`
dnf -y install kernel{,-devel,-modules}-`uname -r`.rpm
popd
rm -rf $TMPD
}
set -xe
source /etc/os-release
# Install needed packages
if [ "$ID" == "fedora" ]; then
stap-prep || __fedora_install_deps
fi
stap-prep
# Report installed packages
stap-report
# Set up SELinux so that it allows for userspace probing
setsebool allow_execmod on
setsebool allow_execstack on
setsebool deny_ptrace off
set +xe

26
rpminspect.yaml Normal file
View file

@ -0,0 +1,26 @@
# exclude ownership tests; we need setuid/gids as is
ownership:
ignore:
- /usr/bin/staprun
# this SO is for JNI only, so annobin/etc. don't know what to do with it
annocheck:
ignore:
- /usr/libexec/systemtap/libHelperSDT.so
# bytecode version 43 vs 55 complaint is a misconfiguration according to msrb
javabytecode:
ignore:
- /usr/libexec/systemtap/HelperSDT.jar
# setuid binary
permissions:
ignore:
- /usr/bin/staprun
# some stap scripts are wrapped within /bin/sh that confuses rpminspect
shellsyntax:
ignore:
- *.stp

View file

@ -1 +1 @@
SHA512 (systemtap-4.3.tar.gz) = db992adaa827601d1e3f28f6d70611b515b5e2e934d4251a07d5798f1d42a59351beb1422ab8df6ee634476b51b2127462e7bf7bf26afaa83cce91ffe59f3696
SHA512 (systemtap-5.4.tar.gz) = 5869fe3735e44be65ba7895a46b4ea66fcdcc21ed2ab0673c62d822730553837f816d82fd78eeca4bfe6f17fdeaa12eb2f94c0b0b7ebb8c495c961f0b6935785

13
systemtap-gcc16.patch Normal file
View file

@ -0,0 +1,13 @@
--- systemtap-5.4/configure~ 2025-10-30 14:47:35.000000000 +0000
+++ systemtap-5.4/configure 2026-01-13 18:53:20.466037572 +0000
@@ -3121,8 +3121,8 @@
}
{
// Unicode literals
- char const *utf8 = u8"UTF-8 string \u2500";
- char16_t const *utf16 = u"UTF-8 string \u2500";
+ auto const *utf8 = u8"UTF-8 string \u2500";
+ char16_t const *utf16 = u"UTF-16 string \u2500";
char32_t const *utf32 = U"UTF-32 string \u2500";
}
'

View file

@ -1,19 +1,20 @@
# work around flakey gcc warnings
%{!?with_Werror: %global with_Werror 0}
%{!?with_sqlite: %global with_sqlite 0%{?fedora} >= 17 || 0%{?rhel} >= 7}
# prefer prebuilt docs
%{!?with_docs: %global with_docs 0}
%{!?with_htmldocs: %global with_htmldocs 0}
%{!?with_monitor: %global with_monitor 1}
# crash is not available
%ifarch ppc ppc64 %{sparc} %{mips}
%ifarch ppc ppc64 %{sparc} %{mips} %{riscv}
%{!?with_crash: %global with_crash 0}
%else
%{!?with_crash: %global with_crash 1}
%endif
%{!?with_rpm: %global with_rpm 1}
%{!?elfutils_version: %global elfutils_version 0.142}
%{!?pie_supported: %global pie_supported 1}
%{!?with_boost: %global with_boost 0}
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le aarch64
%{!?elfutils_version: %global elfutils_version 0.179}
%{!?with_boost: %global with_boost 1}
%ifarch x86_64 ppc ppc64 ppc64le aarch64
%{!?with_dyninst: %global with_dyninst 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
%else
%{!?with_dyninst: %global with_dyninst 0}
@ -21,7 +22,12 @@
%{!?with_bpf: %global with_bpf 0%{?fedora} >= 22 || 0%{?rhel} >= 8}
%{!?with_systemd: %global with_systemd 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
%{!?with_emacsvim: %global with_emacsvim 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
%ifarch %{ix86}
%{!?with_java: %global with_java 0}
%else
%{!?with_java: %global with_java 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
%endif
%{!?with_debuginfod: %global with_debuginfod 0%{?fedora} >= 25 || 0%{?rhel} >= 7}
%{!?with_virthost: %global with_virthost 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
%{!?with_virtguest: %global with_virtguest 1}
%{!?with_dracut: %global with_dracut 0%{?fedora} >= 19 || 0%{?rhel} >= 6}
@ -38,9 +44,14 @@
%{!?with_python3_probes: %global with_python3_probes (0%{?fedora} >= 23 || 0%{?rhel} > 7)}
%{!?with_httpd: %global with_httpd 0}
%{!?with_specific_python: %global with_specific_python 0%{?fedora} >= 31}
%{!?with_sysusers: %global with_sysusers 0%{?fedora} >= 32 || 0%{?rhel} >= 9}
# NB: can't turn this on by default on any distro version whose builder system
# may run kernels different than the distro version itself.
%{!?with_check: %global with_check 0}
# Virt is supported on these arches, even on el7, but it's not in core EL7
%if 0%{?rhel} <= 7
%if 0%{?rhel} && 0%{?rhel} <= 7
%ifarch ppc64le aarch64
%global with_virthost 0
%endif
@ -48,7 +59,8 @@
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 6
%define initdir %{_initddir}
%else # RHEL5 doesn't know _initddir
%else
# RHEL5 doesn't know _initddir
%define initdir %{_initrddir}
%endif
@ -58,8 +70,6 @@
%else
%if 0%{?rhel} >= 6
%define udevrulesdir /lib/udev/rules.d
%else # RHEL5
%define udevrulesdir /etc/udev/rules.d
%endif
%endif
%endif
@ -76,18 +86,52 @@
%define dracutbindir %{_bindir}
%endif
%if 0%{?rhel} == 6
%{!?_rpmmacrodir: %define _rpmmacrodir /etc/rpm/}
%else
%{!?_rpmmacrodir: %define _rpmmacrodir %{_rpmconfigdir}/macros.d}
%endif
%{!?_rpmmacrodir: %define _rpmmacrodir %{_rpmconfigdir}/macros.d}
# To avoid testsuite/*/*.stp has shebang which doesn't start with '/'
%define __brp_mangle_shebangs_exclude_from .stp$
%define _systemtap_runtime_preinstall \
# See systemd-sysusers(8) sysusers.d(5)\
\
g stapusr 156\
g stapsys 157\
g stapdev 158\
g stapunpriv 159\
u stapunpriv 159 "systemtap unprivileged user" /var/lib/stapunpriv /sbin/nologin\
m stapunpriv stapunpriv
%define _systemtap_server_preinstall \
# See systemd-sysusers(8) sysusers.d(5)\
\
g stap-server -\
u stap-server - "systemtap compiler server" /var/lib/stap-server /sbin/nologin\
m stap-server stap-server
%define _systemtap_testsuite_preinstall \
# See systemd-sysusers(8) sysusers.d(5)\
\
u stapusr - "systemtap testsuite user" / /sbin/nologin\
u stapsys - "systemtap testsuite user" / /sbin/nologin\
u stapdev - "systemtap testsuite user" / /sbin/nologin\
m stapusr stapusr\
m stapsys stapusr\
m stapsys stapsys\
m stapdev stapusr\
m stapdev stapdev
%define _systemtap_server_preinstall_tmpfiles \
# See systemd-tmpfiles(8) tmpfiles.d(5)\
d /var/lib/stap-server 0750 stap-server stap-server -\
d /var/lib/stap-server/.systemtap 0700 stap-server stap-server -\
d /var/log/stap-server 0755 stap-server stap-server -\
f /var/log/stap-server/log 0644 stap-server stap-server -
Name: systemtap
Version: 4.3
Release: 1%{?release_override}%{?dist}
# PRERELEASE
Version: 5.4
Release: 2%{?release_override}%{?dist}
# for version, see also configure.ac
@ -99,13 +143,15 @@ Release: 1%{?release_override}%{?dist}
# systemtap-runtime /usr/bin/staprun, /usr/bin/stapsh, /usr/bin/stapdyn
# systemtap-client /usr/bin/stap, samples, docs, tapset(bonus), req:-runtime
# systemtap-initscript /etc/init.d/systemtap, dracut module, req:systemtap
# systemtap-sdt-devel /usr/include/sys/sdt.h /usr/bin/dtrace
# systemtap-sdt-devel /usr/include/sys/sdt.h
# systemtap-sdt-dtrace /usr/bin/dtrace
# systemtap-testsuite /usr/share/systemtap/testsuite*, req:systemtap, req:sdt-devel
# systemtap-runtime-java libHelperSDT.so, HelperSDT.jar, stapbm, req:-runtime
# systemtap-runtime-virthost /usr/bin/stapvirt, req:libvirt req:libxml2
# systemtap-runtime-virtguest udev rules, init scripts/systemd service, req:-runtime
# systemtap-runtime-python2 HelperSDT python2 module, req:-runtime
# systemtap-runtime-python3 HelperSDT python3 module, req:-runtime
# systemtap-jupyter /usr/bin/stap-jupyter-* interactive-notebook req:systemtap
#
# Typical scenarios:
#
@ -119,16 +165,22 @@ Release: 1%{?release_override}%{?dist}
# intermediary stap-server for --use-server: systemtap-server (-devel unused)
Summary: Programmable system-wide instrumentation system
License: GPLv2+
URL: http://sourceware.org/systemtap/
License: GPL-2.0-or-later
URL: https://sourceware.org/systemtap/
Source: ftp://sourceware.org/pub/systemtap/releases/systemtap-%{version}.tar.gz
Patch0: systemtap-gcc16.patch
# Build*
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: cpio
BuildRequires: gettext-devel
BuildRequires: pkgconfig(nss)
BuildRequires: pkgconfig(avahi-client)
%if %{with_debuginfod}
BuildRequires: pkgconfig(libdebuginfod)
BuildRequires: pkgconfig(json-c)
%endif
%if %{with_dyninst}
BuildRequires: dyninst-devel >= 10.0
BuildRequires: pkgconfig(libselinux)
@ -144,9 +196,7 @@ BuildRequires: pkgconfig(ncurses)
BuildRequires: systemd
%endif
# Needed for libstd++ < 4.0, without <tr1/memory>
%if %{with_boost}
BuildRequires: boost-devel
%endif
%if %{with_crash}
BuildRequires: crash-devel zlib-devel
%endif
@ -159,9 +209,6 @@ BuildRequires: /usr/bin/latex /usr/bin/dvips /usr/bin/ps2pdf
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
BuildRequires: tex(fullpage.sty) tex(fancybox.sty) tex(bchr7t.tfm) tex(graphicx.sty)
%endif
# For the html.sty mentioned in the .tex files, even though latex2html is
# not run during the build, only during manual scripts/update-docs runs:
BuildRequires: latex2html
%if %{with_htmldocs}
# On F10, xmlto's pdf support was broken off into a sub-package,
# called 'xmlto-tex'. To avoid a specific F10 BuildReq, we'll do a
@ -170,10 +217,11 @@ BuildRequires: xmlto /usr/share/xmlto/format/fo/pdf
%endif
%endif
%if %{with_emacsvim}
BuildRequires: emacs
# for _emacs_sitelispdir macros etc.
BuildRequires: emacs-common
%endif
%if %{with_java}
BuildRequires: jpackage-utils java-devel
BuildRequires: java-devel
%endif
%if %{with_virthost}
# BuildRequires: libvirt-devel >= 1.0.2
@ -181,9 +229,6 @@ BuildRequires: pkgconfig(libvirt)
BuildRequires: pkgconfig(libxml-2.0)
%endif
BuildRequires: readline-devel
%if 0%{?rhel} <= 5
BuildRequires: pkgconfig(ncurses)
%endif
%if %{with_python2_probes}
BuildRequires: python2-devel
%if 0%{?fedora} >= 1
@ -192,18 +237,28 @@ BuildRequires: python2-setuptools
BuildRequires: python-setuptools
%endif
%endif
%if %{with_python3}
BuildRequires: python3
%endif
%if %{with_python3_probes}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%endif
%if %{with_specific_python}
BuildRequires: /usr/bin/pathfix.py
%endif
%if %{with_httpd}
BuildRequires: libmicrohttpd-devel
BuildRequires: libuuid-devel
%endif
%if %{with_sysusers}
BuildRequires: systemd-rpm-macros
%endif
%if %{with_check}
BuildRequires: kernel-devel
# and some of the same Requires: as below
BuildRequires: dejagnu gcc make
%endif
# Install requirements
Requires: systemtap-client = %{version}-%{release}
@ -219,8 +274,8 @@ the components needed to locally develop and execute systemtap scripts.
%package server
Summary: Instrumentation System Server
License: GPLv2+
URL: http://sourceware.org/systemtap/
License: GPL-2.0-or-later
URL: https://sourceware.org/systemtap/
Requires: systemtap-devel = %{version}-%{release}
Conflicts: systemtap-devel < %{version}-%{release}
Conflicts: systemtap-runtime < %{version}-%{release}
@ -249,8 +304,8 @@ compiles systemtap scripts to kernel objects on their demand.
%package devel
Summary: Programmable system-wide instrumentation system - development headers, tools
License: GPLv2+
URL: http://sourceware.org/systemtap/
License: GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND BSD-2-Clause
URL: https://sourceware.org/systemtap/
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 20
Recommends: (kernel-debug-devel if kernel-debug)
@ -260,6 +315,9 @@ Requires: kernel-devel-uname-r
%endif
Requires: gcc make
# for compiling --runtime=dyninst sripts, need elfutils headers, bz1930973
Requires: elfutils-devel >= %{elfutils_version}
Conflicts: systemtap-client < %{version}-%{release}
Conflicts: systemtap-server < %{version}-%{release}
Conflicts: systemtap-runtime < %{version}-%{release}
@ -276,8 +334,8 @@ a copy of the standard tapset library and the runtime library C files.
%package runtime
Summary: Programmable system-wide instrumentation system - runtime
License: GPLv2+
URL: http://sourceware.org/systemtap/
License: GPL-2.0-or-later
URL: https://sourceware.org/systemtap/
Requires(pre): shadow-utils
Conflicts: systemtap-devel < %{version}-%{release}
Conflicts: systemtap-server < %{version}-%{release}
@ -291,8 +349,8 @@ using a local or remote systemtap-devel installation.
%package client
Summary: Programmable system-wide instrumentation system - client
License: GPLv2+
URL: http://sourceware.org/systemtap/
License: GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
URL: https://sourceware.org/systemtap/
Requires: zip unzip
Requires: systemtap-runtime = %{version}-%{release}
Requires: coreutils grep sed unzip zip
@ -305,17 +363,19 @@ Requires: mokutil
%endif
%description client
This package contains/requires the components needed to develop
systemtap scripts, and compile them using a local systemtap-devel
or a remote systemtap-server installation, then run them using a
local or remote systemtap-runtime. It includes script samples and
This package contains/requires only the components needed to
use systemtap scripts by compiling them using a local or a remote
systemtap-server service, then run them using a local or
remote systemtap-runtime. It includes script samples and
documentation, and a copy of the tapset library for reference.
It does NOT include all the components for running a systemtap
script in a self-contained fashion; for that, use the -devel
subpackage instead.
%package initscript
Summary: Systemtap Initscripts
License: GPLv2+
URL: http://sourceware.org/systemtap/
License: GPL-2.0-or-later
URL: https://sourceware.org/systemtap/
Requires: systemtap = %{version}-%{release}
%if %{with_systemd}
Requires: systemd
@ -333,9 +393,24 @@ boot-time probing if supported.
%package sdt-devel
Summary: Static probe support tools
License: GPLv2+ and Public Domain
URL: http://sourceware.org/systemtap/
Summary: Static probe support header files
License: GPL-2.0-or-later AND CC0-1.0
URL: https://sourceware.org/systemtap/
%if 0%{?rhel} && 0%{?rhel} <= 10
# for RHEL buildability compatibility, pull in sdt-dtrace at all times
Requires: systemtap-sdt-dtrace = %{version}-%{release}
%endif
%description sdt-devel
This package includes the <sys/sdt.h> header file used for static
instrumentation compiled into userspace programs.
%package sdt-dtrace
Summary: Static probe support dtrace tool
License: GPL-2.0-or-later AND CC0-1.0
URL: https://sourceware.org/systemtap/
Provides: dtrace = %{version}-%{release}
%if %{with_pyparsing}
%if %{with_python3}
Requires: python3-pyparsing
@ -348,21 +423,29 @@ Requires: python2-pyparsing
%endif
%endif
%description sdt-devel
This package includes the <sys/sdt.h> header file used for static
instrumentation compiled into userspace programs and libraries, along
with the optional dtrace-compatibility preprocessor to process related
.d files into tracing-macro-laden .h headers.
%description sdt-dtrace
This package includes the dtrace-compatibility preprocessor
to process related .d files into tracing-macro-laden .h headers.
%package testsuite
Summary: Instrumentation System Testsuite
License: GPLv2+
URL: http://sourceware.org/systemtap/
License: GPL-2.0-or-later AND GPL-2.0-only AND GPL-3.0-or-later AND MIT
URL: https://sourceware.org/systemtap/
Requires: systemtap = %{version}-%{release}
Requires: systemtap-sdt-devel = %{version}-%{release}
Requires: systemtap-server = %{version}-%{release}
Requires: dejagnu which elfutils grep nc
Requires: dejagnu which elfutils grep nc wget
%if %{with_debuginfod}
Requires: elfutils-debuginfod
%endif
# work around fedora ci gating kvetching about i686<->x86-64 conflicts
%ifarch x86_64
Conflicts: systemtap-testsuite = %{version}-%{release}.i686
%endif
%ifarch i686
Conflicts: systemtap-testsuite = %{version}-%{release}.x86_64
%endif
Requires: gcc gcc-c++ make glibc-devel
# testsuite/systemtap.base/ptrace.exp needs strace
Requires: strace
@ -393,7 +476,12 @@ Requires: systemtap-runtime-python2 = %{version}-%{release}
Requires: systemtap-runtime-python3 = %{version}-%{release}
%endif
%ifarch x86_64
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 20
# fweimer, personal correspondence
Recommends: glibc-devel(x86-32)
%else
Requires: /usr/lib/libc.so
%endif
# ... and /usr/lib/libgcc_s.so.*
# ... and /usr/lib/libstdc++.so.*
%endif
@ -414,9 +502,16 @@ systemtap on the current system.
%if %{with_java}
%package runtime-java
Summary: Systemtap Java Runtime Support
License: GPLv2+
URL: http://sourceware.org/systemtap/
License: GPL-2.0-or-later
URL: https://sourceware.org/systemtap/
Requires: systemtap-runtime = %{version}-%{release}
# work around fedora ci gating kvetching about i686<->x86-64 conflicts
%ifarch x86_64
Conflicts: systemtap-runtime = %{version}-%{release}.i686
%endif
%ifarch i686
Conflicts: systemtap-runtime = %{version}-%{release}.x86_64
%endif
Requires: byteman > 2.0
Requires: iproute
Requires: java-devel
@ -429,8 +524,8 @@ that probe Java processes running on the OpenJDK runtimes using Byteman.
%if %{with_python2_probes}
%package runtime-python2
Summary: Systemtap Python 2 Runtime Support
License: GPLv2+
URL: http://sourceware.org/systemtap/
License: GPL-2.0-or-later
URL: https://sourceware.org/systemtap/
Requires: systemtap-runtime = %{version}-%{release}
%description runtime-python2
@ -441,8 +536,8 @@ that probe python 2 processes.
%if %{with_python3_probes}
%package runtime-python3
Summary: Systemtap Python 3 Runtime Support
License: GPLv2+
URL: http://sourceware.org/systemtap/
License: GPL-2.0-or-later
URL: https://sourceware.org/systemtap/
Requires: systemtap-runtime = %{version}-%{release}
%if ! (%{with_python2_probes})
@ -455,11 +550,11 @@ This package includes support files needed to run systemtap scripts
that probe python 3 processes.
%endif
%if %{with_python3}
%if %{with_python3_probes}
%package exporter
Summary: Systemtap-prometheus interoperation mechanism
License: GPLv2+
URL: http://sourceware.org/systemtap/
License: GPL-2.0-or-later
URL: https://sourceware.org/systemtap/
Requires: systemtap-runtime = %{version}-%{release}
%description exporter
@ -471,9 +566,10 @@ to remote requesters on demand.
%if %{with_virthost}
%package runtime-virthost
Summary: Systemtap Cross-VM Instrumentation - host
License: GPLv2+
URL: http://sourceware.org/systemtap/
Requires: libvirt >= 1.0.2
License: GPL-2.0-or-later
URL: https://sourceware.org/systemtap/
# only require libvirt-libs really
#Requires: libvirt >= 1.0.2
Requires: libxml2
%description runtime-virthost
@ -485,8 +581,8 @@ connection.
%if %{with_virtguest}
%package runtime-virtguest
Summary: Systemtap Cross-VM Instrumentation - guest
License: GPLv2+
URL: http://sourceware.org/systemtap/
License: GPL-2.0-or-later
URL: https://sourceware.org/systemtap/
Requires: systemtap-runtime = %{version}-%{release}
%if %{with_systemd}
Requires(post): findutils coreutils
@ -503,10 +599,22 @@ This package installs the services necessary on a virtual machine for a
systemtap-runtime-virthost machine to execute systemtap scripts.
%endif
%package jupyter
Summary: ISystemtap jupyter kernel and examples
License: GPL-2.0-or-later
URL: https://sourceware.org/systemtap/
Requires: systemtap = %{version}-%{release}
%description jupyter
This package includes files needed to build and run
the interactive systemtap Jupyter kernel, either locally
or within a container.
# ------------------------------------------------------------------------
%prep
%setup -q
%patch 0 -p1
%build
@ -517,6 +625,13 @@ systemtap-runtime-virthost machine to execute systemtap scripts.
%global dyninst_config --without-dyninst
%endif
# Enable/disable the dyninst pure-userspace backend
%if %{with_Werror}
%global Werror_config --enable-Werror
%else
%global Werror_config --disable-Werror
%endif
# Enable/disable the sqlite coverage testing support
%if %{with_sqlite}
%global sqlite_config --enable-sqlite
@ -524,6 +639,13 @@ systemtap-runtime-virthost machine to execute systemtap scripts.
%global sqlite_config --disable-sqlite
%endif
%if %{with_debuginfod}
%global debuginfod_config --with-debuginfod
%else
%global debuginfod_config --without-debuginfod
%endif
# Enable/disable the crash extension
%if %{with_crash}
%global crash_config --enable-crash
@ -548,14 +670,6 @@ systemtap-runtime-virthost machine to execute systemtap scripts.
%global docs_config --enable-docs=prebuilt
%endif
# Enable pie as configure defaults to disabling it
%if %{pie_supported}
%global pie_config --enable-pie
%else
%global pie_config --disable-pie
%endif
%if %{with_java}
%global java_config --with-java=%{_jvmdir}/java
%else
@ -605,12 +719,17 @@ systemtap-runtime-virthost machine to execute systemtap scripts.
# We don't ship compileworthy python code, just oddball samples
%global py_auto_byte_compile 0
%configure %{dyninst_config} %{sqlite_config} %{crash_config} %{docs_config} %{pie_config} %{rpm_config} %{java_config} %{virt_config} %{dracut_config} %{python3_config} %{python2_probes_config} %{python3_probes_config} %{httpd_config} %{bpf_config} --disable-silent-rules --with-extra-version="rpm %{version}-%{release}"
make %{?_smp_mflags}
%configure %{Werror_config} %{dyninst_config} %{sqlite_config} %{crash_config} %{docs_config} %{rpm_config} %{java_config} %{virt_config} %{dracut_config} %{python3_config} %{python2_probes_config} %{python3_probes_config} %{httpd_config} %{bpf_config} %{debuginfod_config} --disable-silent-rules --with-extra-version="rpm %{version}-%{release}"
make %{?_smp_mflags} V=1
%install
make DESTDIR=$RPM_BUILD_ROOT install
%if ! (%{with_python3})
rm -v $RPM_BUILD_ROOT%{_bindir}/stap-profile-annotate
%endif
%find_lang %{name}
for dir in $(ls -1d $RPM_BUILD_ROOT%{_mandir}/{??,??_??}) ; do
dir=$(echo $dir | sed -e "s|^$RPM_BUILD_ROOT||")
@ -618,6 +737,16 @@ for dir in $(ls -1d $RPM_BUILD_ROOT%{_mandir}/{??,??_??}) ; do
echo "%%lang($lang) $dir/man*/*" >> %{name}.lang
done
%if %{with_sysusers}
mkdir -p %{buildroot}%{_sysusersdir}
echo '%_systemtap_runtime_preinstall' > %{buildroot}%{_sysusersdir}/systemtap-runtime.conf
echo '%_systemtap_server_preinstall' > %{buildroot}%{_sysusersdir}/systemtap-server.conf
echo '%_systemtap_testsuite_preinstall' > %{buildroot}%{_sysusersdir}/systemtap-testsuite.conf
mkdir -p %{buildroot}%{_tmpfilesdir}
echo '%_systemtap_server_preinstall_tmpfiles' > %{buildroot}%{_tmpfilesdir}/systemtap-server.conf
%endif
ln -s %{_datadir}/systemtap/examples
# Fix paths in the example scripts.
@ -632,9 +761,6 @@ find testsuite -type f -name '.gitignore' -print0 | xargs -0 rm -f
# permissions back to 04110 in the %files section below.
chmod 755 $RPM_BUILD_ROOT%{_bindir}/staprun
#install the useful stap-prep script
install -c -m 755 stap-prep $RPM_BUILD_ROOT%{_bindir}/stap-prep
# Copy over the testsuite
cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap
@ -667,6 +793,9 @@ install -m 644 initscript/logrotate.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/lo
%if %{with_systemd}
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
touch $RPM_BUILD_ROOT%{_unitdir}/systemtap.service
# RHBZ2070857
mkdir -p $RPM_BUILD_ROOT%{_presetdir}
echo 'enable systemtap.service' > $RPM_BUILD_ROOT%{_presetdir}/42-systemtap.preset
install -m 644 initscript/systemtap.service $RPM_BUILD_ROOT%{_unitdir}/systemtap.service
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
install -m 755 initscript/systemtap $RPM_BUILD_ROOT%{_sbindir}/systemtap-service
@ -737,22 +866,53 @@ done
%if %{with_specific_python}
# Some files got ambiguous python shebangs, we fix them after everything else is done
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{python3_sitearch} %{buildroot}%{_bindir}/*
%py3_shebang_fix %{buildroot}%{python3_sitearch} %{buildroot}%{_bindir}/*
%endif
%check
%if %{with_check}
make check RUNTESTFLAGS=environment_sanity.exp
%endif
%pre runtime
%if %{with_sysusers}
%if (0%{?fedora} && 0%{?fedora} < 42) || (0%{?rhel} && 0%{?rhel} < 11)
echo '%_systemtap_runtime_preinstall' | systemd-sysusers --replace=%{_sysusersdir}/systemtap-runtime.conf -
exit 0
%endif
%else
getent group stapusr >/dev/null || groupadd -f -g 156 -r stapusr
getent group stapsys >/dev/null || groupadd -f -g 157 -r stapsys
getent group stapdev >/dev/null || groupadd -f -g 158 -r stapdev
getent passwd stapunpriv >/dev/null || \
useradd -c "Systemtap Unprivileged User" -u 159 -g stapunpriv -d %{_localstatedir}/lib/stapunpriv -r -s /sbin/nologin stapunpriv 2>/dev/null || \
useradd -c "Systemtap Unprivileged User" -g stapunpriv -d %{_localstatedir}/lib/stapunpriv -r -s /sbin/nologin stapunpriv
exit 0
%endif
%pre server
%if %{with_sysusers}
%if (0%{?fedora} && 0%{?fedora} < 42) || (0%{?rhel} && 0%{?rhel} < 11)
echo '%_systemtap_server_preinstall' | systemd-sysusers --replace=%{_sysusersdir}/systemtap-server.conf -
echo '%_systemtap_server_preinstall_tmpfiles' | systemd-tmpfiles --replace=%{_tmpfilesdir}/systemtap-server.conf -
exit 0
%endif
%else
getent group stap-server >/dev/null || groupadd -f -g 155 -r stap-server
getent passwd stap-server >/dev/null || \
useradd -c "Systemtap Compile Server" -u 155 -g stap-server -d %{_localstatedir}/lib/stap-server -r -s /sbin/nologin stap-server 2>/dev/null || \
useradd -c "Systemtap Compile Server" -g stap-server -d %{_localstatedir}/lib/stap-server -r -s /sbin/nologin stap-server
exit 0
%endif
%pre testsuite
%if %{with_sysusers}
%if (0%{?fedora} && 0%{?fedora} < 42) || (0%{?rhel} && 0%{?rhel} < 11)
echo '%_systemtap_testsuite_preinstall' | systemd-sysusers --replace=%{_sysusersdir}/systemtap-testsuite.conf -
exit 0
%endif
%else
getent passwd stapusr >/dev/null || \
useradd -c "Systemtap 'stapusr' User" -g stapusr -r -s /sbin/nologin stapusr
getent passwd stapsys >/dev/null || \
@ -760,6 +920,7 @@ getent passwd stapsys >/dev/null || \
getent passwd stapdev >/dev/null || \
useradd -c "Systemtap 'stapdev' User" -g stapdev -G stapusr -r -s /sbin/nologin stapdev
exit 0
%endif
%post server
@ -779,7 +940,8 @@ if [ ! -f ~stap-server/.systemtap/rc ]; then
numcpu=`/usr/bin/getconf _NPROCESSORS_ONLN`
if [ -z "$numcpu" -o "$numcpu" -lt 1 ]; then numcpu=1; fi
nproc=`expr $numcpu \* 30`
echo "--rlimit-as=614400000 --rlimit-cpu=60 --rlimit-nproc=$nproc --rlimit-stack=1024000 --rlimit-fsize=51200000" > ~stap-server/.systemtap/rc
# PR29661 -> 4G
echo "--rlimit-as=4294967296 --rlimit-cpu=60 --rlimit-nproc=$nproc --rlimit-stack=1024000 --rlimit-fsize=51200000" > ~stap-server/.systemtap/rc
chown stap-server:stap-server ~stap-server/.systemtap/rc
fi
@ -835,7 +997,8 @@ exit 0
%post initscript
%if %{with_systemd}
/bin/systemctl enable systemtap.service >/dev/null 2>&1 || :
# RHBZ2070857 - use systemd presets instead
# /bin/systemctl enable systemtap.service >/dev/null 2>&1 || :
%else
/sbin/chkconfig --add systemtap
%endif
@ -915,7 +1078,7 @@ if [ "$1" -ge "1" ]; then
fi
exit 0
%if %{with_python3}
%if %{with_python3_probes}
%if %{with_systemd}
%preun exporter
if [ $1 = 0 ] ; then
@ -945,60 +1108,8 @@ exit 0
# ------------------------------------------------------------------------
%if %{with_java}
%triggerin runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
%ifarch %{ix86}
arch=i386
%else
arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
%endif
for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
if [ -d ${archdir} ]; then
ln -sf %{_libexecdir}/systemtap/libHelperSDT_${arch}.so ${archdir}/libHelperSDT_${arch}.so
ln -sf %{_libexecdir}/systemtap/HelperSDT.jar ${archdir}/../ext/HelperSDT.jar
fi
done
done
%triggerun runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
%ifarch %{ix86}
arch=i386
%else
arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
%endif
for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
rm -f ${archdir}/libHelperSDT_${arch}.so
rm -f ${archdir}/../ext/HelperSDT.jar
done
done
%triggerpostun runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
# Restore links for any JDKs remaining after a package removal:
for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
%ifarch %{ix86}
arch=i386
%else
arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
%endif
for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
if [ -d ${archdir} ]; then
ln -sf %{_libexecdir}/systemtap/libHelperSDT_${arch}.so ${archdir}/libHelperSDT_${arch}.so
ln -sf %{_libexecdir}/systemtap/HelperSDT.jar ${archdir}/../ext/HelperSDT.jar
fi
done
done
# XXX: analogous support for other types of JRE/JDK??
%endif
# ------------------------------------------------------------------------
%files
# The master "systemtap" rpm doesn't include any files.
# The main "systemtap" rpm doesn't include any files.
%files server -f systemtap.lang
%{_bindir}/stap-server
@ -1017,6 +1128,7 @@ done
%if %{with_systemd}
%{_unitdir}/stap-server.service
%{_tmpfilesdir}/stap-server.conf
%{_tmpfilesdir}/systemtap-server.conf
%else
%{initdir}/stap-server
%dir %{_sysconfdir}/stap-server/conf.d
@ -1032,11 +1144,17 @@ done
%doc README README.unprivileged AUTHORS NEWS
%{!?_licensedir:%global license %%doc}
%license COPYING
%if %{with_sysusers}
%{_sysusersdir}/systemtap-server.conf
%endif
%files devel -f systemtap.lang
%{_bindir}/stap
%{_bindir}/stap-prep
%if %{with_python3}
%{_bindir}/stap-profile-annotate
%endif
%{_bindir}/stap-report
%dir %{_datadir}/systemtap
%{_datadir}/systemtap/runtime
@ -1052,18 +1170,19 @@ done
%license COPYING
%if %{with_java}
%dir %{_libexecdir}/systemtap
%{_libexecdir}/systemtap/libHelperSDT_*.so
%{_libexecdir}/systemtap/libHelperSDT.so
%endif
%if %{with_emacsvim}
%{_emacs_sitelispdir}/*.el*
%{_emacs_sitestartdir}/systemtap-init.el
%{_datadir}/vim/vimfiles/*/*.vim
%{_datadir}/vim/vimfiles
%endif
# Notice that the stap-resolve-module-function.py file is used by
# *both* the python2 and python3 subrpms. Both subrpms use that same
# python script to help list python probes.
%if %{with_python3_probes} || %{with_python2_probes}
%{_libexecdir}/systemtap/python/stap-resolve-module-function.py
%dir %{_libexecdir}/systemtap/python
%exclude %{_libexecdir}/systemtap/python/stap-resolve-module-function.py?
%endif
@ -1101,6 +1220,9 @@ done
%doc README README.security AUTHORS NEWS
%{!?_licensedir:%global license %%doc}
%license COPYING
%if %{with_sysusers}
%{_sysusersdir}/systemtap-runtime.conf
%endif
%files client -f systemtap.lang
@ -1134,6 +1256,7 @@ done
%files initscript
%if %{with_systemd}
%{_presetdir}/42-systemtap.preset
%{_unitdir}/systemtap.service
%{_sbindir}/systemtap-service
%else
@ -1154,25 +1277,34 @@ done
%files sdt-devel
%{_bindir}/dtrace
%{_includedir}/sys/sdt.h
%{_includedir}/sys/sdt-config.h
%{_mandir}/man1/dtrace.1*
%{_rpmmacrodir}/macros.systemtap
%doc README AUTHORS NEWS
%{!?_licensedir:%global license %%doc}
%license COPYING
%files sdt-dtrace
%{_bindir}/dtrace
%doc README AUTHORS NEWS
%{!?_licensedir:%global license %%doc}
%license COPYING
%{_mandir}/man1/dtrace.1*
%files testsuite
%dir %{_datadir}/systemtap
%{_datadir}/systemtap/testsuite
%if %{with_sysusers}
%{_sysusersdir}/systemtap-testsuite.conf
%endif
%if %{with_java}
%files runtime-java
%dir %{_libexecdir}/systemtap
%{_libexecdir}/systemtap/libHelperSDT_*.so
%{_libexecdir}/systemtap/libHelperSDT.so
%{_libexecdir}/systemtap/HelperSDT.jar
%{_libexecdir}/systemtap/stapbm
%endif
@ -1208,7 +1340,7 @@ done
%endif
%endif
%if %{with_python3}
%if %{with_python3_probes}
%files exporter
%{_sysconfdir}/stap-exporter
%{_sysconfdir}/sysconfig/stap-exporter
@ -1217,15 +1349,129 @@ done
%{_sbindir}/stap-exporter
%endif
%files jupyter
%{_bindir}/stap-jupyter-container
%{_bindir}/stap-jupyter-install
%{_mandir}/man1/stap-jupyter.1*
%dir %{_datadir}/systemtap
%{_datadir}/systemtap/interactive-notebook
# ------------------------------------------------------------------------
# Future new-release entries should be of the form
# * DDD MMM DD YYYY YOURNAME <YOUREMAIL> - V-R
# - Upstream release, see wiki page below for detailed notes.
# http://sourceware.org/systemtap/wiki/SystemTapReleases
# https://sourceware.org/systemtap/wiki/SystemTapReleases
# PRERELEASE
%changelog
* Tue Jan 13 2026 Jonathan Wakely <jwakely@fedoraproject.org> - 5.4-2
- Patched to workaround Autoconf 2.72 incompatiblity with GCC 16
* Fri Oct 31 2025 Frank Ch. Eigler <fche@redhat.com> - 5.4-1
- Upstream release, see wiki page below for detailed notes.
https://sourceware.org/systemtap/wiki/SystemTapReleases
* Mon Sep 22 2025 Frank Ch. Eigler <fche@redhat.com> - 5.4-17585496g86ab88eb
- Automated weekly rawhide release
- Applied spec changes from upstream git
* Mon Sep 22 2025 Frank Ch. Eigler <fche@redhat.com> - 5.4-17585473g1fe4178d
- Automated weekly rawhide release
- Applied spec changes from upstream git
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 5.3-5
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 5.3-4
- Rebuilt for Python 3.14.0rc2 bytecode
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 5.3-2
- Rebuilt for Python 3.14
* Fri May 02 2025 Frank Ch. Eigler <fche@redhat.com> - 5.3-1
- Upstream release, see wiki page below for detailed notes.
https://sourceware.org/systemtap/wiki/SystemTapReleases
* Thu Feb 06 2025 Frank Ch. Eigler <fche@redhat.com> - 5.3~pre17373816g7a71d34b.5
- Respin against dyninst 13 redux
* Fri Jan 24 2025 Frank Ch. Eigler <fche@redhat.com> - 5.3~pre17373816g7a71d34b.3
- Respin against dyninst 13, sans dyninst on i686.
* Mon Jan 20 2025 Frank Ch. Eigler <fche@redhat.com> - 5.3-17373816g7a71d34b
- Automated weekly rawhide release
- Applied spec changes from upstream git
* Mon Jan 20 2025 Frank Ch. Eigler <fche@redhat.com> - 5.3-17373794g3efe129d
- Automated weekly rawhide release
- Applied spec changes from upstream git
* Sun Jan 19 2025 Frank Ch. Eigler <fche@redhat.com> - 5.3-17373422g9a48fbea
- Automated weekly rawhide release
- Applied spec changes from upstream git
* Sun Jan 19 2025 Frank Ch. Eigler <fche@redhat.com> - 5.2-17373420g1e894ff0
- Automated weekly rawhide release
- Applied spec changes from upstream git
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Nov 08 2024 Frank Ch. Eigler <fche@redhat.com> - 5.2-1
- Upstream release, see wiki page below for detailed notes.
https://sourceware.org/systemtap/wiki/SystemTapReleases
* Mon Oct 07 2024 William Cohen <wcohen@redhat.com> - 5.2-17283218gc5774e18
- Automated weekly rawhide release
- Applied spec changes from upstream git
* Tue Oct 01 2024 William Cohen <wcohen@redhat.com> - 5.2-17277956g0b7f6722
- Automated weekly rawhide release
- Applied spec changes from upstream git
* Fri Aug 30 2024 Frank Ch. Eigler <fche@redhat.com> - 5.2-17250223gd07e4284
- Automated weekly rawhide release
- Applied spec changes from upstream git
* Thu Aug 08 2024 Lumír Balhar <lbalhar@redhat.com> - 5.2-pre
- Final split of sdt-dtrace and sdt-devel (rhbz#2296275)
https://fedoraproject.org/wiki/Changes/Separate_dtrace_package
* Fri Apr 26 2024 Frank Ch. Eigler <fche@redhat.com> - 5.1-1
- Upstream release, see wiki page below for detailed notes.
https://sourceware.org/systemtap/wiki/SystemTapReleases
* Sat Nov 04 2023 Frank Ch. Eigler <fche@redhat.com> - 5.0-1
- Upstream release, see wiki page below for detailed notes.
https://sourceware.org/systemtap/wiki/SystemTapReleases
- migrated to SPDX license
* Fri Apr 28 2023 Frank Ch. Eigler <fche@redhat.com> - 4.9-1
- Upstream release, see wiki page below for detailed notes.
https://sourceware.org/systemtap/wiki/SystemTapReleases
* Thu Nov 03 2022 Serhei Makarov <serhei@serhei.io> - 4.8-1
- Upstream release, see wiki page below for detailed notes.
https://sourceware.org/systemtap/wiki/SystemTapReleases
* Mon May 02 2022 Frank Ch. Eigler <fche@redhat.com> - 4.7-1
- Upstream release, see wiki page below for detailed notes.
https://sourceware.org/systemtap/wiki/SystemTapReleases
* Mon Nov 15 2021 Serhei Makarov <me@serhei.io> - 4.6-1
- Upstream release, see wiki page below for detailed notes.
https://sourceware.org/systemtap/wiki/SystemTapReleases
* Fri May 07 2021 Serhei Makarov <me@serhei.io> - 4.5-1
- Upstream release.
* Mon Nov 09 2020 Frank Ch. Eigler <fche@redhat.com> - 4.4-1
- Upstream release.
* Thu Jun 11 2020 Frank Ch. Eigler <fche@redhat.com> - 4.3-1
- Upstream release.
@ -1263,7 +1509,7 @@ done
- Upstream release.
* Mon Jul 07 2014 Josh Stone <jistone@redhat.com>
- Flip with_dyninst to an %%ifarch whitelist.
- Flip with_dyninst to an %%ifarch passlist.
* Wed Apr 30 2014 Jonathan Lebon <jlebon@redhat.com> - 2.5-1
- Upstream release.

View file

@ -1,38 +0,0 @@
TOPLEVEL_NAMESPACE=fedora
PACKAGE_NAME=systemtap
RELATIVE_PATH=Sanity/dejagnu-smoketest
export TESTVERSION=1.0
export TEST=/$(TOPLEVEL_NAMESPACE)/$(PACKAGE_NAME)/$(RELATIVE_PATH)
.PHONY: all install download clean
BUILT_FILES=
FILES=$(METADATA) runtest.sh Makefile PURPOSE
run: $(FILES) build
./runtest.sh
build: $(BUILT_FILES)
chmod a+x ./runtest.sh
clean:
rm -f *~ *.rpm $(BUILT_FILES)
include /usr/share/rhts/lib/rhts-make.include
# Generate the testinfo.desc here:
$(METADATA): Makefile
@touch $(METADATA)
# Change to the test owner's name
@echo "Owner: Frank Ch. Eigler <fche@redhat.com>" > $(METADATA)
@echo "Name: $(TEST)" >> $(METADATA)
@echo "Path: $(TEST_DIR)" >> $(METADATA)
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
@echo "Type: Sanity" >> $(METADATA)
@echo "Description: smoke test" >> $(METADATA)
@echo "TestTime: 10m" >> $(METADATA)
@echo "RunFor: $(PACKAGE_NAME)" >> $(METADATA)
@echo "Requires: $(PACKAGE_NAME)" >> $(METADATA)
@echo "License: GPLv2" >> $(METADATA)
# You may need other fields here; see the documentation
rhts-lint $(METADATA)

View file

@ -1,3 +0,0 @@
Test Name: dejagnu-smoketest
Author:
Short Description: Run a minimal systemtap testsuite

View file

@ -1,17 +0,0 @@
#!/bin/sh
set -e
set -x
dnf debuginfo-install -y kernel
# on Fedora CI, can only assume about 1GB RAM to run these tests
stap -L 'process("stap").mark("*")' | grep pass
# stap -L 'kernel.trace("sys_enter")'
stap -v --example helloworld.stp
stap -v -T 10 -p4 -e 'probe kernel.function("do_exit") {println($$vars)}'
# stap -v -T 10 -e 'probe syscall.* ? {println(argstr)}'
echo
echo RESULT: PASS

View file

@ -1,11 +0,0 @@
---
- hosts: localhost
roles:
- role: standard-test-beakerlib
tags:
- classic
tests:
- dejagnu-smoketest
required_packages:
- systemtap-testsuite
- kernel-devel