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) Access successful. 0%| | 0/37 [00:00 excluded value = param_json excluded value = list_steps JSON TEST : OK Status OK : 200 : 538 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': []}}} Here we are ! l 154 Status OK : 200 : 291 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 : 761 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 : 369 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 : 346 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 : 791 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 : 287 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 : 268 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 : 257 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 : 234 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 : 688 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 : 71 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 : 302 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'] JSON TEST : OK Status OK : 200 : 376 ms : api/v1/portfolio/load/545450?limit=1 #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 : 556 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'> HTTP Error 500: Internal Server Error #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 : 605 ms : api/v1/portfolio/search/remove?search_id=0&portfolio_id=545450 Loading...: 49%|████▊ | 18/37 [00:50<01:15, 3.97s/it] Loading...: 51%|█████▏ | 19/37 [00:51<01:11, 3.97s/it] Loading...: 54%|█████▍ | 20/37 [00:51<00:38, 2.28s/it] Loading...: 54%|█████▍ | 20/37 [00:53<00:38, 2.28s/it] Loading...: 57%|█████▋ | 21/37 [00:53<00:35, 2.24s/it] Loading...: 57%|█████▋ | 21/37 [01:10<00:35, 2.24s/it] Loading...: 59%|█████▉ | 22/37 [01:10<01:29, 5.99s/it] Loading...: 59%|█████▉ | 22/37 [01:10<01:29, 5.99s/it] Loading...: 62%|██████▏ | 23/37 [01:10<01:02, 4.45s/it] Loading...: 62%|██████▏ | 23/37 [01:10<01:02, 4.45s/it] Loading...: 65%|██████▍ | 24/37 [01:10<00:43, 3.32s/it] Loading...: 65%|██████▍ | 24/37 [01:10<00:43, 3.32s/it] Loading...: 68%|██████▊ | 25/37 [01:10<00:29, 2.46s/it] Loading...: 68%|██████▊ | 25/37 [01:11<00:29, 2.46s/it] Loading...: 70%|███████ | 26/37 [01:11<00:20, 1.87s/it] Loading...: 70%|███████ | 26/37 [02:43<00:20, 1.87s/it] Loading...: 73%|███████▎ | 27/37 [02:43<04:42, 28.21s/it] Loading...: 73%|███████▎ | 27/37 [02:43<04:42, 28.21s/it] Loading...: 76%|███████▌ | 28/37 [02:43<04:13, 28.21s/it] Loading...: 78%|███████▊ | 29/37 [02:43<02:03, 15.45s/it] Loading...: 78%|███████▊ | 29/37 [02:44<02:03, 15.45s/it] Loading...: 81%|████████ | 30/37 [02:44<01:22, 11.79s/it] Loading...: 81%|████████ | 30/37 [02:44<01:22, 11.79s/it] Loading...: 84%|████████▍ | 31/37 [02:44<00:52, 8.79s/it] Loading...: 84%|████████▍ | 31/37 [02:44<00:52, 8.79s/it] Loading...: 86%|████████▋ | 32/37 [02:44<00:32, 6.50s/it] Loading...: 86%|████████▋ | 32/37 [02:46<00:32, 6.50s/it] Loading...: 89%|████████▉ | 33/37 [02:46<00:20, 5.13s/it] Loading...: 89%|████████▉ | 33/37 [02:46<00:20, 5.13s/it] Loading...: 92%|█████████▏| 34/37 [02:46<00:11, 3.75s/it] Loading...: 92%|█████████▏| 34/37 [02:46<00:11, 3.75s/it] Loading...: 95%|█████████▍| 35/37 [02:47<00:07, 3.75s/it] Loading...: 97%|█████████▋| 36/37 [02:47<00:02, 2.14s/it]#https://marlene.fotonower.com/api/v1/secured/portfolio/load/545450 {'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 : 58 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 : 311 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 : 109 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 : 886 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 : 225 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 : 378 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/TestApiRou