Perchun_Pak

Full logs for https://github.com/pytest-dev/pytest-asyncio/issues/265

Jan 22nd, 2022
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.97 KB | None | 0 0
  1.  
  2. C:\Users\perch\Desktop\programming\test>git clone https://github.com/PerchunPak/PingerBot.git
  3. Cloning into 'PingerBot'...
  4. remote: Enumerating objects: 1355, done.
  5. remote: Counting objects: 100% (1355/1355), done.
  6. remote: Compressing objects: 100% (935/935), done.
  7. remote: Total 1355 (delta 881), reused 754 (delta 377), pack-reused 0
  8. Receiving objects: 100% (1355/1355), 277.25 KiB | 1.58 MiB/s, done.
  9. Resolving deltas: 100% (881/881), done.
  10.  
  11. C:\Users\perch\Desktop\programming\test>cd PingerBot
  12.  
  13. C:\Users\perch\Desktop\programming\test\PingerBot>git checkout rewrite
  14. Switched to a new branch 'rewrite'
  15. Branch 'rewrite' set up to track remote branch 'rewrite' from 'origin'.
  16.  
  17. C:\Users\perch\Desktop\programming\test\PingerBot>pip install -U pip wheel
  18. Requirement already satisfied: pip in c:\users\perch\appdata\local\programs\python\python39\lib\site-packages (21.3.1)
  19. Requirement already satisfied: wheel in c:\users\perch\appdata\local\programs\python\python39\lib\site-packages (0.37.1)
  20.  
  21. C:\Users\perch\Desktop\programming\test\PingerBot>mkvirtualenv pytest-asyncio-265
  22. created virtual environment CPython3.9.7.final.0-64 in 481ms
  23. creator CPython3Windows(dest=C:\Users\perch\Envs\pytest-asyncio-265, clear=False, no_vcs_ignore=False, global=False)
  24. seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\Users\perch\AppData\Local\pypa\virtualenv)
  25. added seed packages: pip==21.3.1, setuptools==60.2.0, wheel==0.37.1
  26. activators BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
  27.  
  28. (pytest-asyncio-265) C:\Users\perch\Desktop\programming\test\PingerBot>pip install -Ur requirements.txt -r tests_requirements.txt
  29. Collecting discord.py==1.7.3
  30. Using cached discord.py-1.7.3-py3-none-any.whl (786 kB)
  31. Collecting asyncpg==0.25.0
  32. Using cached asyncpg-0.25.0-cp39-cp39-win_amd64.whl (525 kB)
  33. Collecting matplotlib==3.5.1
  34. Using cached matplotlib-3.5.1-cp39-cp39-win_amd64.whl (7.2 MB)
  35. Collecting mcstatus==8.0.0
  36. Using cached mcstatus-8.0.0-py3-none-any.whl (27 kB)
  37. Collecting pytest==6.2.5
  38. Using cached pytest-6.2.5-py3-none-any.whl (280 kB)
  39. Collecting pytest-asyncio==0.17.2
  40. Using cached pytest_asyncio-0.17.2-py3-none-any.whl (16 kB)
  41. Collecting pytest-cov==3.0.0
  42. Using cached pytest_cov-3.0.0-py3-none-any.whl (20 kB)
  43. Collecting dpytest==0.5.3
  44. Using cached dpytest-0.5.3-py3-none-any.whl (26 kB)
  45. Collecting flake8==4.0.1
  46. Using cached flake8-4.0.1-py2.py3-none-any.whl (64 kB)
  47. Collecting pylint==2.12.2
  48. Using cached pylint-2.12.2-py3-none-any.whl (414 kB)
  49. Collecting black==21.12b0
  50. Using cached black-21.12b0-py3-none-any.whl (156 kB)
  51. Collecting aiohttp<3.8.0,>=3.6.0
  52. Using cached aiohttp-3.7.4.post0-cp39-cp39-win_amd64.whl (634 kB)
  53. Collecting numpy>=1.17
  54. Using cached numpy-1.22.1-cp39-cp39-win_amd64.whl (14.7 MB)
  55. Collecting cycler>=0.10
  56. Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
  57. Collecting fonttools>=4.22.0
  58. Using cached fonttools-4.28.5-py3-none-any.whl (890 kB)
  59. Collecting pyparsing>=2.2.1
  60. Using cached pyparsing-3.0.7-py3-none-any.whl (98 kB)
  61. Collecting python-dateutil>=2.7
  62. Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
  63. Collecting kiwisolver>=1.0.1
  64. Using cached kiwisolver-1.3.2-cp39-cp39-win_amd64.whl (52 kB)
  65. Collecting pillow>=6.2.0
  66. Using cached Pillow-9.0.0-cp39-cp39-win_amd64.whl (3.2 MB)
  67. Collecting packaging>=20.0
  68. Using cached packaging-21.3-py3-none-any.whl (40 kB)
  69. Collecting click==7.1.2
  70. Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
  71. Collecting asyncio-dgram==1.2.0
  72. Using cached asyncio_dgram-1.2.0-py3-none-any.whl (6.1 kB)
  73. Collecting dnspython==2.1.0
  74. Using cached dnspython-2.1.0-py3-none-any.whl (241 kB)
  75. Collecting pluggy<2.0,>=0.12
  76. Using cached pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
  77. Collecting colorama
  78. Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
  79. Collecting attrs>=19.2.0
  80. Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
  81. Collecting toml
  82. Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
  83. Collecting iniconfig
  84. Using cached iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)
  85. Collecting py>=1.8.2
  86. Using cached py-1.11.0-py2.py3-none-any.whl (98 kB)
  87. Collecting atomicwrites>=1.0
  88. Using cached atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB)
  89. Collecting coverage[toml]>=5.2.1
  90. Using cached coverage-6.2-cp39-cp39-win_amd64.whl (183 kB)
  91. Collecting pycodestyle<2.9.0,>=2.8.0
  92. Using cached pycodestyle-2.8.0-py2.py3-none-any.whl (42 kB)
  93. Collecting mccabe<0.7.0,>=0.6.0
  94. Using cached mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
  95. Collecting pyflakes<2.5.0,>=2.4.0
  96. Using cached pyflakes-2.4.0-py2.py3-none-any.whl (69 kB)
  97. Collecting typing-extensions>=3.10.0
  98. Using cached typing_extensions-4.0.1-py3-none-any.whl (22 kB)
  99. Collecting astroid<2.10,>=2.9.0
  100. Using cached astroid-2.9.3-py3-none-any.whl (254 kB)
  101. Collecting isort<6,>=4.2.5
  102. Using cached isort-5.10.1-py3-none-any.whl (103 kB)
  103. Collecting platformdirs>=2.2.0
  104. Using cached platformdirs-2.4.1-py3-none-any.whl (14 kB)
  105. Collecting mypy-extensions>=0.4.3
  106. Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
  107. Collecting pathspec<1,>=0.9.0
  108. Using cached pathspec-0.9.0-py2.py3-none-any.whl (31 kB)
  109. Collecting tomli<2.0.0,>=0.2.6
  110. Using cached tomli-1.2.3-py3-none-any.whl (12 kB)
  111. Collecting async-timeout<4.0,>=3.0
  112. Using cached async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
  113. Collecting multidict<7.0,>=4.5
  114. Using cached multidict-5.2.0-cp39-cp39-win_amd64.whl (45 kB)
  115. Collecting chardet<5.0,>=2.0
  116. Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
  117. Collecting yarl<2.0,>=1.0
  118. Using cached yarl-1.7.2-cp39-cp39-win_amd64.whl (122 kB)
  119. Collecting lazy-object-proxy>=1.4.0
  120. Using cached lazy_object_proxy-1.7.1-cp39-cp39-win_amd64.whl (22 kB)
  121. Requirement already satisfied: setuptools>=20.0 in c:\users\perch\envs\pytest-asyncio-265\lib\site-packages (from astroid<2.10,>=2.9.0->pylint==2.12.2->-r tests_requirements.txt (line 6)) (60.2.0)
  122. Collecting wrapt<1.14,>=1.11
  123. Using cached wrapt-1.13.3-cp39-cp39-win_amd64.whl (34 kB)
  124. Collecting six>=1.5
  125. Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
  126. Collecting idna>=2.0
  127. Using cached idna-3.3-py3-none-any.whl (61 kB)
  128. Installing collected packages: pyparsing, multidict, idna, yarl, typing-extensions, toml, py, pluggy, packaging, iniconfig, colorama, chardet, attrs, atomicwrites, async-timeout, wrapt, tomli, six, pytest, lazy-object-proxy, coverage, aiohttp, python-dateutil, pytest-asyncio, pyflakes, pycodestyle, platformdirs, pillow, pathspec, numpy, mypy-extensions, mccabe, kiwisolver, isort, fonttools, dnspython, discord.py, cycler, click, asyncio-dgram, astroid, pytest-cov, pylint, mcstatus, matplotlib, flake8, dpytest, black, asyncpg
  129. Successfully installed aiohttp-3.7.4.post0 astroid-2.9.3 async-timeout-3.0.1 asyncio-dgram-1.2.0 asyncpg-0.25.0 atomicwrites-1.4.0 attrs-21.4.0 black-21.12b0 chardet-4.0.0 click-7.1.2 colorama-0.4.4 coverage-6.2 cycler-0.11.0 discord.py-1.7.3 dnspython-2.1.0 dpytest-0.5.3 flake8-4.0.1 fonttools-4.28.5 idna-3.3 iniconfig-1.1.1 isort-5.10.1 kiwisolver-1.3.2 lazy-object-proxy-1.7.1 matplotlib-3.5.1 mccabe-0.6.1 mcstatus-8.0.0 multidict-5.2.0 mypy-extensions-0.4.3 numpy-1.22.1 packaging-21.3 pathspec-0.9.0 pillow-9.0.0 platformdirs-2.4.1 pluggy-1.0.0 py-1.11.0 pycodestyle-2.8.0 pyflakes-2.4.0 pylint-2.12.2 pyparsing-3.0.7 pytest-6.2.5 pytest-asyncio-0.17.2 pytest-cov-3.0.0 python-dateutil-2.8.2 six-1.16.0 toml-0.10.2 tomli-1.2.3 typing-extensions-4.0.1 wrapt-1.13.3 yarl-1.7.2
  130.  
  131. (pytest-asyncio-265) C:\Users\perch\Desktop\programming\test\PingerBot>removing pytest.ini and tests/pytest.ini
  132. "removing" не является внутренней или внешней
  133. командой, исполняемой программой или пакетным файлом.
  134.  
  135. (pytest-asyncio-265) C:\Users\perch\Desktop\programming\test\PingerBot>setting Postgres credentials to env variable
  136. "setting" не является внутренней или внешней
  137. командой, исполняемой программой или пакетным файлом.
  138.  
  139. (pytest-asyncio-265) C:\Users\perch\Desktop\programming\test\PingerBot>echo %PINGERBOT_POSTGRES%
  140. postgresql://pingerbot:password@localhost:5432/pingerbotdb
  141.  
  142. (pytest-asyncio-265) C:\Users\perch\Desktop\programming\test\PingerBot>delete @mark.asyncio everywhere
  143. "delete" не является внутренней или внешней
  144. командой, исполняемой программой или пакетным файлом.
  145.  
  146. (pytest-asyncio-265) C:\Users\perch\Desktop\programming\test\PingerBot>git status
  147. On branch rewrite
  148. Your branch is up to date with 'origin/rewrite'.
  149.  
  150. Changes not staged for commit:
  151. (use "git add/rm <file>..." to update what will be committed)
  152. (use "git restore <file>..." to discard changes in working directory)
  153. deleted: pytest.ini
  154. deleted: tests/pytest.ini
  155. modified: tests/test_cmd_alias.py
  156. modified: tests/test_database.py
  157. modified: tests/test_metods_for_commands.py
  158.  
  159. no changes added to commit (use "git add" and/or "git commit -a")
  160.  
  161. (pytest-asyncio-265) C:\Users\perch\Desktop\programming\test\PingerBot>pytest --no-cov --asyncio-mode=auto
  162. ================================================= test session starts =================================================
  163. platform win32 -- Python 3.9.7, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
  164. rootdir: C:\Users\perch\Desktop\programming\test\PingerBot
  165. plugins: asyncio-0.17.2, cov-3.0.0
  166. asyncio: mode=auto
  167. collected 83 items
  168.  
  169. tests\test_cmd_add.py ....... [ 8%]
  170. tests\test_cmd_alias.py s....... [ 18%]
  171. tests\test_cmd_motd.py ...... [ 25%]
  172. tests\test_cmd_other.py ........ [ 34%]
  173. tests\test_cmd_ping.py ......... [ 45%]
  174. tests\test_cmd_stat.py .............. [ 62%]
  175. tests\test_database.py sssssssssssssssss [ 83%]
  176. tests\test_metods_for_commands.py sss.ss........ [100%]
  177.  
  178. ================================================== warnings summary ===================================================
  179. tests/test_cmd_alias.py: 1 warning
  180. tests/test_database.py: 17 warnings
  181. tests/test_metods_for_commands.py: 5 warnings
  182. C:\Users\perch\Envs\pytest-asyncio-265\lib\site-packages\_pytest\python.py:172: PytestUnhandledCoroutineWarning: async def functions are not natively supported and have been skipped.
  183. You need to install a suitable plugin for your async framework, for example:
  184. - anyio
  185. - pytest-asyncio
  186. - pytest-tornasync
  187. - pytest-trio
  188. - pytest-twisted
  189. warnings.warn(PytestUnhandledCoroutineWarning(msg.format(nodeid)))
  190.  
  191. -- Docs: https://docs.pytest.org/en/stable/warnings.html
  192. ==================================== 60 passed, 23 skipped, 23 warnings in 18.39s =====================================
  193. Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
  194. Traceback (most recent call last):
  195. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
  196. self.close()
  197. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
  198. self._loop.call_soon(self._call_connection_lost, None)
  199. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
  200. self._check_closed()
  201. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
  202. raise RuntimeError('Event loop is closed')
  203. RuntimeError: Event loop is closed
  204. Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
  205. Traceback (most recent call last):
  206. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
  207. self.close()
  208. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
  209. self._loop.call_soon(self._call_connection_lost, None)
  210. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
  211. self._check_closed()
  212. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
  213. raise RuntimeError('Event loop is closed')
  214. RuntimeError: Event loop is closed
  215. Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
  216. Traceback (most recent call last):
  217. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
  218. self.close()
  219. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
  220. self._loop.call_soon(self._call_connection_lost, None)
  221. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
  222. self._check_closed()
  223. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
  224. raise RuntimeError('Event loop is closed')
  225. RuntimeError: Event loop is closed
  226. Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
  227. Traceback (most recent call last):
  228. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
  229. self.close()
  230. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
  231. self._loop.call_soon(self._call_connection_lost, None)
  232. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
  233. self._check_closed()
  234. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
  235. raise RuntimeError('Event loop is closed')
  236. RuntimeError: Event loop is closed
  237. Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
  238. Traceback (most recent call last):
  239. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
  240. self.close()
  241. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
  242. self._loop.call_soon(self._call_connection_lost, None)
  243. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
  244. self._check_closed()
  245. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
  246. raise RuntimeError('Event loop is closed')
  247. RuntimeError: Event loop is closed
  248. Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
  249. Traceback (most recent call last):
  250. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
  251. self.close()
  252. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
  253. self._loop.call_soon(self._call_connection_lost, None)
  254. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
  255. self._check_closed()
  256. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
  257. raise RuntimeError('Event loop is closed')
  258. RuntimeError: Event loop is closed
  259. Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
  260. Traceback (most recent call last):
  261. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
  262. self.close()
  263. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
  264. self._loop.call_soon(self._call_connection_lost, None)
  265. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
  266. self._check_closed()
  267. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
  268. raise RuntimeError('Event loop is closed')
  269. RuntimeError: Event loop is closed
  270. Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
  271. Traceback (most recent call last):
  272. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
  273. self.close()
  274. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
  275. self._loop.call_soon(self._call_connection_lost, None)
  276. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
  277. self._check_closed()
  278. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
  279. raise RuntimeError('Event loop is closed')
  280. RuntimeError: Event loop is closed
  281. Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
  282. Traceback (most recent call last):
  283. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
  284. self.close()
  285. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
  286. self._loop.call_soon(self._call_connection_lost, None)
  287. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
  288. self._check_closed()
  289. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
  290. raise RuntimeError('Event loop is closed')
  291. RuntimeError: Event loop is closed
  292. Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000019249B57670>
  293. Traceback (most recent call last):
  294. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
  295. self.close()
  296. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
  297. self._loop.call_soon(self._call_connection_lost, None)
  298. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 746, in call_soon
  299. self._check_closed()
  300. File "C:\Users\perch\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
  301. raise RuntimeError('Event loop is closed')
  302. RuntimeError: Event loop is closed
  303.  
  304. (pytest-asyncio-265) C:\Users\perch\Desktop\programming\test\PingerBot>
Advertisement
Add Comment
Please, Sign In to add comment