New issue
Advanced search Search tips

Issue 779024 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

video_PlaybackPerf: getcwd(): No such file or directory on pyro

Project Member Reported by hiroh@chromium.org, Oct 27 2017

Issue description

This failure sometimes happens. It should be fixed if possible.

10/26 19:53:12.588 INFO |        server_job:0214| START	----	----	timestamp=1509072792	localtime=Oct 26 19:53:12	
10/26 19:53:12.718 DEBUG|          autotest:1277| AUTOTEST_STATUS::	START	video_PlaybackPerf	video_PlaybackPerf	timestamp=1509072792	localtime=Oct 26 19:53:12	
10/26 19:53:12.719 INFO |        server_job:0214| 	START	video_PlaybackPerf	video_PlaybackPerf	timestamp=1509072792	localtime=Oct 26 19:53:12	
10/26 19:54:41.938 DEBUG|          autotest:1277| AUTOTEST_STATUS::FAIL	video_PlaybackPerf	video_PlaybackPerf	timestamp=1509072881	localtime=Oct 26 19:54:41	Unhandled AssertionError: sh: getcwd() failed: No such file or directory
10/26 19:54:41.939 INFO |        server_job:0214| 		FAIL	video_PlaybackPerf	video_PlaybackPerf	timestamp=1509072881	localtime=Oct 26 19:54:41	Unhandled AssertionError: sh: getcwd() failed: No such file or directory
10/26 19:54:41.939 DEBUG|          autotest:1277| AUTOTEST_STATUS::  
10/26 19:54:41.939 DEBUG|          autotest:1277| AUTOTEST_STATUS::  Traceback (most recent call last):
10/26 19:54:41.939 DEBUG|          autotest:1277| AUTOTEST_STATUS::    File "/usr/local/autotest/common_lib/test.py", line 806, in _call_test_function
10/26 19:54:41.940 DEBUG|          autotest:1277| AUTOTEST_STATUS::    File "/usr/local/autotest/common_lib/test.py", line 470, in execute
10/26 19:54:41.940 DEBUG|          autotest:1277| AUTOTEST_STATUS::    File "/usr/local/autotest/common_lib/test.py", line 347, in _call_run_once_with_retry
10/26 19:54:41.940 DEBUG|          autotest:1277| AUTOTEST_STATUS::    File "/usr/local/autotest/common_lib/test.py", line 380, in _call_run_once
10/26 19:54:41.940 DEBUG|          autotest:1277| AUTOTEST_STATUS::    File "/usr/local/autotest/cros/video/helper_logger.py", line 82, in call
10/26 19:54:41.940 DEBUG|          autotest:1277| AUTOTEST_STATUS::    File "/usr/local/autotest/tests/video_PlaybackPerf/video_PlaybackPerf.py", line 105, in run_once
10/26 19:54:41.940 DEBUG|          autotest:1277| AUTOTEST_STATUS::    File "/usr/local/autotest/tests/video_PlaybackPerf/video_PlaybackPerf.py", line 156, in test_dropped_frames
10/26 19:54:41.941 DEBUG|          autotest:1277| AUTOTEST_STATUS::    File "/usr/local/autotest/tests/video_PlaybackPerf/video_PlaybackPerf.py", line 273, in test_playback
10/26 19:54:41.941 DEBUG|          autotest:1277| AUTOTEST_STATUS::    File "/usr/local/autotest/common_lib/cros/chrome.py", line 190, in __exit__
10/26 19:54:41.941 DEBUG|          autotest:1277| AUTOTEST_STATUS::    File "/usr/local/autotest/common_lib/cros/chrome.py", line 315, in close
10/26 19:54:41.941 DEBUG|          autotest:1277| AUTOTEST_STATUS::    File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/browser/browser.py", line 278, in Close
10/26 19:54:41.941 DEBUG|          autotest:1277| AUTOTEST_STATUS::      self._browser_backend.Close()
10/26 19:54:41.942 DEBUG|          autotest:1277| AUTOTEST_STATUS::    File "/usr/local/telemetry/src/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 52, in traced_function
10/26 19:54:41.942 DEBUG|          autotest:1277| AUTOTEST_STATUS::      return func(*args, **kwargs)
10/26 19:54:41.942 DEBUG|          autotest:1277| AUTOTEST_STATUS::    File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/backends/chrome/cros_browser_backend.py", line 211, in Close
10/26 19:54:41.942 DEBUG|          autotest:1277| AUTOTEST_STATUS::      self._cri.RestartUI(False) # Logs out.
10/26 19:54:41.943 DEBUG|          autotest:1277| AUTOTEST_STATUS::    File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/core/cros_interface.py", line 564, in RestartUI
10/26 19:54:41.943 DEBUG|          autotest:1277| AUTOTEST_STATUS::      if self.IsServiceRunning('ui'):
10/26 19:54:41.943 DEBUG|          autotest:1277| AUTOTEST_STATUS::    File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/core/cros_interface.py", line 442, in IsServiceRunning
10/26 19:54:41.943 DEBUG|          autotest:1277| AUTOTEST_STATUS::      assert stderr == '', stderr
10/26 19:54:41.943 DEBUG|          autotest:1277| AUTOTEST_STATUS::  AssertionError: sh: getcwd() failed: No such file or directory
 

Comment 1 by hiroh@chromium.org, Oct 27 2017

Cc: posciak@chromium.org
Components: OS>Kernel>Video

Comment 2 by hiroh@chromium.org, Oct 31 2017

This is maybe because the directory was removed, where the child process created this Popen is executed.
https://github.com/catapult-project/catapult/blob/master/telemetry/telemetry/core/cros_interface.py#L35

Comment 3 by hiroh@chromium.org, Nov 2 2017

Cc: hiroh@chromium.org
Owner: vsu...@chromium.org

Comment 4 by tfiga@chromium.org, Mar 13 2018

The test has been green for quite a while. Does this still happen?

Comment 5 by hiroh@chromium.org, Mar 14 2018

tfiga@, looks like this issue doesn't happen now.

vsuley@, do you know what change fixed this?
Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".

Sign in to add a comment