Skip to content

Test failure against 1.7.0-rc.1 release #8200

@utkarsh2102

Description

@utkarsh2102

Description

Hi @dmcgowan,

Thanks for your work on containerd. Whilst running tests against the 1.7.0-rc.1 release, I noticed there's a test failing:

time="2023-03-03T10:05:27Z" level=warning msg="Invalid SOURCE_DATE_EPOCH" error="invalid SOURCE_DATE_EPOCH value \"foo\": strconv.ParseInt: parsing \"foo\": invalid syntax"
--- FAIL: TestSourceDateEpoch (0.00s)
    epoch_test.go:38: SOURCE_DATE_EPOCH is already set to "1677837270", unsetting
    --- FAIL: TestSourceDateEpoch/WithoutSourceDateEpoch (0.00s)
        epoch_test.go:44: 
            	Error Trace:	/<<PKGBUILDDIR>>/.gopath/src/github.com/containerd/containerd/pkg/epoch/epoch_test.go:44
            	Error:      	Received unexpected error:
            	            	invalid SOURCE_DATE_EPOCH value "": strconv.ParseInt: parsing "": invalid syntax
            	Test:       	TestSourceDateEpoch/WithoutSourceDateEpoch
FAIL
FAIL	github.com/containerd/containerd/pkg/epoch	0.032s

Any idea why is it failing? And how can we fix that? TIA.

Describe the results you received and expected

All the tests passing. :)

What version of containerd are you using?

1.7.0-rc.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions