looking at the test it appears that there are several factors hard coded
into it.

    def determine_underlay(self):
        underlay = 'bogus'
        cmd = 'ip address'
        output = utils.system_output(cmd, retain_output=False)
        for line in output.split('\n'):
            m = re.search('inet (\d+\.\d+)\.\d+\.\d+\/\d+ brd 
\d+\.\d+\.\d+\.\d+ scope', line)
            if m:
                underlay = '%s.0.0/16' % m.group(1)
                break
        return underlay


This may be the problem overall and possibly not the right way to approach 
this, The underlay network should probably be the default routable network. Not 
every network is a /16 ,  will take a look to see if I can refactor this a bit.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1840904

Title:
  ubuntu_fan_smoke_test failed with enable disable fan test on GKE 4.15
  with g1-small and n1-highmem-16 / B-gcp-5.3

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to