You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2020/03/13 04:43:00 UTC

[jira] [Commented] (HBASE-23978) Dockerfiles reusing stale apt sources info

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

Hudson commented on HBASE-23978:
--------------------------------

Results for branch branch-2
	[build #2550 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/2550/]: (x) *{color:red}-1 overall{color}*
----
details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/2550//General_Nightly_Build_Report/]




(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/2550//JDK8_Nightly_Build_Report_(Hadoop2)/]


(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/2550//JDK8_Nightly_Build_Report_(Hadoop3)/]


(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/2550//JDK11_Nightly_Build_Report/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> Dockerfiles reusing stale apt sources info
> ------------------------------------------
>
>                 Key: HBASE-23978
>                 URL: https://issues.apache.org/jira/browse/HBASE-23978
>             Project: HBase
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.0.0, 2.3.0
>            Reporter: Nick Dimiduk
>            Assignee: Nick Dimiduk
>            Priority: Major
>             Fix For: 3.0.0, 2.3.0
>
>
> We're seeing failed builds on jenkins that look like
> {noformat} 
> [2020-03-12T21:27:06.369Z] ---> 368a6d22e8da 
> [2020-03-12T21:27:06.369Z] Step 41/62 : RUN DEBIAN_FRONTEND=noninteractive apt-get -qq install --no-install-recommends -y bash=4.4.18-2ubuntu1.2 build-essential=12.4ubuntu1 curl=7.58.0-2ubuntu3.8 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 
> [2020-03-12T21:27:12.818Z] ---> Running in fe5d7602e278 
> [2020-03-12T21:27:20.643Z] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/gcc-7-base_7.4.0-1ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 91.189.88.174 80] 
> [2020-03-12T21:27:20.643Z] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/cpp-7_7.4.0-1ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 91.189.88.174 80] 
> [2020-03-12T21:27:20.643Z] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-8/libcc1-0_8.3.0-6ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 91.189.88.174 80] 
> [2020-03-12T21:27:20.643Z] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-8/libgomp1_8.3.0-6ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 91.189.88.174 80] 
> [2020-03-12T21:27:20.643Z] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-8/libitm1_8.3.0-6ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 91.189.88.174 80] 
> [2020-03-12T21:27:20.643Z] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-8/libatomic1_8.3.0-6ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 91.189.88.174 80] 
> [2020-03-12T21:27:20.643Z] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/libasan4_7.4.0-1ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 91.189.88.174 80] 
> [2020-03-12T21:27:20.643Z] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-8/liblsan0_8.3.0-6ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 91.189.88.174 80] 
> [2020-03-12T21:27:20.643Z] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-8/libtsan0_8.3.0-6ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 91.189.88.174 80] 
> [2020-03-12T21:27:20.643Z] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/libubsan0_7.4.0-1ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 91.189.88.174 80] 
> [2020-03-12T21:27:20.643Z] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/libcilkrts5_7.4.0-1ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 91.189.88.174 80] 
> [2020-03-12T21:27:20.643Z] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-8/libmpx2_8.3.0-6ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 91.189.88.174 80] 
> [2020-03-12T21:27:20.643Z] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-8/libquadmath0_8.3.0-6ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 91.189.88.174 80] 
> [2020-03-12T21:27:20.643Z] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/libgcc-7-dev_7.4.0-1ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 91.189.88.174 80] 
> [2020-03-12T21:27:20.643Z] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/gcc-7_7.4.0-1ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 91.189.88.174 80] 
> [2020-03-12T21:27:20.643Z] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/libstdc++-7-dev_7.4.0-1ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 91.189.88.174 80] 
> [2020-03-12T21:27:20.643Z] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-7/g++-7_7.4.0-1ubuntu1~18.04.1_amd64.deb 404 Not Found [IP: 91.189.88.174 80] 
> [2020-03-12T21:27:20.643Z] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 
> {noformat}
> Logs from earlier in the docker build pipeline show use of a cached layer containing apt repository sources, while the earlier layer is bring rebuilt.
> {noformat}
> [2020-03-12T21:27:06.368Z] Step 3/62 : 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
> [2020-03-12T21:27:06.368Z]  ---> Using cache
> [2020-03-12T21:27:06.368Z]  ---> 04ad316a4951
> {noformat}
> Thus, I suspect the later layer has stale repository info. Seems a best practice is that anyone one does {{apt-get install}}, one must first {{apt-get update}} in the same layer. I was hoping to avoid repetitive {{update}} invocations and save some bandwidth... premature optimizations, and all that.



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