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

empty virtual artifact doesn't have an execpath #12816

Closed
keith opened this issue Jan 12, 2021 · 0 comments
Closed

empty virtual artifact doesn't have an execpath #12816

keith opened this issue Jan 12, 2021 · 0 comments
Assignees
Labels
P2 We'll consider working on this in future. (Assignee optional) team-Core Skyframe, bazel query, BEP, options parsing, bazelrc type: bug

Comments

@keith
Copy link
Member

keith commented Jan 12, 2021

FATAL: bazel crashed due to an internal error. Printing stack trace:
java.lang.RuntimeException: Unrecoverable error while evaluating node 'ActionLookupData{actionLookupKey=ConfiguredTargetKey{label=//bazel:UnitTestMainPlist, config=BuildConfigurationValue.Key[0ed7ba617dcfb598fbbd28fa6e73ad21403f13f6512470dc85621f514e24636a]}, actionIndex=0}' (requested by nodes 'ArtifactNestedSetKey{rawChildren=[File:[[<execution_root>]bazel-out/darwin-dbg/bin]bazel/UnitTestMainPlist.generated.plist, File:[[<execution_root>]bazel-out/darwin-dbg/bin]external/build_bazel_rules_apple/apple/internal/environment_plist_ios.plist, File:[[<execution_root>]bazel-out/darwin-dbg/bin]Modules/DependencyInjection/DependencyInjectionTests.__internal__.__test_bundle-intermediates/Info.plist-root-control]}', 'ArtifactNestedSetKey{rawChildren=[File:[[<execution_root>]bazel-out/darwin-dbg/bin]bazel/UnitTestMainPlist.generated.plist, File:[[<execution_root>]bazel-out/darwin-dbg/bin]external/build_bazel_rules_apple/apple/internal/environment_plist_ios.plist, File:[[<execution_root>]bazel-out/darwin-dbg/bin]Modules/ResourceSupport/ResourceSupportTests.__internal__.__test_bundle-intermediates/Info.plist-root-control]}')
	at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:563)
	at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:398)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsupportedOperationException: empty virtual artifact doesn't have an execpath
	at com.google.devtools.build.lib.actions.cache.VirtualActionInput$EmptyActionInput.getExecPathString(VirtualActionInput.java:64)
	at com.google.devtools.build.lib.exec.SpawnLogContext.logSpawn(SpawnLogContext.java:94)
	at com.google.devtools.build.lib.exec.AbstractSpawnStrategy.exec(AbstractSpawnStrategy.java:166)
	at com.google.devtools.build.lib.exec.AbstractSpawnStrategy.exec(AbstractSpawnStrategy.java:102)
	at com.google.devtools.build.lib.actions.SpawnStrategy.beginExecution(SpawnStrategy.java:47)
	at com.google.devtools.build.lib.exec.SpawnStrategyResolver.beginExecution(SpawnStrategyResolver.java:65)
	at com.google.devtools.build.lib.analysis.actions.SpawnAction.beginExecution(SpawnAction.java:331)
	at com.google.devtools.build.lib.actions.Action.execute(Action.java:127)
	at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor$5.execute(SkyframeActionExecutor.java:862)
	at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor$ActionRunner.continueAction(SkyframeActionExecutor.java:1023)
	at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor$ActionRunner.run(SkyframeActionExecutor.java:982)
	at com.google.devtools.build.lib.skyframe.ActionExecutionState.runStateMachine(ActionExecutionState.java:129)
	at com.google.devtools.build.lib.skyframe.ActionExecutionState.getResultOrDependOnFuture(ActionExecutionState.java:81)
	at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor.executeAction(SkyframeActionExecutor.java:478)
	at com.google.devtools.build.lib.skyframe.ActionExecutionFunction.checkCacheAndExecuteIfNeeded(ActionExecutionFunction.java:819)
	at com.google.devtools.build.lib.skyframe.ActionExecutionFunction.compute(ActionExecutionFunction.java:311)
	at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:477)

What operating system are you running Bazel on?

macOS

What's the output of bazel info release?

8cdeb87

Using bazelisk + last_green

benjaminp added a commit to benjaminp/bazel that referenced this issue Jan 13, 2021
@jin jin added team-Core Skyframe, bazel query, BEP, options parsing, bazelrc type: bug untriaged labels Jan 19, 2021
@janakdr janakdr added P2 We'll consider working on this in future. (Assignee optional) and removed untriaged labels Jan 19, 2021
benjaminp added a commit to benjaminp/bazel that referenced this issue Jan 29, 2021
katre pushed a commit to katre/bazel that referenced this issue Jul 19, 2021
Fixes bazelbuild#12816.

Closes bazelbuild#12819.

PiperOrigin-RevId: 355800567
(cherry picked from commit 7c92cfc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We'll consider working on this in future. (Assignee optional) team-Core Skyframe, bazel query, BEP, options parsing, bazelrc type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants