Skip to content

ci: actually run the tests on Packit again #4927

Merged
gpotter2 merged 2 commits intosecdev:masterfrom
evverx:packit-run-tests
Feb 20, 2026
Merged

ci: actually run the tests on Packit again #4927
gpotter2 merged 2 commits intosecdev:masterfrom
evverx:packit-run-tests

Conversation

@evverx
Copy link
Contributor

@evverx evverx commented Feb 20, 2026

The Fedora package added the "%check" section to the spec file to
perform an import check in
https://src.fedoraproject.org/rpms/scapy/c/878585466261f17c01516a653d19cf47022c2f9f?branch=rawhide
and it broke the upstream script where sed expected the "%check" section
to be commented out. This patch adjusts the sed command to run the tests
again.

The "netaccess" tests are turned off for now because they sporadically time out in some Packit jobs.
They can probably be brought back once Packit is stabilized.

It was tested in https://copr.fedorainfracloud.org/coprs/packit/evverx-scapy-2/build/10153843/.

The Fedora package added the "%check" section to the spec file to
perform an import check in
https://src.fedoraproject.org/rpms/scapy/c/878585466261f17c01516a653d19cf47022c2f9f?branch=rawhide
and it broke the upstream script where sed expected the "%check" section
to be commented out. This patch adjusts the sed command to run the tests
again.
Currently those tests sporadically time out in some Packit jobs. They
can probably be brought back once Packit is stabilized.
@codecov
Copy link

codecov bot commented Feb 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.63%. Comparing base (a686d23) to head (5120292).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4927      +/-   ##
==========================================
- Coverage   80.63%   80.63%   -0.01%     
==========================================
  Files         370      370              
  Lines       91733    91733              
==========================================
- Hits        73972    73970       -2     
- Misses      17761    17763       +2     

see 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gpotter2
Copy link
Member

Thanks a lot for the PR !

Regarding the failing test... Ahh, yes, that moment when PyPy segfaults..

@gpotter2 gpotter2 merged commit 2c787cd into secdev:master Feb 20, 2026
23 of 24 checks passed
Ebrix pushed a commit to Ebrix/scapy that referenced this pull request Feb 26, 2026
* ci: actually run the tests on Packit again

The Fedora package added the "%check" section to the spec file to
perform an import check in
https://src.fedoraproject.org/rpms/scapy/c/878585466261f17c01516a653d19cf47022c2f9f?branch=rawhide
and it broke the upstream script where sed expected the "%check" section
to be commented out. This patch adjusts the sed command to run the tests
again.

* ci: turn off netaccess on Packit for now

Currently those tests sporadically time out in some Packit jobs. They
can probably be brought back once Packit is stabilized.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants