~krzk/+git/autotest-client-tests:krzk-next

Last commit made on 2021-07-07
Get this branch:
git clone -b krzk-next https://git.launchpad.net/~krzk/+git/autotest-client-tests
Only Krzysztof Kozlowski can upload to this branch. If you are Krzysztof Kozlowski please log in for upload directions.

Branch merges

Branch information

Name:
krzk-next
Repository:
lp:~krzk/+git/autotest-client-tests

Recent commits

02e5289... by Krzysztof Kozlowski

Revert "ubuntu_aufs_smoke_test: skip v5.11 Focal edge and hwe kernels"

This reverts commit 8dc2216fe1cd79ef8fc10c4d048b8baac19dc782.

Not needed

Signed-off-by: Krzysztof Kozlowski <email address hidden>

8dc2216... by Krzysztof Kozlowski

ubuntu_aufs_smoke_test: skip v5.11 Focal edge and hwe kernels

BugLink: https://bugs.launchpad.net/bugs/1934873

Focal cloud edge kernels (aws-5.11 and so on) and hwe-5.11 are derived
from Hirsute so they do not have AUFS:

    aufs: mount: FAILED: ret=32
    stderr:
    mount: /tmp/aufs/aufs-root: unknown filesystem type 'aufs'.

Signed-off-by: Krzysztof Kozlowski <email address hidden>

86fdcb7... by Krzysztof Kozlowski

UBUNTU: SAUCE: ubuntu_kernel_selftests: disable CPU hotplug on Azure

Microsoft Hyper-V with Linux guests does not support CPU hotplug, even
if enabled in kernel configuration. Quoting Ubuntu bug report from
June 2018: "While Hyper-V may present all potential CPUs via ACPI MADT,
CPU add/remove is not supported.". [1]

Skip the CPU hotplug test on Azure instances because it fails on some of
configs, e.g. Bionic/azure:

    pid 28041's current affinity mask: 3
    pid 28041's new affinity mask: 1
    CPU online/offline summary:
    present_cpus = 0-1 present_max = 1
    Cpus in online state: 0-1
    Cpus in offline state: 0
    Limited scope test: one hotplug cpu
    (leaves cpu in the original state):
    online to offline to online: cpu 1
    not ok 1..1 selftests: cpu-on-off-test.sh [FAIL]
    ./cpu-on-off-test.sh: line 94: echo: write error: Device or resource busy
    offline_cpu_expect_success 1: unexpected fail

[1] https://bugs.launchpad.net/ubuntu/+source/linux-azure/+bug/1776293

BugLink: https://bugs.launchpad.net/bugs/1923114
Signed-off-by: Krzysztof Kozlowski <email address hidden>

e14f9f8... by Krzysztof Kozlowski

UBUNTU: SAUCE: ubuntu_ltp_syscalls: import pending LTP patches for several failures

Few patches to upstream LTP project are pending for longer time (2-3
weeks). Either the discussion is on-going (and not necessarily going
anywhere like in case of controllers/memcg patches) or they are ignored.

These patches fix real test issues, so apply them here. The patchset
contains fixes for ubuntu_ltp and ubuntu_ltp_syscalls, because it is
easier to keep one set.

Move the existing syscalls "UBUNTU: SAUCE: skip fanotify09 test #2 for
older kernels" to same folder and share it with ubuntu_ltp to keep
out-of-tree patches consistent.

Signed-off-by: Krzysztof Kozlowski <email address hidden>

7328426... by Krzysztof Kozlowski

UBUNTU: SAUCE: ubuntu_ltp: import pending LTP patches for several failures

Few patches to upstream LTP project are pending for longer time (2-3
weeks). Either the discussion is on-going (and not necessarily going
anywhere like in case of controllers/memcg patches) or they are ignored.

These patches fix real test issues, so apply them here. The patchset
contains fixes for ubuntu_ltp and ubuntu_ltp_syscalls, because it is
easier to keep one set.

This imports Krzysztof Kozlowski's work in LTP:
 - tpci: accept ENOMEM resource failure with virtio-pci
 - controllers/memcg: increase memory limit in subgroup charge
 - controllers/memcg: accept non-zero max_usage_in_bytes after reset
 - controllers/memcg: accept range of usage_in_bytes
 - controllers/memcg: accept range of max_usage_in_bytes
 - lib: memutils: don't pollute entire system memory to avoid OoM
 - device-drivers/cpufreq_boost: skip test on virtual machines
 - syscalls/msgstress: tune limit of processes for small machines
 - syscalls/msgstress03: fix fork failure on small memory systems
 - syscalls/msgstress04: fix fork failure on small memory systems
 - include/tst_pid.h: fix language typo (subtraction)
 - controllers/cpuacct: skip cpuacct_100_100 on small memory systems

Signed-off-by: Krzysztof Kozlowski <email address hidden>
Acked-by: Po-Hsu Lin <email address hidden>
Signed-off-by: Po-Hsu Lin <email address hidden>

4622f6e... by Po-Hsu Lin

UBUNTU: SAUCE: ubuntu_performance_power: fix package list

There is a missing comma after the zlib1g-dev pacakage, thus causing:
  E: Unable to locate package zlib1g-devpowerstat

Signed-off-by: Po-Hsu Lin <email address hidden>

49a7a81... by Krzysztof Kozlowski

UBUNTU: SAUCE: ubuntu_ltp: no need for pass in regular function

"pass" is needed only for empty blocks.

Signed-off-by: Krzysztof Kozlowski <email address hidden>
Acked-by: Po-Hsu Lin <email address hidden>
Signed-off-by: Po-Hsu Lin <email address hidden>

b4603b9... by Po-Hsu Lin

UBUNTU: SAUCE: ubuntu_kvm_unit_tests: add ncat for the new upstream code

sprs test from the upstream code will need ncat command to work,
otherwise this will fail with:
  run_migration needs ncat (netcat)

It's in the nmap package for X/B, ncat for newer releases.

Signed-off-by: Po-Hsu Lin <email address hidden>

d647402... by Po-Hsu Lin

UBUNTU: SAUCE: ubuntu_ltp_syscalls: modify the release check for python-packaging

BugLink: https://bugs.launchpad.net/bugs/1933319

python-packaging is only avaiable on X/B/F, change the
if statement so that we don't need to add the release
name when there is a new one.

Signed-off-by: Po-Hsu Lin <email address hidden>

a7a90bc... by Po-Hsu Lin

UBUNTU: SAUCE: ubuntu_ltp_stable: bump timeout to 3.5hr for dio test

BugLink: https://bugs.launchpad.net/bugs/1923049

dio test will take about 3 hours to run on gcp instances
bump it from 2 hours to 3.5 hours.

Signed-off-by: Po-Hsu Lin <email address hidden>