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

make check fails on Mac OS

    XMLWordPrintable

    Details

    • Similar Issues:
    • Sprint:
      Evergreen - Milestone 2

      Description

      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.

        Attachments

          Activity

          batmat Baptiste Mathus created issue -
          batmat Baptiste Mathus made changes -
          Field Original Value New Value
          Priority Minor [ 4 ] Major [ 3 ]
          batmat Baptiste Mathus made changes -
          Summary make check fails if the current user is root make check fails on Mac OS
          rtyler R. Tyler Croy made changes -
          Assignee R. Tyler Croy [ rtyler ]
          Hide
          rtyler R. Tyler Croy added a comment -

          I thought we had fixed this, bouncing to Mandie Smith to confirm or deny.

          Show
          rtyler R. Tyler Croy added a comment - I thought we had fixed this, bouncing to Mandie Smith to confirm or deny.
          rtyler R. Tyler Croy made changes -
          Assignee Mandie Smith [ asmith_cb ]
          Issue Type Task [ 3 ] Bug [ 1 ]
          Priority Major [ 3 ] Minor [ 4 ]
          rtyler R. Tyler Croy made changes -
          Rank Ranked higher
          batmat Baptiste Mathus made changes -
          Labels essentials essentials-triggered essentials essentials-triggered evergreen
          batmat Baptiste Mathus made changes -
          Labels essentials essentials-triggered evergreen essentials essentials-triggered evergreen evergreen-triggered
          batmat Baptiste Mathus made changes -
          Labels essentials essentials-triggered evergreen evergreen-triggered evergreen evergreen-triggered
          batmat Baptiste Mathus made changes -
          Assignee Mandie Smith [ asmith_cb ]

            People

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

              Dates

              Created:
              Updated: