Peter Somogyi created HBASE-24203:
-------------------------------------

             Summary: Dump git version in Dockerfile
                 Key: HBASE-24203
                 URL: https://issues.apache.org/jira/browse/HBASE-24203
             Project: HBase
          Issue Type: Bug
          Components: build
            Reporter: Peter Somogyi
            Assignee: Peter Somogyi


Nightly build fails when Docker image rebuild is needed on workers.

Dockerfile has hardcoded version for git but it is not available anymore.
git=1:2.17.1-1ubuntu0.6

These versions are available:
{noformat}
root@44cf3485b02e:/# apt-cache madison git
       git | 1:2.17.1-1ubuntu0.6 | http://archive.ubuntu.com/ubuntu 
bionic-updates/main amd64 Packages
       git | 1:2.17.1-1ubuntu0.6 | http://security.ubuntu.com/ubuntu 
bionic-security/main amd64 Packages
       git | 1:2.17.0-1ubuntu1 | http://archive.ubuntu.com/ubuntu bionic/main 
amd64 Packages
{noformat}

{noformat}
[2020-04-16T15:31:15.100Z] 
============================================================================

[2020-04-16T15:31:15.100Z] 
============================================================================

[2020-04-16T15:31:15.100Z]                            Docker Image Creation

[2020-04-16T15:31:15.100Z] 
============================================================================

[2020-04-16T15:31:15.100Z] 
============================================================================

[2020-04-16T15:31:15.100Z] 

[2020-04-16T15:31:15.100Z] 

[2020-04-16T15:31:15.100Z] Sending build context to Docker daemon  18.99kB


[2020-04-16T15:31:15.815Z] Step 1/60 : FROM ubuntu:18.04 AS BASE_IMAGE

[2020-04-16T15:31:16.537Z] 18.04: Pulling from library/ubuntu

[2020-04-16T15:31:16.537Z] Digest: 
sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d

[2020-04-16T15:31:16.537Z] Status: Downloaded newer image for ubuntu:18.04

[2020-04-16T15:31:16.537Z]  ---> 4e5021d210f6

[2020-04-16T15:31:16.537Z] Step 2/60 : SHELL ["/bin/bash", "-o", "pipefail", 
"-c"]

[2020-04-16T15:31:16.537Z]  ---> Using cache

[2020-04-16T15:31:16.537Z]  ---> 1d47e8973913

[2020-04-16T15:31:16.537Z] Step 3/60 : RUN DEBIAN_FRONTEND=noninteractive 
apt-get -qq update &&   DEBIAN_FRONTEND=noninteractive apt-get -qq install 
--no-install-recommends -y     ca-certificates=20180409     
curl=7.58.0-2ubuntu3.8     locales=2.27-3ubuntu1     bash=4.4.18-2ubuntu1.2     
build-essential=12.4ubuntu1     diffutils=1:3.6-1     git=1:2.17.1-1ubuntu0.5   
  rsync=3.1.2-2.1ubuntu1     tar=1.29b-2ubuntu0.1     wget=1.19.4-1ubuntu2.2    
 bats=0.4.0-1.1     libperl-critic-perl=1.130-1     python3=3.6.7-1~18.04     
python3-pip=9.0.1-2.3~ubuntu1.18.04.1     python3-setuptools=39.0.1-2     
ruby=1:2.5.1     ruby-dev=1:2.5.1     shellcheck=0.4.6-1     &&     apt-get 
clean &&     rm -rf /var/lib/apt/lists/*

[2020-04-16T15:31:19.732Z]  ---> Running in a130e4f222ae

[2020-04-16T15:31:27.852Z] E: Version '1:2.17.1-1ubuntu0.5' for 'git' was not 
found

[2020-04-16T15:31:28.566Z] The command '/bin/bash -o pipefail -c 
DEBIAN_FRONTEND=noninteractive apt-get -qq update &&   
DEBIAN_FRONTEND=noninteractive apt-get -qq install --no-install-recommends -y   
  ca-certificates=20180409     curl=7.58.0-2ubuntu3.8     locales=2.27-3ubuntu1 
    bash=4.4.18-2ubuntu1.2     build-essential=12.4ubuntu1     
diffutils=1:3.6-1     git=1:2.17.1-1ubuntu0.5     rsync=3.1.2-2.1ubuntu1     
tar=1.29b-2ubuntu0.1     wget=1.19.4-1ubuntu2.2     bats=0.4.0-1.1     
libperl-critic-perl=1.130-1     python3=3.6.7-1~18.04     
python3-pip=9.0.1-2.3~ubuntu1.18.04.1     python3-setuptools=39.0.1-2     
ruby=1:2.5.1     ruby-dev=1:2.5.1     shellcheck=0.4.6-1     &&     apt-get 
clean &&     rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

[2020-04-16T15:31:28.566Z] ERROR: Docker failed to build yetus/hbase:f2f86c1790.
{noformat} 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to