python /home/admin/mtr/script_for_cron.py -j default -m 20 -a 'python3 /home/admin/workarea/git/API/TestApiRouteJs/routeTestState/apiTestRoute.py -d /home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/ -f /home/admin/workarea/git/API//TestApiRouteJs/routeTestState/jsonFile/ -u https://marlene.fotonower.com/ -v -i /home/admin/workarea/git/API/TestApiRouteJs/routeTestState/list_test.json ' -s Test_Route_marlene -M 0 -S 0 -U 90,80,95 import MySQLdb succeeded Ceci est un script de test api (test route) error: HTTP Error 400: Bad Request, req: , authentication_url : https://marlene.fotonower.com/authenticate/userpass error: HTTP Error 502: Proxy Error, req: , authentication_url : https://marlene.fotonower.com/authenticate/userpass Access successful. 0%| | 0/37 [00:00>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950712, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357060276, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950713, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357057741, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950714, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357054679, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950715, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357054255, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950716, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357050032, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950717, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357047190, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950718, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357046345, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950719, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357046035, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950720, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357045733, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950721, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357040451, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950722, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357039870, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950723, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357029150, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950724, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357027564, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950725, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357024778, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950726, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357024440, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950727, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357023407, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950728, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357022760, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950729, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357021697, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97950730, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357016786, 'result': '[>, , , , "count_nb_balles() got an unexpected keyword argument \'check_plate_format\'"]', 'result_long': -1, 'result_double': -1.0, 'hashtag_id': 501120777, 'hashtag': 'error', 'proba': 1.0, 'created_at': 1746740906000}, {'id': 97955511, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1356983115, 'created_at': 1746741508000}, {'id': 97955499, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357011067, 'created_at': 1746741508000}, {'id': 97955500, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357009727, 'created_at': 1746741508000}, {'id': 97955501, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357005218, 'created_at': 1746741508000}, {'id': 97955502, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1357003293, 'created_at': 1746741508000}, {'id': 97955503, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1356999109, 'created_at': 1746741508000}, {'id': 97955504, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1356998252, 'created_at': 1746741508000}, {'id': 97955505, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1356997889, 'created_at': 1746741508000}, {'id': 97955506, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1356997434, 'created_at': 1746741508000}, {'id': 97955507, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1356996192, 'created_at': 1746741508000}, {'id': 97955508, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1356987900, 'created_at': 1746741508000}, {'id': 97955509, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1356987444, 'created_at': 1746741508000}, {'id': 97955510, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1356983486, 'created_at': 1746741508000}, {'id': 97955521, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1356961966, 'created_at': 1746741508000}, {'id': 97955518, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1356970485, 'created_at': 1746741508000}, {'id': 97955519, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1356963659, 'created_at': 1746741508000}, {'id': 97955520, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1356963038, 'created_at': 1746741508000}, {'id': 97955517, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1356972363, 'created_at': 1746741508000}, {'id': 97955522, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1356958804, 'created_at': 1746741508000}, {'id': 97955523, 'mtd_id': 4883, 'mtr_portfolio_id': 22792365, 'mtr_photo_id': 1356958211, 'created_at': 1746741508000}]} Loading...: 0%| | 0/37 [02:49 excluded value = param_json excluded value = list_steps JSON TEST : OK Status OK : 200 : 835 ms : api/v1/datou/search?limit=1 #https://marlene.fotonower.com/api/v1/datou/steps {'param': ['?limit=1'], 'json': 'api_v1_datou_steps.json', 'exclude_paths': ["[93]['nb_input']", "[93]['nb_output']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_datou_steps.json' mode='r' encoding='UTF-8'> excluded value = [93]['nb_input'] excluded value = [93]['nb_output'] JSON TEST : NOT OK {'values_changed': {"root[18]['nb_output']": {'new_value': 2, 'old_value': 1}, "root[106]['nb_input']": {'new_value': 5, 'old_value': 4}}, 'iterable_item_added': {'root[118]': {'step_type': 'paddle_seg', 'nb_input': 1, 'nb_output': 2, 'list_input': [], 'list_output': []}, 'root[119]': {'step_type': 'sam', 'nb_input': 1, 'nb_output': 2, 'list_input': [], 'list_output': []}, 'root[120]': {'step_type': 'styleGAN3', 'nb_input': 1, 'nb_output': 1, 'list_input': [], 'list_output': []}, 'root[121]': {'step_type': 'pytorch_transformer', 'nb_input': 1, 'nb_output': 2, 'list_input': [], 'list_output': []}, 'root[122]': {'step_type': 'merge_dashboard', 'nb_input': 2, 'nb_output': 1, 'list_input': [], 'list_output': []}, 'root[123]': {'step_type': 'client', 'nb_input': 1, 'nb_output': 1, 'list_input': [], 'list_output': []}}} Here we are ! l 154 Status OK : 200 : 42 ms : api/v1/datou/steps?limit=1 #https://marlene.fotonower.com/api/v1/datou/current {'param': ['?'], 'json': 'api_v1_datou_current.json', 'exclude_paths': ["['current']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_datou_current.json' mode='r' encoding='UTF-8'> excluded value = ['current'] JSON TEST : OK Status OK : 200 : 280 ms : api/v1/datou/current? #https://marlene.fotonower.com/api/v1/datou/done {'param': ['?limit=1'], 'json': 'api_v1_datou_done.json', 'exclude_paths': ["['done']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_datou_done.json' mode='r' encoding='UTF-8'> excluded value = ['done'] JSON TEST : OK Status OK : 200 : 262 ms : api/v1/datou/done?limit=1 #https://marlene.fotonower.com/api/v1/datou/result {'param': ['?limit=1'], 'json': 'api_v1_datou_result.json', 'exclude_paths': ["['done']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_datou_result.json' mode='r' encoding='UTF-8'> excluded value = ['done'] JSON TEST : OK Status OK : 200 : 527 ms : api/v1/datou/result?limit=1 #https://marlene.fotonower.com/api/v1/secured/datou/result {'param': ['?token=390a55a434f90465efc1381ca5048589', '&limit=1'], 'json': 'api_v1_secured_datou_result.json'} Number of datou : 0 liste datou id :[] Number of datou : 0 liste datou id :[] <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_secured_datou_result.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 43 ms : api/v1/secured/datou/result?token=390a55a434f90465efc1381ca5048589&limit=1 #https://marlene.fotonower.com/api/v1/thcls {'param': ['?limit=2', '&keyword=Toureiffel_15_SVMPP'], 'json': 'api_v1_thcls.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_thcls.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 704 ms : api/v1/thcls?limit=2&keyword=Toureiffel_15_SVMPP #https://marlene.fotonower.com/api/v1/thcl {'param': ['?keyword=test', '&limit=1'], 'json': 'api_v1_thcl.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_thcl.json' mode='r' encoding='UTF-8'> Status OK : 200 : 810 ms : api/v1/thcl?keyword=test&limit=1 #https://marlene.fotonower.com/api/v1/thcl/377 {'param': ['?'], 'json': 'api_v1_thcl_377.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_thcl_377.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 795 ms : api/v1/thcl/377? #https://marlene.fotonower.com/api/v1/velours/crop/modify/search {'param': ['?hashtag_type=375'], 'json': 'api_v1_velours_crop_modify_search.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_velours_crop_modify_search.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 223 ms : api/v1/velours/crop/modify/search?hashtag_type=375 #https://marlene.fotonower.com/api/v1/photo/list {'param': ['?'], 'json': 'api_v1_photo_list.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_photo_list.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 845 ms : api/v1/photo/list? #https://marlene.fotonower.com/api/v1/secured/photo {'param': ['?token=390a55a434f90465efc1381ca5048589', '&limit=1', '&portfolio_id=545450'], 'json': 'api_v1_secured_photo.json', 'exclude_paths': ["['data']", "['meta']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_secured_photo.json' mode='r' encoding='UTF-8'> excluded value = ['data'] excluded value = ['meta'] JSON TEST : OK Status OK : 200 : 237 ms : api/v1/secured/photo?token=390a55a434f90465efc1381ca5048589&limit=1&portfolio_id=545450 #https://marlene.fotonower.com/api/v1/photo/onerrorload/list {'param': ['?type_error=test'], 'json': 'api_v1_photo_onerrorload_list.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_photo_onerrorload_list.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 219 ms : api/v1/photo/onerrorload/list?type_error=test #https://marlene.fotonower.com/api/v1/portfolio/load/545450 {'param': ['?limit=1'], 'json': 'api_v1_portfolio_load_545450.json', 'exclude_paths': ["['portfolio']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_portfolio_load_545450.json' mode='r' encoding='UTF-8'> excluded value = ['portfolio'] HTTP Error 500: Internal Server Error #https://marlene.fotonower.com/api/v1/portfolio/search {'param': ['?limit=1', '&keyword=crop_detect_varroa_31087'], 'json': 'api_v1_portfolio_search.json', 'exclude_paths': ["[1]['created_at']", "[1]['updated_at']", "[0]['created_at']", "[0]['updated_at']", "root[0]['portfolio_name']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_portfolio_search.json' mode='r' encoding='UTF-8'> excluded value = [1]['created_at'] excluded value = [1]['updated_at'] excluded value = [0]['created_at'] excluded value = [0]['updated_at'] excluded value = root[0]['portfolio_name'] JSON TEST : OK Status OK : 200 : 327 ms : api/v1/portfolio/search?limit=1&keyword=crop_detect_varroa_31087 #https://marlene.fotonower.com/api/v1/portfolio/search/associate {'param': ['?search_id=0', '&portfolio_id=545450'], 'json': 'api_v1_portfolio_search_associate.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_portfolio_search_associate.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 333 ms : api/v1/portfolio/search/associate?search_id=0&portfolio_id=545450 #https://marlene.fotonower.com/api/v1/portfolio/search/remove {'param': ['?search_id=0', '&portfolio_id=545450'], 'json': 'api_v1_portfolio_search_remove.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_portfolio_search_remove.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 194 ms : api/v1/portfolio/search/remove?search_id=0&portfolio_id=545450 #https://marlene.fotonower.com/api/v1/secured/portfolio/load/545450 Loading...: 49%|████▊ | 18/37 [05:47<04:20, 13.73s/it] Loading...: 51%|█████▏ | 19/37 [05:47<02:53, 9.64s/it] Loading...: 51%|█████▏ | 19/37 [05:54<02:53, 9.64s/it] Loading...: 54%|█████▍ | 20/37 [05:54<02:29, 8.77s/it] Loading...: 54%|█████▍ | 20/37 [06:25<02:29, 8.77s/it] Loading...: 57%|█████▋ | 21/37 [06:25<04:08, 15.53s/it] Loading...: 57%|█████▋ | 21/37 [07:15<04:08, 15.53s/it] Loading...: 59%|█████▉ | 22/37 [07:15<06:24, 25.64s/it] Loading...: 59%|█████▉ | 22/37 [07:15<06:24, 25.64s/it] Loading...: 62%|██████▏ | 23/37 [07:15<04:14, 18.19s/it] Loading...: 62%|██████▏ | 23/37 [07:22<04:14, 18.19s/it] Loading...: 65%|██████▍ | 24/37 [07:22<03:11, 14.73s/it] Loading...: 65%|██████▍ | 24/37 [07:25<03:11, 14.73s/it] Loading...: 68%|██████▊ | 25/37 [07:25<02:15, 11.32s/it] Loading...: 68%|██████▊ | 25/37 [07:27<02:15, 11.32s/it] Loading...: 70%|███████ | 26/37 [07:27<01:33, 8.49s/it] Loading...: 70%|███████ | 26/37 [08:36<01:33, 8.49s/it] Loading...: 73%|███████▎ | 27/37 [08:36<04:24, 26.48s/it] Loading...: 73%|███████▎ | 27/37 [09:06<04:24, 26.48s/it] Loading...: 76%|███████▌ | 28/37 [09:06<04:07, 27.55s/it] Loading...: 76%|███████▌ | 28/37 [09:36<04:07, 27.55s/it] Loading...: 78%|███████▊ | 29/37 [09:36<03:46, 28.31s/it] Loading...: 78%|███████▊ | 29/37 [10:06<03:46, 28.31s/it] Loading...: 81%|████████ | 30/37 [10:06<03:21, 28.82s/it] Loading...: 81%|████████ | 30/37 [10:36<03:21, 28.82s/it] Loading...: 84%|████████▍ | 31/37 [10:36<02:55, 29.18s/it] Loading...: 84%|████████▍ | 31/37 [11:06<02:55, 29.18s/it] Loading...: 86%|████████▋ | 32/37 [11:06<02:27, 29.44s/it] Loading...: 86%|████████▋ | 32/37 [11:36<02:27, 29.44s/it] Loading...: 89%|████████▉ | 33/37 [11:36<01:58, 29.63s/it] Loading...: 89%|████████▉ | 33/37 [12:06<01:58, 29.63s/it] Loading...: 92%|█████████▏| 34/37 [12:06<01:29, 29.75s/it] Loading...: 92%|█████████▏| 34/37 [12:06<01:29, 29.75s/it] Loading...: 95%|█████████▍| 35/37 [12:36<00:59, 29.75s/it] Loading...: 97%|█████████▋| 36/37 [12:36<00:22, 22.96s/it] Loading...: 97%|█████████▋| 36/37 [13:06<00:22, 22.96s/it] Loading...: 100%|██████████| 37/37 [13:06<00:00, 24.72s/it] {'param': ['?search_id=5', '&portfolio_id=545450'], 'json': 'api_v1_secured_portfolio_load_545450.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_secured_portfolio_load_545450.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 127 ms : api/v1/secured/portfolio/load/545450?search_id=5&portfolio_id=545450 #https://marlene.fotonower.com/api/v1/user {'param': ['?limit=1', '&key=22', '&user=0'], 'json': 'api_v1_user.json', 'exclude_paths': ["['technical_referent']", "['user']", "['aux_data']['default_price_sell']", "['technical_referent']", "['default_license_type']", "['actions']['classification_actions']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_user.json' mode='r' encoding='UTF-8'> excluded value = ['technical_referent'] excluded value = ['user'] excluded value = ['aux_data']['default_price_sell'] excluded value = ['technical_referent'] excluded value = ['default_license_type'] excluded value = ['actions']['classification_actions'] JSON TEST : OK Status OK : 200 : 722 ms : api/v1/user?limit=1&key=22&user=0 #https://marlene.fotonower.com/api/v1/photo {'param': ['?photo_id=460728'], 'json': 'api_v1_photo.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_photo.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 287 ms : api/v1/photo?photo_id=460728 #https://marlene.fotonower.com/api/v1/portfolio/associatedsearch {'param': ['?mtr_portfolio_id=3201720'], 'json': 'api_v1_portfolio_associatedsearch.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_portfolio_associatedsearch.json' mode='r' encoding='UTF-8'> Status OK : 200 : 222 ms : api/v1/portfolio/associatedsearch?mtr_portfolio_id=3201720 #https://marlene.fotonower.com/api/v1/secured/portfolio/featured {'param': ['?limit=1'], 'json': 'api_v1_secured_portfolio_featured.json', 'excludes_paths': ["['aux']['counter_license']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_secured_portfolio_featured.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 797 ms : api/v1/secured/portfolio/featured?limit=1 #https://marlene.fotonower.com/api/v1/user/photo/hd {'param': ['?'], 'json': 'api_v1_user_photo_hd.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_user_photo_hd.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 656 ms : api/v1/user/photo/hd? #https://marlene.fotonower.com/api/v1/manual {'param': ['?keyword=test', '&limit=1'], 'json': 'api_v1_manual.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_manual.json' mode='r' encoding='UTF-8'> Status OK : 200 : 381 ms : api/v1/manual?keyword=test&limit=1 #https://marlene.fotonower.com/api/v1/manual/ {'param': ['pbname=test', '&limit=1'], 'json': 'api_v1_manual?.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_manual?.json' mode='r' encoding='UTF-8'> Status OK : 200 : 892 ms : api/v1/manual/pbname=test&limit=1 #https://marlene.fotonower.com/api/v1/velours/bucket {'param': ['?'], 'json': 'api_v1_velours_bucket.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_velours_bucket.json' mode='r' encoding='UTF-8'> HTTP Error 500: Internal Server Error #https://marlene.fotonower.com/api/v1/secured/velours/features {'param': ['?'], 'json': 'api_v1_ecured_velours_features.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_ecured_velours_features.json' mode='r' encoding='UTF-8'> HTTP Error 500: Internal Server Error #https://marlene.fotonower.com/api/v1/velours/features {'param': ['?'], 'json': 'api_v1_velours_features.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_velours_features.json' mode='r' encoding='UTF-8'> HTTP Error 500: Internal Server Error #https://marlene.fotonower.com/api/v1/velours/tree {'param': ['?'], 'json': 'api_v1_velours_tree.json', 'exclude_paths': ["['tree']['meta']['mtr_user_id']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_velours_tree.json' mode='r' encoding='UTF-8'> excluded value = ['tree']['meta']['mtr_user_id'] HTTP Error 500: Internal Server Error #https://marlene.fotonower.com/api/v1/velours/trees {'param': ['?'], 'json': 'api_v1_velours_trees.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_velours_trees.json' mode='r' encoding='UTF-8'> HTTP Error 500: Internal Server Error #https://marlene.fotonower.com/api/v1/admin/servers {'param': ['?limit=1'], 'json': 'api_v1_admin_servers.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_admin_servers.json' mode='r' encoding='UTF-8'> HTTP Error 500: Internal Server Error #https://marlene.fotonower.com/api/v1/search/all {'param': ['?limit=1'], 'json': 'api_v1_search_all.json', 'exclude_paths': ["['search_finished'][0]['duration']", "['search_finished'][0]['timestamp']", "['search_finished'][0]['data_answer_id']", "['search_finished'][0]['id']", "['search_finished'][0]['sp']['id']", "['search_not_finished']", "['search_not_finished'][0]", "['search_auto'][0]"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_search_all.json' mode='r' encoding='UTF-8'> excluded value = ['search_finished'][0]['duration'] excluded value = ['search_finished'][0]['timestamp'] excluded value = ['search_finished'][0]['data_answer_id'] excluded value = ['search_finished'][0]['id'] excluded value = ['search_finished'][0]['sp']['id'] excluded value = ['search_not_finished'] excluded value = ['search_not_finished'][0] excluded value = ['search_auto'][0] HTTP Error 500: Internal Server Error #https://marlene.fotonower.com/api/v1/sqlprocess/all {'param': ['?'], 'json': 'api_v1_sqlprocess_all.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_sqlprocess_all.json' mode='r' encoding='UTF-8'> HTTP Error 500: Internal Server Error #https://marlene.fotonower.com/api/v1/token/verify {'param': ['?'], 'json': 'api_v1_token_verify.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_token_verify.json' mode='r' encoding='UTF-8'> JSON TEST : OK Status OK : 200 : 38 ms : api/v1/token/verify? #https://marlene.fotonower.com/api/v1/imt/getCategories {'param': ['?'], 'json': 'api_v1_imt_getCategories.json'} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_imt_getCategories.json' mode='r' encoding='UTF-8'> HTTP Error 500: Internal Server Error #https://marlene.fotonower.com/api/v1/datou/result/list {'param': ['?'], 'json': 'api_v1_datou_result_list.json', 'exclude_paths': ["['datou_current_ids']"]} <_io.TextIOWrapper name='/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/jsonFile/api_v1_datou_result_list.json' mode='r' encoding='UTF-8'> excluded value = ['datou_current_ids'] HTTP Error 500: Internal Server Error data_root_result : {'endpoint_success': [{'url': 'api/v1/datou/search?limit=1', 'status': 'JSON OK'}, {'url': 'api/v1/datou/current?', 'status': 'JSON OK'}, {'url': 'api/v1/datou/done?limit=1', 'status': 'JSON OK'}, {'url': 'api/v1/datou/result?limit=1', 'status': 'JSON OK'}, {'url': 'api/v1/secured/datou/result?token=390a55a434f90465efc1381ca5048589&limit=1', 'status': 'JSON OK'}, {'url': 'api/v1/thcls?limit=2&keyword=Toureiffel_15_SVMPP', 'status': 'JSON OK'}, {'url': 'api/v1/thcl?keyword=test&limit=1', 'status': 200}, {'url': 'api/v1/thcl/377?', 'status': 'JSON OK'}, {'url': 'api/v1/velours/crop/modify/search?hashtag_type=375', 'status': 'JSON OK'}, {'url': 'api/v1/photo/list?', 'status': 'JSON OK'}, {'url': 'api/v1/secured/photo?token=390a55a434f90465efc1381ca5048589&limit=1&portfolio_id=545450', 'status': 'JSON OK'}, {'url': 'api/v1/photo/onerrorload/list?type_error=test', 'status': 'JSON OK'}, {'url': 'api/v1/portfolio/search?limit=1&keyword=crop_detect_varroa_31087', 'status': 'JSON OK'}, {'url': 'api/v1/portfolio/search/associate?search_id=0&portfolio_id=545450', 'status': 'JSON OK'}, {'url': 'api/v1/portfolio/search/remove?search_id=0&portfolio_id=545450', 'status': 'JSON OK'}, {'url': 'api/v1/secured/portfolio/load/545450?search_id=5&portfolio_id=545450', 'status': 'JSON OK'}, {'url': 'api/v1/user?limit=1&key=22&user=0', 'status': 'JSON OK'}, {'url': 'api/v1/photo?photo_id=460728', 'status': 'JSON OK'}, {'url': 'api/v1/portfolio/associatedsearch?mtr_portfolio_id=3201720', 'status': 200}, {'url': 'api/v1/secured/portfolio/featured?limit=1', 'status': 'JSON OK'}, {'url': 'api/v1/user/photo/hd?', 'status': 'JSON OK'}, {'url': 'api/v1/manual?keyword=test&limit=1', 'status': 200}, {'url': 'api/v1/manual/pbname=test&limit=1', 'status': 200}, {'url': 'api/v1/token/verify?', 'status': 'JSON OK'}], 'endpoint_fail': [{'url': 'api/v1/datou/steps?limit=1', 'status': 'JSON NOTOK'}, {'url': 'api/v1/portfolio/load/545450?limit=1', 'status': "'HTTP Error 500: Internal Server Error'"}, {'url': 'api/v1/velours/bucket?', 'status': "'HTTP Error 500: Internal Server Error'"}, {'url': 'api/v1/secured/velours/features?', 'status': "'HTTP Error 500: Internal Server Error'"}, {'url': 'api/v1/velours/features?', 'status': "'HTTP Error 500: Internal Server Error'"}, {'url': 'api/v1/velours/tree?', 'status': "'HTTP Error 500: Internal Server Error'"}, {'url': 'api/v1/velours/trees?', 'status': "'HTTP Error 500: Internal Server Error'"}, {'url': 'api/v1/admin/servers?limit=1', 'status': "'HTTP Error 500: Internal Server Error'"}, {'url': 'api/v1/search/all?limit=1', 'status': "'HTTP Error 500: Internal Server Error'"}, {'url': 'api/v1/sqlprocess/all?', 'status': "'HTTP Error 500: Internal Server Error'"}, {'url': 'api/v1/imt/getCategories?', 'status': "'HTTP Error 500: Internal Server Error'"}, {'url': 'api/v1/datou/result/list?', 'status': "'HTTP Error 500: Internal Server Error'"}], 'endpoint_warning': [], 'endpoint_timeout': [{'url': 'api/v1/secured/datou/result/list?token=390a55a434f90465efc1381ca5048589&limit=1', 'status': 'Time_out'}]} Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 41, in __init__ self.db = MySQLdb.connect(host=host, db=dbname, user=user, passwd=password) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/__init__.py", line 121, in Connect return Connection(*args, **kwargs) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/connections.py", line 200, in __init__ super().__init__(*args, **kwargs2) MySQLdb.OperationalError: (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (111)") During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/apiTestRoute.py", line 265, in status_list = urlTestStatus(param_url_test, opt.url, opt.file_dir, opt.filename, opt.feed_id, opt.verbose, opt.werbose, opt.self_log) File "/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/apiTestRoute.py", line 206, in urlTestStatus monitorRouteTest(data_root_result, self_log, api) File "/home/admin/workarea/git/API/TestApiRouteJs/routeTestState/apiTestRoute.py", line 221, in monitorRouteTest monitor.monitorSys().insertData(name="Test_api", _type=2, name_group=api_name, name_test="route", result_str=result_str, result_bool=str(result_bool), cwd=os.path.realpath(__file__), verbose=True, self_log=self_log, log_place="Test_Route_"+api_name) File "/home/admin/workarea/git/Velours/python/mtr/monitor_sys.py", line 20, in __init__ self.gq_conex = mtr_dqgq.general_queries(crd.conf.get('sql_python')["HOST"], 'MTRAdmin', File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 49, in __init__ raise Exception("Unable to connect to " + str(host) + " : " + str(e)) Exception: Unable to connect to sql_cath.fotonower.com : (2003, "Can't connect to MySQL server on 'sql_cath.fotonower.com:3306' (111)") Command exited with non-zero status 1 0.70user 0.72system 20:40.96elapsed 0%CPU (0avgtext+0avgdata 54032maxresident)k 10424inputs+360outputs (759major+13754minor)pagefaults 0swaps