From issues-return-98325-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Mon Sep 2 15:34:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id E8BD5180658 for ; Mon, 2 Sep 2019 17:34:01 +0200 (CEST) Received: (qmail 52104 invoked by uid 500); 2 Sep 2019 16:53:21 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 52095 invoked by uid 99); 2 Sep 2019 16:53:21 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Sep 2019 16:53:21 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B01CDE00A9 for ; Mon, 2 Sep 2019 15:34:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 275AA7822C2 for ; Mon, 2 Sep 2019 15:34:00 +0000 (UTC) Date: Mon, 2 Sep 2019 15:34:00 +0000 (UTC) From: "Saikat Maitra (Jira)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-12018) Web Agent docker image: 'functions.sh' not found MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-12018?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 920930#comment-16920930 ]=20 Saikat Maitra commented on IGNITE-12018: ---------------------------------------- patch has been applied to master > Web Agent docker image: 'functions.sh' not found > ------------------------------------------------ > > Key: IGNITE-12018 > URL: https://issues.apache.org/jira/browse/IGNITE-12018 > Project: Ignite > Issue Type: Bug > Components: UI > Affects Versions: 2.7, 2.7.5 > Reporter: Igor Belyakov > Assignee: Saikat Maitra > Priority: Critical > Time Spent: 20m > Remaining Estimate: 0h > > Steps to reproduce: > 1. Build docker image by using "docker/web-agent/Dockerfile" according to= README file. > 2. Start docker container by using generated image. > 3. Next error happens on container start: > =C2=A0 > {code:java} > ./ignite-web-agent.sh: line 39: /opt/ignite/ignite-web-agent/include/func= tions.sh: No such file or directory > ./ignite-web-agent.sh: line 44: checkJava: command not found > ./ignite-web-agent.sh: line 64: javaMajorVersion: command not found > ./ignite-web-agent.sh: line 66: [: -eq: unary operator expected > ./ignite-web-agent.sh: line 71: [: -gt: unary operator expected > ./ignite-web-agent.sh: line 84: [: -eq: unary operator expected > ./ignite-web-agent.sh: line 95: : command not found{code} > =C2=A0 > Image contains next files in "/opt/ignite/ignite-web-agent" directory wit= hout any sub directories: > =C2=A0 > {code:java} > -rw-r--r-- 1 root root 89 Dec 4 2018 README.txt > -rw-r--r-- 1 root root 8080 Dec 4 2018 db-init.sql > -rw-rw-r-- 1 root root 203 Jul 25 12:30 default.properties > -rwxr-xr-x 1 root root 2721 Dec 4 2018 functions.sh > -rw-r--r-- 1 root root 29118502 Dec 6 2018 ignite-web-agent-2.7.0.jar > -rw-r--r-- 1 root root 4590 Dec 4 2018 ignite-web-agent.bat > -rw-rw-r-- 1 root root 561 Jul 25 16:31 ignite-web-agent.log > -rwxr-xr-x 1 root root 3229 Jul 25 16:33 ignite-web-agent.sh=C2=A0 > {code} > The issue happens during executing files copy command in Dockerfile, it d= oesn't keep directories structure. To solve this problem "COPY ignite-web-a= gent*/* ./" command should be changed to "COPY ignite-web-agent* ./" -- This message was sent by Atlassian Jira (v8.3.2#803003)