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

Issue 597782 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

[wifi_interop] "Found no matching APs to test against." for speedy and daisy

Project Member Reported by tienchang@chromium.org, Mar 24 2016

Issue description

This is happening for scheduled runs on speedy and daisy only. Manually invoked runs from test_that does not have this problem.

fdeng@/dshi@, was there a change to sharded instances similar to this bug? https://bugs.chromium.org/p/chromium/issues/detail?id=570498

Traceback (most recent call last):
  File "/usr/local/autotest/server/server_job.py", line 684, in run
    self._execute_code(server_control_file, namespace)
  File "/usr/local/autotest/server/server_job.py", line 1182, in _execute_code
    execfile(code_file, namespace, namespace)
  File "/usr/local/autotest/results/57587570-chromeos-test/control.srv", line 36, in <module>
    parallel_simple(run_chaos_open, machines)
  File "/usr/local/autotest/server/subcommand.py", line 93, in parallel_simple
    function(arg)
  File "/usr/local/autotest/results/57587570-chromeos-test/control.srv", line 33, in run_chaos_open
    runner.run(job)
  File "/usr/local/autotest/server/cros/chaos_lib/chaos_runner.py", line 118, in run
    ap_test_type=ap_constants.AP_TEST_TYPE_CHAOS)
  File "/usr/local/autotest/server/cros/ap_configurators/ap_batch_locker.py", line 116, in __init__
    ap_test_type=ap_test_type)
  File "/usr/local/autotest/server/cros/ap_configurators/ap_batch_locker.py", line 77, in construct_ap_lockers
    raise error.TestError('Found no matching APs to test against.')
 
Owner: tienchang@chromium.org
Status: Assigned (was: Untriaged)
I might have missed the AFE instance in ap_configurator_factory. Uploaded fix and will run trybot to verify.

https://chromium-review.googlesource.com/#/c/334831/
Project Member

Comment 2 by bugdroid1@chromium.org, Mar 31 2016

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

commit a83297fded80234f6c7b3456fefec7058147e9f9
Author: Tien Chang <tienchang@google.com>
Date: Thu Mar 24 21:35:09 2016

wifi_interop: Pass in global AFE for APs in sharded instances.

ap_configurator_factory could not build APs because it could not find any APs.

BUG= chromium:597782 
TEST=trybot runs could grab APs; tested with speedy and daisy

Change-Id: I5749ad502bdea1094d462bc2604584a17e478313
Reviewed-on: https://chromium-review.googlesource.com/334831
Commit-Ready: Tien Chang <tienchang@chromium.org>
Tested-by: Tien Chang <tienchang@chromium.org>
Reviewed-by: Tien Chang <tienchang@chromium.org>

[modify] https://crrev.com/a83297fded80234f6c7b3456fefec7058147e9f9/server/cros/ap_configurators/ap_configurator_factory.py

Labels: -Chaos chaos
Status: Verified (was: Assigned)
Not a problem anymore.

Sign in to add a comment