Skip to content

Prune Docker networks before and after running each system test#820

Merged
MakisH merged 4 commits into
developfrom
prune-networks
May 29, 2026
Merged

Prune Docker networks before and after running each system test#820
MakisH merged 4 commits into
developfrom
prune-networks

Conversation

@MakisH
Copy link
Copy Markdown
Member

@MakisH MakisH commented May 29, 2026

Description

Trying to run several tests (each one asking Docker Compose to create a custom network), we now hit a limit on how many custom networks one can create on a given system (see this failing system tests job). While we were already calling docker network prune in the CI workflows, we now hit the limit within one run.

This could be seen in the system-tests-stderr.log as:

failed to create network partitioned-heat-conduction_dirichlet-fenics-neumann-fenics_2026-05-29-165802_default: Error response from daemon: all predefined address pools have been fully subnetted

This PR implements a new function in the Systemtest.py to prune networks before (from previous runs) and after (from this run) running the tests.

Checklist

  • I added a summary of any user-facing changes (compared to the last release) in the changelog-entries/<PRnumber>.md.

@MakisH MakisH self-assigned this May 29, 2026
@MakisH MakisH changed the title Prune networks Prune Docker networks before and after running each system test May 29, 2026
@MakisH MakisH merged commit 78d64fd into develop May 29, 2026
1 check passed
@MakisH MakisH deleted the prune-networks branch May 29, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant