question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android Testing failing on Bazel CI

See original GitHub issue

https://buildkite.com/bazel/bazel-at-release-plus-incompatible-flags/builds/13#6dd83578-ede3-4bf4-bd29-fc6d6a6f66e8 Android Testing is failing with Bazel@Release + incompatible flags due to

ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/34bf6870dfb715fb6ec0e0d81121469e/external/protobuf_archive/BUILD.bazel:605:1: Traceback (most recent call last):
--
  | File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/34bf6870dfb715fb6ec0e0d81121469e/external/protobuf_archive/BUILD.bazel", line 605
  | internal_gen_well_known_protos_java(srcs = WELL_KNOWN_PROTOS)
  | File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/34bf6870dfb715fb6ec0e0d81121469e/external/protobuf_archive/protobuf.bzl", line 266, in internal_gen_well_known_protos_java
  | Label(("%s//protobuf_java" % REPOSITOR...))
  | File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/34bf6870dfb715fb6ec0e0d81121469e/external/protobuf_archive/protobuf.bzl", line 266, in Label
  | REPOSITORY_NAME
  | The value 'REPOSITORY_NAME' has been removed in favor of 'repository_name()', please use the latter (https://docs.bazel.build/versions/master/skylark/lib/native.html#repository_name). You can temporarily allow the old name by using --incompatible_package_name_is_a_function=false

However, it is passing with Bazel@HEAD, where --incompatible_package_name_is_a_function is already flipped to true.

I don’t understand why this is happening, is android_test_support embedded in Bazel binary and depends on protobuf? @jin

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
meteorcloudycommented, Dec 5, 2018
0reactions
jincommented, Dec 7, 2018

We can close this now 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bazel CI: Android test failing with Bazel 4.1.0 #387 - GitHub
Fix the docker image to remove the empty /usr/local/lib/libc++.so . We don't have this file on our CI docker image. · Set LD_LIBRARY_PATH...
Read more >
Android Instrumentation Tests | Bazel
Use --test_output=errors to print logs for failing tests, or --test_output=all to print all test output. If you're looking for an individual test log,...
Read more >
Run Bazel Build on Semaphore
In this tutorial, we'll discuss how to set up and run Bazel builds on ... NodeJS server or running integration tests for your...
Read more >
README.md - Aspect's Bazel Documentation
Bazel CI: Build status. Bazel automates building and testing software. ... A Haskell dependency fails with strange error messages.
Read more >
Build failed in Jenkins: Bazel » darwin-x86_64 #104 - Google Groups
See <http://ci.bazel.io/job/Bazel/PLATFORM_NAME=darwin-x86_64/104/changes> ... TIMEOUT: //src/test/shell/bazel/android:android_integration_test (see ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found