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 2025-01-24 09:03:09 UTC
UBUNTU: SAUCE: gethostname: Fix ENAMETOOLONG on 64 character hostnames

Author: Ian Whitfield
Author Date: 2025-01-22 01:22:33 UTC

UBUNTU: SAUCE: gethostname: Fix ENAMETOOLONG on 64 character hostnames

HOST_NAME_MAX does not include the null terminator, so the hostname
buffer in gethostname02.c needs an extra character of space to support
maximum length hostnames.

Signed-off-by: Ian Whitfield <ian.whitfield@canonical.com>
Acked-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

sru-xenial 2025-01-24 09:03:09 UTC
UBUNTU: SAUCE: gethostname: Fix ENAMETOOLONG on 64 character hostnames

Author: Ian Whitfield
Author Date: 2025-01-22 01:22:33 UTC

UBUNTU: SAUCE: gethostname: Fix ENAMETOOLONG on 64 character hostnames

HOST_NAME_MAX does not include the null terminator, so the hostname
buffer in gethostname02.c needs an extra character of space to support
maximum length hostnames.

Signed-off-by: Ian Whitfield <ian.whitfield@canonical.com>
Acked-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

master 2025-01-14 00:50:23 UTC
ima_setup.sh: Quit testing when failed to get digest

Author: Petr Vorel
Author Date: 2025-01-14 00:48:23 UTC

ima_setup.sh: Quit testing when failed to get digest

There is no point to continue when get_algorithm_digest() fails.

Fixes: 61852d3df5 ("IMA: Move ima_check to ima_setup.sh")
Signed-off-by: Petr Vorel <pvorel@suse.cz>

tip-testing 2025-01-14 00:50:23 UTC
ima_setup.sh: Quit testing when failed to get digest

Author: Petr Vorel
Author Date: 2025-01-14 00:48:23 UTC

ima_setup.sh: Quit testing when failed to get digest

There is no point to continue when get_algorithm_digest() fails.

Fixes: 61852d3df5 ("IMA: Move ima_check to ima_setup.sh")
Signed-off-by: Petr Vorel <pvorel@suse.cz>

sru-20241004 2024-10-04 11:56:48 UTC
UBUNTU: SAUCE: Upstream head SHA1 60f81419c4

Author: Po-Hsu Lin
Author Date: 2024-10-04 02:55:34 UTC

UBUNTU: SAUCE: Upstream head SHA1 60f81419c4

Rebased on top of upstream head commit:
60f81419c4 LTP 20240930

Update Note:
  * This update fixes the following issues:
    - LP: #2025638 cgroup_core02 in ubuntu_ltp_controller failed on J-5.15 s390x
    - LP: #2070330 mm:kallsyms from ubuntu_ltp failed
    - LP: #2078315 creat07, execve04, ioctl_loop02, ioctl_loop06, ioctl_loop07 from ubuntu_ltp_syscalls failed on N-OEM-6.11
    - Build issue on Oracular
  * This update is known to have the following issues:
    - LP: #2083180 ioctl_ficlone03 from ubuntu_ltp_syscalls failed on Bionic when testing xfs/btrfs
    - LP: #2083183 landlock04 from ubuntu_ltp_syscalls failed on Jammy (TBROK: landlock_add_rule)
    - LP: #2083185 landlock07 from ubuntu_ltp_syscalls failed on Noble
    - LP: #2083220 cgroup_fj_function_cpuset and cgroup_fj_stress_cpuset* failed on Jammy with TWARN
    - LP: #2083687 cachestat03 from ubuntu_ltp_syscalls failed on B-KVM
  * sru-trusty branch is not be updated.

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

upstream-master 2024-08-23 11:48:58 UTC
lgetxattr02: Convert docs to docparse

Author: Ma Xinjian
Author Date: 2024-08-23 08:03:37 UTC

lgetxattr02: Convert docs to docparse

Link: https://lore.kernel.org/ltp/20240823080337.199654-1-maxj.fnst@fujitsu.com/
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>

sru-20240618 2024-06-24 10:50:27 UTC
UBUNTU: SAUCE: Upstream head SHA1 8f21ebba42

Author: Po-Hsu Lin
Author Date: 2024-06-18 09:29:52 UTC

UBUNTU: SAUCE: Upstream head SHA1 8f21ebba42

Rebased on top of upstream head commit:
8f21ebba42 LTP 20240524

Update Note:
  * This update fixes the following issues (on some releases)
    - LP: #2067648 io_control01 in ubuntu_ltp_controllers fails on Noble
    - LP: #2023564 cve-2018-13405 / creat09 - test failed on XFS (Setgid bit is set)
    - LP: #2023566 openat04 - test failed on EXT2, EXT3, EXT4, BTRFS (Setgid bit is set)
    - LP: #2057747 swapon01 - TBROK Test killed on ext2
    - LP: #2055536 keyctl05 - TFAIL: unexpected error adding 'dns_resolver' key: EINVAL (22)
    - LP: #2045890 fallocate06 - Case 3 in fallocate06 for btrfs (Fill FS: no; Use copy on write: yes) failed with 6.5 PowerPC and 64k ARM64'
  * This update is known to have the following issues:
    - LP: #2068692 logrotate_sh in commands of ubuntu_ltp_stable failed with "Failed to create a compressed file"
    - LP: #2069791 shmat04 from ubuntu_ltp_syscalls failed on M-6.5 (TFAIL: shmid_ds.shm_nattch (1) != 0 (0))
    - LP: #2069823 msgstress01 from ubuntu_ltp_syscalls failed with WARNING on ARM64 (TWARN: Out of runtime during forking...)
  * This update includes a SAUCE patch for logrotate_sh failure (LP: #2068692)
    it has landed upstream and will be merged in the future:
    - UBUNTU: SAUCE: logrotate: fix permission issue for test2
  * LTP upstream bumps minimum supported kernel to 4.4 since 20240524,
    therefore sru-trusty will not be updated.

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>

sru-20240313 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>

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>

110 of 10 results
This repository contains Public information 
Everyone can see this information.