Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52488

make check fails on Mac OS

XMLWordPrintable

    • Evergreen - Milestone 2

      On Mac OS, I think partly because of the way Docker for Mac works, some tests fail.

          shunit2:ERROR test_evergreen_home_is_fully_owned_by_jenkins_user() returned non-zero return code.
          test_error_telemetry_service_is_secured
          test_docker_available_as_jenkins_user
          Cannot connect to the Docker daemon at tcp://localhost:2375. Is the docker daemon running?
          /usr/local/bin/docker: Cannot connect to the Docker daemon at tcp://localhost:2375. Is the docker daemon running?.
      
      [...]
      
          Ran 16 tests.
          ./shunit2/shunit2: line 950: [: skipped=5: integer expression expected
          
          FAILED (failures=2)
          make[2]: *** [base-container-check] Error 1
          make[1]: *** [check] Error 2
          make: *** [check] Error 2
      

      I think we should at least try on a fresh EC2 VM. IIRC last time I tried, test_docker_available_as_jenkins_user failed too, so this should be fixable.

      Then, possibly add a prerequisite step or so in the Makefile to clarify expectations on the dev machine (docker accessible without sudo, etc.). So that interested contributors do not get rebuked by failing test if they try to build evergreen from source.

            Unassigned Unassigned
            batmat Baptiste Mathus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: