<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Hi,</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>I am trying run ltp on x86 with 5.3.0 but i am getting following errors for zram01,zram02,zram3<br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>DISTRIB_ID=Ubuntu<br>
</span>
<div>DISTRIB_RELEASE=18.04<br>
</div>
<div>DISTRIB_CODENAME=bionic<br>
</div>
<div>DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"<br>
</div>
<div>NAME="Ubuntu"<br>
</div>
<div>VERSION="18.04.4 LTS (Bionic Beaver)"<br>
</div>
<div>ID=ubuntu<br>
</div>
<div>ID_LIKE=debian<br>
</div>
<div>PRETTY_NAME="Ubuntu 18.04.4 LTS"<br>
</div>
<div>VERSION_ID="18.04"<br>
</div>
<div>HOME_URL="https://www.ubuntu.com/"<br>
</div>
<div>SUPPORT_URL="https://help.ubuntu.com/"<br>
</div>
<div>BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"<br>
</div>
<div>PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"<br>
</div>
<div>VERSION_CODENAME=bionic<br>
</div>
<div>UBUNTU_CODENAME=bionic<br>
</div>
<div><br>
</div>
<div>uname:<br>
</div>
<div>Linux pankajjoshi 5.3.0-45-generic #37~18.04.1-Ubuntu SMP Fri Mar 27 15:58:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux<br>
</div>
<div><br>
</div>
<div>/proc/cmdline<br>
</div>
<div>BOOT_IMAGE=/boot/vmlinuz-5.3.0-45-generic root=UUID=f56ebd1c-40eb-4995-a23e-afd3aa727650 ro quiet splash vt.handoff=1<br>
</div>
<div><br>
</div>
<div>Gnu C gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0<br>
</div>
<div>Clang <br>
</div>
<div>Gnu make 4.1<br>
</div>
<div>util-linux 2.31.1<br>
</div>
<div>mount linux 2.31.1 (libmount 2.31.1: selinux, btrfs, assert, debug)<br>
</div>
<div>modutils 24<br>
</div>
<div>e2fsprogs 1.44.1<br>
</div>
<div>PPP 2.4.7<br>
</div>
<div>Linux C Library > libc.2.27<br>
</div>
<div>Dynamic linker (ldd) 2.27<br>
</div>
<div>Procps 3.3.12<br>
</div>
<div>Net-tools 2.10-alpha<br>
</div>
<div>iproute2 iproute2-ss180129<br>
</div>
<div>iputils iputils-s20161105<br>
</div>
<div>Kbd 2.0.4<br>
</div>
<div>Sh-utils 8.28<br>
</div>
<div>Modules Loaded ntfs n_gsm caif_serial pps_ldisc slcan ppp_synctty n_hdlc mkiss ax25 ppp_async slip serport snd_seq_dummy binfmt_misc rfcomm btrfs xor zstd_compress raid6_pq xfs libcrc32c zram ccm cmac bnep nls_iso8859_1 x86_pkg_temp_thermal intel_powerclamp
coretemp kvm_intel joydev kvm irqbypass mei_hdcp hid_multitouch intel_rapl_msr crct10dif_pclmul crc32_pclmul ghash_clmulni_intel dell_laptop dell_smm_hwmon aesni_intel aes_x86_64 snd_soc_skl snd_soc_hdac_hda snd_hda_codec_hdmi snd_hda_ext_core snd_soc_skl_ipc
crypto_simd cryptd glue_helper snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match ath10k_pci snd_soc_acpi snd_hda_codec_realtek snd_hda_codec_generic ath10k_core intel_cstate ath snd_soc_core uvcvideo ledtrig_audio intel_rapl_perf snd_compress ac97_bus
videobuf2_vmalloc mac80211 videobuf2_memops snd_pcm_dmaengine videobuf2_v4l2 i915 videobuf2_common cfg80211 videodev mc btusb rtsx_usb_ms btrtl btbcm libarc4 btintel memstick drm_kms_helper bluetooth snd_hda_intel snd_intel_nhlt drm ecdh_generic i2c_algo_bit
fb_sys_fops syscopyarea ecc snd_hda_codec sysfillrect input_leds serio_raw dell_wmi snd_hda_core sysimgblt dell_smbios dcdbas wmi_bmof dell_wmi_descriptor snd_hwdep snd_pcm snd_seq_midi acpi_pad mei_me snd_seq_midi_event intel_xhci_usb_role_switch roles snd_rawmidi
mei snd_seq idma64 mac_hid intel_hid snd_seq_device snd_timer snd virt_dma soundcore int3403_thermal sparse_keymap intel_lpss_pci intel_lpss processor_thermal_device intel_rapl_common intel_soc_dts_iosf int3400_thermal acpi_thermal_rel intel_pch_thermal int3402_thermal
int340x_thermal_zone sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 rtsx_usb_sdmmc hid_generic rtsx_usb usbhid i2c_hid psmouse r8169 ahci realtek libahci wmi hid pinctrl_sunrisepoint pinctrl_intel video<br>
</div>
<div><br>
</div>
<div>free reports:<br>
</div>
<div> total used free shared buff/cache available<br>
</div>
<div>Mem: 16296708 2524572 2326052 383432 11446084 13047448<br>
</div>
<div>Swap: 2097148 123648 1973500<br>
</div>
<div><br>
</div>
<div>cpuinfo:<br>
</div>
<div>Architecture: x86_64<br>
</div>
<div>CPU op-mode(s): 32-bit, 64-bit<br>
</div>
<div>Byte Order: Little Endian<br>
</div>
<div>CPU(s): 4<br>
</div>
<div>On-line CPU(s) list: 0-3<br>
</div>
<div>Thread(s) per core: 2<br>
</div>
<div>Core(s) per socket: 2<br>
</div>
<div>Socket(s): 1<br>
</div>
<div>NUMA node(s): 1<br>
</div>
<div>Vendor ID: GenuineIntel<br>
</div>
<div>CPU family: 6<br>
</div>
<div>Model: 142<br>
</div>
<div>Model name: Intel(R) Core(TM) i3-7020U CPU @ 2.30GHz<br>
</div>
<div>Stepping: 9<br>
</div>
<div>CPU MHz: 2300.141<br>
</div>
<div>CPU max MHz: 2300.0000<br>
</div>
<div>CPU min MHz: 400.0000<br>
</div>
<div>BogoMIPS: 4599.93<br>
</div>
<div>Virtualization: VT-x<br>
</div>
<div>L1d cache: 32K<br>
</div>
<div>L1i cache: 32K<br>
</div>
<div>L2 cache: 256K<br>
</div>
<div>L3 cache: 3072K<br>
</div>
<div>NUMA node0 CPU(s): 0-3<br>
</div>
<div>Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf
pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi
flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d<br>
</div>
<div><br>
</div>
<div>AppArmor enabled<br>
</div>
<div>apparmor module is loaded.<br>
</div>
<div>37 profiles are loaded.<br>
</div>
<div>35 profiles are in enforce mode.<br>
</div>
<div> /sbin/dhclient<br>
</div>
<div> /snap/core/8935/usr/lib/snapd/snap-confine<br>
</div>
<div> /snap/core/8935/usr/lib/snapd/snap-confine//mount-namespace-capture-helper<br>
</div>
<div> /usr/bin/evince<br>
</div>
<div> /usr/bin/evince-previewer<br>
</div>
<div> /usr/bin/evince-previewer//sanitized_helper<br>
</div>
<div> /usr/bin/evince-thumbnailer<br>
</div>
<div> /usr/bin/evince//sanitized_helper<br>
</div>
<div> /usr/bin/man<br>
</div>
<div> /usr/lib/NetworkManager/nm-dhcp-client.action<br>
</div>
<div> /usr/lib/NetworkManager/nm-dhcp-helper<br>
</div>
<div> /usr/lib/connman/scripts/dhclient-script<br>
</div>
<div> /usr/lib/cups/backend/cups-pdf<br>
</div>
<div> /usr/lib/snapd/snap-confine<br>
</div>
<div> /usr/lib/snapd/snap-confine//mount-namespace-capture-helper<br>
</div>
<div> /usr/sbin/cups-browsed<br>
</div>
<div> /usr/sbin/cupsd<br>
</div>
<div> /usr/sbin/cupsd//third_party<br>
</div>
<div> /usr/sbin/ippusbxd<br>
</div>
<div> /usr/sbin/tcpdump<br>
</div>
<div> libreoffice-senddoc<br>
</div>
<div> libreoffice-soffice//gpg<br>
</div>
<div> libreoffice-xpdfimport<br>
</div>
<div> man_filter<br>
</div>
<div> man_groff<br>
</div>
<div> snap-update-ns.core<br>
</div>
<div> snap-update-ns.gnome-calculator<br>
</div>
<div> snap-update-ns.gnome-characters<br>
</div>
<div> snap-update-ns.gnome-logs<br>
</div>
<div> snap-update-ns.gnome-system-monitor<br>
</div>
<div> snap.core.hook.configure<br>
</div>
<div> snap.gnome-calculator.gnome-calculator<br>
</div>
<div> snap.gnome-characters.gnome-characters<br>
</div>
<div> snap.gnome-logs.gnome-logs<br>
</div>
<div> snap.gnome-system-monitor.gnome-system-monitor<br>
</div>
<div>2 profiles are in complain mode.<br>
</div>
<div> libreoffice-oopslash<br>
</div>
<div> libreoffice-soffice<br>
</div>
<div>4 processes have profiles defined.<br>
</div>
<div>4 processes are in enforce mode.<br>
</div>
<div> /sbin/dhclient (1051) <br>
</div>
<div> /sbin/dhclient (1123) <br>
</div>
<div> /usr/sbin/cups-browsed (9147) <br>
</div>
<div> /usr/sbin/cupsd (9146) <br>
</div>
<div>0 processes are in complain mode.<br>
</div>
<div>0 processes are unconfined but have a profile defined.<br>
</div>
<div><br>
</div>
<div>SELinux mode: unknown<br>
</div>
<div>no big block device was specified on commandline.<br>
</div>
<div>Tests which require a big block device are disabled.<br>
</div>
<div>You can specify it with option -z<br>
</div>
<div>COMMAND: /opt/ltp/bin/ltp-pan -e -S -a 14168 -n 14168 -p -f /tmp/ltp-sSwnaYNEDL/alltests -l /opt/ltp/results/LTP_RUN_ON-2020_04_06-19h_44m_15s.log -C /opt/ltp/output/LTP_RUN_ON-2020_04_06-19h_44m_15s.failed -T /opt/ltp/output/LTP_RUN_ON-2020_04_06-19h_44m_15s.tconf<br>
</div>
<div>INFO: Restricted to zram01<br>
</div>
<div>LOG File: /opt/ltp/results/LTP_RUN_ON-2020_04_06-19h_44m_15s.log<br>
</div>
<div>FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2020_04_06-19h_44m_15s.failed<br>
</div>
<div>TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-2020_04_06-19h_44m_15s.tconf<br>
</div>
<div>Running tests.......<br>
</div>
<div><<<test_start>>><br>
</div>
<div>tag=zram01 stime=1586182456<br>
</div>
<div><b>cmdline="zram01.sh"<br>
</b></div>
<div><b>contacts=""<br>
</b></div>
<div><b>analysis=exit<br>
</b></div>
<div><b><<<test_output>>><br>
</b></div>
<div><b>zram01 1 TINFO: timeout per run is 0h 5m 0s<br>
</b></div>
<div><b>zram01 1 TINFO: create '4' zram device(s)<br>
</b></div>
<div><b>zram01 1 TPASS: test succeeded<br>
</b></div>
<div><b>zram01 1 TCONF: The device attribute max_comp_streams was introduced in kernel 3.15 and deprecated in 4.7<br>
</b></div>
<div><b>zram01 2 TINFO: test that we can set compression algorithm<br>
</b></div>
<div><b>zram01 2 TINFO: supported algs: lzo lzo-rle lz4 lz4hc 842 zstd <br>
</b></div>
<div><b>sh: echo: I/O error<br>
</b></div>
<div><b>zram01 2 TFAIL: can't set 'lzo' to /sys/block/zram0/comp_algorithm<br>
</b></div>
<div><b>sh: echo: I/O error<br>
</b></div>
<div><b>sh: echo: I/O error<br>
</b></div>
<div><b>sh: echo: I/O error<br>
</b></div>
<div><b>sh: echo: I/O error<br>
</b></div>
<div><b>zram01 2 TINFO: AppArmor enabled, this may affect test results<br>
</b></div>
<div><b>zram01 2 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 (requires super/root)<br>
</b></div>
<div><b>zram01 2 TINFO: loaded AppArmor profiles: none<br>
</b></div>
<div><b><br>
</b></div>
<div><b>Summary:<br>
</b></div>
<div><b>passed 1<br>
</b></div>
<div><b>failed 1<br>
</b></div>
<b><span>skipped 1</span></b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b><span><br>
</span></b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b><span></span></b><span>Running tests.......<br>
</span>
<div><<<test_start>>><br>
</div>
<div>tag=zram02 stime=1586184287<br>
</div>
<div>cmdline="zram02.sh"<br>
</div>
<div>contacts=""<br>
</div>
<div>analysis=exit<br>
</div>
<div><<<test_output>>><br>
</div>
<div><b>zram02 1 TINFO: timeout per run is 0h 5m 0s<br>
</b></div>
<div><b>zram02 1 TINFO: create '1' zram device(s)<br>
</b></div>
<div><b>zram02 1 TFAIL: unexpected num of devices: 4<br>
</b></div>
<div><b>sh: echo: I/O error<br>
</b></div>
<div><b>zram02 1 TINFO: AppArmor enabled, this may affect test results<br>
</b></div>
<div><b>zram02 1 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 (requires super/root)<br>
</b></div>
<div><b>zram02 1 TINFO: loaded AppArmor profiles: none<br>
</b></div>
<div><b><br>
</b></div>
<div><b>Summary:<br>
</b></div>
<div><b>passed 0<br>
</b></div>
<div><b>failed 1<br>
</b></div>
<div><b>skipped 0<br>
</b></div>
<div><b>warnings 0<br>
</b></div>
<div><b>incrementing stop<br>
</b></div>
<b><span><<<execution_status>>></span></b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b><span><br>
</span></b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b><span><span>unning tests.......<br>
</span>
<div><<<test_start>>><br>
</div>
<div>tag=zram03 stime=1586184558<br>
</div>
<div>cmdline="zram03"<br>
</div>
<div>contacts=""<br>
</div>
<div>analysis=exit<br>
</div>
<div><<<test_output>>><br>
</div>
<div>zram03 0 TINFO : create a zram device with 536870912 bytes in size.<br>
</div>
<div>zram03 1 TBROK : safe_file_ops.c:301: Failed to close FILE '/sys/block/zram0/disksize' at zram03.c:87: errno=EBUSY(16): Device or resource busy<br>
</div>
<div>zram03 2 TBROK : safe_file_ops.c:301: Remaining cases broken<br>
</div>
<div>incrementing stop<br>
</div>
<div><<<execution_status>>><br>
</div>
<div>initiation_status="ok"<br>
</div>
<div>duration=0 termination_type=exited termination_id=2 corefile=no<br>
</div>
<div>cutime=0 cstime=0<br>
</div>
<div><<<test_end>>><br>
</div>
<div>INFO: ltp-pan reported some tests FAIL<br>
</div>
<div>LTP Version: 20200120-31-g452c5132d<br>
</div>
<div><br>
</div>
<div> ###############################################################<br>
</div>
<div><br>
</div>
<div> Done executing testcases.<br>
</div>
<div> LTP Version: 20200120-31-g452c5132d<br>
</div>
<span> #############################################</span></span></b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
what could the reason that all zram related tests are getting failed??</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks !<br>
</div>
</body>
</html>