Skip to content
Snippets Groups Projects

Enable downstream testing for all core modules

Merged Robert K requested to merge feature/downstream-testing into master

This MR adds a ci job that runs tests for all downstream modules

Edited by Simon Praetorius

Merge request reports

Pipeline #35371 passed

Pipeline: Dune Nightly Test

#35372

    Pipeline passed for 76f9c4b1 on feature/downstream-testing

    Approval is optional

    Merged by Simon PraetoriusSimon Praetorius 4 years ago (Apr 11, 2021 8:39pm UTC)

    Merge details

    • Changes merged into master with b10ce55c (commits were squashed).
    • Deleted the source branch.

    Pipeline #35412 passed

    Pipeline: Dune Nightly Test

    #35413

      Pipeline passed for b10ce55c on master

      Activity

      Filter activity
      • Approvals
      • Assignees & reviewers
      • Comments (from bots)
      • Comments (from users)
      • Commits & branches
      • Edits
      • Labels
      • Lock status
      • Mentions
      • Merge request status
      • Tracking
    • after merging to master.

      That could be problematic when used with upstream testing due to the issue discussed above with identical branches in different core modules.

    • Simon Praetorius added 47 commits

      added 47 commits

      Compare with previous version

    • added 1 commit

      • b998486d - remove python bindings from downstream testing

      Compare with previous version

    • Simon Praetorius resolved all threads

      resolved all threads

    • added 1 commit

      • 07a82921 - trigger system-test pipeline

      Compare with previous version

    • added 1 commit

      • 856d6426 - pass branch name to downstream test

      Compare with previous version

    • added 1 commit

      • 21987ef1 - trigger the core pipeline in dune-nightly-tests

      Compare with previous version

    • added 1 commit

      • 75f62177 - run downstream tests in separate stage

      Compare with previous version

    • added 1 commit

      Compare with previous version

    • added 1 commit

      Compare with previous version

    • Instead of writing the downstream tests directly inside the .gitlab-ci.yml file of dune-common, I have implemented a multi-project trigger to run a pipeline in the dune-nightly repository. There, I have created a minimal core branch, currently with just one toolchain (gcc-7). Thus, we only need to maintain one repository with system tests instead of a similar thing in each module.

      Some details might be up to discussion:

      • The downstream test is part of the dune-common pipeline. Should we mark it allow_failure?
      • The system test only runs one toolchain, but the full testsuite. Maybe we can remove the expensive tests from dune-common directly.
      • Due to problems with the python bindings, I just run the simple (non-python) tests. This needs further investigation, if these tests should be part of the regular CI job. I don't know what I have to change in order to make this work. But, we could simply use the python-bindings branch of the dune-nightly repository.
      • After thinking about this a bit longer, can this be merged now?

        Is there any response to the raised questions? What about the concern raised by @andreas.dedner ? Marking this system test "allow_failure" would solve the issue of order of merges. It might be that in some constellation if merged multiple dependent branches in the wrong order the pipeline fails, but this cannot be prevented. The "allow_failure" flag would allow to merge nevertheless.

        All the other points I have raised can be put into a separate MR after merging this one. We can try it out and see if there are problems arising. If so, we simply work on this a bit more, but we cannot foresee all possible situations. The current alternative is to always manually run the system pipeline.

      • Sound reasonable to me

      • I agree.

      • No objections.

      • Please register or sign in to reply
    • I would just squash the commits and maybe set "allow_failure" before merging.

    • Loading
    • Loading
    • Loading
    • Loading
    • Loading
    • Loading
    • Loading
    • Loading
    • Loading
    • Loading
    • Please register or sign in to reply
      Loading