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_rollback_001_pos #6415

Closed
dinatale2 opened this issue Jul 27, 2017 · 1 comment
Closed

Test case: zfs_rollback_001_pos #6415

dinatale2 opened this issue Jul 27, 2017 · 1 comment
Labels
Component: Test Suite Indicates an issue with the test framework or a test case Status: Stale No recent activity for issue

Comments

@dinatale2
Copy link
Contributor

System information

Type Version/Name
Distribution Name Amazon Linux
Distribution Version
Linux Kernel
Architecture x86
ZFS Version 0.7.0-rc5
SPL Version 0.7.0-rc5

Describe the problem you're observing

zfs_rollback_001_pos occasionally fails with the error filesystem 'testpool/testfs' is already mounted cannot mount 'testpool/testfs': mountpoint or dataset is busy filesystem successfully created, but not mounted on the Amazon Linux builder.

Describe how to reproduce the problem

Reproduced by the Amazon Linux builder in buildbot.

Include any warning/errors/backtraces from the system logs

http://build.zfsonlinux.org/builders/Amazon%202015.09%20x86_64%20Release%20%28TEST%29/builds/3348/steps/shell_8/logs/log

Test: /usr/share/zfs/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_001_pos (run as root) [00:00] [FAIL]
06:55:19.06 ASSERTION: 'zfs rollback -r|-rf|-R|-Rf' will recursively destroy any  snapshots more recent than the one specified.
06:55:19.06 NOTE: Create 3 snapshots, rollback to the 2nd snapshot  using -r.
06:55:19.11 SUCCESS: zfs destroy -Rf testpool/testfs
06:55:19.12 SUCCESS: zfs destroy -Rf testpool/testvol
06:55:19.14 SUCCESS: zfs create testpool/testfs
06:55:19.18 SUCCESS: zfs set mountpoint=/var/tmp/testdir testpool/testfs
06:55:19.20 SUCCESS: zfs create -V 150m testpool/testvol
06:55:19.51 SUCCESS: eval echo y | 			newfs -v /dev/zvol/testpool/testvol > /dev/null 2>&1
06:55:19.52 SUCCESS: mount /dev/zvol/testpool/testvol /var/tmp/testdir1
06:55:19.53 SUCCESS: cp /etc/passwd /var/tmp/testdir/testfile0
06:55:19.55 SUCCESS: sync
06:55:19.56 SUCCESS: zfs snapshot testpool/testfs@testsnap
06:55:19.56 SUCCESS: cp /etc/passwd /var/tmp/testdir/testfile1
06:55:19.57 SUCCESS: sync
06:55:19.58 SUCCESS: zfs snapshot testpool/testfs@testsnap1
06:55:19.58 SUCCESS: cp /etc/passwd /var/tmp/testdir/testfile2
06:55:19.59 SUCCESS: sync
06:55:19.60 SUCCESS: zfs snapshot testpool/testfs@testsnap2
06:55:19.61 SUCCESS: cp /etc/passwd /var/tmp/testdir1/testfile0
06:55:19.61 SUCCESS: sync
06:55:19.62 SUCCESS: zfs snapshot testpool/testvol@testsnap
06:55:19.63 SUCCESS: cp /etc/passwd /var/tmp/testdir1/testfile1
06:55:19.63 SUCCESS: sync
06:55:19.64 SUCCESS: zfs snapshot testpool/testvol@testsnap1
06:55:19.65 SUCCESS: cp /etc/passwd /var/tmp/testdir1/testfile2
06:55:19.65 SUCCESS: sync
06:55:19.66 SUCCESS: zfs snapshot testpool/testvol@testsnap2
06:55:19.68 SUCCESS: zfs rollback -r testpool/testfs@testsnap1
06:55:19.68 SUCCESS: datasetexists testpool/testfs@testsnap
06:55:19.69 SUCCESS: datasetexists testpool/testfs@testsnap1
06:55:19.69 SUCCESS: datasetnonexists testpool/testfs@testsnap2
06:55:19.70 SUCCESS: datasetnonexists testpool/testfstestclone
06:55:19.70 SUCCESS: datasetnonexists testpool/testfstestclone1
06:55:19.70 SUCCESS: datasetnonexists testpool/testfstestclone2
06:55:19.71 SUCCESS: files_exist /var/tmp/testdir/testfile0 /var/tmp/testdir/testfile1
06:55:19.71 SUCCESS: files_nonexist /var/tmp/testdir/testfile2
06:55:19.75 SUCCESS: umount -f /var/tmp/testdir1
06:55:19.77 SUCCESS: zfs rollback -r testpool/testvol@testsnap1
06:55:19.79 SUCCESS: mount /dev/zvol/testpool/testvol /var/tmp/testdir1
06:55:19.79 SUCCESS: datasetexists testpool/testvol@testsnap
06:55:19.80 SUCCESS: datasetexists testpool/testvol@testsnap1
06:55:19.80 SUCCESS: datasetnonexists testpool/testvol@testsnap2
06:55:19.81 SUCCESS: datasetnonexists testpool/testvoltestclone
06:55:19.81 SUCCESS: datasetnonexists testpool/testvoltestclone1
06:55:19.81 SUCCESS: datasetnonexists testpool/testvoltestclone2
06:55:19.82 SUCCESS: files_exist /var/tmp/testdir1/testfile0 /var/tmp/testdir1/testfile1
06:55:19.82 SUCCESS: files_nonexist /var/tmp/testdir1/testfile2
06:55:19.83 NOTE: Create 3 snapshots and rollback to the 1st snapshot  using -r.
06:55:19.87 SUCCESS: zfs destroy -Rf testpool/testfs
06:55:19.90 SUCCESS: umount -f /var/tmp/testdir1
06:55:19.92 SUCCESS: zfs destroy -Rf testpool/testvol
06:55:19.95 filesystem 'testpool/testfs' is already mounted cannot mount 'testpool/testfs': mountpoint or dataset is busy filesystem successfully created, but not mounted
06:55:19.95 ERROR: zfs create testpool/testfs exited 1
@dinatale2 dinatale2 added the Component: Test Suite Indicates an issue with the test framework or a test case label Jul 27, 2017
@Nasf-Fan Nasf-Fan mentioned this issue Feb 1, 2018
13 tasks
@stale
Copy link

stale bot commented Aug 25, 2020

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.

@stale stale bot added the Status: Stale No recent activity for issue label Aug 25, 2020
@stale stale bot closed this as completed Nov 23, 2020
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 Status: Stale No recent activity for issue
Projects
None yet
Development

No branches or pull requests

1 participant