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

Issue 634993 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Aug 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

Can not retrieve complete rpm informationfrom AFE for hosts in chromeos3-row3-rack4*

Project Member Reported by bmahadev@chromium.org, Aug 5 2016

Issue description

raceback (most recent call last):
08/04 23:23:25.801 ERROR|         traceback:0013|   File "/usr/local/autotest/server/autoserv", line 560, in run_autoserv
08/04 23:23:25.801 ERROR|         traceback:0013|     use_packaging=(not no_use_packaging))
08/04 23:23:25.802 ERROR|         traceback:0013|   File "/usr/local/autotest/server/site_server_job.py", line 65, in run
08/04 23:23:25.802 ERROR|         traceback:0013|     super(site_server_job, self).run(*args, **dargs)
08/04 23:23:25.803 ERROR|         traceback:0013|   File "/usr/local/autotest/server/server_job.py", line 692, in run
08/04 23:23:25.803 ERROR|         traceback:0013|     self._execute_code(server_control_file, namespace)
08/04 23:23:25.804 ERROR|         traceback:0013|   File "/usr/local/autotest/server/server_job.py", line 1191, in _execute_code
08/04 23:23:25.804 ERROR|         traceback:0013|     execfile(code_file, namespace, namespace)
08/04 23:23:25.804 ERROR|         traceback:0013|   File "/usr/local/autotest/results/72127538-bmahadev/chromeos3-row1-rack2-host4/control.srv", line 45, in <module>
08/04 23:23:25.805 ERROR|         traceback:0013|     step_init()
08/04 23:23:25.805 ERROR|         traceback:0013|   File "/usr/local/autotest/results/72127538-bmahadev/chromeos3-row1-rack2-host4/control.srv", line 2, in step_init
08/04 23:23:25.806 ERROR|         traceback:0013|     step0()
08/04 23:23:25.806 ERROR|         traceback:0013|   File "/usr/local/autotest/results/72127538-bmahadev/chromeos3-row1-rack2-host4/control.srv", line 43, in step0
08/04 23:23:25.806 ERROR|         traceback:0013|     parallel_simple(run_chaos_wpa2psk, machines)
08/04 23:23:25.807 ERROR|         traceback:0013|   File "/usr/local/autotest/server/subcommand.py", line 93, in parallel_simple
08/04 23:23:25.807 ERROR|         traceback:0013|     function(arg)
08/04 23:23:25.808 ERROR|         traceback:0013|   File "/usr/local/autotest/results/72127538-bmahadev/chromeos3-row1-rack2-host4/control.srv", line 40, in run_chaos_wpa2psk
08/04 23:23:25.808 ERROR|         traceback:0013|     runner.run(job)
08/04 23:23:25.808 ERROR|         traceback:0013|   File "/usr/local/autotest/server/cros/chaos_lib/chaos_runner.py", line 175, in run
08/04 23:23:25.809 ERROR|         traceback:0013|     batch_locker, job, self._broken_pdus)
08/04 23:23:25.809 ERROR|         traceback:0013|   File "/usr/local/autotest/server/cros/network/chaos_clique_utils.py", line 228, in filter_quarantined_and_config_failed_aps
08/04 23:23:25.810 ERROR|         traceback:0013|     release_ap(ap, batch_locker, broken_pdus)
08/04 23:23:25.810 ERROR|         traceback:0013|   File "/usr/local/autotest/server/cros/network/chaos_clique_utils.py", line 189, in release_ap
08/04 23:23:25.810 ERROR|         traceback:0013|     ap.apply_settings()
08/04 23:23:25.811 ERROR|         traceback:0013|   File "/usr/local/autotest/server/cros/ap_configurators/static_ap_configurator.py", line 135, in apply_settings
08/04 23:23:25.811 ERROR|         traceback:0013|     command.method(*command.args)
08/04 23:23:25.812 ERROR|         traceback:0013|   File "/usr/lib/python2.7/xmlrpclib.py", line 1233, in __call__
08/04 23:23:25.812 ERROR|         traceback:0013|     return self.__send(self.__name, args)
08/04 23:23:25.813 ERROR|         traceback:0013|   File "/usr/lib/python2.7/xmlrpclib.py", line 1587, in __request
08/04 23:23:25.813 ERROR|         traceback:0013|     verbose=self.__verbose
08/04 23:23:25.813 ERROR|         traceback:0013|   File "/usr/lib/python2.7/xmlrpclib.py", line 1273, in request
08/04 23:23:25.814 ERROR|         traceback:0013|     return self.single_request(host, handler, request_body, verbose)
08/04 23:23:25.814 ERROR|         traceback:0013|   File "/usr/lib/python2.7/xmlrpclib.py", line 1306, in single_request
08/04 23:23:25.814 ERROR|         traceback:0013|     return self.parse_response(response)
08/04 23:23:25.815 ERROR|         traceback:0013|   File "/usr/lib/python2.7/xmlrpclib.py", line 1482, in parse_response
08/04 23:23:25.815 ERROR|         traceback:0013|     return u.close()
08/04 23:23:25.816 ERROR|         traceback:0013|   File "/usr/lib/python2.7/xmlrpclib.py", line 794, in close
08/04 23:23:25.816 ERROR|         traceback:0013|     raise Fault(**self._stack[0])
08/04 23:23:25.816 ERROR|         traceback:0013| Fault: <Fault 1: "<class 'autotest_lib.site_utils.rpm_control_system.rpm_infrastructure_exception.RPMInfrastructureException'>:Can not retrieve complete rpm informationfrom AFE for chromeos3-row3-rack4-host20, please make sure powerunit_hostname and powerunit_outlet are in the host's attributes.">
08/04 23:23:25.818 ERROR|          autoserv:0786| 1


 
Owner: haoweiw@chromium.org
Status: Assigned (was: Untriaged)
Could you please also update rpm info for this host ?
Labels: -Pri-3 Pri-1
Summary: Can not retrieve complete rpm informationfrom AFE for hosts in chromeos3-row3-rack4* (was: Can not retrieve complete rpm informationfrom AFE for chromeos3-row3-rack4-host20)
See the same error for chromeos3-row3-rack4-host12

Fault: <Fault 1: "<class 'autotest_lib.site_utils.rpm_control_system.rpm_infrastructure_exception.RPMInfrastructureException'>:Can not retrieve complete rpm informationfrom AFE for chromeos3-row3-rack4-host12, please make sure powerunit_hostname and powerunit_outlet are in the host's attributes.">

Cc: dshi@chromium.org

Comment 4 by dshi@chromium.org, Aug 9 2016

http://cautotest/afe/server/admin/afe/host/5297/

The host has no attribute about RPM settings.
Here are 2 more hosts missing the RPM attribute.
chromeos3-row3-rack4-host14
chromeos3-row3-rack4-host18

From previous comments:
chromeos3-row3-rack4-host20
chromeos3-row3-rack4-host12

@tienchan - Is this newer of the racks in this row ? Had you previously made sure all these hosts have he RPM attribute ?
Owner: tienchang@chromium.org
Assigning to Tien for adding the RPM info for these hosts and any others that may be missing this info in that rack.
Status: Fixed (was: Assigned)

Sign in to add a comment