Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Unable to make progress running work" using 7.6-rc-3 #22734

Closed
martinbonnin opened this issue Nov 15, 2022 · 1 comment · Fixed by apollographql/apollo-kotlin#4536
Closed
Assignees
Labels
a:regression This used to work has:reproducer Indicates the issue has a confirmed reproducer in:scheduler execution plan, task graph, work lease, project lock
Milestone

Comments

@martinbonnin
Copy link
Contributor

Somewhat similar to #21125

To reproduce:

* git clone https://github.com/apollographql/apollo-kotlin
* cd apollo-kotlin
* git checkout 581991c73d30653144f013848ab5932bd02c3219
* ./gradlew -p tests :legacy-memory-model:macosArm64Test

You should have the error below:

> Task :legacy-memory-model:macosArm64Test

test.LegacyMemoryModelTest.failOnLegacyMemoryManager PASSED
Unable to make progress running work. The following items are queued for execution but none of them can be started:
  - Build ':':
      - Waiting for nodes:
          - :checkServiceApolloDuplicates (state=SHOULD_RUN, dependencies=NOT_COMPLETE, group=finalizer :checkServiceApolloDuplicates ordinal: task group 0, delegate: default group, dependencies=[:multi-module-1:child:generateServiceApolloSources, :multi-module-1:file-path:generateServiceApolloSources, :multi-module-1:fragment-schema-package:generateServiceApolloSources, :multi-module-1:root:generateServiceApolloSources (complete), work action null (complete), work action resolve metadata-service.json (project :multi-module-1:fragment-schema-package), work action resolve metadata-service.json (project :multi-module-1:file-path), work action resolve metadata-service.json (project :multi-module-1:child)], waiting-for=[work action resolve metadata-service.json (project :multi-module-1:child), work action resolve metadata-service.json (project :multi-module-1:file-path), :multi-module-1:child:generateServiceApolloSources, :multi-module-1:file-path:generateServiceApolloSources, work action resolve metadata-service.json (project :multi-module-1:fragment-schema-package), :multi-module-1:fragment-schema-package:generateServiceApolloSources], has-failed-dependency=false, finalizes=[:legacy-memory-model:generateServiceApolloSources (complete), :multi-module-1:child:generateServiceApolloSources, :multi-module-1:file-path:generateServiceApolloSources, :multi-module-1:fragment-schema-package:generateServiceApolloSources, :multi-module-1:root:generateServiceApolloSources (complete)] )
      - Reachable nodes:
          - :multi-module-1:child:checkApolloVersions (state=SHOULD_RUN, dependencies=NOT_COMPLETE, group=finalizer :checkServiceApolloDuplicates ordinal: task group 0, delegate: default group, no dependencies )
          - :multi-module-1:child:generateServiceApolloSources (state=SHOULD_RUN, dependencies=NOT_COMPLETE, group=finalizer :checkServiceApolloDuplicates ordinal: task group 0, delegate: default group, dependencies=[:multi-module-1:child:checkApolloVersions, :multi-module-1:root:generateServiceApolloSources (complete), work action null (complete)], waiting-for=[:multi-module-1:child:checkApolloVersions], has-failed-dependency=false )
          - :multi-module-1:file-path:checkApolloVersions (state=SHOULD_RUN, dependencies=NOT_COMPLETE, group=finalizer :checkServiceApolloDuplicates ordinal: task group 0, delegate: default group, no dependencies )
          - :multi-module-1:file-path:generateServiceApolloSources (state=SHOULD_RUN, dependencies=NOT_COMPLETE, group=finalizer :checkServiceApolloDuplicates ordinal: task group 0, delegate: default group, dependencies=[:multi-module-1:file-path:checkApolloVersions, :multi-module-1:root:generateServiceApolloSources (complete), work action null (complete)], waiting-for=[:multi-module-1:file-path:checkApolloVersions], has-failed-dependency=false )
          - :multi-module-1:fragment-schema-package:checkApolloVersions (state=SHOULD_RUN, dependencies=NOT_COMPLETE, group=finalizer :checkServiceApolloDuplicates ordinal: task group 0, delegate: default group, no dependencies )
          - :multi-module-1:fragment-schema-package:generateServiceApolloSources (state=SHOULD_RUN, dependencies=NOT_COMPLETE, group=finalizer :checkServiceApolloDuplicates ordinal: task group 0, delegate: default group, dependencies=[:multi-module-1:fragment-schema-package:checkApolloVersions, :multi-module-1:root:generateServiceApolloSources (complete), work action null (complete)], waiting-for=[:multi-module-1:fragment-schema-package:checkApolloVersions], has-failed-dependency=false )
          - work action resolve metadata-service.json (project :multi-module-1:fragment-schema-package) (state=SHOULD_RUN, dependencies=NOT_COMPLETE, group=finalizer :checkServiceApolloDuplicates ordinal: task group 0, delegate: default group, dependencies=[:multi-module-1:fragment-schema-package:generateServiceApolloSources], waiting-for=[:multi-module-1:fragment-schema-package:generateServiceApolloSources], has-failed-dependency=false )
          - work action resolve metadata-service.json (project :multi-module-1:file-path) (state=SHOULD_RUN, dependencies=NOT_COMPLETE, group=finalizer :checkServiceApolloDuplicates ordinal: task group 0, delegate: default group, dependencies=[:multi-module-1:file-path:generateServiceApolloSources], waiting-for=[:multi-module-1:file-path:generateServiceApolloSources], has-failed-dependency=false )
          - work action resolve metadata-service.json (project :multi-module-1:child) (state=SHOULD_RUN, dependencies=NOT_COMPLETE, group=finalizer :checkServiceApolloDuplicates ordinal: task group 0, delegate: default group, dependencies=[:multi-module-1:child:generateServiceApolloSources], waiting-for=[:multi-module-1:child:generateServiceApolloSources], has-failed-dependency=false )
      - Ordinal groups:
          - group 0 entry nodes: [:legacy-memory-model:macosArm64Test (complete)]
  - Workers waiting for work: 10
  - Stopped workers: 4

Interestingly, ./gradlew -p tests build (that runs the test above) is working well.

@ljacomet ljacomet added in:scheduler execution plan, task graph, work lease, project lock and removed to-triage labels Nov 15, 2022
@ljacomet ljacomet added this to the 7.6 milestone Nov 15, 2022
@adammurdoch adammurdoch self-assigned this Nov 15, 2022
@ljacomet ljacomet modified the milestones: 7.6, 7.6 RC4 Nov 16, 2022
@adammurdoch
Copy link
Member

This should be fixed now, via #22764

Thanks for the reproducer. This makes it so much easier to diagnose and fix the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:regression This used to work has:reproducer Indicates the issue has a confirmed reproducer in:scheduler execution plan, task graph, work lease, project lock
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants