Skip to content

Linux packages_autoroller red on pub failure #185161

Description

@gaaclarke

example

https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20packages_autoroller/20101/overview

log

Changed 102 dependencies in `/b/s/w/ir/x/t/flutter_tools.QDIWNI/flutter_upgrade_packages.UDLOBN/packages/flutter_tools`!
2 packages are discontinued.
6 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.

Changed 1 constraint in pubspec.yaml:
  hooks_runner: ^1.1.1 -> ^1.2.1
[ +753 ms] Writing to temp pubspec at LocalFile: '/b/s/w/ir/x/t/flutter_tools.QDIWNI/flutter_upgrade_packages.UDLOBN/dev/integration_tests/widget_preview_scaffold/pubspec.yaml'
[   +4 ms] Upgrade in LocalDirectory: '/b/s/w/ir/x/t/flutter_tools.QDIWNI/flutter_upgrade_packages.UDLOBN/dev/integration_tests/widget_preview_scaffold' (for project: widget_preview_scaffold)
[        ] executing: [/b/s/w/ir/x/w/package_autoroller_checkouts/framework/] /b/s/w/ir/x/w/package_autoroller_checkouts/framework/bin/cache/dart-sdk/bin/dart pub --suppress-analytics upgrade --tighten -C /b/s/w/ir/x/t/flutter_tools.QDIWNI/flutter_upgrade_packages.UDLOBN/dev/integration_tests/widget_preview_scaffold
Found a pubspec.yaml at /b/s/w/ir/x/t/flutter_tools.QDIWNI/flutter_upgrade_packages.UDLOBN/dev/integration_tests/widget_preview_scaffold. But it has resolution `workspace`.
But found no workspace root including it in parent directories.

See https://dart.dev/go/pub-workspaces for more information.
[  +38 ms] pub failed
           command: "/b/s/w/ir/x/w/package_autoroller_checkouts/framework/bin/cache/dart-sdk/bin/dart pub --suppress-analytics upgrade --tighten -C /b/s/w/ir/x/t/flutter_tools.QDIWNI/flutter_upgrade_packages.UDLOBN/dev/integration_tests/widget_preview_scaffold"
           pub env: {
             "FLUTTER_ROOT": "/b/s/w/ir/x/w/package_autoroller_checkouts/framework",
             "PUB_ENVIRONMENT": "flutter_bot:flutter_cli:update_packages",
             "PUB_CACHE": "/b/s/w/ir/x/w/.pub-cache",
           }
           exit code: 66

[   +1 ms] If the current version was resolved as 0.0.0-unknown and this is a fork of flutter/flutter, you forgot to set the remote upstream branch to point to the canonical flutter/flutter: 

             git remote set-url upstream https://github.com/flutter/flutter.git

           See https://github.com/flutter/flutter/blob/main/docs/contributing/Setting-up-the-Framework-development-environment.md#set-up-your-environment.
[   +4 ms] "flutter update-packages" took 3,570ms.
[  +12 ms] Failed to update packages.
[        ] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:34:3)
           #1      _DefaultPub._runWithStdioInherited (package:flutter_tools/src/dart/pub.dart:486:7)
           <asynchronous suspension>
           #2      _DefaultPub.interactively (package:flutter_tools/src/dart/pub.dart:559:5)
           <asynchronous suspension>
           #3      UpdatePackagesCommand._upgrade (package:flutter_tools/src/commands/update_packages.dart:308:7)
           <asynchronous suspension>
           #4      UpdatePackagesCommand.runCommand (package:flutter_tools/src/commands/update_packages.dart:214:45)
           <asynchronous suspension>
           #5      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1638:27)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
           <asynchronous suspension>
           #7      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           #8      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:496:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
           <asynchronous suspension>
           #10     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:431:5)
           <asynchronous suspension>
           #11     FlutterCommandRunner.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:307:33)
           <asynchronous suspension>
           #12     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:104:11)
           <asynchronous suspension>
           #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
           <asynchronous suspension>
           #14     main (package:flutter_tools/executable.dart:103:3)
           <asynchronous suspension>


[        ] Running 2 shutdown hooks
[   +1 ms] Shutdown hooks complete
[        ] exiting with code 66
Unhandled exception:
Exception: ProcessException: ProcessException: Process failed
  Command: /b/s/w/ir/x/w/package_autoroller_checkouts/framework/bin/flutter --verbose update-packages --force-upgrade
#0      PackageAutoroller.roll (package:packages_autoroller/src/packages_autoroller.dart:113:7)
<asynchronous suspension>
#1      run (file:///b/s/w/ir/x/w/flutter/dev/packages_autoroller/bin/packages_autoroller.dart:81:3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work listteam-frameworkOwned by Framework team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions