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

Issue 795359 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

'Unhandled NameError: global name 'prefix' is not defined'

Project Member Reported by pgangishetty@chromium.org, Dec 15 2017

Issue description

OS: Chrome

display_Resolution.extended and display_Resolution.mirrored tests are failing with 'Unhandled NameError: global name 'prefix' is not defined' 
Since R65-10196.0.0

Test results link: https://stainless.corp.google.com/search?col=board&suite=chameleon_hdmi_perbuild&exclude_not_run=true&row=build&view=matrix&first_date=20171116&last_date=20171215

From debug logs:

-------------------

12/14 16:03:00.188 DEBUG|          autotest:1137| Autotest job finishes running. Below is the post-processing operations.
12/14 16:03:00.209 DEBUG|          ssh_host:0301| Running (ssh) 'true' from 'collect_client_job_results|wait_up|is_up|ssh_ping|run|run_very_slowly'
12/14 16:03:01.311 DEBUG|      abstract_ssh:0670| Host chromeos15-audiobox4-host2 is now up
12/14 16:03:01.313 DEBUG|            runner:0089| result tools are already deployed to chromeos15-audiobox4-host2.
12/14 16:03:01.313 DEBUG|            runner:0100| Getting directory summary for /tmp/sysinfo/autoserv-SMdjoy/results/default
12/14 16:03:01.332 DEBUG|          ssh_host:0301| Running (ssh) '/usr/local/autotest/result_tools/utils.py -p /tmp/sysinfo/autoserv-SMdjoy/results/default -m 20000' from '_do_run|execute_control|collect_client_job_results|run_on_client|run|run_very_slowly'
12/14 16:03:02.509 DEBUG|             utils:0280| [stdout] 2017-12-14 16:03:02,127 Running result_tools/utils on path: /tmp/sysinfo/autoserv-SMdjoy/results/default
12/14 16:03:02.510 DEBUG|             utils:0280| [stdout] 2017-12-14 16:03:02,127 Throttle result size to : 19 MB
12/14 16:03:02.520 DEBUG|             utils:0280| [stdout] 2017-12-14 16:03:02,139 Directory summary of /tmp/sysinfo/autoserv-SMdjoy/results/default is saved to file /tmp/sysinfo/autoserv-SMdjoy/results/default/dir_summary_1513296182.json.
12/14 16:03:02.521 DEBUG|             utils:0280| [stdout] 2017-12-14 16:03:02,140 Skip throttling /tmp/sysinfo/autoserv-SMdjoy/results/default: size=2380908, throttle_probability=8.60176033681
12/14 16:03:02.536 DEBUG|      abstract_ssh:0413| get_file. source: /tmp/sysinfo/autoserv-SMdjoy/results/default/, dest: /usr/local/autotest/results/162635384-chromeos-test, delete_dest: False,preserve_perm: True, preserve_symlinks:True
12/14 16:03:02.536 DEBUG|      abstract_ssh:0425| Using Rsync.
12/14 16:03:02.538 DEBUG|             utils:0212| Running 'rsync -l  --timeout=1800 --rsh='/usr/bin/ssh -a -x  -o Protocol=2 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -o ConnectTimeout=30 -o ServerAliveInterval=900 -o ServerAliveCountMax=3 -o ConnectionAttempts=4 -l root -p 22' -az --no-o --no-g  root@chromeos15-audiobox4-host2:"/tmp/sysinfo/autoserv-SMdjoy/results/default/" "/usr/local/autotest/results/162635384-chromeos-test"'
12/14 16:03:04.238 DEBUG|          base_job:0250| Value of client.sysinfo is unchanged, skipping import
12/14 16:03:04.239 DEBUG|          base_job:0253| Importing client.harness from state file /usr/local/autotest/results/162635384-chromeos-test/control.autoserv.state
12/14 16:03:04.239 DEBUG|          base_job:0253| Importing client.steps from state file /usr/local/autotest/results/162635384-chromeos-test/control.autoserv.state
12/14 16:03:04.239 DEBUG|          base_job:0253| Importing client._record_indent from state file /usr/local/autotest/results/162635384-chromeos-test/control.autoserv.state
12/14 16:03:04.240 DEBUG|          base_job:0250| Value of global_properties.max_result_size_KB is unchanged, skipping import
12/14 16:03:04.240 DEBUG|          base_job:0250| Value of global_properties.tag is unchanged, skipping import
12/14 16:03:04.240 DEBUG|          base_job:0250| Value of global_properties.test_retry is unchanged, skipping import
12/14 16:03:04.240 DEBUG|          base_job:0250| Value of global_properties.fast is unchanged, skipping import
12/14 16:03:04.244 DEBUG|          base_job:0399| Persistent state client.* deleted
12/14 16:03:04.245 DEBUG|          autotest:1151| Autotest job finishes.
12/14 16:03:04.246 DEBUG|      abstract_ssh:0413| get_file. source: /tmp/autoserv-FNl8gn/sysinfo.pickle, dest: /tmp/tmp4PNgD8, delete_dest: False,preserve_perm: True, preserve_symlinks:False
12/14 16:03:04.246 DEBUG|      abstract_ssh:0425| Using Rsync.
12/14 16:03:04.247 DEBUG|             utils:0212| Running 'rsync -L  --timeout=1800 --rsh='/usr/bin/ssh -a -x  -o Protocol=2 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -o ConnectTimeout=30 -o ServerAliveInterval=900 -o ServerAliveCountMax=3 -o ConnectionAttempts=4 -l root -p 22' -az --no-o --no-g  root@chromeos15-audiobox4-host2:"/tmp/autoserv-FNl8gn/sysinfo.pickle" "/tmp/tmp4PNgD8"'
12/14 16:03:05.742 DEBUG|              test:0420| after_iteration_hooks completed
12/14 16:03:05.763 DEBUG|          ssh_host:0301| Running (ssh) 'pkill -f 'multimedia_xmlrpc_server'' from '_exec|_call_test_function|__del__|disconnect|run|run_very_slowly'
12/14 16:03:06.891 INFO |rpc_server_tracker:0276| Waiting for RPC server "multimedia_xmlrpc_server" shutdown
12/14 16:03:06.912 DEBUG|          ssh_host:0301| Running (ssh) 'pgrep -f 'multimedia_xmlrpc_server'' from '_exec|_call_test_function|__del__|disconnect|run|run_very_slowly'
12/14 16:03:07.997 DEBUG|             utils:0280| [stdout] 25149
12/14 16:03:07.999 DEBUG|             utils:0280| [stdout] 26565
12/14 16:03:08.004 INFO |rpc_server_tracker:0284| Shut down RPC server.
12/14 16:03:08.005 DEBUG|      abstract_ssh:0957| Terminated tunnel, pid 1906
12/14 16:03:08.006 WARNI|              test:0637| The test failed with the following exception
Traceback (most recent call last):
  File "/usr/local/autotest/client/common_lib/test.py", line 631, in _exec
    _call_test_function(self.execute, *p_args, **p_dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 837, in _call_test_function
    raise error.UnhandledTestFail(e)
UnhandledTestFail: Unhandled NameError: global name 'prefix' is not defined
Traceback (most recent call last):
  File "/usr/local/autotest/client/common_lib/test.py", line 831, in _call_test_function
    return func(*args, **dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 495, in execute
    dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 362, in _call_run_once_with_retry
    postprocess_profiled_run, args, dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 400, in _call_run_once
    self.run_once(*args, **dargs)
  File "/usr/local/autotest/server/site_tests/display_Resolution/display_Resolution.py", line 90, in run_once
    if not edid.is_edid_supported(host, width, height):
  File "/usr/local/autotest/client/cros/chameleon/edid.py", line 29, in is_edid_supported
    if prefix in ('kahlee',):
NameError: global name 'prefix' is not defined

12/14 16:03:08.007 DEBUG|              test:0642| Running cleanup for test.
 

Sign in to add a comment