2025-11-20 11:27:43,451 | kfadapter_conf.py 103 get_kfhostname() |  ERROR | Getting hostname
2025-11-20 11:27:43,506 | kfadapter_kfconnect.py 43 __init__() |  DEBUG | Initialized KfConnect
2025-11-20 11:27:43,509 | kfadapter_kfconnect.py 43 __init__() |  DEBUG | Initialized KfConnect
2025-11-20 11:27:43,510 | kfadapter_kfconnect.py 85 get_kf_experiment_details() |  DEBUG | Get Experiment details ai-server
2025-11-20 11:27:43,512 | kfadapter_kfconnect.py 43 __init__() |  DEBUG | Initialized KfConnect
2025-11-20 11:27:43,515 | kfadapter_kfconnect.py 43 __init__() |  DEBUG | Initialized KfConnect
2025-11-20 11:27:43,518 | kfadapter_kfconnect.py 43 __init__() |  DEBUG | Initialized KfConnect
2025-11-20 11:27:43,521 | kfadapter_kfconnect.py 43 __init__() |  DEBUG | Initialized KfConnect
2025-11-20 11:27:43,523 | kfadapter_kfconnect.py 43 __init__() |  DEBUG | Initialized KfConnect
2025-11-20 11:27:43,528 | kfadapter_kfconnect.py 43 __init__() |  DEBUG | Initialized KfConnect
2025-11-20 11:27:43,530 | kfadapter_kfconnect.py 43 __init__() |  DEBUG | Initialized KfConnect
2025-11-20 11:27:43,534 | kfadapter_kfconnect.py 43 __init__() |  DEBUG | Initialized KfConnect
2025-11-20 11:27:43,536 | kfadapter_kfconnect.py 43 __init__() |  DEBUG | Initialized KfConnect
2025-11-20 11:27:43,539 | kfadapter_kfconnect.py 43 __init__() |  DEBUG | Initialized KfConnect
2025-11-20 11:27:43,542 | kfadapter_kfconnect.py 43 __init__() |  DEBUG | Initialized KfConnect
2025-11-20 11:27:43,544 | kfadapter_kfconnect.py 43 __init__() |  DEBUG | Initialized KfConnect
2025-11-20 11:27:43,545 | kfadapter_kfconnect.py 265 run_kf_pipeline() |  DEBUG | run_kf_pipeline Entered
2025-11-20 11:27:43,545 | kfadapter_kfconnect.py 275 run_kf_pipeline() |  DEBUG | run_kf_pipeline Arguments: {'featurepath': 'fg_name_job_name', 'epochs': 'epochs', 'modelname': 'name', 'modelversion': 'version'}
2025-11-20 11:27:43,546 | kfadapter_kfconnect.py 285 run_kf_pipeline() |  DEBUG | run_kf_pipeline Exited
2025-11-20 11:27:43,548 | kfadapter_kfconnect.py 43 __init__() |  DEBUG | Initialized KfConnect
2025-11-20 11:27:43,549 | kfadapter_kfconnect.py 85 get_kf_experiment_details() |  DEBUG | Get Experiment details ai-server
2025-11-20 11:27:43,549 | kfadapter_kfconnect.py 89 get_kf_experiment_details() |  ERROR | Either experiment_id or experiment_name is required
2025-11-20 11:27:43,551 | kfadapter_kfconnect.py 43 __init__() |  DEBUG | Initialized KfConnect
2025-11-20 11:27:43,572 | kfadapter_main.py 493 kf_run() |  DEBUG | Deleting Run_id : run-id
2025-11-20 11:27:43,593 | kfadapter_main.py 506 kf_run() |  ERROR | Exception from KubeFlow in run
2025-11-20 11:27:43,594 | kfadapter_main.py 507 kf_run() |  ERROR | not all arguments converted during string formatting
2025-11-20 11:27:43,603 | kfadapter_main.py 354 run_pipeline() |  DEBUG | run_pipeline for job_name
2025-11-20 11:27:43,603 | kfadapter_main.py 360 run_pipeline() |  DEBUG | {'arguments': {'param-name2': 'param-value2', 'param-name3': 'param-value3'}, 'pipeline_name': 'pipeline-name', 'pipeline_version': '2.0.0', 'experiment_name': 'exp-name'}
2025-11-20 11:27:43,604 | kfadapter_main.py 375 run_pipeline() |  DEBUG | {'created_at': None,
 'description': None,
 'display_name': 'exp-name',
 'experiment_id': 'exp-id',
 'last_run_created_at': None,
 'namespace': None,
 'storage_state': None}
2025-11-20 11:27:43,605 | kfadapter_main.py 380 run_pipeline() |  DEBUG | Pipeline ID = pipeline-id
2025-11-20 11:27:43,605 | kfadapter_main.py 384 run_pipeline() |  DEBUG | version id is: pipeline-id
2025-11-20 11:27:43,606 | kfadapter_main.py 385 run_pipeline() |  DEBUG | Running pipeline
2025-11-20 11:27:43,615 | kfadapter_main.py 446 list_runs() |  DEBUG | Run: {'created_at': None,
 'description': 'description',
 'display_name': 'run-name0',
 'error': None,
 'experiment_id': 'experiment-id0',
 'finished_at': None,
 'pipeline_spec': None,
 'pipeline_version_id': None,
 'pipeline_version_reference': <test.test_kfadapter_main.testKfadapterApi.test_get_all_runs.<locals>.PipelineVersionReference object at 0x7f3ea53e9000>,
 'recurring_run_id': None,
 'run_details': None,
 'run_id': 'runid',
 'runtime_config': None,
 'scheduled_at': None,
 'service_account': None,
 'state': 'status',
 'state_history': None,
 'storage_state': None}
2025-11-20 11:27:43,615 | kfadapter_main.py 453 list_runs() |  DEBUG | Pipeline version reference: <test.test_kfadapter_main.testKfadapterApi.test_get_all_runs.<locals>.PipelineVersionReference object at 0x7f3ea53e9000>
2025-11-20 11:27:43,615 | kfadapter_main.py 454 list_runs() |  DEBUG | Pipeline version reference ID: pipeline-id0
2025-11-20 11:27:43,618 | kfadapter_main.py 446 list_runs() |  DEBUG | Run: {'created_at': None,
 'description': 'description',
 'display_name': 'run-name1',
 'error': None,
 'experiment_id': 'experiment-id1',
 'finished_at': None,
 'pipeline_spec': None,
 'pipeline_version_id': None,
 'pipeline_version_reference': <test.test_kfadapter_main.testKfadapterApi.test_get_all_runs.<locals>.PipelineVersionReference object at 0x7f3ea53e9060>,
 'recurring_run_id': None,
 'run_details': None,
 'run_id': 'runid',
 'runtime_config': None,
 'scheduled_at': None,
 'service_account': None,
 'state': 'status',
 'state_history': None,
 'storage_state': None}
2025-11-20 11:27:43,618 | kfadapter_main.py 453 list_runs() |  DEBUG | Pipeline version reference: <test.test_kfadapter_main.testKfadapterApi.test_get_all_runs.<locals>.PipelineVersionReference object at 0x7f3ea53e9060>
2025-11-20 11:27:43,618 | kfadapter_main.py 454 list_runs() |  DEBUG | Pipeline version reference ID: pipeline-id1
2025-11-20 11:27:43,624 | kfadapter_main.py 86 get_experiment() |  DEBUG | Experiment name is present
2025-11-20 11:27:43,624 | kfadapter_main.py 88 get_experiment() |  DEBUG | {'created_at': None,
 'description': None,
 'display_name': 'exp-name',
 'experiment_id': 'exp-id',
 'last_run_created_at': None,
 'namespace': None,
 'storage_state': None}
2025-11-20 11:27:43,636 | kfadapter_main.py 230 get_pipeline() |  DEBUG | {'created_at': None,
 'description': 'description',
 'display_name': None,
 'error': None,
 'name': 'pipeline-id',
 'namespace': None,
 'pipeline_id': None}
