[roll] Roll fuchsia Reland "Reland "[test_manager] Use mocks to collect debug data""

This is a reland of commit feb45c2f9e5cc1f8d3600cf9fb55870f8c284e8b

This fixes one more potential flake. I investigated with some logging,
the new flake seems to occur when the local component is not started at
all and thus doesn't process debug data, leading to missing data.
This change makes the local component eager, and also adds some
synchronization so that realm destruction is blocked until the
component indicates that it has started. This is similar to the hack
added to mitigate missing logs in fxbug.dev/105308.

Multiply: test_manager_tests
Original-Bug: 105308
Original-Bug: 109104

Original change's description:
> Reland "[test_manager] Use mocks to collect debug data"
>
> The underlying issues with missing debug data in tests has been
> addresssed in fxrev.dev/761894 (CapabilityRequested missing) and
> fxrev.dev/777330 (RealmBuilder local components torn down too early).
>
> Original change's description:
> > [test_manager] Use mocks to collect debug data
> >
> > Switches test_manager over from using the debug_data component to
> > collecting debug data itself, which allows us to remove explicit use of
> > component events to determine the test URL associated with a debug data
> > Publisher connection.
> >
> > This includes a few required, related changes:
> >  * Update to the debug data security policy, as this changes the
> >    location in the topology where the debug data environment is defined
> >  * Update to where testrunner looks to pull debug data off device with
> >    SCP. As this change stops using debug_data, test_manager itself now
> >    hosts the tmp directory containing debug data.
> >
> > After this change, test_manager_for_tests and debug_data are no longer
> > needed and will be cleaned up in a followup.
> >
> > Multiply: test_manager_tests
> > Original-Bug: 109104
> >
> > Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/717347
>
> Multiply: test_manager_test
> Original-Bug: 109104
> Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/755932

Original-Bug: 109104
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/779884
Original-Revision: 53235c88046426491ec54a202fea2de0cfd7e1b1
GitOrigin-RevId: bcaddc160f8f05fa2842de43525ec1e2bbdadb24
Change-Id: I1932ee77cf69310604e50b28b19c5c55c1b9ecb6
1 file changed
tree: 09aa74a564f77db8fbefbdddcae253961c9899c7
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
  13. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.