Accept URI for Sigstore Signed Images #2235
Open
Cirrus CI / Test
failed
May 30, 2024 in 3m 21s
Task Summary
Instruction main failed in 03:16
Details
✅ 00:03 clone
❌ 03:16 main
ok github.com/containers/image/v5/pkg/blobinfocache/boltdb 0.489s coverage: 83.8% of statements
ok github.com/containers/image/v5/pkg/blobinfocache/internal/prioritize 0.007s coverage: 48.7% of statements
ok github.com/containers/image/v5/pkg/blobinfocache/memory 0.016s coverage: 86.6% of statements
ok github.com/containers/image/v5/pkg/blobinfocache/none 0.006s coverage: 8.3% of statements [no tests to run]
github.com/containers/image/v5/pkg/cli coverage: 0.0% of statements
github.com/containers/image/v5/pkg/cli/environment coverage: 0.0% of statements
ok github.com/containers/image/v5/pkg/blobinfocache/sqlite 1.962s coverage: 80.3% of statements
github.com/containers/image/v5/pkg/cli/sigstore coverage: 0.0% of statements
github.com/containers/image/v5/pkg/cli/sigstore/params coverage: 0.0% of statements
github.com/containers/image/v5/pkg/compression/internal coverage: 0.0% of statements
? github.com/containers/image/v5/pkg/compression/types [no test files]
ok github.com/containers/image/v5/pkg/compression 0.022s coverage: 67.1% of statements
ok github.com/containers/image/v5/pkg/docker/config 0.215s coverage: 68.7% of statements
ok github.com/containers/image/v5/pkg/shortnames 0.044s coverage: 62.0% of statements
ok github.com/containers/image/v5/pkg/strslice 0.003s coverage: 90.0% of statements
ok github.com/containers/image/v5/pkg/sysregistriesv2 0.033s coverage: 85.5% of statements
ok github.com/containers/image/v5/pkg/tlsclientconfig 0.037s coverage: 89.4% of statements
ok github.com/containers/image/v5/sif 0.011s coverage: 26.0% of statements
? github.com/containers/image/v5/signature/signer [no test files]
github.com/containers/image/v5/signature/sigstore/fulcio coverage: 0.0% of statements
github.com/containers/image/v5/signature/sigstore/internal coverage: 0.0% of statements
github.com/containers/image/v5/signature/sigstore/rekor coverage: 0.0% of statements
--- FAIL: TestFulcioTrustRootVerifyFulcioCertificateAtTime (0.01s)
panic: runtime error: index out of range [0] with length 0 [recovered]
panic: runtime error: index out of range [0] with length 0
goroutine 23 [running]:
testing.tRunner.func1.2({0xb60580, 0xc00003ac60})
/usr/lib/go-1.22/src/testing/testing.go:1631 +0x24a
testing.tRunner.func1()
/usr/lib/go-1.22/src/testing/testing.go:1634 +0x377
panic({0xb60580?, 0xc00003ac60?})
/usr/lib/go-1.22/src/runtime/panic.go:770 +0x132
github.com/containers/image/v5/signature.(*fulcioTrustRoot).verifyFulcioCertificateAtTime(0xc00001cb48, {0xc00001df48?, 0x1?, 0x115c180?}, {0xc0004f4c00?, 0x3c9?, 0x3ca?}, {0xc00001ca00, 0x0, 0x0})
/var/tmp/go/src/github.com/containers/image/signature/fulcio_cert.go:182 +0x9ae
github.com/containers/image/v5/signature.TestFulcioTrustRootVerifyFulcioCertificateAtTime(0xc000128000)
/var/tmp/go/src/github.com/containers/image/signature/fulcio_cert_test.go:418 +0x14fa
testing.tRunner(0xc000128000, 0xc0cce0)
/usr/lib/go-1.22/src/testing/testing.go:1689 +0xfb
created by testing.(*T).Run in goroutine 1
/usr/lib/go-1.22/src/testing/testing.go:1742 +0x390
FAIL github.com/containers/image/v5/signature 3.107s
ok github.com/containers/image/v5/signature/internal 0.040s coverage: 98.9% of statements
ok github.com/containers/image/v5/signature/sigstore 0.816s coverage: 54.7% of statements
ok github.com/containers/image/v5/signature/simplesigning 2.474s coverage: 49.3% of statements
ok github.com/containers/image/v5/storage 0.030s coverage: 16.1% of statements
ok github.com/containers/image/v5/tarball 0.006s coverage: 2.3% of statements [no tests to run]
ok github.com/containers/image/v5/transports 0.006s coverage: 11.4% of statements
github.com/containers/image/v5/types coverage: 0.0% of statements
? github.com/containers/image/v5/version [no test files]
ok github.com/containers/image/v5/transports/alltransports 0.010s coverage: 15.4% of statements
FAIL
make: Leaving directory '/var/tmp/go/src/github.com/containers/image'
make: *** [Makefile:81: test] Error 1
Exit status: 2
Loading