[jira] [Commented] (GEARPUMP-361) Build Gearpump Docker Image locally for integration test
[ https://issues.apache.org/jira/browse/GEARPUMP-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16284648#comment-16284648 ] ASF GitHub Bot commented on GEARPUMP-361: - Github user asfgit closed the pull request at: https://github.com/apache/incubator-gearpump/pull/233 > 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)
[jira] [Commented] (GEARPUMP-361) Build Gearpump Docker Image locally for integration test
[ https://issues.apache.org/jira/browse/GEARPUMP-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16284643#comment-16284643 ] ASF GitHub Bot commented on GEARPUMP-361: - Github user huafengw commented on the issue: https://github.com/apache/incubator-gearpump/pull/233 +1 > 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)
[jira] [Commented] (GEARPUMP-361) Build Gearpump Docker Image locally for integration test
[ https://issues.apache.org/jira/browse/GEARPUMP-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16222191#comment-16222191 ] ASF GitHub Bot commented on GEARPUMP-361: - Github user karol-brejna-i commented on the issue: https://github.com/apache/incubator-gearpump/pull/233 ```[DEBUG] [13:07:44.774] [Docker$] Container master0>> curl http://master0:8090/api/v1.0/master [DEBUG] [13:07:44.774] [Docker$] INPUT==>> [DEBUG] [13:07:44.775] [ShellExec$] EXEC master0 => `docker exec master0 curl -s --cookie cookie.txt http://master0:8090/api/v1.0/master` [DEBUG] [13:07:45.490] [ShellExec$] EXEC master0 <= `{"masterDescription":{"leader":{"host":"master@master0","port":3000},"cluster":[{"host":"master0","port":3000}],"aliveFor":"18124","logFile":"/opt/gearpump/logs","jarStore":"jarstore/","masterStatus":...` exit 0 [DEBUG] [13:07:45.490] [Docker$] <<==OUTPUT [DEBUG] [13:07:45.490] [Docker$] {"masterDescription":{"leader":{"host":"master@master0","port":3000},"cluster":[{"host":"master0","port":3000}],"aliveFor":"18124","logFile":"/opt/gearpump/logs","jarStore":"jarstore/","masterStatus":"synced","homeDirectory":"/opt/gearpump","activities":[],"jvmName":"7@master0","historyMetricsConfig":{"retainHistoryDataHours":72,"retainHistoryDataIntervalMs":360,"retainRecentDataSeconds":300,"retainRecentDataIntervalMs":15000}}} [DEBUG] [13:07:45.491] [Docker$] <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)
[jira] [Commented] (GEARPUMP-361) Build Gearpump Docker Image locally for integration test
[ https://issues.apache.org/jira/browse/GEARPUMP-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16222136#comment-16222136 ] ASF GitHub Bot commented on GEARPUMP-361: - Github user karol-brejna-i commented on a diff in the pull request: https://github.com/apache/incubator-gearpump/pull/233#discussion_r147378048 --- Diff: integrationtest/docker/gearpump/Dockerfile --- @@ -18,7 +18,8 @@ FROM openjdk:8u131-jre-alpine # Install python -RUN apk add --no-cache python && \ +RUN apk add --update curl && \ --- End diff -- please, use `apk add --update curl python` (one line) > 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)
[jira] [Commented] (GEARPUMP-361) Build Gearpump Docker Image locally for integration test
[ https://issues.apache.org/jira/browse/GEARPUMP-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16222039#comment-16222039 ] ASF GitHub Bot commented on GEARPUMP-361: - Github user manuzhang commented on the issue: https://github.com/apache/incubator-gearpump/pull/233 @huafengw can't reproduce 1 and 3 on Mac > 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)
[jira] [Commented] (GEARPUMP-361) Build Gearpump Docker Image locally for integration test
[ https://issues.apache.org/jira/browse/GEARPUMP-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16222028#comment-16222028 ] ASF GitHub Bot commented on GEARPUMP-361: - Github user karol-brejna-i commented on the issue: https://github.com/apache/incubator-gearpump/pull/233 The third problem - works for me on Ubuntu 16.04. ``` [DEBUG] [05:25:55.233] [Docker$] Container master0>> curl http://master0:8090/api/v1.0/master [DEBUG] [05:25:55.233] [Docker$] INPUT==>> [DEBUG] [05:25:55.233] [ShellExec$] EXEC master0 => `docker exec master0 curl -s --cookie cookie.txt http://master0:8090/api/v1.0/master` [DEBUG] [05:25:55.379] [ShellExec$] EXEC master0 <= `{"masterDescription":{"leader":{"host":"master@master0","port":3000},"cluster":[{"host":"master0","port":3000}],"aliveFor":"8068","logFile":"/opt/gearpump/var/log/gearpump/daemon","jarStore":"jarstore...` exit 0 [DEBUG] [05:25:55.379] [Docker$] <<==OUTPUT ``` Checking on Mac... > 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)
[jira] [Commented] (GEARPUMP-361) Build Gearpump Docker Image locally for integration test
[ https://issues.apache.org/jira/browse/GEARPUMP-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16221919#comment-16221919 ] ASF GitHub Bot commented on GEARPUMP-361: - Github user huafengw commented on the issue: https://github.com/apache/incubator-gearpump/pull/233 The 3rd problem occurs on Mac and centos works fine. > 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)
[jira] [Commented] (GEARPUMP-361) Build Gearpump Docker Image locally for integration test
[ https://issues.apache.org/jira/browse/GEARPUMP-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 <= ` Redirection Redirect ` exit 0 [DEBUG] [15:21:49.636] [Docker$] <<==OUTPUT [DEBUG] [15:21:49.636] [Docker$] Redirection Redirect [DEBUG] [15:21:49.637] [Docker$] <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)
[jira] [Commented] (GEARPUMP-361) Build Gearpump Docker Image locally for integration test
[ https://issues.apache.org/jira/browse/GEARPUMP-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16220308#comment-16220308 ] ASF GitHub Bot commented on GEARPUMP-361: - Github user manuzhang commented on the issue: https://github.com/apache/incubator-gearpump/pull/233 @karol-brejna-i @huafengw rebased. Please help to verify again > 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)