New issue
Advanced search Search tips

Issue 844747 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: May 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Some AU tests failing to disconnect from network

Project Member Reported by dhadd...@chromium.org, May 18 2018

Issue description

Some AU tests do not disconnect from the network because they have an extra interface eth2 that I did not expect

TimeoutError: Timed out waiting for condition: Ping failure while offline.
05/18 06:50:59.902 DEBUG|             utils:0215| Running 'ifconfig'
05/18 06:50:59.921 DEBUG|update_engine_test:0075| * Command: 
    ifconfig
Exit status: 0
Duration: 0.0135838985443

stdout:
eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 100.115.195.116  netmask 255.255.254.0  broadcast 100.115.195.255
        inet6 fe80::823f:5dff:fe16:f88d  prefixlen 64  scopeid 0x20<link>
        ether 80:3f:5d:16:f8:8d  txqueuelen 1000  (Ethernet)
        RX packets 331410  bytes 347142323 (331.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 86914  bytes 16118173 (15.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 3067  bytes 794726 (776.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3067  bytes 794726 (776.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0




 
Project Member

Comment 1 by bugdroid1@chromium.org, May 19 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/5fe16bae59a7644c2b4b8eabe8a813ab6b296f86

commit 5fe16bae59a7644c2b4b8eabe8a813ab6b296f86
Author: David Haddock <dhaddock@chromium.org>
Date: Sat May 19 23:16:21 2018

Improve turning off network in AU tests.

BUG= chromium:844747 
TEST=test_that <IP> autoupdate_OmahaResponse.backoff_enabled

Change-Id: I9a1ff068020d529e6d127fc51e8a5d2d80c88b38
Reviewed-on: https://chromium-review.googlesource.com/1066854
Commit-Ready: David Haddock <dhaddock@chromium.org>
Tested-by: David Haddock <dhaddock@chromium.org>
Reviewed-by: Katherine Threlkeld <kathrelkeld@chromium.org>

[modify] https://crrev.com/5fe16bae59a7644c2b4b8eabe8a813ab6b296f86/client/cros/update_engine/update_engine_test.py

Status: Verified (was: Assigned)

Sign in to add a comment