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

Issue 707029 link

Starred by 7 users

Issue metadata

Status: Fixed
Owner:
Closed: Sep 11
Cc:
Components:
EstimatedDays: 300
NextAction: ----
OS: Fuchsia
Pri: 3
Type: Bug

Blocked on:
issue 745801
issue 720091
issue 720191
issue 730857

Blocking:
issue 707031



Sign in to add a comment

Infrastructure tasks for Fuchsia bringup

Project Member Reported by cpu@chromium.org, Mar 30 2017

Issue description

This bug is meant to be the parent of all the bugs related with Chromium infra as it relates to Fuchsia. For example issues with the waterfall, CQ and related.



 

Comment 1 by cpu@chromium.org, Mar 30 2017

Blocking: 707031

Comment 2 by cpu@chromium.org, Mar 30 2017

Labels: Restrict-View-Google
Cc: scottmg@chromium.org
Blockedon: 720091
Summary: Infrastructure tasks for Fuchsia bringup (was: Infraestructure tasks for Fuchsia bringup)
Blockedon: 720191
Project Member

Comment 6 by bugdroid1@chromium.org, May 10 2017

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

commit 47d3fc2d570b3ac8070173117d7a83f0e42dfdec
Author: scottmg <scottmg@chromium.org>
Date: Wed May 10 19:39:34 2017

Add MB config for Fuchsia FYI bot

BUG= 707029 , 720091

