Thanks for this bug report.

Your snippet above unfortunately skips the actual error that is happening.
Here is the relevant error:

=== RUN   TestDefaultCache
time="2019-12-28T16:50:03Z" level=error
msg="/tmp/TestDefaultCache173385111/unwritable:
&os.fileStat{name:\"unwritable\", size:4096, mode:0x80000140,
modTime:time.Time{wall:0xac045b5, ext:63713148603, loc:(*tim\
e.Location)(0x9f64a0)}, sys:syscall.Stat_t{Dev:0x40, Ino:0x7e664e,
Nlink:0x2, Mode:0x4140, Uid:0x0, Gid:0x0, X__pad0:0, Rdev:0x0, Size:4096,
Blksize:4096, Blocks:8, Atim:syscall.Timespec{Sec:1577551803, Nsec:18\
0372917}, Mtim:syscall.Timespec{Sec:1577551803, Nsec:180372917},
Ctim:syscall.Timespec{Sec:1577551803, Nsec:180372917},
X__unused:[3]int64{0, 0, 0}}}"
--- FAIL: TestDefaultCache (0.00s)
    default_test.go:151:
                Error Trace:    default_test.go:151
                Error:          Object expected to be of type
*memory.cache, but was *boltdb.cache
                Test:           TestDefaultCache
    default_test.go:163:
                Error Trace:    default_test.go:163
                Error:          Object expected to be of type
*memory.cache, but was *boltdb.cache
                Test:           TestDefaultCache
FAIL
FAIL    github.com/containers/image/pkg/blobinfocache   0.004s


I believe this is because of an outdated version of the
https://tracker.debian.org/pkg/golang-github-coreos-bbolt package, at least
upstream explicitly references version 1.3.3. I've filed #947617 for this.


-- 
regards,
    Reinhard

Reply via email to