Skip to content

Commit 400f6fd

Browse files
MakisHpreCICE Tests VM
andauthored
Add more tests to the system tests (#824)
Co-authored-by: preCICE Tests VM <tests@precice.org>
1 parent 722a662 commit 400f6fd

81 files changed

Lines changed: 1700 additions & 129 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/generate_reference_results_manual.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,33 @@ name: Generate reference results (manual)
22
on:
33
workflow_dispatch:
44
inputs:
5+
suites:
6+
description: 'Test suites to execute (comma-separated, see tests.yaml)'
7+
default: 'release_test'
8+
required: true
9+
type: string
510
from_ref:
6-
description: 'Use the systemtests + tutorial metadata + reference_version from this ref'
11+
description: 'Git branch to use and commit to'
712
required: true
813
type: string
914
commit_msg:
10-
description: 'Commit msg for commit that adds the reference results'
15+
description: 'Commit message'
1116
default: "Add reference results"
1217
type: string
13-
suites:
14-
description: 'Comma-separated test suites to generate reference results for (leave empty for all)'
15-
default: ''
16-
required: false
17-
type: string
1818
clean_docker:
19-
description: 'Clean Docker before running'
19+
description: 'Run docker-system-prune before running tests'
2020
default: 'FALSE'
2121
type: choice
2222
options:
2323
- 'FALSE'
2424
- 'TRUE'
2525
log_level:
26-
description: 'Logging verbosity level used for the systemtests'
26+
description: 'Logging verbosity of systemtests.py'
2727
default: 'INFO'
28-
required: true
2928
type: choice
3029
options:
31-
- 'DEBUG'
3230
- 'INFO'
33-
- 'WARNING'
34-
- 'ERROR'
35-
- 'CRITICAL'
31+
- 'DEBUG'
3632

3733
jobs:
3834
generate_reference_results_manual:

.github/workflows/generate_reference_results_workflow.yml

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,41 @@ name: Generate reference results workflow
22
on:
33
workflow_call:
44
inputs:
5-
from_ref:
6-
description: 'Use the systemtests + tutorial metadata + reference_version from this ref'
5+
suites:
6+
description: 'Test suites to execute (comma-separated, see tests.yaml)'
77
required: true
88
type: string
9+
from_ref:
10+
description: 'Git branch to use and commit to'
11+
default: 'develop'
12+
type: string
913
commit_msg:
10-
description: 'Commit msg for commit that adds the reference results'
14+
description: 'Commit message'
1115
default: "Add reference results"
1216
type: string
13-
suites:
14-
description: 'Comma-separated test suites to generate reference results for. If empty, all suites are generated.'
15-
default: ''
16-
required: false
17-
type: string
1817
clean_docker:
19-
description: 'Clean Docker before running'
18+
description: 'Run docker-system-prune before running tests'
2019
default: 'FALSE'
2120
type: string
2221
log_level:
23-
description: 'Logging verbosity level used for the systemtests'
22+
description: 'Logging verbosity of systemtests.py'
2423
required: true
2524
type: string
2625
jobs:
2726
generate_reference_results:
2827
runs-on: [self-hosted, linux, x64, precice-tests-vm]
2928
steps:
30-
- name: Display a quick job summary
29+
- name: Report the input values in the summary
3130
run: |
32-
echo "Initiated by: ${{ github.actor }}"
33-
echo "Running generate_reference_results.py --log-level ${{inputs.log_level}}"
34-
echo "Using Ref: ${{ inputs.from_ref }}"
35-
echo "Suites filter: ${{ inputs.suites || 'all (no filter)' }}"
36-
echo "Commit message on success: ${{ inputs.commit_msg }}"
31+
{
32+
echo "- Initiated by: @${{ github.actor }}"
33+
echo "- Test suites: \`${{ inputs.suites || 'all (no filter)' }}\`"
34+
echo "- Git branch to commit to: \`${{ inputs.from_ref }}\`"
35+
echo "- Commit message: \`${{ inputs.commit_msg }}\`"
36+
echo "- Run \`docker-system-prune\` before running tests: \`${{ inputs.clean_docker }}\`"
37+
echo "- Log level: \`${{ inputs.log_level }}\`"
38+
echo "- Running \`generate_reference_results.py --suite ${{inputs.suites}} --log-level ${{inputs.log_level}}\`"
39+
} >> "$GITHUB_STEP_SUMMARY"
3740
- name: Move LFS URL to local LFS server
3841
run: |
3942
/home/precice/runners_root/scripts/make_lfs_local.sh

.github/workflows/run_testsuite_manual.yml

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,33 @@ on:
33
workflow_dispatch:
44
inputs:
55
suites:
6-
description: 'Comma seperated testsuites to execute'
6+
description: 'Test suites to execute (comma-separated)'
77
required: true
8+
default: 'release_test'
89
type: string
910
build_args:
10-
description: 'Build arguments, if not specified defaults will be taken'
11-
required: false
11+
description: 'Build arguments (override reference_versions.yaml)'
12+
default: 'PRECICE_REF:v3.4.1,TUTORIALS_REF:develop'
1213
type: string
1314
system_tests_branch:
14-
description: 'Branch to take the system tests from (tools/tests/)'
15+
description: 'Git ref for tools/tests/'
1516
default: 'develop'
16-
required: true
1717
type: string
18-
log_level:
19-
description: 'Logging verbosity level used for the systemtests'
20-
default: 'INFO'
21-
required: true
22-
type: choice
23-
options:
24-
- 'DEBUG'
25-
- 'INFO'
26-
- 'WARNING'
27-
- 'ERROR'
28-
- 'CRITICAL'
2918
upload_artifacts:
30-
description: 'Upload artifacts also on success (not only on failure)'
19+
description: 'Upload the complete case files also on success (always true for failure)'
3120
default: 'TRUE'
3221
type: choice
3322
options:
3423
- 'FALSE'
3524
- 'TRUE'
25+
log_level:
26+
description: 'Logging verbosity of systemtests.py'
27+
default: 'INFO'
28+
type: choice
29+
options:
30+
- 'INFO'
31+
- 'DEBUG'
32+
3633

3734
jobs:
3835
run_testsuite_manual:

.github/workflows/run_testsuite_workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
workflow_call:
44
inputs:
55
suites:
6-
description: 'Comma seperated testsuites to execute'
6+
description: 'Test suites to execute (comma-separated)'
77
required: true
88
type: string
99
build_args:

.github/workflows/system-tests-latest-components.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@ on:
77
workflow_dispatch:
88
inputs:
99
suites:
10-
description: 'Comma-separated test suites to run'
10+
description: 'Test suites to execute (comma-separated)'
1111
default: 'release_test'
12-
required: false
12+
required: true
1313
type: string
1414
system_tests_branch:
1515
description: 'Branch to take the system tests from'
1616
default: 'develop'
17-
required: true
1817
type: string
1918

2019
jobs:

breaking-dam-2d/metadata.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Breaking dam 2D
2+
path: breaking-dam-2d # relative to git repo
3+
url: https://precice.org/tutorials-breaking-dam-2d.html
4+
5+
participants:
6+
- Fluid
7+
- Solid
8+
9+
cases:
10+
fluid-openfoam:
11+
participant: Fluid
12+
directory: ./fluid-openfoam
13+
run: ./run.sh
14+
component: openfoam-adapter
15+
16+
solid-calculix:
17+
participant: Solid
18+
directory: ./solid-calculix
19+
run: ./run.sh
20+
component: calculix-adapter
21+
22+
23+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:0f449e04e0eb4d0fc865f3635f32bf7a293fc47837bb67bd09ee6b525a26b7cf
3+
size 992246
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<!---
2+
This File has been generated by the generate_reference_results.py and should not be modified manually
3+
-->
4+
5+
# Reference Results
6+
7+
This file contains an overview of the results over the reference results as well as the arguments used to generate them.
8+
We also include some information on the machine used to generate them
9+
10+
## List of files
11+
12+
| name | time | sha256 |
13+
|------|------|-------|
14+
| fluid-openfoam_solid-calculix.tar.gz | 2026-05-30 20:40:55 | 0f449e04e0eb4d0fc865f3635f32bf7a293fc47837bb67bd09ee6b525a26b7cf |
15+
16+
## List of arguments used to generate the files
17+
18+
| name | value |
19+
|------|------|
20+
| PLATFORM | ubuntu_2404 |
21+
| CALCULIX_VERSION | 2.20 |
22+
| DUNE_VERSION | 2.9 |
23+
| DUMUX_VERSION | 3.7 |
24+
| OPENFOAM_EXECUTABLE | openfoam2512 |
25+
| SU2_VERSION | 7.5.1 |
26+
| FENICS_ADAPTER_REF | v2.3.0 |
27+
| CALCULIX_ADAPTER_REF | v2.20.1 |
28+
| DEALII_ADAPTER_REF | a421d92 |
29+
| DUMUX_ADAPTER_REF | 3f3f54f |
30+
| MICRO_MANAGER_REF | v0.10.1 |
31+
| OPENFOAM_ADAPTER_REF | 2c3062c |
32+
| PRECICE_REF | v3.4.1 |
33+
| PYTHON_BINDINGS_REF | v3.4.0 |
34+
| SU2_ADAPTER_REF | 5abe79b |
35+
| TUTORIALS_REF | more-tests |
36+
| PRECICE_PRESET | production-audit |
37+
| PRECICE_UID | 1003 |
38+
| PRECICE_GID | 1003 |
39+
## Information about the machine
40+
41+
### uname -a
42+
43+
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
44+
45+
46+
### lscpu
47+
48+
Architecture: x86_64
49+
CPU op-mode(s): 32-bit, 64-bit
50+
Address sizes: 45 bits physical, 48 bits virtual
51+
Byte Order: Little Endian
52+
CPU(s): 4
53+
On-line CPU(s) list: 0-3
54+
Vendor ID: GenuineIntel
55+
Model name: Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz
56+
CPU family: 6
57+
Model: 85
58+
Thread(s) per core: 1
59+
Core(s) per socket: 1
60+
Socket(s): 4
61+
Stepping: 4
62+
BogoMIPS: 4199.99
63+
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves arat pku ospke md_clear flush_l1d arch_capabilities
64+
Hypervisor vendor: VMware
65+
Virtualization type: full
66+
L1d cache: 128 KiB (4 instances)
67+
L1i cache: 128 KiB (4 instances)
68+
L2 cache: 4 MiB (4 instances)
69+
L3 cache: 88 MiB (4 instances)
70+
NUMA node(s): 1
71+
NUMA node0 CPU(s): 0-3
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Channel transport particles
2+
path: channel-transport-particles
3+
url: https://precice.org/tutorials-channel-transport-particles.html
4+
5+
participants:
6+
- Fluid
7+
- Particles
8+
9+
cases:
10+
fluid-nutils:
11+
participant: Fluid
12+
directory: ./fluid-nutils
13+
run: ./run.sh
14+
component: nutils-adapter
15+
16+
fluid-openfoam:
17+
participant: Fluid
18+
directory: ./fluid-openfoam
19+
run: ./run.sh
20+
component: openfoam-adapter
21+
22+
# particles-mercurydpm:
23+
# participant: Particles
24+
# directory: ./particles-mercurydpm
25+
# run: ./run.sh
26+
# component: mercurydpm-adapter
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
controller-fmi/PIDcontroller.fmu
22
controller-fmi/output/
3-
fluid-openfoam/0/ # Since we start from 0.orig
3+
# The fluid-openfoam case uses a 0.orig
4+
fluid-openfoam/0/

0 commit comments

Comments
 (0)