You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shane Knapp (Jira)" <ji...@apache.org> on 2020/12/09 23:31:00 UTC

[jira] [Comment Edited] (SPARK-33727) `gpg: keyserver receive failed: No name` during K8s IT

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

Shane Knapp edited comment on SPARK-33727 at 12/9/20, 11:30 PM:
----------------------------------------------------------------

ok, this is not a failure on the jenkins worker – it's happening inside the docker container that the build spins up.  just scroll back from the gpg error message and you'll see the docker STDOUT as it's trying to build the spark-r container.

in fact, from looking at the logs it appears that the command that's actually failing in the container setup is:
{noformat}
apt-key adv --keyserver keys.gnupg.net --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF'{noformat}
that's causing the following error:
{code:java}
Executing: /tmp/apt-key-gpghome.gGqC9RwptN/gpg.1.sh --keyserver keys.gnupg.net --recv-key E19F5F87128899B192B1A2C2AD5F960A256A04AF
gpg: keyserver receive failed: No name
{code}
so, i took a peek at ./resource-managers/kubernetes/docker/src/main/dockerfiles/spark/bindings/R/Dockerfile, and git blame for that specific line points to...

drumroll please...
{code:java}
22baf05a9ec (Dongjoon Hyun 2020-11-12 15:36:31 +0900 32) apt-key adv --keyserver keys.gnupg.net --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF' && {code}

 [~dongjoon]

 


was (Author: shaneknapp):
ok, this is not a failure on the jenkins worker – it's happening inside the docker container that the build spins up.  just scroll back from the gpg error message and you'll see the docker STDOUT as it's trying to build the spark-r container.

in fact, from looking at the logs it appears that the command that's actually failing in the container setup is:
{noformat}
apt-key adv --keyserver keys.gnupg.net --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF'{noformat}
that's causing the following error:
{code:java}
Executing: /tmp/apt-key-gpghome.gGqC9RwptN/gpg.1.sh --keyserver keys.gnupg.net --recv-key E19F5F87128899B192B1A2C2AD5F960A256A04AF
gpg: keyserver receive failed: No name
{code}
so, i took a peek at ./resource-managers/kubernetes/docker/src/main/dockerfiles/spark/bindings/R/Dockerfile, and git blame for that specific line points to...

drumroll please...
{code:java}
22baf05a9ec (Dongjoon Hyun  2020-11-12 15:36:31 +0900 32)   apt-key adv --keyserver keys.gnupg.net --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF' && \{code}
[~dongjoon]

 

> `gpg: keyserver receive failed: No name` during K8s IT
> ------------------------------------------------------
>
>                 Key: SPARK-33727
>                 URL: https://issues.apache.org/jira/browse/SPARK-33727
>             Project: Spark
>          Issue Type: Task
>          Components: Kubernetes, Project Infra, Tests
>    Affects Versions: 3.0.2, 3.1.0, 3.2.0
>            Reporter: Dongjoon Hyun
>            Priority: Major
>
> K8s IT fails with gpg: keyserver receive failed: No name. This seems to be consistent in the new Jenkins Server.
> {code}
> Executing: /tmp/apt-key-gpghome.gGqC9RwptN/gpg.1.sh --keyserver keys.gnupg.net --recv-key E19F5F87128899B192B1A2C2AD5F960A256A04AF
> gpg: keyserver receive failed: No name
> The command '/bin/sh -c echo "deb http://cloud.r-project.org/bin/linux/debian buster-cran35/" >> /etc/apt/sources.list &&   apt install -y gnupg &&   apt-key adv --keyserver keys.gnupg.net --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF' &&   apt-get update &&   apt install -y -t buster-cran35 r-base r-base-dev &&   rm -rf /var/cache/apt/*' returned a non-zero code: 2
> {code}
> It locally works on Mac.
> {code}
> $ gpg1 --keyserver keys.gnupg.net --recv-key E19F5F87128899B192B1A2C2AD5F960A256A04AF
> gpg: requesting key 256A04AF from hkp server keys.gnupg.net
> gpg: key 256A04AF: public key "Johannes Ranke (Wissenschaftlicher Berater) <jo...@jrwb.de>" imported
> gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
> gpg: depth: 0  valid:   2  signed:   1  trust: 0-, 0q, 0n, 0m, 0f, 2u
> gpg: depth: 1  valid:   1  signed:   0  trust: 1-, 0q, 0n, 0m, 0f, 0u
> gpg: Total number processed: 1
> gpg:               imported: 1  (RSA: 1)
> {code}
> It happens multiple times.
> - https://github.com/apache/spark/pull/30693
> - https://github.com/apache/spark/pull/30694



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org