2025-11-20 11:27:43,642 | kfadapter_main.py 125 get_pipeline_id() |  DEBUG | pipeline-id
2025-11-20 11:27:43,660 | kfadapter_main.py 504 kf_run() |  DEBUG | {'run_id': 'run-id', 'run_name': 'run-name', 'run_status': 'Running'}
2025-11-20 11:27:43,674 | kfadapter_main.py 130 get_pipeline_id() |  DEBUG | Uploading received for pipeline
2025-11-20 11:27:43,675 | kfadapter_main.py 134 get_pipeline_id() |  DEBUG | File uploaded :/tmp/pipeline.yaml
2025-11-20 11:27:43,675 | kfadapter_main.py 140 get_pipeline_id() |  DEBUG | Pipeline uploaded :pipeline-name
2025-11-20 11:27:43,679 | kfadapter_kfconnect.py 43 __init__() |  DEBUG | Initialized KfConnect
2025-11-20 11:27:43,681 | kfadapter_main.py 354 run_pipeline() |  DEBUG | run_pipeline for job_name
2025-11-20 11:27:43,681 | kfadapter_main.py 360 run_pipeline() |  DEBUG | {}
2025-11-20 11:27:43,690 | kfadapter_main.py 354 run_pipeline() |  DEBUG | run_pipeline for job_name
2025-11-20 11:27:43,690 | kfadapter_main.py 360 run_pipeline() |  DEBUG | {'arguments': {'param-name0': 'param-value0', 'param-name1': 'param-value1'}, 'pipeline_name': 'pipeline-name', 'pipeline_version': '2.0.0', 'experiment_name': 'exp-name'}
2025-11-20 11:27:43,691 | kfadapter_main.py 407 run_pipeline() |  ERROR | Experiment name is not correct exp-name
2025-11-20 11:27:43,697 | kfadapter_main.py 354 run_pipeline() |  DEBUG | run_pipeline for job_name
2025-11-20 11:27:43,697 | kfadapter_main.py 360 run_pipeline() |  DEBUG | {'arguments': {'param-name0': 'param-value0', 'param-name1': 'param-value1'}, 'pipeline_name': 'pipeline-name', 'pipeline_version': '2.0.0', 'experiment_name': 'exp-name'}
2025-11-20 11:27:43,697 | kfadapter_main.py 375 run_pipeline() |  DEBUG | {'created_at': None,
 'description': None,
 'display_name': None,
 'experiment_id': None,
 'last_run_created_at': None,
 'namespace': None,
 'storage_state': None}
2025-11-20 11:27:43,699 | kfadapter_main.py 407 run_pipeline() |  ERROR | Pipeline name is not correct pipeline-name
2025-11-20 11:27:43,704 | kfadapter_main.py 464 list_runs() |  ERROR | Traceback (most recent call last):
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/kfadapter/kfadapter_main.py", line 443, in list_runs
    runs = KFCONNECT_KF_OBJ.get_kf_list_runs(KFCONNECT_CONFIG_OBJ.kf_dict['kfdefaultns'])
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/mock/mock.py", line 1190, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/mock/mock.py", line 1194, in _mock_call
    return _mock_self._execute_mock_call(*args, **kwargs)
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/mock/mock.py", line 1251, in _execute_mock_call
    raise effect
IndexError

2025-11-20 11:27:43,709 | kfadapter_main.py 92 get_experiment() |  ERROR | Experiment name is not correct exp-name
2025-11-20 11:27:43,714 | kfadapter_main.py 86 get_experiment() |  DEBUG | Experiment name is present
2025-11-20 11:27:43,715 | kfadapter_main.py 88 get_experiment() |  DEBUG | 
2025-11-20 11:27:43,719 | kfadapter_main.py 97 get_experiment() |  ERROR | Traceback (most recent call last):
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/kfadapter/kfadapter_main.py", line 89, in get_experiment
    exp_dict['name'] = exp.display_name
AttributeError: 'IndexError' object has no attribute 'display_name'

2025-11-20 11:27:43,730 | kfadapter_main.py 283 list_experiments() |  ERROR | Traceback (most recent call last):
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/kfadapter/kfadapter_main.py", line 279, in list_experiments
    for experiment in exp.experiments:
AttributeError: 'IndexError' object has no attribute 'experiments'

2025-11-20 11:27:43,736 | kfadapter_main.py 238 get_pipeline() |  ERROR | Exception from KubeFlow
2025-11-20 11:27:43,737 | kfadapter_main.py 239 get_pipeline() |  ERROR | (None)
Reason: None

2025-11-20 11:27:43,742 | kfadapter_main.py 147 get_pipeline_id() |  ERROR | No pipeline is found with name pipeline-name
2025-11-20 11:27:43,748 | kfadapter_main.py 324 list_pipelines() |  ERROR | Traceback (most recent call last):
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/kfadapter/kfadapter_main.py", line 308, in list_pipelines
    pipeline_list = KFCONNECT_KF_OBJ.get_kf_list_pipelines()
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/mock/mock.py", line 1190, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/mock/mock.py", line 1194, in _mock_call
    return _mock_self._execute_mock_call(*args, **kwargs)
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/mock/mock.py", line 1251, in _execute_mock_call
    raise effect
IndexError

2025-11-20 11:27:43,753 | kfadapter_main.py 506 kf_run() |  ERROR | Exception from KubeFlow in run
2025-11-20 11:27:43,753 | kfadapter_main.py 507 kf_run() |  ERROR | 
2025-11-20 11:27:43,759 | kfadapter_main.py 187 get_versions_for_pipeline() |  ERROR | Exception from KubeFlow
2025-11-20 11:27:43,759 | kfadapter_main.py 188 get_versions_for_pipeline() |  ERROR | (None)
Reason: None

2025-11-20 11:27:43,759 | app.py 1744 log_exception() |  ERROR | Exception on /pipelines/pipeline-name/versions [GET]
Traceback (most recent call last):
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/kfadapter/kfadapter_main.py", line 184, in get_versions_for_pipeline
    versions_list = KFCONNECT_KF_OBJ.get_pl_versions_by_pl_name(
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/mock/mock.py", line 1190, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/mock/mock.py", line 1194, in _mock_call
    return _mock_self._execute_mock_call(*args, **kwargs)
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/mock/mock.py", line 1251, in _execute_mock_call
    raise effect
kfp_server_api.exceptions.ApiException: (None)
Reason: None


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/app.py", line 2529, in wsgi_app
    response = self.full_dispatch_request()
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/app.py", line 1825, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/kfadapter/kfadapter_main.py", line 189, in get_versions_for_pipeline
    raise BadRequest(check_map(json.loads(err.body), "error_details"),\
  File "/opt/pyenv/versions/3.10.6/lib/python3.10/json/__init__.py", line 339, in loads
    raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType
2025-11-20 11:27:43,770 | kfadapter_main.py 193 get_versions_for_pipeline() |  ERROR | Traceback (most recent call last):
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/kfadapter/kfadapter_main.py", line 184, in get_versions_for_pipeline
    versions_list = KFCONNECT_KF_OBJ.get_pl_versions_by_pl_name(
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/mock/mock.py", line 1190, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/mock/mock.py", line 1194, in _mock_call
    return _mock_self._execute_mock_call(*args, **kwargs)
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/mock/mock.py", line 1251, in _execute_mock_call
    raise effect
IndexError

2025-11-20 11:27:43,782 | kfadapter_main.py 130 get_pipeline_id() |  DEBUG | Uploading received for 
2025-11-20 11:27:43,783 | kfadapter_main.py 158 get_pipeline_id() |  ERROR | Traceback (most recent call last):
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/kfadapter/kfadapter_main.py", line 145, in get_pipeline_id
    raise Exception("Error saving file from POST")
Exception: Error saving file from POST

2025-11-20 11:27:43,792 | kfadapter_main.py 130 get_pipeline_id() |  DEBUG | Uploading received for pipeline.zip
2025-11-20 11:27:43,793 | kfadapter_main.py 134 get_pipeline_id() |  DEBUG | File uploaded :/tmp/pipeline.zip.yaml
2025-11-20 11:27:43,793 | kfadapter_main.py 151 get_pipeline_id() |  ERROR | Exception from KubeFlow
2025-11-20 11:27:43,793 | kfadapter_main.py 152 get_pipeline_id() |  ERROR | (None)
Reason: None

2025-11-20 11:27:43,794 | app.py 1744 log_exception() |  ERROR | Exception on /pipelineIds/pipeline-name [POST]
Traceback (most recent call last):
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/kfadapter/kfadapter_main.py", line 136, in get_pipeline_id
    pipe_info = KFCONNECT_KF_OBJ.upload_pipeline_with_versions(
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/mock/mock.py", line 1190, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/mock/mock.py", line 1194, in _mock_call
    return _mock_self._execute_mock_call(*args, **kwargs)
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/mock/mock.py", line 1251, in _execute_mock_call
    raise effect
kfp_server_api.exceptions.ApiException: (None)
Reason: None


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/app.py", line 2529, in wsgi_app
    response = self.full_dispatch_request()
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/app.py", line 1825, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/kfadapter/kfadapter_main.py", line 154, in get_pipeline_id
    raise BadRequest(check_map(json.loads(err.body), "error_details"),\
  File "/opt/pyenv/versions/3.10.6/lib/python3.10/json/__init__.py", line 339, in loads
    raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType
