You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tests: seven more skipUnless gates have never executed on any CI path (106 methods) #738
#729 fixed HAS_DPKT. Seven more gates are in the identical never-executes state — the dependency lives in an extra no CI job installs, so the tests report as skips, which read as passes.
CI installs .[test] on the test legs and .[test,Scapy] on integration/gate. The test extra is pytest, pytest-xdist, typing-extensions — nothing else. Counts are my own AST pass over tests/, resolving class-level and method-level skipUnless gates, against origin/main at 55513f69e.
Two nuances that make this a judgement call rather than a pure defect:
HAS_VENDOR_DEPS and HAS_CRAWLER_DEPS (55 of the 106) exercise the vendor crawlers, which reach the network. Those may be deliberately dark in CI — see Vendor crawlers: three take a Wikipedia 403 on the default User-Agent, three point at a dead IETF URL #518, where four Wikipedia 403s and a dead IETF URL make them flaky by nature. Installing requests would make them run and possibly fail on upstream availability rather than on our code. This wants your ruling, not a blanket fix.
HAS_SCAPY (14) is not in this list — Scapyis installed on the integration and gate legs, so those run. They are dark only on the test leg.
HAS_PYPCAP (4) and HAS_PCAP_CT (1) are excluded as defensibly dark: C extensions needing libpcap headers.
The cheap, uncontroversial subset is HAS_CRYPTO + HAS_EMOJI + HAS_PYCRATE + HAS_PYPCAPFILE = 48 methods, all pure-Python or wheel-shipping, and test_cli_subprocess.py is already selected wholesale by the integration job — so that one is literally the same one-line install-list edit #737 made. test_esp_unit.py is real ESP crypto correctness, which is the highest-value of the set.
Why the whole class survived:Pipfile [dev-packages] carries dpkt, cryptography and emoji, so local make test has always run these. Only CI was ever blind.
#729 fixed
HAS_DPKT. Seven more gates are in the identical never-executes state — the dependency lives in an extra no CI job installs, so the tests report as skips, which read as passes.CI installs
.[test]on thetestlegs and.[test,Scapy]onintegration/gate. Thetestextra ispytest,pytest-xdist,typing-extensions— nothing else. Counts are my own AST pass overtests/, resolving class-level and method-levelskipUnlessgates, againstorigin/mainat55513f69e.HAS_VENDOR_DEPSvendor(requests)tests/vendor/*HAS_CRYPTOcrypto(cryptography)protocols/internet/test_esp_unit.pyHAS_EMOJIcli(emoji)integration/test_cli_subprocess.pyHAS_CRAWLER_DEPSvendortests/vendor/*HAS_PYCRATENGAP(pycrate)protocols/application/test_ngap_unit.pyHAS_PYPCAPFILEPyPCAPFiletoolkit/test_pypcapfile_unit.pyHAS_PYSHARKPySharktsharkis separate)foundation/engines/test_pyshark_engine.py106 methods, against #729's 28.
Two nuances that make this a judgement call rather than a pure defect:
HAS_VENDOR_DEPSandHAS_CRAWLER_DEPS(55 of the 106) exercise the vendor crawlers, which reach the network. Those may be deliberately dark in CI — see Vendor crawlers: three take a Wikipedia 403 on the default User-Agent, three point at a dead IETF URL #518, where four Wikipedia 403s and a dead IETF URL make them flaky by nature. Installingrequestswould make them run and possibly fail on upstream availability rather than on our code. This wants your ruling, not a blanket fix.HAS_SCAPY(14) is not in this list —Scapyis installed on theintegrationandgatelegs, so those run. They are dark only on thetestleg.HAS_PYPCAP(4) andHAS_PCAP_CT(1) are excluded as defensibly dark: C extensions needing libpcap headers.The cheap, uncontroversial subset is
HAS_CRYPTO+HAS_EMOJI+HAS_PYCRATE+HAS_PYPCAPFILE= 48 methods, all pure-Python or wheel-shipping, andtest_cli_subprocess.pyis already selected wholesale by theintegrationjob — so that one is literally the same one-line install-list edit #737 made.test_esp_unit.pyis real ESP crypto correctness, which is the highest-value of the set.Why the whole class survived:
Pipfile [dev-packages]carriesdpkt,cryptographyandemoji, so localmake testhas always run these. Only CI was ever blind.