Closed fruch closed 1 year ago
created #454 so we can undo this once the related issues on upstream (botocore and requests) are addressed.
the test failed:
2023-05-09 14:35:02 INFO ['./ccm', 'create', 'CCMCluster-cassandra', '-v', '3.11.4', '-n', '1']
2023-05-09 14:35:02 DEBUG [stdout] Current cluster is now: CCMCluster-cassandra
2023-05-09 14:35:02 DEBUG [stderr]
2023-05-09 14:35:02 INFO ['./ccm', 'updateconf', 'read_request_timeout_in_ms:[100](https://github.com/scylladb/scylla-ccm/actions/runs/4926279591/jobs/8803175292?pr=453#step:9:101)00', 'range_request_timeout_in_ms:10000', 'write_request_timeout_in_ms:10000', 'truncate_request_timeout_in_ms:10000', 'request_timeout_in_ms:10000']
2023-05-09 14:35:03 DEBUG [stdout]
2023-05-09 14:35:03 DEBUG [stderr]
2023-05-09 14:35:03 INFO ['./ccm', 'start', '--wait-for-binary-proto']
2023-05-09 14:35:03 DEBUG [stdout] [node1 ERROR] Unable to find java executable. Check JAVA_HOME and PATH environment variables.
2023-05-09 14:35:03 DEBUG [stderr] Error starting nodes, see above for details (you can use --verbose for more information)
Error: -09 14:35:03 ERROR [ERROR] Error starting nodes, see above for details (you can use --verbose for more information)
created #454 so we can undo this once the related issues on upstream (botocore and requests) are addressed.
Thanks, you are correct we shouldn't leave forever
the test failed:
2023-05-09 14:35:02 INFO ['./ccm', 'create', 'CCMCluster-cassandra', '-v', '3.11.4', '-n', '1'] 2023-05-09 14:35:02 DEBUG [stdout] Current cluster is now: CCMCluster-cassandra 2023-05-09 14:35:02 DEBUG [stderr] 2023-05-09 14:35:02 INFO ['./ccm', 'updateconf', 'read_request_timeout_in_ms:[100](https://github.com/scylladb/scylla-ccm/actions/runs/4926279591/jobs/8803175292?pr=453#step:9:101)00', 'range_request_timeout_in_ms:10000', 'write_request_timeout_in_ms:10000', 'truncate_request_timeout_in_ms:10000', 'request_timeout_in_ms:10000'] 2023-05-09 14:35:03 DEBUG [stdout] 2023-05-09 14:35:03 DEBUG [stderr] 2023-05-09 14:35:03 INFO ['./ccm', 'start', '--wait-for-binary-proto'] 2023-05-09 14:35:03 DEBUG [stdout] [node1 ERROR] Unable to find java executable. Check JAVA_HOME and PATH environment variables. 2023-05-09 14:35:03 DEBUG [stderr] Error starting nodes, see above for details (you can use --verbose for more information) Error: -09 14:35:03 ERROR [ERROR] Error starting nodes, see above for details (you can use --verbose for more information)
Yeah, I didn't have time to look at it.
Doesn't seem to be related to the installation issue, maybe to the change of using java8, but still I would expect it to fail more than one test (or we are stopping at first failure ðŸ˜)
the test failed:
2023-05-09 14:35:02 INFO ['./ccm', 'create', 'CCMCluster-cassandra', '-v', '3.11.4', '-n', '1'] 2023-05-09 14:35:02 DEBUG [stdout] Current cluster is now: CCMCluster-cassandra 2023-05-09 14:35:02 DEBUG [stderr] 2023-05-09 14:35:02 INFO ['./ccm', 'updateconf', 'read_request_timeout_in_ms:[100](https://github.com/scylladb/scylla-ccm/actions/runs/4926279591/jobs/8803175292?pr=453#step:9:101)00', 'range_request_timeout_in_ms:10000', 'write_request_timeout_in_ms:10000', 'truncate_request_timeout_in_ms:10000', 'request_timeout_in_ms:10000'] 2023-05-09 14:35:03 DEBUG [stdout] 2023-05-09 14:35:03 DEBUG [stderr] 2023-05-09 14:35:03 INFO ['./ccm', 'start', '--wait-for-binary-proto'] 2023-05-09 14:35:03 DEBUG [stdout] [node1 ERROR] Unable to find java executable. Check JAVA_HOME and PATH environment variables. 2023-05-09 14:35:03 DEBUG [stderr] Error starting nodes, see above for details (you can use --verbose for more information) Error: -09 14:35:03 ERROR [ERROR] Error starting nodes, see above for details (you can use --verbose for more information)
Yeah, I didn't have time to look at it.
Doesn't seem to be related to the installation issue, maybe to the change of using java8, but still I would expect it to fail more than one test (or we are stopping at first failure sob)
hi @fruch , is it possible that we fail to detect the java runtime installed by https://github.com/scylladb/scylla-ccm/blob/66e9b4c28f7e72a27acfec6928233cb767f461e5/.github/workflows/integration-tests.yml#L33 ? as in 66e9b4c28f7e72a27acfec6928233cb767f461e5, we only check for the well-known directories. which are the directories used by the debian / fedora packages. but the workflow of "setup-java" installs the runtime into somewhere else: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/8.0.362-9/x64
. see https://github.com/scylladb/scylla-ccm/actions/runs/4926279591/jobs/8803175292#step:5:30 . shall we add this directory to the list of https://github.com/scylladb/scylla-ccm/blob/66e9b4c28f7e72a27acfec6928233cb767f461e5/ccmlib/common.py#L254 ?
the test failed:
2023-05-09 14:35:02 INFO ['./ccm', 'create', 'CCMCluster-cassandra', '-v', '3.11.4', '-n', '1'] 2023-05-09 14:35:02 DEBUG [stdout] Current cluster is now: CCMCluster-cassandra 2023-05-09 14:35:02 DEBUG [stderr] 2023-05-09 14:35:02 INFO ['./ccm', 'updateconf', 'read_request_timeout_in_ms:[100](https://github.com/scylladb/scylla-ccm/actions/runs/4926279591/jobs/8803175292?pr=453#step:9:101)00', 'range_request_timeout_in_ms:10000', 'write_request_timeout_in_ms:10000', 'truncate_request_timeout_in_ms:10000', 'request_timeout_in_ms:10000'] 2023-05-09 14:35:03 DEBUG [stdout] 2023-05-09 14:35:03 DEBUG [stderr] 2023-05-09 14:35:03 INFO ['./ccm', 'start', '--wait-for-binary-proto'] 2023-05-09 14:35:03 DEBUG [stdout] [node1 ERROR] Unable to find java executable. Check JAVA_HOME and PATH environment variables. 2023-05-09 14:35:03 DEBUG [stderr] Error starting nodes, see above for details (you can use --verbose for more information) Error: -09 14:35:03 ERROR [ERROR] Error starting nodes, see above for details (you can use --verbose for more information)
Yeah, I didn't have time to look at it.
Doesn't seem to be related to the installation issue, maybe to the change of using java8, but still I would expect it to fail more than one test (or we are stopping at first failure sob)
hi @fruch , is it possible that we fail to detect the java runtime installed by https://github.com/scylladb/scylla-ccm/blob/66e9b4c28f7e72a27acfec6928233cb767f461e5/.github/workflows/integration-tests.yml#L33 ? as in 66e9b4c28f7e72a27acfec6928233cb767f461e5, we only check for the well-known directories. which are the directories used by the debian / fedora packages. but the workflow of "setup-java" installs the runtime into somewhere else:
/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/8.0.362-9/x64
. see https://github.com/scylladb/scylla-ccm/actions/runs/4926279591/jobs/8803175292#step:5:30 . shall we add this directory to the list of https://github.com/scylladb/scylla-ccm/blob/66e9b4c28f7e72a27acfec6928233cb767f461e5/ccmlib/common.py#L254 ?
The failing case trys to run cassandra, not scylla
the test failed:
2023-05-09 14:35:02 INFO ['./ccm', 'create', 'CCMCluster-cassandra', '-v', '3.11.4', '-n', '1'] 2023-05-09 14:35:02 DEBUG [stdout] Current cluster is now: CCMCluster-cassandra 2023-05-09 14:35:02 DEBUG [stderr] 2023-05-09 14:35:02 INFO ['./ccm', 'updateconf', 'read_request_timeout_in_ms:[100](https://github.com/scylladb/scylla-ccm/actions/runs/4926279591/jobs/8803175292?pr=453#step:9:101)00', 'range_request_timeout_in_ms:10000', 'write_request_timeout_in_ms:10000', 'truncate_request_timeout_in_ms:10000', 'request_timeout_in_ms:10000'] 2023-05-09 14:35:03 DEBUG [stdout] 2023-05-09 14:35:03 DEBUG [stderr] 2023-05-09 14:35:03 INFO ['./ccm', 'start', '--wait-for-binary-proto'] 2023-05-09 14:35:03 DEBUG [stdout] [node1 ERROR] Unable to find java executable. Check JAVA_HOME and PATH environment variables. 2023-05-09 14:35:03 DEBUG [stderr] Error starting nodes, see above for details (you can use --verbose for more information) Error: -09 14:35:03 ERROR [ERROR] Error starting nodes, see above for details (you can use --verbose for more information)
Yeah, I didn't have time to look at it.
Doesn't seem to be related to the installation issue, maybe to the change of using java8, but still I would expect it to fail more than one test (or we are stopping at first failure sob)
hi @fruch , is it possible that we fail to detect the java runtime installed by https://github.com/scylladb/scylla-ccm/blob/66e9b4c28f7e72a27acfec6928233cb767f461e5/.github/workflows/integration-tests.yml#L33 ? as in 66e9b4c28f7e72a27acfec6928233cb767f461e5, we only check for the well-known directories. which are the directories used by the debian / fedora packages. but the workflow of "setup-java" installs the runtime into somewhere else:
/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/8.0.362-9/x64
. see https://github.com/scylladb/scylla-ccm/actions/runs/4926279591/jobs/8803175292#step:5:30 . shall we add this directory to the list of https://github.com/scylladb/scylla-ccm/blob/66e9b4c28f7e72a27acfec6928233cb767f461e5/ccmlib/common.py#L254 ?The failing case trys to run cassandra, not scylla
And I've forgotten you convinced me to not use alternatives command line...
Yeah that is the root cause, and I didn't notice it.
I decided to merge this first, and then handle the CI breakage
Look like new version of requests is pulling newer versions of urllib3 which are not comptible with botocore.
Ref: https://github.com/boto/botocore/issues/2926 Ref: https://github.com/psf/requests/issues/6443 Ref: https://github.com/urllib3/urllib3/issues/2168