gearpump-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huafengw <...@git.apache.org>
Subject [GitHub] incubator-gearpump issue #233: [GEARPUMP-361] Build gearpump docker image lo...
Date Fri, 27 Oct 2017 07:33:29 GMT
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...
    ```


---

Mime
View raw message