Skip to content

Flaky test: TestTransferEcho with rpc error: code = NotFound desc = not found #7884

@fangn2

Description

@fangn2

Description

Recently, frequent random integration test failures(16 out of 25 latest builds on main) on TestTransferEcho were seen, 1, 2, 3, 4 with error message:

=== Failed
=== FAIL: . TestTransferEcho/ImportExportEchoEmpty (0.00s)
    transfer_test.go:50: rpc error: code = NotFound desc = not found
    --- FAIL: TestTransferEcho/ImportExportEchoEmpty (0.00s)

=== FAIL: . TestTransferEcho (0.02s)
    log_hook.go:47: time="[20](https://github.com/containerd/containerd/actions/runs/3805706872/jobs/6473913819#step:15:21)[22](https://github.com/containerd/containerd/actions/runs/3805706872/jobs/6473913819#step:15:23)-12-30T08:43:20.255088253Z" level=error msg="error copying stream" func="archive.(*ImageExportStream).MarshalAny.func1" file="/home/runner/work/containerd/containerd/pkg/transfer/archive/exporter.go:65" error="received failed: context canceled" streamid=export-253768[23](https://github.com/containerd/containerd/actions/runs/3805706872/jobs/6473913819#step:15:24)9-Egiq

Steps to reproduce the issue

Random.
Trigger serval builds, wait and see.
Or check the latest failed runs on main branch.

Describe the results you received and expected

Random failures on integration test TestTransferEcho were seen after merge into main who previously passed the build.

I expect reliable and consistent test results.

What version of containerd are you using?

HEAD of main

Any other relevant information

No response

Show configuration if it is related to CRI plugin.

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions