EVE [BVT-CQ] platform_PartitionCheck test is failed 14 times. |
||||||
Issue descriptionEVE [BVT-CQ] platform_PartitionCheck failed 14 times on 6 different hosts. test: https://uberchromeos-server38.corp.google.com/new_tko/#tab_id=spreadsheet_view&row=hostname&column=reason&content=&show_incomplete=true&show_only_latest=false&condition=(job_name+LIKE+%2527eve-release%252FR61-9765.85.0%252Fbvt-cq%252F%2525%2527+AND+test_name+%253C%253E+%2527SERVER_JOB%2527+AND+test_name+NOT+LIKE+%2527CLIENT%255C_JOB%2525%2527+AND+platform+LIKE+%2527eve%2527)+AND+(%2560job_name%2560+%253D+%2527eve-release%252FR61-9765.85.0%252Fbvt-cq%252Fplatform_PartitionCheck%2527+AND+%2560test_name%2560+%253D+%2527platform_PartitionCheck%2527+AND+%2560platform%2560+%253D+%2527eve%2527+AND+%2560status%2560+%253D+%2527FAIL%2527)&show_invalid=true
,
Oct 26 2017
+gwendal and dlaurie whom may own or know whom owns NVMe sysfs behavior...
This looks like a NVMe bug, I am not sure this is an actual functional failure, just the NVMe partition does not seem to expose a size in sysfs.
...
10/16 16:42:58.613 WARNI| test:0616| The test failed with the following exception
Traceback (most recent call last):
File "/usr/local/autotest/common_lib/test.py", line 610, in _exec
_call_test_function(self.execute, *p_args, **p_dargs)
File "/usr/local/autotest/common_lib/test.py", line 824, in _call_test_function
raise error.UnhandledTestFail(e)
UnhandledTestFail: Unhandled IOError: [Errno 2] No such file or directory: '/sys/block/nvme0n1/nvme0n13/size'
Traceback (most recent call last):
File "/usr/local/autotest/common_lib/test.py", line 818, in _call_test_function
return func(*args, **dargs)
File "/usr/local/autotest/common_lib/test.py", line 471, in execute
dargs)
File "/usr/local/autotest/common_lib/test.py", line 348, in _call_run_once_with_retry
postprocess_profiled_run, args, dargs)
File "/usr/local/autotest/common_lib/test.py", line 381, in _call_run_once
self.run_once(*args, **dargs)
File "/usr/local/autotest/tests/platform_PartitionCheck/platform_PartitionCheck.py", line 66, in run_once
pblocks = self.get_partition_size(device, p)
File "/usr/local/autotest/tests/platform_PartitionCheck/platform_PartitionCheck.py", line 50, in get_partition_size
part_blocks = int(utils.read_one_line(part_file))
File "/usr/local/autotest/common_lib/utils.py", line 351, in read_one_line
return open(filename, 'r').readline().rstrip('\n')
IOError: [Errno 2] No such file or directory: '/sys/block/nvme0n1/nvme0n13/size'
10/16 16:42:58.615 DEBUG| test:0621| Running cleanup for test.
...
It does seem to be able to pass on non NVMe systems.
,
Oct 26 2017
IOError: [Errno 2] No such file or directory: '/sys/block/nvme0n1/nvme0n13/size' There is no /sys/block/nvme0n1/nvme0n13 directory on the device. It should be /sys/block/nvme0n1/nvme0n1p3/size Need to change platform_PartitionCheck.py script.
,
Oct 26 2017
,
Oct 31 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/autotest/+/427c7b23118bf30175ef14327459a4db0adc381c commit 427c7b23118bf30175ef14327459a4db0adc381c Author: Gwendal Grignou <gwendal@chromium.org> Date: Tue Oct 31 06:21:31 2017 utils: Add partition concatenation routine. Follow kernel convention and add 'p' if the block device ends with a digit. Fixes platform_PartitionCheck test. Follow same method for faft test. BUG= chromium:776029 TEST=unit test, test latform_PartitionCheck on NVMe. Change-Id: I61f2f194e149634e132a4ad548335ea7c10d8366 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/741483 Reviewed-by: Sridhar Sonti <sontis@google.com> Reviewed-by: Wai-Hong Tam <waihong@google.com> [modify] https://crrev.com/427c7b23118bf30175ef14327459a4db0adc381c/client/bin/unit_test.py [modify] https://crrev.com/427c7b23118bf30175ef14327459a4db0adc381c/client/bin/utils.py [add] https://crrev.com/427c7b23118bf30175ef14327459a4db0adc381c/client/bin/utils_unittest.py [modify] https://crrev.com/427c7b23118bf30175ef14327459a4db0adc381c/client/site_tests/platform_PartitionCheck/platform_PartitionCheck.py [modify] https://crrev.com/427c7b23118bf30175ef14327459a4db0adc381c/client/cros/faft/utils/os_interface.py
,
Oct 31 2017
,
Jan 22 2018
,
Jan 23 2018
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by kathrelk...@chromium.org
, Oct 18 2017Components: -Infra>Client>ChromeOS Tests
Labels: OS-Chrome