fix(net): Rework NO_GLOBALS to not act on dependent network classes (… #552
GitHub Actions / Test Results
failed
Oct 22, 2025 in 0s
2 fail, 48 pass in 2h 26m 33s
205 files 205 suites 2h 26m 33s ⏱️
50 tests 48 ✅ 0 💤 2 ❌
517 runs 515 ✅ 0 💤 2 ❌
Results for commit 7a9a10c.
Annotations
github-actions / Test Results
1 out of 9 runs failed: psram_found
./artifacts/test-results-hw/validation/psram/esp32c5/psram.xml
Raw output
Expected TRUE Was FALSE
Check warning on line 0 in performance.psramspeed.test_psramspeed
github-actions / Test Results
1 out of 5 runs failed: test_psramspeed (performance.psramspeed.test_psramspeed)
./artifacts/test-results-hw/performance/psramspeed/esp32c5/psramspeed.xml [took 1m 17s]
Raw output
pexpect.exceptions.TIMEOUT: Not found "Runs: (\d+)"
Bytes in current buffer (color code eliminated): Serial port /dev/ttyUSB12: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 2999 bytes)
Please check the full log here: /tmp/pytest-embedded/2025-10-22_00-46-25-252472/test_psramspeed/dut.log
self = <pytest_embedded_serial.dut.SerialDut object at 0x77fcf9ce9130>
pattern = 'Runs: (\\d+)', expect_all = False, not_matching = ()
return_what_before_match = False, args = (), kwargs = {'timeout': 60}
patterns = ['Runs: (\\d+)'], res = []
debug_str = 'Not found "Runs: (\\d+)"\nBytes in current buffer (color code eliminated): Serial port /dev/ttyUSB12: Connecting.... ...l 2999 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-22_00-46-25-252472/test_psramspeed/dut.log'
@functools.wraps(func)
def wrapper(
self,
pattern,
*args,
expect_all: bool = False,
not_matching: list[str | re.Pattern] = (),
return_what_before_match: bool = False,
**kwargs,
) -> Match | AnyStr | list[Match | AnyStr]:
if return_what_before_match and expect_all:
raise ValueError('`return_what_before_match` and `expect_all` cannot be `True` at the same time.')
patterns = to_list(pattern)
res = []
while patterns:
try:
> index = func(self, pattern, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.12/site-packages/pytest_embedded/dut.py:86:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/pytest_embedded/dut.py:146: in expect
return self.pexpect_proc.expect(pattern, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.12/site-packages/pexpect/spawnbase.py:354: in expect
return self.expect_list(compiled_pattern_list,
/usr/local/lib/python3.12/site-packages/pexpect/spawnbase.py:383: in expect_list
return exp.expect_loop(timeout)
^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.12/site-packages/pexpect/expect.py:181: in expect_loop
return self.timeout(e)
^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pexpect.expect.Expecter object at 0x77fcf9ce9eb0>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x77fcf9ed4200>\nsearcher: searcher_re:\n 0: re.compile(b'Runs: (\\\\d+)')")
def timeout(self, err=None):
spawn = self.spawn
spawn.before = spawn._before.getvalue()
spawn.after = TIMEOUT
index = self.searcher.timeout_index
if index >= 0:
spawn.match = TIMEOUT
spawn.match_index = index
return index
else:
spawn.match = None
spawn.match_index = None
msg = str(spawn)
msg += '\nsearcher: %s' % self.searcher
if err is not None:
msg = str(err) + '\n' + msg
exc = TIMEOUT(msg)
exc.__cause__ = None # in Python 3.x we can use "raise exc from None"
> raise exc
E pexpect.exceptions.TIMEOUT: <pytest_embedded.log.PexpectProcess object at 0x77fcf9ed4200>
E searcher: searcher_re:
E 0: re.compile(b'Runs: (\\d+)')
E <pytest_embedded.log.PexpectProcess object at 0x77fcf9ed4200>
E searcher: searcher_re:
E 0: re.compile(b'Runs: (\\d+)')
/usr/local/lib/python3.12/site-packages/pexpect/expect.py:144: TIMEOUT
The above exception was the direct cause of the following exception:
dut = <pytest_embedded_serial.dut.SerialDut object at 0x77fcf9ce9130>
request = <FixtureRequest for <Function test_psramspeed>>
def test_psramspeed(dut, request):
LOGGER = logging.getLogger(__name__)
runs_results = []
# Match "Runs: %d"
> res = dut.expect(r"Runs: (\d+)", timeout=60)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/performance/psramspeed/test_psramspeed.py:14:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_embedded_serial.dut.SerialDut object at 0x77fcf9ce9130>
pattern = 'Runs: (\\d+)', expect_all = False, not_matching = ()
return_what_before_match = False, args = (), kwargs = {'timeout': 60}
patterns = ['Runs: (\\d+)'], res = []
debug_str = 'Not found "Runs: (\\d+)"\nBytes in current buffer (color code eliminated): Serial port /dev/ttyUSB12: Connecting.... ...l 2999 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-22_00-46-25-252472/test_psramspeed/dut.log'
@functools.wraps(func)
def wrapper(
self,
pattern,
*args,
expect_all: bool = False,
not_matching: list[str | re.Pattern] = (),
return_what_before_match: bool = False,
**kwargs,
) -> Match | AnyStr | list[Match | AnyStr]:
if return_what_before_match and expect_all:
raise ValueError('`return_what_before_match` and `expect_all` cannot be `True` at the same time.')
patterns = to_list(pattern)
res = []
while patterns:
try:
index = func(self, pattern, *args, **kwargs)
except (pexpect.EOF, pexpect.TIMEOUT) as e:
debug_str = (
f'Not found "{pattern!s}"\n'
f'Bytes in current buffer (color code eliminated): {self.pexpect_proc.buffer_debug_str}\n'
f'Please check the full log here: {self.logfile}'
)
> raise e.__class__(debug_str) from e
E pexpect.exceptions.TIMEOUT: Not found "Runs: (\d+)"
E Bytes in current buffer (color code eliminated): Serial port /dev/ttyUSB12: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 2999 bytes)
E Please check the full log here: /tmp/pytest-embedded/2025-10-22_00-46-25-252472/test_psramspeed/dut.log
/usr/local/lib/python3.12/site-packages/pytest_embedded/dut.py:93: TIMEOUT
Check notice on line 0 in .github
github-actions / Test Results
50 tests found
There are 50 tests, see "Raw output" for the full list of tests.
Raw output
auto_baudrate_test
basic_transmission_test
begin_when_running_test
change_baudrate_test
change_clock
change_cpu_frequency_test
change_pins_test
disabled_uart_calls_test
enabled_uart_calls_test
end_when_stopped_test
performance.coremark.test_coremark ‑ test_coremark
performance.fibonacci.test_fibonacci ‑ test_fibonacci
performance.linpack_double.test_linpack_double ‑ test_linpack_double
performance.linpack_float.test_linpack_float ‑ test_linpack_float
performance.psramspeed.test_psramspeed ‑ test_psramspeed
performance.ramspeed.test_ramspeed ‑ test_ramspeed
performance.superpi.test_superpi ‑ test_superpi
periman_test
psram_found
resize_buffers_test
rtc_run_clock
rtc_set_time
scan_bus
scan_bus_with_wifi
swap_pins
test_api
test_calloc_success
test_fail
test_malloc_fail
test_malloc_success
test_memcpy
test_memset_all_ones
test_memset_all_zeroes
test_memset_alternating
test_memset_random
test_pass
test_realloc_success
test_touch_errors
test_touch_interrtupt
test_touch_read
timer_clock_select_test
timer_divider_test
timer_interrupt_test
timer_read_test
validation.democfg.test_democfg ‑ test_cfg
validation.gpio.test_gpio ‑ test_gpio
validation.hello_world.test_hello_world ‑ test_hello_world
validation.nvs.test_nvs ‑ test_nvs
validation.periman.test_periman ‑ test_periman
validation.wifi.test_wifi ‑ test_wifi
Loading