NetBSD Problem Report #50174

From  Wed Aug 26 09:05:12 2015
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id 71AA3A6531
	for <>; Wed, 26 Aug 2015 09:05:12 +0000 (UTC)
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
>Last-Modified:  Wed Aug 26 09:49:18 +0000 2015
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.21
The NetBSD Foundation, Inc.
System: NetBSD 7.99.21 NetBSD 7.99.21 (UNPLUGED) #83: Tue Aug 25 19:44:20 CEST 2015 evbarm
Architecture: earm
Machine: evbarm

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.

Just try to run that test



From: "Martin Husemann" <>
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:

 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/

 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-When: Wed, 26 Aug 2015 05:49:18 -0400
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.


NetBSD Home
NetBSD PR Database Search

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