55 Commits

Author SHA1 Message Date
Gleb Chesnokov
a266c02db5 nightly build: Update kernel versions
Another kernel versions update
2026-04-14 17:17:39 +03:00
Gleb Chesnokov
b97f62a869 nightly build: Update kernel versions
Another kernel versions update
2026-04-12 18:37:09 +03:00
Gleb Chesnokov
7d6f9a1f74 .github/workflows: Drop envelope_from from mail action
The current action branch fails with "No recipients defined" when
envelope_from is set in this workflow. The SMTP username already
provides the sender address, so envelope_from is unnecessary here.
2026-03-12 16:17:24 +03:00
Gleb Chesnokov
32c4c6b87b .github/workflows: Use valid sender address
Set a static From header and envelope_from to the configured
SMTP account to restore mail notifications.
2026-03-12 15:00:49 +03:00
Gleb Chesnokov
e36e246b22 .github/workflows: Switch actions to default branches
Update the Coverity and mail notification workflows to use the
current default branches of the corresponding GitHub Actions.
2026-03-12 14:27:39 +03:00
Gleb Chesnokov
15d25e24a5 nightly build: Update kernel versions
Another kernel versions update
2026-02-12 10:55:58 +03:00
Gleb Chesnokov
1b48521653 nightly build: Update kernel versions 2025-12-29 12:40:21 +03:00
Gleb Chesnokov
b2250f6ead nightly build: Update kernel versions
Another kernel versions update
2025-12-09 13:32:41 +03:00
Gleb Chesnokov
3fb16aa624 scst: Unbreak the RHEL 10.1 build
Fixes: https://github.com/SCST-project/scst/issues/317
2025-12-09 11:53:38 +03:00
Gleb Chesnokov
7d0b1d2588 scst: Unbreak the RHEL 9.7 build
Fixes: https://github.com/SCST-project/scst/issues/317
2025-11-19 11:38:42 +03:00
Gleb Chesnokov
fae9d2a1e5 scst: Unbreak UEK and RHEL builds
Drop OL6/UEK R4 support.
2025-10-01 22:11:28 +03:00
Gleb Chesnokov
5245d1cb15 .github/workflows: Print compilation output and improve annotations
Show the kernel compilation output whenever the run reached the
compilation stage (both pass/fail cases) and add a readable prefix
with the actual filename. Also refactor to use variables for version,
workdir, and output; quote expansions; and switch to titled GitHub
Actions annotations. Drop `-k` and rely on explicit cleanup.
2025-10-01 22:11:28 +03:00
Gleb Chesnokov
8180623310 nightly build: Update kernel versions
Another kernel versions update
2025-09-30 12:13:22 +03:00
Gleb Chesnokov
1186ac25c5 nightly build: Update kernel versions
Another kernel versions update
2025-08-05 17:41:32 +03:00
Gleb Chesnokov
17eb80e049 nightly build: Add RHEL 10 kernel support
Add AlmaLinux 10.0 kernel to nightly build configs and update helper
scripts to handle AlmaLinux 10.0 package sources.
2025-06-06 12:31:21 +03:00
Gleb Chesnokov
15ebdec403 nightly build: Add UEK 8 kernel support
Add Oracle Linux UEK 8 kernel to nightly build configs and update helper
scripts to handle UEK 8 package sources.
2025-05-26 17:37:09 +03:00
Gleb Chesnokov
44bd290fea scst: Add RHEL 8.10 and 9.6 kernel support
Add compatibility for RHEL 8.10 and RHEL 9.6 kernels. Update nightly build
and regression test configs, and adjust version checks in the codebase
to handle changes in these new RHEL kernel releases.
2025-05-26 17:37:09 +03:00
Gleb Chesnokov
15695fedce nightly build: Update kernel versions
Another kernel versions update
2025-05-26 17:37:09 +03:00
Gleb Chesnokov
fdbb34c77e .github/workflows: Improve regression test failure detection in GitHub Actions
Update the run_regression_tests workflow to fail if "Compiling the patched
kernel" is missing or if any non-zero error count ("N errors") or "FAILED"
is detected after the marker.

