From owner-freebsd-python@freebsd.org Mon Oct 29 16:46:03 2018 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E92B210DF51B for ; Mon, 29 Oct 2018 16:46:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 83E8078386 for ; Mon, 29 Oct 2018 16:46:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4715D10DF51A; Mon, 29 Oct 2018 16:46:02 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 353E710DF519 for ; Mon, 29 Oct 2018 16:46:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C4E4478382 for ; Mon, 29 Oct 2018 16:46:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id F0639A0DB for ; Mon, 29 Oct 2018 16:46:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9TGk0R1036017 for ; Mon, 29 Oct 2018 16:46:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9TGk0sv036016 for python@FreeBSD.org; Mon, 29 Oct 2018 16:46:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 232182] sysutils/py-pyznap: Add tests to the port Date: Mon, 29 Oct 2018 16:46:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: driesm.michiels@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 0mp@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2018 16:46:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232182 --- Comment #5 from Dries Michiels --- I did some further research and its like Mateusz said; in a Poudriere enviroment the other tests fail too. ZFS isn't available in a Poudriere jai= l. When I execute "poudriere testport -i -o sysutils/py-pyznap -j head -p head" and then try to exectute a ZFS command in interactive mode it sais this eve= ry time: root@head-head:~ # zfs internal error: failed to initialize ZFS library root@head-default:~ # zpool internal error: failed to initialize ZFS library Should I create a PR for the above issue? When the ZFS/zpool command isn't available in a Poudriere jail, tests that = use the ZFS/ZPOOL command will have a hard time passing. The tests do pass when not in a Poudriere jail, simply on the host with root privileges. Then all = the standard ZFS tests pass. Are there any examples in the ports tree where tests are skipped based on e= nv variables? I would like to check if executed from poudriere jail or host if thats possible? --=20 You are receiving this mail because: You are on the CC list for the bug.=