Details
-
Task
-
Resolution: Fixed
-
Minor
-
None
-
1
Description
go test -timeout 30s -run ^TestLogReadEOFWithMMap$ github.com/couchbase/plasmaInitializing write barrier = 8000
— FAIL: TestLogReadEOFWithMMap (0.03s)
panic: interface conversion: env.File is *env.StableFile, not *os.File [recovered]
panic: interface conversion: env.File is *env.StableFile, not *os.Filegoroutine 24 [running]:
testing.tRunner.func1(0xc0000de200)
/Users/saptarshisen/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/testing/testing.go:874 +0x3a3
panic(0x445cf60, 0xc00009b110)
/Users/saptarshisen/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/runtime/panic.go:679 +0x1b2
github.com/couchbase/plasma/env.StableEnvironment.MapRegion(0x45cb0c0, 0xc00009e098, 0x100000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/saptarshisen/ws/couchbase_svr/goproj/src/github.com/couchbase/plasma/env/env_stable.go:41 +0x18f
github.com/couchbase/plasma.newLogFile(0xc000110100, 0x35, 0x100000, 0x2, 0xc000058c01, 0x45c1240, 0x48b7390, 0x1, 0x0, 0x0)
/Users/saptarshisen/ws/couchbase_svr/goproj/src/github.com/couchbase/plasma/log.go:179 +0x154
github.com/couchbase/plasma.(*multiFilelog).initIndex(0xc000129300, 0xc000129300, 0xc00012f000)
/Users/saptarshisen/ws/couchbase_svr/goproj/src/github.com/couchbase/plasma/log.go:219 +0x1a5
github.com/couchbase/plasma.newLog(0xc0000ee1e0, 0x1d, 0x100000, 0x1001, 0x2, 0x0, 0x45c1240, 0x48b7390, 0x45c8e40, 0xc000128000, ...)
/Users/saptarshisen/ws/couchbase_svr/goproj/src/github.com/couchbase/plasma/log.go:147 +0x2d1
github.com/couchbase/plasma.testLogReadEOFWithMMap(0xc0000de200, 0xc0000ee1e0, 0x1d)
/Users/saptarshisen/ws/couchbase_svr/goproj/src/github.com/couchbase/plasma/log_test.go:306 +0x251
github.com/couchbase/plasma.runSimpleTest(0xc0000de200, 0x44fba38, 0x18, 0x45192f0, 0x8d4447f990101)
/Users/saptarshisen/ws/couchbase_svr/goproj/src/github.com/couchbase/plasma/testing.go:416 +0x1c2
github.com/couchbase/plasma.TestLogReadEOFWithMMap(0xc0000de200)
/Users/saptarshisen/ws/couchbase_svr/goproj/src/github.com/couchbase/plasma/log_test.go:340 +0x53
testing.tRunner(0xc0000de200, 0x4518aa8)
/Users/saptarshisen/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/testing/testing.go:909 +0xc9
created by testing.(*T).Run
/Users/saptarshisen/.cbdepscache/exploded/x86_64/go-1.13.7/go/src/testing/testing.go:960 +0x350
FAIL github.com/couchbase/plasma 0.388s
FAIL