power_management tests on riscv64
Hi, I have tried to run power management tests on riscv64 arch, know that its not supported on this arch. Is there any way I can these tests run on riscv64? test log
INFO: no command files were provided. Executing following runtest scenario files: syscalls fs fs_perms_simple dio io mm ipc irq sched math nptl pty containers fs_bind controllers filecaps cap_bounds fcntl-locktests power_management_tests hugetlb commands hyperthreading can cpuhotplug
Checking for required user/group ids
'root' user id and group found. 'nobody' user id and group found. 'bin' user id and group found. 'daemon' user id and group found. Users group found. Sys group found. Required users/groups exist. If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes.
/etc/os-release ID=riscv-linux NAME="riscv-linux" VERSION="riscv" VERSION_ID=riscv
uname: Linux 5.10.41#1 SMP Tue May 14 12:33:27 UTC 2024 riscv64 riscv64 riscv64 GNU/Linux
/proc/cmdline console=ttyS0,115200n8 earlycon root=/dev/sda1 rootwait rw rdinit=/sbin/init
Gnu C gcc (GCC) 10.1.0 Clang
Gnu make 4.3 util-linux 2.35.1 mount linux 2.35.1 (libmount 2.35.1: btrfs, namespaces, assert, debug) modutils 26 e2fsprogs 1.45.6 Linux C Library > libc.2.31 Dynamic linker (ldd) 2.31 Linux C++ Library 6.0.28 Procps 3.3.16 Net-tools 2.10-alpha iproute2 iproute2-ss200127 iputils s20200821 ethtool 5.8 Kbd 2.2.0 Sh-utils 8.32 Modules Loadedcpuinfo: Architecture: riscv64 Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 4 Core(s) per socket: 1 Socket(s): 1 CPU MHz: 1800 L1d cache: 32 KiB L1i cache: 32 KiB L2 cache: 1 MiB
free reports: total used free shared buff/cache available Mem: 7673712 86152 3943584 10004 3643976 7513632 Swap: 0 0 0
memory (/proc/meminfo): MemTotal: 7673712 kB MemFree: 3943584 kB MemAvailable: 7513632 kB Buffers: 42180 kB Cached: 3504716 kB SwapCached: 0 kB Active: 169056 kB Inactive: 3389048 kB Active(anon): 360 kB Inactive(anon): 20848 kB Active(file): 168696 kB Inactive(file): 3368200 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 4 kB Writeback: 0 kB AnonPages: 11268 kB Mapped: 16804 kB Shmem: 10004 kB KReclaimable: 97080 kB Slab: 129928 kB SReclaimable: 97080 kB SUnreclaim: 32848 kB KernelStack: 1872 kB PageTables: 764 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 3836856 kB Committed_AS: 153272 kB VmallocTotal: 67108863 kB VmallocUsed: 540 kB VmallocChunk: 0 kB Percpu: 1248 kB CmaTotal: 786432 kB CmaFree: 776732 kB
available filesystems: autofs bdev bpf btrfs cgroup cgroup2 cpuset debugfs devpts devtmpfs ext3 ext4 mqueue msdos nfs nfs4 nfsd ntfs overlay pipefs proc ramfs rpc_pipefs sockfs sysfs tmpfs tracefs vfat
mounted filesystems (/proc/mounts): /dev/root / ext4 rw,relatime 0 0 devtmpfs /dev devtmpfs rw,relatime,size=3443488k,nr_inodes=860872,mode=755 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 proc /proc proc rw,relatime 0 0 tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0 devpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=666 0 0 tmpfs /run tmpfs rw,nosuid,nodev,mode=755 0 0 tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0 cgroup2 /sys/fs/cgroup/unified cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0 cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd 0 0 none /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0 cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0 cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0 cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0 cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0 cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0 cgroup /sys/fs/cgroup/net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_prio 0 0 cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0 cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0 cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0 mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0 debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0 tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0 tmpfs /tmp tmpfs rw,nosuid,nodev 0 0 nfsd /proc/fs/nfsd nfsd rw,relatime 0 0 tmpfs /var/volatile tmpfs rw,relatime 0 0
mounted filesystems (df): Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 27G 6.4G 19G 26% / devtmpfs devtmpfs 3.3G 0 3.3G 0% /dev tmpfs tmpfs 3.7G 0 3.7G 0% /dev/shm tmpfs tmpfs 3.7G 9.7M 3.7G 1% /run tmpfs tmpfs 3.7G 0 3.7G 0% /sys/fs/cgroup tmpfs tmpfs 3.7G 84K 3.7G 1% /tmp tmpfs tmpfs 3.7G 0 3.7G 0% /var/volatile
AppArmor disabled
SELinux mode: unknown no big block device was specified on commandline. Tests which require a big block device are disabled. You can specify it with option -z COMMAND: /opt/ltp/bin/ltp-pan -e -S -a 27103 -n 27103 -p -f /tmp/ltp-eWhf7LsdnO/alltests -l /opt/ltp/results/LTP_RUN_ON-2030_01_06-15h_36m_51s.log -C /opt/ltp/output/LTP_RUN_ON-2030_01_06-15f INFO: Restricted to runpwtests LOG File: /opt/ltp/results/LTP_RUN_ON-2030_01_06-15h_36m_51s.log FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2030_01_06-15h_36m_51s.failed TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-2030_01_06-15h_36m_51s.tconf Running tests....... <<<test_start>>> tag=runpwtests01 stime=1893924412 cmdline="runpwtests01.sh" contacts="" analysis=exit <<<test_output>>> Power_Management01 1 TCONF: Arch not supported; not running testcases <<<execution_status>>> initiation_status="ok" duration=0 termination_type=exited termination_id=32 corefile=no cutime=2 cstime=2 <<<test_end>>> <<<test_start>>> tag=runpwtests02 stime=1893924412 cmdline="runpwtests02.sh" contacts="" analysis=exit <<<test_output>>> Power_Management02 1 TCONF: Arch not supported; not running testcases <<<execution_status>>> initiation_status="ok" duration=0 termination_type=exited termination_id=32 corefile=no cutime=3 cstime=1 <<<test_end>>> <<<test_start>>> tag=runpwtests03 stime=1893924412 cmdline="runpwtests03.sh" contacts="" analysis=exit <<<test_output>>> Power_Management03 1 TCONF: Arch not supported; not running testcases <<<execution_status>>> initiation_status="ok" duration=0 termination_type=exited termination_id=32 corefile=no cutime=3 cstime=2 <<<test_end>>> <<<test_start>>> tag=runpwtests04 stime=1893924412 cmdline="runpwtests04.sh" contacts="" analysis=exit <<<test_output>>> Power_Management04 1 TCONF: Arch not supported; not running testcases <<<execution_status>>> initiation_status="ok" duration=1 termination_type=exited termination_id=32 corefile=no cutime=4 cstime=2 <<<test_end>>> <<<test_start>>> tag=runpwtests06 stime=1893924413 cmdline="runpwtests06.sh" contacts="" analysis=exit <<<test_output>>>
It will be a great help.
Thanks