Skip to content

Commit a1d46c4

Browse files
valentin-seitzValentin SeitzpreCICE Tests VMMakisH
authored
Add a release test suite (#437)
Co-authored-by: Valentin Seitz <valentin.seitz@tum.de> Co-authored-by: preCICE Tests VM <tests@precice.org> Co-authored-by: Gerasimos Chourdakis <chourdak@in.tum.de>
1 parent 4dde57d commit a1d46c4

12 files changed

+49
-28
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:d7a857fcd5ce4b624c6ee45f698d3777ada63973499776b8d6edd927377502bb
3-
size 345364
2+
oid sha256:1649e17e9f1faebbe1dd4206bc6986382bfe3d471ba1bb0837e0265c2f64af12
3+
size 345437
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:b51e59cb65eaf303683e43f2337e3b97e9f94f840ac94f290e99f976929e5477
3-
size 705114
2+
oid sha256:949a6fbc5847293d33b0877af5d7895824661320ee4ba1301e3d5de9c6b47717
3+
size 705273
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:8dc48beb874a14236278fddd90528e66a27f6ae5270f74c69b1d2323e5d1bdcd
3-
size 705322
2+
oid sha256:3c295096dd92814d659dd9d54be75aa0ea40e0687f6b1d39ac00deb2a3a2b3b4
3+
size 705390

elastic-tube-1d/reference_results.metadata

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ We also include some information on the machine used to generate them
1111

1212
| name | time | sha256 |
1313
|------|------|-------|
14-
| fluid-python_solid-python.tar.gz | 2023-12-14 16:20:26 | 8dc48beb874a14236278fddd90528e66a27f6ae5270f74c69b1d2323e5d1bdcd |
15-
| fluid-cpp_solid-python.tar.gz | 2023-12-14 16:20:26 | b51e59cb65eaf303683e43f2337e3b97e9f94f840ac94f290e99f976929e5477 |
16-
| fluid-cpp_solid-cpp.tar.gz | 2023-12-14 16:20:26 | d7a857fcd5ce4b624c6ee45f698d3777ada63973499776b8d6edd927377502bb |
14+
| fluid-python_solid-python.tar.gz | 2024-01-11 20:52:11 | 3c295096dd92814d659dd9d54be75aa0ea40e0687f6b1d39ac00deb2a3a2b3b4 |
15+
| fluid-cpp_solid-python.tar.gz | 2024-01-11 20:52:11 | 949a6fbc5847293d33b0877af5d7895824661320ee4ba1301e3d5de9c6b47717 |
16+
| fluid-cpp_solid-cpp.tar.gz | 2024-01-11 20:52:11 | 1649e17e9f1faebbe1dd4206bc6986382bfe3d471ba1bb0837e0265c2f64af12 |
1717

1818
## List of arguments used to generate the files
1919

@@ -32,7 +32,7 @@ We also include some information on the machine used to generate them
3232

3333
### uname -a
3434

35-
Linux precice-tests 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
35+
Linux precice-tests 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
3636

3737

3838
### lscpu
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:6e204c5ef1ed001981d0b432c12fd93920ecef053fdac644c98118323eb25d91
3-
size 778409
2+
oid sha256:ec027fafb234e7e6277a781c96d0b2a6d5048f912bb106d174b6d8817b3a49fd
3+
size 778502
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:bb432426dc3a737fd79704a0baf5dab405478cdc4ee160b12520c8f8368c5231
3-
size 533356
2+
oid sha256:6bd5abefb23c900951768dec0ae38cc0be14f0344422560888ebe52481575869
3+
size 533177
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:cb0212291630004bdc9acf0cdbaed4e952fb1155cc4175f22bac714fb16f5130
3-
size 499028
2+
oid sha256:844a54543a5c81ca03c1f7ffb0739cf5125357237bcdb79b60ab957b919e425d
3+
size 498870

flow-over-heated-plate/reference_results.metadata

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ We also include some information on the machine used to generate them
1111

1212
| name | time | sha256 |
1313
|------|------|-------|
14-
| fluid-openfoam_solid-nutils.tar.gz | 2023-12-14 16:20:26 | bb432426dc3a737fd79704a0baf5dab405478cdc4ee160b12520c8f8368c5231 |
15-
| fluid-openfoam_solid-fenics.tar.gz | 2023-12-14 16:20:26 | 6e204c5ef1ed001981d0b432c12fd93920ecef053fdac644c98118323eb25d91 |
16-
| fluid-openfoam_solid-openfoam.tar.gz | 2023-12-14 16:20:26 | cb0212291630004bdc9acf0cdbaed4e952fb1155cc4175f22bac714fb16f5130 |
14+
| fluid-openfoam_solid-fenics.tar.gz | 2024-01-11 20:52:11 | ec027fafb234e7e6277a781c96d0b2a6d5048f912bb106d174b6d8817b3a49fd |
15+
| fluid-openfoam_solid-nutils.tar.gz | 2024-01-11 20:52:11 | 6bd5abefb23c900951768dec0ae38cc0be14f0344422560888ebe52481575869 |
16+
| fluid-openfoam_solid-openfoam.tar.gz | 2024-01-11 20:52:11 | 844a54543a5c81ca03c1f7ffb0739cf5125357237bcdb79b60ab957b919e425d |
1717

1818
## List of arguments used to generate the files
1919

@@ -32,7 +32,7 @@ We also include some information on the machine used to generate them
3232

3333
### uname -a
3434

35-
Linux precice-tests 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
35+
Linux precice-tests 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
3636

3737

3838
### lscpu
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:6a2eb8eaa81763f2d3b353984deac5c260ecb206f90af93635ccf84e8e4fadb2
3-
size 13560146
2+
oid sha256:5ea071efe0147a4cfe13d612bd1fc1d2e5efcee7cdbcaf1e5b086895dc30af66
3+
size 13560221

perpendicular-flap/reference_results.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ We also include some information on the machine used to generate them
1111

1212
| name | time | sha256 |
1313
|------|------|-------|
14-
| fluid-openfoam_solid-calculix.tar.gz | 2023-12-14 16:20:26 | 6a2eb8eaa81763f2d3b353984deac5c260ecb206f90af93635ccf84e8e4fadb2 |
14+
| fluid-openfoam_solid-calculix.tar.gz | 2024-01-11 20:52:11 | 5ea071efe0147a4cfe13d612bd1fc1d2e5efcee7cdbcaf1e5b086895dc30af66 |
1515

1616
## List of arguments used to generate the files
1717

@@ -30,7 +30,7 @@ We also include some information on the machine used to generate them
3030

3131
### uname -a
3232

33-
Linux precice-tests 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
33+
Linux precice-tests 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
3434

3535

3636
### lscpu

tools/tests/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,18 @@ The tutorials repository hosts cases that need multiple components from the preC
1010

1111
## Running the system tests
1212

13-
**! Warning: still under development !**
14-
1513
The main workflow for the user is executing the `systemtests.py` script. Depending on the options given to the script, it reads in the respective metadata files and generates `docker-compose.yaml` files that can start a fully-defined coupled simulation.
1614

1715
### Running specific test suites
1816

1917
To test a certain test-suite defined in `tests.yaml`, use:
2018

2119
```bash
22-
python3 systemtests.py --suites=openfoam-adapter-release,<someothersuite>
20+
python3 systemtests.py --suites=release_test,<someothersuite>
2321
```
2422

25-
To discover all tests, use `python print_test_suites.py`.
23+
To discover all tests, use `python print_test_suites.py`. The `release_test` is meant to cover all tests that need to be executed before a preCICE distribution release. Smaller test suites focus on testing specific components (e.g., only running tutorials involving specific adapters).
24+
2625
To be able to fill in the right case tuple into the `tests.yaml`, you can use the `python3 print_case_combinations.py` script.
2726

2827
## Running the system tests on GitHub Actions

tools/tests/tests.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,25 @@ test_suites:
5151
- fluid-cpp
5252
- solid-python
5353
reference_result: ./elastic-tube-1d/reference-data/fluid-cpp_solid-python.tar.gz
54+
release_test:
55+
tutorials:
56+
- path: elastic-tube-1d
57+
case_combination:
58+
- fluid-cpp
59+
- solid-python
60+
reference_result: ./elastic-tube-1d/reference-data/fluid-cpp_solid-python.tar.gz
61+
- path: flow-over-heated-plate
62+
case_combination:
63+
- fluid-openfoam
64+
- solid-nutils
65+
reference_result: ./flow-over-heated-plate/reference-results/fluid-openfoam_solid-nutils.tar.gz
66+
- path: flow-over-heated-plate
67+
case_combination:
68+
- fluid-openfoam
69+
- solid-fenics
70+
reference_result: ./flow-over-heated-plate/reference-results/fluid-openfoam_solid-fenics.tar.gz
71+
- path: flow-over-heated-plate
72+
case_combination:
73+
- fluid-openfoam
74+
- solid-openfoam
75+
reference_result: ./flow-over-heated-plate/reference-results/fluid-openfoam_solid-openfoam.tar.gz

0 commit comments

Comments
 (0)