From 6e48f33348e3ac811f0d66e67e22da84f174a931 Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Sat, 18 Jul 2026 22:16:23 +0200 Subject: [PATCH 1/6] Add the Julia bindings to the system tests --- resonant-circuit/metadata.yaml | 20 +++++++++---------- .../component-templates/julia-bindings.yaml | 17 ++++++++++++++++ tools/tests/components.yaml | 17 ++++++++++++++++ .../tests/dockerfiles/ubuntu_2404/Dockerfile | 15 ++++++++++++++ tools/tests/reference_versions.yaml | 7 ++++--- 5 files changed, 63 insertions(+), 13 deletions(-) create mode 100644 tools/tests/component-templates/julia-bindings.yaml diff --git a/resonant-circuit/metadata.yaml b/resonant-circuit/metadata.yaml index c46c1adbf..6988337b2 100644 --- a/resonant-circuit/metadata.yaml +++ b/resonant-circuit/metadata.yaml @@ -7,11 +7,11 @@ participants: - Coil cases: - # capacitor-julia: - # participant: Capacitor - # directory: ./capacitor-julia - # run: ./run.sh - # component: julia-bindings + capacitor-julia: + participant: Capacitor + directory: ./capacitor-julia + run: ./run.sh + component: julia-bindings # capacitor-matlab: # participant: Capacitor @@ -25,11 +25,11 @@ cases: run: ./run.sh component: python-bindings - # coil-julia: - # participant: Coil - # directory: ./coil-julia - # run: ./run.sh - # component: julia-bindings + coil-julia: + participant: Coil + directory: ./coil-julia + run: ./run.sh + component: julia-bindings # coil-matlab: # participant: Coil diff --git a/tools/tests/component-templates/julia-bindings.yaml b/tools/tests/component-templates/julia-bindings.yaml new file mode 100644 index 000000000..d5d6c849b --- /dev/null +++ b/tools/tests/component-templates/julia-bindings.yaml @@ -0,0 +1,17 @@ +build: + context: {{ dockerfile_context }} + args: + {% for key, value in build_arguments.items() %} + - {{key}}={{value}} + {% endfor %} + target: julia_bindings +depends_on: + prepare: + condition: service_completed_successfully +volumes: + - {{ run_directory }}:/runs +command: > + /bin/bash -c "id && + cd '/runs/{{ tutorial_folder }}/{{ case_folder }}' && + {{ run }} + | tee system-tests_{{ case_folder }}.log 2>&1" diff --git a/tools/tests/components.yaml b/tools/tests/components.yaml index 658b1d826..6b5ef5b88 100644 --- a/tools/tests/components.yaml +++ b/tools/tests/components.yaml @@ -166,6 +166,23 @@ fmi-runner: repository: https://github.com/precice/fmi-runner default: "main" +julia-bindings: + template: component-templates/julia-bindings.yaml + build_arguments: + PLATFORM: + default: "ubuntu_2404" + PRECICE_REF: + repository: https://github.com/precice/precice + default: "develop" + PRECICE_PRESET: + default: "production-audit" + TUTORIALS_REF: + repository: https://github.com/precice/tutorials + default: "develop" + JULIA_BINDINGS_REF: + repository: https://github.com/precice/PreCICE.jl + default: "develop" + mercurydpm-adapter: template: component-templates/mercurydpm-adapter.yaml build_arguments: diff --git a/tools/tests/dockerfiles/ubuntu_2404/Dockerfile b/tools/tests/dockerfiles/ubuntu_2404/Dockerfile index 64f31db33..23dbbece1 100644 --- a/tools/tests/dockerfiles/ubuntu_2404/Dockerfile +++ b/tools/tests/dockerfiles/ubuntu_2404/Dockerfile @@ -99,6 +99,21 @@ ENV CMAKE_PREFIX_PATH="/home/precice/.local" ### end of precice stage ### +FROM precice AS julia_bindings +ARG JULIA_BINDINGS_REF + +USER root +RUN apt-get -qq update && \ + apt-get -qq install pipx + +USER precice +WORKDIR /home/precice + +RUN pipx install jill && \ + jill install --confirm +### end of julia_bindings stage ### + + FROM precice AS python_bindings ARG PYTHON_BINDINGS_PR ARG PYTHON_BINDINGS_REF diff --git a/tools/tests/reference_versions.yaml b/tools/tests/reference_versions.yaml index d9994c125..0c7950c28 100644 --- a/tools/tests/reference_versions.yaml +++ b/tools/tests/reference_versions.yaml @@ -14,13 +14,14 @@ SU2_VERSION: "7.5.1" # Tested components ASTE_REF: "4e32a4f" # develop, July 12, 2026 -FENICS_ADAPTER_REF: "v2.3.0" -FENICSX_ADAPTER_REF: "v1.0.1" -FMI_RUNNER_REF: "v0.2.1" CALCULIX_ADAPTER_REF: "v2.20.1" DEALII_ADAPTER_REF: "a421d92" # develop, May 27, 2026 DUNE_ADAPTER_REF: "778d3bb" # main, July 8, 2026 DUMUX_ADAPTER_REF: "3f3f54f" # develop, May 27, 2026 +FENICS_ADAPTER_REF: "v2.3.0" +FENICSX_ADAPTER_REF: "v1.0.1" +FMI_RUNNER_REF: "v0.2.1" +JULIA_BINDINGS_REF: "v3.4.0" MICRO_MANAGER_REF: "bf5ea7b" # develop, July 7, 2026 OPENFOAM_ADAPTER_REF: "2c3062c" # develop, May 27, 2026 PRECICE_REF: "v3.4.1" From 740154ff4e5d1200778f1644e5358f6fa9d7e6c0 Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Sat, 18 Jul 2026 22:20:09 +0200 Subject: [PATCH 2/6] Add test suites --- tools/tests/tests.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tools/tests/tests.yaml b/tools/tests/tests.yaml index 35122dd7e..92a5b993c 100644 --- a/tools/tests/tests.yaml +++ b/tools/tests/tests.yaml @@ -532,6 +532,12 @@ test_suites: resonant-circuit: tutorials: + - &resonant-circuit_capacitor-julia_coil-julia + path: resonant-circuit + case_combination: + - capacitor-julia + - coil-julia + reference_result: ./resonant-circuit/reference-results/capacitor-julia_coil-julia.tar.gz - &resonant-circuit_capacitor-python_coil-python path: resonant-circuit case_combination: @@ -723,6 +729,7 @@ test_suites: - *perpendicular-flap_fluid-openfoam_solid-openfoam - *perpendicular-flap_fluid-su2_solid-fenics - *quickstart_openfoam_cpp + - *resonant-circuit_capacitor-julia_coil-julia - *resonant-circuit_capacitor-python_coil-python - *turek-hron-fsi3_fluid-openfoam_solid-dealii - *two-scale-heat-conduction_macro-dumux_micro-dumux @@ -891,6 +898,10 @@ test_suites: - *partitioned-heat-conduction-mixedbc_left-openfoam_right-openfoam - *partitioned-heat-conduction-robin_left-openfoam_right-openfoam + julia-bindings: + tutorials: + - *resonant-circuit_capacitor-julia_coil-julia + python-bindings: tutorials: - *elastic-tube-1d_fluid-python_solid-python From f4521cd9d6ae92d1822e9337c166b1d428194953 Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Sat, 18 Jul 2026 22:27:42 +0200 Subject: [PATCH 3/6] Increase timeout --- tools/tests/tests.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/tests/tests.yaml b/tools/tests/tests.yaml index 92a5b993c..029961e0d 100644 --- a/tools/tests/tests.yaml +++ b/tools/tests/tests.yaml @@ -537,6 +537,7 @@ test_suites: case_combination: - capacitor-julia - coil-julia + timeout: 600 reference_result: ./resonant-circuit/reference-results/capacitor-julia_coil-julia.tar.gz - &resonant-circuit_capacitor-python_coil-python path: resonant-circuit From 3453958ebcf30bf8c1d1a08af789e2bb9af1dd3c Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Sat, 18 Jul 2026 22:40:55 +0200 Subject: [PATCH 4/6] Increase timeout --- tools/tests/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tests/tests.yaml b/tools/tests/tests.yaml index 029961e0d..476427881 100644 --- a/tools/tests/tests.yaml +++ b/tools/tests/tests.yaml @@ -537,7 +537,7 @@ test_suites: case_combination: - capacitor-julia - coil-julia - timeout: 600 + timeout: 900 reference_result: ./resonant-circuit/reference-results/capacitor-julia_coil-julia.tar.gz - &resonant-circuit_capacitor-python_coil-python path: resonant-circuit From 1bff11e86637a7177ebfd6e33adbf3856120057b Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Sat, 18 Jul 2026 22:50:32 +0200 Subject: [PATCH 5/6] Move the resonant-circuit_capacitor-julia_coil-julia test to the extra --- tools/tests/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tests/tests.yaml b/tools/tests/tests.yaml index 476427881..0b806a771 100644 --- a/tools/tests/tests.yaml +++ b/tools/tests/tests.yaml @@ -730,7 +730,6 @@ test_suites: - *perpendicular-flap_fluid-openfoam_solid-openfoam - *perpendicular-flap_fluid-su2_solid-fenics - *quickstart_openfoam_cpp - - *resonant-circuit_capacitor-julia_coil-julia - *resonant-circuit_capacitor-python_coil-python - *turek-hron-fsi3_fluid-openfoam_solid-dealii - *two-scale-heat-conduction_macro-dumux_micro-dumux @@ -753,6 +752,7 @@ test_suites: - *partitioned-heat-conduction_dirichlet-nutils_neumann-nutils - *perpendicular-flap_fluid-nutils_solid-calculix - *perpendicular-flap_fluid-openfoam_solid-nutils + - *resonant-circuit_capacitor-julia_coil-julia - *turek-hron-fsi3_fluid-nutils_solid-nutils - *two-scale-heat-conduction_macro-nutils_micro-nutils From 1ef842677c9d3b43ba56b53d1a558b933de4d116 Mon Sep 17 00:00:00 2001 From: preCICE Tests VM Date: Sat, 18 Jul 2026 23:07:10 +0200 Subject: [PATCH 6/6] Add reference results --- .../capacitor-julia_coil-julia.tar.gz | 3 +++ .../reference_results.metadata | 20 ++++++++++++------- 2 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 resonant-circuit/reference-results/capacitor-julia_coil-julia.tar.gz diff --git a/resonant-circuit/reference-results/capacitor-julia_coil-julia.tar.gz b/resonant-circuit/reference-results/capacitor-julia_coil-julia.tar.gz new file mode 100644 index 000000000..9b959d2d4 --- /dev/null +++ b/resonant-circuit/reference-results/capacitor-julia_coil-julia.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9883bd675df44bc9f5a0b15096ca559d9a85e616893a1b8c4b9d50b0a92a0a58 +size 2946 diff --git a/resonant-circuit/reference-results/reference_results.metadata b/resonant-circuit/reference-results/reference_results.metadata index 7204326cb..678fb4813 100644 --- a/resonant-circuit/reference-results/reference_results.metadata +++ b/resonant-circuit/reference-results/reference_results.metadata @@ -11,7 +11,7 @@ We also include some information on the machine used to generate them | name | time | sha256 | |------|------|-------| -| capacitor-python_coil-python.tar.gz | 2026-05-30 14:00:24 | 5f86feb2df61aff94c0bada250a8574f65b671d88af0431683e19e2f1730991e | +| capacitor-julia_coil-julia.tar.gz | 2026-07-18 22:56:32 | 9883bd675df44bc9f5a0b15096ca559d9a85e616893a1b8c4b9d50b0a92a0a58 | ## List of arguments used to generate the files @@ -19,20 +19,26 @@ We also include some information on the machine used to generate them |------|------| | PLATFORM | ubuntu_2404 | | CALCULIX_VERSION | 2.20 | -| DUNE_VERSION | 2.9 | | DUMUX_VERSION | 3.7 | +| DUNE_VERSION_DUMUX | 2.9 | +| DUNE_VERSION_DUNE | 2.9 | | OPENFOAM_EXECUTABLE | openfoam2512 | | SU2_VERSION | 7.5.1 | -| FENICS_ADAPTER_REF | v2.3.0 | +| ASTE_REF | 4e32a4f | | CALCULIX_ADAPTER_REF | v2.20.1 | | DEALII_ADAPTER_REF | a421d92 | +| DUNE_ADAPTER_REF | 778d3bb | | DUMUX_ADAPTER_REF | 3f3f54f | -| MICRO_MANAGER_REF | v0.10.1 | +| FENICS_ADAPTER_REF | v2.3.0 | +| FENICSX_ADAPTER_REF | v1.0.1 | +| FMI_RUNNER_REF | v0.2.1 | +| JULIA_BINDINGS_REF | 6a9fc24b6f9b6f6efd60cca76ba07ef82b0aafd1 | +| MICRO_MANAGER_REF | bf5ea7b | | OPENFOAM_ADAPTER_REF | 2c3062c | -| PRECICE_REF | v3.4.1 | +| PRECICE_REF | b770460f2447b94da430086085d6b424e7c073e9 | | PYTHON_BINDINGS_REF | v3.4.0 | | SU2_ADAPTER_REF | 5abe79b | -| TUTORIALS_REF | 89c82d5 | +| TUTORIALS_REF | 53f45b5f17e831ff690a22b3e34cde9e3c1bb888 | | PRECICE_PRESET | production-audit | | PRECICE_UID | 1003 | | PRECICE_GID | 1003 | @@ -40,7 +46,7 @@ We also include some information on the machine used to generate them ### uname -a -Linux precice-tests 5.15.0-179-generic #189-Ubuntu SMP Tue May 5 18:20:56 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux +Linux precice-tests 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux ### lscpu