#!/bin/sh export_top_env() { export suite='igt' export testcase='igt' export category='functional' export job_origin='igt-part5.yaml' export queue_cmdline_keys='branch commit' export queue='validate' export testbox='lkp-skl-d02' export tbox_group='lkp-skl-d02' export kconfig='x86_64-rhel-8.3-func' export submit_id='623647a6b03fb3184bc352fc' export job_file='/lkp/jobs/scheduled/lkp-skl-d02/igt-gem_ctx_create-active-ucode=0xec-debian-10.4-x86_64-20200603.cgz-2ca8e6285250c07a2e5a22ecbfd59b5a4ef73484-20220320-6219-1ll5otb-3.yaml' export id='bdbae1b3e2914262f03a4e35dd0f95a9e82f60de' export queuer_version='/lkp-src' export model='Skylake' export nr_cpu=4 export memory='32G' export nr_ssd_partitions=1 export nr_hdd_partitions=4 export hdd_partitions='/dev/disk/by-id/wwn-0x5000c500746fa0cc-part*' export ssd_partitions='/dev/disk/by-id/wwn-0x55cd2e41514d5105-part2' export rootfs_partition='/dev/disk/by-id/wwn-0x55cd2e41514d5105-part1' export brand='Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz' export commit='2ca8e6285250c07a2e5a22ecbfd59b5a4ef73484' export need_kconfig_hw='{"E1000E"=>"y"} SATA_AHCI DRM_I915' export ucode='0xec' export bisect_dmesg=true export need_memory='25G' export enqueue_time='2022-03-20 05:14:15 +0800' export _id='623647beb03fb3184bc352fe' export _rt='/result/igt/gem_ctx_create-active-ucode=0xec/lkp-skl-d02/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3-func/gcc-9/2ca8e6285250c07a2e5a22ecbfd59b5a4ef73484' export user='lkp' export compiler='gcc-9' export LKP_SERVER='internal-lkp-server' export head_commit='1debb2a782488f2ca374b46b286b7fb036d320bf' export base_commit='09688c0166e76ce2fb85e86b9d99be8b0084cdf9' export branch='rafael-pm/bleeding-edge' export rootfs='debian-10.4-x86_64-20200603.cgz' export result_root='/result/igt/gem_ctx_create-active-ucode=0xec/lkp-skl-d02/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3-func/gcc-9/2ca8e6285250c07a2e5a22ecbfd59b5a4ef73484/3' export scheduler_version='/lkp/lkp/.src-20220319-124249' export arch='x86_64' export max_uptime=2100 export initrd='/osimage/debian/debian-10.4-x86_64-20200603.cgz' export bootloader_append='root=/dev/ram0 RESULT_ROOT=/result/igt/gem_ctx_create-active-ucode=0xec/lkp-skl-d02/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3-func/gcc-9/2ca8e6285250c07a2e5a22ecbfd59b5a4ef73484/3 BOOT_IMAGE=/pkg/linux/x86_64-rhel-8.3-func/gcc-9/2ca8e6285250c07a2e5a22ecbfd59b5a4ef73484/vmlinuz-5.17.0-rc6-00002-g2ca8e6285250 branch=rafael-pm/bleeding-edge job=/lkp/jobs/scheduled/lkp-skl-d02/igt-gem_ctx_create-active-ucode=0xec-debian-10.4-x86_64-20200603.cgz-2ca8e6285250c07a2e5a22ecbfd59b5a4ef73484-20220320-6219-1ll5otb-3.yaml user=lkp ARCH=x86_64 kconfig=x86_64-rhel-8.3-func commit=2ca8e6285250c07a2e5a22ecbfd59b5a4ef73484 max_uptime=2100 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-func/gcc-9/2ca8e6285250c07a2e5a22ecbfd59b5a4ef73484/modules.cgz' export bm_initrd='/osimage/deps/debian-10.4-x86_64-20200603.cgz/run-ipconfig_20200608.cgz,/osimage/deps/debian-10.4-x86_64-20200603.cgz/lkp_20220105.cgz,/osimage/deps/debian-10.4-x86_64-20200603.cgz/rsync-rootfs_20200608.cgz,/osimage/deps/debian-10.4-x86_64-20200603.cgz/igt_20220319.cgz,/osimage/pkg/debian-10.4-x86_64-20200603.cgz/igt-x86_64-0fcd59ad-1_20220319.cgz,/osimage/deps/debian-10.4-x86_64-20200603.cgz/hw_20200715.cgz' export ucode_initrd='/osimage/ucode/intel-ucode-20220216.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='5.17.0-rc8-wt-ath-06719-g1debb2a78248' export repeat_to=6 export schedule_notify_address= export kernel='/pkg/linux/x86_64-rhel-8.3-func/gcc-9/2ca8e6285250c07a2e5a22ecbfd59b5a4ef73484/vmlinuz-5.17.0-rc6-00002-g2ca8e6285250' export dequeue_time='2022-03-20 05:41:50 +0800' export job_initrd='/lkp/jobs/scheduled/lkp-skl-d02/igt-gem_ctx_create-active-ucode=0xec-debian-10.4-x86_64-20200603.cgz-2ca8e6285250c07a2e5a22ecbfd59b5a4ef73484-20220320-6219-1ll5otb-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 group='gem_ctx_create' test='active' $LKP_SRC/tests/wrapper igt } extract_stats() { export stats_part_begin= export stats_part_end= env group='gem_ctx_create' test='active' $LKP_SRC/stats/wrapper igt $LKP_SRC/stats/wrapper kmsg $LKP_SRC/stats/wrapper meminfo $LKP_SRC/stats/wrapper time igt.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 } "$@"