Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 869197 - net-firewall/nftables-1.0.5:0/1 fails test - Failed to run command: .../run-tests.sh -v
Summary: net-firewall/nftables-1.0.5:0/1 fails test - Failed to run command: .../run-t...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: TESTFAILURE
: 849776 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-09-08 14:33 UTC by Toralf Förster
Modified: 2022-09-13 17:37 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.26 KB, text/plain)
2022-09-08 14:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,30.77 KB, text/plain)
2022-09-08 14:33 UTC, Toralf Förster
Details
environment (environment,167.55 KB, text/plain)
2022-09-08 14:33 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,19.45 KB, application/x-bzip)
2022-09-08 14:33 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,18.76 KB, application/x-bzip)
2022-09-08 14:33 UTC, Toralf Förster
Details
net-firewall:nftables-1.0.5:20220908-140018.log (net-firewall:nftables-1.0.5:20220908-140018.log,190.65 KB, text/plain)
2022-09-08 14:33 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,47.84 KB, application/x-bzip)
2022-09-08 14:33 UTC, Toralf Förster
Details
tests.tar.bz2 (tests.tar.bz2,125.83 KB, application/x-bzip)
2022-09-08 14:33 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-09-08 14:33:48 UTC
Error: Could not process rule: Operation not supported
flush ruleset
^^^^^^^^^^^^^^
 * ERROR: net-firewall/nftables-1.0.5::gentoo failed (test phase):
 *   Failed to run command: tests/shell/run-tests.sh -v
 * Call stack:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4_test-20220908-040004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.1 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 86b7e2b9a9b5588e5c8afe5f2359b8144c0fb530
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Sep 8 13:12:38 2022 +0000

    2022-09-08 13:12:37 UTC

emerge -qpvO net-firewall/nftables
[ebuild  N    ] net-firewall/nftables-1.0.5  USE="gmp modern-kernel python readline test -debug -doc -json -libedit -static-libs -verify-sig -xtables" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2022-09-08 14:33:50 UTC
Created attachment 803992 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-08 14:33:51 UTC
Created attachment 803995 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-08 14:33:53 UTC
Created attachment 803998 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-08 14:33:54 UTC
Created attachment 804001 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-08 14:33:55 UTC
Created attachment 804004 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-08 14:33:57 UTC
Created attachment 804007 [details]
net-firewall:nftables-1.0.5:20220908-140018.log
Comment 7 Toralf Förster gentoo-dev 2022-09-08 14:33:58 UTC
Created attachment 804010 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-08 14:33:59 UTC
Created attachment 804013 [details]
tests.tar.bz2
Comment 9 Mike Gilbert gentoo-dev 2022-09-13 17:36:46 UTC
I removed RESTRICT="test? ( userpriv )" from the ebuild, and added logic to skip the relevant tests when not running as root.

I don't think it is worth the effort to wire up all the kernel checks that would be necessary to complete the tests.
Comment 10 Mike Gilbert gentoo-dev 2022-09-13 17:37:06 UTC
*** Bug 849776 has been marked as a duplicate of this bug. ***