Skip to content

[engine] fuchsia tests do not find packages #55165

Description

@godofredoc

There is a common error failing to load packages when running tests. This is because fuchsia_ctl always initializes an empty amber-files repo instead of using the packages shipped with the image:

:ui::focus::FocusChainListenerRegistryZX_ERR_PEER_CLOSED
[00248.342143][12136][12138][pkg-resolver, tuf::metadata] WARNING: Key ID KeyId("8c7a17a6ad5cd8e60d0dd23d83f0bb6b6f731b0f063a8deaf65e518fe0d83946") was not found in the set of authorized keys.
[00248.345549][12136][12138][pkg-resolver, tuf::metadata] WARNING: Key ID KeyId("8c7a17a6ad5cd8e60d0dd23d83f0bb6b6f731b0f063a8deaf65e518fe0d83946") was not found in the set of authorized keys.
[00248.349342][12136][12138][pkg-resolver] INFO: AutoClient for "http://192.168.42.1:43885/auto" connecting.
[00248.346106][51311][51313][scenic] INFO: [INFO:validate_eventpair.cc(60)] ViewRefControl is LOOSE.
[00248.346312][51311][51313][scenic] INFO: [INFO:validate_eventpair.cc(53)] ViewRefControl is TIGHT.
[00248.346327][51311][51313][scenic] INFO: [INFO:validate_eventpair.cc(53)] ViewRefControl is TIGHT.
[00248.346542][51311][51313][scenic] INFO: [INFO:default_frame_scheduler.cc(233)] Calling RenderFrame target_presentation_time=248316671633 frame_number=0
[00248.346596][51311][51313][scenic] INFO: [INFO:default_frame_scheduler.cc(390)] DefaultFrameScheduler::OnFramePresented frame_number=0
[00248.350209][51311][51313][scenic] INFO: [INFO:default_frame_scheduler.cc(233)] Calling RenderFrame target_presentation_time=248366671634 frame_number=1
[00248.374182][51311][51313][scenic] INFO: [INFO:default_frame_scheduler.cc(390)] DefaultFrameScheduler::OnFramePresented frame_number=1
[00248.375249][51311][51313][scenic] INFO: [INFO:default_frame_scheduler.cc(233)] Calling RenderFrame target_presentation_time=248383338301 frame_number=2
[00248.381542][12136][12138][pkg-resolver, tuf::metadata] WARNING: Key ID KeyId("e7c12b4e22563cbcca5a2987514299e619774f61cc72ce9362c6ac2f6ca74067") was not found in the set of authorized keys.
[00248.407213][12136][12138][pkg-resolver, tuf::metadata] WARNING: Key ID KeyId("c8f051cba80710c06fb54f619d8fc2f0c775de189f0fdff64875b9cafa6b1924") was not found in the set of authorized keys.
[00248.426997][12136][12138][pkg-resolver, tuf::metadata] WARNING: Key ID KeyId("c9b7147c218fd8829b966d1964554d72bd6b1a256156e9508577f0cd50ef8bc1") was not found in the set of authorized keys.
[00248.427945][12136][12138][pkg-resolver] ERROR: ../../src/sys/pkg/bin/pkg-resolver/src/repository_manager.rs(259): while fetching package fuchsia-pkg://aee52344-1cca-4c03-9697-c94b59b38622/ime_service/0 using rust tuf: while looking up merkle root for package: the package was not found in the repository
[00248.525417][54261][54263][setui-service] INFO: Starting setui-service...
[00248.605275][12136][12138][pkg-resolver] ERROR: ../../src/sys/pkg/bin/pkg-resolver/src/repository_manager.rs(259): while fetching package fuchsia-pkg://aee52344-1cca-4c03-9697-c94b59b38622/amberctl/0 using rust tuf: while looking up merkle root for package: the package was not found in the repository
[00248.525655][54261][54263][setui-service] INFO: unable to open /config/data/service_configuration.json, using defaults: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[00248.528433][54261][54263][setui-service] INFO: unable to open /config/data/audio_config_data.json, using defaults: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[00248.607088][54261][54263][setui-service] INFO: Opening sensor at "/dev/class/input/000"
[00248.607293][54261][54263][setui-service] INFO: Opening sensor at "/dev/class/input/001"
[00248.605958][12136][12138][pkg-resolver] ERROR: ../../src/sys/pkg/bin/pkg-resolver/src/repository_manager.rs(259): while fetching package fuchsia-pkg://aee52344-1cca-4c03-9697-c94b59b38622/audio_core/0 using rust tuf: while looking up merkle root for package: the package was not found in the repository
[00248.612423][12136][12138][pkg-resolver] ERROR: ../../src/sys/pkg/bin/pkg-resolver/src/repository_manager.rs(259): while fetching package fuchsia-pkg://aee52344-1cca-4c03-9697-c94b59b38622/ime_service/0 using rust tuf: while looking up merkle root for package: the package was not found in the repository
[00248.844030][12136][12138][pkg-resolver] ERROR: ../../src/sys/pkg/bin/pkg-resolver/src/repository_manager.rs(259): while fetching package fuchsia-pkg://aee52344-1cca-4c03-9697-c94b59b38622/brightness_manager/0 using rust tuf: while looking up merkle root for package: the package was not found in the repository
[00248.844713][12136][12138][pkg-resolver] ERROR: ../../src/sys/pkg/bin/pkg-resolver/src/repository_manager.rs(259): while fetching package fuchsia-pkg://aee52344-1cca-4c03-9697-c94b59b38622/flutter_aot_runner using rust tuf: while looking up merkle root for package: the package was not found in the repository
[00249.182025][55808][55810][audio_core] INFO: main.cc(36): AudioCore starting up
[00249.182395][55808][55810][audio_core] INFO: main.cc(44): No audio_core_config.json; using default configuration
[00249.360385][55808][55810][audio_core] INFO: policy_loader.cc(199): Loading /config/data/settings/default/platform_audio_policy.json
[00249.360487][55808][55810][audio_core] WARNING: src/media/audio/audio_core/policy_loader.cc(203): Failed to load /config/data/settings/default/platform_audio_policy.json
[00249.360493][55808][55810][audio_core] INFO: policy_loader.cc(199): Loading /config/data/settings/default/audio_policy.json
[00249.371563][55808][55810][audio_core] INFO: policy_loader.cc(191): Successfully loaded 36 rules.

Activity

  1. self-assigned this
    on Apr 19, 2020
  2. lock commented on May 6, 2020

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  3. locked and limited conversation to collaborators on May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

team-infraOwned by Infrastructure team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions