New issue
Advanced search Search tips

Issue 896408 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 30
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

CTS P with subplan fails with not enough format items for string

Project Member Reported by haddowk@chromium.org, Oct 17

Issue description

2:29:03.593 DEBUG|          ssh_host:0310| Running (ssh) 'rm -rf "/tmp/autoserv-pDO0ZI"' from 'cleanup|close|close|close|run|run_very_slowly'
10/17 12:29:03.619 ERROR|             utils:0287| [stderr] Warning: Permanently added '192.168.231.104' (ED25519) to the list of known hosts.
10/17 12:29:03.719 INFO |        server_job:0217| 	FAIL	cheets_CTS_P	cheets_CTS_P	timestamp=1539804543	localtime=Oct 17 12:29:03	Unhandled TypeError: not enough arguments for format string
  Traceback (most recent call last):
    File "/usr/local/autotest/client/common_lib/test.py", line 800, in _call_test_function
      return func(*args, **dargs)
    File "/usr/local/autotest/client/common_lib/test.py", line 464, in execute
      postprocess_profiled_run, args, dargs)
    File "/usr/local/autotest/client/common_lib/test.py", line 371, in _call_run_once
      self.run_once(*args, **dargs)
    File "/usr/local/autotest/server/site_tests/cheets_CTS_P/cheets_CTS_P.py", line 157, in run_once
      precondition_commands=precondition_commands)
    File "/usr/local/autotest/server/cros/tradefed_test.py", line 1031, in _run_tradefed_with_retries
      self._install_plan(target_plan)
    File "/usr/local/autotest/server/cros/tradefed_test.py", line 935, in _install_plan
      test_subplan_file, e)
  TypeError: not enough arguments for format string
10/17 12:29:03.720 INFO |        server_job:0217| END FAIL	cheets_CTS_P	cheets_CTS_P	timestamp=1539804543	localtime=Oct 17 12:29:03	

 
Project Member

Comment 1 by bugdroid1@chromium.org, Oct 17

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

commit 11ce4e7b56992300ba20c1a2959108fda224856f
Author: Keith Haddow <haddowk@chromium.org>
Date: Wed Oct 17 20:36:04 2018

[autotest] Fix syntax error in tradefed test

Missing brackets around a list of params for string format of an
error.

BUG= chromium:896408 
TEST=Manual testing

Change-Id: I96a36a54b90c6ef5c8fb5d3d5001fd6a3d86bbf7
Reviewed-on: https://chromium-review.googlesource.com/c/1287112
Commit-Queue: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Trybot-Ready: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>

[modify] https://crrev.com/11ce4e7b56992300ba20c1a2959108fda224856f/server/cros/tradefed_test.py

Project Member

Comment 2 by bugdroid1@chromium.org, Oct 17

Labels: merge-merged-release-R71-11151.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/daceedda91750f37f785cb7a3d1b808bfab2deec

commit daceedda91750f37f785cb7a3d1b808bfab2deec
Author: Keith Haddow <haddowk@chromium.org>
Date: Wed Oct 17 20:57:35 2018

[autotest] Fix syntax error in tradefed test

Missing brackets around a list of params for string format of an
error.

BUG= chromium:896408 
TEST=Manual testing

Change-Id: I96a36a54b90c6ef5c8fb5d3d5001fd6a3d86bbf7
Reviewed-on: https://chromium-review.googlesource.com/c/1287112
Commit-Queue: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Trybot-Ready: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
(cherry picked from commit 11ce4e7b56992300ba20c1a2959108fda224856f)
Reviewed-on: https://chromium-review.googlesource.com/c/1287117
Tested-by: Ilja H. Friedel <ihf@chromium.org>

[modify] https://crrev.com/daceedda91750f37f785cb7a3d1b808bfab2deec/server/cros/tradefed_test.py

Status: Fixed (was: Assigned)

Sign in to add a comment