-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listplatform-fuchsiaFuchsia code specificallyFuchsia code specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Steps to Reproduce
- Compile and build Fuchsia and open the emulator
- With an application configured for Fuchsia with a valid component manifest, attempt to
flutter run -d fuchsia - The application will build, but fails to deploy with the following logs, because it is adding %25 to the IP address in the wrong place. (done on line 612 of
flutter/packages/flutter_tools/lib/src/fuchsia/fuchsia_device.dart) I was also told that it uses some sort of wrong name on the network interface.
Logs
Logs
flutter run -d fuchsia --verbose
[ +91 ms] executing: uname -m
[ +47 ms] Exit code 0 from: uname -m
[ ] x86_64
[ +11 ms] executing: [/home/nmcain/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +9 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] c42ec8592f9c426cfc3d27a5cd4da3f49f42b396
[ ] executing: [/home/nmcain/flutter/] git tag --points-at c42ec8592f9c426cfc3d27a5cd4da3f49f42b396
[ +20 ms] Exit code 0 from: git tag --points-at c42ec8592f9c426cfc3d27a5cd4da3f49f42b396
[ +1 ms] executing: [/home/nmcain/flutter/] git describe --match *.*.* --long --tags c42ec8592f9c426cfc3d27a5cd4da3f49f42b396
[ +35 ms] Exit code 0 from: git describe --match *.*.* --long --tags c42ec8592f9c426cfc3d27a5cd4da3f49f42b396
[ ] 2.3.0-16.0.pre-120-gc42ec8592f
[ +11 ms] executing: [/home/nmcain/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/master
[ ] executing: [/home/nmcain/flutter/] git ls-remote --get-url origin
[ +4 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +125 ms] Unable to locate an Android SDK.
[ +7 ms] executing: [/home/nmcain/flutter/] git rev-parse --abbrev-ref HEAD
[ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ +1 ms] master
[ +88 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +107 ms] executing: /home/nmcain/flutter/bin/cache/artifacts/fuchsia/tools/x64/ffx target list --format s
[ +263 ms] fe80::98bb:89e1:a5cf:daab%brqemu fuchsia_fimage
[ +2 ms] executing: /home/nmcain/flutter/bin/cache/artifacts/fuchsia/tools/x64/ffx target list --format a fuchsia_fimage
[ +313 ms] fe80::98bb:89e1:a5cf:daab%brqemu
[ +3 ms] executing: ssh -F /home/nmcain/Desktop/fimage-210528/ssh/ssh_config fe80::98bb:89e1:a5cf:daab%brqemu uname -m
[ +63 ms] x86_64
[ +3 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +114 ms] Skipping pub get: version match.
[ +164 ms] Generating /home/nmcain/Desktop/fimage-210528/demo/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +84 ms] executing: ssh -F /home/nmcain/Desktop/fimage-210528/ssh/ssh_config fe80::98bb:89e1:a5cf:daab%brqemu cat
/pkgfs/packages/build-info/0/data/version
[ +124 ms] 2021-05-26T01:49:18+00:00
[ +56 ms] Initializing file store
[ +14 ms] Skipping target: gen_localizations
[ +8 ms] Skipping target: gen_dart_plugin_registrant
[ +17 ms] Skipping target: _composite
[ +2 ms] complete
[ +9 ms] Launching lib/main.dart on fuchsia_fimage in debug mode...
[ +7 ms] /home/nmcain/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/nmcain/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/nmcain/flutter/bin/cache/artifacts/flutter_runner/flutter/x64/debug/jit/flutter_runner_patched_sdk/ --incremental
--target=flutter_runner --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
/tmp/flutter_tools.QQEKMF/flutter_tool.ACZYXS/app.dill --packages /home/nmcain/Desktop/fimage-210528/demo/.dart_tool/package_config.json
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root
--initialize-from-dill build/f245b0b7cc30f460f818fcec6bcf01fb.cache.dill.track.dill --flutter-widget-cache
--enable-experiment=alternative-invalidation-strategy
[ +48 ms] <- compile package:demo/main.dart
[ +26 ms] Building Fuchsia application...
[ +5 ms] executing: /home/nmcain/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/nmcain/flutter/bin/cache/artifacts/flutter_runner/flutter/arm64/debug/jit/dart_binaries/kernel_compiler.snapshot --target
flutter_runner --platform
/home/nmcain/flutter/bin/cache/artifacts/flutter_runner/flutter/arm64/debug/jit/flutter_runner_patched_sdk/platform_strong.dill
--filesystem-scheme main-root --filesystem-root /home/nmcain/Desktop/fimage-210528/demo --packages main-root:///.packages --output
build/fuchsia/demo.dil --component-name demo --no-link-platform --split-output-by-packages --manifest build/fuchsia/demo.dilpmanifest
--embed-sources -DFLUTTER_WEB_AUTO_DETECT=true main-root:////home/nmcain/Desktop/fimage-210528/demo/lib/main.dart
[+24319 ms] Building Fuchsia application... (completed in 24.3s)
[ ] fuchsia-kernel-compile: 24342 ms.
[ +220 ms] fuchsia-build-assets: 220 ms.
[ +8 ms] executing: /home/nmcain/flutter/bin/cache/artifacts/fuchsia/tools/pm -o build/fuchsia/pkg -n demo init
[ +19 ms] executing: /home/nmcain/flutter/bin/cache/artifacts/fuchsia/tools/pm -o build/fuchsia/pkg -m build/fuchsia/pkg/package_manifest
build
[ +256 ms] executing: /home/nmcain/flutter/bin/cache/artifacts/fuchsia/tools/pm -o build/fuchsia/pkg -m build/fuchsia/pkg/package_manifest
archive
[ +152 ms] fuchsia-build-package: 436 ms.
[ +3 ms] executing: ssh -F /home/nmcain/Desktop/fimage-210528/ssh/ssh_config fe80::98bb:89e1:a5cf:daab%brqemu tiles_ctl list
[ +158 ms] Couldn't find tiles component in realm
To start a new instance of tiles, run 'tiles_ctl start'
[ ] tiles_ctl is not running
[ ] executing: ssh -F /home/nmcain/Desktop/fimage-210528/ssh/ssh_config fe80::98bb:89e1:a5cf:daab%brqemu echo $SSH_CONNECTION
[ +32 ms] fe80::38e4:b1ff:fe18:c538%ethp0003 59990 fe80::98bb:89e1:a5cf:daab%ethp0003 22
[ +7 ms] Starting Fuchsia application demo...
[ +1 ms] executing: ssh -F /home/nmcain/Desktop/fimage-210528/ssh/ssh_config fe80::98bb:89e1:a5cf:daab%brqemu amber_ctl get_up -n tiles
[ +82 ms] executing: ssh -F /home/nmcain/Desktop/fimage-210528/ssh/ssh_config fe80::98bb:89e1:a5cf:daab%brqemu amber_ctl get_up -n
tiles_ctl
[ +98 ms] executing: /home/nmcain/flutter/bin/cache/artifacts/fuchsia/tools/pm newrepo -repo build/fuchsia/.pkg-repo
[ +598 ms] executing: /home/nmcain/flutter/bin/cache/artifacts/fuchsia/tools/pm serve -repo build/fuchsia/.pkg-repo -l
[fe80::38e4:b1ff:fe18:c538%25ethp0003]:40279
[ +6 ms] executing: /home/nmcain/flutter/bin/cache/artifacts/fuchsia/tools/pm publish -a -r build/fuchsia/.pkg-repo -f
build/fuchsia/pkg/demo-0.far
[ +13 ms] listen tcp [fe80::38e4:b1ff:fe18:c538%25ethp0003]:40279: bind: no such device
[ +5 ms] Error running Fuchsia pm tool "serve" command
[ +490 ms] executing: /home/nmcain/flutter/bin/cache/artifacts/fuchsia/tools/pm publish -a -r build/fuchsia/.pkg-repo -f
/home/nmcain/flutter/bin/cache/artifacts/flutter_runner/flutter/x64/debug/jit/flutter_jit_runner-0.far
[ +469 ms] executing: ssh -F /home/nmcain/Desktop/fimage-210528/ssh/ssh_config fe80::98bb:89e1:a5cf:daab%brqemu amber_ctl add_repo_cfg -n
flutter_tool -f http://[fe80::38e4:b1ff:fe18:c538%25ethp0003]:40279/config.json
[ +102 ms] 2021/05/29 21:59:29 error adding repo: failed to GET file: Get "http://[fe80::38e4:b1ff:fe18:c538%25ethp0003]:40279/config.json":
dial tcp [fe80::38e4:b1ff:fe18:c538%ethp0003]:40279: errno(111)
[ ] Failed to teach amber about the package server
[ ] Shutting down the tool's package server.
[ ] Removing the tool's package repo: at build/fuchsia/.pkg-repo
[ +12 ms] Starting Fuchsia application demo... (completed in 1,881ms)
[ ] Error launching application on fuchsia_fimage.
[ +5 ms] "flutter run" took 28,555ms.
[ +7 ms]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:664:9)
<asynchronous suspension>
#2 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1126:27)
<asynchronous suspension>
#3 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#4 CommandRunner.runCommand (package:args/command_runner.dart:196:13)
<asynchronous suspension>
#5 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:284:9)
<asynchronous suspension>
#6 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#7 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:232:5)
<asynchronous suspension>
#8 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
<asynchronous suspension>
#9 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#10 main (package:flutter_tools/executable.dart:91:3)
<asynchronous suspension>
[ +120 ms] ensureAnalyticsSent: 118ms
[ +1 ms] Running shutdown hooks
[ ] Shutdown hooks complete
[ ] exiting with code 1
flutter doctor --verbose
[✓] Flutter (Channel master, 2.3.0-17.0.pre.120, on Ubuntu 20.04.2 LTS 5.8.0-53-generic, locale en_US.UTF-8)
• Flutter version 2.3.0-17.0.pre.120 at /home/nmcain/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision c42ec8592f (20 hours ago), 2021-05-28 22:34:02 -0400
• Engine revision aca8aa2335
• Dart version 2.14.0 (build 2.14.0-165.0.dev)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Linux toolchain - develop for Linux desktop
• clang version 10.0.0-4ubuntu1
• cmake version 3.16.3
• ninja version 1.10.0
• pkg-config version 0.29.1
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
[✓] VS Code (version 1.56.0)
• VS Code at /usr/share/code
• Flutter extension version 3.21.0
[✓] Connected device (3 available)
• fuchsia_fimage (null) • fe80::98bb:89e1:a5cf:daab%brqemu • fuchsia-x64 • Fuchsia 2021-05-26T01:49:18+00:00
• Linux (desktop) • linux • linux-x64 • Ubuntu 20.04.2 LTS 5.8.0-53-generic
• Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.93
! Doctor found issues in 2 categories.
allansrc
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listplatform-fuchsiaFuchsia code specificallyFuchsia code specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.