all-2022-11-17.log 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. [INFO] [2022-11-17 00:09:33,571] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  2. [ERROR] [2022-11-17 00:09:36,199] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/beidou/edit
  3. [ERROR] [2022-11-17 00:09:36,199] [basehttp.py:161] [basehttp:log_message] - "DELETE /api/v1/test-tasks/beidou/edit HTTP/1.1" 500 21
  4. [INFO] [2022-11-17 00:09:51,445] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/users/login HTTP/1.1" 200 292
  5. [INFO] [2022-11-17 00:10:09,146] [basehttp.py:161] [basehttp:log_message] - "DELETE /api/v1/test-tasks/beidou/edit HTTP/1.1" 200 12
  6. [ERROR] [2022-11-17 00:21:14,355] [beidoutask.py:62] [beidoutask:post] - 测试任务不存在
  7. [WARNING] [2022-11-17 00:21:14,356] [log.py:224] [log:log_response] - Not Found: /api/v1/test-tasks/beidou/edit
  8. [WARNING] [2022-11-17 00:21:14,357] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/edit HTTP/1.1" 404 21
  9. [INFO] [2022-11-17 00:22:10,050] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutask.py changed, reloading.
  10. [INFO] [2022-11-17 00:22:10,348] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  11. [INFO] [2022-11-17 00:28:10,076] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou HTTP/1.1" 200 511
  12. [INFO] [2022-11-17 00:28:54,134] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou HTTP/1.1" 200 511
  13. [ERROR] [2022-11-17 00:29:21,604] [beidoutask.py:77] [beidoutask:post] - 文件上传失败
  14. [ERROR] [2022-11-17 00:29:21,605] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/beidou/edit
  15. [ERROR] [2022-11-17 00:29:21,605] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/edit HTTP/1.1" 500 18
  16. [INFO] [2022-11-17 00:30:05,760] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutask.py changed, reloading.
  17. [INFO] [2022-11-17 00:30:06,107] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  18. [ERROR] [2022-11-17 00:30:07,780] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/beidou/edit
  19. Traceback (most recent call last):
  20. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  21. response = get_response(request)
  22. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  23. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  24. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  25. return view_func(*args, **kwargs)
  26. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  27. return self.dispatch(request, *args, **kwargs)
  28. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  29. response = self.handle_exception(exc)
  30. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  31. self.raise_uncaught_exception(exc)
  32. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  33. raise exc
  34. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  35. response = handler(request, *args, **kwargs)
  36. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/user/middleware/rolecontrol.py", line 48, in __call__
  37. return self.func(request, *args, **kwargs)
  38. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutask.py", line 74, in post
  39. TASK_ROOT + "/" + task_id + "/" + str(create_time))
  40. TypeError: can only concatenate str (not "NoneType") to str
  41. [ERROR] [2022-11-17 00:30:07,783] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/edit HTTP/1.1" 500 104299
  42. [INFO] [2022-11-17 00:30:44,728] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutask.py changed, reloading.
  43. [INFO] [2022-11-17 00:30:44,996] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  44. [ERROR] [2022-11-17 00:30:46,955] [beidoutask.py:90] [beidoutask:post] - 文件路径写入数据库失败
  45. [ERROR] [2022-11-17 00:30:46,955] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/beidou/edit
  46. [ERROR] [2022-11-17 00:30:46,955] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/edit HTTP/1.1" 500 33
  47. [INFO] [2022-11-17 00:31:07,188] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutask.py changed, reloading.
  48. [INFO] [2022-11-17 00:31:07,461] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  49. [INFO] [2022-11-17 00:31:09,296] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/edit HTTP/1.1" 200 15
  50. [INFO] [2022-11-17 09:44:21,464] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutasklist.py changed, reloading.
  51. [INFO] [2022-11-17 09:44:21,873] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  52. [INFO] [2022-11-17 09:46:09,184] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutasklist.py changed, reloading.
  53. [INFO] [2022-11-17 09:46:09,464] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  54. [INFO] [2022-11-17 09:46:51,985] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutask.py changed, reloading.
  55. [INFO] [2022-11-17 09:46:52,257] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  56. [INFO] [2022-11-17 09:47:14,495] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/users/login HTTP/1.1" 200 292
  57. [INFO] [2022-11-17 09:47:39,980] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/software HTTP/1.1" 301 0
  58. [INFO] [2022-11-17 09:47:39,994] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/software/ HTTP/1.1" 200 2
  59. [ERROR] [2022-11-17 09:47:43,637] [softwarelistview.py:31] [softwarelistview:post] - 软件上传失败
  60. [WARNING] [2022-11-17 09:47:43,637] [log.py:224] [log:log_response] - Not Found: /api/v1/software/
  61. [WARNING] [2022-11-17 09:47:43,638] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/ HTTP/1.1" 404 18
  62. [INFO] [2022-11-17 09:47:48,708] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/ HTTP/1.1" 200 161
  63. [INFO] [2022-11-17 09:48:04,929] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-plans/ HTTP/1.1" 200 460
  64. [INFO] [2022-11-17 09:48:16,614] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou HTTP/1.1" 200 511
  65. [INFO] [2022-11-17 09:48:30,877] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_1 HTTP/1.1" 200 996
  66. [INFO] [2022-11-17 09:48:36,841] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/beidou/list HTTP/1.1" 200 263
  67. [INFO] [2022-11-17 09:48:40,369] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/beidou/info HTTP/1.1" 200 865
  68. [ERROR] [2022-11-17 09:48:44,507] [beidoutask.py:61] [beidoutask:post] - 测试任务不存在
  69. [WARNING] [2022-11-17 09:48:44,509] [log.py:224] [log:log_response] - Not Found: /api/v1/test-tasks/beidou/edit
  70. [WARNING] [2022-11-17 09:48:44,509] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/edit HTTP/1.1" 404 21
  71. [INFO] [2022-11-17 09:49:47,061] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/edit HTTP/1.1" 200 15
  72. [WARNING] [2022-11-17 09:50:00,191] [log.py:224] [log:log_response] - Forbidden: /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_1/execute
  73. [WARNING] [2022-11-17 09:50:00,192] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_1/execute HTTP/1.1" 403 43
  74. [INFO] [2022-11-17 09:50:20,984] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/users/login HTTP/1.1" 200 281
  75. [WARNING] [2022-11-17 09:50:31,717] [log.py:224] [log:log_response] - Forbidden: /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_1/execute
  76. [WARNING] [2022-11-17 09:50:31,718] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_1/execute HTTP/1.1" 403 43
  77. [INFO] [2022-11-17 09:51:53,571] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_1 HTTP/1.1" 200 1203
  78. [WARNING] [2022-11-17 09:52:34,663] [log.py:224] [log:log_response] - Forbidden: /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_1/execute
  79. [WARNING] [2022-11-17 09:52:34,664] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_1/execute HTTP/1.1" 403 43
  80. [INFO] [2022-11-17 09:54:15,720] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_1/execute HTTP/1.1" 200 12
  81. [INFO] [2022-11-17 09:56:29,792] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutaskexecute.py changed, reloading.
  82. [INFO] [2022-11-17 09:56:30,200] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  83. [INFO] [2022-11-17 12:11:25,077] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  84. [INFO] [2022-11-17 12:11:41,187] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/users/login HTTP/1.1" 200 292
  85. [INFO] [2022-11-17 12:11:58,028] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou HTTP/1.1" 200 511
  86. [ERROR] [2022-11-17 12:19:31,753] [beidoutasklist.py:45] [beidoutasklist:post] - 测试任务已存在,请重新命名
  87. [WARNING] [2022-11-17 12:19:31,755] [log.py:224] [log:log_response] - Not Found: /api/v1/test-tasks/beidou
  88. [WARNING] [2022-11-17 12:19:31,755] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou HTTP/1.1" 404 39
  89. [INFO] [2022-11-17 12:19:42,251] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou HTTP/1.1" 200 511
  90. [INFO] [2022-11-17 16:10:41,440] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  91. [INFO] [2022-11-17 16:11:01,528] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_5/execute HTTP/1.1" 200 12
  92. [INFO] [2022-11-17 16:11:28,202] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_5/execute HTTP/1.1" 200 12
  93. [INFO] [2022-11-17 16:11:28,893] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_5/execute HTTP/1.1" 200 12
  94. [INFO] [2022-11-17 16:11:29,476] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_5/execute HTTP/1.1" 200 12
  95. [INFO] [2022-11-17 16:11:30,059] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_5/execute HTTP/1.1" 200 12
  96. [INFO] [2022-11-17 16:11:30,649] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_5/execute HTTP/1.1" 200 12
  97. [INFO] [2022-11-17 16:12:24,566] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_5/execute HTTP/1.1" 200 12
  98. [INFO] [2022-11-17 16:12:40,336] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_6/execute HTTP/1.1" 200 12
  99. [INFO] [2022-11-17 16:12:47,154] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_6/execute HTTP/1.1" 200 12
  100. [INFO] [2022-11-17 16:13:19,855] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutaskexecute.py changed, reloading.
  101. [INFO] [2022-11-17 16:13:20,289] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  102. [INFO] [2022-11-17 16:13:28,031] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_5/execute HTTP/1.1" 200 12
  103. [INFO] [2022-11-17 16:13:53,302] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutaskexecute.py changed, reloading.
  104. [INFO] [2022-11-17 16:13:53,652] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  105. [INFO] [2022-11-17 16:14:00,936] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_5/execute HTTP/1.1" 200 12
  106. [INFO] [2022-11-17 16:16:43,693] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutaskexecute.py changed, reloading.
  107. [INFO] [2022-11-17 16:16:44,126] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  108. [INFO] [2022-11-17 16:16:56,108] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_6/execute HTTP/1.1" 200 12
  109. [INFO] [2022-11-17 16:17:04,611] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_6/execute HTTP/1.1" 200 12
  110. [INFO] [2022-11-17 16:17:23,225] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_6/execute HTTP/1.1" 200 12