Review-Url: https://codereview.chromium.org/2870053003
Cr-Commit-Position: refs/heads/master@{#470672}

[modify] https://crrev.com/47d3fc2d570b3ac8070173117d7a83f0e42dfdec/tools/mb/mb_config.pyl

Project Member

Comment 7 by bugdroid1@chromium.org, May 10 2017

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

commit 6054a101391edc7c0feff76ae027bd5c0fd8052d
Author: Scott Graham <scottmg@chromium.org>
Date: Wed May 10 22:02:20 2017

Add Fuchsia slave to FYI master

TBR=thakis (already reviewed)
Bug:  707029 , 720091
Change-Id: I04f9b4f50c5dd990b7f9606907397a1a2bf836ae
Reviewed-on: https://chromium-review.googlesource.com/500870
Commit-Queue: Scott Graham <scottmg@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>

[modify] https://crrev.com/6054a101391edc7c0feff76ae027bd5c0fd8052d/masters/master.chromium.fyi/master.cfg
[modify] https://crrev.com/6054a101391edc7c0feff76ae027bd5c0fd8052d/masters/master.chromium.fyi/slaves.cfg

Project Member

Comment 8 by bugdroid1@chromium.org, May 11 2017

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/infradata/master-manager/+/4f40983b4d71d3ad5777a81f968dc2a28193eb8f

commit 4f40983b4d71d3ad5777a81f968dc2a28193eb8f
Author: Vadim Shtayura <vadimsh@google.com>
Date: Thu May 11 03:45:51 2017

Comment 9 by cpu@chromium.org, May 11 2017

Labels: -Restrict-View-Google
Project Member

Comment 10 by bugdroid1@chromium.org, May 11 2017

https://build.chromium.org/p/chromium.fyi/builders/Fuchsia is up and trying to generate via GN but failing (as expected, until src.git config changes land).
Project Member

Comment 12 by bugdroid1@chromium.org, May 29 2017

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

commit 4c4cdc5b283ce0e1afed415ef7c4b3eb3c0f3b16
Author: Scott Graham <scottmg@chromium.org>
Date: Mon May 29 23:01:46 2017

fuchsia: generate test runner

Modeled after Android test running, modify the 'test' GN template to
automatically generate a test runner script (into e.g.
out/Debug/bin/run_<binary>).

The test_runner_script template in build/config/rules.gni does a bunch
of fiddling to generate a .d file so that it's re-run properly, but it's
just running build/fuchsia/create_test_runner_script.py when necessary
during the build.

That script in turn generates a small wrapper in the out dir that
forwards to build/fuchsia/test_runner.py (which is not implemented in
this CL). In subsequent changes, test_runner.py will package a file
system image, find QEMU in the Fuchsia SDK, run it, symbolize crashes,
etc.

TBR=

Bug: 706592,  707029 
Change-Id: Ibae8ca9797a7bfb25fbecfba206c2d814cf79595
Reviewed-on: https://chromium-review.googlesource.com/517325
Commit-Queue: Scott Graham <scottmg@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#475393}
[add] https://crrev.com/4c4cdc5b283ce0e1afed415ef7c4b3eb3c0f3b16/build/config/fuchsia/rules.gni
[add] https://crrev.com/4c4cdc5b283ce0e1afed415ef7c4b3eb3c0f3b16/build/fuchsia/create_test_runner_script.py
[add] https://crrev.com/4c4cdc5b283ce0e1afed415ef7c4b3eb3c0f3b16/build/fuchsia/test_runner.py
[modify] https://crrev.com/4c4cdc5b283ce0e1afed415ef7c4b3eb3c0f3b16/testing/test.gni

Project Member

Comment 13 by bugdroid1@chromium.org, May 31 2017

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

commit 13c80389de38608b8fc38b5dec61937c94a22f94
Author: Scott Graham <scottmg@chromium.org>
Date: Wed May 31 22:04:03 2017

Switch fuchsia runner back to python

This makes bin/run_X a python script (again) as per ps#9 in
https://chromium-review.googlesource.com/c/517325/9/.

This is done so that bot scripts (which want to prefix things with "python")
will be able to run this.

Bug: 706592,  707029 
Change-Id: I67c74de0e5422345fd5c196371e79833375c1c76
Reviewed-on: https://chromium-review.googlesource.com/520142
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#476053}
[modify] https://crrev.com/13c80389de38608b8fc38b5dec61937c94a22f94/build/fuchsia/create_test_runner_script.py

Project Member

Comment 14 by bugdroid1@chromium.org, Jun 1 2017

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

commit 377315c04d182f8933be81bdce41d576ddcb5630
Author: Dirk Pranke <dpranke@chromium.org>
Date: Thu Jun 01 01:24:00 2017

Add an optional fuchsia trybot to tryserver.chromium.linux.

So that we can test changes that will affect the Fuchia bot
on chromium.fyi prior to landing them.

R=scottmg@chromium.org
BUG=706592,  707029 

Change-Id: I26b0ea15b6b81cc127f66a6443f45059f4f0fbcc
Reviewed-on: https://chromium-review.googlesource.com/520730
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@chromium.org>

[modify] https://crrev.com/377315c04d182f8933be81bdce41d576ddcb5630/masters/master.tryserver.chromium.linux/slaves.cfg
[modify] https://crrev.com/377315c04d182f8933be81bdce41d576ddcb5630/scripts/slave/recipe_modules/chromium_tests/trybots.py
[modify] https://crrev.com/377315c04d182f8933be81bdce41d576ddcb5630/masters/master.tryserver.chromium.linux/master.cfg

Project Member

Comment 15 by bugdroid1@chromium.org, Jun 1 2017

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/infradata/master-manager/+/e05551c7a3a6592e110491e62a9c0ebc6532919d

commit e05551c7a3a6592e110491e62a9c0ebc6532919d
Author: Dirk Pranke <dpranke@google.com>
Date: Thu Jun 01 02:19:08 2017

Project Member

Comment 16 by bugdroid1@chromium.org, Jun 1 2017

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

commit 0ade7d383f11a5eb0e97f6275341a8557bd60ad8
Author: dpranke <dpranke@chromium.org>
Date: Thu Jun 01 06:13:48 2017

Add a fuchsia trybot entry to mb_config.pyl.

R=scottmg@chromium.org
BUG=706592,  707029 

Review-Url: https://codereview.chromium.org/2913263003
Cr-Commit-Position: refs/heads/master@{#476209}

[modify] https://crrev.com/0ade7d383f11a5eb0e97f6275341a8557bd60ad8/tools/mb/mb_config.pyl

Project Member

Comment 17 by bugdroid1@chromium.org, Jun 2 2017

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

commit cf6afdd5f84d54d01df7f3145a0a8e2082b4df58
Author: Scott Graham <scottmg@chromium.org>
Date: Fri Jun 02 04:30:40 2017

fuchsia: enable kvm when not CHROME_HEADLESS

Using the -enable-kvm flag (with modifications to -cpu) is about 100x
faster when running base_unittests. (The flags are copied from the
Fuchsia source tree's test runner.)

The bots are a KVM-ish thing themselves, so don't enable when running
there, as that'll explodisize.

Bug: 706592,  707029 
Change-Id: I01defdf0375a99fd06b76bab8867c4ffb555629c
Reviewed-on: https://chromium-review.googlesource.com/520686
Commit-Queue: Scott Graham <scottmg@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#476563}
[modify] https://crrev.com/cf6afdd5f84d54d01df7f3145a0a8e2082b4df58/build/fuchsia/test_runner.py

Blockedon: 730857
Project Member

Comment 20 by bugdroid1@chromium.org, Jun 9 2017

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

commit 72c4376653c2f21fc6b244b80c4e0d91042501cc
Author: Scott Graham <scottmg@chromium.org>
Date: Fri Jun 09 00:29:06 2017

fuchsia: Add Fuchsia (dbg) to mb_config.pyl

Bug:  707029 
Change-Id: I543d8a67932c8b10fd9f09df3b295f53fe3bc42a
Reviewed-on: https://chromium-review.googlesource.com/528331
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#478133}
[modify] https://crrev.com/72c4376653c2f21fc6b244b80c4e0d91042501cc/tools/mb/mb_config.pyl

Project Member

Comment 21 by bugdroid1@chromium.org, Jun 11 2017

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

commit 357f0a960c4bb9ac7fbd4f096acb364d9063b4ce
Author: Scott Graham <scottmg@chromium.org>
Date: Sun Jun 11 05:50:42 2017

fuchsia fyi: remove compile_targets in favour of src/testing/buildbot

base_unittests re-added with v8 target in https://codereview.chromium.org/2930193002/.

Bug:  707029 ,  731217 
Change-Id: I91e6470ad77165a7acbc9971e3c7c7e7d94694ac
Reviewed-on: https://chromium-review.googlesource.com/530188
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>

[modify] https://crrev.com/357f0a960c4bb9ac7fbd4f096acb364d9063b4ce/scripts/slave/recipe_modules/chromium_tests/chromium_fyi.py

Project Member

Comment 22 by bugdroid1@chromium.org, Jun 11 2017

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

commit 0f11d0f36f4234997494fbb8d4cea10878047b86
Author: scottmg <scottmg@chromium.org>
Date: Sun Jun 11 06:49:58 2017

Set fuchsia fyi bot to build //v8:d8 as well

(Also base_unittests, which is removed from build repo config in https://chromium-review.googlesource.com/c/530188/ )

BUG= 707029 ,  731217 

Review-Url: https://codereview.chromium.org/2930193002
Cr-Commit-Position: refs/heads/master@{#478530}

[modify] https://crrev.com/0f11d0f36f4234997494fbb8d4cea10878047b86/testing/buildbot/chromium.fyi.json
[modify] https://crrev.com/0f11d0f36f4234997494fbb8d4cea10878047b86/testing/buildbot/gn_isolate_map.pyl

Project Member

Comment 23 by bugdroid1@chromium.org, Jun 12 2017

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

commit def75ac327e8f30bd924a215cedeb410fe7736fb
Author: Scott Graham <scottmg@chromium.org>
Date: Mon Jun 12 20:36:06 2017

Try to get fuchsia bot to run something

I'm even more lost than usual here. This sort of seems like it might
figure out how to call src/build/fuchsia/test_runner.py. But it might
not too.

I think there'll be a corresponding change in
testing/buildbot/chromium.fyi.json to get it to actually do something.

Bug:  707029 , 706592
Change-Id: Ia7e7b325489a5a6daf6de5b7963f2d177c5f65dd
Reviewed-on: https://chromium-review.googlesource.com/518287
Commit-Queue: Scott Graham <scottmg@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>

[add] https://crrev.com/def75ac327e8f30bd924a215cedeb410fe7736fb/scripts/slave/recipe_modules/chromium_tests/tests/steps/generate_fuchsia_test.expected/basic.json
[modify] https://crrev.com/def75ac327e8f30bd924a215cedeb410fe7736fb/scripts/slave/recipe_modules/chromium/config.py
[modify] https://crrev.com/def75ac327e8f30bd924a215cedeb410fe7736fb/scripts/slave/recipes/chromium.py
[add] https://crrev.com/def75ac327e8f30bd924a215cedeb410fe7736fb/scripts/slave/recipes/chromium.expected/dynamic_gtest_fuchsia.json
[modify] https://crrev.com/def75ac327e8f30bd924a215cedeb410fe7736fb/scripts/slave/recipe_modules/chromium_tests/chromium_fyi.py
[modify] https://crrev.com/def75ac327e8f30bd924a215cedeb410fe7736fb/scripts/slave/recipe_modules/chromium_tests/steps.py
[add] https://crrev.com/def75ac327e8f30bd924a215cedeb410fe7736fb/scripts/slave/recipe_modules/chromium_tests/tests/steps/generate_fuchsia_test.py

Project Member

Comment 24 by bugdroid1@chromium.org, Jun 12 2017

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

commit 53da5809a242b7a1c52e21ed2a35db00bb815196
Author: Scott Graham <scottmg@chromium.org>
Date: Mon Jun 12 23:38:08 2017

Get fuchsia fyi to run base_unittests

Bug:  707029 , 706592
Change-Id: I08963922fd177c0023e9be1f6eb82491b4f33dcb
Reviewed-on: https://chromium-review.googlesource.com/531658
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#478821}
[modify] https://crrev.com/53da5809a242b7a1c52e21ed2a35db00bb815196/testing/buildbot/chromium.fyi.json

Project Member

Comment 25 by bugdroid1@chromium.org, Jun 29 2017

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

commit 7f8ddaf076671ca9afcc620204059d60882555ca
Author: Scott Graham <scottmg@chromium.org>
Date: Thu Jun 29 03:06:18 2017

Add test_launcher_summary_output to fuchsia runs

Needs to have https://chromium-review.googlesource.com/c/553979/
land first.

Bug:  734230 ,  707029 
Change-Id: Ifa2cfee61e5499c8bec3e3fa05b5580db9aad794
Reviewed-on: https://chromium-review.googlesource.com/553586
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>

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

Project Member

Comment 26 by bugdroid1@chromium.org, Jun 29 2017

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

commit 72146922f21b8ba39bbb829f3caa97af21e50f57
Author: Scott Graham <scottmg@chromium.org>
Date: Thu Jun 29 04:29:54 2017

fuchsia: fix break after https://chromium-review.googlesource.com/c/553979/

Sigh.

TBR=dpranke@chromium.org

Bug:  734230 ,  707029 
Change-Id: I9de1ab1bb7793c5520b41aa9e953c08c12ed328b
Reviewed-on: https://chromium-review.googlesource.com/554260
Reviewed-by: Scott Graham <scottmg@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#483296}
[modify] https://crrev.com/72146922f21b8ba39bbb829f3caa97af21e50f57/build/fuchsia/test_runner.py

Cc: -scottmg@chromium.org bgoldman@chromium.org
Owner: scottmg@chromium.org

Comment 28 by cpu@chromium.org, Jul 18 2017

Blockedon: 745801
Project Member

Comment 29 by bugdroid1@chromium.org, Jul 27 2017

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

commit 05b3b6349f8febd0d4bbda554962514c1913876e
Author: Scott Graham <scottmg@chromium.org>
Date: Thu Jul 27 00:26:50 2017

fuchsia: Support running on hardware

Adds a '--device' flag to Fuchsia run scripts. This causes the script
to run the Fuchsia SDK's bootserver instead of launching QEMU. If a
configured device is then connected to the bootserver the kernel and
boot image are sent to the device, and the tests run by autorun, the
same as in the QEMU case. (Press Alt-F1 to switch to 'debuglog' to see
the output on-device.)

Bug:  707029 , 706592,  749242 
Change-Id: I0a84885232463ee4cf316c6399edd6155ce97536
Reviewed-on: https://chromium-review.googlesource.com/585411
Commit-Queue: Scott Graham <scottmg@chromium.org>
Reviewed-by: Kevin Marshall <kmarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#489812}
[modify] https://crrev.com/05b3b6349f8febd0d4bbda554962514c1913876e/build/fuchsia/test_runner.py

Project Member

Comment 30 by bugdroid1@chromium.org, Oct 23 2017

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

commit f776318ab9b8863704ed1758d774961ab3d2c7bb
Author: Scott Graham <scottmg@chromium.org>
Date: Mon Oct 23 09:01:28 2017

fuchsia: Add a few small tests to main CQ/waterfall

Starting with just a few that haven't flaked and run in a couple
seconds to make sure we don't overload anything.

Bug:  707029 ,  758256 
Change-Id: If287d719ed966cd3f251d47e72bf386067dac220
Reviewed-on: https://chromium-review.googlesource.com/726314
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#510741}
[modify] https://crrev.com/f776318ab9b8863704ed1758d774961ab3d2c7bb/testing/buildbot/chromium.linux.json

Components: Internals>PlatformIntegration
Labels: OS-Fuchsia
Status: Fixed (was: Assigned)
I think we're brung up now. Though much to do still, of course.

Sign in to add a comment