ubuntu_fan_smoke fails on disco-kvm

Bug #1828834 reported by Sean Feole
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

Disco,
5.0.0-1005.5
linux-kvm

ubuntu_fan_smoke test fails, appears that it can't configure the TUN virtual networking device.

04/30 02:31:10 DEBUG| utils:0153| [stdout] Running in the Canonical CI environment
04/30 02:31:11 DEBUG| utils:0153| [stdout] Testing Fan Networking (pre-0.13.0 API)
04/30 02:31:39 DEBUG| utils:0153| [stdout] docker pull ubuntu: PASSED
04/30 02:31:39 ERROR| utils:0153| [stderr] Error: Unknown device type.
04/30 02:31:39 ERROR| utils:0153| [stderr] /usr/sbin/fanctl: ip link add ftun0 type vxlan id 16384000 dev ens6 dstport 0 local 10.246.72.58 fan-map 250.0.0.0/8:10.246.0.0/16
04/30 02:31:39 ERROR| utils:0153| [stderr] /usr/sbin/fanctl: WARNING: ftun0: failed to configure address translation
04/30 02:31:39 ERROR| utils:0153| [stderr] RTNETLINK answers: Cannot assign requested address
04/30 02:31:39 ERROR| utils:0153| [stderr] iptables v1.6.1: Couldn't load target `fan-egress':No such file or directory
04/30 02:31:39 ERROR| utils:0153| [stderr]
04/30 02:31:39 ERROR| utils:0153| [stderr] Try `iptables -h' or 'iptables --help' for more information.
04/30 02:31:39 ERROR| utils:0153| [stderr] iptables: Bad rule (does a matching rule exist in that chain?).
04/30 02:31:39 ERROR| utils:0153| [stderr] iptables: Bad rule (does a matching rule exist in that chain?).
04/30 02:31:39 ERROR| utils:0153| [stderr] iptables: No chain/target/match by that name.
04/30 02:31:39 ERROR| utils:0153| [stderr] rm: cannot remove '/run/ubuntu-fan/nat-core': No such file or directory
04/30 02:31:39 ERROR| utils:0153| [stderr] /usr/sbin/fanatic: unable to bring fan up, unable to configure
04/30 02:31:39 DEBUG| utils:0153| [stdout] enable disable fan test: FAILED (fanatic enable-fan returned 1)
04/30 02:31:39 ERROR| test:0414| Exception escaping from test:
Traceback (most recent call last):
  File "/home/ubuntu/autotest/client/shared/test.py", line 411, in _exec
    _call_test_function(self.execute, *p_args, **p_dargs)
  File "/home/ubuntu/autotest/client/shared/test.py", line 823, in _call_test_function
    return func(*args, **dargs)
  File "/home/ubuntu/autotest/client/shared/test.py", line 291, in execute
    postprocess_profiled_run, args, dargs)
  File "/home/ubuntu/autotest/client/shared/test.py", line 212, in _call_run_once
    self.run_once(*args, **dargs)
  File "/home/ubuntu/autotest/client/tests/ubuntu_fan_smoke_test/ubuntu_fan_smoke_test.py", line 49, in run_once
    self.results = utils.system_output(cmd, retain_output=True)
  File "/home/ubuntu/autotest/client/shared/utils.py", line 1267, in system_output
    verbose=verbose, args=args).stdout
  File "/home/ubuntu/autotest/client/shared/utils.py", line 918, in run
    "Command returned non-zero exit status")
CmdError: Command <./ubuntu_fan_smoke_test.sh 10.246.0.0/16> failed, rc=1, Command returned non-zero exit status
* Command:
    ./ubuntu_fan_smoke_test.sh 10.246.0.0/16
Exit status: 1
Duration: 32.8682489395

stdout:
Running in the Canonical CI environment
Testing Fan Networking (pre-0.13.0 API)
docker pull ubuntu: PASSED
enable disable fan test: FAILED (fanatic enable-fan returned 1)
stderr:
Error: Unknown device type.
/usr/sbin/fanctl: ip link add ftun0 type vxlan id 16384000 dev ens6 dstport 0 local 10.246.72.58 fan-map 250.0.0.0/8:10.246.0.0/16
/usr/sbin/fanctl: WARNING: ftun0: failed to configure address translation
RTNETLINK answers: Cannot assign requested address
iptables v1.6.1: Couldn't load target `fan-egress':No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: No chain/target/match by that name.
rm: cannot remove '/run/ubuntu-fan/nat-core': No such file or directory
/usr/sbin/fanatic: unable to bring fan up, unable to configure
04/30 02:31:39 ERROR| parallel:0033| child process failed
04/30 02:31:39 DEBUG| parallel:0037| Traceback (most recent call last):
04/30 02:31:39 DEBUG| parallel:0037| File "/home/ubuntu/autotest/client/parallel.py", line 25, in fork_start
04/30 02:31:39 DEBUG| parallel:0037| l()
04/30 02:31:39 DEBUG| parallel:0037| File "/home/ubuntu/autotest/client/job.py", line 505, in <lambda>
04/30 02:31:39 DEBUG| parallel:0037| l = lambda: test.runtest(self, url, tag, args, dargs)
04/30 02:31:39 DEBUG| parallel:0037| File "/home/ubuntu/autotest/client/test.py", line 125, in runtest
04/30 02:31:39 DEBUG| parallel:0037| job.sysinfo.log_after_each_iteration)
04/30 02:31:39 DEBUG| parallel:0037| File "/home/ubuntu/autotest/client/shared/test.py", line 913, in runtest
04/30 02:31:39 DEBUG| parallel:0037| mytest._exec(args, dargs)
04/30 02:31:39 DEBUG| parallel:0037| File "/home/ubuntu/autotest/client/shared/test.py", line 411, in _exec
04/30 02:31:39 DEBUG| parallel:0037| _call_test_function(self.execute, *p_args, **p_dargs)
04/30 02:31:39 DEBUG| parallel:0037| File "/home/ubuntu/autotest/client/shared/test.py", line 823, in _call_test_function
04/30 02:31:39 DEBUG| parallel:0037| return func(*args, **dargs)
04/30 02:31:39 DEBUG| parallel:0037| File "/home/ubuntu/autotest/client/shared/test.py", line 291, in execute
04/30 02:31:39 DEBUG| parallel:0037| postprocess_profiled_run, args, dargs)
04/30 02:31:39 DEBUG| parallel:0037| File "/home/ubuntu/autotest/client/shared/test.py", line 212, in _call_run_once
04/30 02:31:39 DEBUG| parallel:0037| self.run_once(*args, **dargs)
04/30 02:31:39 DEBUG| parallel:0037| File "/home/ubuntu/autotest/client/tests/ubuntu_fan_smoke_test/ubuntu_fan_smoke_test.py", line 49, in run_once
04/30 02:31:39 DEBUG| parallel:0037| self.results = utils.system_output(cmd, retain_output=True)
04/30 02:31:39 DEBUG| parallel:0037| File "/home/ubuntu/autotest/client/shared/utils.py", line 1267, in system_output
04/30 02:31:39 DEBUG| parallel:0037| verbose=verbose, args=args).stdout
04/30 02:31:39 DEBUG| parallel:0037| File "/home/ubuntu/autotest/client/shared/utils.py", line 918, in run
04/30 02:31:39 DEBUG| parallel:0037| "Command returned non-zero exit status")
04/30 02:31:39 DEBUG| parallel:0037| CmdError: Command <./ubuntu_fan_smoke_test.sh 10.246.0.0/16> failed, rc=1, Command returned non-zero exit status
04/30 02:31:39 DEBUG| parallel:0037| * Command:
04/30 02:31:39 DEBUG| parallel:0037| ./ubuntu_fan_smoke_test.sh 10.246.0.0/16
04/30 02:31:39 DEBUG| parallel:0037| Exit status: 1
04/30 02:31:39 DEBUG| parallel:0037| Duration: 32.8682489395
04/30 02:31:39 DEBUG| parallel:0037|
04/30 02:31:39 DEBUG| parallel:0037| stdout:
04/30 02:31:39 DEBUG| parallel:0037| Running in the Canonical CI environment
04/30 02:31:39 DEBUG| parallel:0037| Testing Fan Networking (pre-0.13.0 API)
04/30 02:31:39 DEBUG| parallel:0037| docker pull ubuntu: PASSED
04/30 02:31:39 DEBUG| parallel:0037| enable disable fan test: FAILED (fanatic enable-fan returned 1)
04/30 02:31:39 DEBUG| parallel:0037| stderr:
04/30 02:31:39 DEBUG| parallel:0037| Error: Unknown device type.
04/30 02:31:39 DEBUG| parallel:0037| /usr/sbin/fanctl: ip link add ftun0 type vxlan id 16384000 dev ens6 dstport 0 local 10.246.72.58 fan-map 250.0.0.0/8:10.246.0.0/16
04/30 02:31:39 DEBUG| parallel:0037| /usr/sbin/fanctl: WARNING: ftun0: failed to configure address translation
04/30 02:31:39 DEBUG| parallel:0037| RTNETLINK answers: Cannot assign requested address
04/30 02:31:39 DEBUG| parallel:0037| iptables v1.6.1: Couldn't load target `fan-egress':No such file or directory
04/30 02:31:39 DEBUG| parallel:0037|
04/30 02:31:39 DEBUG| parallel:0037| Try `iptables -h' or 'iptables --help' for more information.
04/30 02:31:39 DEBUG| parallel:0037| iptables: Bad rule (does a matching rule exist in that chain?).
04/30 02:31:39 DEBUG| parallel:0037| iptables: Bad rule (does a matching rule exist in that chain?).
04/30 02:31:39 DEBUG| parallel:0037| iptables: No chain/target/match by that name.
04/30 02:31:39 DEBUG| parallel:0037| rm: cannot remove '/run/ubuntu-fan/nat-core': No such file or directory
04/30 02:31:39 DEBUG| parallel:0037| /usr/sbin/fanatic: unable to bring fan up, unable to configure
04/30 02:31:39 INFO | job:0215| ERROR ubuntu_fan_smoke_test.fan-smoke-test ubuntu_fan_smoke_test.fan-smoke-test timestamp=1556591499 localtime=Apr 30 02:31:39 Command <./ubuntu_fan_smoke_test.sh 10.246.0.0/16> failed, rc=1, Command returned non-zero exit status
  * Command:
      ./ubuntu_fan_smoke_test.sh 10.246.0.0/16
  Exit status: 1
  Duration: 32.8682489395

  stdout:
  Running in the Canonical CI environment
  Testing Fan Networking (pre-0.13.0 API)
  docker pull ubuntu: PASSED
  enable disable fan test: FAILED (fanatic enable-fan returned 1)
  stderr:
  Error: Unknown device type.
  /usr/sbin/fanctl: ip link add ftun0 type vxlan id 16384000 dev ens6 dstport 0 local 10.246.72.58 fan-map 250.0.0.0/8:10.246.0.0/16
  /usr/sbin/fanctl: WARNING: ftun0: failed to configure address translation
  RTNETLINK answers: Cannot assign requested address
  iptables v1.6.1: Couldn't load target `fan-egress':No such file or directory

  Try `iptables -h' or 'iptables --help' for more information.
  iptables: Bad rule (does a matching rule exist in that chain?).
  iptables: Bad rule (does a matching rule exist in that chain?).
  iptables: No chain/target/match by that name.
  rm: cannot remove '/run/ubuntu-fan/nat-core': No such file or directory
  /usr/sbin/fanatic: unable to bring fan up, unable to configure
04/30 02:31:39 INFO | job:0215| END ERROR ubuntu_fan_smoke_test.fan-smoke-test ubuntu_fan_smoke_test.fan-smoke-test timestamp=1556591499 localtime=Apr 30 02:31:39

Po-Hsu Lin (cypressyew)
tags: added: ubuntu-fan-smoke-test
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.