Skip to content

Instantly share code, notes, and snippets.

@rfjakob
Created October 19, 2015 21:08
Show Gist options
  • Save rfjakob/3955b67502299894a66a to your computer and use it in GitHub Desktop.
Save rfjakob/3955b67502299894a66a to your computer and use it in GitHub Desktop.
go test ./...
~/src/github.com/hanwen/go-fuse$ go test ./...
ok github.com/hanwen/go-fuse/benchmark 0.025s
? github.com/hanwen/go-fuse/example/autounionfs [no test files]
? github.com/hanwen/go-fuse/example/hello [no test files]
? github.com/hanwen/go-fuse/example/loopback [no test files]
? github.com/hanwen/go-fuse/example/memfs [no test files]
? github.com/hanwen/go-fuse/example/multizip [no test files]
? github.com/hanwen/go-fuse/example/statfs [no test files]
? github.com/hanwen/go-fuse/example/unionfs [no test files]
? github.com/hanwen/go-fuse/example/zipfs [no test files]
ok github.com/hanwen/go-fuse/fuse 0.002s
ok github.com/hanwen/go-fuse/fuse/nodefs 0.088s
ok github.com/hanwen/go-fuse/fuse/pathfs 0.118s
ok github.com/hanwen/go-fuse/fuse/test 1.790s
ok github.com/hanwen/go-fuse/splice 0.009s
2015/10/19 23:07:39 Inode = "status/debug_setting" (autoUnionFs(/tmp/027895122/store))
2015/10/19 23:07:39 Inode = "status/debug_setting" (autoUnionFs(/tmp/027895122/store))
2015/10/19 23:07:39 Serialize: SYMLINK code: OK value:
2015/10/19 23:07:39 Dispatch: READLINK, NodeId: 4.
2015/10/19 23:07:39 Inode = "status/debug_setting" (autoUnionFs(/tmp/027895122/store))
2015/10/19 23:07:39 Serialize: READLINK code: OK value: "1"
2015/10/19 23:07:39 Dispatch: FORGET, NodeId: 4. data: {1}
2015/10/19 23:07:39 Dispatch: FORGET, NodeId: 3. data: {1}
2015/10/19 23:07:39 Dispatch: FORGET, NodeId: 1. data: {1}
2015/10/19 23:07:39 Found version: version
2015/10/19 23:07:39 Adding workspace manual1 for roots UnionFs([LoopbackFs(/tmp/247315875/store/backing1) cachingFileSystem(LoopbackFs(/tmp/247315875/store/backing1/READONLY))])
2015/10/19 23:07:39 Looking for new filesystems
2015/10/19 23:07:39 Adding workspace backing1 for roots UnionFs([LoopbackFs(/tmp/247315875/store/backing1) cachingFileSystem(LoopbackFs(/tmp/247315875/store/backing1/READONLY))])
2015/10/19 23:07:39 Done looking
2015/10/19 23:07:39 Looking for new filesystems
2015/10/19 23:07:39 Adding workspace backing1 for roots UnionFs([LoopbackFs(/tmp/279852198/store/backing1) cachingFileSystem(LoopbackFs(/tmp/279852198/store/backing1/READONLY))])
2015/10/19 23:07:39 Done looking
2015/10/19 23:07:39 Looking for new filesystems
2015/10/19 23:07:39 Adding workspace backing1 for roots UnionFs([LoopbackFs(/tmp/099791821/store/backing1) cachingFileSystem(LoopbackFs(/tmp/099791821/store/backing1/READONLY))])
2015/10/19 23:07:39 Done looking
--- FAIL: TestExplicitScan (0.02s)
autounion_test.go:218: Should have workspace backing1: lstat /tmp/099791821/mnt/backing1: no such file or directory
2015/10/19 23:07:39 Adding workspace bar for roots UnionFs([LoopbackFs(/tmp/803582664/store/foo) cachingFileSystem(LoopbackFs(/tmp/803582664/store/foo/READONLY))])
2015/10/19 23:07:39 Already have a union FS for directory /tmp/803582664/store/foo in workspace bar
2015/10/19 23:07:39 Illegal name "config" for overlay: [/tmp/803582664/store/ws2 /tmp/803582664/store/ws2/READONLY]
2015/10/19 23:07:41 Command: /usr/bin/rm -f /tmp/unionfs839797813/mnt/dir
2015/10/19 23:07:41 Contents of /tmp/unionfs839797813/mnt/dir: subdir
2015/10/19 23:07:41 Forced cache drop on UnionFs([LoopbackFs(/tmp/unionfs311629328/rw) cachingFileSystem(LoopbackFs(/tmp/unionfs311629328/ro))])
2015/10/19 23:07:41 Dropping cache for cachingFileSystem(LoopbackFs(/tmp/unionfs311629328/ro))
--- FAIL: TestUnionFsDropDeletionCache (0.08s)
unionfs_test.go:1039: Lstat() should have succeeded lstat /tmp/unionfs311629328/mnt/file: no such file or directory
2015/10/19 23:07:41 Forced cache drop on UnionFs([LoopbackFs(/tmp/unionfs944388143/rw) cachingFileSystem(LoopbackFs(/tmp/unionfs944388143/ro))])
2015/10/19 23:07:41 Dropping cache for cachingFileSystem(LoopbackFs(/tmp/unionfs944388143/ro))
2015/10/19 23:07:41 TestUnionFsDisappearing2
2015/10/19 23:07:41 getattr: .Trash-1026: Got error 20=not a directory from branch 0
2015/10/19 23:07:41 newDirnameMap(LoopbackFs(/dev/null)): DELETIONS 20=not a directory
2015/10/19 23:07:41 expected readdir failure: open /tmp/657295298/mnt: read-only file system
2015/10/19 23:07:41 error accessing deletion marker: DELETIONS/d41d8cd98f00b204-file2
2015/10/19 23:07:41 expected write failure: open /tmp/657295298/mnt/file2: read-only file system
2015/10/19 23:07:41 Found linked inode, but Nlink == 1 file
FAIL
FAIL github.com/hanwen/go-fuse/unionfs 2.437s
ok github.com/hanwen/go-fuse/zipfs 0.104s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment