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

Test timeout on multiprocessing Pool XTC test in CI #4475

Closed
hmacdope opened this issue Mar 1, 2024 · 1 comment
Closed

Test timeout on multiprocessing Pool XTC test in CI #4475

hmacdope opened this issue Mar 1, 2024 · 1 comment

Comments

@hmacdope
Copy link
Member

hmacdope commented Mar 1, 2024

We are getting a timeout on the following test, especially for py3.9 on #3608

 def test_creating_multiple_universe_without_offset(temp_xtc, ncopies=3):
        #  test if they can be created without generating
        #  the offset simultaneously.
        #  The tested XTC file is way too short to induce a race scenario but the
        #  test is included as documentation for the scenario that used to create
        #  a problem (see PR #3375 and issues #3230, #1988)
    
        args = (GRO, str(temp_xtc))
        with multiprocessing.Pool(2) as p:
            universes = [p.apply_async(mda.Universe, args) for i in range(ncopies)]
>           universes = [universe.get() for universe in universes]

Is giving

    def poll(self, flag=os.WNOHANG):
        if self.returncode is None:
            try:
>               pid, sts = os.waitpid(self.pid, flag)
E               Failed: Timeout >200.0s
****

Unsure if we need to increase timeout or if this is an issue as isn't happening elsewhere. Might also be a runner perf issue.

@IAlibay
Copy link
Member

IAlibay commented Mar 1, 2024

@hmacdope I believe this is a duplicate of #4215

I'm going to close this one if that's ok?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants