TRACE_syscall.ptrace_syscall_errno in seccomp from ubuntu_kernel_selftests failed on B/C PowerPC

Bug #1829359 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned
Cosmic
Won't Fix
Undecided
Unassigned

Bug Description

This test will fail on Bionic / Cosmic PowerPC:

[ RUN ] TRACE_syscall.ptrace_syscall_errno
seccomp_bpf.c:1826:TRACE_syscall.ptrace_syscall_errno:Expected -(-3) (3) == (*__errno_location ()) (38)
TRACE_syscall.ptrace_syscall_errno: Test failed at step #13

This test will pass on PowerPC with Disco kernel.

As this issue can be reproduced with the upsteam kernel tree, so it looks like a kernel issue instead of a test case issue to me.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.18.0-20-generic 4.18.0-20.21~18.04.1
ProcVersionSignature: Ubuntu 4.18.0-20.21~18.04.1-generic 4.18.20
Uname: Linux 4.18.0-20-generic ppc64le
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: ppc64el
Date: Thu May 16 09:48:18 2019
ProcLoadAvg: 0.38 0.64 0.48 1/1316 6114
ProcLocks:
 1: POSIX ADVISORY WRITE 1767 00:17:402 0 EOF
 2: POSIX ADVISORY WRITE 3941 00:17:825 0 EOF
 3: FLOCK ADVISORY WRITE 3492 00:17:390 0 EOF
 4: FLOCK ADVISORY WRITE 3947 00:17:820 0 EOF
 5: POSIX ADVISORY WRITE 3872 00:17:799 0 EOF
ProcSwaps:
 Filename Type Size Used Priority
 /swap.img file 8388544 0 -2
ProcVersion: Linux version 4.18.0-20-generic (buildd@bos02-ppc64el-019) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #21~18.04.1-Ubuntu SMP Wed May 8 08:51:08 UTC 2019
SourcePackage: linux-signed-hwe
UpgradeStatus: No upgrade log present (probably fresh install)
VarLogDump_list: total 0
cpu_cores: Number of cores present = 20
cpu_coreson: Number of cores online = 20
cpu_dscr: DSCR is 0
cpu_freq:
 min: 3.694 GHz (cpu 159)
 max: 3.695 GHz (cpu 1)
 avg: 3.694 GHz
cpu_runmode:
 Could not retrieve current diagnostics mode,
 No kernel interface to firmware
cpu_smt: SMT=8

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
affects: linux-signed-hwe (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1829359

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu Bionic):
status: New → Incomplete
Changed in linux (Ubuntu Cosmic):
status: New → Incomplete
Po-Hsu Lin (cypressyew)
summary: TRACE_syscall.ptrace_syscall_errno in seccomp from
- ubuntu_kernel_selftests failed on B/C Power8
+ ubuntu_kernel_selftests failed on B/C PowerPC
tags: added: cosmic
Po-Hsu Lin (cypressyew)
tags: added: ubuntu-kernel-selftests
Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu Cosmic):
status: Incomplete → Won't Fix
tags: added: sru-20200127
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Passed on X-4.15.0-114.115~16.04.1 and B-4.15.0-114.115 PowerPC

[ RUN ] TRACE_syscall.ptrace_syscall_errno
[ OK ] TRACE_syscall.ptrace_syscall_errno

Closing this bug.

Changed in ubuntu-kernel-tests:
status: New → Fix Released
Changed in linux (Ubuntu):
status: Incomplete → Fix Released
Changed in linux (Ubuntu Bionic):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.