Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-2448

General misconfiguration on macOS slaves

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Continuous Integration
    • Environment:
      macOS

      Description

      There are weird behaviors with our mac-drive-1 and mac-drive-2 slaves.
      First is NXBT-2433, but then there are issues with the PATH (cf job):

      drive-tests.start-unix:
      [INFO]      [echo] Execute pending actions before start
      [INFO]      [echo] 10240
      [INFO]      [echo] ftest/target-osxslave-drive/tomcat/bin/nuxeoctl: line 164: sysctl: command not found
      [INFO]      [echo] ftest/target-osxslave-drive/tomcat/bin/nuxeoctl: line 167: [: -lt: unary operator expected
      

      sysctl is found on the PATH into /usr/sbin when connected via SSH. Also, running nuxeoctl -d works fine too.

      Last, but not least, cf the job, system libraries are not seen by jobs:

      ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
      
      Please consult to the Wiki page to fix the problem.
      https://github.com/pyenv/pyenv/wiki/Common-build-problems
      
      
      BUILD FAILED (OS X 10.12.6 using python-build 20180424)
      
      Inspect or clean up the working tree at /tmp/python-build.20180822181921.83660
      Results logged to /tmp/python-build.20180822181921.83660.log
      
      Last 10 log lines:
      			install|*) ensurepip="" ;; \
      		esac; \
      		 ./python.exe -E -m ensurepip \
      			$ensurepip --root=/ ; \
      	fi
      

      FTR I manually tested those issues with both users "jenkins" and "nuxeo" without any error.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: