lp:~canonical-kernel-team/+git/ltp

Get this repository:
git clone https://git.launchpad.net/~canonical-kernel-team/+git/ltp
Members of Canonical Kernel Team can upload to this repository. Log in for directions.

Branches

Name Last Modified Last Commit
sru-xenial 2024-03-19 09:16:35 UTC
UBUNTU: SAUCE: Upstream head SHA1 cbc2d05684

Author: Po-Hsu Lin
Author Date: 2024-03-18 05:33:28 UTC

UBUNTU: SAUCE: Upstream head SHA1 cbc2d05684

Rebased on top of upstream head commit:
cbc2d05684 mkdir03: Convert docs to docparse

Update Note:
  * This update fixes the following issues
    - Build issue on Noble (was using a patch cherry-picked by juergh)
    - LP: #2045968 mmap04 from ubuntu_ltp_syscalls failed with T-lts
    - LP: #1860518 quotactl06 from ubuntu_ltp_syscalls failed on AWS T-4.4
    - LP: #2055536 keyctl05 from ubuntu_ltp_syscalls failed on J-oem-6.1
  * This update is known to have the following issues:
    - LP: #2057747 swapon01 from ubuntu_ltp_syscalls failed with TBROK Test killed on ext2
    - LP: #2057485 splice07 from ubuntu_ltp_syscalls failed with 3.13 / 4.4
    - LP: #2057734 proc_sched_rt01 from ubuntu_ltp failed
    - LP: #2055536 keyctl05 from ubuntu_ltp_syscalls failed on J-oem-6.1 (6.5 and its variants)

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

master 2024-03-19 09:16:35 UTC
UBUNTU: SAUCE: Upstream head SHA1 cbc2d05684

Author: Po-Hsu Lin
Author Date: 2024-03-18 05:33:28 UTC

UBUNTU: SAUCE: Upstream head SHA1 cbc2d05684

Rebased on top of upstream head commit:
cbc2d05684 mkdir03: Convert docs to docparse

Update Note:
  * This update fixes the following issues
    - Build issue on Noble (was using a patch cherry-picked by juergh)
    - LP: #2045968 mmap04 from ubuntu_ltp_syscalls failed with T-lts
    - LP: #1860518 quotactl06 from ubuntu_ltp_syscalls failed on AWS T-4.4
    - LP: #2055536 keyctl05 from ubuntu_ltp_syscalls failed on J-oem-6.1
  * This update is known to have the following issues:
    - LP: #2057747 swapon01 from ubuntu_ltp_syscalls failed with TBROK Test killed on ext2
    - LP: #2057485 splice07 from ubuntu_ltp_syscalls failed with 3.13 / 4.4
    - LP: #2057734 proc_sched_rt01 from ubuntu_ltp failed
    - LP: #2055536 keyctl05 from ubuntu_ltp_syscalls failed on J-oem-6.1 (6.5 and its variants)

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

sru 2024-03-19 09:16:35 UTC
UBUNTU: SAUCE: Upstream head SHA1 cbc2d05684

Author: Po-Hsu Lin
Author Date: 2024-03-18 05:33:28 UTC

UBUNTU: SAUCE: Upstream head SHA1 cbc2d05684

Rebased on top of upstream head commit:
cbc2d05684 mkdir03: Convert docs to docparse

Update Note:
  * This update fixes the following issues
    - Build issue on Noble (was using a patch cherry-picked by juergh)
    - LP: #2045968 mmap04 from ubuntu_ltp_syscalls failed with T-lts
    - LP: #1860518 quotactl06 from ubuntu_ltp_syscalls failed on AWS T-4.4
    - LP: #2055536 keyctl05 from ubuntu_ltp_syscalls failed on J-oem-6.1
  * This update is known to have the following issues:
    - LP: #2057747 swapon01 from ubuntu_ltp_syscalls failed with TBROK Test killed on ext2
    - LP: #2057485 splice07 from ubuntu_ltp_syscalls failed with 3.13 / 4.4
    - LP: #2057734 proc_sched_rt01 from ubuntu_ltp failed
    - LP: #2055536 keyctl05 from ubuntu_ltp_syscalls failed on J-oem-6.1 (6.5 and its variants)

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

sru-trusty 2024-03-19 09:16:35 UTC
UBUNTU: SAUCE: Upstream head SHA1 cbc2d05684

Author: Po-Hsu Lin
Author Date: 2024-03-18 05:33:28 UTC

UBUNTU: SAUCE: Upstream head SHA1 cbc2d05684

Rebased on top of upstream head commit:
cbc2d05684 mkdir03: Convert docs to docparse

