Bug 14446 - Testcase INTEGRATION/simple/debug.003.dumpmemory.sh fails on CentOS 8 virtual cluster
Summary: Testcase INTEGRATION/simple/debug.003.dumpmemory.sh fails on CentOS 8 virtual...
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: CTDB (show other bugs)
Version: 4.12.0
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-21 00:18 UTC by Martin Schwenke
Modified: 2020-08-17 11:24 UTC (History)
1 user (show)

See Also:


Attachments
Patch for 4.13, 4.12 (1.19 KB, patch)
2020-07-28 08:04 UTC, Martin Schwenke
amitay: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schwenke 2020-07-21 00:18:20 UTC
This testcase produces 64KB of output via the "ctdb dumpmemory" command.  The enclosing try_command_on_node function call uses the -v option, which results in an attempt to use "cat" to print the output file to stdout.  When run on a CentOS 8 virtual cluster the cat process exits with non-zero due to:

  cat: write error: Resource temporarily unavailable

Attempts to recreate and understand this have been unsuccessful. All attempts block rathehr than failing with EAGAIN.

The best workaround appears to be to ignore a failure from the cat command in this particular context.
Comment 1 Martin Schwenke 2020-07-28 08:04:47 UTC
Created attachment 16142 [details]
Patch for 4.13, 4.12

Patch for v4-13-test and v4-12-test.  Has been successfully cluster tested on v4-13-test.
Comment 2 Amitay Isaacs 2020-07-30 07:48:21 UTC
Hi Karolin,

This is ready for v4-12 and v4-13.

Thanks.
Comment 3 Karolin Seeger 2020-08-06 11:27:15 UTC
(In reply to Amitay Isaacs from comment #2)
Pushed to autobuild-v4-{13,12}-test.
Comment 4 Karolin Seeger 2020-08-17 11:24:28 UTC
(In reply to Karolin Seeger from comment #3)
Pushed to both branches.
Closing out bug report.

Thanks!