Skip to content

Conversation

@teojgo
Copy link
Contributor

@teojgo teojgo commented Mar 11, 2021

Fixes #1733

@teojgo teojgo added this to the ReFrame sprint 21.03.1 milestone Mar 11, 2021
@teojgo teojgo requested review from ekouts and vkarak March 11, 2021 15:31
@teojgo teojgo self-assigned this Mar 11, 2021
Copy link
Contributor

@vkarak vkarak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed offline, I suggest the following:

  1. Remove the default time limit for tests altogether.
  2. Add a new time_limit partition configuration option.
  3. Add a new time_limit_build test variable for setting the time limit of build.

* Add also the `build_time_limit` field.
@pep8speaks
Copy link

pep8speaks commented Mar 15, 2021

Hello @teojgo, Thank you for updating!

Cheers! There are no PEP8 issues in this Pull Request!Do see the ReFrame Coding Style Guide

Comment last updated at 2021-03-16 19:54:29 UTC

@teojgo teojgo changed the title Pass the given 'time_limit' to the build job Add timelimit in partition config and build_time_limit field for regression tests Mar 15, 2021
@vkarak vkarak changed the title Add timelimit in partition config and build_time_limit field for regression tests [feat] Add timelimit in partition config and build_time_limit field for regression tests Mar 15, 2021
@teojgo teojgo changed the title [feat] Add timelimit in partition config and build_time_limit field for regression tests [feat] Add time_limit in partition config and build_time_limit field for regression tests Mar 16, 2021
Copy link
Contributor

@vkarak vkarak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@vkarak vkarak changed the title [feat] Add time_limit in partition config and build_time_limit field for regression tests [feat] Add a time_limit partition configuration parameter and a build_time_limit variable for regression tests Mar 16, 2021
@vkarak
Copy link
Contributor

vkarak commented Mar 16, 2021

@jenkins-cscs retry none

1 similar comment
@vkarak
Copy link
Contributor

vkarak commented Mar 16, 2021

@jenkins-cscs retry none

@vkarak vkarak merged commit 8de06d4 into reframe-hpc:master Mar 16, 2021
@teojgo teojgo deleted the bugfix/local_build_time branch May 21, 2021 11:59
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.

self.build_locally = False doesn't get a --time specification with Slurm based launching.

3 participants