New issue
Advanced search Search tips

Issue 855362 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 855885
Owner: ----
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: ----



Sign in to add a comment

telemetry_unittests failing on chromium.mac/Mac10.13 Tests (dbg)

Project Member Reported by sheriff-...@appspot.gserviceaccount.com, Jun 22 2018

Issue description

Filed by sheriff-o-matic@appspot.gserviceaccount.com on behalf of rhalavati@chromium.org

telemetry_unittests failing on chromium.mac/Mac10.13 Tests (dbg)

Builders failed on: 
- Mac10.13 Tests (dbg): 
  https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Mac10.13%20Tests%20%28dbg%29


 
Components: Tests>Telemetry
Labels: OS-Mac
ActionRunnerTest.testWaitForElement and testWaitForElementWithWrongText are flaky.

E.g., please see:
https://logs.chromium.org/v/?s=chromium%2Fbuildbucket%2Fcr-buildbucket.appspot.com%2F8943042055783601376%2F%2B%2Fsteps%2Ftelemetry_unittests__with_patch_%2F0%2Fstdout
https://logs.chromium.org/v/?s=chromium%2Fbuildbucket%2Fcr-buildbucket.appspot.com%2F8943047533929466032%2F%2B%2Fsteps%2Ftelemetry_unittests__with_patch_%2F0%2Fstdout

Sample Error Output:
[37/297] telemetry.internal.actions.action_runner_unittest.ActionRunnerTest.testWaitForElement queued2018-06-21 23:18:15.619 osascript[8586:1999572] CFURLGetFSRef was passed an URL which has no scheme (the URL will not work with other CFURL routines)
[38/297] telemetry.internal.actions.action_runner_unittest.ActionRunnerTest.testWaitForElement failed unexpectedly 12.4673s:
  condition '<lambda>' met
  condition '<lambda>' met
  Chrome build location for mac_x86_64 not found. Browser will be run without Flash.
  Tsproxy commandline: ['/b/s/w/ir/.swarming_module_cache/vpython/fe1f6b/bin/python', '/b/s/w/ir/third_party/catapult/telemetry/third_party/tsproxy/tsproxy.py', '--port=0', '--desthost=127.0.0.1']
  TsProxy port: 52606
  DoNothingForwarder started between 127.0.0.1:52606 and 52606
  Starting Chrome ['../../out/Release/Chromium.app/Contents/MacOS/Chromium', '--enable-net-benchmarking', '--metrics-recording-only', '--no-default-browser-check', '--no-first-run', '--enable-gpu-benchmarking', '--deny-permission-prompts', '--autoplay-policy=no-user-gesture-required', '--disable-background-networking', '--disable-component-extensions-with-background-pages', '--disable-default-apps', '--disable-search-geolocation-disclosure', '--proxy-server=socks://localhost:52606', '--ignore-certificate-errors-spki-list=PhrPvGIaAMmd29hj8BCZOq096yj7uMpRNHpn5PDxI6I=', '--remote-debugging-port=0', '--enable-crash-reporter-for-testing', '--disable-component-update', '--window-size=1280,1024', '--user-data-dir=/b/s/w/ithvqAGG/tmpkcdK6_', 'about:blank']
  DoNothingForwarder started between 127.0.0.1:52607 and 52607
  Got devtools config: ws://127.0.0.1:52607/devtools/browser/c225632e-e68d-4689-bb2e-65ff450faf07
  Browser started (pid=8577).
  OS: mac highsierra
  Detailed OS version: 10.13.5 17F77
  Model: VMware 7.1
  Browser command line: ../../out/Release/Chromium.app/Contents/MacOS/Chromium --enable-net-benchmarking --metrics-recording-only --no-default-browser-check --no-first-run --enable-gpu-benchmarking --deny-permission-prompts --autoplay-policy=no-user-gesture-required --disable-background-networking --disable-component-extensions-with-background-pages --disable-default-apps --disable-search-geolocation-disclosure --proxy-server=socks://localhost:52606 --ignore-certificate-errors-spki-list=PhrPvGIaAMmd29hj8BCZOq096yj7uMpRNHpn5PDxI6I= --remote-debugging-port=0 --enable-crash-reporter-for-testing --disable-component-update --window-size=1280,1024 --user-data-dir=/b/s/w/ithvqAGG/tmpkcdK6_ --flag-switches-begin --flag-switches-end about:blank
  GPU device 0: VENDOR = 0x15ad (Apple Inc.), DEVICE = 0x405 (Apple Software Renderer)
  GPU Attributes:
    amd_switchable      : False
    can_support_threaded_texture_mailbox: False
    direct_composition  : False
    direct_rendering    : True
    gl_extensions       : GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_depth_bounds_test GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_mirror_clamp GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier
    gl_renderer         : Apple Software Renderer
    gl_reset_notification_strategy: 0
    gl_vendor           : Apple Inc.
    gl_version          : 4.1 APPLE-16.5.10
    gl_ws_extensions    : 
    gl_ws_vendor        : 
    gl_ws_version       : 
    in_process_gpu      : False
    initialization_time : 0.098064
    jpeg_decode_accelerator_supported: False
    max_msaa_samples    : 16
    oop_rasterization_supported: True
    optimus             : False
    passthrough_cmd_decoder: False
    pixel_shader_version: 4.10
    process_crash_count : 0
    sandboxed           : True
    software_rendering  : False
    supports_overlays   : False
    vertex_shader_version: 4.10
    video_decode_accelerator_flags: 0
  Feature Status:
    2d_canvas           : enabled
    flash_3d            : enabled
    flash_stage3d       : enabled
    flash_stage3d_baseline: enabled
    gpu_compositing     : enabled
    multiple_raster_threads: enabled_on
    native_gpu_memory_buffers: enabled
    oop_rasterization   : unavailable_off
    protected_video_decode: unavailable_off
    rasterization       : unavailable_off
    skia_deferred_display_list: disabled_off
    skia_renderer       : disabled_off
    surface_synchronization: enabled_on
    video_decode        : enabled
    viz_display_compositor: disabled_off
    webgl               : enabled
    webgl2              : enabled
  Driver Bug Workarounds:
    adjust_src_dst_region_for_blitframebuffer
    decode_encode_srgb_for_generatemipmap
    disable_2d_canvas_auto_flush
    disable_framebuffer_cmaa
    get_frag_data_info_bug
    pack_parameters_workaround_with_pack_buffer
    regenerate_struct_names
    remove_invariant_and_centroid_for_essl3
    scalarize_vec_and_mat_constructor_args
    set_zero_level_before_generating_mipmap
    unfold_short_circuit_as_ternary_operation
    unpack_alignment_workaround_with_unpack_buffer
    use_intermediary_for_copy_texture_image
    use_unused_standard_shared_blocks
  *************** BROWSER STANDARD OUTPUT ***************
  
  DevTools listening on ws://127.0.0.1:52607/devtools/browser/c225632e-e68d-4689-bb2e-65ff450faf07
  2018-06-21 23:18:15.201 Chromium[8577:1999442] *** Owner supplied to -[NSTrackingArea initWithRect:options:owner:userInfo:] referenced a deallocating object. Tracking area behavior is undefined. Break on NSTrackingAreaDeallocatingOwnerError to debug.
  [8582:775:0621/231815.332701:ERROR:vt_video_encode_accelerator_mac.cc(516)]  VTCompressionSessionCreate failed: -12908
  
  *********** END OF BROWSER STANDARD OUTPUT ************
  ********************* BROWSER LOG *********************
  No log file
  ***************** END OF BROWSER LOG ******************
  Closing browser (pid=8577) ...
  Browser is closed.
  Traceback (most recent call last):
    File "/b/s/w/ir/third_party/catapult/telemetry/telemetry/testing/browser_test_case.py", line 39, in WrappedMethod
      method(self)
    File "/b/s/w/ir/third_party/catapult/telemetry/telemetry/internal/actions/action_runner_unittest.py", line 241, in testWaitForElement
      action_runner.WaitForElement('#test2', timeout_in_seconds=0.1)
    File "/b/s/w/ir/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 52, in traced_function
      return func(*args, **kwargs)
    File "/b/s/w/ir/third_party/catapult/telemetry/telemetry/internal/actions/action_runner.py", line 289, in WaitForElement
      timeout_in_seconds=timeout_in_seconds))
    File "/b/s/w/ir/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 52, in traced_function
      return func(*args, **kwargs)
    File "/b/s/w/ir/third_party/catapult/telemetry/telemetry/internal/actions/action_runner.py", line 62, in _RunAction
      action.RunAction(self._tab)
    File "/b/s/w/ir/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 52, in traced_function
      return func(*args, **kwargs)
    File "/b/s/w/ir/third_party/catapult/telemetry/telemetry/internal/actions/wait.py", line 22, in RunAction
      wait=True, timeout_in_seconds=self.timeout_in_seconds)
    File "/b/s/w/ir/third_party/catapult/telemetry/telemetry/internal/actions/page_action.py", line 127, in EvaluateCallbackWithElement
      tab.WaitForJavaScriptCondition(code, timeout=timeout_in_seconds)
    File "/b/s/w/ir/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 52, in traced_function
      return func(*args, **kwargs)
    File "/b/s/w/ir/third_party/catapult/telemetry/telemetry/internal/browser/web_contents.py", line 239, in WaitForJavaScriptCondition
      return self._inspector_backend.WaitForJavaScriptCondition(*args, **kwargs)
    File "/b/s/w/ir/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 52, in traced_function
      return func(*args, **kwargs)
    File "/b/s/w/ir/third_party/catapult/telemetry/telemetry/internal/backends/chrome_inspector/inspector_backend.py", line 302, in WaitForJavaScriptCondition
      e.message + '\n' + debug_message)
  TimeoutException: Timed out while waiting 0s for IsJavaScriptExpressionTrue.
  Console output:
  

Comment 2 by olka@chromium.org, Jun 28 2018

ActionRunnerTest.testWaitForElement already disabled in https://bugs.chromium.org/p/chromium/issues/detail?id=855885#c5

Comment 3 by yigu@chromium.org, Jun 28 2018

Labels: -Sheriff-Chromium
Mergedinto: 855885
Status: Duplicate (was: Available)

Sign in to add a comment