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

fix builds.sr.ht failing #2792

Open
jakkdl opened this issue Sep 5, 2023 · 9 comments
Open

fix builds.sr.ht failing #2792

jakkdl opened this issue Sep 5, 2023 · 9 comments

Comments

@jakkdl
Copy link
Member

jakkdl commented Sep 5, 2023

it was failing on every PR, and been doing so for a while. Configuration failure or necessary to replace it?

EDIT: temporarily paused until someone gains motivation to think about this!

@A5rocks
Copy link
Contributor

A5rocks commented Sep 6, 2023

It's easy enough to disable but I'm not sure if we want to try doing any deeper analysis first.

@A5rocks
Copy link
Contributor

A5rocks commented Sep 9, 2023

I'm going to leave this open but disable the integration for now.

@jakkdl
Copy link
Member Author

jakkdl commented Sep 9, 2023

What was the purpose of the builds.sr.ht job? Does it do anything special not covered by other tests?

@A5rocks
Copy link
Contributor

A5rocks commented Sep 9, 2023

Fedora and freebsd testing (and maybe another platform), both of which GitHub actions can do but only by literally just using qemu :(

@jakkdl
Copy link
Member Author

jakkdl commented Sep 13, 2023

Ah. Seems unlikely that fedora would behave much differently than ubuntu, but losing out on freebsd isn't great.

@njsmith
Copy link
Member

njsmith commented Sep 13, 2023 via email

@A5rocks
Copy link
Contributor

A5rocks commented Sep 14, 2023

For what it's worth, I've when thinking about builds.sr.ht replacements and seen how e.g. snmalloc uses qemu to run freebsd stuff in github actions: https://github.com/microsoft/snmalloc/blob/6b8f3338c71fb06a3609ef935a8579b7bda7e07e/.github/workflows/main.yml#L117

@jakkdl
Copy link
Member Author

jakkdl commented Sep 16, 2023

Originally fedora was added because ubuntu's kernel wasn't new enough to test pidfd, but that might not be an issue anymore.

If you click through from a test run you get to https://github.com/actions/runner-images/blob/ubuntu22/20230911.1/images/linux/Ubuntu2204-Readme.md which says

Kernel Version: 6.2.0-1011-azure

and https://docs.python.org/3/library/os.html#os.pidfd_open says availability linux >= 5.3, so it shouldn't be a problem. We still need the funky workaround code in _subprocess until we drop 3.8 though, as pidfd_open is only available on >=3.9. I quickly wrote up #2799 to document this better in the code.

@jakkdl
Copy link
Member Author

jakkdl commented Sep 16, 2023

For what it's work, I've when thinking about builds.sr.ht replacements seen how e.g. snmalloc uses qemu to run freebsd stuff in github actions: https://github.com/microsoft/snmalloc/blob/6b8f3338c71fb06a3609ef935a8579b7bda7e07e/.github/workflows/main.yml#L117

that doesn't look too nasty, worth giving a try.

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

No branches or pull requests

3 participants