Megatest

Check-in [827994d606]
Login
Overview
Comment:Improved utilization on openlava
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | v1.60
Files: files | file ages | folders
SHA1: 827994d606677cb63ed505503a65a68caed96b10
User & Date: matt on 2015-06-11 00:17:34
Other Links: branch diff | manifest | tags
Context
2015-06-11
09:01
Minor deps ordering change in Makefile check-in: 5067eda27e user: mrwellan tags: v1.60
00:17
Improved utilization on openlava check-in: 827994d606 user: matt tags: v1.60
2015-06-10
09:53
Added rollup test check-in: 016954b92a user: mrwellan tags: v1.60
Changes

Modified bin/sleeprunner from [7ef4797782] to [64ce489f3b].

1
2
3
4

5
6
7
1
2
3

4
5
6
7



-
+



#!/bin/bash 

if [[ $SLEEPRUNNER == "" ]];then
SLEEPRUNNER=1
SLEEPRUNNER=0
fi
  
echo "nbfake $@ &> /dev/null" | at now + $SLEEPRUNNER minutes &> /dev/null

Modified tests/fullrun/megatest.config from [cf2fd6ec33] to [3bc8922817].

142
143
144
145
146
147
148
149

150
151
152
153
154
155
156
142
143
144
145
146
147
148

149
150
151
152
153
154
155
156







-
+








# XTERM   [system xterm]
# RUNDEAD [system exit 56]

[server]

# force use of server always
# required yes
required yes

# Use http instead of direct filesystem access
transport http
# transport fs
# transport nmsg

synchronous 0
227
228
229
230
231
232
233
234
235
236
237




238
239


240
241
242
243
244
245
246






227
228
229
230
231
232
233




234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254







-
-
-
-
+
+
+
+


+
+







+
+
+
+
+
+
#  <testsuite>/<creationdate>
# Within the archive the data is structured like this:
#  <target>/<runname>/<test>/
disk0 /tmp/#{getenv USER}/adisk1

# Uncomment these to emulate a job queue with a long time (look in bin/sleeprunner for the time)
[jobtools]
launcher #{scheme (case (string->symbol (conc (getenv "datapath"))) \
                      ((none) "nbfake") \
                      ((openlava) "bsub") \
                      (else "sleeprunner"))}
# launcher #{ scheme (case (string->symbol (conc (getenv "datapath"))) \
#                         ((none) "nbfake") \
#                         ((openlava) "bsub") \
#                         (else "sleeprunner"))}

# launcher bsub -q priority -o $MT_TEST_RUN_DIR/openlava.log 

launcher #{shell if which bsub > /dev/null;then echo bsub -q priority -o openlava.log;else echo sleeprunner;fi}

[configf:settings trim-trailing-spaces yes]

[test]
# VAL1 has trailing spaces
VAL1 Foo    
VAL2 ==>#{get test VAL1}Bar<== no spaces between Foo and Bar to pass

ltest #{scheme (case (string->symbol (conc (getenv "datapath"))) \
                        ((none) "nbfake") \
                        ((openlava) "bsub") \
                        (else "sleeprunner"))}

Modified tests/release/megatest.config from [6edb87b36e] to [0bf84b11be].

1
2
3
4
5
6
7
8
9
10
11
12

13
14
15



16
17
18
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22












+



+
+
+



[fields]
release TEXT
iteration TEXT

[setup]
linktree #{getenv MT_RUN_AREA_HOME}/links
max_concurrent_jobs 100
logviewer (%MTCMD%) 2> /dev/null > /dev/null
# htmlviewercmd firefox -new-window 
htmlviewercmd arora

[jobtools]
# launcher #{shell if which bsub > /dev/null;then echo bsub;else echo nbfake;fi}
launcher nbfake
maxload 2.5

[server]
required yes

[disks]
disk0 #{getenv MT_RUN_AREA_HOME}/runs