[
https://issues.apache.org/jira/browse/HBASE-24201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17106489#comment-17106489
]
Nick Dimiduk commented on HBASE-24201:
--------------------------------------
HBASE-23945 wouldn't be so much a "backport" as "do again" for this branch,
because I think the docker files have some drift. But yes, I think this is good
cleanup to do on branch-2.2 as well. As has been noted on later JIRAs, i think
we need to be less strict when specifying version numbers, because ubuntu
packages disappear after a time. Checking, i don't think we've done this on
branch-2.3 yet.
> Fix CI builds on branch-2.2
> ---------------------------
>
> Key: HBASE-24201
> URL: https://issues.apache.org/jira/browse/HBASE-24201
> Project: HBase
> Issue Type: Task
> Components: build
> Affects Versions: 2.2.5
> Reporter: Nick Dimiduk
> Assignee: Guanghao Zhang
> Priority: Major
>
> From a recent [PR
> build|https://builds.apache.org/blue/organizations/jenkins/HBase-PreCommit-GitHub-PR/detail/PR-1532/1/pipeline/]
> {noformat}
> [2020-04-16T18:43:21.548Z] Setting up ruby2.3 (2.3.3-1+deb9u7) ...
> [2020-04-16T18:43:21.548Z] Setting up ruby2.3-dev:amd64 (2.3.3-1+deb9u7) ...
> [2020-04-16T18:43:21.548Z] Setting up ruby-dev:amd64 (1:2.3.3) ...
> [2020-04-16T18:43:21.548Z] Setting up ruby (1:2.3.3) ...
> [2020-04-16T18:43:22.261Z] Processing triggers for libc-bin (2.24-11+deb9u3)
> ...
> [2020-04-16T18:43:22.975Z] Successfully installed rake-13.0.1
> [2020-04-16T18:43:22.975Z] Building native extensions. This could take a
> while...
> [2020-04-16T18:43:25.277Z] ERROR: Error installing rubocop:
> [2020-04-16T18:43:25.277Z] rubocop requires Ruby version >= 2.4.0.
> {noformat}
> Looks like the Dockerfile on branch-2.2 has bit-rot. I suspect package
> versions are partially pinned or not pinned at all: the rubocop version has
> incremented by ruby version has not.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)