Update Note:
  * This update fixes the following issues
    - Build issue on Noble (was using a patch cherry-picked by juergh)
    - LP: #2045968 mmap04 from ubuntu_ltp_syscalls failed with T-lts
    - LP: #1860518 quotactl06 from ubuntu_ltp_syscalls failed on AWS T-4.4
    - LP: #2055536 keyctl05 from ubuntu_ltp_syscalls failed on J-oem-6.1
  * This update is known to have the following issues:
    - LP: #2057747 swapon01 from ubuntu_ltp_syscalls failed with TBROK Test killed on ext2
    - LP: #2057485 splice07 from ubuntu_ltp_syscalls failed with 3.13 / 4.4
    - LP: #2057734 proc_sched_rt01 from ubuntu_ltp failed
    - LP: #2055536 keyctl05 from ubuntu_ltp_syscalls failed on J-oem-6.1 (6.5 and its variants)

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

tip-testing 2024-03-07 23:47:45 UTC
mkdir03: Convert docs to docparse

Author: Petr Vorel
Author Date: 2024-03-07 23:44:49 UTC

mkdir03: Convert docs to docparse

+ Improve docs, add copyright.

Signed-off-by: Petr Vorel <pvorel@suse.cz>

sru-20240313-old 2024-03-01 09:11:58 UTC
tcindex01: fix compilation errors due to missing TCA_TCINDEX_ constants

Author: Li Wang
Author Date: 2024-01-16 03:17:28 UTC

tcindex01: fix compilation errors due to missing TCA_TCINDEX_ constants

The change addresses compilation errors encountered in the tcindex01.c
test when compiled against kernel-6.7 and above.

  tcindex01.c:67:4: error: ‘TCA_TCINDEX_MASK’ undeclared here (not in a function);
     did you mean ‘TCA_CODEL_MAX’?
     {TCA_TCINDEX_MASK, &mask, sizeof(mask), NULL},
      ^~~~~~~~~~~~~~~~
      TCA_CODEL_MAX
  tcindex01.c:68:4: error: ‘TCA_TCINDEX_SHIFT’ undeclared here (not in a function);
     did you mean ‘TCA_FLOW_RSHIFT’?
     {TCA_TCINDEX_SHIFT, &shift, sizeof(shift), NULL},
      ^~~~~~~~~~~~~~~~~
      TCA_FLOW_RSHIFT
  CC testcases/cve/cve-2016-7117
  CC utils/sctp/func_tests/test_getname_v6.o
  tcindex01.c:69:4: error: ‘TCA_TCINDEX_CLASSID’ undeclared here (not in a function);
     did you mean ‘TCA_FLOWER_CLASSID’?
     {TCA_TCINDEX_CLASSID, &clsid, sizeof(clsid), NULL},
      ^~~~~~~~~~~~~~~~~~~
      TCA_FLOWER_CLASSID

The errors were due to the removal of certain TCA_TCINDEX_ constants
from the kernel's user API (uapi), as indicated by the kernel commit.

commit 82b2545ed9a (net/sched: Remove uapi support for tcindex classifier)

The reason why I didn't add this into LTP library is that the defines
have been dropped we just need to satisfy this one case.

Signed-off-by: Li Wang <liwang@redhat.com>
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Reviewed-by: Martin Doucha <mdoucha@suse.cz>
(cherry picked from commit 86748325bd2afd52e19d7731a21f3992867fd10a)
Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
Acked-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

ag/fix-fs-fill 2023-02-15 16:09:45 UTC
fs_fill: Fix test when running on a 256 CPU+ machine

Author: Andrei Gherzan
Author Date: 2023-02-15 16:09:42 UTC

fs_fill: Fix test when running on a 256 CPU+ machine

LP: #1973848

The fs_fill test runs a fill test on all the supported filesystems. One
of them being vfat. This filesystem is configured dynamically or through
flags/arguments for its file allocation table type (12/16/32).

The size of the test device (which is a loop-mounted fs) is 300MB. When
not instructed, mkfs will "automatically select between 12, 16 and 32
bit, whatever fits better for the filesystem size"[1]. In the case of
a 300Mb that would end up as FAT16.

This is linked with another configuration that is the actual impact on
this issue: the maximum number of directories in the root of the
filesystem. FAT12 and FAT16 use a special system region: "Root Directory
Region". And by default (there is also an argument to configure this at
mkfs-time) this ends up being 256 when no custom arguments are provided.

On the other hand, the test sets up the filesystem with a
"tst_ncpus_conf + 2" number of directories in the test filesystem's root
which can break the limit explained above on systems with a number of
CPUs that would amount above the limit.

This change addresses this situation by using a subdirectory in the test
filesystem which is not subject to this limit.

Signed-off-by: Andrei Gherzan <andrei.gherzan@canonical.com>

17 of 7 results
This repository contains Public information 
Everyone can see this information.