← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2076413] [NEW] net:fib_tests.sh in ubuntu_kernel_selftests failed on noble-riscv

 

Public bug reported:


# Fib6 garbage collection test
#     TEST: ipv6 route garbage collection                                 [ OK ]
#  
# IPv4 multipath list receive tests
# (standard_in) 1: syntax error
# (standard_in) 1: syntax error
#     TEST: Multipath route hit ratio ()                                  [FAIL]
# 
# IPv6 multipath list receive tests
# (standard_in) 1: syntax error
# (standard_in) 1: syntax error
#     TEST: Multipath route hit ratio ()                                  [FAIL]
# 
# Tests passed: 223
# Tests failed:   2
# not ok 1 selftests: net: fib_tests.sh # exit=1

When testing this manually it looks like perf is creating some output
that jq later tries to read from but the perf output is not what it
expects and instead it reads nothing.

That is the perf command:
+ run_cmd 'perf stat -a -e fib6:fib6_table_lookup --filter '\''err == 0'\'' -j -o /tmp/tmp.Eu1nNKMT5A -- ip netns exec ns1-wx2sgu mausezahn -6 veth1 -a own -b 26:9f:76:bf:ee:3a
    	-A 2001:db8:101::1 -B 2001:db8:301::1 -t udp '\''sp=12345,dp=0-65535'\'' -q'
+ local 'cmd=perf stat -a -e fib6:fib6_table_lookup --filter '\''err == 0'\'' -j -o /tmp/tmp.Eu1nNKMT5A -- ip netns exec ns1-wx2sgu mausezahn -6 veth1 -a own -b 26:9f:76:bf:ee:3a
    	-A 2001:db8:101::1 -B 2001:db8:301::1 -t udp '\''sp=12345,dp=0-65535'\'' -q'

Later this is where the syntax error happens:
++ tail -n 1 /tmp/tmp.Eu1nNKMT5A
++ jq '.["counter-value"] | tonumber | floor'
+ local count=
++ echo 'scale=2;  / 0'

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2076413

Title:
  net:fib_tests.sh in ubuntu_kernel_selftests failed on noble-riscv

Status in ubuntu-kernel-tests:
  New

Bug description:
  
  # Fib6 garbage collection test
  #     TEST: ipv6 route garbage collection                                 [ OK ]
  #  
  # IPv4 multipath list receive tests
  # (standard_in) 1: syntax error
  # (standard_in) 1: syntax error
  #     TEST: Multipath route hit ratio ()                                  [FAIL]
  # 
  # IPv6 multipath list receive tests
  # (standard_in) 1: syntax error
  # (standard_in) 1: syntax error
  #     TEST: Multipath route hit ratio ()                                  [FAIL]
  # 
  # Tests passed: 223
  # Tests failed:   2
  # not ok 1 selftests: net: fib_tests.sh # exit=1

  When testing this manually it looks like perf is creating some output
  that jq later tries to read from but the perf output is not what it
  expects and instead it reads nothing.

  That is the perf command:
  + run_cmd 'perf stat -a -e fib6:fib6_table_lookup --filter '\''err == 0'\'' -j -o /tmp/tmp.Eu1nNKMT5A -- ip netns exec ns1-wx2sgu mausezahn -6 veth1 -a own -b 26:9f:76:bf:ee:3a
      	-A 2001:db8:101::1 -B 2001:db8:301::1 -t udp '\''sp=12345,dp=0-65535'\'' -q'
  + local 'cmd=perf stat -a -e fib6:fib6_table_lookup --filter '\''err == 0'\'' -j -o /tmp/tmp.Eu1nNKMT5A -- ip netns exec ns1-wx2sgu mausezahn -6 veth1 -a own -b 26:9f:76:bf:ee:3a
      	-A 2001:db8:101::1 -B 2001:db8:301::1 -t udp '\''sp=12345,dp=0-65535'\'' -q'

  Later this is where the syntax error happens:
  ++ tail -n 1 /tmp/tmp.Eu1nNKMT5A
  ++ jq '.["counter-value"] | tonumber | floor'
  + local count=
  ++ echo 'scale=2;  / 0'

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



Follow ups