Skip to content

test_adapt_with_repair_runs_in_parallel: FAILED then hangs at np=2 #807

Open

Description

@jcgraciosa

Running the file with 2 processes, the test fails and the run then hangs:

tests/parallel/ptest_0844_reconnect_parallel.py::test_adapt_with_repair_runs_in_parallel FAILED   [ 57%]

No traceback appears, because the session never ends. Running that test on its own with --timeout=90 --timeout-method=thread prints it in ~5 s (the run still has to be killed):

ptest_0844_reconnect_parallel.py:169: AssertionError
E   a parent-cell map survived a repair pass; a flipped cell spans two
    coarse cells and the transfer would read the wrong parent
rank: 0    size: 2

The first three tests pass on both ranks; test_adapt_with_repair_runs_in_parallel reports FAILED from rank 0 only. The remaining three — test_removal_renumbers_the_star_forest, test_removal_leaves_the_seam_alone and test_reduced_mesh_still_solves — all pass at np=2 when run without it.

pixi run -e amr-dev mpirun -n 2 python -u -m pytest --with-mpi -v \
  --timeout=90 --timeout-method=thread \
  tests/parallel/ptest_0844_reconnect_parallel.py::test_adapt_with_repair_runs_in_parallel

Underworld development team with AI support from Claude Code

Activity

  1. added
    bug
    on Sep 30, 2026
  2. added
    fixed-in-PR
    on Nov 6, 2026
  3. added a commit that references this issue on Nov 7, 2026
  4. added
    fixed-in-development
    and removed
    fixed-in-PR
    on Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfixed-in-development

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions