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

Issue 690085 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocked on:
issue 636153

Blocking:
issue 702953
issue 669240
issue 695471



Sign in to add a comment

LocalIsolatedScriptTest does not support json test results format

Project Member Reported by erikc...@chromium.org, Feb 8 2017

Issue description

The test suite is showing up as a failure: https://build.chromium.org/p/chromium.fyi/builders/Chromium%20Mac%2010.11/builds/6961/steps/telemetry_perf_unittests/logs/stdio

Even though all tests are passing. huh?
 
Cc: dpranke@chromium.org kbr@chromium.org
+Kbr since telemetry_gpu_unittests is also failing.

+Dirk: do you know what may be going on here? I am suspecting some kind of infra failure as these bots not swarmed? 

https://build.chromium.org/p/chromium.fyi/builders/Chromium%20Mac%2010.11/builds/6961


I'm not sure what's going on, but my guess is that there's something broken in the way the recipe is parsing the json test results.

I think you probably need to revert the typ change again until we figure out what's going on and fix it.
Dirk: I haven't landed the typ change yet.
Oh, I think this is probably because the bot is not swarmed, hence it's using IsolatedScriptTest recipe, which does not support the json test results format.

Comment 6 by kbr@chromium.org, Feb 14 2017

Do you mean the LocalIsolatedScriptTest step rather than the SwarmingIsolatedScriptTest step?

Could we refactor these so that the locally-run tests have the same capabilities as the new ones?

That bot looks pretty broken; it was failing generate_build_files for days, and now is stuck in a 8 hour run for its most recent build: https://build.chromium.org/p/chromium.fyi/builders/Chromium%20Mac%2010.11/ . For the record, a bunch of the GPU bots have already been upgraded to 10.12 successfully, so I'm not sure this particular bug/bot should block the overall SDK upgrade.

Components: Tests>Telemetry Infra
Labels: -Pri-3 Pri-2
Owner: martiniss@chromium.org
Stephen: can you take a look at this?

I am suspecting that Mac10.12 is using LocalIsolatedScriptTest instead of SwarmingIsolatedScriptTest & we don't have the logic to handle the json test results properly in LocalIsolatedScriptTest.
Status: Assigned (was: Untriaged)
I'll look at this.

Found a try-catch Exception, so going to try to remove that as well.
Cc: jbudorick@chromium.org
I also think this kind of stuff will go away when jbudorick's change lands. We can just make the triggering script specify the wrapper script, and have the telemetry_perf_unittests use a wrapper script which knows how to upload to swarming.

At least, I think so. Am I understanding his change correctly?
Triggering will support a postprocessing script. isolated_script collection already does. All of that's only for swarming, though -- I haven't made (and am not currently planning to make) any changes to LocalIsolatedScriptTest.
Project Member

Comment 11 by bugdroid1@chromium.org, Feb 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/build/+/d53dc42bb3b5bf19c99606b51adf4ea1e4952642

commit d53dc42bb3b5bf19c99606b51adf4ea1e4952642
Author: Stephen Martinis <martiniss@google.com>
Date: Fri Feb 17 06:05:35 2017

chromium_tests: Print exception caught in LocalIsolatedScriptTest

I want to delete the try catch, but don't know what it's 
affecting in production.

BUG= 690085 

Change-Id: I403cdd23410fbc45f65f8c0d56a15de25fe643a6
Reviewed-on: https://chromium-review.googlesource.com/444154
Commit-Queue: Stephen Martinis <martiniss@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>

[modify] https://crrev.com/d53dc42bb3b5bf19c99606b51adf4ea1e4952642/scripts/slave/recipe_modules/chromium_tests/steps.py

Comment 12 by s...@google.com, Feb 21 2017

Components: -Infra Infra>Client>Perf
Issue 695334 has been merged into this issue.
Labels: -Pri-2 Pri-1
Summary: LocalIsolatedScriptTest does not support json test results format (was: telemetry_perf_unittests failure on 10.12 bot [10.12.2, xcode 8, 10.12 SDK])
Cc: -nednguyen@chromium.org martiniss@chromium.org
Owner: nedngu...@google.com
Stephen is currently swarmed, so I am taking this bug.
Status: Started (was: Assigned)

Comment 17 by kbr@chromium.org, Feb 23 2017

Cc: kainino@chromium.org

Comment 18 by kbr@chromium.org, Feb 23 2017

Cc: geoffl...@chromium.org zmo@chromium.org ynovikov@chromium.org jmad...@chromium.org tandrii@chromium.org
 Issue 695467  has been merged into this issue.

Comment 20 by kbr@chromium.org, Feb 24 2017

Blocking: 695471

Comment 22 by kbr@chromium.org, Feb 24 2017

Thank you Ned for picking this up and fixing it urgently!

Comment 23 by kbr@chromium.org, Feb 27 2017

Blockedon: 636153
Project Member

Comment 24 by bugdroid1@chromium.org, Mar 6 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/build/+/97ed8b703b49d79e0c62bc37152596ab088abdf9

commit 97ed8b703b49d79e0c62bc37152596ab088abdf9
Author: Sergiy Byelozyorov <sergiyb@chromium.org>
Date: Mon Mar 06 12:09:39 2017

Recipes: Refactor global methods in steps.py into a parent class

BUG= 690085 

Change-Id: I42c5f7db942fd9402a44cc09233d88c57fc206c3
Reviewed-on: https://chromium-review.googlesource.com/445788
Commit-Queue: Sergiy Byelozyorov <sergiyb@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>

[modify] https://crrev.com/97ed8b703b49d79e0c62bc37152596ab088abdf9/scripts/slave/recipe_modules/chromium_tests/steps.py

Comment 25 by kbr@chromium.org, Mar 19 2017

Blocking: 702953

Sign in to add a comment