AGL Flutter IVI build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Guys,
First off i'd like to say moving forward i'm happy to do our user acceptance testing (UAT) for IVI help me improve my understanding of how AGL builds, also HTML5 as I want to compare it against flutter/web
Last time i did an IVI build back in early Feb when Flutter Gallery was 1st released, build was fine but lengthy and image deploy worked although hideously slow,

Scott, Marius, Date San
During last week's IVI-EG Scott informed me master branch had been bumped to Kirkstone SPEC-4343, so thought i'd synch up and give it a whirl so kicked off a build over the weekend, 
however as follows: gallery failed compilation trying to download gradle wrapper which  seems reasonable as you may know flutter uses gradle  to build android, and Gallery supports android, linux, macos, windows and web 
but why would you attempt to download from Google Storage APIs seems odd. I manually curled and opened the specified gradle wrapper. It's referencing 2.14.1 which is ancient, so I directly checked Gallery they're running 6.7.

Of course this failure could still be mine but don't know how?, I also don't know anything about anything concerning bitbake but flutter gallery flutter-sdk_git.bb and conf/include/flutter-version.inc may need some small review, i'll leave with you until i hear back.

Some Other things
Is anyone from Flutter Gallery supporting AGL ?
I've only just started using Gerrit but couldn't find any references to the AGL external projects, am I doing something wrong? Are they available? Are you able to provide ?
I Just read Joel's Update meta-flutter commit message from Feb 2022 and agree with what he says, also PumpedFuel as with every other Flutter app is going to be complex , and as a minimum we're all going to need our own FLUTTER_SDK_TAG and
more importantly wrap our heads around how the embedder works, because i bet we're going to need to extend it - currently it's just a back box to me

regards
Bern

My build host
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal

my build
$ source meta-agl/scripts/aglsetup.sh -f -m qemux86-64 -b qemux86-64 agl-flutter agl-devel
$ nohup time bitbake agl-image-flutter &


NOTE: Running task 5238 of 5336 (/home/bcraddock/AGL/master/external/poky/meta/recipes-devtools/qemu/qemu-system-native_6.2.0.bb:do_configure)
NOTE: Running task 5239 of 5336 (/home/bcraddock/AGL/master/external/meta-clang/recipes-devtools/clang/clang_git.bb:do_populate_sysroot)
NOTE: Running task 5240 of 5336 (/home/bcraddock/AGL/master/external/meta-clang/recipes-devtools/clang/clang_git.bb:do_package)
NOTE: Running task 5241 of 5336 (/home/bcraddock/AGL/master/external/meta-flutter/recipes-graphics/flutter-apps/flutter-gallery-release_git.bb:do_patch)
NOTE: Running task 5242 of 5336 (/home/bcraddock/AGL/master/external/meta-flutter/recipes-graphics/flutter-apps/flutter-gallery-release_git.bb:do_deploy_source_date_epoch)
NOTE: Running task 5243 of 5336 (/home/bcraddock/AGL/master/external/meta-flutter/recipes-graphics/flutter-apps/flutter-gallery-release_git.bb:do_populate_lic)
NOTE: Running task 5244 of 5336 (/home/bcraddock/AGL/master/external/meta-flutter/recipes-graphics/flutter-apps/flutter-gallery-release_git.bb:do_configure)
NOTE: Running task 5245 of 5336 (/home/bcraddock/AGL/master/external/meta-flutter/recipes-graphics/flutter-apps/flutter-gallery-release_git.bb:do_compile)
NOTE: Running task 5245 of 5336 (/home/bcraddock/AGL/master/external/meta-flutter/recipes-graphics/flutter-apps/flutter-gallery-release_git.bb:do_compile)
NOTE: recipe flutter-gallery-release-git-r0: task do_compile: Started
ERROR: flutter-gallery-release-git-r0 do_compile: ExecutionError('/home/bcraddock/AGL/master/qemux86-64/tmp/work/corei7-64-agl-linux/flutter-gallery-release/git-r0/temp/run.do_compile.2582538', 1, None, None)
ERROR: Logfile of failure stored in: /home/bcraddock/AGL/master/qemux86-64/tmp/work/corei7-64-agl-linux/flutter-gallery-release/git-r0/temp/log.do_compile.2582538
Log data follows:
| DEBUG: Executing shell function do_compile
| Downloading Gradle Wrapper...                                      150ms
| Downloading Gradle Wrapper...                                        4ms
| Failed to download https://storage.googleapis.com/flutter_infra_release/gradle-wrapper/fd5c1f2c013565a3bea56ada6df9d2b8e96d56aa/gradle-wrapper.tgz. Ensure you have network connectivity and then try again.
| SocketException: Failed host lookup: 'storage.googleapis.com' (OS Error: Temporary failure in name resolution, errno = -3)
| WARNING: exit code 1 from a shell command.
NOTE: recipe flutter-gallery-release-git-r0: task do_compile: Failed
ERROR: Task (/home/bcraddock/AGL/master/external/meta-flutter/recipes-graphics/flutter-apps/flutter-gallery-release_git.bb:do_compile) failed with exit code '1'
NOTE: recipe clang-14.0.1-r0: task do_populate_sysroot: Succeeded
NOTE: recipe qemu-system-native-6.2.0-r0: task do_configure: Succeeded
NOTE: recipe clang-14.0.1-r0: task do_package: Succeeded
NOTE: Tasks Summary: Attempted 5245 tasks of which 5233 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/bcraddock/AGL/master/external/meta-flutter/recipes-graphics/flutter-apps/flutter-gallery-release_git.bb:do_compile
Summary: There was 1 WARNING message.
Summary: There was 1 ERROR message, returning a non-zero exit code.

craddock@osrservervm01:~/AGL/master/qemux86-64/tmp/work/corei7-64-agl-linux/flutter-gallery-release/git-r0/temp$ cat log.do_compile.2582538
DEBUG: Executing shell function do_compile
Downloading Gradle Wrapper...                                      150ms
Downloading Gradle Wrapper...                                        4ms
Failed to download https://storage.googleapis.com/flutter_infra_release/gradle-wrapper/fd5c1f2c013565a3bea56ada6df9d2b8e96d56aa/gradle-wrapper.tgz. Ensure you have network connectivity and then try again.
SocketException: Failed host lookup: 'storage.googleapis.com' (OS Error: Temporary failure in name resolution, errno = -3)
WARNING: exit code 1 from a shell command.


bcraddock@osrservervm01:/tmp/agl$ curl -o gradle-wrapper.tgz https://storage.googleapis.com/flutter_infra_release/gradle-wrapper/fd5c1f2c013565a3bea56ada6df9d2b8e96d56aa/gradle-wrapper.tgz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 55913  100 55913    0     0   305k      0 --:--:-- --:--:-- --:--:--  306k

bcraddock@osrservervm01:/tmp/agl$  cat gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

flutter gallery gradle wrapper properties 6.7
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip


meta-flutter updates Deprecate FLUTTER_CHANNEL in favor of FLUTTER_SDK_TAG
Remove need for TARGET_GCC_VERSION and FLUTTER_CLANG_VERSION variables Enable building for private engine branches vk-flutter-engine recipes (temporary till Vulkan PR is merged to master) ivi-homescreen package parameters for setting EGL GLES 2/3, EGL Context version, EGL Transparency flag. separate package for flutter engine_sdk. Allows optional install to target image default FLUTTER_CHANNEL = "stable", opposed to "beta". FLUTTER_APPLICATION_PATH variable to support monolithic flutter app repos. Allows setting project path from base repo. FLUTTER_EXTRA_BUILD_ARGS to pass parameters to 'flutter build bundle'. Add build dependency libxbcommon required for text plugin support
Bernard Craddock
Co-founder Pumped Fuel
L2, 11 York Street Sydney 2000
_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#9797) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]

_._,_._,_

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux