Public bug reported:

Issue found on X 4.15.0-1054.58 Oracle.

The rtnetlink.sh failed with:
 selftests: rtnetlink.sh
 ========================================
 PASS: policy routing
 PASS: route get
 PASS: preferred_lft addresses have expired
 PASS: tc htb hierarchy
 PASS: gre tunnel endpoint
 PASS: bridge setup
 PASS: ipv6 addrlabel
 PASS: set ifalias e1dfde61-e5a7-415f-8bd9-924e9796038f for test-dummy0
 PASS: vrf
 PASS: vxlan
 SKIP: fou: iproute2 too old
 SKIP: macsec: iproute2 too old
 not ok 1..10 selftests: rtnetlink.sh [FAIL]

Look into the code, it's the kci_test_encap_fou() test:

      ip fou help 2>&1 |grep -q 'Usage: ip fou'
      if [ $? -ne 0 ];then
            echo "SKIP: fou: iproute2 too old"
            return 1
      fi

The return code is 1, thus causing this failure.

** Affects: ubuntu-kernel-tests
     Importance: Undecided
     Assignee: Po-Hsu Lin (cypressyew)
         Status: In Progress

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: linux (Ubuntu Bionic)
     Importance: Undecided
     Assignee: Po-Hsu Lin (cypressyew)
         Status: In Progress


** Tags: 4.15 bionic kqa-blocker sru-20200831 ubuntu-kernel-selftests

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Bionic)
       Status: New => In Progress

** Changed in: linux (Ubuntu Bionic)
     Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Changed in: linux (Ubuntu)
       Status: New => Fix Released

** Changed in: ubuntu-kernel-tests
       Status: New => In Progress

** Changed in: ubuntu-kernel-tests
     Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Tags added: 4.15 bionic kqa-blocker sru-20200831 ubuntu-kernel-
selftests

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1895258

Title:
  rtnetlink.sh in net from ubuntu_kernel_selftests is returning 1 for a
  skipped test

Status in ubuntu-kernel-tests:
  In Progress
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  In Progress

Bug description:
  Issue found on X 4.15.0-1054.58 Oracle.

  The rtnetlink.sh failed with:
   selftests: rtnetlink.sh
   ========================================
   PASS: policy routing
   PASS: route get
   PASS: preferred_lft addresses have expired
   PASS: tc htb hierarchy
   PASS: gre tunnel endpoint
   PASS: bridge setup
   PASS: ipv6 addrlabel
   PASS: set ifalias e1dfde61-e5a7-415f-8bd9-924e9796038f for test-dummy0
   PASS: vrf
   PASS: vxlan
   SKIP: fou: iproute2 too old
   SKIP: macsec: iproute2 too old
   not ok 1..10 selftests: rtnetlink.sh [FAIL]

  Look into the code, it's the kci_test_encap_fou() test:

        ip fou help 2>&1 |grep -q 'Usage: ip fou'
        if [ $? -ne 0 ];then
              echo "SKIP: fou: iproute2 too old"
              return 1
        fi

  The return code is 1, thus causing this failure.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1895258/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to