laforge has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ci/+/34954?usp=email )
Change subject: repo-install-test: fix ca-certificates-java error
......................................................................
repo-install-test: fix ca-certificates-java error
The repo-install-test started to fail on debian 10 with the following
error. Apparently this happens when installing ca-certificates-java
after installing java. Add a workaround.
Setting up ca-certificates-java (20190405) ...
head: cannot open '/etc/ssl/certs/java/cacerts' for reading: No such file or
directory
Exception in thread "main" java.lang.InternalError: Error loading
java.security file
Change-Id: I00b9c97d9d85fb37ba33a48caa732cd50de99683
---
M scripts/repo-install-test/run-inside.sh
1 file changed, 20 insertions(+), 1 deletion(-)
Approvals:
pespin: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/scripts/repo-install-test/run-inside.sh
b/scripts/repo-install-test/run-inside.sh
index b45d76d..e08338f 100755
--- a/scripts/repo-install-test/run-inside.sh
+++ b/scripts/repo-install-test/run-inside.sh
@@ -185,8 +185,10 @@
case "$DISTRO" in
debian10)
- # Can't access
https://osmocom.org otherwise
+ # libgnutls30: can't access
https://osmocom.org otherwise
+ # ca-certificates-java: fails if installed after java
apt-get install -y --no-install-recommends \
+ ca-certificates-java \
libgnutls30
;;
esac
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ci/+/34954?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I00b9c97d9d85fb37ba33a48caa732cd50de99683
Gerrit-Change-Number: 34954
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged