scylladb / python-driver-matrix

3 stars 11 forks source link

scylla master with Datastax driver is timing out after 10 hours, since May 15 #58

Closed fruch closed 1 year ago

fruch commented 1 year ago

image

https://jenkins.scylladb.com/job/scylla-master/job/driver-tests/job/python-driver-matrix-test/1265/

on release branches is seems to be o.k.

fruch commented 1 year ago

seems like scylla install is failing not finding java:

[2023-06-14T01:49:58.055Z] 2023-06-14 01:49:57,153 ERROR [common:842]: Command '['bash', '-c', '/home/jenkins/.ccm/scylla-repository/8a54e478bae21305d9a9379ef69b6826962b93c8/scylla-core-package/install.sh --prefix /home/jenkins/.ccm/scylla-repository/8a54e478bae21305d9a9379ef69b6826962b93c8 --nonroot --supervisor --without-systemd']' returned non-zero exit status 1.

[2023-06-14T01:49:58.055Z] 2023-06-14 01:49:57,153 ERROR [common:842]: stdout:

[2023-06-14T01:49:58.055Z] b'Please install openjdk-8 or openjdk-11 before running install.sh.\n'

[2023-06-14T01:49:58.055Z] 2023-06-14 01:49:57,153 ERROR [common:842]: stderr:

[2023-06-14T01:49:58.056Z] b'bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)\n/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)\n/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)\nUnrecognized option: --version\nError: Could not create the Java Virtual Machine.\nError: A fatal exception has occurred. Program will exit.\n'

which is quite weird, since we have java 8 available on the docker image, since always...

fruch commented 1 year ago

oh my... it's so sily

this old version of java doesn't support --version with two dashes, only with one dash

+ exec /usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/java --version
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Docker exitcode: 1

@tchaikov, since we change everything to jvm11, we didn't notice that you can install scylla now if there's jvm8...

fruch commented 1 year ago

raised https://github.com/scylladb/scylladb/issues/14253 but still gonna update this docker with newer jvm

tchaikov commented 1 year ago

thank you Israel! agreed. the better fix is update the docker with java-11. how about keeping this issue open for tracking the docker change?

fruch commented 1 year ago

thank you Israel! agreed. the better fix is update the docker with java-11. how about keeping this issue open for tracking the docker change?

changing the image in: