question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Many test cases failed under Windows

See original GitHub issue
============================= test session starts =============================
platform win32 -- Python 3.8.2, pytest-5.4.1, py-1.8.1, pluggy-0.13.1 -- d:\ProgramData\Python38\python.exe
cachedir: .pytest_cache
rootdir: E:\data\aioquic-0.8.6
plugins: asyncio-0.10.0
collecting ... collected 300 items

tests/test_asyncio.py::HighLevelTest::test_change_connection_id FAILED   [  0%]
tests/test_asyncio.py::HighLevelTest::test_connect_and_serve FAILED      [  0%]
tests/test_asyncio.py::HighLevelTest::test_connect_and_serve_ec_certificate FAILED [  1%]
tests/test_asyncio.py::HighLevelTest::test_connect_and_serve_large FAILED [  1%]
tests/test_asyncio.py::HighLevelTest::test_connect_and_serve_with_packet_loss FAILED [  1%]
tests/test_asyncio.py::HighLevelTest::test_connect_and_serve_with_session_ticket FAILED [  2%]
tests/test_asyncio.py::HighLevelTest::test_connect_and_serve_with_sni FAILED [  2%]
tests/test_asyncio.py::HighLevelTest::test_connect_and_serve_with_stateless_retry FAILED [  2%]
tests/test_asyncio.py::HighLevelTest::test_connect_and_serve_with_stateless_retry_bad PASSED [  3%]
tests/test_asyncio.py::HighLevelTest::test_connect_and_serve_with_stateless_retry_bad_original_connection_id PASSED [  3%]
tests/test_asyncio.py::HighLevelTest::test_connect_and_serve_with_version_negotiation FAILED [  3%]
tests/test_asyncio.py::HighLevelTest::test_connect_and_serve_without_client_configuration PASSED [  4%]
tests/test_asyncio.py::HighLevelTest::test_connect_and_serve_writelines FAILED [  4%]
tests/test_asyncio.py::HighLevelTest::test_connect_timeout PASSED        [  4%]
tests/test_asyncio.py::HighLevelTest::test_connect_timeout_no_wait_connected PASSED [  5%]
tests/test_asyncio.py::HighLevelTest::test_key_update FAILED             [  5%]
tests/test_asyncio.py::HighLevelTest::test_ping FAILED                   [  5%]
tests/test_asyncio.py::HighLevelTest::test_ping_parallel FAILED          [  6%]
tests/test_asyncio.py::HighLevelTest::test_server_receives_garbage PASSED [  6%]
tests/test_asyncio_compat.py::AsyncioCompatTest::test_ok PASSED          [  6%]
tests/test_asyncio_compat.py::AsyncioCompatTest::test_raise_exception PASSED [  7%]
tests/test_asyncio_compat.py::AsyncioCompatTest::test_raise_exception_type PASSED [  7%]
tests/test_buffer.py::BufferTest::test_data_slice PASSED                 [  7%]
tests/test_buffer.py::BufferTest::test_pull_bytes PASSED                 [  8%]
tests/test_buffer.py::BufferTest::test_pull_bytes_negative PASSED        [  8%]
tests/test_buffer.py::BufferTest::test_pull_bytes_truncated PASSED       [  8%]
tests/test_buffer.py::BufferTest::test_pull_bytes_zero PASSED            [  9%]
tests/test_buffer.py::BufferTest::test_pull_uint16 PASSED                [  9%]
tests/test_buffer.py::BufferTest::test_pull_uint16_truncated PASSED      [  9%]
tests/test_buffer.py::BufferTest::test_pull_uint32 PASSED                [ 10%]
tests/test_buffer.py::BufferTest::test_pull_uint32_truncated PASSED      [ 10%]
tests/test_buffer.py::BufferTest::test_pull_uint64 PASSED                [ 10%]
tests/test_buffer.py::BufferTest::test_pull_uint64_truncated PASSED      [ 11%]
tests/test_buffer.py::BufferTest::test_pull_uint8 PASSED                 [ 11%]
tests/test_buffer.py::BufferTest::test_pull_uint8_truncated PASSED       [ 11%]
tests/test_buffer.py::BufferTest::test_push_bytes PASSED                 [ 12%]
tests/test_buffer.py::BufferTest::test_push_bytes_truncated PASSED       [ 12%]
tests/test_buffer.py::BufferTest::test_push_bytes_zero PASSED            [ 12%]
tests/test_buffer.py::BufferTest::test_push_uint16 PASSED                [ 13%]
tests/test_buffer.py::BufferTest::test_push_uint32 PASSED                [ 13%]
tests/test_buffer.py::BufferTest::test_push_uint64 PASSED                [ 13%]
tests/test_buffer.py::BufferTest::test_push_uint8 PASSED                 [ 14%]
tests/test_buffer.py::BufferTest::test_seek PASSED                       [ 14%]
tests/test_buffer.py::UintVarTest::test_pull_uint_var_truncated PASSED   [ 14%]
tests/test_buffer.py::UintVarTest::test_push_uint_var_too_big PASSED     [ 15%]
tests/test_buffer.py::UintVarTest::test_size_uint_var PASSED             [ 15%]
tests/test_buffer.py::UintVarTest::test_uint_var PASSED                  [ 15%]

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
jlainecommented, Mar 30, 2020

Alright, the test suite now passes on Windows.

I’ve also landed a number of fixes for Windows such as:

  • use the certifi package to have a sane Certificate Authority store for all platforms

  • when talking to an IPv4 host, make the client use an IPv4-only socket on Windows

0reactions
hongleicommented, Mar 30, 2020

Excellent ! Many thanks for your hard working!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Windows HLK Test Failures | Microsoft Learn
1. Install latest updates and filters. Verify that you have the latest updates and filters for Windows HLK. The test failure might already...
Read more >
Test Automation Best Practice #6: Resolve Failing Test Cases
Check out why taking the time to resolve your failed test cases, and to learn from the failures, will help make your entire...
Read more >
Test case failing while trying to run it from suit level, while ...
As a workaround, I have used the retry failed tests within the execution information in the test suit options. It will then run...
Read more >
Maven tests pass in Windows 10 but fail in Ubuntu 16.04
I cloned the project in Ubuntu from the remote repository using Intellij IDEA's built in Git functionality. Many of the other test cases...
Read more >
How to Execute Failed Test Cases in TestNG - Guru99
If any of the test case fails while executing multiple test cases, you can execute that specific test case separately. The static method...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found