[PR #6949] [MERGED] tests: man: fix timeout error #6241

Closed
opened 2026-05-05 10:53:19 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/6949
Author: @kmk3
Created: 10/27/2025
Status: Merged
Merged: 10/29/2025
Merged by: @kmk3

Base: masterHead: test-fix-man-firejail


📝 Commits (1)

  • 71e4c3a tests: man: fix timeout error

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 test/sysutils/man.exp (+1 -1)

📄 Description

For a long time there have been intermittent failures in CI when trying
to open the firejail man page with man[1]:

2025-08-05T14:15:03.2742048Z runner@pkrvm76nib4usnx:~/work/firejail/firejail/test/sysutils$ rm -f /tmp/t
2025-08-05T14:15:03.2742725Z runner@pkrvm76nib4usnx:~/work/firejail/firejail/test/sysutils$
2025-08-05T14:15:03.2743522Z <ejail/test/sysutils$ firejail man firejail > /tmp/t
2025-08-05T14:15:03.2743913Z cat /tmp/t
2025-08-05T14:15:03.5645359Z troff: <standard input>:89: warning [p 2, 2.3i]: cannot adjust line
2025-08-05T14:15:03.5862718Z troff: <standard input>:3738: warning [p 40, 11.8i]: cannot adjust line
2025-08-05T14:15:13.5920525Z runner@pkrvm76nib4usnx:~/work/firejail/firejail/test/sysutils$ TESTING ERROR 0

It seems to happen due to a timeout, so use the firecfg man page
instead, as that results in over 10 times less lines in the output and
thus should be less likely to cause issues:

$ man src/man/firejail.1.in | wc -l
3057
$ man src/man/firecfg.1.in | wc -l
184

Also, use the full path to man just in case.

[1] https://github.com/netblue30/firejail/actions/runs/16752574198/job/47426439265


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/6949 **Author:** [@kmk3](https://github.com/kmk3) **Created:** 10/27/2025 **Status:** ✅ Merged **Merged:** 10/29/2025 **Merged by:** [@kmk3](https://github.com/kmk3) **Base:** `master` ← **Head:** `test-fix-man-firejail` --- ### 📝 Commits (1) - [`71e4c3a`](https://github.com/netblue30/firejail/commit/71e4c3a66bbc4b071cc21dab3cf0b9e5d69e4243) tests: man: fix timeout error ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `test/sysutils/man.exp` (+1 -1) </details> ### 📄 Description For a long time there have been intermittent failures in CI when trying to open the firejail man page with `man`[1]: 2025-08-05T14:15:03.2742048Z runner@pkrvm76nib4usnx:~/work/firejail/firejail/test/sysutils$ rm -f /tmp/t 2025-08-05T14:15:03.2742725Z runner@pkrvm76nib4usnx:~/work/firejail/firejail/test/sysutils$ 2025-08-05T14:15:03.2743522Z <ejail/test/sysutils$ firejail man firejail > /tmp/t 2025-08-05T14:15:03.2743913Z cat /tmp/t 2025-08-05T14:15:03.5645359Z troff: <standard input>:89: warning [p 2, 2.3i]: cannot adjust line 2025-08-05T14:15:03.5862718Z troff: <standard input>:3738: warning [p 40, 11.8i]: cannot adjust line 2025-08-05T14:15:13.5920525Z runner@pkrvm76nib4usnx:~/work/firejail/firejail/test/sysutils$ TESTING ERROR 0 It seems to happen due to a timeout, so use the firecfg man page instead, as that results in over 10 times less lines in the output and thus should be less likely to cause issues: $ man src/man/firejail.1.in | wc -l 3057 $ man src/man/firecfg.1.in | wc -l 184 Also, use the full path to `man` just in case. [1] https://github.com/netblue30/firejail/actions/runs/16752574198/job/47426439265 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:53:19 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#6241
No description provided.