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

Issue 771731 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

"build presubmit" step failing in build repo due to missing coverage module?

Project Member Reported by dpranke@chromium.org, Oct 4 2017

Issue description

I keep getting mostly-failing flaky build failures trying to land changes in the build repo, which appear to be due to a bot missing the coverage python module:

https://luci-logdog.appspot.com/v/?s=infra%2Fbuildbucket%2Fcr-buildbucket.appspot.com%2F8966636496993943312%2F%2B%2Fsteps%2Fpresubmit%2F0%2Fstdout

I've seen this most recently for 

https://chromium-review.googlesource.com/c/chromium/tools/build/+/700984


 

Comment 1 by no...@chromium.org, Oct 6 2017

looks like presubmit_support must be executed via vpython and include python-coverage.

i think this was broken since dnj and i decided to exclude python-coverage from the auto-installed CIPD packages.

Comment 2 by no...@chromium.org, Oct 6 2017

Components: -Infra Infra>Platform
Labels: -Restrict-View-Google -Infra-Troopers
Owner: no...@chromium.org
Status: Assigned (was: Untriaged)
Seriously, we need to fix this; nearly every CL we're trying to land in the build repo is failing.
Cc: estaab@chromium.org

Comment 5 by kbr@chromium.org, Oct 7 2017

Issue 772660 has been merged into this issue.

Comment 6 by kbr@chromium.org, Oct 7 2017

Labels: -Type-Bug Type-Bug-Regression

Comment 7 by no...@chromium.org, Oct 7 2017

Status: Started (was: Assigned)

Comment 8 by d...@chromium.org, Oct 7 2017

I threw this together. Instead of building more junk on top of a hack, it trues to actually solve the problem :) https://chromium-review.googlesource.com/#/c/chromium/tools/build/+/706817

Comment 9 by no...@chromium.org, Oct 7 2017

Owner: d...@chromium.org
dnj leads this

Comment 10 by d...@chromium.org, Oct 7 2017

Owner: kbr@chromium.org
CL has landed, let's see how it did?
Project Member

Comment 11 by bugdroid1@chromium.org, Oct 7 2017

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

commit e5e872a092f3b5386f593dbe14425cb93f10f737
Author: Dan Jacques <dnj@chromium.org>
Date: Sat Oct 07 21:59:23 2017

[scripts/slave/unittests] Use "vpython".

Replace the "test_env" hacky coverage bootstrapping with "vpython",
which uses the "coverage" wheel.

BUG= chromium:771731 
TEST=local

Change-Id: I70a8c96654bdb6847cd56b1eb12d6f1a9e132942
Reviewed-on: https://chromium-review.googlesource.com/706817
Commit-Queue: Daniel Jacques <dnj@chromium.org>
Reviewed-by: Nodir Turakulov <nodir@chromium.org>

[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/chromium_commands_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/test_env.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/recipe_lint_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/runtest_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/runisolatedtest_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/gatekeeper_ng_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/cipd_package_test.py
[add] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/.vpython
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/infra_platform_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/robust_tempdir_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/recipe_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/filter_compilations_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/slave_utils_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/logdog_bootstrap_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/results_dashboard_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/DEPS
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/performance_log_processor_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/zip_build_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/update_scripts_unittest.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/bot_update_coverage_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/annotated_run_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/extract_build_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/PRESUBMIT.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/build_scan_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/buildrunner_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/package_index_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/utils.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/gatekeeper_ng_config_test.py
[modify] https://crrev.com/e5e872a092f3b5386f593dbe14425cb93f10f737/scripts/slave/unittests/remote_run_test.py

Comment 13 by d...@chromium.org, Oct 7 2017

Owner: d...@chromium.org

Comment 14 by d...@chromium.org, Oct 8 2017

Status: Fixed (was: Started)
Problem was the Mac "coverage" wheel declared via filename that it was OSX 10.10+, and the builder was running on OSX 10.9 and, consequently, refusing to install the wheel.

I hacked a solution by manually renaming the package "10_8", deleting the original CIPD package, re-uploading the new one w/ the renamed file, and purging the CIPD caches on the affected builders.

This solution sucks, but was probably the simplest way to resolve. Really we need to figure out exactly which platforms we support :/

Sign in to add a comment