← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2095213] [NEW] ubuntu_kselftests_net.net:cmsg_time.sh fails on g1-small Google cloud instances

 

Public bug reported:

cmsg_time.sh expects predictable timing from the system and flakes on
g1-small instances, which are shared-core.

It's possible that setting KSFT_MACHINE_SLOW to 'yes' could help
mitigate this issue, since this environment variable was added to the
test for low resource machines. Repeating this test with that change
reduces the occurrence of test failure significantly (1/400 -> 1/1000
based on a couple trials).

Test log:

16:48:18 DEBUG| [stdout] make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kselftests_net/src/linux/tools/testing/selftests/net'
16:48:18 DEBUG| [stdout] TAP version 13
16:48:18 DEBUG| [stdout] 1..1
16:48:18 DEBUG| [stdout] # timeout set to 0
16:48:18 DEBUG| [stdout] # selftests: net: cmsg_time.sh
16:48:19 DEBUG| [stdout] #   Case ICMPv6  - TXTIME rel returned '1020us - 863us < 500', expected 'OK'
16:48:19 DEBUG| [stdout] # FAIL - 1/36 cases failed
16:48:19 DEBUG| [stdout] not ok 1 selftests: net: cmsg_time.sh # exit=1

** 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/2095213

Title:
  ubuntu_kselftests_net.net:cmsg_time.sh fails on g1-small Google cloud
  instances

Status in ubuntu-kernel-tests:
  New

Bug description:
  cmsg_time.sh expects predictable timing from the system and flakes on
  g1-small instances, which are shared-core.

  It's possible that setting KSFT_MACHINE_SLOW to 'yes' could help
  mitigate this issue, since this environment variable was added to the
  test for low resource machines. Repeating this test with that change
  reduces the occurrence of test failure significantly (1/400 -> 1/1000
  based on a couple trials).

  Test log:

  16:48:18 DEBUG| [stdout] make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kselftests_net/src/linux/tools/testing/selftests/net'
  16:48:18 DEBUG| [stdout] TAP version 13
  16:48:18 DEBUG| [stdout] 1..1
  16:48:18 DEBUG| [stdout] # timeout set to 0
  16:48:18 DEBUG| [stdout] # selftests: net: cmsg_time.sh
  16:48:19 DEBUG| [stdout] #   Case ICMPv6  - TXTIME rel returned '1020us - 863us < 500', expected 'OK'
  16:48:19 DEBUG| [stdout] # FAIL - 1/36 cases failed
  16:48:19 DEBUG| [stdout] not ok 1 selftests: net: cmsg_time.sh # exit=1

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