Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept URI for Sigstore Signed Images #2235

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

wip

7cfeed6
Select commit
Loading
Failed to load commit list.
Open

Accept URI for Sigstore Signed Images #2235

wip
7cfeed6
Select commit
Loading
Failed to load commit list.
Cirrus CI / Test w/ opengpg failed May 30, 2024 in 3m 30s

Task Summary

Instruction main failed in 03:25

Details

✅ 00:04 clone
❌ 03:25 main

ok  	github.com/containers/image/v5/pkg/blobinfocache/boltdb	0.641s	coverage: 83.8% of statements
ok  	github.com/containers/image/v5/pkg/blobinfocache/internal/prioritize	0.008s	coverage: 48.7% of statements
ok  	github.com/containers/image/v5/pkg/blobinfocache/memory	0.012s	coverage: 86.6% of statements
ok  	github.com/containers/image/v5/pkg/blobinfocache/none	0.005s	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	2.604s	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.275s	coverage: 68.7% of statements
ok  	github.com/containers/image/v5/pkg/shortnames	0.051s	coverage: 62.0% of statements
ok  	github.com/containers/image/v5/pkg/strslice	0.005s	coverage: 90.0% of statements
ok  	github.com/containers/image/v5/pkg/sysregistriesv2	0.035s	coverage: 85.5% of statements
ok  	github.com/containers/image/v5/pkg/tlsclientconfig	0.043s	coverage: 89.4% of statements
ok  	github.com/containers/image/v5/sif	0.010s	coverage: 26.0% of statements
?   	github.com/containers/image/v5/signature/signer	[no test files]
--- 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 24 [running]:
testing.tRunner.func1.2({0xb4d700, 0xc0000c5488})
	/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({0xb4d700?, 0xc0000c5488?})
	/usr/lib/go-1.22/src/runtime/panic.go:770 +0x132
github.com/containers/image/v5/signature.(*fulcioTrustRoot).verifyFulcioCertificateAtTime(0xc00017eb48, {0xc00017ff48?, 0x1?, 0x1137e20?}, {0xc0000adc00?, 0x3c9?, 0x3ca?}, {0xc00017ea00, 0x0, 0x0})
	/var/tmp/go/src/github.com/containers/image/signature/fulcio_cert.go:182 +0x9ae
github.com/containers/image/v5/signature.TestFulcioTrustRootVerifyFulcioCertificateAtTime(0xc0003bc9c0)
	/var/tmp/go/src/github.com/containers/image/signature/fulcio_cert_test.go:418 +0x14fa
testing.tRunner(0xc0003bc9c0, 0xbf88b8)
	/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	0.128s
ok  	github.com/containers/image/v5/signature/internal	0.043s	coverage: 98.9% of statements
	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
ok  	github.com/containers/image/v5/signature/sigstore	0.768s	coverage: 54.7% of statements
ok  	github.com/containers/image/v5/signature/simplesigning	0.021s	coverage: 0.0% of statements
ok  	github.com/containers/image/v5/storage	0.036s	coverage: 16.1% of statements
ok  	github.com/containers/image/v5/tarball	0.007s	coverage: 2.3% of statements [no tests to run]
ok  	github.com/containers/image/v5/transports	0.007s	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.011s	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