Skip to content

error: losetup: /dev/loopN: detach failed: No such device or address #327

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

Closed
kzys opened this issue Nov 12, 2019 · 2 comments
Closed

error: losetup: /dev/loopN: detach failed: No such device or address #327

kzys opened this issue Nov 12, 2019 · 2 comments

Comments

@kzys
Copy link
Contributor

kzys commented Nov 12, 2019

TestSnapshotterSuite was sometimes failed with the following message;

    --- FAIL: TestSnapshotterSuite/StatComitted (11.74s)

        log_hook.go:40: time="2019-11-12T00:29:06.306176187Z" level=info msg="creating naive snapshotter" root=/tmp/snapshot-suite-Snapshotter-658870413/root

        log_hook.go:40: time="2019-11-12T00:29:06.308447613Z" level=debug msg=prepare key=/tmp/snapshot-suite-Snapshotter-658870413/work/preparing parent=

        log_hook.go:40: time="2019-11-12T00:29:06.321979643Z" level=info msg="creating new image of size 1024 MB" image=/tmp/snapshot-suite-Snapshotter-658870413/root/images/1

        log_hook.go:40: time="2019-11-12T00:29:06.322512247Z" level=info msg="building file system" image=/tmp/snapshot-suite-Snapshotter-658870413/root/images/1

        log_hook.go:40: time="2019-11-12T00:29:10.946255850Z" level=debug msg=commit key=/tmp/snapshot-suite-Snapshotter-658870413/work/preparing name=/tmp/snapshot-suite-Snapshotter-658870413/work/committed

        log_hook.go:40: time="2019-11-12T00:29:15.152856934Z" level=debug msg=stat key=/tmp/snapshot-suite-Snapshotter-658870413/work/committed

        helpers_unix.go:32: unmount /tmp/snapshot-suite-Snapshotter-658870413/work/preparing

        testsuite.go:101: Cleanup failed: losetup --detach /dev/loop21

            error: losetup: /dev/loop21: detach failed: No such device or address

            

            : exit status 1

(from https://buildkite.com/firecracker-microvm/firecracker-containerd/builds/1081#e48d3a88-587a-4b40-843e-1801b96e9ed5/1288-1312)

@kzys
Copy link
Contributor Author

kzys commented Nov 15, 2019

@kzys
Copy link
Contributor Author

kzys commented Nov 30, 2019

We have removed snapshotters from our repos (#344), including this test.

@kzys kzys closed this as completed Nov 30, 2019
fangn2 pushed a commit to fangn2/firecracker-containerd that referenced this issue Mar 23, 2023
…ependabot/go_modules/github.com/go-openapi/swag-0.19.14

Bump github.com/go-openapi/swag from 0.19.11 to 0.19.14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant