#!/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-29' export tbox_group='vm-snb-yocto-x86_64' export branch='internal-kernel-bkc/staging/dev-bkc-embargoed-181218T223319Z' export commit='27eb1fa9130a98edd2b321d4dbce5c8b244ee7af' export kconfig='x86_64-randconfig-w0-12191707' export repeat_to=4 export submit_id='5c1c0815673d49b9d5b137fc' export job_file='/lkp/jobs/scheduled/vm-snb-yocto-x86_64-29/rcutorture-300s-cpuhotplug-yocto-minimal-x86_64-2016-04-22.cgz-27eb1fa9130a98edd2b321d4dbce5c8b244ee7af-20181221-178645-smcs2s-3.yaml' export id='a572a8a2f32be9eea41fbcad9bef8cf5433f764b' export queuer_version='/lkp/lkp/.src-20181220-111340' 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-21 05:22:29 +0800' export _id='5c1c0815673d49b9d5b137fd' export _rt='/result/rcutorture/300s-cpuhotplug/vm-snb-yocto-x86_64/yocto-minimal-x86_64-2016-04-22.cgz/x86_64-randconfig-w0-12191707/gcc-7/27eb1fa9130a98edd2b321d4dbce5c8b244ee7af' export user='lkp' export result_root='/result/rcutorture/300s-cpuhotplug/vm-snb-yocto-x86_64/yocto-minimal-x86_64-2016-04-22.cgz/x86_64-randconfig-w0-12191707/gcc-7/27eb1fa9130a98edd2b321d4dbce5c8b244ee7af/3' export scheduler_version='/lkp/lkp/.src-20181220-111308' 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-29/rcutorture-300s-cpuhotplug-yocto-minimal-x86_64-2016-04-22.cgz-27eb1fa9130a98edd2b321d4dbce5c8b244ee7af-20181221-178645-smcs2s-3.yaml ARCH=x86_64 kconfig=x86_64-randconfig-w0-12191707 branch=internal-kernel-bkc/staging/dev-bkc-embargoed-181218T223319Z commit=27eb1fa9130a98edd2b321d4dbce5c8b244ee7af BOOT_IMAGE=/pkg/linux/x86_64-randconfig-w0-12191707/gcc-7/27eb1fa9130a98edd2b321d4dbce5c8b244ee7af/vmlinuz-4.20.0-rc1-00065-g27eb1fa rcutorture.fwd_progress=0 max_uptime=1500 RESULT_ROOT=/result/rcutorture/300s-cpuhotplug/vm-snb-yocto-x86_64/yocto-minimal-x86_64-2016-04-22.cgz/x86_64-randconfig-w0-12191707/gcc-7/27eb1fa9130a98edd2b321d4dbce5c8b244ee7af/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-12191707/gcc-7/27eb1fa9130a98edd2b321d4dbce5c8b244ee7af/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-12191707/gcc-7/27eb1fa9130a98edd2b321d4dbce5c8b244ee7af/vmlinuz-4.20.0-rc1-00065-g27eb1fa' export dequeue_time='2018-12-21 05:22:37 +0800' export nr_vm=64 export job_initrd='/lkp/jobs/scheduled/vm-snb-yocto-x86_64-29/rcutorture-300s-cpuhotplug-yocto-minimal-x86_64-2016-04-22.cgz-27eb1fa9130a98edd2b321d4dbce5c8b244ee7af-20181221-178645-smcs2s-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='cpuhotplug' $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 } "$@"