The previous check missed multi-digit error counts and did not handle
a missing marker, which could result in undetected failures.
2025-05-26 17:37:09 +03:00
Gleb Chesnokov
12a00ffc89 nightly build: Update kernel versions
Another kernel versions update
2025-03-25 18:57:32 +03:00
Gleb Chesnokov
3e3c2e6930 nightly build: Update kernel versions
Another kernel versions update
2025-01-20 18:54:10 +03:00
Gleb Chesnokov
ddd7f084c8 .github/workflows: Update stable branch version 2024-12-28 17:14:54 +03:00
Gleb Chesnokov
9082b4e82a nightly build: Update kernel versions
Another kernel versions update
2024-12-28 14:59:04 +03:00
Gleb Chesnokov
cc713322e7 nightly build: Update kernel versions
Another kernel versions update.
2024-11-18 17:13:45 +03:00
Gleb Chesnokov
31eca7eced .github/workflows: Use checkpatch scripts
Inroduce several checkpatch scripts to use in workflows.
2024-11-07 13:21:25 +03:00
Gleb Chesnokov
fca4d58822 .github/workflows: Run regression tests upon a pull request
Also allow regression tests to run upon a pull request.
2024-11-07 13:21:25 +03:00
Gleb Chesnokov
1925094cb0 .github/workflows, scripts: Improve checkpatch compliance
Use checkpatch --strict to detect more style issues.
2024-10-01 16:17:11 +03:00
Gleb Chesnokov
878bbad8ce nightly build: Update kernel versions
Another kernel versions update
2024-09-16 13:44:01 +03:00
Gleb Chesnokov
376838e898 scripts/run-regression-tests: Improve support for RHEL kernels
Additionally, update kernel versions.
2024-09-04 20:12:26 +03:00
Gleb Chesnokov
7117490910 nightly build: Update kernel versions
Another kernel versions update.
2024-07-15 15:18:16 +03:00
Gleb Chesnokov
aa2c925429 nightly build: Update kernel versions
Another kernel versions update.
2024-05-17 12:36:01 +03:00
Gleb Chesnokov
7c4e07414a .github/workflows: Add a GitHub action to run regression tests upon push
Introduce a new GitHub action that automatically runs the
scripts/run_regression_tests script upon each push to the master branch.
2024-05-03 17:45:14 +03:00
Bart Van Assche
38b9e895bd .github/workflows: Restrict some workflows to the official repository
Prevent that the Coverity and send-email workflows fail for submitters
of pull requests.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
2024-02-16 12:07:21 +03:00
Bart Van Assche
b1ec10623b .github/workflows: Use the latest checkout action
Fix the following warning:

Node.js 16 actions are deprecated. Please update the following actions to
use Node.js 20: actions/checkout@v3.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
2024-02-16 12:07:21 +03:00
Gleb Chesnokov
2f9a82bb87 github: Update stable branch version for the Mailing list action 2024-01-15 15:33:45 +03:00
Gleb Chesnokov
76750f3352 scst: Port to Linux kernel v6.5
Support for the following block layer changes in the Linux kernel v6.5:

