Re: Docker build is broken for 4.16.4

2024-04-02 Thread Lari Hotari
Does this work for 4.16.5 ?

I fixed outdated Dockerfile issues in PR
https://github.com/apache/bookkeeper/pull/4197 / (branch-4.16:
https://github.com/apache/bookkeeper/pull/4206).
Diff: 
https://github.com/apache/bookkeeper/pull/4206/files#diff-f34da55ca08f1a30591d8b0b3e885bcc678537b2a9a4aadea4f190806b374ddcL20

ubuntu-22.10 is no longer supported and that's the source of the error
message "The repository 'http://archive.ubuntu.com/ubuntu
kinetic-updates Release' does not have a Release file."
In the PR, I replaced it with ubuntu-22.04 (LTS version, support continues).

-Lari


On Tue, 2 Apr 2024 at 16:06, Enrico Olivelli  wrote:
>
> Hello Bookkeepers,
> it seems that docker hub is no more able to build our docker images
>
> You can find below the error
>
> Any ideas?
>
> Enrico
>
> Link to the build
> https://hub.docker.com/repository/registry-1.docker.io/apache/bookkeeper/builds/114a5d41-f061-47d4-b9f4-744aafaaa665
>
> Full logs
>
> 2024-04-02T12:08:33Z Building in Docker Cloud's infrastructure...
> 2024-04-02T12:08:34Z Cloning into '.'...
> 2024-04-02T12:08:34Z Warning: Permanently added the RSA host key for
> IP address '140.82.114.3' to the list of known hosts.
> 2024-04-02T12:09:14Z Switched to a new branch 'release-4.16.4-docker'
> 2024-04-02T12:09:14Z Executing build hook...
> 2024-04-02T12:09:14Z + [[ 4.16.4 = \l\a\t\e\s\t ]]
> 2024-04-02T12:09:14Z + docker build --build-arg BK_VERSION=4.16.4 -t
> index.docker.io/apache/bookkeeper:4.16.4 .
> 2024-04-02T12:09:20Z #1 [internal] load build definition from Dockerfile
> 2024-04-02T12:09:20Z #1 transferring dockerfile:
> 2024-04-02T12:09:20Z #1 transferring dockerfile: 2.71kB done
> 2024-04-02T12:09:20Z #1 DONE 0.1s
> 2024-04-02T12:09:20Z
> 2024-04-02T12:09:20Z #2 [internal] load .dockerignore
> 2024-04-02T12:09:20Z #2 transferring context: 2B done
> 2024-04-02T12:09:20Z #2 DONE 0.0s
> 2024-04-02T12:09:20Z
> 2024-04-02T12:09:20Z #3 [internal] load metadata for
> docker.io/library/ubuntu:22.10
> 2024-04-02T12:09:21Z #3 ...
> 2024-04-02T12:09:21Z
> 2024-04-02T12:09:21Z #4 [auth] library/ubuntu:pull token for
> registry-1.docker.io
> 2024-04-02T12:09:21Z #4 DONE 0.0s
> 2024-04-02T12:09:21Z
> 2024-04-02T12:09:21Z #3 [internal] load metadata for
> docker.io/library/ubuntu:22.10
> 2024-04-02T12:09:21Z #3 DONE 0.6s
> 2024-04-02T12:09:21Z
> 2024-04-02T12:09:21Z #5 [1/5] FROM
> docker.io/library/ubuntu:22.10@sha256:e322f4808315c387868a9135beeb11435b5b83130a8599fd7d0014452c34f489
> 2024-04-02T12:09:21Z #5 resolve
> docker.io/library/ubuntu:22.10@sha256:e322f4808315c387868a9135beeb11435b5b83130a8599fd7d0014452c34f489
> 0.1s done
> 2024-04-02T12:09:21Z #5 ...
> 2024-04-02T12:09:21Z
> 2024-04-02T12:09:21Z #6 [internal] load build context
> 2024-04-02T12:09:21Z #6 transferring context: 18.21kB done
> 2024-04-02T12:09:21Z #6 DONE 0.0s
> 2024-04-02T12:09:21Z
> 2024-04-02T12:09:21Z #5 [1/5] FROM
> docker.io/library/ubuntu:22.10@sha256:e322f4808315c387868a9135beeb11435b5b83130a8599fd7d0014452c34f489
> 2024-04-02T12:09:21Z #5
> sha256:d36481db487c935436420cc4b705db8c81eec3872085ebd27963b775695fbe24
> 424B / 424B done
> 2024-04-02T12:09:21Z #5
> sha256:692eb4a905c074054e0a35d647671f0e32ed150d15b23fd7bc745cfb2fdeddbd
> 2.30kB / 2.30kB done
> 2024-04-02T12:09:21Z #5
> sha256:3ad6ea492c35ef48892b4587449510d372516d5969073eeaa6601a380e861c57
> 0B / 26.70MB 0.1s
> 2024-04-02T12:09:21Z #5
> sha256:e322f4808315c387868a9135beeb11435b5b83130a8599fd7d0014452c34f489
> 1.13kB / 1.13kB done
> 2024-04-02T12:09:21Z #5
> sha256:3ad6ea492c35ef48892b4587449510d372516d5969073eeaa6601a380e861c57
> 22.02MB / 26.70MB 0.3s
> 2024-04-02T12:09:21Z #5
> sha256:3ad6ea492c35ef48892b4587449510d372516d5969073eeaa6601a380e861c57
> 26.70MB / 26.70MB 0.4s
> 2024-04-02T12:09:22Z #5
> sha256:3ad6ea492c35ef48892b4587449510d372516d5969073eeaa6601a380e861c57
> 26.70MB / 26.70MB 0.6s done
> 2024-04-02T12:09:22Z #5 extracting
> sha256:3ad6ea492c35ef48892b4587449510d372516d5969073eeaa6601a380e861c57
> 2024-04-02T12:09:25Z #5 extracting
> sha256:3ad6ea492c35ef48892b4587449510d372516d5969073eeaa6601a380e861c57
> 3.3s done
> 2024-04-02T12:09:26Z #5 DONE 4.5s
> 2024-04-02T12:09:26Z
> 2024-04-02T12:09:26Z #7 [2/5] RUN set -x && adduser "bookkeeper" &&
> apt-get update && apt-get install -y --no-install-recommends
> openjdk-17-jdk && apt-get install -y --no-install-recommends python3
> pip && ln -s /usr/bin/python3 /usr/bin/python && apt-get install -y
> --no-install-recommends gpg gpg-agent wget sudo && apt-get -y --purge
> autoremove && apt-get autoclean && apt-get clean && rm -rf
> /var/lib/apt/lists/* && mkdir -pv /opt && cd /opt && wget -q
> "https://archive.apache.org/dist/bookkeeper/bookkeeper-4.16.4/bookkeeper-server-4.16.4-bin.tar.gz";
> && wget -q 
> "https://archive.apache.org/dist/bookkeeper/bookkeeper-4.16.4/bookkeeper-server-4.16.4-bin.tar.gz.asc";
> && wget -q 
> "https://archive.apache.org/dist/bookkeeper/bookkeeper-4.16.4/bookkeeper-server-4.16.4-bin.tar.gz.sha512";
> && sha512sum -c bookkeeper-server

Docker build is broken for 4.16.4

2024-04-02 Thread Enrico Olivelli
Hello Bookkeepers,
it seems that docker hub is no more able to build our docker images

You can find below the error

Any ideas?

Enrico

Link to the build
https://hub.docker.com/repository/registry-1.docker.io/apache/bookkeeper/builds/114a5d41-f061-47d4-b9f4-744aafaaa665

Full logs

2024-04-02T12:08:33Z Building in Docker Cloud's infrastructure...
2024-04-02T12:08:34Z Cloning into '.'...
2024-04-02T12:08:34Z Warning: Permanently added the RSA host key for
IP address '140.82.114.3' to the list of known hosts.
2024-04-02T12:09:14Z Switched to a new branch 'release-4.16.4-docker'
2024-04-02T12:09:14Z Executing build hook...
2024-04-02T12:09:14Z + [[ 4.16.4 = \l\a\t\e\s\t ]]
2024-04-02T12:09:14Z + docker build --build-arg BK_VERSION=4.16.4 -t
index.docker.io/apache/bookkeeper:4.16.4 .
2024-04-02T12:09:20Z #1 [internal] load build definition from Dockerfile
2024-04-02T12:09:20Z #1 transferring dockerfile:
2024-04-02T12:09:20Z #1 transferring dockerfile: 2.71kB done
2024-04-02T12:09:20Z #1 DONE 0.1s
2024-04-02T12:09:20Z
2024-04-02T12:09:20Z #2 [internal] load .dockerignore
2024-04-02T12:09:20Z #2 transferring context: 2B done
2024-04-02T12:09:20Z #2 DONE 0.0s
2024-04-02T12:09:20Z
2024-04-02T12:09:20Z #3 [internal] load metadata for
docker.io/library/ubuntu:22.10
2024-04-02T12:09:21Z #3 ...
2024-04-02T12:09:21Z
2024-04-02T12:09:21Z #4 [auth] library/ubuntu:pull token for
registry-1.docker.io
2024-04-02T12:09:21Z #4 DONE 0.0s
2024-04-02T12:09:21Z
2024-04-02T12:09:21Z #3 [internal] load metadata for
docker.io/library/ubuntu:22.10
2024-04-02T12:09:21Z #3 DONE 0.6s
2024-04-02T12:09:21Z
2024-04-02T12:09:21Z #5 [1/5] FROM
docker.io/library/ubuntu:22.10@sha256:e322f4808315c387868a9135beeb11435b5b83130a8599fd7d0014452c34f489
2024-04-02T12:09:21Z #5 resolve
docker.io/library/ubuntu:22.10@sha256:e322f4808315c387868a9135beeb11435b5b83130a8599fd7d0014452c34f489
0.1s done
2024-04-02T12:09:21Z #5 ...
2024-04-02T12:09:21Z
2024-04-02T12:09:21Z #6 [internal] load build context
2024-04-02T12:09:21Z #6 transferring context: 18.21kB done
2024-04-02T12:09:21Z #6 DONE 0.0s
2024-04-02T12:09:21Z
2024-04-02T12:09:21Z #5 [1/5] FROM
docker.io/library/ubuntu:22.10@sha256:e322f4808315c387868a9135beeb11435b5b83130a8599fd7d0014452c34f489
2024-04-02T12:09:21Z #5
sha256:d36481db487c935436420cc4b705db8c81eec3872085ebd27963b775695fbe24
424B / 424B done
2024-04-02T12:09:21Z #5
sha256:692eb4a905c074054e0a35d647671f0e32ed150d15b23fd7bc745cfb2fdeddbd
2.30kB / 2.30kB done
2024-04-02T12:09:21Z #5
sha256:3ad6ea492c35ef48892b4587449510d372516d5969073eeaa6601a380e861c57
0B / 26.70MB 0.1s
2024-04-02T12:09:21Z #5
sha256:e322f4808315c387868a9135beeb11435b5b83130a8599fd7d0014452c34f489
1.13kB / 1.13kB done
2024-04-02T12:09:21Z #5
sha256:3ad6ea492c35ef48892b4587449510d372516d5969073eeaa6601a380e861c57
22.02MB / 26.70MB 0.3s
2024-04-02T12:09:21Z #5
sha256:3ad6ea492c35ef48892b4587449510d372516d5969073eeaa6601a380e861c57
26.70MB / 26.70MB 0.4s
2024-04-02T12:09:22Z #5
sha256:3ad6ea492c35ef48892b4587449510d372516d5969073eeaa6601a380e861c57
26.70MB / 26.70MB 0.6s done
2024-04-02T12:09:22Z #5 extracting
sha256:3ad6ea492c35ef48892b4587449510d372516d5969073eeaa6601a380e861c57
2024-04-02T12:09:25Z #5 extracting
sha256:3ad6ea492c35ef48892b4587449510d372516d5969073eeaa6601a380e861c57
3.3s done
2024-04-02T12:09:26Z #5 DONE 4.5s
2024-04-02T12:09:26Z
2024-04-02T12:09:26Z #7 [2/5] RUN set -x && adduser "bookkeeper" &&
apt-get update && apt-get install -y --no-install-recommends
openjdk-17-jdk && apt-get install -y --no-install-recommends python3
pip && ln -s /usr/bin/python3 /usr/bin/python && apt-get install -y
--no-install-recommends gpg gpg-agent wget sudo && apt-get -y --purge
autoremove && apt-get autoclean && apt-get clean && rm -rf
/var/lib/apt/lists/* && mkdir -pv /opt && cd /opt && wget -q
"https://archive.apache.org/dist/bookkeeper/bookkeeper-4.16.4/bookkeeper-server-4.16.4-bin.tar.gz";
&& wget -q 
"https://archive.apache.org/dist/bookkeeper/bookkeeper-4.16.4/bookkeeper-server-4.16.4-bin.tar.gz.asc";
&& wget -q 
"https://archive.apache.org/dist/bookkeeper/bookkeeper-4.16.4/bookkeeper-server-4.16.4-bin.tar.gz.sha512";
&& sha512sum -c bookkeeper-server-4.16.4-bin.tar.gz.sha512 && wget
https://dist.apache.org/repos/dist/release/bookkeeper/KEYS && gpg
--import KEYS && gpg --batch --verify
"bookkeeper-server-4.16.4-bin.tar.gz.asc"
"bookkeeper-server-4.16.4-bin.tar.gz" && tar -xzf
"bookkeeper-server-4.16.4-bin.tar.gz" && mv bookkeeper-server-4.16.4/
/opt/bookkeeper/ && rm -rf "bookkeeper-server-4.16.4-bin.tar.gz"
"bookkeeper-server-4.16.4-bin.tar.gz.asc"
"bookkeeper-server-4.16.4-bin.tar.gz.sha512" && pip install zk-shell
2024-04-02T12:09:26Z #7 0.382 + adduser bookkeeper
2024-04-02T12:09:26Z #7 0.433 Adding user `bookkeeper' ...
2024-04-02T12:09:26Z #7 0.433 Adding new group `bookkeeper' (1000) ...
2024-04-02T12:09:26Z #7 0.480 Adding new user `bookkeeper' (1000) with
group `bookkeeper' ...
2024-04-02T12:09:26Z #7 0.577 Creating home directory `/home/bookkeeper' ...
2024

[VOTE] Release 4.17.0, release candidate #0

2024-04-02 Thread Enrico Olivelli
Hi everyone,
Please review and vote on the release candidate #0 for the version
4.17.0, as follows:
[ ] +1, Approve the release
[ ] -1, Do not approve the release (please provide specific comments)

The complete staging area is available for your review, which includes:
* Release notes [1]
* The official Apache source and binary distributions to be deployed
to dist.apache.org [2]
* All artifacts to be deployed to the Maven Central Repository [3]
* Source code tag "v4.17.0-rc0"  [4] with git sha
cce4b6461691466c663f2cb4d00dd4d73dd9071e

BookKeeper's KEYS file contains PGP keys we used to sign this release:
https://dist.apache.org/repos/dist/release/bookkeeper/KEYS

Please download these packages and review this release candidate:

- Review release notes
- Download the source package (verify shasum, and asc) and follow the
instructions to build and run the bookkeeper service.
- Download the binary package (verify shasum, and asc) and follow the
instructions to run the bookkeeper service.
- Review maven repo, release tag, licenses, and any other things you think
it is important to release.

The vote will be open for at least 72 hours. It is adopted by majority
approval, with at least 3 PMC affirmative votes.

Thanks,
Enrico Olivelli

[1] 
https://github.com/apache/bookkeeper/pull/4260/files#diff-d361215d5d5abaa96ac3362e70a1d2f80f92d369a59c866e1976ff41ec435f53
[2] https://dist.apache.org/repos/dist/dev/bookkeeper/bookkeeper-4.17.0-rc0/
[3] https://repository.apache.org/content/repositories/orgapachebookkeeper-1095/
[4] https://github.com/apache/bookkeeper/tree/v4.17.0-rc0