NetBSD Problem Report #50174

From martin@duskware.de  Wed Aug 26 09:05:12 2015
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 71AA3A6531
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 26 Aug 2015 09:05:12 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: lib/librumphijack/t_tcpip:ssh fails consistently
X-Send-Pr-Version: 3.95

>Number:         50174
>Category:       lib
>Synopsis:       lib/librumphijack/t_tcpip:ssh fails consistently
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          analyzed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 26 09:10:00 +0000 2015
>Closed-Date:    
>Last-Modified:  Wed Aug 26 09:49:18 +0000 2015
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.21
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD unpluged.duskware.de 7.99.21 NetBSD 7.99.21 (UNPLUGED) #83: Tue Aug 25 19:44:20 CEST 2015 martin@seven-days-to-the-wolves.aprisoft.de:/ssd/src/sys/arch/evbarm/compile/UNPLUGED evbarm
Architecture: earm
Machine: evbarm
>Description:

librumphijack (as used in the lib/librumphijack/t_tcpip:ssh test case)
is not able to fully deal with ssh in -current. The test fails consistently.

>How-To-Repeat:
Just try to run that test

>Fix:
n/a

>Release-Note:

>Audit-Trail:
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50174 CVS commit: src/tests/lib/librumphijack
Date: Wed, 26 Aug 2015 09:19:20 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Wed Aug 26 09:19:20 UTC 2015

 Modified Files:
 	src/tests/lib/librumphijack: t_tcpip.sh

 Log Message:
 Mark the ssh test as expected failure pointing to PR lib/50174


 To generate a diff of this commit:
 cvs rdiff -u -r1.14 -r1.15 src/tests/lib/librumphijack/t_tcpip.sh

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->analyzed
State-Changed-By: christos@NetBSD.org
State-Changed-When: Wed, 26 Aug 2015 05:49:18 -0400
State-Changed-Why:
The problem is that the rump emulation of fcntl F_CLOSEM is broken.
sshd fails with  21641      1 sshd     GIO   fd 2 wrote 39 bytes
       "closefrom failed: Bad file descriptor\r\n"
Removing the check for closefrom makes the test work, but it is wrong.


>Unformatted:

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.