Commit 144753c7 authored by sangeetha's avatar sangeetha

updated arguments changes

parent a4a5501c
......@@ -8,6 +8,7 @@ import logging
import os
import shutil
import sys
from typing import List
import git
import gitlab
......@@ -148,20 +149,12 @@ if __name__ == '__main__':
help="Client Name Tag"
)
ap.add_argument(
"--git_repos",
"-gr",
"--module_details",
"-md",
required=False,
default=None,
help="Git repos to be added in helm",
nargs="+"
)
ap.add_argument(
"--module_names",
"-mn",
required=False,
default=None,
help="Module names to be added in helm",
nargs="+"
type=json.loads,
help="Module details to be added in helm",
)
ap.add_argument(
"--exclude_files",
......@@ -175,11 +168,10 @@ if __name__ == '__main__':
_ilens_version = arguments["ilens_version"]
_release_version = arguments["release_version"]
_client_name = arguments['client_name']
_git_repos = arguments["git_repos"]
_module_names = arguments["module_names"]
_module_details = arguments['module_details']
_exclude_files = arguments["exclude_files"]
if not _ilens_version or not _release_version or not _client_name or not (_git_repos or _module_names) or not global_configmap:
print("global_configmap, git_repos, module_names, client_name, ilens_version and release_version details not found!!!!!")
if not _ilens_version or not _release_version or not _client_name or not _module_details or not global_configmap:
print("global_configmap, module_details, client_name, ilens_version and release_version details not found!!!!!")
sys.exit()
_branch = f"{_client_name}_{_ilens_version}.{_release_version}"
try:
......@@ -188,10 +180,9 @@ if __name__ == '__main__':
sys.exit()
with open("config.json", "r") as f:
data = json.load(f)
if _git_repos:
data['git_modules'] = [x for x in data['git_modules'] if x['git_link'] in _git_repos]
else:
data['git_modules'] = [x for x in data['git_modules'] if x['module_name'] in _module_names]
_git_repos = [x['git_link'] for x in _module_details if x.get('git_link')]
_module_names = [x['module_name'] for x in _module_details if x.get('module_name')]
data['git_modules'] = [x for x in data['git_modules'] if (x['module_name'] in _module_names) or (x['git_link'] in _git_repos)]
global_config_data = convert_yaml_to_json(global_configmap)
remove_all_files_from_repo(exclude_file=_exclude_files)
for _data in data.get('git_modules'):
......@@ -203,7 +194,7 @@ if __name__ == '__main__':
module_path = os.path.join("tmp")
module_name = _data['module_name']
module_name = _data.get('module_name') or git_link.split("/")[-1].split(".git")
module_path = os.path.join(module_path, module_name)
if not os.path.exists(module_path):
os.makedirs(module_path)
......
2022-09-21 23:25:42 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-21 23:25:43 - INFO - [MainThread:serve():75] - Started server process [15712]
2022-09-21 23:25:43 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-21 23:25:43 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-21 23:25:43 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-21 23:31:47 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-21 23:31:47 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-21 23:31:47 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-21 23:31:47 - INFO - [MainThread:serve():85] - Finished server process [15712]
2022-09-21 23:48:35 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-21 23:48:35 - INFO - [MainThread:serve():75] - Started server process [17736]
2022-09-21 23:48:35 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-21 23:48:43 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-21 23:48:43 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-21 23:51:33 - ERROR - [MainThread:run_asgi():409] - Exception in ASGI application
Traceback (most recent call last):
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 404, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__
return await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\applications.py", line 212, in __call__
await super().__call__(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\applications.py", line 124, in __call__
await self.middleware_stack(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 92, in __call__
await self.simple_response(scope, receive, send, request_headers=headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 147, in simple_response
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 75, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 64, in __call__
await self.app(scope, receive, sender)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 680, in __call__
await route.handle(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 275, in handle
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 65, in app
response = await func(request)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\routing.py", line 216, in app
solved_result = await solve_dependencies(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\dependencies\utils.py", line 465, in solve_dependencies
response = response or Response(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 55, in __init__
self.init_headers(headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 84, in init_headers
and not (self.status_code < 200 or self.status_code in (204, 304))
TypeError: '<' not supported between instances of 'NoneType' and 'int'
2022-09-21 23:51:49 - ERROR - [MainThread:run_asgi():409] - Exception in ASGI application
Traceback (most recent call last):
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 404, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__
return await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\applications.py", line 212, in __call__
await super().__call__(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\applications.py", line 124, in __call__
await self.middleware_stack(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 92, in __call__
await self.simple_response(scope, receive, send, request_headers=headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 147, in simple_response
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 75, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 64, in __call__
await self.app(scope, receive, sender)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 680, in __call__
await route.handle(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 275, in handle
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 65, in app
response = await func(request)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\routing.py", line 216, in app
solved_result = await solve_dependencies(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\dependencies\utils.py", line 465, in solve_dependencies
response = response or Response(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 55, in __init__
self.init_headers(headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 84, in init_headers
and not (self.status_code < 200 or self.status_code in (204, 304))
TypeError: '<' not supported between instances of 'NoneType' and 'int'
2022-09-21 23:52:07 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-21 23:52:08 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-21 23:52:08 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-21 23:52:08 - INFO - [MainThread:serve():85] - Finished server process [17736]
2022-09-21 23:52:15 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-21 23:52:15 - INFO - [MainThread:serve():75] - Started server process [7504]
2022-09-21 23:52:15 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-21 23:52:15 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-21 23:52:15 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-21 23:52:20 - ERROR - [MainThread:run_asgi():409] - Exception in ASGI application
Traceback (most recent call last):
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 404, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__
return await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\applications.py", line 212, in __call__
await super().__call__(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\applications.py", line 124, in __call__
await self.middleware_stack(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 92, in __call__
await self.simple_response(scope, receive, send, request_headers=headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 147, in simple_response
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 75, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 64, in __call__
await self.app(scope, receive, sender)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 680, in __call__
await route.handle(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 275, in handle
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 65, in app
response = await func(request)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\routing.py", line 216, in app
solved_result = await solve_dependencies(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\dependencies\utils.py", line 465, in solve_dependencies
response = response or Response(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 55, in __init__
self.init_headers(headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 84, in init_headers
and not (self.status_code < 200 or self.status_code in (204, 304))
TypeError: '<' not supported between instances of 'NoneType' and 'int'
2022-09-21 23:53:36 - ERROR - [MainThread:run_asgi():409] - Exception in ASGI application
Traceback (most recent call last):
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 404, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__
return await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\applications.py", line 212, in __call__
await super().__call__(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\applications.py", line 124, in __call__
await self.middleware_stack(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 92, in __call__
await self.simple_response(scope, receive, send, request_headers=headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 147, in simple_response
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 75, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 64, in __call__
await self.app(scope, receive, sender)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 680, in __call__
await route.handle(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 275, in handle
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 65, in app
response = await func(request)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\routing.py", line 216, in app
solved_result = await solve_dependencies(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\dependencies\utils.py", line 465, in solve_dependencies
response = response or Response(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 55, in __init__
self.init_headers(headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 84, in init_headers
and not (self.status_code < 200 or self.status_code in (204, 304))
TypeError: '<' not supported between instances of 'NoneType' and 'int'
2022-09-21 23:55:17 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-21 23:55:17 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-21 23:55:17 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-21 23:55:17 - INFO - [MainThread:serve():85] - Finished server process [7504]
2022-09-21 23:56:39 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-21 23:56:39 - INFO - [MainThread:serve():75] - Started server process [17264]
2022-09-21 23:56:39 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-21 23:56:39 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-21 23:56:39 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-21 23:57:04 - ERROR - [MainThread:run_asgi():409] - Exception in ASGI application
Traceback (most recent call last):
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 404, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "D:\Anaconda3\envs\latest_python\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__
return await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\applications.py", line 212, in __call__
await super().__call__(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\applications.py", line 124, in __call__
await self.middleware_stack(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 92, in __call__
await self.simple_response(scope, receive, send, request_headers=headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\cors.py", line 147, in simple_response
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 75, in __call__
raise exc
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\middleware\exceptions.py", line 64, in __call__
await self.app(scope, receive, sender)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 680, in __call__
await route.handle(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 275, in handle
await self.app(scope, receive, send)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\routing.py", line 65, in app
response = await func(request)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\routing.py", line 216, in app
solved_result = await solve_dependencies(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\fastapi\dependencies\utils.py", line 465, in solve_dependencies
response = response or Response(
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 55, in __init__
self.init_headers(headers)
File "D:\Anaconda3\envs\latest_python\lib\site-packages\starlette\responses.py", line 84, in init_headers
and not (self.status_code < 200 or self.status_code in (204, 304))
TypeError: '<' not supported between instances of 'NoneType' and 'int'
2022-09-21 23:58:37 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-21 23:58:37 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-21 23:58:37 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-21 23:58:37 - INFO - [MainThread:serve():85] - Finished server process [17264]
2022-09-21 23:58:43 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-21 23:58:44 - INFO - [MainThread:serve():75] - Started server process [17436]
2022-09-21 23:58:44 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-21 23:58:44 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-21 23:58:44 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:06:29 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:06:29 - INFO - [MainThread:shutdown():271] - Waiting for connections to close. (CTRL+C to force quit)
2022-09-22 00:06:34 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:06:34 - INFO - [MainThread:serve():75] - Started server process [10096]
2022-09-22 00:06:34 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:06:34 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:06:34 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:07:05 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:07:05 - INFO - [MainThread:shutdown():271] - Waiting for connections to close. (CTRL+C to force quit)
2022-09-22 00:07:12 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:07:12 - INFO - [MainThread:serve():75] - Started server process [18108]
2022-09-22 00:07:12 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:07:12 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:07:12 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:08:07 - ERROR - [AnyIO worker thread:read_data_from_db():45] - 'ILensVersionHandler' object has no attribute 'table'
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 33, in read_data_from_db
db.query(self.table).filter(
AttributeError: 'ILensVersionHandler' object has no attribute 'table'
2022-09-22 00:08:36 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:08:40 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:08:40 - INFO - [MainThread:serve():75] - Started server process [12188]
2022-09-22 00:08:40 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:08:40 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:08:40 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:12:06 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:12:06 - INFO - [MainThread:shutdown():271] - Waiting for connections to close. (CTRL+C to force quit)
2022-09-22 00:12:11 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:12:11 - INFO - [MainThread:serve():75] - Started server process [1060]
2022-09-22 00:12:11 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:12:11 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:12:11 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:13:19 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:13:24 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:13:24 - INFO - [MainThread:serve():75] - Started server process [18216]
2022-09-22 00:13:24 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:13:24 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:13:24 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:19:00 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:19:00 - INFO - [MainThread:shutdown():271] - Waiting for connections to close. (CTRL+C to force quit)
2022-09-22 00:19:06 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:19:06 - INFO - [MainThread:serve():75] - Started server process [17204]
2022-09-22 00:19:06 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:19:06 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:19:06 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:20:34 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:20:38 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:20:38 - INFO - [MainThread:serve():75] - Started server process [12280]
2022-09-22 00:20:38 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:20:38 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:20:38 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:20:44 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:20:48 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:20:48 - INFO - [MainThread:serve():75] - Started server process [17100]
2022-09-22 00:20:48 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:20:48 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:20:48 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:21:13 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:21:17 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:21:17 - INFO - [MainThread:serve():75] - Started server process [10472]
2022-09-22 00:21:17 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:21:17 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:21:17 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 00:22:24 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 00:22:24 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-22 00:22:24 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-22 00:22:24 - INFO - [MainThread:serve():85] - Finished server process [10472]
2022-09-22 00:22:26 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 00:22:26 - INFO - [MainThread:serve():75] - Started server process [17968]
2022-09-22 00:22:26 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 00:22:26 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 00:22:26 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 10:47:14 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 10:47:14 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-22 10:47:14 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-22 10:47:14 - INFO - [MainThread:serve():85] - Finished server process [17968]
2022-09-22 11:48:25 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 11:48:25 - INFO - [MainThread:serve():75] - Started server process [19860]
2022-09-22 11:48:25 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 11:48:25 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 11:48:25 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 11:50:48 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 11:50:48 - INFO - [MainThread:shutdown():271] - Waiting for connections to close. (CTRL+C to force quit)
2022-09-22 11:50:57 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 11:50:57 - INFO - [MainThread:serve():75] - Started server process [7008]
2022-09-22 11:50:57 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 11:50:57 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 11:50:57 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 11:55:08 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 11:55:08 - INFO - [MainThread:serve():75] - Started server process [20896]
2022-09-22 11:55:08 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 11:55:08 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 11:55:08 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 11:56:41 - ERROR - [AnyIO worker thread:get_data_by_module_name():61] - Boolean value of this clause is not defined
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\db\psql\ilens_version_table.py", line 51, in get_data_by_module_name
if data := select(*self.table.__table__.columns,
File "D:\Anaconda3\envs\latest_python\lib\site-packages\sqlalchemy\sql\elements.py", line 590, in __bool__
raise TypeError("Boolean value of this clause is not defined")
TypeError: Boolean value of this clause is not defined
2022-09-22 11:56:41 - ERROR - [AnyIO worker thread:get_module_versions():42] - Exception Occurred while getting the record in db ('Boolean value of this clause is not defined',)
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 36, in get_module_versions
existing_data := ilens_version_db.get_data_by_module_name(
File "D:\year_2021\dec\helm-script\scripts\db\psql\ilens_version_table.py", line 51, in get_data_by_module_name
if data := select(*self.table.__table__.columns,
File "D:\Anaconda3\envs\latest_python\lib\site-packages\sqlalchemy\sql\elements.py", line 590, in __bool__
raise TypeError("Boolean value of this clause is not defined")
TypeError: Boolean value of this clause is not defined
2022-09-22 11:56:41 - ERROR - [AnyIO worker thread:get_increment_version_release():28] - Exception occurred while updating the tag version ('Boolean value of this clause is not defined',)
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\services\__init__.py", line 26, in get_increment_version_release
return db_handler.get_module_versions(input_data, db)
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 36, in get_module_versions
existing_data := ilens_version_db.get_data_by_module_name(
File "D:\year_2021\dec\helm-script\scripts\db\psql\ilens_version_table.py", line 51, in get_data_by_module_name
if data := select(*self.table.__table__.columns,
File "D:\Anaconda3\envs\latest_python\lib\site-packages\sqlalchemy\sql\elements.py", line 590, in __bool__
raise TypeError("Boolean value of this clause is not defined")
TypeError: Boolean value of this clause is not defined
2022-09-22 11:56:54 - ERROR - [AnyIO worker thread:get_data_by_module_name():61] - Boolean value of this clause is not defined
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\db\psql\ilens_version_table.py", line 51, in get_data_by_module_name
if data := select(*self.table.__table__.columns,
File "D:\Anaconda3\envs\latest_python\lib\site-packages\sqlalchemy\sql\elements.py", line 590, in __bool__
raise TypeError("Boolean value of this clause is not defined")
TypeError: Boolean value of this clause is not defined
2022-09-22 11:56:54 - ERROR - [AnyIO worker thread:get_module_versions():42] - Exception Occurred while getting the record in db ('Boolean value of this clause is not defined',)
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 36, in get_module_versions
existing_data := ilens_version_db.get_data_by_module_name(
File "D:\year_2021\dec\helm-script\scripts\db\psql\ilens_version_table.py", line 51, in get_data_by_module_name
if data := select(*self.table.__table__.columns,
File "D:\Anaconda3\envs\latest_python\lib\site-packages\sqlalchemy\sql\elements.py", line 590, in __bool__
raise TypeError("Boolean value of this clause is not defined")
TypeError: Boolean value of this clause is not defined
2022-09-22 11:56:54 - ERROR - [AnyIO worker thread:get_increment_version_release():28] - Exception occurred while updating the tag version ('Boolean value of this clause is not defined',)
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\services\__init__.py", line 26, in get_increment_version_release
return db_handler.get_module_versions(input_data, db)
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 36, in get_module_versions
existing_data := ilens_version_db.get_data_by_module_name(
File "D:\year_2021\dec\helm-script\scripts\db\psql\ilens_version_table.py", line 51, in get_data_by_module_name
if data := select(*self.table.__table__.columns,
File "D:\Anaconda3\envs\latest_python\lib\site-packages\sqlalchemy\sql\elements.py", line 590, in __bool__
raise TypeError("Boolean value of this clause is not defined")
TypeError: Boolean value of this clause is not defined
2022-09-22 11:57:29 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 11:57:29 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-22 11:57:29 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-22 11:57:29 - INFO - [MainThread:serve():85] - Finished server process [20896]
2022-09-22 11:57:33 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 11:57:33 - INFO - [MainThread:serve():75] - Started server process [21280]
2022-09-22 11:57:33 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 11:57:33 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 11:57:33 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 12:04:30 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 12:04:34 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 12:04:34 - INFO - [MainThread:serve():75] - Started server process [9344]
2022-09-22 12:04:34 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 12:04:34 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 12:04:34 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 12:28:41 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 12:28:41 - INFO - [MainThread:shutdown():271] - Waiting for connections to close. (CTRL+C to force quit)
2022-09-22 12:28:46 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 12:28:46 - INFO - [MainThread:serve():75] - Started server process [4496]
2022-09-22 12:28:46 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 12:28:46 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 12:28:46 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 12:46:02 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 12:46:07 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 12:46:07 - INFO - [MainThread:serve():75] - Started server process [14656]
2022-09-22 12:46:07 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 12:46:07 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 12:46:07 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 13:45:05 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 13:45:10 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 13:45:10 - INFO - [MainThread:serve():75] - Started server process [5596]
2022-09-22 13:45:10 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 13:45:10 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 13:45:10 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 13:53:19 - ERROR - [AnyIO worker thread:update_module_versions():39] - Exception Occurred while updating the record in db ("'dict' object has no attribute 'dict'",)
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 36, in update_module_versions
return ilens_version_db.add_module_version_record(insert_record=TableInsertSchema(**existing_data.dict()))
AttributeError: 'dict' object has no attribute 'dict'
2022-09-22 13:53:19 - ERROR - [AnyIO worker thread:increment_version_release():18] - Exception occurred while updating the tag version ("'dict' object has no attribute 'dict'",)
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\services\__init__.py", line 16, in increment_version_release
return db_handler.update_module_versions(input_data, db)
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 36, in update_module_versions
return ilens_version_db.add_module_version_record(insert_record=TableInsertSchema(**existing_data.dict()))
AttributeError: 'dict' object has no attribute 'dict'
2022-09-22 13:56:25 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 13:56:31 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 13:56:31 - INFO - [MainThread:serve():75] - Started server process [11232]
2022-09-22 13:56:31 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 13:56:31 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 13:56:31 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 13:58:52 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 13:58:52 - INFO - [MainThread:serve():75] - Started server process [2744]
2022-09-22 13:58:52 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 13:58:52 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 13:58:52 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 13:58:57 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 13:59:00 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 13:59:00 - INFO - [MainThread:serve():75] - Started server process [15576]
2022-09-22 13:59:00 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 13:59:00 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 13:59:00 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 13:59:03 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 13:59:06 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 13:59:06 - INFO - [MainThread:serve():75] - Started server process [2004]
2022-09-22 13:59:06 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 13:59:06 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 13:59:06 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 13:59:35 - ERROR - [AnyIO worker thread:update_module_versions():43] - Exception Occurred while updating the record in db ("'dict' object has no attribute 'dict'",)
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 40, in update_module_versions
return ilens_version_db.add_module_version_record(insert_record=TableInsertSchema(**existing_data.dict()))
AttributeError: 'dict' object has no attribute 'dict'
2022-09-22 13:59:35 - ERROR - [AnyIO worker thread:increment_version_release():18] - Exception occurred while updating the tag version ("'dict' object has no attribute 'dict'",)
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\services\__init__.py", line 16, in increment_version_release
return db_handler.update_module_versions(input_data, db)
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 40, in update_module_versions
return ilens_version_db.add_module_version_record(insert_record=TableInsertSchema(**existing_data.dict()))
AttributeError: 'dict' object has no attribute 'dict'
2022-09-22 13:59:49 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 13:59:52 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 13:59:52 - INFO - [MainThread:serve():75] - Started server process [20144]
2022-09-22 13:59:52 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 13:59:52 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 13:59:52 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 14:01:58 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 14:02:01 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 14:02:01 - INFO - [MainThread:serve():75] - Started server process [18200]
2022-09-22 14:02:01 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 14:02:01 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 14:02:01 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 14:03:21 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 14:03:25 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 14:03:25 - INFO - [MainThread:serve():75] - Started server process [6920]
2022-09-22 14:03:25 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 14:03:25 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 14:03:25 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 14:03:53 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 14:03:57 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 14:03:57 - INFO - [MainThread:serve():75] - Started server process [19888]
2022-09-22 14:03:57 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 14:03:57 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 14:03:57 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 14:05:32 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 14:05:32 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-22 14:05:32 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-22 14:05:32 - INFO - [MainThread:serve():85] - Finished server process [19888]
2022-09-22 14:05:36 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 14:05:36 - INFO - [MainThread:serve():75] - Started server process [2112]
2022-09-22 14:05:36 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 14:05:36 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 14:05:36 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 14:12:57 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 14:13:01 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 14:13:01 - INFO - [MainThread:serve():75] - Started server process [20600]
2022-09-22 14:13:01 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 14:13:01 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 14:13:01 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 14:17:02 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 14:17:03 - INFO - [MainThread:shutdown():271] - Waiting for connections to close. (CTRL+C to force quit)
2022-09-22 14:17:32 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 14:17:33 - INFO - [MainThread:serve():75] - Started server process [6876]
2022-09-22 14:17:33 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 14:17:33 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 14:17:33 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 14:18:56 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 14:18:59 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 14:19:00 - INFO - [MainThread:serve():75] - Started server process [12480]
2022-09-22 14:19:00 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 14:19:00 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 14:19:00 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 15:44:11 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 15:44:11 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-22 15:44:11 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-22 15:44:11 - INFO - [MainThread:serve():85] - Finished server process [12480]
2022-09-22 15:44:14 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 15:44:14 - INFO - [MainThread:serve():75] - Started server process [5352]
2022-09-22 15:44:14 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 15:44:14 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 15:44:14 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 16:52:09 - ERROR - [MainThread:read_data_from_db():42] - 'Depends' object has no attribute 'query'
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\db\psql\ilens_version_table.py", line 29, in read_data_from_db
if data := (db.query(self.table).order_by(desc(self.table.ilens_version), desc(self.table.release_version),
AttributeError: 'Depends' object has no attribute 'query'
2022-09-22 16:52:20 - ERROR - [MainThread:get_module_versions():66] - Exception Occurred while getting the record in db ("'Depends' object has no attribute 'query'",)
Traceback (most recent call last):
File "D:\year_2021\dec\helm-script\scripts\core\__init__.py", line 62, in get_module_versions
if existing_data := ilens_version_db.read_data_from_db(input_data=GetRequest(**input_data.dict()),
File "D:\year_2021\dec\helm-script\scripts\db\psql\ilens_version_table.py", line 29, in read_data_from_db
if data := (db.query(self.table).order_by(desc(self.table.ilens_version), desc(self.table.release_version),
AttributeError: 'Depends' object has no attribute 'query'
2022-09-22 16:57:00 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 16:57:01 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-22 16:57:01 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-22 16:57:01 - INFO - [MainThread:serve():85] - Finished server process [5352]
2022-09-22 17:02:38 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 17:02:38 - INFO - [MainThread:serve():75] - Started server process [17400]
2022-09-22 17:02:38 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 17:02:38 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 17:02:38 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 17:04:29 - INFO - [MainThread:shutdown():253] - Shutting down
2022-09-22 17:04:29 - INFO - [MainThread:shutdown():66] - Waiting for application shutdown.
2022-09-22 17:04:29 - INFO - [MainThread:shutdown():77] - Application shutdown complete.
2022-09-22 17:04:29 - INFO - [MainThread:serve():85] - Finished server process [17400]
2022-09-22 17:04:34 - INFO - [MainThread:<module>():35] - App Starting at 0.0.0.0:3973
2022-09-22 17:04:34 - INFO - [MainThread:serve():75] - Started server process [14984]
2022-09-22 17:04:34 - INFO - [MainThread:startup():47] - Waiting for application startup.
2022-09-22 17:04:34 - INFO - [MainThread:startup():61] - Application startup complete.
2022-09-22 17:04:34 - INFO - [MainThread:_log_started_message():207] - Uvicorn running on http://0.0.0.0:3973 (Press CTRL+C to quit)
2022-09-22 19:47:03 - ERROR - [MainThread:push_helm_deployments():120] - Exception while pushing helm deployments: ('Missing attributes: actions',)
Traceback (most recent call last):
File "D:\helm-script\helm_automate_script.py", line 118, in push_helm_deployments
commit = pl.commits.create(commit_data)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\exceptions.py", line 325, in wrapped_f
return f(*args, **kwargs)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\mixins.py", line 293, in create
self._create_attrs.validate_attrs(data=data)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\types.py", line 24, in validate_attrs
raise AttributeError(f"Missing attributes: {', '.join(missing)}")
AttributeError: Missing attributes: actions
2022-09-22 19:48:11 - ERROR - [MainThread:push_helm_deployments():121] - Exception while pushing helm deployments: ('You can only create or edit files when you are on a branch',)
Traceback (most recent call last):
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\exceptions.py", line 325, in wrapped_f
return f(*args, **kwargs)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\mixins.py", line 300, in create
server_data = self.gitlab.http_post(path, post_data=data, files=files, **kwargs)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\client.py", line 1015, in http_post
result = self.http_request(
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\client.py", line 798, in http_request
raise gitlab.exceptions.GitlabHttpError(
gitlab.exceptions.GitlabHttpError: 400: You can only create or edit files when you are on a branch
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\helm-script\helm_automate_script.py", line 119, in push_helm_deployments
pl.commits.create(commit_data)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\exceptions.py", line 327, in wrapped_f
raise error(e.error_message, e.response_code, e.response_body) from e
gitlab.exceptions.GitlabCreateError: 400: You can only create or edit files when you are on a branch
2022-09-22 19:51:53 - ERROR - [MainThread:push_helm_deployments():122] - Exception while pushing helm deployments: ('Missing attributes: ref',)
Traceback (most recent call last):
File "D:\helm-script\helm_automate_script.py", line 105, in push_helm_deployments
pl.branches.create({ 'branch': f"{client_name}_{ilens_version}.{release_version}"})
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\exceptions.py", line 325, in wrapped_f
return f(*args, **kwargs)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\mixins.py", line 293, in create
self._create_attrs.validate_attrs(data=data)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\types.py", line 24, in validate_attrs
raise AttributeError(f"Missing attributes: {', '.join(missing)}")
AttributeError: Missing attributes: ref
2022-09-23 17:50:20 - ERROR - [MainThread:push_helm_deployments():122] - Exception while pushing helm deployments: ('Branch already exists',)
Traceback (most recent call last):
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\exceptions.py", line 325, in wrapped_f
return f(*args, **kwargs)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\mixins.py", line 300, in create
server_data = self.gitlab.http_post(path, post_data=data, files=files, **kwargs)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\client.py", line 1015, in http_post
result = self.http_request(
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\client.py", line 798, in http_request
raise gitlab.exceptions.GitlabHttpError(
gitlab.exceptions.GitlabHttpError: 400: Branch already exists
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\GitRepos\helm-automation-script\helm_automate_script.py", line 105, in push_helm_deployments
pl.branches.create({ 'branch': f"{client_name}_{ilens_version}.{release_version}", 'ref': pl.default_branch})
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\exceptions.py", line 327, in wrapped_f
raise error(e.error_message, e.response_code, e.response_body) from e
gitlab.exceptions.GitlabCreateError: 400: Branch already exists
2022-09-27 15:19:53 - ERROR - [MainThread:render_helm_chart():48] - Exception occurred while rendering the helm file workflow-management - ("jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'",)
Traceback (most recent call last):
File "helm_automate_script.py", line 42, in render_helm_chart
_render = environment.get_template(helm_template_file).render(module_name=helm_name, **data_dict,
TypeError: jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'
2022-09-27 15:19:53 - ERROR - [MainThread:render_helm_chart():48] - Exception occurred while rendering the helm file ebpr-report-engine - ("jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'",)
Traceback (most recent call last):
File "helm_automate_script.py", line 42, in render_helm_chart
_render = environment.get_template(helm_template_file).render(module_name=helm_name, **data_dict,
TypeError: jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'
2022-09-27 15:19:53 - ERROR - [MainThread:render_helm_chart():48] - Exception occurred while rendering the helm file ebpr-report-engine - ("jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'",)
Traceback (most recent call last):
File "helm_automate_script.py", line 42, in render_helm_chart
_render = environment.get_template(helm_template_file).render(module_name=helm_name, **data_dict,
TypeError: jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'
2022-09-27 15:22:15 - ERROR - [MainThread:render_helm_chart():48] - Exception occurred while rendering the helm file workflow-management - ("jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'",)
Traceback (most recent call last):
File "helm_automate_script.py", line 42, in render_helm_chart
_render = environment.get_template(helm_template_file).render(module_name=helm_name, **data_dict,
TypeError: jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'
2022-09-27 15:26:15 - ERROR - [MainThread:render_helm_chart():48] - Exception occurred while rendering the helm file workflow-management - ("jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'",)
Traceback (most recent call last):
File "helm_automate_script.py", line 42, in render_helm_chart
_render = environment.get_template(helm_template_file).render(module_name=helm_name, **data_dict,
TypeError: jinja2.environment.Template.render() got multiple values for keyword argument 'module_name'
2022-09-27 16:37:45 - ERROR - [MainThread:push_helm_deployments():124] - Exception while pushing helm deployments: ('Branch already exists',)
Traceback (most recent call last):
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\exceptions.py", line 325, in wrapped_f
return f(*args, **kwargs)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\mixins.py", line 300, in create
server_data = self.gitlab.http_post(path, post_data=data, files=files, **kwargs)
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\client.py", line 1015, in http_post
result = self.http_request(
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\client.py", line 798, in http_request
raise gitlab.exceptions.GitlabHttpError(
gitlab.exceptions.GitlabHttpError: 400: Branch already exists
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "helm_automate_script.py", line 107, in push_helm_deployments
pl.branches.create({ 'branch': f"{client_name}_{ilens_version}.{release_version}", 'ref': pl.default_branch})
File "C:\Users\faizan.azim\Anaconda3\envs\helm-script\lib\site-packages\gitlab\exceptions.py", line 327, in wrapped_f
raise error(e.error_message, e.response_code, e.response_body) from e
gitlab.exceptions.GitlabCreateError: 400: Branch already exists
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment