Skip to content

Conversation

@nathanchance
Copy link
Member

Over the past few days, the pip install step of the check_cache job has been failing intermittently with:

After this operation, 3170 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 python3-pip-whl all 23.0.1+dfsg-1 [1717 kB]
Err:2 http://deb.debian.org/debian bookworm/main amd64 python3-setuptools-whl all 66.1.1-1
  404  Not Found [IP: 151.101.202.132 80]

While it may not be strictly necessary, this can sometimes be avoided by updating the package list before installing any packages. Be a little more defensive to try and avoid failing during the check cache stage.

Copy link
Contributor

@JustinStitt JustinStitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you use act to test workflows locally?

LGTM.

@nathanchance
Copy link
Member Author

Do you use act to test workflows locally?

No but I should definitely look into it (albeit maybe in a virtual machine so I do not have to install docker on my host).

Over the past few days, the 'pip install' step of the check_cache job
has been failing intermittently with:

  After this operation, 3170 kB of additional disk space will be used.
  Get:1 http://deb.debian.org/debian bookworm/main amd64 python3-pip-whl all 23.0.1+dfsg-1 [1717 kB]
  Err:2 http://deb.debian.org/debian bookworm/main amd64 python3-setuptools-whl all 66.1.1-1
    404  Not Found [IP: 151.101.202.132 80]

While it may not be strictly necessary, this can sometimes be avoided by
updating the package list before installing any packages. Be a little
more defensive to try and avoid failing during the check cache stage.

Signed-off-by: Nathan Chancellor <[email protected]>
@nathanchance nathanchance force-pushed the run-apt-update-before-installing branch from 36845ff to 8cfb096 Compare January 21, 2025 19:10
@nathanchance nathanchance merged commit ca87278 into ClangBuiltLinux:main Jan 21, 2025
7 checks passed
@nathanchance nathanchance deleted the run-apt-update-before-installing branch January 21, 2025 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants