autotests randomly fail: getcwd fails due to "Permission denied" |
|||||||||||
Issue descriptionFailed on 9592.51.0 https://pantheon.corp.google.com/storage/browser/chromeos-autotest-results/127598375-chromeos-test/chromeos6-row2-rack16-host12/debug/ 07/07 22:56:03.532 DEBUG| parallel:0030| TestFail: Unable to parse fail reason: Command <su chronos -c 'HOME=/tmp/tmpNXkuR6 CR_SOURCE_ROOT=/usr/local/autotest/deps/chrome_test/test_src CHROME_DEVEL_SANDBOX=/opt/google/chrome/chrome-sandbox GTEST_OUTPUT=xml:/tmp/gtest_xmlFK3RLu.xml /usr/local/autotest/deps/chrome_test/test_src/out/Release/video_decode_accelerator_unittest --test_video_data="/usr/local/autotest/tests/video_VDAPerf/crowd720_vp8.download:1280:720:500:534:0:0:11" --gtest_filter=DecodeVariations/*/0 --disable_rendering --output_log="/usr/local/autotest/results/default/video_VDAPerf.vp8/results/crowd720_vp8_no_rendering_test_output.log" --ozone-platform=gbm --vmodule=*/media/gpu/*video_decode_accelerator.cc=2,*/media/gpu/*video_encode_accelerator.cc=2,*/media/gpu/*jpeg_decode_accelerator.cc=2,*/media/gpu/v4l2_image_processor.cc=2'> failed, rc=126, Command returned non-zero exit status 07/07 22:56:03.532 DEBUG| parallel:0030| * Command: 07/07 22:56:03.532 DEBUG| parallel:0030| su chronos -c 'HOME=/tmp/tmpNXkuR6 07/07 22:56:03.532 DEBUG| parallel:0030| CR_SOURCE_ROOT=/usr/local/autotest/deps/chrome_test/test_src 07/07 22:56:03.533 DEBUG| parallel:0030| CHROME_DEVEL_SANDBOX=/opt/google/chrome/chrome-sandbox 07/07 22:56:03.533 DEBUG| parallel:0030| GTEST_OUTPUT=xml:/tmp/gtest_xmlFK3RLu.xml /usr/local/autotest/deps/chrome_ 07/07 22:56:03.533 DEBUG| parallel:0030| test/test_src/out/Release/video_decode_accelerator_unittest --test_video_d 07/07 22:56:03.534 DEBUG| parallel:0030| ata="/usr/local/autotest/tests/video_VDAPerf/crowd720_vp8.download:1280:72 07/07 22:56:03.534 DEBUG| parallel:0030| 0:500:534:0:0:11" --gtest_filter=DecodeVariations/*/0 --disable_rendering 07/07 22:56:03.534 DEBUG| parallel:0030| --output_log="/usr/local/autotest/results/default/video_VDAPerf.vp8/result 07/07 22:56:03.535 DEBUG| parallel:0030| s/crowd720_vp8_no_rendering_test_output.log" --ozone-platform=gbm --vmodul 07/07 22:56:03.535 DEBUG| parallel:0030| e=*/media/gpu/*video_decode_accelerator.cc=2,*/media/gpu/*video_encode_acc 07/07 22:56:03.535 DEBUG| parallel:0030| elerator.cc=2,*/media/gpu/*jpeg_decode_accelerator.cc=2,*/media/gpu/v4l2_i 07/07 22:56:03.536 DEBUG| parallel:0030| mage_processor.cc=2' 07/07 22:56:03.536 DEBUG| parallel:0030| Exit status: 126 07/07 22:56:03.536 DEBUG| parallel:0030| Duration: 0.0174200534821 07/07 22:56:03.536 DEBUG| parallel:0030| 07/07 22:56:03.537 DEBUG| parallel:0030| stderr: 07/07 22:56:03.537 DEBUG| parallel:0030| shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied 07/07 22:56:03.537 DEBUG| parallel:0030| bash: /usr/local/autotest/deps/chrome_test/test_src/out/Release/video_decode_accelerator_unittest: Permission denied
,
Oct 26 2017
The permission of /usr/local on daisy_spring is drwx------. It should be drwxr-xr-x. I think this leads "Permission denied" in the above log. If so, the wrong permission is set, flaky or depending on the ChromeOS version, since video_VDAPerf is failed and passed on the same lab device.
,
Nov 2 2017
,
Dec 21 2017
FYI, similar problem observed with video_VideoDecodeAccelerator test on daisy_skate on 10176.22.0. Logs: https://pantheon.corp.google.com/storage/browser/chromeos-autotest-results/163932154-chromeos-test/chromeos4-row9-rack5-host19
,
Jan 11 2018
This error is shown in several tests, for example, video_VDAPerf, video_VEAPerf, and video_VideoDecodeAccelerator. It is still flaky and isn't limited to daisy board. video_VEAPerf failed on peppy.
,
Jan 12 2018
,
Jan 17 2018
vsuley@, may I ask you to fix this? I think this is an infra issue and it would be helpful to ask advice to infra developers.
,
Jan 22 2018
Another failure of video_VideoDecodeAccelerator on peppy/R65-10329.0.0 https://pantheon.corp.google.com/storage/browser/chromeos-autotest-results/171454820-chromeos-test/chromeos4-row6-rack12-host5/debug/
,
Feb 1 2018
,
Feb 6 2018
Update so far. I'm trying to collect some useful information to pass on to the infra team to help investigate. First step was to try and construct a query that would return all related test failures. I found the test failure mentioned in C#8 on go/stainless and unfortunately the failure reason is not specific. https://stainless.corp.google.com/search?view=list&first_date=2018-01-10&last_date=2018-02-06&test=video_VideoDecodeAccelerator.*&build=%5ER66%5C-10329%5C.0%5C.0%24&model=%5Epeppy%24&hostname=%5Echromeos4-row6-rack12-host5%24&exclude_cts=false&exclude_not_run=false&exclude_non_release=false&exclude_au=false&exclude_acts=false&exclude_retried=false&exclude_non_production=false I used part of the reason string to see how many tests were failing in a related manner. Surprisingly all such failures are coming from video tests. Does anyone have some clues as to why this might be? https://stainless.corp.google.com/search?view=list&first_date=2018-01-10&last_date=2018-02-06&reason=Unable+to+parse+fail+reason.*&exclude_cts=false&exclude_not_run=false&exclude_non_release=false&exclude_au=true&exclude_acts=true&exclude_retried=true&exclude_non_production=true xixuan@, do you have any ideas on why this could be happening?
,
May 21 2018
Issue 843043 has been merged into this issue.
,
Jun 1 2018
,
Jun 1 2018
,
Jun 1 2018
Issue 371993 has been merged into this issue.
,
Jun 1 2018
Issue 688068 has been merged into this issue.
,
Jun 1 2018
there seems to be a long history of this. the fact that it's affecting a lot of tests at random implies there's something in core code causing the breakage. i've been getting periodic e-mails about logging_UserCrash failing with "Missing PID in crasher output." when in reality the failure is: 05/31 23:08:00.829 DEBUG| user_crash_test:0240| Running crasher: ['su', 'chronos', '-c', '/usr/local/autotest/tests/logging_UserCrash/src/crasher/crasher_nobreakpad'] 05/31 23:08:00.866 DEBUG| user_crash_test:0254| Crasher output: shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied bash: /usr/local/autotest/tests/logging_UserCrash/src/crasher/crasher_nobreakpad: Permission denied
,
Jun 4 2018
,
Jun 4 2018
,
Jun 28 2018
Issue 856989 has been merged into this issue.
,
Jun 28 2018
,
Jul 10
Issue 856913 has been merged into this issue.
,
Jul 10
The permission denied failure pattern happens from time to time: It first has: "shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied" then: "bash: /path/to/binary: Permission denied" However, probing permission seems ok. For example: http://sponge/target?tab=Output+Files&sortBy=STATUS&show=ALL&id=90b9b7e8-4d06-4945-a61a-294c1aa02af4&target=daisy-release/R69-10857.0.0/bvt-perbuild/video_VideoDecodeAccelerator.h264 TestFail: Cannot execute command /usr/local/autotest/deps/chrome_test/test_src/out/Release/video_decode_accelerator_unittest. Permissions: /usr/local/autotest/deps/chrome_test/test_src/out/Release/video_decode_accelerator_unittest 0100755; /usr/local/autotest/deps/chrome_test/test_src/out/Release 040755; /usr/local/autotest/deps/chrome_test/test_src/out 040755; /usr/local/autotest/deps/chrome_test/test_src 040755; /usr/local/autotest/deps/chrome_test 040755; /usr/local/autotest/deps 040755; /usr/local/autotest 040755; /usr/local 040700; /usr 040755; / 040755
,
Jul 10
For example, video_VideoDecodeAccelerator.vp8 fails from time to time because of this. http://stainless/search?exclude_cts=true&exclude_non_release=true&board=%5Edaisy%5C_skate%24&test=%5Evideo%5C_VideoDecodeAccelerator%5C.vp8%24&suite=%5Ebvt%5C-perbuild%24&view=matrix&col=build&row=board_model&first_date=2018-07-04&last_date=2018-07-10 And the DUT for failed cases were not the same. And the failed DUT can pass the test sometimes (for example http://sponge/invocations?searchFor=video_VideoDecodeAccelerator%20chromeos4-row9-rack5-host15) So we might rule out hardware/storage issue.
,
Jul 10
However, for recent video_VideoDecodeAccelerator failed report, most of them are from daisy_skate or daisy. https://sponge.corp.google.com/invocations?searchFor=video_VideoDecodeAccelerator+status:failed |
|||||||||||
►
Sign in to add a comment |
|||||||||||
Comment 1 by hiroh@chromium.org
, Oct 26 2017Owner: hiroh@chromium.org
Status: Assigned (was: Untriaged)