This could be an issue with anti-virus software or gpg-agent... I got the
same result with the docker build until I killed clamav

gus@ns-l1:~$ ps aux | grep clamav
clamav      1806  0.0  0.0  59124 14080 ?        Ss   09:01   0:00
/usr/bin/freshclam -d --foreground=true
gus        11896  0.0  0.0   9212  2304 pts/0    S+   09:09   0:00 grep
--color=auto clamav
gus@ns-l1:~$ sudo kill -9 1806
[sudo] password for gus:
gus@ns-l1:~$ ps aux | grep clamav
gus        11940  0.0  0.0   9080  2304 pts/0    S+   09:09   0:00 grep
--color=auto clamav
gus@ns-l1:~$ SOLR_DOWNLOAD_SERVER=
https://dist.apache.org/repos/dist/dev/solr/solr-9.6.0-RC1-rev-f8e5a93c11267e13b7b43005a428bfb910ac6e57/solr
&&   docker build
$SOLR_DOWNLOAD_SERVER/9.6.0/docker/Dockerfile.official-full     --build-arg
SOLR_DOWNLOAD_SERVER=$SOLR_DOWNLOAD_SERVER     -t solr-rc:9.6.0-1 &&
docker build $SOLR_DOWNLOAD_SERVER/9.6.0/docker/Dockerfile.official-slim
  --build-arg SOLR_DOWNLOAD_SERVER=$SOLR_DOWNLOAD_SERVER     -t
solr-rc:9.6.0-1-slim
[+] Building 29.1s (10/10) FINISHED

                              docker:default
 => CACHED [internal] load remote build context

                                        0.2s
 => [internal] load metadata for
docker.io/library/eclipse-temurin:17-jre-jammy

        0.3s
 => CACHED [1/7] FROM
docker.io/library/eclipse-temurin:17-jre-jammy@sha256:1b646daef966395c93995e73347d4c7c726c9ddba8695e984cd8dcf5d8b5b253
                                                   0.0s
 => [2/7] RUN set -ex;   apt-get update;   apt-get -y
--no-install-recommends install wget gpg gnupg dirmngr;   rm -rf
/var/lib/apt/lists/*;   export SOLR_BINARY="solr-9.6.0.tgz";   MAX_RED
 20.7s
 => [3/7] RUN set -ex;   groupadd -r --gid "8983" "solr";   useradd -r
--uid "8983" --gid "8983" "solr"
                                              0.4s
 => [4/7] RUN set -ex;   (cd /opt; ln -s solr-*/ solr);   rm -Rf
/opt/solr/docs /opt/solr/docker/Dockerfile;
                                                   0.4s
 => [5/7] RUN set -ex;   mkdir -p /opt/solr/server/solr/lib
/docker-entrypoint-initdb.d;   cp /opt/solr/bin/solr.in.sh /etc/default/
solr.in.sh;   mv /opt/solr/bin/solr.in.sh /opt/solr/bin/so  0.5s
 => [6/7] RUN set -ex;     apt-get update;     apt-get -y
--no-install-recommends install acl lsof procps wget netcat gosu tini
jattach;     rm -rf /var/lib/apt/lists/*;                       5.3s
 => [7/7] WORKDIR /opt/solr

                                        0.1s
 => exporting to image

                                         0.9s
 => => exporting layers

                                        0.9s
 => => writing image
sha256:e426f6991bd325a5b01a31e90f3304ce45a787004c34fc6a90a2aa86c5193afc

                   0.0s
 => => naming to docker.io/library/solr-rc:9.6.0-1

                                         0.0s
[+] Building 19.3s (10/10) FINISHED

                              docker:default
 => [internal] load remote build context

                                         0.2s
 => [internal] load metadata for
docker.io/library/eclipse-temurin:17-jre-jammy

        0.2s
 => CACHED [1/7] FROM
docker.io/library/eclipse-temurin:17-jre-jammy@sha256:1b646daef966395c93995e73347d4c7c726c9ddba8695e984cd8dcf5d8b5b253
                                                   0.0s
 => [2/7] RUN set -ex;   apt-get update;   apt-get -y
--no-install-recommends install wget gpg gnupg dirmngr;   rm -rf
/var/lib/apt/lists/*;   export SOLR_BINARY="solr-9.6.0-slim.tgz";   MA
 11.3s
 => [3/7] RUN set -ex;   groupadd -r --gid "8983" "solr";   useradd -r
--uid "8983" --gid "8983" "solr"
                                              0.5s
 => [4/7] RUN set -ex;   (cd /opt; ln -s solr-*/ solr);   rm -Rf
