* [PATCH blktests] check: ensure to suppress job status output
@ 2022-06-16 4:12 Shin'ichiro Kawasaki
2022-06-16 11:30 ` Jan Kara
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Shin'ichiro Kawasaki @ 2022-06-16 4:12 UTC (permalink / raw)
To: linux-block; +Cc: Jan Kara, Shin'ichiro Kawasaki
Unexpected job status output by wait commands was observed on openSUSE
15.3 and it made some test cases fail. To avoid the job status output
during test case runs, ensure to turn off job control monitor in sub-
shell for test case runs.
Reported-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/linux-block/20220613151721.18664-1-jack@suse.cz/
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
---
check | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/check b/check
index 7037d88..a0c27d9 100755
--- a/check
+++ b/check
@@ -440,6 +440,10 @@ _run_test() {
RUN_FOR_ZONED=0
FALLBACK_DEVICE=0
+ # Ensure job control monitor mode is off in the sub-shell for test case
+ # runs to suppress job status output.
+ set +m
+
# shellcheck disable=SC1090
. "tests/${TEST_NAME}"
--
2.36.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH blktests] check: ensure to suppress job status output
2022-06-16 4:12 [PATCH blktests] check: ensure to suppress job status output Shin'ichiro Kawasaki
@ 2022-06-16 11:30 ` Jan Kara
2022-06-16 17:53 ` Chaitanya Kulkarni
2022-06-20 4:53 ` Shinichiro Kawasaki
2 siblings, 0 replies; 4+ messages in thread
From: Jan Kara @ 2022-06-16 11:30 UTC (permalink / raw)
To: Shin'ichiro Kawasaki; +Cc: linux-block, Jan Kara
On Thu 16-06-22 13:12:14, Shin'ichiro Kawasaki wrote:
> Unexpected job status output by wait commands was observed on openSUSE
> 15.3 and it made some test cases fail. To avoid the job status output
> during test case runs, ensure to turn off job control monitor in sub-
> shell for test case runs.
>
> Reported-by: Jan Kara <jack@suse.cz>
> Link: https://lore.kernel.org/linux-block/20220613151721.18664-1-jack@suse.cz/
> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Thanks! Feel free to add:
Tested-by: Jan Kara <jack@suse.cz>
Honza
> ---
> check | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/check b/check
> index 7037d88..a0c27d9 100755
> --- a/check
> +++ b/check
> @@ -440,6 +440,10 @@ _run_test() {
> RUN_FOR_ZONED=0
> FALLBACK_DEVICE=0
>
> + # Ensure job control monitor mode is off in the sub-shell for test case
> + # runs to suppress job status output.
> + set +m
> +
> # shellcheck disable=SC1090
> . "tests/${TEST_NAME}"
>
> --
> 2.36.1
>
--
Jan Kara <jack@suse.com>
SUSE Labs, CR
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH blktests] check: ensure to suppress job status output
2022-06-16 4:12 [PATCH blktests] check: ensure to suppress job status output Shin'ichiro Kawasaki
2022-06-16 11:30 ` Jan Kara
@ 2022-06-16 17:53 ` Chaitanya Kulkarni
2022-06-20 4:53 ` Shinichiro Kawasaki
2 siblings, 0 replies; 4+ messages in thread
From: Chaitanya Kulkarni @ 2022-06-16 17:53 UTC (permalink / raw)
To: Shin'ichiro Kawasaki, linux-block; +Cc: Jan Kara
On 6/15/2022 9:12 PM, Shin'ichiro Kawasaki wrote:
> Unexpected job status output by wait commands was observed on openSUSE
> 15.3 and it made some test cases fail. To avoid the job status output
> during test case runs, ensure to turn off job control monitor in sub-
> shell for test case runs.
>
> Reported-by: Jan Kara <jack@suse.cz>
> Link: https://lore.kernel.org/linux-block/20220613151721.18664-1-jack@suse.cz/
> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
-ck
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH blktests] check: ensure to suppress job status output
2022-06-16 4:12 [PATCH blktests] check: ensure to suppress job status output Shin'ichiro Kawasaki
2022-06-16 11:30 ` Jan Kara
2022-06-16 17:53 ` Chaitanya Kulkarni
@ 2022-06-20 4:53 ` Shinichiro Kawasaki
2 siblings, 0 replies; 4+ messages in thread
From: Shinichiro Kawasaki @ 2022-06-20 4:53 UTC (permalink / raw)
To: linux-block; +Cc: Jan Kara, Chaitanya Kulkarni
On Jun 16, 2022 / 13:12, Shin'ichiro Kawasaki wrote:
> Unexpected job status output by wait commands was observed on openSUSE
> 15.3 and it made some test cases fail. To avoid the job status output
> during test case runs, ensure to turn off job control monitor in sub-
> shell for test case runs.
>
> Reported-by: Jan Kara <jack@suse.cz>
> Link: https://lore.kernel.org/linux-block/20220613151721.18664-1-jack@suse.cz/
> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Thanks for the tags. Applied.
--
Shin'ichiro Kawasaki
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-06-20 4:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-16 4:12 [PATCH blktests] check: ensure to suppress job status output Shin'ichiro Kawasaki
2022-06-16 11:30 ` Jan Kara
2022-06-16 17:53 ` Chaitanya Kulkarni
2022-06-20 4:53 ` Shinichiro Kawasaki
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.