bazelbuild / rules_webtesting

Bazel rules to allow testing against a browser with WebDriver.
Apache License 2.0
96 stars 56 forks source link

Error no such target '@platforms//os:visionos': target 'visionos' not declared in package 'os' with Bazel@HEAD #459

Closed sgowroji closed 1 year ago

sgowroji commented 1 year ago

https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3228#0189dd37-00a2-4cc0-9d9c-04557cd6e5cc

Logs :


(02:12:45) ERROR: /var/lib/buildkite-agent/builds/bk-docker-5xrg/bazel-downstream-projects/rules_webtesting/testing/web/BUILD.bazel:32:18: every rule of type py_test implicitly depends upon the target '@platforms//os:visionos', but this target could not be found because of: no such target '@platforms//os:visionos': target 'visionos' not declared in package 'os' defined by /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/99b9614c685e92403e5c688356a2717a/external/platforms/os/BUILD (Tip: use `query "@platforms//os:*"` to see all the targets in that package)
(02:12:46) ERROR: Analysis of target '//testing/web:webtest_test_firefox-local' failed; build aborted: Analysis failed

By upgrading the "platform" version to 0.0.7 which adds "visionos" support. https://github.com/bazelbuild/bazel/pull/18905#issuecomment-1670976366

CC Greenteam @comius