Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Downloader: add tests to protect from re-downloading #5408

Downloader: add tests to protect from re-downloading

Downloader: add tests to protect from re-downloading #5408

Triggered via pull request September 14, 2023 05:42
Status Failure
Total duration 1m 31s
Artifacts

ci.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 1 warning
tests (ubuntu-20.04)
Cannot open: File exists
tests (ubuntu-20.04)
Cannot open: File exists
tests (ubuntu-20.04)
Cannot open: File exists
tests (ubuntu-20.04)
Cannot open: File exists
tests (ubuntu-20.04)
Cannot open: File exists
tests (ubuntu-20.04)
Cannot open: File exists
tests (ubuntu-20.04)
Cannot open: File exists
tests (ubuntu-20.04)
Cannot open: File exists
tests (ubuntu-20.04)
Cannot open: File exists
tests (ubuntu-20.04)
Cannot open: File exists
tests (windows-2022)
The job was canceled because "ubuntu-20_04" failed.
tests (windows-2022)
The operation was canceled.
tests (macos-11)
The job was canceled because "ubuntu-20_04" failed.
tests (macos-11): downloader/downloader_test.go#L43
cannot use BuildTorrentIfNeed(ctx, "a.seg", dirs.Snap) (value of type string) as type error in argument to require.NoError:
tests (macos-11): downloader/downloader_test.go#L44
cannot use BuildTorrentIfNeed(ctx, "b/a.seg", dirs.Snap) (value of type string) as type error in argument to require.NoError:
tests (macos-11): downloader/downloader_test.go#L45
cannot use BuildTorrentIfNeed(ctx, filepath.Join(dirs.Snap, "a.seg"), dirs.Snap) (value of type string) as type error in argument to require.NoError:
tests (macos-11): downloader/downloader_test.go#L46
cannot use BuildTorrentIfNeed(ctx, filepath.Join(dirs.Snap, "b", "a.seg"), dirs.Snap) (value of type string) as type error in argument to require.NoError:
tests (macos-11): downloader/downloader_test.go#L49
cannot use BuildTorrentIfNeed(ctx, filepath.Join(dirs.Chaindata, "b", "a.seg"), dirs.Snap) (value of type string) as type error in argument to require.Error:
tests (macos-11): downloader/downloader_test.go#L50
cannot use BuildTorrentIfNeed(ctx, "./../a.seg", dirs.Snap) (value of type string) as type error in argument to require.Error:
tests (macos-11)
The operation was canceled.
tests (ubuntu-20.04)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2