You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/09/29 03:33:38 UTC

[GitHub] kevhouck opened a new issue #2817: Failed to build swift3Action docker image

kevhouck opened a new issue #2817: Failed to build swift3Action docker image
URL: https://github.com/apache/incubator-openwhisk/issues/2817
 
 
   <!--
   Do NOT share passwords, credentials or other confidential information.
   
   Before creating a new issue, please check if there is one already open that
   fits the defect you are reporting.
   If you open an issue and realize later it is a duplicate of a pre-existing
   open issue, please close yours and add a comment to the other.
   
   Issues can be created for either defects or enhancement requests. If you are a committer than please add the labels "bug" or "feature". If you are not a committer please make clear in the comments which one it is, so that committers can add these labels later.
   
   If you are reporting a defect, please edit the issue description to include the
   information shown below.
   
   If you are reporting an enhancement request, please include information on what you are trying to achieve and why that enhancement would help you.
   
   For more information about reporting issues, see
   https://github.com/apache/incubator-openwhisk/blob/master/CONTRIBUTING.md#raising-issues
   
   Use the commands below to provide key information from your environment:
   You do not have to include this information if this is a feature request.
   -->
   
   ## Environment details:
   
   * local deployment, vagrant, native ubuntu, Mac OS, Bluemix, ...   
   * version of docker, vagrant, ubuntu, ...
   
   ## Steps to reproduce the issue:
    
   1. ./gradlew distDocker -PdockerHost=<registry_vm_ip>:4243 -PdockerRegistry=<registry_vm_ip>:5000
   
   
   ## Provide the expected results and outputs:
   
   Containers should be built and pushed to registry
   
   
   ## Provide the actual results and outputs:
   
   ```
   Cloning into '/swift3Action/spm-build/Packages/swift-watson-sdk.git'...
   fatal: could not read Username for 'https://github.com': No such device or address
   swift-build: error: Git 2.0 or higher is required. Please update git and retry
   Building action
   Traceback (most recent call last):
     File "/swift3Action/buildandrecord.py", line 36, in <module>
       out = check_output(BUILD_COMMAND, cwd=SPM_DIRECTORY)
     File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
       raise CalledProcessError(retcode, cmd, output=output)
   subprocess.CalledProcessError: Command '['swift', 'build', '-v', '-c', 'release']' returned non-zero exit status 1
   The command '/bin/sh -c python /swift3Action/buildandrecord.py && rm /swift3Action/spm-build/.build/release/Action' returned a non-zero code: 1
         ```
      > Task :core:swift3Action:distDocker
   
   ## Additional information you deem important:
   * Seems to be an outdated version git being installed in the build container...
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services