ubuntu_seccomp 11-basic-basic_errors failure on 4.15 kernels

Bug #1940261 reported by Krzysztof Kozlowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Invalid
Undecided
Unassigned
Xenial
Invalid
Undecided
Unassigned
Bionic
Invalid
Undecided
Unassigned
linux-oracle (Ubuntu)
Invalid
Undecided
Unassigned
Xenial
Invalid
Undecided
Unassigned
Bionic
Invalid
Undecided
Unassigned

Bug Description

Xenial/Oracle 4.15.0-1079.87~16.04.1 fails 11-basic-basic_errors test from ubuntu_seccomp on all Oracle cloud instances:

 batch name: 11-basic-basic_errors
 test mode: c
 test type: basic
Test 11-basic-basic_errors%%001-00001 result: FAILURE 11-basic-basic_errors rc=255

Base kernel bionic/linux-oracle/4.15.0-1079.87 is OK.
Previous cycle (xenial/linux-oracle/4.15.0-1077.85~16.04.1) is OK, so this looks like regression.

description: updated
tags: added: 4.15 oracle xenial
tags: added: amd64 sru-20210719 ubuntu-seccomp
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

The base kernel (Test suite HEAD SHA1: 04245d9), previous cycle for Xenial/Oracle (Test suite HEAD SHA1: 5822e50) and tests here for Xenial/Oracle (Test suite HEAD SHA1: fcc6012) - all used different seccomp test repo commits.

Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Running base kernel bionic/linux-oracle/4.15.0-1079.87 against current ubuntu_seccomp also fails the same way. This is a new test in ubuntu_seccomp and @cascardo confirmed that reverting recent commit in seccomp tests fixes the issue in v4.15.

Not a regression.

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 1940261

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 Xenial):
status: New → Incomplete
Revision history for this message
Krzysztof Kozlowski (krzk) wrote : Re: ubuntu_seccomp 11-basic-basic_errors failure on X/oracle

Found on: bionic/linux-azure-4.15/4.15.0-1122.135

tags: added: azure bionic hinted sru-20210816
Revision history for this message
Tim Gardner (timg-tpi) wrote :

Found on xenial/linux-aws-hwe 4.15.0-1111.118~16.04.1

The first call to seccomp_notify_alloc(NULL, NULL) returns -125 in 11-basic-basic_errors.c

Revision history for this message
Ian May (ian-may) wrote :

Found on: bionic/linux-aws: 4.15.0-1111.118

tags: added: aws
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Found on: xenial/linux-aws/4.4.0-1132.146

tags: added: 4.4
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Found on trusty/linux-aws 4.4.0-1096.101

tags: added: trusty
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This is a test case regression caused by this recent commit in the upstream tree:
https://github.com/seccomp/libseccomp/commit/fcc601279004a7f4c2f6ebf766acb4556b0f5e65

Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Found on:
2021.09.27/trusty/linux-azure/4.15.0-1125.138~14.04.1
2021.09.27/bionic/linux-azure-fips/4.15.0-2037.41

Revision history for this message
Khaled El Mously (kmously) wrote :

Found on:
 2021.09.27/bionic/linux-gcp-4.15/4.15.0-1110.124

Po-Hsu Lin (cypressyew)
summary: - ubuntu_seccomp 11-basic-basic_errors failure on X/oracle
+ ubuntu_seccomp 11-basic-basic_errors failure on 4.15 kernels
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Fixed upstream:
https://github.com/seccomp/libseccomp/commit/5532444587fa5f33a43179ca5cc710f1bb05f51f

All tests passed with cycle sru-20211018

I will update the RT-hints.

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

Other bug subscribers

Bug attachments

Remote bug watches

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