Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
- url: https://github.com/lttng/lttng-ci
destination: ci
branch: master
+params:
+ RANDOM_SEED=12345
run:
steps:
- cd ci/
- - lava-test-case generate-fuzzing-data --shell "python3 ./scripts/system-tests/run-kprobe-generate-instr-points.py $((1 + RANDOM))"
+ - lava-test-case generate-fuzzing-data --shell "python3 ./scripts/system-tests/run-kprobe-generate-instr-points.py $RANDOM_SEED"
- sync
import base64
import json
import os
+import random
import sys
import time
import xmlrpc.client
return command
def get_kprobes_generate_data_cmd():
+ random_seed = random.randint(0, 1000000)
command = OrderedDict({
'command': 'lava_test_shell',
'parameters': {
{
'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