Skip to content

pub flake: exit code -6  #13852

@cbracken

Description

@cbracken

Steps to Reproduce

This is a pub flake that sometimes occurs during a pub get step of flutter create. Symptom is exit with code -6 (SIGABRT).

Logs

Tail end of flutter create logs:

-- 8< -------- snip snip snip -------- 8< --

All done! In order to run your application, type:

  $ cd ../create_app
  $ flutter run

Your main program file is lib/main.dart in the ../create_app directory.

Running "/b/build/slave/Mac/build/archive/flutter/bin/flutter create --template=package /b/build/slave/Mac/build/archive/create_package" in /b/build/slave/Mac/build/archive/flutter.
Creating project ../create_package...
  ../create_package/.gitignore (created)
  ../create_package/.idea/libraries/Dart_SDK.xml (created)
  ../create_package/.idea/modules.xml (created)
  ../create_package/.idea/workspace.xml (created)
  ../create_package/CHANGELOG.md (created)
  ../create_package/lib/create_package.dart (created)
  ../create_package/LICENSE (created)
  ../create_package/create_package.iml (created)
  ../create_package/pubspec.yaml (created)
  ../create_package/README.md (created)
  ../create_package/test/create_package_test.dart (created)
Running "flutter packages get" in create_package...
Stack dump aborted because no current Dart thread.
pub get failed (-6)
Error: Running "/b/build/slave/Mac/build/archive/flutter/bin/flutter create --template=package /b/build/slave/Mac/build/archive/create_package" in /b/build/slave/Mac/build/archive/flutter failed with 250.

--temp_dir    A location where temporary files may be written. Defaults to a directory in the system temp folder. Will write a few GiB of data, so it should have sufficient free space.
--revision    The Flutter revision to build the archive with. Defaults to the master branch's HEAD revision.
              (defaults to "master")

--output      The path where the output archive should be written. The suffix determines the output format: .tar.xz or .zip are the only formats supported.
step returned non-zero exit code: 250

Flutter Doctor

[✓] Flutter (on Mac OS X 10.12.6 16G29, locale en-US, channel unknown)
    • Flutter at /b/build/slave/Mac/build/archive/flutter
    • Framework revision 882eb24e1e (4 minutes ago), 2018-01-02 12:33:36 -0800
    • Engine revision 7c126001d8
    • Tools Dart version 1.25.0-dev.11.0
    • Engine Dart version 2.0.0-edge.9e8a3e2d31621c1bdf6139d068e7898a2ac2ab5a

[✗] Android toolchain - develop for Android devices
    ✗ ANDROID_HOME = /b/build/slave/Mac/build/flutter/dev/bots/android_tools
      but Android SDK not found at this location.

[-] iOS toolchain - develop for iOS devices (Xcode 9.0.1)
    • Xcode at /Applications/Xcode9.0.app/Contents/Developer
    • Xcode 9.0.1, Build version 9A1004
    ✗ Brew not installed; use this to install tools for iOS device development.
      Download brew at http://brew.sh/.

[✗] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).

[-] Connected devices
    • None

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: flakeTests that sometimes, but not always, incorrectly passdependency: dartDart team may need to help us

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions