Skip to content

Instantly share code, notes, and snippets.

@adg
Created February 27, 2017 03:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adg/5fd928cacbc9c3e0249aa4ddc4d96aed to your computer and use it in GitHub Desktop.
Save adg/5fd928cacbc9c3e0249aa4ddc4d96aed to your computer and use it in GitHub Desktop.
$ go test -short ./...
ok upspin.io/access 0.088s
ok upspin.io/bind 0.724s
ok upspin.io/cache 0.025s
ok upspin.io/client 2.011s
ok upspin.io/client/clientutil 0.162s
ok upspin.io/client/file 0.055s
? upspin.io/cloud/https [no test files]
? upspin.io/cloud/log [no test files]
? upspin.io/cloud/mail [no test files]
ok upspin.io/cloud/mail/sendgrid 0.804s
ok upspin.io/cloud/storage 0.558s
? upspin.io/cloud/storage/disk [no test files]
ok upspin.io/cloud/storage/gcs 0.238s
? upspin.io/cloud/storage/storagetest [no test files]
? upspin.io/cmd/cacheserver [no test files]
? upspin.io/cmd/cacheserver/cacheutil [no test files]
? upspin.io/cmd/dirserver [no test files]
ok upspin.io/cmd/frontend 0.092s
? upspin.io/cmd/keyserver [no test files]
? upspin.io/cmd/storeserver [no test files]
ok upspin.io/cmd/upspin 0.469s
? upspin.io/cmd/upspin-deploy [no test files]
ok upspin.io/cmd/upspinfs 2.715s
? upspin.io/cmd/upspinfs/internal/ose [no test files]
? upspin.io/cmd/upspinserver [no test files]
ok upspin.io/config 0.153s
ok upspin.io/dir/dircache 0.658s
ok upspin.io/dir/inprocess 1.946s
? upspin.io/dir/remote [no test files]
--- FAIL: TestMakeRoot (0.00s)
all_test.go:1014: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestMakeRootNoSlash (0.00s)
all_test.go:1014: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestPut (0.00s)
all_test.go:1014: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestMakeDirectory (0.00s)
all_test.go:1014: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestLink (0.00s)
all_test.go:1014: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestWhichAccess (0.00s)
all_test.go:1014: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestHasRight (0.00s)
all_test.go:1014: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestGlobDoesNotRemoveRoot (0.00s)
all_test.go:1014: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestGlobMultiSlashPattern (0.00s)
all_test.go:1014: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestGlob (0.00s)
all_test.go:1014: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestDelete (0.00s)
all_test.go:1014: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestForgetsRemoteGroupFiles (0.00s)
all_test.go:1014: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestClose (0.00s)
all_test.go:1014: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestCantProbeForExistence (0.00s)
all_test.go:1014: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestPermissionDenied (0.00s)
all_test.go:1014: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestOverwriteFileWithWrongSequence (0.00s)
all_test.go:1014: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestPutBadAccess (0.00s)
all_test.go:1014: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestPutBadGroup (0.00s)
all_test.go:1014: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestSnapshot (0.00s)
panic: interface conversion: upspin.DirServer is nil, not *server.server [recovered]
panic: interface conversion: upspin.DirServer is nil, not *server.server
goroutine 53 [running]:
testing.tRunner.func1(0xc42001b450)
/Users/adg/go/src/testing/testing.go:624 +0x264
panic(0x14c3a00, 0xc420240d00)
/Users/adg/go/src/runtime/panic.go:489 +0x25a
upspin.io/dir/server.TestSnapshot(0xc42001b450)
/Users/adg/src/upspin.io/dir/server/snapshot_test.go:35 +0x1169
testing.tRunner(0xc42001b450, 0x156e0b8)
/Users/adg/go/src/testing/testing.go:659 +0x98
created by testing.(*T).Run
/Users/adg/go/src/testing/testing.go:701 +0x2da
FAIL upspin.io/dir/server 0.794s
--- FAIL: TestPutNodes (0.00s)
all_test.go:1094: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestAddKidToEmptyNonDirtyDir (0.00s)
all_test.go:1094: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestPutEmptyRoot (0.00s)
all_test.go:1094: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestRebuildFromLog (0.00s)
all_test.go:1094: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestPutLargeNode (0.00s)
all_test.go:1094: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestLinks (0.00s)
all_test.go:1094: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestList (0.00s)
all_test.go:1094: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestPutDirSameTreeNonRoot (0.00s)
all_test.go:1094: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestPutDirSameTreeRoot (0.00s)
all_test.go:1094: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestPutDirOtherTreeRoot (0.00s)
all_test.go:1094: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestFlushNewTree (0.00s)
all_test.go:1094: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestCorruptTreeAndRecover (0.00s)
all_test.go:1094: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestWatchFromBeginning (0.00s)
all_test.go:1094: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestWatchFromMiddle (0.00s)
all_test.go:1094: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestWatchFromCurrent (0.00s)
all_test.go:1094: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
--- FAIL: TestWatchNonExistingNode (0.00s)
all_test.go:1094: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
FAIL
FAIL upspin.io/dir/server/tree 0.225s
? upspin.io/dir/unassigned [no test files]
ok upspin.io/errors 2.904s
? upspin.io/exp/client/gobind [no test files]
? upspin.io/exp/cmd/upbox [no test files]
? upspin.io/exp/dir/filesystem [no test files]
? upspin.io/exp/store/filesystem [no test files]
ok upspin.io/factotum 0.043s
? upspin.io/flags [no test files]
ok upspin.io/key/inprocess 0.183s
ok upspin.io/key/proquint 0.050s
? upspin.io/key/remote [no test files]
ok upspin.io/key/server 0.106s
ok upspin.io/key/sha256key 0.051s
? upspin.io/key/transports [no test files]
? upspin.io/key/unassigned [no test files]
--- FAIL: TestDial (0.00s)
cache_test.go:76: factotum.NewFromDir: item does not exist:
factotum.NewFromDir: open /Users/adg/src/upspin.io/key/testdata/upspin-test/secret.upspinkey: no such file or directory
FAIL
FAIL upspin.io/key/usercache 0.195s
ok upspin.io/log 0.032s
ok upspin.io/metric 0.194s
? upspin.io/pack [no test files]
ok upspin.io/pack/ee 1.892s
ok upspin.io/pack/eeintegrity 0.772s
? upspin.io/pack/internal [no test files]
? upspin.io/pack/internal/packtest [no test files]
? upspin.io/pack/packutil [no test files]
ok upspin.io/pack/plain 0.527s
ok upspin.io/path 0.041s
ok upspin.io/rpc 0.441s
? upspin.io/rpc/dirserver [no test files]
? upspin.io/rpc/keyserver [no test files]
? upspin.io/rpc/storeserver [no test files]
ok upspin.io/serverutil 1.318s
ok upspin.io/serverutil/perm 2.514s
? upspin.io/store/inprocess [no test files]
? upspin.io/store/remote [no test files]
ok upspin.io/store/server 0.073s
? upspin.io/store/storecache [no test files]
? upspin.io/store/transports [no test files]
? upspin.io/store/unassigned [no test files]
plain
eeintegrity
ee
2017/02/27 03:55:19.117499 Created root: test@upspin.io/
2017/02/27 03:55:19.121500 Created root: test-friend@upspin.io/
2017/02/27 03:55:19.122988 Created root: joe@middleman.com/
2017/02/27 03:55:33.373712 Created root: test@upspin.io/
2017/02/27 03:55:33.476385 Created root: test-friend@upspin.io/
2017/02/27 03:55:33.476933 Deleting root "test-friend@upspin.io/"
2017/02/27 03:55:33.478165 Created root: test-friend@upspin.io/
2017/02/27 03:55:33.478646 Deleting root "test-friend@upspin.io/"
2017/02/27 03:55:34.509309 watch: sending error to client: dir/server/tree.sendEventFromLog: invalid operation: cannot read log at order 777: dir/server/tree.LogEntry.unmarshal: I/O error: Unmarshal buffer too short
2017/02/27 03:55:34.509361 watch: sending error to client: dir/server/tree.sendEventFromLog: invalid operation: cannot read log at order 777: dir/server/tree.LogEntry.unmarshal: I/O error: Unmarshal buffer too short
2017/02/27 03:55:35.533351 Created root: test+snapshot@upspin.io/
2017/02/27 03:55:35.538212 dir/server: Snapshotted "test@upspin.io/" into "test+snapshot@upspin.io/2017/02/27/03:55"
2017/02/27 03:55:35.626736 Created root: test@upspin.io/
2017/02/27 03:55:35.727118 Created root: test-friend@upspin.io/
2017/02/27 03:55:35.727694 Deleting root "test-friend@upspin.io/"
2017/02/27 03:55:35.728792 Created root: test-friend@upspin.io/
2017/02/27 03:55:35.729300 Deleting root "test-friend@upspin.io/"
2017/02/27 03:55:36.752943 watch: sending error to client: dir/server/tree.sendEventFromLog: invalid operation: cannot read log at order 777: dir/server/tree.LogEntry.unmarshal: I/O error: Unmarshal buffer too short
2017/02/27 03:55:36.752998 watch: sending error to client: dir/server/tree.sendEventFromLog: invalid operation: cannot read log at order 777: dir/server/tree.LogEntry.unmarshal: I/O error: Unmarshal buffer too short
2017/02/27 03:55:37.778401 Created root: test+snapshot@upspin.io/
2017/02/27 03:55:37.784587 dir/server: Snapshotted "test@upspin.io/" into "test+snapshot@upspin.io/2017/02/27/03:55"
2017/02/27 03:55:37.865714 Created root: test@upspin.io/
2017/02/27 03:55:37.988908 Created root: test-friend@upspin.io/
2017/02/27 03:55:37.989515 Deleting root "test-friend@upspin.io/"
2017/02/27 03:55:37.990554 Created root: test-friend@upspin.io/
2017/02/27 03:55:37.991092 Deleting root "test-friend@upspin.io/"
2017/02/27 03:55:39.019194 watch: sending error to client: dir/server/tree.sendEventFromLog: invalid operation: cannot read log at order 777: dir/server/tree.LogEntry.unmarshal: I/O error: Unmarshal buffer too short
2017/02/27 03:55:39.019230 watch: sending error to client: dir/server/tree.sendEventFromLog: invalid operation: cannot read log at order 777: dir/server/tree.LogEntry.unmarshal: I/O error: Unmarshal buffer too short
2017/02/27 03:55:40.041835 Created root: test+snapshot@upspin.io/
2017/02/27 03:55:40.047300 dir/server: Snapshotted "test@upspin.io/" into "test+snapshot@upspin.io/2017/02/27/03:55"
--- FAIL: TestIntegration (21.00s)
--- FAIL: TestIntegration/kind=inprocess (14.24s)
--- FAIL: TestIntegration/kind=inprocess/packing=plain (5.04s)
--- FAIL: TestIntegration/kind=inprocess/packing=plain/ReadAccess (0.08s)
access_test.go:262: access_test.go:260: test@upspin.io/public/public.txt: dir/inprocess.WhichAccess: information withheld
--- FAIL: TestIntegration/kind=inprocess/packing=plain/GroupAccess (0.00s)
access_test.go:444: access_test.go:438: client.MakeDirectory: item already exists:
test@upspin.io/Group: dir/inprocess.Put
--- FAIL: TestIntegration/kind=inprocess/packing=eeintegrity (4.61s)
--- FAIL: TestIntegration/kind=inprocess/packing=eeintegrity/ReadAccess (0.07s)
access_test.go:262: access_test.go:260: test@upspin.io/public/public.txt: dir/inprocess.WhichAccess: information withheld
--- FAIL: TestIntegration/kind=inprocess/packing=eeintegrity/GroupAccess (0.00s)
access_test.go:444: access_test.go:438: client.MakeDirectory: item already exists:
test@upspin.io/Group: dir/inprocess.Put
--- FAIL: TestIntegration/kind=inprocess/packing=ee (4.59s)
--- FAIL: TestIntegration/kind=inprocess/packing=ee/ReadAccess (0.06s)
access_test.go:262: access_test.go:260: test@upspin.io/public/public.txt: dir/inprocess.WhichAccess: information withheld
--- FAIL: TestIntegration/kind=inprocess/packing=ee/GroupAccess (0.00s)
access_test.go:444: access_test.go:438: client.MakeDirectory: item already exists:
test@upspin.io/Group: dir/inprocess.Put
--- FAIL: TestIntegration/kind=server (6.76s)
--- FAIL: TestIntegration/kind=server/packing=plain (2.25s)
--- FAIL: TestIntegration/kind=server/packing=plain/ReadAccess (0.01s)
access_test.go:262: access_test.go:260: test@upspin.io/public/public.txt: dir/server.WhichAccess: information withheld
--- FAIL: TestIntegration/kind=server/packing=plain/GroupAccess (0.00s)
access_test.go:444: access_test.go:438: client.MakeDirectory: item already exists:
test@upspin.io/Group: dir/server.Put: can't overwrite directory
--- FAIL: TestIntegration/kind=server/packing=plain/Snapshot (0.01s)
snapshot_test.go:86: snapshot_test.go:84: test+snapshot@upspin.io/2017/02/27/snapshot-test/dir/file: client.Get: item does not exist:
client.Get:
dir/server/tree.Lookup:
test+snapshot@upspin.io/2017/02/27/snapshot-test
--- FAIL: TestIntegration/kind=server/packing=eeintegrity (2.24s)
--- FAIL: TestIntegration/kind=server/packing=eeintegrity/ReadAccess (0.01s)
access_test.go:262: access_test.go:260: test@upspin.io/public/public.txt: dir/server.WhichAccess: information withheld
--- FAIL: TestIntegration/kind=server/packing=eeintegrity/GroupAccess (0.00s)
access_test.go:444: access_test.go:438: client.MakeDirectory: item already exists:
test@upspin.io/Group: dir/server.Put: can't overwrite directory
--- FAIL: TestIntegration/kind=server/packing=eeintegrity/Snapshot (0.01s)
snapshot_test.go:86: snapshot_test.go:84: test+snapshot@upspin.io/2017/02/27/snapshot-test/dir/file: client.Get: item does not exist:
client.Get:
dir/server/tree.Lookup:
test+snapshot@upspin.io/2017/02/27/snapshot-test
--- FAIL: TestIntegration/kind=server/packing=ee (2.27s)
--- FAIL: TestIntegration/kind=server/packing=ee/ReadAccess (0.02s)
access_test.go:262: access_test.go:260: test@upspin.io/public/public.txt: dir/server.WhichAccess: information withheld
--- FAIL: TestIntegration/kind=server/packing=ee/GroupAccess (0.00s)
access_test.go:444: access_test.go:438: client.MakeDirectory: item already exists:
test@upspin.io/Group: dir/server.Put: can't overwrite directory
--- FAIL: TestIntegration/kind=server/packing=ee/Snapshot (0.01s)
snapshot_test.go:86: snapshot_test.go:84: test+snapshot@upspin.io/2017/02/27/snapshot-test/dir/file: client.Get: item does not exist:
client.Get:
dir/server/tree.Lookup:
test+snapshot@upspin.io/2017/02/27/snapshot-test
FAIL
FAIL upspin.io/test 21.199s
? upspin.io/test/servermux [no test files]
? upspin.io/test/testenv [no test files]
? upspin.io/test/testfixtures [no test files]
? upspin.io/test/testutil [no test files]
? upspin.io/transports [no test files]
ok upspin.io/upspin 0.037s
? upspin.io/upspin/proto [no test files]
ok upspin.io/user 0.040s
ok upspin.io/valid 0.034s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment