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.

//src/test/py/bazel:bazel_external_repository_test broken on CI

See original GitHub issue

https://ci.bazel.io/job/bazel-tests/1090/testReport/junit/(root)/src_test_py_bazel_bazel_external_repository_test/src_test_py_bazel_bazel_external_repository_test/

FAIL: testNewHttpArchive (__main__.BazelExternalRepositoryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ci/.cache/bazel/_bazel_ci/f576cbcb4b5fe364bb084077db8fda2f/bazel-sandbox/3429560788748396872/execroot/io_bazel/bazel-out/local-fastbuild/bin/src/test/py/bazel/bazel_external_repository_test.runfiles/io_bazel/src/test/py/bazel/bazel_external_repository_test.py", line 81, in testNewHttpArchive
    self.assertIn('name \'foobar\' is not defined.', os.linesep.join(stderr))
AssertionError: "name 'foobar' is not defined." not found in u"INFO: $TEST_TMPDIR defined: output root default is '/home/ci/.cache/bazel/_bazel_ci/f576cbcb4b5fe364bb084077db8fda2f/bazel-sandbox/3429560788748396872/execroot/io_bazel/_tmp/155a34ebdb51b2dcd780849f2b4592a1'.\nLoading:\nLoading: 0 packages loaded\nERROR: /home/ci/.cache/bazel/_bazel_ci/f576cbcb4b5fe364bb084077db8fda2f/bazel-sandbox/3429560788748396872/execroot/io_bazel/_tmp/155a34ebdb51b2dcd780849f2b4592a1/_bazel_ci/61ab2d202554a77b2e456241675db5fd/external/six_archive/BUILD.bazel:5:1: name 'foobar' is not defined\nERROR: package contains errors:\nERROR: error loading package '@six_archive//': Package '' contains errors\nINFO: Elapsed time: 0.445s\nFAILED: Build did NOT complete successfully (1 packages loaded)"

----------------------------------------------------------------------
Ran 1 test in 17.544s

FAILED (failures=1)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

0reactions
buchgrcommented, Oct 18, 2017

The offending commit was 784bb52613feb484221c3aa6756de45012163088

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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