Uh oh!
There was an error while loading. Please reload this page.
[SPARK-27178][k8s] add nss to the spark/k8s Dockerfile - #24111
Conversation
SparkQA
commented
Mar 15, 2019
Test build #103556 has started for PR 24111 at commit |
SparkQA
commented
Mar 15, 2019
Kubernetes integration test starting |
SparkQA
commented
Mar 15, 2019
Kubernetes integration test status failure |
shaneknapp
commented
Mar 15, 2019
test this please |
SparkQA
commented
Mar 15, 2019
Kubernetes integration test starting |
SparkQA
commented
Mar 15, 2019
Test build #103558 has finished for PR 24111 at commit
|
erikerlandson
commented
Mar 15, 2019
Was this introduced by some other dependency version bump? |
SparkQA
commented
Mar 15, 2019
Kubernetes integration test status success |
shaneknapp
commented
Mar 15, 2019
the only other PR merged that touched k8s after the client bump on wednesday was this one: ...and that doesn't touch anything i care about. :\ since i don't want to ruin my weekend, i will investigate further next week. |
felixcheung
commented
Mar 16, 2019
sun.security - is it running with a new JDK? |
srowen
left a comment
There was a problem hiding this comment.
Seems OK to me, but I don't know much about this.
shaneknapp
commented
Mar 18, 2019
i dunno... it's in the docker container, which is pulling upstream from alpine linux's dockerhub repo. |
markhamstra
commented
Mar 18, 2019
Seems that there is an argument to be made that the Dockerfile should lock down a much more specific version of Alpine and JDK. Using what is essentially a floating tag leaves us guessing any time these dependencies change. |
shaneknapp
commented
Mar 18, 2019
yep, i agree completely. it's not at all where we want to be. three things i will do tomorrow:
sorry, four thing:
:) |
attilapiros
commented
Mar 18, 2019
ping @vanzin |
vanzin
commented
Mar 18, 2019
Actually I wonder if this has been fixed already upstream. Since both the jdk and the base libs come from the base image, it would be a bug in the base image if this library were missing. With the latest openjdk:8-alpine: Not sure if the IT scripts are forcing the image to refresh or use a cached version, though... |
hmm, lemme remove the |
shaneknapp
commented
Mar 18, 2019
ok... so the last time this image on dockerhub was updated was march 1st, which doesn't fit in to our timing of these failures happening. i'm still mildly confused. i'm also wondering if this is something that's minikube-specific... since we're using the convoluted path of minikube -> kvm2 -> docker-machine things may not be behaving as expected. also, i re-tested the integration tests w/nss removed from |
vanzin
commented
Mar 18, 2019
that's weird because "apk info nss" on the bare image shows that it is installed, so this change should be a no op. |
vanzin
commented
Mar 18, 2019
Ah, I think this is it: Now why the upgrade is purging the nss package, I have no idea... seems like a bug in some alpine package (probably the updated openjre 8.201.08-r0), but this seems ok as a workaround. |
shaneknapp
commented
Mar 18, 2019
ok cool. i'll test this one more time and then merge it to master. 2.4.1 will be it's own PR. |
shaneknapp
commented
Mar 18, 2019
test this please |
SparkQA
commented
Mar 18, 2019
Kubernetes integration test starting |
SparkQA
commented
Mar 18, 2019
Test build #103633 has finished for PR 24111 at commit
|
SparkQA
commented
Mar 18, 2019
Kubernetes integration test status success |
shaneknapp
commented
Mar 18, 2019
alright, merging to master. |
shaneknapp
commented
Mar 18, 2019
actually i'm going to wait for a couple of hours just to be sure my access to repos is properly synced. |
## What changes were proposed in this pull request? see also: #24111 while performing some tests on our existing minikube and k8s infrastructure, i noticed that the integration tests were failing. i dug in and discovered the following message buried at the end of the stacktrace: ``` Caused by: java.io.FileNotFoundException: /usr/lib/libnss3.so at sun.security.pkcs11.Secmod.initialize(Secmod.java:193) at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:218) ... 81 more ``` after i added the `nss` package to `resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile`, everything worked. this is also impacting current builds. see: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8959/console ## How was this patch tested? i tested locally before pushing, and the build system will test the rest. Closes#24137 from shaneknapp/add-nss-package. Authored-by: shane knapp <incomplete@gmail.com> Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
see also: apache#24111 while performing some tests on our existing minikube and k8s infrastructure, i noticed that the integration tests were failing. i dug in and discovered the following message buried at the end of the stacktrace: ``` Caused by: java.io.FileNotFoundException: /usr/lib/libnss3.so at sun.security.pkcs11.Secmod.initialize(Secmod.java:193) at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:218) ... 81 more ``` after i added the `nss` package to `resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile`, everything worked. this is also impacting current builds. see: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8959/console i tested locally before pushing, and the build system will test the rest. Closesapache#24137 from shaneknapp/add-nss-package. Authored-by: shane knapp <incomplete@gmail.com> Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
## What changes were proposed in this pull request? see also: apache#24111 while performing some tests on our existing minikube and k8s infrastructure, i noticed that the integration tests were failing. i dug in and discovered the following message buried at the end of the stacktrace: ``` Caused by: java.io.FileNotFoundException: /usr/lib/libnss3.so at sun.security.pkcs11.Secmod.initialize(Secmod.java:193) at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:218) ... 81 more ``` after i added the `nss` package to `resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile`, everything worked. this is also impacting current builds. see: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8959/console ## How was this patch tested? i tested locally before pushing, and the build system will test the rest. Closesapache#24137 from shaneknapp/add-nss-package. Authored-by: shane knapp <incomplete@gmail.com> Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
## What changes were proposed in this pull request? see also: apache#24111 while performing some tests on our existing minikube and k8s infrastructure, i noticed that the integration tests were failing. i dug in and discovered the following message buried at the end of the stacktrace: ``` Caused by: java.io.FileNotFoundException: /usr/lib/libnss3.so at sun.security.pkcs11.Secmod.initialize(Secmod.java:193) at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:218) ... 81 more ``` after i added the `nss` package to `resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile`, everything worked. this is also impacting current builds. see: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8959/console ## How was this patch tested? i tested locally before pushing, and the build system will test the rest. Closesapache#24137 from shaneknapp/add-nss-package. Authored-by: shane knapp <incomplete@gmail.com> Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
## What changes were proposed in this pull request? see also: apache#24111 while performing some tests on our existing minikube and k8s infrastructure, i noticed that the integration tests were failing. i dug in and discovered the following message buried at the end of the stacktrace: ``` Caused by: java.io.FileNotFoundException: /usr/lib/libnss3.so at sun.security.pkcs11.Secmod.initialize(Secmod.java:193) at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:218) ... 81 more ``` after i added the `nss` package to `resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile`, everything worked. this is also impacting current builds. see: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8959/console ## How was this patch tested? i tested locally before pushing, and the build system will test the rest. Closesapache#24137 from shaneknapp/add-nss-package. Authored-by: shane knapp <incomplete@gmail.com> Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
## What changes were proposed in this pull request? see also: apache/spark#24111 while performing some tests on our existing minikube and k8s infrastructure, i noticed that the integration tests were failing. i dug in and discovered the following message buried at the end of the stacktrace: ``` Caused by: java.io.FileNotFoundException: /usr/lib/libnss3.so at sun.security.pkcs11.Secmod.initialize(Secmod.java:193) at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:218) ... 81 more ``` after i added the `nss` package to `resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile`, everything worked. this is also impacting current builds. see: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8959/console ## How was this patch tested? i tested locally before pushing, and the build system will test the rest. Closes #24137 from shaneknapp/add-nss-package. Authored-by: shane knapp <incomplete@gmail.com> Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com> (cherry picked from commit 342e91f)
What changes were proposed in this pull request?
while performing some tests on our existing minikube and k8s infrastructure, i noticed that the integration tests were failing. i dug in and discovered the following message buried at the end of the stacktrace:
after i added the
nsspackage toresource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile, everything worked.this is also impacting current builds. see: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8959/console
How was this patch tested?
i tested locally before pushing, and the build system will test the rest.