projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jjb: lava: kprobe-fuzzing: Add random seed param for generation script
[lttng-ci.git]
/
scripts
/
system-tests
/
lava-submit.py
diff --git
a/scripts/system-tests/lava-submit.py
b/scripts/system-tests/lava-submit.py
index 682e2249e11cc7fe5229baf081330a6e564059fe..7de270335a1e47a03eaaaa2efbded257b023e872 100644
(file)
--- a/
scripts/system-tests/lava-submit.py
+++ b/
scripts/system-tests/lava-submit.py
@@
-18,6
+18,7
@@
import argparse
import base64
import json
import os
import base64
import json
import os
+import random
import sys
import time
import xmlrpc.client
import sys
import time
import xmlrpc.client
@@
-269,6
+270,7
@@
def get_kvm_tests_cmd():
return command
def get_kprobes_generate_data_cmd():
return command
def get_kprobes_generate_data_cmd():
+ random_seed = random.randint(0, 1000000)
command = OrderedDict({
'command': 'lava_test_shell',
'parameters': {
command = OrderedDict({
'command': 'lava_test_shell',
'parameters': {
@@
-276,7
+278,8
@@
def get_kprobes_generate_data_cmd():
{
'git-repo': 'https://github.com/lttng/lttng-ci.git',
'revision': 'master',
{
'git-repo': 'https://github.com/lttng/lttng-ci.git',
'revision': 'master',
- 'testdef': 'lava/system-tests/kprobe-fuzzing-generate-data.yml'
+ 'testdef': 'lava/system-tests/kprobe-fuzzing-generate-data.yml',
+ 'parameters': { 'RANDOM_SEED': str(random_seed) }
}
],
'timeout': 60
}
],
'timeout': 60
This page took
0.02365 seconds
and
4
git commands to generate.