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

Issue 853998 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Jun 2018
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

platform_InstallTestImage is failing with error "object has no attribute '_get_cros_repair_image_name'"

Project Member Reported by dsunk...@chromium.org, Jun 19 2018

Issue description

platform_InstallTestImage is failing  with error "object has no attribute '_get_cros_repair_image_name'"

1. object has no attribute '_get_cros_repair_image_name'
https://ubercautotest.corp.google.com/afe/#tab_id=view_job&object_id=209598029

06/18 13:43:54.331 DEBUG|             utils:0215| Running 'ssh 100.115.127.245 'curl "http://100.115.127.245:8082/is_staged?artifacts=full_payload&files=&archive_url=gs://chromeos-image-archive/beaglebone_servo-release/R69-10738.0.0"''
06/18 13:44:02.831 DEBUG|        dev_server:1142| whether artifact is staged: 'True'
06/18 13:44:02.832 INFO |        dev_server:1262| Finished staging artifacts: build=beaglebone_servo-release/R69-10738.0.0, artifacts=['full_payload'], files=, archive_url=gs://chromeos-image-archive/beaglebone_servo-release/R69-10738.0.0
06/18 13:44:02.846 DEBUG|          ssh_host:0301| Running (ssh) 'touch /home/chronos/.oobe_completed' from '_verify_host|verify|update_image|run|run|run_very_slowly'
06/18 13:44:03.396 DEBUG|          ssh_host:0301| Running (ssh) '/usr/bin/update_engine_client -status | grep CURRENT_OP' from '_Wrapper|_run|check_update_status|run|run|run_very_slowly'
06/18 13:44:03.967 ERROR|             utils:0283| [stderr] [0618/193414:INFO:update_engine_client.cc(508)] Querying Update Engine status...
06/18 13:44:03.982 DEBUG|             utils:0283| [stdout] CURRENT_OP=UPDATE_STATUS_IDLE
06/18 13:44:03.989 INFO |       autoupdater:0479| Triggering update via: /usr/bin/update_engine_client --check_for_update --omaha_url=http://100.115.127.245:8082/update/beaglebone_servo-release/R69-10738.0.0
06/18 13:44:04.003 DEBUG|          ssh_host:0301| Running (ssh) '/usr/bin/update_engine_client --check_for_update --omaha_url=http://100.115.127.245:8082/update/beaglebone_servo-release/R69-10738.0.0' from '_Wrapper|_run|_base_update_handler_no_retry|run|run|run_very_slowly'
06/18 13:44:04.568 ERROR|             utils:0283| [stderr] [0618/193414:INFO:update_engine_client.cc(488)] Initiating update check and install.
06/18 13:44:04.610 DEBUG|          ssh_host:0301| Running (ssh) '/usr/bin/update_engine_client -status | grep CURRENT_OP' from 'verify|update_image|check_update_status|run|run|run_very_slowly'
06/18 13:44:05.177 ERROR|             utils:0283| [stderr] [0618/193415:INFO:update_engine_client.cc(508)] Querying Update Engine status...
06/18 13:44:05.493 DEBUG|             utils:0283| [stdout] CURRENT_OP=UPDATE_STATUS_CHECKING_FOR_UPDATE
06/18 13:44:05.504 INFO |        servo_host:0584| Triggered download and update passed for chromeos15-row1-rack4-host4-servo, update engine currently in status UPDATE_STATUS_CHECKING_FOR_UPDATE
06/18 13:44:05.505 INFO |            repair:0349| Verifying this condition: All host verification checks pass
06/18 13:44:05.937 ERROR|        server_job:0813| Exception escaped control file, job aborting:
Traceback (most recent call last):
  File "/usr/local/autotest/server/server_job.py", line 805, in run
    self._execute_code(server_control_file, namespace)
  File "/usr/local/autotest/server/server_job.py", line 1328, in _execute_code
    execfile(code_file, namespace, namespace)
  File "/usr/local/autotest/results/209598029-dsunkara/chromeos15-row1-rack4-host4/control.srv", line 77, in <module>
    step_init()
  File "/usr/local/autotest/results/209598029-dsunkara/chromeos15-row1-rack4-host4/control.srv", line 2, in step_init
    step0()
  File "/usr/local/autotest/results/209598029-dsunkara/chromeos15-row1-rack4-host4/control.srv", line 75, in step0
    parallel_simple(run, machines)
  File "/usr/local/autotest/server/subcommand.py", line 98, in parallel_simple
    function(arg)
  File "/usr/local/autotest/results/209598029-dsunkara/chromeos15-row1-rack4-host4/control.srv", line 60, in run
    image_name = host._get_cros_repair_image_name()