- 05bdb9965305 ("block: replace fmode_t with a block-specific type for
  block open flags")
- 0718afd47f70 ("block: introduce holder ops")
- 2736e8eeb0cc ("block: use the holder as indication for exclusive opens")
2023-07-10 10:34:57 +03:00
Gleb Chesnokov
6a925490fd scst: Confirm percpu refs has scheduled and switched to atomic
This patch replaces percpu_ref_kill() with percpu_ref_kill_and_confirm()
to guarantee safe usage of references in atomic mode immediately
afterwards.

This change ensures accurate checking of active commands following the
initial reference killing.

Reported-by: Lev Vainblat <lev@zadarastorage.com>
2023-06-28 19:31:45 +03:00
Gleb Chesnokov
15229d00cc github: Enhance checkpatch_pull error handling
Add an error variable to track errors during the loop in
checkpatch_pull.yml, allowing the workflow to run checkpatch for all
commits before exiting with the appropriate status.

Additionally, add COMMIT_LOG_USE_LINK to the ignore list for both
pull and push workflows
2023-04-28 16:05:09 +03:00
Gleb Chesnokov
1376ad014d github: Add a GitHub action to run checkpatch upon pull request
Add a new GitHub Actions workflow, checkpatch_pull.yml, which runs
checkpatch.pl for each commit in a pull request targeting the master
branch.

This change ensures proper checkpatch validation for both push
and pull request events.
2023-04-11 11:52:35 +03:00
Gleb Chesnokov
4fdb5273b6 github/checkpatch.yml: Simplify script
Simplify the script by removing an unnecessary call to `echo`.
2023-04-06 13:02:25 +03:00
Gleb Chesnokov
0717a72052 github: Add a GitHub action to run checkpatch upon push
Introduce a new GitHub action that automatically runs the
checkpatch.pl script upon each push to the repository.
2023-04-05 14:54:49 +03:00
Gleb Chesnokov
e5b936f10b github: Add a job name for the mail notification action
Enhance the mail notification GitHub action by including the commit
message in the job name.
2023-04-05 14:54:49 +03:00
Gleb Chesnokov
634bd00cc0 github: Fix deprecated set-output commands
set-output is being deprecated:

"Starting 1st June 2023 workflows using save-state or set-output
commands via stdout will fail with an error."

So fix this by using the GITHUB_OUTPUT environment files instead.
2023-04-05 12:09:53 +03:00
Gleb Chesnokov
3ba2549ac4 github: Update actions/checkout to v3
This patch should fix the following github warning:

    Node.js 12 actions are deprecated. Please update the following
    actions to use Node.js 16: actions/checkout@v2
2023-01-13 16:52:07 +03:00
Gleb Chesnokov
01c489c05f github: Update the version of SCST for the Coverity action 2022-12-28 17:08:44 +03:00
Gleb Chesnokov
e48a3003f9 github: Update stable branch version for the Mailing list action 2022-12-28 17:08:44 +03:00
Gleb Chesnokov
fabd3dadc9 github: Ignore errors when building SCST for Coverity
The GitHub virtual environment provides Ubuntu with a kernel that doesn't
support FCoE, causing the build to fail:

ERROR: modpost: "fc_seq_release" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
ERROR: modpost: "fc_fc4_register_provider" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
ERROR: modpost: "fc_lport_iterate" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
ERROR: modpost: "fc_seq_els_rsp_send" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
ERROR: modpost: "fc_seq_assign" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
ERROR: modpost: "_fc_frame_alloc" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
ERROR: modpost: "fc_fill_reply_hdr" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
ERROR: modpost: "fc_exch_done" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
ERROR: modpost: "fc_fc4_deregister_provider" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
ERROR: modpost: "fc_frame_alloc_fill" [/root/gleb/SCST/scst/fcst/fcst.ko] undefined!
WARNING: modpost: suppressed 4 unresolved symbol warnings because there were too many)

Ignore these errors and continue building SCST to get all the information
for analysis.
2022-07-26 16:11:11 +03:00
Gleb Chesnokov
4418538578 github: Add a GitHub action to run a Coverity scan upon push
Submit a build to the Coverity analyzer for every change in the
master branch.

You can find the results of Coverity's analysis here:
https://scan.coverity.com/projects/scst-project
2022-07-25 14:41:32 +03:00
Gleb Chesnokov
e4ab384f48 github: Change mail server for mail notification action
Google no longer support the use of third-party apps or devices which
ask you to sign in to your Google Account using only your username and
password. This causes problems when using github mail notification action
to send SCST patches. Hence, change the Google mail server to an another one.
2022-05-15 15:27:53 +03:00
Chesnokov Gleb
60338c1d15 github: Improve the listing of modified files for the Mailing list action
Use --stat option instead of --name-only for the 'Get list of files' step,
as it also provides stats on modified files.
2022-01-17 04:51:53 +03:00