-
Notifications
You must be signed in to change notification settings - Fork 28.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-27178][k8s] add nss to the spark/k8s Dockerfile #24111
Conversation
Test build #103556 has started for PR 24111 at commit |
Kubernetes integration test starting |
Kubernetes integration test status failure |
test this please |
Kubernetes integration test starting |
Test build #103558 has finished for PR 24111 at commit
|
Was this introduced by some other dependency version bump? |
Kubernetes integration test status success |
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. |
sun.security - is it running with a new JDK? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems OK to me, but I don't know much about this.
i dunno... it's in the docker container, which is pulling upstream from alpine linux's dockerhub repo. |
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. |
yep, i agree completely. it's not at all where we want to be. three things i will do tomorrow:
sorry, four thing:
:) |
ping @vanzin |
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 |
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 |
that's weird because "apk info nss" on the bare image shows that it is installed, so this change should be a no op.
|
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. |
ok cool. i'll test this one more time and then merge it to master. 2.4.1 will be it's own PR. |
test this please |
Kubernetes integration test starting |
Test build #103633 has finished for PR 24111 at commit
|
Kubernetes integration test status success |
alright, merging to master. |
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 <[email protected]> Signed-off-by: Marcelo Vanzin <[email protected]>
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. Closes apache#24137 from shaneknapp/add-nss-package. Authored-by: shane knapp <[email protected]> Signed-off-by: Marcelo Vanzin <[email protected]>
## 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. Closes apache#24137 from shaneknapp/add-nss-package. Authored-by: shane knapp <[email protected]> Signed-off-by: Marcelo Vanzin <[email protected]>
## 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. Closes apache#24137 from shaneknapp/add-nss-package. Authored-by: shane knapp <[email protected]> Signed-off-by: Marcelo Vanzin <[email protected]>
## 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. Closes apache#24137 from shaneknapp/add-nss-package. Authored-by: shane knapp <[email protected]> Signed-off-by: Marcelo Vanzin <[email protected]>
## 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 <[email protected]> Signed-off-by: Marcelo Vanzin <[email protected]> (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
nss
package 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.