#!/bin/sh export_top_env() { export suite='rcutorture' export testcase='rcutorture' export category='functional' export need_memory='512M' export runtime=300 export kernel_cmdline='rcutorture.fwd_progress=0' export job_origin='/lkp/lkp/src/allot/rand/vm-snb-yocto-x86_64/rcutorture.yaml' export queue='validate' export testbox='vm-snb-yocto-x86_64-3' export tbox_group='vm-snb-yocto-x86_64' export branch='linus/master' export commit='ec7d9c9ce897174243af4fcd201dbfc34df0f3a3' export kconfig='x86_64-randconfig-w0-12191842' export repeat_to=4 export submit_id='5c1ab7fc0b9a934165fac20b' export job_file='/lkp/jobs/scheduled/vm-snb-yocto-x86_64-3/rcutorture-300s-default-yocto-minimal-x86_64-2016-04-22.cgz-ec7d9c9ce897174243af4fcd201dbfc34df0f3a3-20181220-16741-19ev6m9-3.yaml' export id='6d4e2151369380a4412d087f068b34cd603bcebc' export queuer_version='/lkp/lkp/.src-20181219-170004' export need_kconfig='CONFIG_RCU_TORTURE_TEST=m CONFIG_SECURITY_LOADPIN_ENABLED=n CONFIG_MODULE_COMPRESS=n CONFIG_RCU_PERF_TEST=m CONFIG_LOCK_TORTURE_TEST=m CONFIG_KVM_GUEST=y' export compiler='gcc-7' export enqueue_time='2018-12-20 05:28:28 +0800' export _id='5c1ab7fc0b9a934165fac20c' export _rt='/result/rcutorture/300s-default/vm-snb-yocto-x86_64/yocto-minimal-x86_64-2016-04-22.cgz/x86_64-randconfig-w0-12191842/gcc-7/ec7d9c9ce897174243af4fcd201dbfc34df0f3a3' export user='lkp' export result_root='/result/rcutorture/300s-default/vm-snb-yocto-x86_64/yocto-minimal-x86_64-2016-04-22.cgz/x86_64-randconfig-w0-12191842/gcc-7/ec7d9c9ce897174243af4fcd201dbfc34df0f3a3/3' export scheduler_version='/lkp/lkp/.src-20181219-170004' export LKP_SERVER='inn' export max_uptime=1500 export initrd='/osimage/yocto/yocto-minimal-x86_64-2016-04-22.cgz' export bootloader_append='root=/dev/ram0 user=lkp job=/lkp/jobs/scheduled/vm-snb-yocto-x86_64-3/rcutorture-300s-default-yocto-minimal-x86_64-2016-04-22.cgz-ec7d9c9ce897174243af4fcd201dbfc34df0f3a3-20181220-16741-19ev6m9-3.yaml ARCH=x86_64 kconfig=x86_64-randconfig-w0-12191842 branch=linus/master commit=ec7d9c9ce897174243af4fcd201dbfc34df0f3a3 BOOT_IMAGE=/pkg/linux/x86_64-randconfig-w0-12191842/gcc-7/ec7d9c9ce897174243af4fcd201dbfc34df0f3a3/vmlinuz-4.17.0-rc5-00040-gec7d9c9 rcutorture.fwd_progress=0 max_uptime=1500 RESULT_ROOT=/result/rcutorture/300s-default/vm-snb-yocto-x86_64/yocto-minimal-x86_64-2016-04-22.cgz/x86_64-randconfig-w0-12191842/gcc-7/ec7d9c9ce897174243af4fcd201dbfc34df0f3a3/3 LKP_SERVER=inn debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 net.ifnames=0 printk.devkmsg=on panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 drbd.minor_count=8 systemd.log_level=err ignore_loglevel console=tty0 earlyprintk=ttyS0,115200 console=ttyS0,115200 vga=normal rw' export modules_initrd='/pkg/linux/x86_64-randconfig-w0-12191842/gcc-7/ec7d9c9ce897174243af4fcd201dbfc34df0f3a3/modules.cgz' export lkp_initrd='/lkp/lkp/lkp-x86_64.cgz' export site='inn' export LKP_CGI_PORT=80 export LKP_CIFS_PORT=139 export model='qemu-system-x86_64 -enable-kvm -cpu SandyBridge' export nr_cpu=2 export memory='768M' export rootfs='yocto-minimal-x86_64-2016-04-22.cgz' export hdd_partitions='/dev/vda' export swap_partitions='/dev/vdb' export kernel='/pkg/linux/x86_64-randconfig-w0-12191842/gcc-7/ec7d9c9ce897174243af4fcd201dbfc34df0f3a3/vmlinuz-4.17.0-rc5-00040-gec7d9c9' export dequeue_time='2018-12-20 05:29:09 +0800' export nr_vm=64 export job_initrd='/lkp/jobs/scheduled/vm-snb-yocto-x86_64-3/rcutorture-300s-default-yocto-minimal-x86_64-2016-04-22.cgz-ec7d9c9ce897174243af4fcd201dbfc34df0f3a3-20181220-16741-19ev6m9-3.cgz' [ -n "$LKP_SRC" ] || export LKP_SRC=/lkp/${user:-lkp}/src } run_job() { echo $$ > $TMP/run-job.pid . $LKP_SRC/lib/http.sh . $LKP_SRC/lib/job.sh . $LKP_SRC/lib/env.sh export_top_env run_monitor $LKP_SRC/monitors/wrapper kmsg run_monitor $LKP_SRC/monitors/wrapper heartbeat run_monitor $LKP_SRC/monitors/wrapper meminfo run_monitor $LKP_SRC/monitors/wrapper oom-killer run_monitor $LKP_SRC/monitors/plain/watchdog run_test test='default' $LKP_SRC/tests/wrapper rcutorture } extract_stats() { $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper meminfo $LKP_SRC/stats/wrapper time rcutorture.time $LKP_SRC/stats/wrapper time $LKP_SRC/stats/wrapper dmesg $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper stderr $LKP_SRC/stats/wrapper last_state } "$@"