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

Issue 659209 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

autotest: assert myjob._record_indent == 0

Project Member Reported by gwendal@chromium.org, Oct 25 2016

Issue description

A simple test for performance (no test in parralel) leads to an assertion error deep in autotest:

Looking at moblab qual:
https://pantheon.corp.google.com/storage/browser/chromeos-moblab-compal/results/80:3f:5d:0a:ef:5e/240beace-472e-11e6-a5f5-130db9c9e4be/3850-moblab/192.168.231.111/hardware_StorageStress.soak/debug/client.0.DEBUG (enclosed)

        base_job:0350| Persistent state client._record_indent now set to 0
        base_job:0381| Persistent state client.unexpected_reboot not defined so nothing is discarded
      base_utils:0185| Running 'rm -f /var/lib/cleanup_logs_paused'
             job:0206| END GOOD  ----  ----  timestamp=1475835045  localtime=Oct 07 03:10:45. 
        base_job:0350| Persistent state client._record_indent now set to -1
  (unknown file):0000| Traceback (most recent call last):
 File "/usr/local/autotest/bin/autotest", line 97, in <module>
   job.runjob(os.path.realpath(args[0]), drop_caches, options)
 File "/usr/local/autotest/bin/job.py", line 1201, in runjob
   assert myjob._record_indent == 0
  (unknown file):0000| AssertionError

Looking at ./client/bin/job.py, 'client.unexpected_reboot not defined' is not expected, it is set within the try sequence. It set at line 31 in the debug log.
I am wondering if the _record_indent is also lost, leading it be negative.
 
client.0.DEBUG
53.8 KB Download
Labels: -Pri-3 Pri-2
The error happened several times, see ./3767-moblab/192.168.231.112/hardware_StorageStress.soak/debug/client.0.DEBUG for the same error.

Sign in to add a comment