gearpump-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEARPUMP-361) Build Gearpump Docker Image locally for integration test
Date Fri, 27 Oct 2017 07:34:00 GMT

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

ASF GitHub Bot commented on GEARPUMP-361:
-----------------------------------------

Github user huafengw commented on the issue:

    https://github.com/apache/incubator-gearpump/pull/233
  
    1. I have to build with explicit proxies like 
    `docker build --build-arg HTTP_PROXY=... --build-arg HTTPS_PROXY=...`.
    If not,  building step
    `fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/main/x86_64/APKINDEX.tar.gz` will always
fail.
    
    2. Please add following change in `integrationtest/docker/gearpump/Dockerfile`
    ```
    -RUN apk add --no-cache python && \
    +RUN apk add --update curl && \
    +    apk add --no-cache python && \
    ```
    
    3. After resolved these issues, the integration test still can't proceed. Here is the
error log:
    ```
    [DEBUG] [15:21:49.279] [Docker$] Container master0====>> curl http://master0:8090/api/v1.0/master
    [DEBUG] [15:21:49.279] [Docker$] INPUT==>>
    [DEBUG] [15:21:49.279] [ShellExec$] EXEC master0 => `docker exec master0 curl -s  --cookie
cookie.txt http://master0:8090/api/v1.0/master`
    [DEBUG] [15:21:49.636] [ShellExec$] EXEC master0 <= `<HTML>
    <HEAD><TITLE>Redirection</TITLE></HEAD>
    <BODY><H1>Redirect</H1></BODY>
    </HTML>` exit 0
    [DEBUG] [15:21:49.636] [Docker$] <<==OUTPUT
    [DEBUG] [15:21:49.636] [Docker$] <HTML>
    <HEAD><TITLE>Redirection</TITLE></HEAD>
    <BODY><H1>Redirect</H1></BODY>
    </HTML>
    [DEBUG] [15:21:49.637] [Docker$] <<====Command END. Container master0, curl http://master0:8090/api/v1.0/master
    
    [ERROR] [15:21:49.637] [RestClient] Failed to decode Rest response to MasterData
    [ERROR] [15:21:49.637] [Util$] Failed due to (false == cluster running), retrying for
the 15 times...
    ```


> Build Gearpump Docker Image locally for integration test
> --------------------------------------------------------
>
>                 Key: GEARPUMP-361
>                 URL: https://issues.apache.org/jira/browse/GEARPUMP-361
>             Project: Apache Gearpump
>          Issue Type: Improvement
>          Components: integrationtest
>    Affects Versions: 0.8.4
>            Reporter: Manu Zhang
>            Assignee: Manu Zhang
>             Fix For: 0.8.5
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message