New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 811969 link

Starred by 1 user

Issue metadata

Status: Closed
Owner: ----
Closed: Dec 5
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

hostapd process terminating on auron_yuna and enguarde

Project Member Reported by harpreet@chromium.org, Feb 13 2018

Issue description

yuna - chromeos15-row3-rack2-host1


This wificell is setup with stump AP which is running a older image.

localhost ~ # cat /etc/lsb-release 
CHROMEOS_RELEASE_APPID={2EE05B2F-3769-43B9-B78C-792F4A027971}
CHROMEOS_BOARD_APPID={2EE05B2F-3769-43B9-B78C-792F4A027971}
CHROMEOS_CANARY_APPID={90F229CE-83E2-4FAF-8479-E368A34938B1}
CHROMEOS_RELEASE_BOARD=stumpy
CHROMEOS_RELEASE_DESCRIPTION=5613.0.2014_03_10_1714 (Continuous Build - Builder: N/A) stumpy
CHROMEOS_RELEASE_NAME=Chromium OS
CHROMEOS_RELEASE_TRACK=testimage-channel
CHROMEOS_RELEASE_VERSION=5613.0.2014_03_10_1714
GOOGLE_RELEASE=5613.0.2014_03_10_1714
CHROMEOS_AUSERVER=http://build26-b2.chrome.corp.google.com:8080/update
CHROMEOS_DEVSERVER=http://build26-b2.chrome.corp.google.com:8080


Logs - https://pantheon.corp.google.com/storage/browser/chromeos-autotest-results/174629217-chromeos-test/chromeos15-row3-rack2-host1/network_WiFi_DisconnectReason.switch_ap/debug/



enguarde - chromeos2-row11-rack3-host3

Logs - https://pantheon.corp.google.com/storage/browser/chromeos-autotest-results/175166041-chromeos-test/chromeos2-row11-rack3-host3/network_WiFi_PMKSACaching/debug/



-------------------------------------------------------
Sample trace....

02/04 13:28:40.929 WARNI|              test:0637| The test failed with the following exception
Traceback (most recent call last):
  File "/usr/local/autotest/client/common_lib/test.py", line 631, in _exec
    _call_test_function(self.execute, *p_args, **p_dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 831, in _call_test_function
    return func(*args, **dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 495, in execute
    dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 362, in _call_run_once_with_retry
    postprocess_profiled_run, args, dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 400, in _call_run_once
    self.run_once(*args, **dargs)
  File "/usr/local/autotest/server/site_tests/network_WiFi_DisconnectReason/network_WiFi_DisconnectReason.py", line 34, in run_once
    self.context.configure(configuration)
  File "/usr/local/autotest/server/cros/network/wifi_test_context_manager.py", line 178, in configure
    multi_interface=multi_interface)
  File "/usr/local/autotest/server/site_linux_router.py", line 449, in hostap_configure
    self.start_hostapd(configuration)
  File "/usr/local/autotest/server/site_linux_router.py", line 321, in start_hostapd
    raise error.TestFail('hostapd process terminated.')
TestFail: hostapd process terminated.


---------------------------------------------------------

 
Labels: wifi-test-failures
I already have started working to update the stumpy testbed-ap image:
  crbug.com/809792 

Is this bug sort of a dup of 809792?

The netperf-2.7 tmpdir fix needed to land first though. I'm back to working on this though.
Re. if this a dup ... maybe? but this issue is only observed on couple routers. 

I tried to manually update chromeos15-row3-rack2-host1-router to R50-7849.0.0-b13 but it fails to restore stateful partition, complains about python command not found, so i tried dev_install --reinstall but that fails as well. 




$ cros flash ssh://chromeos15-row3-rack2-host1-router xbuddy://remote/trybot-stumpy-test-ap/R50-7849.0.0-b13
16:38:10: NOTICE: Preparing to update the remote device chromeos15-row3-rack2-host1-router
16:38:13: NOTICE: Using image trybot-stumpy-test-ap/R50-7849.0.0-b13/chromiumos_test_image.bin
16:38:31: WARNING: Cannot start devserver:
16:38:31: WARNING: Warning: Permanently added 'chromeos15-row3-rack2-host1-router,100.115.126.157' (RSA) to the list of known hosts.
bash: python: command not found


Cannot start devserver! The stateful partition may be corrupted: bash: python: command not found

Attempt to restore the stateful partition? (yes/No)? yes
16:39:06: WARNING: Restoring the stateful partition
16:41:56: WARNING: Cannot start devserver:
16:41:56: WARNING: Warning: Permanently added 'chromeos15-row3-rack2-host1-router,100.115.126.157' (RSA) to the list of known hosts.
Traceback (most recent call last):
  File "/mnt/stateful_partition/cros-flash/tmp.7CUwd2jWCY/src/devserver.py", line 59, in <module>
    import cherrypy
  File "/usr/local/lib64/python2.7/site-packages/cherrypy/__init__.py", line 62, in <module>
    from cherrypy._cpcompat import urljoin as _urljoin, urlencode as _urlencode
  File "/usr/local/lib64/python2.7/site-packages/cherrypy/_cpcompat.py", line 208, in <module>
    from http.cookies import SimpleCookie, CookieError
ImportError: No module named http.cookies

16:41:56: ERROR: Device update failed.
16:41:58: ERROR: cros flash failed before completing.
16:41:58: ERROR: ('Unable to restore stateful partition: %s', DevserverCannotStartError('ImportError: No module named http.cookies',))




..........................below is dev_install try on the stumpy - tried with different devservers.................


localhost ~ # dev_install --reinstall
To clean up, we will run:
  rm -rf /usr/local/
Any content you have stored in there will be deleted.
Remove all installed packages now? (y/N) y
Removed all installed packages.
Reinstalling emerge.
Starting installation of developer packages.
First, we download the necessary files.
Devserver URL set to:  http://build26-b2.chrome.corp.google.com:8080
Use it as the binhost? (y/N) N
Downloading https://commondatastorage.googleapis.com/chromeos-dev-installer/board/stumpy/canary-R35-5613.0.2014_03_10_1714/packages/sys-apps/sandbox-2.6-r1.tbz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
curl: (22) The requested URL returned error: 403 Forbidden        <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
ERROR(dev_install): Could not download package.
ERROR(dev_install): Command curl --fail -o /usr/local/portage/packages/sys-apps/sandbox-2.6-r1.tbz2 https://commondatastorage.googleapis.com/chromeos-dev-installer/board/stumpy/canary-R35-5613.0.2014_03_10_1714/packages/sys-apps/sandbox-2.6-r1.tbz2 failed.
localhost ~ # dev_install --reinstall
To clean up, we will run:
  rm -rf /usr/local/
Any content you have stored in there will be deleted.
Remove all installed packages now? (y/N) y
Removed all installed packages.
Reinstalling emerge.
Starting installation of developer packages.
First, we download the necessary files.
Devserver URL set to:  http://build26-b2.chrome.corp.google.com:8080
Use it as the binhost? (y/N) y
Downloading http://build26-b2.chrome.corp.google.com:8080/static/pkgroot/stumpy/packages/sys-apps/sandbox-2.6-r1.tbz2   
curl: (6) Couldn't resolve host 'build26-b2.chrome.corp.google.com'        <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
ERROR(dev_install): Could not download package.
ERROR(dev_install): Command curl --fail -o /usr/local/portage/packages/sys-apps/sandbox-2.6-r1.tbz2 http://build26-b2.chrome.corp.google.com:8080/static/pkgroot/stumpy/packages/sys-apps/sandbox-2.6-r1.tbz2 failed.

Status: Closed (was: Untriaged)
Sounds like bad routers, and it's not happening any more.

Sign in to add a comment