Skip to content

Commit 0c0d7c5

Browse files
author
Theofilos Manitaras
authored
Merge branch 'master' into bugfix/interactive_crash
2 parents 8f4a3f2 + 984d7b7 commit 0c0d7c5

File tree

13 files changed

+59
-51
lines changed

13 files changed

+59
-51
lines changed

Jenkinsfile

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -120,44 +120,6 @@ stage('Unittest') {
120120
}
121121
}
122122

123-
stage('Public Test') {
124-
if (currentBuild.result != 'SUCCESS') {
125-
println 'Not executing "Public Test" Stage'
126-
return
127-
}
128-
else {
129-
try {
130-
if (!('dom' in machinesToRun)) {
131-
return
132-
}
133-
node('dom') {
134-
def scratch = sh(returnStdout: true,
135-
script: """${loginBash}
136-
echo \$SCRATCH""").trim()
137-
def reframeDir = "${scratch}/${dirPrefix}-dom-${uniqueID}"
138-
dir(reframeDir) {
139-
sh("""${loginBash}
140-
bash ${reframeDir}/$bashScript -f ${reframeDir} -i '' -g""")
141-
}
142-
}
143-
currentBuild.result = "SUCCESS"
144-
} catch(err) {
145-
if (err.toString().contains('exit code 143')) {
146-
currentBuild.result = "ABORTED"
147-
println "The Public Test was cancelled. Aborting....."
148-
}
149-
else if (err.toString().contains('Queue task was cancelled')) {
150-
currentBuild.result = "ABORTED"
151-
println "The Queue task was cancelled. Aborting....."
152-
}
153-
else {
154-
currentBuild.result = "FAILURE"
155-
println "The Public Test failed. Exiting....."
156-
}
157-
}
158-
}
159-
}
160-
161123
builds = [:]
162124
stage('Tutorial Check') {
163125
if (currentBuild.result != 'SUCCESS') {

cscs-checks/apps/cpmd/cpmd_check.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ def __init__(self, scale):
2121
self.valid_systems += ['dom:gpu']
2222
else:
2323
self.num_tasks = 16
24-
self.time_limit = (0, 20, 0)
2524

2625
self.num_tasks_per_node = 1
2726
self.valid_prog_environs = ['PrgEnv-intel']

cscs-checks/apps/paraview/paraview_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def __init__(self):
1616
self.num_tasks_per_node = 12
1717
self.modules = ['ParaView']
1818

19-
self.time_limit = (0, 1, 0)
19+
self.time_limit = '1m'
2020
self.executable = 'pvbatch'
2121
self.executable_opts = ['coloredSphere.py']
2222

cscs-checks/microbenchmarks/spec-accel/spec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def __init__(self, prg_envs):
4242

4343
self.num_tasks = 1
4444
self.num_tasks_per_node = 1
45-
self.time_limit = (0, 30, 0)
45+
self.time_limit = '30m'
4646

4747
self.executable = 'runspec'
4848

cscs-checks/prgenv/mpi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self, required_thread):
4848
}
4949
self.build_system.cppflags = self.cppflags[required_thread]
5050
self.build_system.cppflags += ['-static']
51-
self.time_limit = (0, 1, 0)
51+
self.time_limit = '1m'
5252
found_mpithread = sn.extractsingle(
5353
r'^mpi_thread_required=\w+\s+mpi_thread_supported=\w+'
5454
r'\s+mpi_thread_queried=\w+\s+(?P<result>\d)$',

cscs-checks/system/io/ior_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def __init__(self, base_dir):
101101
# Default umask is 0022, which generates file permissions -rw-r--r--
102102
# we want -rw-rw-r-- so we set umask to 0002
103103
os.umask(2)
104-
self.time_limit = (0, 5, 0)
104+
self.time_limit = '5m'
105105
# Our references are based on fs types but regression needs reference
106106
# per system.
107107
self.reference = {

cscs-checks/system/openstack/s3_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __init__(self):
1515
self.tags = {'ops', 'object_store'}
1616
self.valid_systems = ['dom:gpu', 'daint:gpu']
1717
self.valid_prog_environs = ['PrgEnv-gnu']
18-
self.time_limit = (0, 5, 0)
18+
self.time_limit = '5m'
1919
self.maintainers = ['VH', 'GLR']
2020
self.executable = 's3_test.sh'
2121
self.username = getpass.getuser()

cscs-checks/system/slurm/slurm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def set_slurm_constraint(self):
170170
class MemoryOverconsumptionCheck(SlurmCompiledBaseCheck):
171171
def __init__(self):
172172
super().__init__()
173-
self.time_limit = (0, 1, 0)
173+
self.time_limit = '1m'
174174
self.sourcepath = 'eatmemory.c'
175175
self.tags.add('mem')
176176
self.executable_opts = ['4000M']

cscs-checks/tools/jupyter/jupyter_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __init__(self):
1515
self.valid_prog_environs = ['*']
1616
self.sourcesdir = None
1717
self.executable = 'hostname'
18-
self.time_limit = (0, 1, 0)
18+
self.time_limit = '1m'
1919
self.sanity_patterns = sn.assert_found(r'nid\d+', self.stdout)
2020
self.tags = {'production', 'maintenance'}
2121
self.maintainers = ['RS', 'TR']

reframe/frontend/cli.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import socket
1010
import sys
1111
import traceback
12+
import warnings
1213

1314
import reframe
1415
import reframe.core.config as config
@@ -20,8 +21,8 @@
2021
import reframe.frontend.dependency as dependency
2122
import reframe.utility.os_ext as os_ext
2223
from reframe.core.exceptions import (
23-
ConfigError, EnvironError, ReframeError, ReframeFatalError,
24-
ReframeForceExitError, SystemAutodetectionError
24+
ConfigError, EnvironError, ReframeDeprecationWarning, ReframeError,
25+
ReframeFatalError, ReframeForceExitError, SystemAutodetectionError
2526
)
2627
from reframe.core.exceptions import format_exception
2728
from reframe.frontend.executors import Runner, generate_testcases
@@ -232,6 +233,9 @@ def main():
232233
help='Disable coloring of output')
233234
misc_options.add_argument('--performance-report', action='store_true',
234235
help='Print the performance report')
236+
misc_options.add_argument(
237+
'--no-deprecation-warnings', action='store_true',
238+
help='Suppress deprecation warnings from the framework')
235239

236240
# FIXME: This should move to env_options as soon as
237241
# https://github.com/eth-cscs/reframe/pull/946 is merged
@@ -440,6 +444,9 @@ def main():
440444

441445
printer.debug(argparse.format_options(options))
442446

447+
if options.no_deprecation_warnings:
448+
warnings.filterwarnings('ignore', category=ReframeDeprecationWarning)
449+
443450
# Print command line
444451
printer.info('Command line: %s' % ' '.join(sys.argv))
445452
printer.info('Reframe version: ' + os_ext.reframe_version())

0 commit comments

Comments
 (0)