-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zvol_ENOSPC test suite failure #5848
Comments
Note also that the close() time varies. I performed the dd ten times with strace -T and recorded the time for the close() call:
|
I captured the stack 100 times in a tight loop during one of the slow close(1) calls, like a handmade perf. The longer stack, with zvol_request, appeared in all 100. |
In my test, spl and zfs were built with debug on, in case that matters. And I was running in-tree. |
Below comment posted earlier is wrong. I'd changed the amount of data written with dd accidentally:
|
Occasionally observed failure of zvol_ENOSPC_001_pos due to the test case taking to long to complete. Disable the test case until it can be improved. Signed-off-by: Brian Behlendorf <[email protected]> Issue openzfs#5848
Occasionally observed failure of zvol_ENOSPC_001_pos due to the test case taking too long to complete. Disable the test case until it can be improved. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #5848 Closes #6862
Occasionally observed failure of zvol_ENOSPC_001_pos due to the test case taking too long to complete. Disable the test case until it can be improved. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue openzfs#5848 Closes openzfs#6862
Occasionally observed failure of zvol_ENOSPC_001_pos due to the test case taking too long to complete. Disable the test case until it can be improved. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue openzfs#5848 Closes openzfs#6862
Occasionally observed failure of zvol_ENOSPC_001_pos due to the test case taking too long to complete. Disable the test case until it can be improved. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue openzfs#5848 Closes openzfs#6862
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions. |
System information
Describe the problem you're observing
The zvol_ENOSPC test suite is repeatedly failing in the automated tests performed on PRs by the buildbot. Specifically, zvol_ENOSPC_001_pos times out and is killed, and the cleanup step fails. Subsequent tests often fail as well. The failure does not appear to depend on the nature of the patch.
I've given my VM's specific distro/kernel/etc above but do not know if this issue is specific to this environment.
Describe how to reproduce the problem
I believe I've reproduced the problem in a VM on my desktop:
The dd does eventually get ENOSPC in response to a write() call. However, the close() call for output file (the zvol's device) takes a very long time to return - 100s in the example I captured.
and then
Include any warning/errors/backtraces from the system logs
I saw two stacks while waiting on the close() call to return. I don't know if either is a useful clue:
and
The text was updated successfully, but these errors were encountered: