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

Issue 700980 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocking:
issue 759774



Sign in to add a comment

[Findit] Flake Analyzer - Failed swarming tasks are interpreted as nonexistent tests

Project Member Reported by lijeffrey@chromium.org, Mar 13 2017

Issue description

Assigning to myself for now for further investigation as to why Findit did not detect the error in the swarming task
Blocking: 711831
Should we move this to the next release?
Blocking: -711831 714267
Moved to the next release as discussed in the meeting yesterday
Blocking: -714267
It seems the change for this may be a bit more involved to get right, so moving out of the 5/2 release again to work on other more impactful bugs in the flake analyzer this week and resuming this one once I'm back in MTV.
Blocking: 757547
Blocking: 756173
It may be possible to retrieve the test location to validate that the test indeed does not exist

Comment 10 by st...@chromium.org, Aug 22 2017

Blocking: -757547

Comment 11 by st...@chromium.org, Aug 22 2017

I think this bug is meant to block  bug 757517  instead.
Blocking: -756173 759774
Project Member

Comment 13 by bugdroid1@chromium.org, Sep 5 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra/+/838e68e4d74a1794a2d36cbac341818b36afa662

commit 838e68e4d74a1794a2d36cbac341818b36afa662
Author: Jeffrey Li <lijeffrey@chromium.org>
Date: Tue Sep 05 20:50:21 2017

[Findit] Flake Analyzer - Do not use exit codes when determining swarming task success

When swarming returns exit_code, it is the underlying process' exit code which is arbitrarily
chosen and should not be relied on when determining whether a test is stable, flaky, or some
error occurred. In order to determine a test's outcome more reliably, the output_json must be
parsed.

1. The task's status must be 'COMPLETED'
2. 'outputs_ref' Must be available in the swarming task result
3. The task's failure log must be available
4. 'per_iteration_data' Must be available and non-empty in the task's failure log.

When all criteria are met can a task's outcome be determined. If any criteria is not met, assume
there was an error in the task.

Bug:  700980 
Change-Id: I947cef9444a8a7605bdc0f9854ab02835c13c98f
Reviewed-on: https://chromium-review.googlesource.com/644428
Reviewed-by: Chan Li <chanli@chromium.org>
Reviewed-by: Brandon Wylie <wylieb@chromium.org>
Commit-Queue: Jeffrey Li <lijeffrey@chromium.org>

[modify] https://crrev.com/838e68e4d74a1794a2d36cbac341818b36afa662/appengine/findit/waterfall/swarming_util.py
[modify] https://crrev.com/838e68e4d74a1794a2d36cbac341818b36afa662/appengine/findit/waterfall/flake/update_flake_analysis_data_points_pipeline.py
[modify] https://crrev.com/838e68e4d74a1794a2d36cbac341818b36afa662/appengine/findit/waterfall/test/process_base_swarming_task_result_pipeline_test.py
[modify] https://crrev.com/838e68e4d74a1794a2d36cbac341818b36afa662/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py
[modify] https://crrev.com/838e68e4d74a1794a2d36cbac341818b36afa662/appengine/findit/waterfall/flake/test/update_flake_analysis_data_points_pipeline_test.py

Status: Fixed (was: Assigned)
Cc: lijeffrey@chromium.org
 Issue 762022  has been merged into this issue.

Sign in to add a comment