Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 702204

Summary: net-libs/libnftnl-1.1.5 : [TEST] FAIL: nft-flowtable-test
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://git.netfilter.org/libnftnl/commit/tests/nft-flowtable-test.c?id=b2388765e0c4405442faa13845419f6a35d0134c
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-libs:libnftnl-1.1.5:20191206-103515.log
temp.tbz2
tests.tbz2

Description Toralf Förster gentoo-dev 2019-12-06 23:27:54 UTC
PASS: nft-rule-test
PASS: nft-set-test
FAIL: nft-flowtable-test
PASS: nft-expr_bitwise-test
PASS: nft-expr_byteorder-test
PASS: nft-expr_counter-test

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl_test-20191129-201951

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)

Available Rust versions:
  [1]   rust-1.39.0 *



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 06 Dec 2019 10:06:26 +0000

emerge -qpvO net-libs/libnftnl
[ebuild  N    ] net-libs/libnftnl-1.1.5  USE="(split-usr) test -examples -static-libs"
Comment 1 Toralf Förster gentoo-dev 2019-12-06 23:27:57 UTC
Created attachment 598704 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-06 23:28:00 UTC
Created attachment 598706 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-12-06 23:28:03 UTC
Created attachment 598708 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-12-06 23:28:08 UTC
Created attachment 598710 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-12-06 23:28:11 UTC
Created attachment 598712 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-12-06 23:28:14 UTC
Created attachment 598714 [details]
net-libs:libnftnl-1.1.5:20191206-103515.log
Comment 7 Toralf Förster gentoo-dev 2019-12-06 23:28:17 UTC
Created attachment 598716 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2019-12-06 23:28:20 UTC
Created attachment 598718 [details]
tests.tbz2
Comment 9 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2020-01-06 11:51:57 UTC
The failure with the NFTNL_FLOWTABLE_SIZE attribute is already known (see the attached commit) and can be safely ignored. This is because this method isn't supported yet.

Try the patch in the URL (which disables the test) and you'll see the tests go around smoothly.

@base-system I'd recommend either backporting the patch or closing the bug as the test failure should be resolved by the next release.
Comment 10 Larry the Git Cow gentoo-dev 2020-01-09 21:46:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2daf278fd2012f5470e527979434180e3bf0c6a

commit c2daf278fd2012f5470e527979434180e3bf0c6a
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-01-09 21:46:04 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-01-09 21:46:04 +0000

    net-libs/libnftnl: fix nft-flowtable-test
    
    Closes: https://bugs.gentoo.org/702204
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 .../libnftnl-1.1.5-fix-nft-flowtable-test.patch    | 40 ++++++++++++++++++++++
 net-libs/libnftnl/libnftnl-1.1.5.ebuild            |  2 ++
 2 files changed, 42 insertions(+)