Skip to content

Envoy broken on Bazel CI: "No module named httplib" #7379

Closed

Description

@philwo

Issue Template

Title: Envoy is currently broken on Bazel's CI.

Description:

//test/integration/hotrestart_test fails with this error:

Traceback (most recent call last):
  File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/ec321eb2cc2d0f8f91b676b6d4c66c29/sandbox/linux-sandbox/4773/execroot/envoy/bazel-out/k8-fastbuild/bin/test/integration/hotrestart_test.runfiles/envoy/tools/socket_passing.py", line 13, in <module>
    import httplib
ModuleNotFoundError: No module named 'httplib'

Failing build: https://buildkite.com/bazel/envoy/builds/814#624cf49e-ade8-44a9-967e-a79a77cebe8f
Full log: https://storage.googleapis.com/bazel-untrusted-buildkite-artifacts/624cf49e-ade8-44a9-967e-a79a77cebe8f/test/integration/hotrestart_test/attempt_1.log

Activity

  1. philwo commented on Jun 24, 2019

    @philwo
    Author

    FYI @meteorcloudy - current Bazel Green Team sheriff.

  2. meteorcloudy commented on Jun 24, 2019

    @meteorcloudy
    Contributor
  3. added this to the 1.11.0 milestone on Jun 24, 2019
  4. mattklein123 commented on Jun 24, 2019

    @mattklein123
    Member
  5. keith commented on Jun 24, 2019

    @keith
    Member

    I've submitted a fix for this #7382, I assumed all the failures were host tools and would be fixed by #7337 but this one appears to not be. We also have some issues tracking moving these off python2 #7342

  6. keith commented on Jun 24, 2019

    @keith
    Member

    I think I was able to easily update this script to python3 instead #7386

  7. brandjon commented on Jun 25, 2019

    @brandjon

    This buildkite run from a few days ago appears to be picking up envoy sources at commit 54e22406c38987d5b0401f18b614501bc184f41f, which is dated 10 days ago. Any idea why the downstream pipeline isn't up-to-date?

  8. meteorcloudy commented on Jun 25, 2019

    @meteorcloudy
    Contributor

    Because Envoy has been red since Bazel is upgraded to 0.27.0.
    https://buildkite.com/bazel/envoy/builds?page=17

    We don't update the last green commit for a project if it's already red with the latest release.

  9. brandjon commented on Jun 25, 2019

    @brandjon

    Thanks, looks like the ModuleNotFoundError: No module named 'httplib' error case is still live in the most recent build.

  10. meteorcloudy commented on Jun 25, 2019

    @meteorcloudy
    Contributor

    If envoy needs httplib to be installed, they can add the pip install command in the bazel ci config script. Like TensorFlow does: https://github.com/bazelbuild/continuous-integration/blob/master/buildkite/pipelines/tensorflow-postsubmit.yml#L34

        - pip install -U --user pip six numpy wheel setuptools mock future
    
  11. keith commented on Jun 25, 2019

    @keith
    Member

    This should be fixed by #7391

  12. keith commented on Jun 26, 2019

    @keith
    Member

    Envoy CI is now on 0.27.0, so I'm hoping we're good on the next bazel CI run now

  13. keith commented on Jun 27, 2019

    @keith
    Member

    We're good now, and the other issue has been closed https://buildkite.com/bazel/envoy/builds/819 so we can close this one

  14. philwo commented on Jun 27, 2019

    @philwo
    Author

    Thanks, @keith! I'm closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions