Closed kaklakariada closed 1 year ago
Running ITDE fails when using docker image exasol/docker-db:prerelease-8.17.0
:
Status: Downloaded newer image for exasol/script-language-container:integration-test-docker-environment-runner-f9698db94e5a533c3b50ea44beffc1aa6c33c291
docker.io/exasol/script-language-container:integration-test-docker-environment-runner-f9698db94e5a533c3b50ea44beffc1aa6c33c291
ERROR - SpawnTestEnvironmentWithDockerDB_4d932b7e4e(job_id=2023_05_11_11_34_27_SpawnTestEnvironmentWithDockerDB, no_cache=False, db_user=sys, create_certificates=False, test_container_content=null, additional_db_parameter=[], environment_name=test, docker_db_image_name=exasol/docker-db, docker_db_image_version=prerelease-8.17.0): Exception in run: invalid literal for int() with base 10: 'prerelease-8'
Traceback (most recent call last):
File "/integration_test_docker_environment/exasol_integration_test_docker_environment/lib/base/base_task.py", line 241, in run
yield from task_generator
File "/integration_test_docker_environment/exasol_integration_test_docker_environment/lib/test_environment/abstract_spawn_test_environment.py", line 39, in run_task
test_environment_info = yield from self._attempt_database_start()
File "/integration_test_docker_environment/exasol_integration_test_docker_environment/lib/test_environment/abstract_spawn_test_environment.py", line 49, in _attempt_database_start
yield from self._start_database(attempt)
File "/integration_test_docker_environment/exasol_integration_test_docker_environment/lib/test_environment/abstract_spawn_test_environment.py", line 147, in _start_database
yield from self._spawn_database_and_test_container(network_info, ssl_volume_info, attempt)
File "/integration_test_docker_environment/exasol_integration_test_docker_environment/lib/test_environment/abstract_spawn_test_environment.py", line 173, in _spawn_database_and_test_container
DATABASE: self.create_spawn_database_task(network_info, certificate_volume_info, attempt)
File "/integration_test_docker_environment/exasol_integration_test_docker_environment/lib/test_environment/spawn_test_environment_with_docker_db.py", line 71, in create_spawn_database_task
self.create_child_task_with_common_params(
File "/integration_test_docker_environment/exasol_integration_test_docker_environment/lib/base/base_task.py", line 336, in create_child_task_with_common_params
return task_class(**params)
File "/usr/local/lib/python3.8/dist-packages/luigi/task_register.py", line 98, in __call__
h[k] = instantiate()
File "/usr/local/lib/python3.8/dist-packages/luigi/task_register.py", line 79, in instantiate
return super(Register, cls).__call__(*args, **kwargs)
File "/integration_test_docker_environment/exasol_integration_test_docker_environment/lib/test_environment/spawn_test_database.py", line 50, in __init__
self.db_version = DbVersion.from_db_version_str(self.docker_db_image_version)
File "/integration_test_docker_environment/exasol_integration_test_docker_environment/lib/test_environment/db_version.py", line 21, in from_db_version_str
version = tuple([int(v) for v in db_version.split(".")])
File "/integration_test_docker_environment/exasol_integration_test_docker_environment/lib/test_environment/db_version.py", line 21, in <listcomp>
version = tuple([int(v) for v in db_version.split(".")])
ValueError: invalid literal for int() with base 10: 'prerelease-8'
ERROR - [pid 21] Worker Worker(salt=183057980, workers=5, host=fv-az587-681, username=root, pid=12) failed SpawnTestEnvironmentWithDockerDB_4d932b7e4e(job_id=2023_05_11_11_34_27_SpawnTestEnvironmentWithDockerDB, no_cache=False, db_user=sys, create_certificates=False, test_container_content=null, additional_db_parameter=[], environment_name=test, docker_db_image_name=exasol/docker-db, docker_db_image_version=prerelease-8.17.0)
When Exasol 8.0 is available on docker hub, we need to upgrade ITDE to use the new release in order to verify everything works with the new release.
Acceptance criteria