Skip to content

AMD64 FreeBSD14/15 3.x multiprocessing test failures #132719

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

Closed
picnixz opened this issue Apr 19, 2025 · 6 comments
Closed

AMD64 FreeBSD14/15 3.x multiprocessing test failures #132719

picnixz opened this issue Apr 19, 2025 · 6 comments
Labels
infra CI, GitHub Actions, buildbots, Dependabot, etc. OS-freebsd tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@picnixz
Copy link
Member

picnixz commented Apr 19, 2025

Bug report

Bug description:

I don't know which one is the faulty commit so I'm tagaging everyone involved in the recent failures of this build bot.

The build bot is failing since 0c356c8 (cc @skirpichev) but there were warnings since 954b2cf (cc @bswck @sobolevn) for the same tests (I doubt Sergey's commit is actually the faulty one as it shouldn't have touched the interpreter's code itself)

Before that, similar failures appeared since c66ffcf (cc @Yhg1s) and before then, it was failing for a different reason but it was fixed in 102f825.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

@picnixz picnixz added infra CI, GitHub Actions, buildbots, Dependabot, etc. OS-freebsd tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error labels Apr 19, 2025
@skirpichev
Copy link
Member

skirpichev commented Apr 19, 2025

I would guess it's 954b2cf.

"Warning" actually was a failure for the same test (test_many_threads_running_interp_in_other_interp) in one case. Perhaps, now it's flacky with a low chance to be successful on a re-run.

@chris-eibl
Copy link
Member

I think it is 15c75d7.

AMD64 FreeBSD15 3.x is failing since this commit with

    test.test_multiprocessing_fork.test_processes
    test.test_multiprocessing_forkserver.test_processes
    test.test_multiprocessing_spawn.test_processes

In this case, 15c75d7 was the only change: https://buildbot.python.org/#/builders/1238/builds/5328.

https://buildbot.python.org/#/builders/1232/builds/5365 on AMD64 FreeBSD14 3.x shows the known test.test_interpreters.test_stress.StressTests.test_many_threads_running_interp_in_other_interp failure (#127108).
This one has the commits 0c356c8 and 0c356c8, but I think they aren't the culprit.

However, beginning with https://buildbot.python.org/#/builders/1232/builds/5366 the AMD64 FreeBSD14 3.x bot also starts failing with

    test.test_multiprocessing_fork.test_processes
    test.test_multiprocessing_forkserver.test_processes
    test.test_multiprocessing_spawn.test_processes

and 15c75d7 is part of the three changes in there, too.

@chris-eibl chris-eibl changed the title AMD64 FreeBSD14 3.x failures AMD64 FreeBSD14/15 3.x failures Apr 19, 2025
@YvesDup
Copy link
Contributor

YvesDup commented Apr 21, 2025

I will send a fix today

@gpshead
Copy link
Member

gpshead commented Apr 21, 2025

thanks! your fix made sense, merged. reopen if something strange happens and it doesn't.

@gpshead gpshead closed this as completed Apr 21, 2025
vstinner added a commit to vstinner/cpython that referenced this issue Apr 23, 2025
Skip test_lock_locked_2processes() if multiprocessing.sharedctypes is
missing (need ctypes).
@vstinner
Copy link
Member

thanks! your fix made sense, merged. reopen if something strange happens and it doesn't.

Tests still fail: the problem is that _ctypes is missing. I wrote #132842 to fix FreeBSD buildbots.

@vstinner vstinner reopened this Apr 23, 2025
vstinner added a commit that referenced this issue Apr 23, 2025
Skip test_lock_locked_2processes() if multiprocessing.sharedctypes is
missing (need ctypes).
vstinner added a commit to vstinner/cpython that referenced this issue Apr 23, 2025
…132842)

Skip test_rlock_locked_2processes() if multiprocessing.sharedctypes
is missing (need ctypes).
vstinner added a commit to vstinner/cpython that referenced this issue Apr 23, 2025
Skip test_rlock_locked_2processes() if multiprocessing.sharedctypes
is missing (need ctypes).
vstinner added a commit that referenced this issue Apr 23, 2025
Skip test_rlock_locked_2processes() if multiprocessing.sharedctypes
is missing (need ctypes).
@picnixz
Copy link
Member Author

picnixz commented Apr 27, 2025

I think this can be closed now. Thanks Yves and Victor for the patches!

@picnixz picnixz closed this as completed Apr 27, 2025
@vstinner vstinner changed the title AMD64 FreeBSD14/15 3.x failures AMD64 FreeBSD14/15 3.x multiprocessing test failures Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra CI, GitHub Actions, buildbots, Dependabot, etc. OS-freebsd tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

6 participants