jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-1084) SshToCustomPortLiveTest in Docker provider fails because of problem with downloading SSH
Date Mon, 22 Feb 2016 16:20:18 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-1084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15157223#comment-15157223
] 

ASF subversion and git services commented on JCLOUDS-1084:
----------------------------------------------------------

Commit 8e142cd204eacfe066f2c76ea9a68fe091ff6f4c in jclouds-labs's branch refs/heads/master
from [~kwart]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds-labs.git;h=8e142cd ]

[JCLOUDS-1084] Docker live tests fixed and made more robust


> SshToCustomPortLiveTest in Docker provider fails because of problem with downloading
SSH
> ----------------------------------------------------------------------------------------
>
>                 Key: JCLOUDS-1084
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1084
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-labs
>            Reporter: Josef Cacek
>              Labels: docker
>
> The {{SshToCustomPortLiveTest}} class requests from Docker host building new image with
SSH server (in the {{setupContext()}} method).
> Currently the build step fails  because of problem with downloading SSH:
> {code}
> - >> POST http://localhost:2375/v1.21/build?t=jclouds/testrepo%3Atesttag&verbose=false&nocache=false
HTTP/1.1
> - >> Connection: close
> - >> Accept: application/json
> - >> Content-Type: application/tar
> - >> Content-Length: 10240
> - << HTTP/1.1 200 OK
> - << Connection: close
> - << Date: Thu, 18 Feb 2016 15:23:14 GMT
> - << OkHttp-Received-Millis: 1455808994925
> - << OkHttp-Selected-Protocol: http/1.1
> - << OkHttp-Sent-Millis: 1455808994848
> - << Server: Docker/1.10.1 (linux)
> - << Transfer-Encoding: chunked
> - << Content-Type: application/json
> - << "{"stream":"Step 1 : FROM alpine:3.2\n"}[\r][\n]"
> - << "{"status":"Pulling from library/alpine","id":"3.2"}[\r][\n]"
> - << "{"status":"Already exists","progressDetail":{},"id":"552b69c7399e"}[\r][\n]"
> - << "{"status":"Digest: sha256:4a8c62881c6237b4c1434125661cddf09434d37c6ef26bf26bfaef0b8c5e2f05"}[\r][\n]"
> - << "{"status":"Status: Downloaded newer image for alpine:3.2"}[\r][\n]"
> - << "{"stream":" ---\u003e 92454559b4d1\n"}[\r][\n]"
> - << "{"stream":"Step 2 : MAINTAINER JClouds Dev \u003cdev@jclouds.apache.org\u003e\n"}[\r][\n]"
> - << "{"stream":" ---\u003e Using cache\n"}[\r][\n]"
> - << "{"stream":" ---\u003e ab84e5350dad\n"}[\r][\n]"
> - << "{"stream":"Step 3 : ENV DROPBEAR_CONF /etc/dropbear\n"}[\r][\n]"
> - << "{"stream":" ---\u003e Using cache\n"}[\r][\n]"
> - << "{"stream":" ---\u003e deda7c9937b7\n"}[\r][\n]"
> - << "{"stream":"Step 4 : RUN apk add --update dropbear     \u0026\u0026 mkdir
-p ${DROPBEAR_CONF}     \u0026\u0026 dropbearkey -t dss -f ${DROPBEAR_CONF}/dropbear_dss_host_key
    \u0026\u0026 dropbearkey -t rsa -f ${DROPBEAR_CONF}/dropbear_rsa_host_key -s 2048    
\u0026\u0026 dropbearkey -t ecdsa -f ${DROPBEAR_CONF}/dropbear_ecdsa_host_key\n"}[\r][\n]"
> - << "{"stream":" ---\u003e Running in e8bcc30c1921\n"}[\r][\n]"
> - << "{"stream":"fetch http://dl-4.alpinelinux.org/alpine/v3.2/main/x86_64/APKINDEX.tar.gz\n"}[\r][\n]"
> - << "{"stream":"ERROR: http://dl-4.alpinelinux.org/alpine/v3.2/main: temporary
error (try again later)\nWARNING: Ignoring APKINDEX.abd86498.tar.gz: No such file or directory\n"}[\r][\n]"
> - << "{"stream":"ERROR: unsatisfiable constraints:\n"}[\r][\n]"
> - << "{"stream":"  dropbear (missing):\n    required by: world[dropbear]\n"}[\r][\n]"
> - << "{"errorDetail":{"message":"The command '/bin/sh -c apk add --update dropbear
    \u0026\u0026 mkdir -p ${DROPBEAR_CONF}     \u0026\u0026 dropbearkey -t dss -f ${DROPBEAR_CONF}/dropbear_dss_host_key
    \u0026\u0026 dropbearkey -t rsa -f ${DROPBEAR_CONF}/dropbear_rsa_host_key -s 2048    
\u0026\u0026 dropbearkey -t ecdsa -f ${DROPBEAR_CONF}/dropbear_ecdsa_host_key' returned a
non-zero code: 1"},"error":"The command '/bin/sh -c apk add --update dropbear     \u0026\u0026
mkdir -p ${DROPBEAR_CONF}     \u0026\u0026 dropbearkey -t dss -f ${DROPBEAR_CONF}/dropbear_dss_host_key
    \u0026\u0026 dropbearkey -t rsa -f ${DROPBEAR_CONF}/dropbear_rsa_host_key -s 2048    
\u0026\u0026 dropbearkey -t ecdsa -f ${DROPBEAR_CONF}/dropbear_ecdsa_host_key' returned a
non-zero code: 1"}[\r][\n]"
> {code}
> Lets skip installing the Dropbear and use the image where it's already present.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message