New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 599333 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
OOO until 2019-01-24
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug

Blocking:
issue 599735



Sign in to add a comment

webgl2 conformance tests failing on some Win bots with "file for expectation does not exist"

Project Member Reported by kbr@chromium.org, Mar 31 2016

Issue description

Example failing build:
https://build.chromium.org/p/chromium.gpu.fyi/builders/Win7%20Release%20%28NVIDIA%20GeForce%20730%29/builds/267

Error log excerpt:

1444 2016-03-31 03:50:30.905 I: Profiling: Section Setup took 1.226 seconds
1444 2016-03-31 03:50:33.470 I: Profiling: Section GetIsolateds took 2.561 seconds
1444 2016-03-31 03:50:33.703 I: Retrieving remaining files (0 of them)...
1444 2016-03-31 03:50:40.618 I: Profiling: Section GetRest took 7.148 seconds
1444 2016-03-31 03:50:40.688 I:     0 (       0kb) added
1444 2016-03-31 03:50:40.691 I: 12686 (  581175kb) current
1444 2016-03-31 03:50:40.691 I:     0 (       0kb) removed
1444 2016-03-31 03:50:40.693 I:        395969172kb free
1444 2016-03-31 03:50:40.693 I: Profiling: Section CleanupTrimming took 0.075 seconds
1444 2016-03-31 03:50:46.535 I: run_command(['C:\\b\\depot_tools\\python276_bin\\python.exe', u'..\\testing\\scripts\\run_telemetry_benchmark_as_googletest.py', u'../content/test/gpu/run_gpu_test.py', 'webgl_conformance', '--show-stdout', '--browser=release', '-v', '--extra-browser-args=--enable-logging=stderr --js-flags=--expose-gc', '--webgl-conformance-version=2.0.0', '--webgl2-only=true', '--isolated-script-test-output', 'c:\\users\\chrome~1.lab\\appdata\\local\\temp\\tmpl9izsn.json'], c:\users\chrome~1.lab\appdata\local\temp\isolated_run7ltyau\chrome)
(WARNING) 2016-03-30 20:50:47,687 desktop_browser_finder.FindAllAvailableBrowsers:148  Chrome build location for win_AMD64 not found. Browser will be run without Flash.
(INFO) 2016-03-30 20:50:47,687 browser_finder.FindBrowser:122  Chose browser: PossibleDesktopBrowser(type=release, executable=c:\users\chrome~1.lab\appdata\local\temp\isolated_run7ltyau\out\Release\chrome.exe, flash=None)
(INFO) 2016-03-30 20:50:47,717 exception_formatter.PrintFormattedException:20  Try printing formatted exception: <type 'exceptions.Exception'> The WebGL conformance test path specified inexpectation does not exist: c:\users\chrome~1.lab\appdata\local\temp\isolated_run7ltyau\third_party\webgl\src\sdk\tests\conformance2\textures\image_bitmap_from_image_bitmap\tex-image-and-sub-image-2d-with-image-bitmap-from-image-bitmap-r11f_g11f_b10f-rgb-unsigned_int_10f_11f_11f_rev.html <traceback object at 0x03BFCB70>

Traceback (most recent call last):
  <module> at content\test\gpu\run_gpu_test.py:92
    retcode = benchmark_runner.main(gpu_project_config.CONFIG)
  main at third_party\catapult\telemetry\telemetry\benchmark_runner.py:417
    return command_instance.Run(options)
  Run at third_party\catapult\telemetry\telemetry\benchmark_runner.py:236
    return min(255, self._benchmark().Run(args))
  Run at third_party\catapult\telemetry\telemetry\benchmark.py:91
    return story_runner.RunBenchmark(self, finder_options)
  RunBenchmark at third_party\catapult\telemetry\telemetry\internal\story_runner.py:298
    stories = benchmark.CreateStorySet(finder_options)
  CreateStorySet at content\test\gpu\gpu_tests\webgl_conformance.py:181
    expectations = self.GetExpectations()
  GetExpectations at content\test\gpu\gpu_tests\gpu_test_base.py:27
    self._cached_expectations = self._CreateExpectations()
  _CreateExpectations at content\test\gpu\gpu_tests\webgl_conformance.py:194
    conformance_path)
  __init__ at content\test\gpu\gpu_tests\webgl2_conformance_expectations.py:10
    super(WebGL2ConformanceExpectations, self).__init__(conformance_path)
  __init__ at content\test\gpu\gpu_tests\webgl_conformance_expectations.py:13
    super(WebGLConformanceExpectations, self).__init__()
  __init__ at content\test\gpu\gpu_tests\test_expectations.py:95
    self.SetExpectations()
  SetExpectations at content\test\gpu\gpu_tests\webgl2_conformance_expectations.py:512
    ['win7', ('nvidia', 0xf02)], bug= 483282 )
  Fail at content\test\gpu\gpu_tests\webgl_conformance_expectations.py:16
    self.CheckPatternIsValid(pattern)
  CheckPatternIsValid at content\test\gpu\gpu_tests\webgl_conformance_expectations.py:29
    'expectation does not exist: ' + full_path)
Exception: The WebGL conformance test path specified inexpectation does not exist: c:\users\chrome~1.lab\appdata\local\temp\isolated_run7ltyau\third_party\webgl\src\sdk\tests\conformance2\textures\image_bitmap_from_image_bitmap\tex-image-and-sub-image-2d-with-image-bitmap-from-image-bitmap-r11f_g11f_b10f-rgb-unsigned_int_10f_11f_11f_rev.html

Locals:
  full_path : 'c:\\users\\chrome~1.lab\\appdata\\local\\temp\\isolated_run7ltyau\\third_party\\webgl\\src\\sdk\\tests\\conformance2\\textures\\image_bitmap_from_image_bitmap\\tex-image-and-sub-image-2d-with-image-bitmap-from-image-bitmap-r11f_g11f_b10f-rgb-unsigned_int_10f_11f_11f_rev.html'
  pattern   : 'conformance2/textures/image_bitmap_from_image_bitmap/tex-image-and-sub-image-2d-with-image-bitmap-from-image-bitmap-r11f_g11f_b10f-rgb-unsigned_int_10f_11f_11f_rev.html'



This isn't reproducible locally. It surely has something to do with Swarming and how it sets up its virtual file system. I'm going to try a workaround which I unfortunately can't test.

 

Comment 1 by kbr@chromium.org, Mar 31 2016

Actually, I misspoke -- this bot, and the other failing one, doesn't run its tests via Swarming. In fact, I'm surprised it seems to be invoking them via an isolate.

Project Member

Comment 2 by bugdroid1@chromium.org, Mar 31 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1f22a4eaffd31890856365dcf36e20895078ec59

commit 1f22a4eaffd31890856365dcf36e20895078ec59
Author: kbr <kbr@chromium.org>
Date: Thu Mar 31 21:10:36 2016

Work around problems with very long file names on Windows.

Not sure whether this will work; can not reproduce the problem locally.

BUG= 599333 
TBR=zmo@chromium.org, cwallez@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel
NOTRY=true

Review URL: https://codereview.chromium.org/1850613002

Cr-Commit-Position: refs/heads/master@{#384386}

[modify] https://crrev.com/1f22a4eaffd31890856365dcf36e20895078ec59/content/test/gpu/gpu_tests/webgl_conformance_expectations.py

Comment 3 by kbr@chromium.org, Apr 1 2016

Blockedon: 599735

Comment 4 by kbr@chromium.org, Apr 1 2016

Cc: -mar...@chromium.org bajones@chromium.org d...@chromium.org zmo@chromium.org jo...@chromium.org xidac...@chromium.org pschmidt@chromium.org
Components: Internals>GPU>Testing
Labels: -Infra-Swarming
It looks to me like the reason the tests are timing out on these three new bots:

https://build.chromium.org/p/chromium.gpu.fyi/builders/Win7%20Release%20(NVIDIA%20GeForce%20730)
https://build.chromium.org/p/chromium.gpu.fyi/builders/Win7%20Release%20(New%20Intel)
https://build.chromium.org/p/chromium.gpu.fyi/builders/Win7%20Debug%20(New%20Intel)

is that the new username "chrome-bot.labs" (compared to chrome-bot on the old machines) has pushed the path name for this test's HTML file over Windows' 255 character limit, and some of our harnesses either can't find the file any more or otherwise can't deal with it.

I'll restructure the test generator to get rid of the redundant portions of the file name, which should get it well under the 255 character limit again.

Comment 6 by kbr@chromium.org, Apr 7 2016

Status: Fixed (was: Started)
The renaming is taking effect and this first build of this bot shows that the test is now passing:

https://build.chromium.org/p/chromium.gpu.fyi/builders/Win7%20Release%20%28New%20Intel%29/builds/161

Closing as fixed.

Comment 7 by kbr@chromium.org, Apr 7 2016

Blockedon: -599735

Comment 8 by kbr@chromium.org, Apr 7 2016

Blocking: 599735

Sign in to add a comment