NetBSD Problem Report #52608

From www@NetBSD.org  Tue Oct 10 01:59:15 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 169767A173
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 10 Oct 2017 01:59:15 +0000 (UTC)
Message-Id: <20171010015900.3803D7A287@mollari.NetBSD.org>
Date: Tue, 10 Oct 2017 01:59:00 +0000 (UTC)
From: ozaki-r@netbsd.org
Reply-To: ozaki-r@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: Unexpected ATF test failure and fixes of IPsec on sparc/GuruPlug
X-Send-Pr-Version: www-1.0

>Number:         52608
>Category:       kern
>Synopsis:       Unexpected ATF test failure and fixes of IPsec on sparc/GuruPlug
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 10 02:00:00 +0000 2017
>Originator:     Ryota Ozaki
>Release:        -current
>Organization:
IIJ
>Environment:
rump kernels on sparc and GuruPlug
>Description:
Some ATF tests related to IPsec on sparc/GunuPlug had been failing (kernel panic)
for long time:
  http://releng.netbsd.org/b5reports/sparc/build/2017.09.26.04.34.59/test.html#failed-tcs-summary
  http://www.netbsd.org/~martin/evbarm-atf/Y2017_09/177_atf.html#failed-tcs-summary

However the tests began to be success unexpectedly:
  http://releng.netbsd.org/b5reports/sparc/build/2017.09.26.07.42.06/test.html#failed-tcs-summary
  http://www.netbsd.org/~martin/evbarm-atf/Y2017_09/178_atf.html#failed-tcs-summary

The shift happened since the following commit:
  http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/mbuf.h?only_with_tag=MAIN#rev1.171

(There are other suspect commits but it seems that only the above commit likely affects
the issue.)

However the change is just to enlarge the size of struct pkthdr (or change the memory
layout of it slightly). I guess that the change actually doesn't fix an issue and just hides
the issue luckily (i.e., the tests had been failing unluckily).

The issue may be rump kernel specific.

>How-To-Repeat:
See the above URLs.
(I have not run the ATF tests on the machines in question by myself. )
>Fix:
n/a

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.