AttributeError: 'chromeos15-row1-rack4-host4_host' object has no attribute '_get_cros_repair_image_name'
06/18 13:44:05.938 INFO |        server_job:0218| INFO	----	----	timestamp=1529354645	job_abort_reason='chromeos15-row1-rack4-host4_host' object has no attribute '_get_cros_repair_image_name'	localtime=Jun 18 13:44:05	'chromeos15-row1-rack4-host4_host' object has no attribute '_get_cros_repair_image_name'
06/18 13:44:05.939 ERROR|   logging_manager:0626| tko parser: {'drone': 'chromeos-skunk-4.mtv.corp.google.com', 'job_queued': 1529354201, 'job_started': 1529354564, 'user': 'dsunkara', 'hostname': 'chromeos15-row1-rack4-host4', 'status_version': 1, 'label': 'chromeos15-row1-rack4-host4.platform_installTestImage'}
06/18 13:44:05.940 ERROR|   logging_manager:0626| tko parser: MACHINE NAME: chromeos15-row1-rack4-host4



Comment from parent bug:
https://bugs.chromium.org/p/chromium/issues/detail?id=853962#c3

Also, on a note this test ran fine in the past with this change
 https://chromium-review.googlesource.com/424795

Good runs with this change can be found @https://ubercautotest.corp.google.com/afe/#tab_id=view_job&object_id=189052638

https://00e9e64bac6f59fbc312bd75fbd599bd2be183e2c4d7b38a81-apidata.googleusercontent.com/download/storage/v1/b/chromeos-autotest-results/o/189052638-lunarobert%2Fchromeos15-row1-rack4-host7%2Fdebug%2Fautoserv.DEBUG?qk=AD5uMEtd3mn01d2tNVTy9jBmIIAivlmYXP4CUt23XKKYxoWUe8hnT2c7S4RUk7fOGiSP8_0A2dFfIyr9T_P2YQribEuoXbP1ZD0B6uZLu21iRYXiguJKrDFrv5LkAAEGQK_1Yu3wZcuQylwv-Q85WA2MhglfFspIqxhArR6Zt3BAdM-nAtaytkvZgCpUPsXywBAnEuGg3g0n9ZfEa9TjBRkMJsFLJWzt98bVERtIbl_pZW1192c4YXsHGGHrL46_BxaS4kexk41TslBDP_yEuhBGOZBLaJX4WAeiHmiXOtVJNH9QhYCwS9xhL6riLVySBNng64-1g5G0BbZ4Fa-qCSivtKsCtz4AnAfLDt7nMdMYIQnXtx2MjxcM6Qv_xyY50cy8kbpCeK7QuRjnNIILFFC9LYZ_kc6C5MdmqMIkYzPdQi-rEpxcCyYKjx4tpz2ENEygF7P4dpab7eio3vlZyhNuQowu4jYiYaupeUyeisixpEnvsmJOxVrkBgP4kNQ4Qz-GQR8kJVeSKV2f7g_X1xJQMhD4nCrF82cRUJFb_2fiuuOXHanVgvZS6azbsu5qW8xiCOcIjy0StTgQPxseSyQSD6fSP8zLDE2edz8ZAFlb_YFn2BX5unnRuokDX7onRENMqD1sA5OxBXT4ymjOdnT0JS_ENSo0635hBHl7vz2xblyRVrJ3Uybs_VF7NMQ8gOfz0IqXcARBqRW1U6ES84SwrvxosGvSXBEwXQmIYdqDR05Ykq5nEjpuT9MaExquBPP1HaE0u6SPphCRl6GBRPZHM2atRJTaKw8NDTXapVS9CfdIX8qgNz3NZcRwOq544R5Gm2rJ51ET
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jun 20 2018

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

commit 14b4899692fb998e7e415f1667411dc21f5abcae
Author: Dinesh Kumar Sunkara <dsunkara@chromium.org>
Date: Wed Jun 20 21:23:53 2018

Updated the function to non private method.

BUG= chromium:853998 
TEST=None

Change-Id: Idfd14452bbb93e81fa1bc3ba60928034a24f4063
Reviewed-on: https://chromium-review.googlesource.com/1105561
Commit-Ready: Dinesh Kumar Sunkara <dsunkara@google.com>
Tested-by: Dinesh Kumar Sunkara <dsunkara@google.com>
Reviewed-by: Harpreet Grewal <harpreet@chromium.org>

[modify] https://crrev.com/14b4899692fb998e7e415f1667411dc21f5abcae/server/site_tests/platform_InstallTestImage/control

Components: -Infra>Client>ChromeOS>Test
Status: Fixed (was: Untriaged)

Sign in to add a comment