/opt/solr/docs /opt/solr/docker/Dockerfile;
                                                   0.5s
 => [5/7] RUN set -ex;   mkdir -p /opt/solr/server/solr/lib
/docker-entrypoint-initdb.d;   cp /opt/solr/bin/solr.in.sh /etc/default/
solr.in.sh;   mv /opt/solr/bin/solr.in.sh /opt/solr/bin/so  0.5s
 => [6/7] RUN set -ex;     apt-get update;     apt-get -y
--no-install-recommends install acl lsof procps wget netcat gosu tini
jattach;     rm -rf /var/lib/apt/lists/*;                       5.6s
 => [7/7] WORKDIR /opt/solr

                                        0.1s
 => exporting to image

                                         0.5s
 => => exporting layers

                                        0.4s
 => => writing image
sha256:4933f3684276f1f7e239046e4978ab223df902f428b7af3a20300fca264a94c3

                   0.0s
 => => naming to docker.io/library/solr-rc:9.6.0-1-slim


On Tue, Apr 23, 2024 at 7:11 AM Jan Høydahl <jan....@cominvent.com> wrote:

> Hi,
>
> Smoketester succeeds:
> SUCCESS! [0:45:28.467115]
>
> But I cannot get the docker build to pass:
> It seems to fail during GPG validation of your key during image build:
>
> > gpg: key 140BC45803B03F7F: public key "Patrick Gustav Heck (CODE SIGNING
> KEY) <g...@apache.org>" imported
> > gpg: can't connect to the agent: IPC connect call failed
> > gpg: Total number processed: 1
> > gpg:               imported: 1
> >
>
> Not sure if that is the reason, but some command in the RUN line 30- fail.
>
> +0
>
> Jan
>
> > 23. apr. 2024 kl. 07:05 skrev Gus Heck <gus.h...@gmail.com>:
> >
> > Please vote for release candidate 1 for Solr 9.6.0
> >
> > The artifacts can be downloaded from:
> >
> https://dist.apache.org/repos/dist/dev/solr/solr-9.6.0-RC1-rev-f8e5a93c11267e13b7b43005a428bfb910ac6e57
> >
> > You can run the smoke tester directly with this command:
> >
> > python3 -u dev-tools/scripts/smokeTestRelease.py \
> >
> https://dist.apache.org/repos/dist/dev/solr/solr-9.6.0-RC1-rev-f8e5a93c11267e13b7b43005a428bfb910ac6e57
> >
> > You can build a release-candidate of the official docker images (full &
> > slim) using the following command:
> >
> > SOLR_DOWNLOAD_SERVER=
> >
> https://dist.apache.org/repos/dist/dev/solr/solr-9.6.0-RC1-rev-f8e5a93c11267e13b7b43005a428bfb910ac6e57/solr
> > && \
> > docker build $SOLR_DOWNLOAD_SERVER/9.6.0/docker/Dockerfile.official-full
> \
> >   --build-arg SOLR_DOWNLOAD_SERVER=$SOLR_DOWNLOAD_SERVER \
> >   -t solr-rc:9.6.0-1 && \
> > docker build $SOLR_DOWNLOAD_SERVER/9.6.0/docker/Dockerfile.official-slim
> \
> >   --build-arg SOLR_DOWNLOAD_SERVER=$SOLR_DOWNLOAD_SERVER \
> >   -t solr-rc:9.6.0-1-slim
> >
> > The vote will be open for at least 72 hours i.e. until 2024-04-26 06:00
> UTC.
> >
> > [ ] +1  approve
> > [ ] +0  no opinion
> > [ ] -1  disapprove (and reason why)
> >
> > Here is my +1
> >
> >
> > --
> > http://www.needhamsoftware.com (work)
> > https://a.co/d/b2sZLD9 (my fantasy fiction book)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org
> For additional commands, e-mail: dev-h...@solr.apache.org
>
>

-- 
http://www.needhamsoftware.com (work)
https://a.co/d/b2sZLD9 (my fantasy fiction book)

Reply via email to