#!/bin/sh export_top_env() { export suite='rcutorture' export testcase='rcutorture' export category='functional' export need_memory='300MB' export runtime=300 export job_origin='/lkp/lkp/.src-20200520-135839/allot/cyclic:p2:linux-devel:devel-hourly/lkp-opteron1/rcutorture.yaml' export queue_cmdline_keys='branch commit queue_at_least_once' export queue='validate' export testbox='lkp-opteron1' export tbox_group='lkp-opteron1' export submit_id='5ec6c66b77eb0b193647beef' export job_file='/lkp/jobs/scheduled/lkp-opteron1/rcutorture-300s-default-tasks-debian-x86_64-20191114.cgz-8e984da3e5752f18c24c39240338fec8c8c9c971-20200522-6454-mc4v1l-8.yaml' export id='bab627dd1741243ab1658212c1a77518315243b2' export queuer_version='/lkp-src' export model='Opteron' export nr_cpu=32 export memory='128G' export nr_hdd_partitions=8 export hdd_partitions='/dev/disk/by-id/ata-WDC_WD60EFRX-68L0BN1_WD-WX31DB5L63TN-part*' export rootfs_partition='/dev/disk/by-id/ata-ST1000DM003-1CH162_Z1DAS0H7-part1' export brand='AMD Opteron(TM) Processor 6276' export need_kconfig='CONFIG_RCU_TORTURE_TEST CONFIG_SECURITY_LOADPIN_ENABLED=n' export commit='8e984da3e5752f18c24c39240338fec8c8c9c971' export need_kconfig_hw='CONFIG_IGB=y CONFIG_SATA_AHCI' export kconfig='x86_64-rhel-7.6' export compiler='gcc-7' export enqueue_time='2020-05-22 02:20:29 +0800' export _id='5ec6c66e77eb0b193647bef5' export _rt='/result/rcutorture/300s-default-tasks/lkp-opteron1/debian-x86_64-20191114.cgz/x86_64-rhel-7.6/gcc-7/8e984da3e5752f18c24c39240338fec8c8c9c971' export user='lkp' export head_commit='d0edf98c01ebe0790295cf888a2976d2d04377b1' export base_commit='b9bbe6ed63b2b9f2c9ee5cbd0f2c946a2723f4ce' export branch='linux-devel/devel-hourly-2020052107' export rootfs='debian-x86_64-20191114.cgz' export result_root='/result/rcutorture/300s-default-tasks/lkp-opteron1/debian-x86_64-20191114.cgz/x86_64-rhel-7.6/gcc-7/8e984da3e5752f18c24c39240338fec8c8c9c971/8' export scheduler_version='/lkp/lkp/.src-20200521-230648' export LKP_SERVER='inn' export arch='x86_64' export max_uptime=1500 export initrd='/osimage/debian/debian-x86_64-20191114.cgz' export bootloader_append='root=/dev/ram0 user=lkp job=/lkp/jobs/scheduled/lkp-opteron1/rcutorture-300s-default-tasks-debian-x86_64-20191114.cgz-8e984da3e5752f18c24c39240338fec8c8c9c971-20200522-6454-mc4v1l-8.yaml ARCH=x86_64 kconfig=x86_64-rhel-7.6 branch=linux-devel/devel-hourly-2020052107 commit=8e984da3e5752f18c24c39240338fec8c8c9c971 BOOT_IMAGE=/pkg/linux/x86_64-rhel-7.6/gcc-7/8e984da3e5752f18c24c39240338fec8c8c9c971/vmlinuz-5.7.0-rc6-00038-g8e984da3e5752 max_uptime=1500 RESULT_ROOT=/result/rcutorture/300s-default-tasks/lkp-opteron1/debian-x86_64-20191114.cgz/x86_64-rhel-7.6/gcc-7/8e984da3e5752f18c24c39240338fec8c8c9c971/8 LKP_SERVER=inn nokaslr selinux=0 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-rhel-7.6/gcc-7/8e984da3e5752f18c24c39240338fec8c8c9c971/modules.cgz' export bm_initrd='/osimage/deps/debian-x86_64-20180403.cgz/run-ipconfig_2018-04-03.cgz,/osimage/deps/debian-x86_64-20180403.cgz/lkp_2019-08-05.cgz,/osimage/deps/debian-x86_64-20180403.cgz/rsync-rootfs_2018-04-03.cgz,/osimage/deps/debian-x86_64-20180403.cgz/hw_2020-01-02.cgz' export lkp_initrd='/osimage/user/lkp/lkp-x86_64.cgz' export site='inn' export LKP_CGI_PORT=80 export LKP_CIFS_PORT=139 export last_kernel='4.20.0' export repeat_to=12 export schedule_notify_address= export queue_at_least_once=1 export kernel='/pkg/linux/x86_64-rhel-7.6/gcc-7/8e984da3e5752f18c24c39240338fec8c8c9c971/vmlinuz-5.7.0-rc6-00038-g8e984da3e5752' export dequeue_time='2020-05-22 03:03:30 +0800' export job_initrd='/lkp/jobs/scheduled/lkp-opteron1/rcutorture-300s-default-tasks-debian-x86_64-20191114.cgz-8e984da3e5752f18c24c39240338fec8c8c9c971-20200522-6454-mc4v1l-8.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' torture_type='tasks' $LKP_SRC/tests/wrapper rcutorture } extract_stats() { export stats_part_begin= export stats_part_end= $LKP_SRC/stats/wrapper rcutorture $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper meminfo $LKP_SRC/stats/wrapper time rcutorture.time $LKP_SRC/stats/wrapper dmesg $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper last_state $LKP_SRC/stats/wrapper stderr $LKP_SRC/stats/wrapper time } "$@"