Giter VIP home page Giter VIP logo

Comments (4)

fancidev avatar fancidev commented on July 27, 2024

tests #88 had the following error:

Python-3.7-PySide6-macos-latest

Run python -m test.test_asyncio
  python -m test.test_asyncio
  shell: /bin/bash -e {0}
  env:
    pythonLocation: /Users/runner/hostedtoolcache/Python/3.7.14/x64
    PKG_CONFIG_PATH: /Users/runner/hostedtoolcache/Python/3.7.14/x64/lib/pkgconfig
    Python_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.7.14/x64
    Python2_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.7.14/x64
    Python3_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.7.14/x64

...

======================================================================
FAIL: test_run_until_complete (test.test_asyncio.test_events.SelectEventLoopTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/runner/hostedtoolcache/Python/3.7.14/x64/lib/python3.7/test/test_asyncio/test_events.py", line 272, in test_run_until_complete
    self.assertTrue(0.08 <= t1-t0 <= 0.8, t1-t0)
AssertionError: False is not true : 0.8978740370000011

----------------------------------------------------------------------
Ran 2055 tests in 55.711s

FAILED (failures=1, skipped=37)
Error: Process completed with exit code 1.

This looks like a flaw with the test case itself.

from qtinter.

fancidev avatar fancidev commented on July 27, 2024

tests #94 had the following error:

Python-3.10-PyQt6-macos-latest

Run python -m test.test_asyncio
  python -m test.test_asyncio
  shell: /bin/bash -e {0}
  env:
    pythonLocation: /Users/runner/hostedtoolcache/Python/3.10.7/x64
    PKG_CONFIG_PATH: /Users/runner/hostedtoolcache/Python/3.10.7/x64/lib/pkgconfig
    Python_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.10.7/x64
    Python2_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.10.7/x64
    Python3_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.10.7/x64

...

======================================================================
ERROR: test_create_ssl_connection (test.test_asyncio.test_events.KqueueEventLoopTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/runner/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/test/test_asyncio/test_events.py", line 642, in test_create_ssl_connection
    self._test_create_ssl_connection(httpd, create_connection,
  File "/Users/runner/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/test/test_asyncio/test_events.py", line 630, in _test_create_ssl_connection
    self._basetest_create_ssl_connection(conn_fut, check_sockname,
  File "/Users/runner/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/test/test_asyncio/test_events.py", line 589, in _basetest_create_ssl_connection
    tr, pr = self.loop.run_until_complete(connection_fut)
  File "/Users/runner/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
    return future.result()
  File "/Users/runner/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/asyncio/base_events.py", line 1089, in create_connection
    transport, protocol = await self._create_connection_transport(
  File "/Users/runner/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/asyncio/base_events.py", line 1119, in _create_connection_transport
    await waiter
  File "/Users/runner/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/asyncio/selector_events.py", line 854, in _read_ready__data_received
    data = self._sock.recv(self.max_size)
ConnectionResetError: [Errno 54] Connection reset by peer

----------------------------------------------------------------------
Ran 2268 tests in 69.858s

FAILED (errors=1, skipped=73)
Error: Process completed with exit code 1.

This looks like a glitch of the test infrastructure.

from qtinter.

fancidev avatar fancidev commented on July 27, 2024

tests #95 had the following error:

Python-3.7-PySide2-macos-latest

Run python -m test.test_asyncio
  python -m test.test_asyncio
  shell: /bin/bash -e {0}
  env:
    pythonLocation: /Users/runner/hostedtoolcache/Python/3.7.14/x64
    PKG_CONFIG_PATH: /Users/runner/hostedtoolcache/Python/3.7.14/x64/lib/pkgconfig
    Python_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.7.14/x64
    Python2_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.7.14/x64
    Python3_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.7.14/x64

...

======================================================================
ERROR: test_create_server_ssl_verified (test.test_asyncio.test_events.SelectEventLoopTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/runner/hostedtoolcache/Python/3.7.14/x64/lib/python3.7/test/test_asyncio/test_events.py", line 1235, in test_create_server_ssl_verified
    proto.transport.close()
AttributeError: 'NoneType' object has no attribute 'close'

----------------------------------------------------------------------
Ran 2055 tests in 55.830s

FAILED (errors=1, skipped=37)
Error: Process completed with exit code 1.

This appears to be a bug with Python 3.7's implementation, as I've seen the same error before for a few times.

from qtinter.

fancidev avatar fancidev commented on July 27, 2024

There appears to be no new type of error apart from the above. Closing this issue for now.

from qtinter.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.