From owner-freebsd-questions@freebsd.org Thu Jan 28 14:04:27 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ECDA7A6FBAF for ; Thu, 28 Jan 2016 14:04:26 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-ob0-x244.google.com (mail-ob0-x244.google.com [IPv6:2607:f8b0:4003:c01::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B487813BE for ; Thu, 28 Jan 2016 14:04:26 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: by mail-ob0-x244.google.com with SMTP id oj9so2480673obc.0 for ; Thu, 28 Jan 2016 06:04:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=y26t7Uvy13+suSYrAe/wDHh6VnYjWlkCn4ARgI29rDA=; b=YMvhb8QGMsUDn2fPEU/8iGImekHmPEzx3ziU/SBkGaW68H4DJT7VHU2efJuE5oUx6M sbMuJuinA9J9dNOgCNO8kFcNDQl5dA5q78eBvE1Qs7o3KhJZ65/JttxeMexnVpNVDlnI IFbulB5dogjVG9KSDPvQ9Q94ogylupM4ZbsMNdg/LQbqZ5ipYAhwFJQyI24nSDnCFtTQ RGEG51pxMOhpBcBqlO5WJn1jqLlo0JdTTeeuRxFaL5CQaSw6Q4+7JPIyh0X8P2JAJQPW Sp+3KBrzPsCfkIIV+DqbQ1Mxtzw9Lrjgukig7R8JXIlnkVjCFj2w0GDx7zYjpmIhQAUH 7Xpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to:content-type; bh=y26t7Uvy13+suSYrAe/wDHh6VnYjWlkCn4ARgI29rDA=; b=NCKQrVe8EyPvS0usWCy554hkJHFm1mDYGSiufdFOw5JUNZEmD8GiRNsshLNKV2Ramb 3gT8bJv0lIEwRxsCj73YeTxLcY8dZpF5CDwvhA6zbZEfEgO6XD/Mio4BxqbTrVSPmstJ UDMqznBDuxXrdw2fLWEmoy7aFU9cqI7xIXcE9/KRgNUvi6uEycP5MDSYSSam0gZ9lTBJ j626p2inMOMf7SiMB2sDP6pKAvgHR+Ty2wW/uVNqCUgwz8n1/awTj8J3LromyPSfNrFT eQ2+cwcvORldK2sMVn3UaXu6nLTXix0lciI/e11seqhHkblGMQcgFb85YW2XBYErUyka acvg== X-Gm-Message-State: AG10YOTEJaWyeyMJk83OJNfhFUWqpSCfCUeirdRNpCCOQc3WpNoLBsa4rlfAELtO+Eo80YnBB+ypE5+TkAXPcQ== MIME-Version: 1.0 X-Received: by 10.182.105.197 with SMTP id go5mr2389614obb.12.1453989866010; Thu, 28 Jan 2016 06:04:26 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.202.170.75 with HTTP; Thu, 28 Jan 2016 06:04:25 -0800 (PST) Date: Thu, 28 Jan 2016 09:04:25 -0500 X-Google-Sender-Auth: pOzPj4JDcF8Tf2CxLhCEY7pkpe0 Message-ID: Subject: uname exits 0, no output From: Rick Miller To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2016 14:04:27 -0000 Hi all, First, some background before describing odd behavior: We have automated CI (Continuous Integration) tests which run in openstack for each code commit to our application. These tests spawn a new environment (network, Vms etc), configure it, execute the tests & then destroy the env at the end. Now, to the odd behavior: sometimes, the tests execute a =E2=80=9Cuname -a= =E2=80=9D command via ssh because it needs to know the operating system version. The odd behavior is that approximately 5% of the time =E2=80=9Cuname -a=E2=80=9D on= FreeBSD 10.x openstack instances returns exit-code 0 (i.e. Successful) but produces no output on stdout. This causes the tests to fail; which causes the whole CI-execution to be marked as a failure. This behavior is only exhibited on the BSD hosts and not Linux hosts. I am trying to track down what the likely cause is. I'm hoping someone might be able to shed some light on the BSD image itself. Could there be something in the OS and/or the OpenSSH versions or libraries on BSD which could explain this behavior? --=20 Take care Rick Miller