Thread (2 messages) 2 messages, 2 authors, 2021-04-22

Re: [PATCH blktests v2] tests/block/014: ignore dd error messages

From: Omar Sandoval <osandov@osandov.com>
Date: 2021-04-22 17:27:15

On Thu, Apr 08, 2021 at 01:39:18PM +0900, Damien Le Moal wrote:
The kernel commit de3510e52b0a ("null_blk: fix command timeout
completion handling") fixed null_blk driver to report ETIMEDOUT errors
for IO operations failed with a timeout. This change causes the dd call
in block/014 case to print the following error message:

dd: error reading '/dev/nullb0': Connection timed out

The presence of this message result in a failure of the test case even
without a kernel crash or hang, which is what the block/014 case is
testing. Avoid this failure by ignoring dd error messages using a
redirection of dd stderr to /dev/null.

Reported-by: kernel test robot <redacted>
Signed-off-by: Damien Le Moal <redacted>
---

Changes from v1:
* Add Reported-by tag

 tests/block/014 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Sorry about the delay, I was out for a couple of weeks. Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help