#!/bin/sh export_top_env() { export suite='suspend-stress' export testcase='suspend-stress' export category='functional' export kernel_cmdline='initcall_debug log_buf_len=4M no_console_suspend ignore_loglevel' export iterations=10 export runtime= export rtcwake= export idle_time= export job_origin='/lkp-src/allot/cyclic:power:linux-devel:devel-hourly/lkp-bdwy-lenovo1/suspend-stress-freeze.yaml' export queue_cmdline_keys='branch commit queue_at_least_once' export queue='validate' export testbox='lkp-bdwy-lenovo1' export tbox_group='lkp-bdwy-lenovo1' export kconfig='x86_64-rhel-8.3' export submit_id='6014098d54fb9a4f5b799731' export job_file='/lkp/jobs/scheduled/lkp-bdwy-lenovo1/suspend-stress-10-freeze-debian-x86_64-20180403.cgz-4a8d79901d5bed0812d272c372aa40282937b50f-20210129-20315-6ad47x-1.yaml' export id='1dbc1e88ed238879906e4c06b100bb6fcf297d56' export queuer_version='/lkp-src' export model='Broadwell-Y' export nr_cpu=4 export memory='8G' export swap_partitions='ata-SAMSUNG_MZNTE512HMJH-000L2_S1NRNYAFA00891-part3' export bios_version='A6CN38WW' export ksc_version='A6EC27WW' export hw_version='Lenovo YOGA 3 Pro-1370' export belongs_to='power' export avoid_nfs=1 export need_kconfig='CONFIG_SUSPEND=y CONFIG_HIBERNATION=y CONFIG_PM_DEBUG=y' export commit='4a8d79901d5bed0812d272c372aa40282937b50f' export rootfs='debian-x86_64-20180403.cgz' export need_kconfig_hw='CONFIG_USB_RTL8152=y CONFIG_E1000E=y CONFIG_SATA_AHCI CONFIG_USB_NET_AX8817X=y CONFIG_USB_NET_AX8817X=y CONFIG_USB_NET_AX88179_178A=y CONFIG_USB_RTL8152=y' export enqueue_time='2021-01-29 21:11:41 +0800' export _id='6014098d54fb9a4f5b799731' export _rt='/result/suspend-stress/10-freeze/lkp-bdwy-lenovo1/debian-x86_64-20180403.cgz/x86_64-rhel-8.3/gcc-9/4a8d79901d5bed0812d272c372aa40282937b50f' export user='lkp' export compiler='gcc-9' export LKP_SERVER='internal-lkp-server' export head_commit='747457bafd224bdecbd3724f69a7c471f67e3cb6' export base_commit='6ee1d745b7c9fd573fba142a2efdad76a9f1cb04' export branch='linux-next/master' export result_root='/result/suspend-stress/10-freeze/lkp-bdwy-lenovo1/debian-x86_64-20180403.cgz/x86_64-rhel-8.3/gcc-9/4a8d79901d5bed0812d272c372aa40282937b50f/3' export scheduler_version='/lkp/lkp/.src-20210129-150426' export arch='x86_64' export max_uptime=2100 export initrd='/osimage/debian/debian-x86_64-20180403.cgz' export bootloader_append='root=/dev/ram0 user=lkp job=/lkp/jobs/scheduled/lkp-bdwy-lenovo1/suspend-stress-10-freeze-debian-x86_64-20180403.cgz-4a8d79901d5bed0812d272c372aa40282937b50f-20210129-20315-6ad47x-1.yaml ARCH=x86_64 kconfig=x86_64-rhel-8.3 branch=linux-next/master commit=4a8d79901d5bed0812d272c372aa40282937b50f BOOT_IMAGE=/pkg/linux/x86_64-rhel-8.3/gcc-9/4a8d79901d5bed0812d272c372aa40282937b50f/vmlinuz-5.11.0-rc2-00745-g4a8d79901d5b initcall_debug log_buf_len=4M no_console_suspend ignore_loglevel max_uptime=2100 RESULT_ROOT=/result/suspend-stress/10-freeze/lkp-bdwy-lenovo1/debian-x86_64-20180403.cgz/x86_64-rhel-8.3/gcc-9/4a8d79901d5bed0812d272c372aa40282937b50f/3 LKP_SERVER=internal-lkp-server 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-8.3/gcc-9/4a8d79901d5bed0812d272c372aa40282937b50f/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 repeat_to=4 export queue_at_least_once=1 export kernel='/pkg/linux/x86_64-rhel-8.3/gcc-9/4a8d79901d5bed0812d272c372aa40282937b50f/vmlinuz-5.11.0-rc2-00745-g4a8d79901d5b' export dequeue_time='2021-01-29 21:55:45 +0800' export job_initrd='/lkp/jobs/scheduled/lkp-bdwy-lenovo1/suspend-stress-10-freeze-debian-x86_64-20180403.cgz-4a8d79901d5bed0812d272c372aa40282937b50f-20210129-20315-6ad47x-1.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 mode='freeze' $LKP_SRC/tests/wrapper suspend-stress } extract_stats() { export stats_part_begin= export stats_part_end= $LKP_SRC/stats/wrapper suspend-stress $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper meminfo $LKP_SRC/stats/wrapper time suspend-stress.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 } "$@"