Skip to content
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

Test case: zfs_promote_008_pos #7224

Closed
behlendorf opened this issue Feb 23, 2018 · 0 comments
Closed

Test case: zfs_promote_008_pos #7224

behlendorf opened this issue Feb 23, 2018 · 0 comments
Labels
Component: Test Suite Indicates an issue with the test framework or a test case

Comments

@behlendorf
Copy link
Contributor

System information

Type Version/Name
Distribution Name Ununtu
Distribution Version 17.10
Linux Kernel
Architecture x86_64
ZFS Version zfs-0.7.0-334-g7088545
SPL Version spl-0.7.0-29-g378c6ed

Describe the problem you're observing

Occasional failure of zfs_promote_008_pos test case.

Describe how to reproduce the problem

Occasionally reproduced by buildbot during automated testing.

Include any warning/errors/backtraces from the system logs

http://build.zfsonlinux.org/builders/Ubuntu%2017.10%20x86_64%20%28TEST%29/builds/477

Test: /usr/share/zfs/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_008_pos (run as root) [00:00] [FAIL]
21:42:33.22 ASSERTION: 'zfs promote' can promote a volume clone.
21:42:33.24 SUCCESS: zfs snapshot testpool/testvol@testsnap
21:42:33.26 SUCCESS: zfs clone testpool/testvol@testsnap testpool/volclone
21:42:33.29 SUCCESS: zfs promote testpool/volclone
21:42:33.31 'zfs promote' can promote volume clone as expected.
21:42:33.31 NOTE: Performing local cleanup via log_onexit (cleanup)
21:42:33.32 SUCCESS: zfs promote testpool/testvol
21:42:33.34 ERROR: zfs destroy -rR testpool/testvol@testsnap exited 1
21:42:33.34 cannot destroy 'testpool/volclone': dataset is busy
@behlendorf behlendorf added the Component: Test Suite Indicates an issue with the test framework or a test case label Feb 23, 2018
tonyhutter pushed a commit to tonyhutter/zfs that referenced this issue May 4, 2018
Datasets can be busy when calling zfs destroy. Introduce
a helper function to destroy datasets and use it to destroy
datasets in zfs_allow_004_pos, zfs_promote_008_pos, and
zfs_destroy_002_pos.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Closes openzfs#7224
Closes openzfs#7246
Closes openzfs#7249
Closes openzfs#7267
tonyhutter pushed a commit that referenced this issue May 10, 2018
Datasets can be busy when calling zfs destroy. Introduce
a helper function to destroy datasets and use it to destroy
datasets in zfs_allow_004_pos, zfs_promote_008_pos, and
zfs_destroy_002_pos.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Closes #7224
Closes #7246
Closes #7249
Closes #7267
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Test Suite Indicates an issue with the test framework or a test case
Projects
None yet
Development

No branches or pull requests

1 participant