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

Issue 696685 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

"Exception waiting for results" (suite.py attempts to retry too many times)

Project Member Reported by pho...@chromium.org, Feb 27 2017

Issue description

https://luci-milo.appspot.com/buildbot/chromeos/nyan_kitty-paladin/849

The test (hardware_RamFio) FAILs, then retries and ABORTs, and then suite.py tries to retry again and gets an exception.

Relevant part of the log:


02/26 05:15:43.092 INFO |        server_job:0184| START	103561288-chromeos-test/chromeos4-row13-rack8-host10/hardware_RamFio	hardware_RamFio	timestamp=1488113878	localtime=Feb 26 04:57:58	
02/26 05:15:43.092 INFO |        server_job:0184| 	FAIL	103561288-chromeos-test/chromeos4-row13-rack8-host10/hardware_RamFio	hardware_RamFio	timestamp=1488114783	localtime=Feb 26 05:13:03	Autotest client terminated unexpectedly: DUT rebooted during the test run.
02/26 05:15:43.093 INFO |        server_job:0184| END FAIL	103561288-chromeos-test/chromeos4-row13-rack8-host10/hardware_RamFio	hardware_RamFio	timestamp=1488114783	localtime=Feb 26 05:13:03	
02/26 05:15:43.422 INFO |        server_job:0184| START	103561288-chromeos-test/chromeos4-row13-rack8-host10/hardware_RamFio	hardware_RamFio	timestamp=1488113877	localtime=Feb 26 04:57:57	
02/26 05:15:43.422 INFO |        server_job:0184| 	ABORT	103561288-chromeos-test/chromeos4-row13-rack8-host10/hardware_RamFio	hardware_RamFio	timestamp=1488114783	localtime=Feb 26 05:13:03	Job aborted unexpectedly
02/26 05:15:43.423 INFO |        server_job:0184| END ABORT	103561288-chromeos-test/chromeos4-row13-rack8-host10/hardware_RamFio	hardware_RamFio	timestamp=1488114783	localtime=Feb 26 05:13:03	
02/26 05:15:43.729 ERROR|             suite:1047| Exception waiting for results
Traceback (most recent call last):
  File "/usr/local/autotest/server/cros/dynamic_suite/suite.py", line 1044, in wait
    bug_template=bug_template)
  File "/usr/local/autotest/server/cros/dynamic_suite/suite.py", line 1072, in _record_result
    retry_for=result.id, ignore_errors=True)
  File "/usr/local/autotest/server/cros/dynamic_suite/suite.py", line 890, in _schedule_test
    old_job_id=retry_for, new_job_id=job.id)
  File "/usr/local/autotest/server/cros/dynamic_suite/suite.py", line 153, in add_retry
    old_job_id)
ValueError: We have already retried or attempted to retry job 103561288


 

Comment 1 by pho...@chromium.org, Feb 27 2017

Components: Infra>Client>ChromeOS
Labels: -Pri-3 OS-Chrome Pri-2

Comment 2 by pho...@chromium.org, Feb 27 2017

Summary: "Exception waiting for results" (suite.py attempts to retry too many times) (was: suite.py attempts to retry too many times)

Comment 3 by aut...@google.com, Mar 1 2017

Paul, Aviv - is there a suggested behavior change for retries in this?
Owner: akes...@chromium.org
Yes, I'm not sure what the context is here, but the exception message indicates that: 

- the job was retried twice,
- and jobs can only be retried once (why is this?)

Apparently there is a bug in autotest where jobs can be retried more than once. 
Owner: ----
Status: Available (was: Untriaged)
(not working on this actively, leaving open for future investigation)

Comment 7 by autumn@chromium.org, Mar 15 2017

Labels: Hotlist-Fixit
Status: Archived (was: Available)

Sign in to add a comment