I have this tested on Resolute with LTP upstream with tag 20260529. And this is 
still reproducible, it still holds up 80% of the RAM on a 8G cloud instance 
after the test.
So this is very likely related to the behaviour of systemd between releases.

Steps to reproduce this:
1. Get Resolute deployed on one of the following instances:
* AWS c6i.xlarge
* AWS c7g.xlarge
* GCE c4-highcpu-4
* GCE n4d-standard-4
2. Run the following command:
    pkgs=(
        automake
        bc  # LP: #2095286
        bison
        build-essential
        byacc
        flex
        git
        irqbalance
        keyutils
        libacl1-dev
        libaio-dev
        libcap-dev
        libmm-dev
        libnuma-dev
        libsctp-dev
        libselinux1-dev
        libssl-dev
        libtirpc-dev
        pkg-config
        quota
        virt-what
        xfslibs-dev
        xfsprogs
    )
    series=$(lsb_release -cs)
    flavour=$(uname -r | sed 's/.*-//')
    target_flavours="aws azure gcp gke"
    target_series="trusty xenial bionic focal jammy noble"
    if echo "$target_flavours" | grep -qw "$flavour" && echo "$target_series" | 
grep -qw "$series"; then
        pkgs+=("linux-modules-extra-$(uname -r)")
    fi
    if [ "$flavour" != "kvm" ]; then
        pkgs+=("nfs-kernel-server")
    fi
    if [ "$series" != "trusty" ]; then
        pkgs+=("haveged")
    fi
    if echo "$series" | grep -Eq "xenial|bionic|focal"; then
        pkgs+=("python-packaging")
    fi
    sudo apt install -y "${pkgs[@]}"
    git clone https://git.launchpad.net/~canonical-kernel-team/+git/ltp -b sru
    cd ltp
    sed -i /ntfs/d lib/tst_supported_fs_types.c
    make autotools
    ./configure
    make -j"$(nproc)"
    sudo make install
    grep -e 14416 -e 36557 runtest/cve > /tmp/cve
    sudo /opt/ltp/runltp -f /tmp/cve
3. Check the memory usage after test.

** Also affects: systemd (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: systemd (Ubuntu Resolute)
   Importance: Undecided
       Status: New

** Tags added: 7.0 resolute ubuntu-ltp ubuntu-ltp-cve

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2158336

Title:
  resolute systemd-udevd pinned after some LTP tests leading to OOM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2158336/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to