Skip to content

Merge branch 'ci/fixes' #87

Merge branch 'ci/fixes'

Merge branch 'ci/fixes' #87

GitHub Actions / Test Results failed Oct 16, 2025 in 0s

13 errors, 15 fail, 39 pass in 2h 15m 2s

215 files  215 suites   2h 15m 2s ⏱️
 67 tests  39 ✅ 0 💤 15 ❌ 13 🔥
501 runs  461 ✅ 0 💤 15 ❌ 25 🔥

Results for commit c6341c7.

Annotations

Check warning on line 0 in performance.fibonacci.test_fibonacci

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 7 runs failed: test_fibonacci (performance.fibonacci.test_fibonacci)

./artifacts/test-results-hw/performance/fibonacci/esp32c5/fibonacci.xml [took 1m 17s]
Raw output
pexpect.exceptions.TIMEOUT: Not found "Runs: (\d+)"
Bytes in current buffer (color code eliminated): Serial port /dev/ttyUSB8: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 35613 bytes)
Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-30-55-295427/test_fibonacci/dut.log
self = <pytest_embedded_serial.dut.SerialDut object at 0x77d7ae979970>
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/ttyUSB8: Connecting.... C...l 35613 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-30-55-295427/test_fibonacci/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 0x77d7aeb2b650>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x77d7af1373b0>\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 0x77d7af1373b0>
E           searcher: searcher_re:
E               0: re.compile(b'Runs: (\\d+)')
E           <pytest_embedded.log.PexpectProcess object at 0x77d7af1373b0>
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 0x77d7ae979970>
request = <FixtureRequest for <Function test_fibonacci>>

    def test_fibonacci(dut, request):
        LOGGER = logging.getLogger(__name__)
    
        # Match "Runs: %d"
>       res = dut.expect(r"Runs: (\d+)", timeout=60)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/performance/fibonacci/test_fibonacci.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_serial.dut.SerialDut object at 0x77d7ae979970>
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/ttyUSB8: Connecting.... C...l 35613 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-30-55-295427/test_fibonacci/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/ttyUSB8: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 35613 bytes)
E               Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-30-55-295427/test_fibonacci/dut.log

/usr/local/lib/python3.12/site-packages/pytest_embedded/dut.py:93: TIMEOUT

Check warning on line 0 in performance.coremark.test_coremark

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 7 runs failed: test_coremark (performance.coremark.test_coremark)

./artifacts/test-results-hw/performance/coremark/esp32c5/coremark.xml [took 1m 17s]
Raw output
pexpect.exceptions.TIMEOUT: Not found "Runs: (\d+)"
Bytes in current buffer (color code eliminated): Serial port /dev/ttyUSB8: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 35613 bytes)
Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-28-17-594659/test_coremark/dut.log
self = <pytest_embedded_serial.dut.SerialDut object at 0x78e83d602e40>
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/ttyUSB8: Connecting.... C...al 35613 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-28-17-594659/test_coremark/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 0x78e83d610a10>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x78e83dab7f20>\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 0x78e83dab7f20>
E           searcher: searcher_re:
E               0: re.compile(b'Runs: (\\d+)')
E           <pytest_embedded.log.PexpectProcess object at 0x78e83dab7f20>
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 0x78e83d602e40>
request = <FixtureRequest for <Function test_coremark>>

    def test_coremark(dut, request):
        LOGGER = logging.getLogger(__name__)
    
        # Match "Runs: %d"
>       res = dut.expect(r"Runs: (\d+)", timeout=60)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/performance/coremark/test_coremark.py:10: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_serial.dut.SerialDut object at 0x78e83d602e40>
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/ttyUSB8: Connecting.... C...al 35613 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-28-17-594659/test_coremark/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/ttyUSB8: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 35613 bytes)
E               Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-28-17-594659/test_coremark/dut.log

/usr/local/lib/python3.12/site-packages/pytest_embedded/dut.py:93: TIMEOUT

Check failure on line 0 in validation.nvs

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 4 runs with error: missing-run (validation.nvs)

./test_errors/test-results-hardware/tests/validation/nvs/esp32h2/nvs_missing_0.xml
./test_errors/test-results-hardware/tests/validation/nvs/esp32h2/nvs_missing_1.xml
./test_errors/test-results-hardware/tests/validation/nvs/esp32h2/nvs_missing_2.xml
./test_errors/test-results-hardware/tests/validation/nvs/esp32h2/nvs_missing_3.xml
Raw output
Expected test run missing
This placeholder indicates an expected test run did not execute.

Check warning on line 0 in performance.superpi.test_superpi

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 7 runs failed: test_superpi (performance.superpi.test_superpi)

./artifacts/test-results-hw/performance/superpi/esp32c5/superpi.xml [took 1m 24s]
Raw output
pexpect.exceptions.TIMEOUT: Not found "Runs: (\d+)"
Bytes in current buffer (color code eliminated): Serial port /dev/ttyUSB8: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 36048 bytes)
Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-41-31-701491/test_superpi/dut.log
self = <pytest_embedded_serial.dut.SerialDut object at 0x7c4289b83d70>
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/ttyUSB8: Connecting.... C...tal 36048 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-41-31-701491/test_superpi/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 0x7c4289c3d2b0>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x7c4289a9bc20>\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 0x7c4289a9bc20>
E           searcher: searcher_re:
E               0: re.compile(b'Runs: (\\d+)')
E           <pytest_embedded.log.PexpectProcess object at 0x7c4289a9bc20>
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 0x7c4289b83d70>
request = <FixtureRequest for <Function test_superpi>>

    def test_superpi(dut, request):
        LOGGER = logging.getLogger(__name__)
    
        # Match "Runs: %d"
>       res = dut.expect(r"Runs: (\d+)", timeout=60)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/performance/superpi/test_superpi.py:10: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_serial.dut.SerialDut object at 0x7c4289b83d70>
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/ttyUSB8: Connecting.... C...tal 36048 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-41-31-701491/test_superpi/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/ttyUSB8: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 36048 bytes)
E               Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-41-31-701491/test_superpi/dut.log

/usr/local/lib/python3.12/site-packages/pytest_embedded/dut.py:93: TIMEOUT

Check warning on line 0 in validation.democfg.test_democfg

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 6 runs failed: test_cfg (validation.democfg.test_democfg)

./artifacts/test-results-hw/validation/democfg/esp32c5/democfg.xml [took 47s]
Raw output
pexpect.exceptions.TIMEOUT: Not found "Hello cfg!"
Bytes in current buffer (color code eliminated): ash_boot
Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-28-43-077197/test_cfg/dut.log
self = <pytest_embedded_serial.dut.SerialDut object at 0x79dd340fbf50>
pattern = 'Hello cfg!', expect_all = False, not_matching = ()
return_what_before_match = False, args = (), kwargs = {}
patterns = ['Hello cfg!'], res = []
debug_str = 'Not found "Hello cfg!"\nBytes in current buffer (color code eliminated): ash_boot\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-28-43-077197/test_cfg/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:170: in expect_exact
    return self.pexpect_proc.expect_exact(pattern, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.12/site-packages/pexpect/spawnbase.py:432: in expect_exact
    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 0x79dd340f8b30>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x79dd33ccff80>\nsearcher: searcher_string:\n    0: b'Hello cfg!'")

    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 0x79dd33ccff80>
E           searcher: searcher_string:
E               0: b'Hello cfg!'
E           <pytest_embedded.log.PexpectProcess object at 0x79dd33ccff80>
E           searcher: searcher_string:
E               0: b'Hello cfg!'

/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 0x79dd340fbf50>

    def test_cfg(dut):
>       dut.expect_exact("Hello cfg!")

tests/validation/democfg/test_democfg.py:2: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_serial.dut.SerialDut object at 0x79dd340fbf50>
pattern = 'Hello cfg!', expect_all = False, not_matching = ()
return_what_before_match = False, args = (), kwargs = {}
patterns = ['Hello cfg!'], res = []
debug_str = 'Not found "Hello cfg!"\nBytes in current buffer (color code eliminated): ash_boot\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-28-43-077197/test_cfg/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 "Hello cfg!"
E               Bytes in current buffer (color code eliminated): ash_boot
E               Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-28-43-077197/test_cfg/dut.log

/usr/local/lib/python3.12/site-packages/pytest_embedded/dut.py:93: TIMEOUT

Check warning on line 0 in validation.nvs.test_nvs

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 39 runs failed: test_nvs (validation.nvs.test_nvs)

./artifacts/test-results-hw/validation/nvs/esp32c5/nvs.xml [took 48s]
Raw output
pexpect.exceptions.TIMEOUT: Not found "Values from Preferences: char: A | uchar: 0 | short: 0 | ushort: 0 | int: 0 | uint: 0 | long: 0 | ulong: 0 | long64: 0 | ulong64: 0 | float: 0.00 | double: 0.00 | bool: false | str: str0 | strLen: strLen0 | struct: {id:1,val:100}"
Bytes in current buffer (color code eliminated): :0x10 (RTC_WDT_SYS),boot:0x18 (SPI_FAST_FLASH_BOOT) invalid header: 0x40857637 invalid header: 0x40857637 invalid header: 0x40857637 assertion "result == ETS_OK" failed: file... (total 229 bytes)
Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-31-57-150499/test_nvs/dut.log
self = <pytest_embedded_serial.dut.SerialDut object at 0x760c2f7492b0>
pattern = 'Values from Preferences: char: A | uchar: 0 | short: 0 | ushort: 0 | int: 0 | uint: 0 | long: 0 | ulong: 0 | long64: 0 | ulong64: 0 | float: 0.00 | double: 0.00 | bool: false | str: str0 | strLen: strLen0 | struct: {id:1,val:100}'
expect_all = False, not_matching = (), return_what_before_match = False
args = (), kwargs = {}
patterns = ['Values from Preferences: char: A | uchar: 0 | short: 0 | ushort: 0 | int: 0 | uint: 0 | long: 0 | ulong: 0 | long64: 0 | ulong64: 0 | float: 0.00 | double: 0.00 | bool: false | str: str0 | strLen: strLen0 | struct: {id:1,val:100}']
res = []
debug_str = 'Not found "Values from Preferences: char: A | uchar: 0 | short: 0 | ushort: 0 | int: 0 | uint: 0 | long: 0 | ulong: 0..... (total 229 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-31-57-150499/test_nvs/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:170: in expect_exact
    return self.pexpect_proc.expect_exact(pattern, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.12/site-packages/pexpect/spawnbase.py:432: in expect_exact
    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 0x760c2f4fa540>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x760c2f4f89b0>\nsearcher: searcher_string:\n    0: b'Values fr...64: 0 | ulong64: 0 | float: 0.00 | double: 0.00 | bool: false | str: str0 | strLen: strLen0 | struct: {id:1,val:100}'")

    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 0x760c2f4f89b0>
E           searcher: searcher_string:
E               0: b'Values from Preferences: char: A | uchar: 0 | short: 0 | ushort: 0 | int: 0 | uint: 0 | long: 0 | ulong: 0 | long64: 0 | ulong64: 0 | float: 0.00 | double: 0.00 | bool: false | str: str0 | strLen: strLen0 | struct: {id:1,val:100}'
E           <pytest_embedded.log.PexpectProcess object at 0x760c2f4f89b0>
E           searcher: searcher_string:
E               0: b'Values from Preferences: char: A | uchar: 0 | short: 0 | ushort: 0 | int: 0 | uint: 0 | long: 0 | ulong: 0 | long64: 0 | ulong64: 0 | float: 0.00 | double: 0.00 | bool: false | str: str0 | strLen: strLen0 | struct: {id:1,val:100}'

/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 0x760c2f7492b0>

    def test_nvs(dut):
        LOGGER = logging.getLogger(__name__)
    
        LOGGER.info("Expecting default values from Preferences")
>       dut.expect_exact(
            "Values from Preferences: char: A | uchar: 0 | short: 0 | ushort: 0 | int: 0 | uint: 0 | long: 0 | ulong: 0 | "
            "long64: 0 | ulong64: 0 | float: 0.00 | double: 0.00 | bool: false | str: str0 | strLen: strLen0 | "
            "struct: {id:1,val:100}"
        )

tests/validation/nvs/test_nvs.py:8: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_serial.dut.SerialDut object at 0x760c2f7492b0>
pattern = 'Values from Preferences: char: A | uchar: 0 | short: 0 | ushort: 0 | int: 0 | uint: 0 | long: 0 | ulong: 0 | long64: 0 | ulong64: 0 | float: 0.00 | double: 0.00 | bool: false | str: str0 | strLen: strLen0 | struct: {id:1,val:100}'
expect_all = False, not_matching = (), return_what_before_match = False
args = (), kwargs = {}
patterns = ['Values from Preferences: char: A | uchar: 0 | short: 0 | ushort: 0 | int: 0 | uint: 0 | long: 0 | ulong: 0 | long64: 0 | ulong64: 0 | float: 0.00 | double: 0.00 | bool: false | str: str0 | strLen: strLen0 | struct: {id:1,val:100}']
res = []
debug_str = 'Not found "Values from Preferences: char: A | uchar: 0 | short: 0 | ushort: 0 | int: 0 | uint: 0 | long: 0 | ulong: 0..... (total 229 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-31-57-150499/test_nvs/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 "Values from Preferences: char: A | uchar: 0 | short: 0 | ushort: 0 | int: 0 | uint: 0 | long: 0 | ulong: 0 | long64: 0 | ulong64: 0 | float: 0.00 | double: 0.00 | bool: false | str: str0 | strLen: strLen0 | struct: {id:1,val:100}"
E               Bytes in current buffer (color code eliminated): :0x10 (RTC_WDT_SYS),boot:0x18 (SPI_FAST_FLASH_BOOT) invalid header: 0x40857637 invalid header: 0x40857637 invalid header: 0x40857637 assertion "result == ETS_OK" failed: file... (total 229 bytes)
E               Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-31-57-150499/test_nvs/dut.log

/usr/local/lib/python3.12/site-packages/pytest_embedded/dut.py:93: TIMEOUT

Check warning on line 0 in validation.hello_world.test_hello_world

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 14 runs failed: test_hello_world (validation.hello_world.test_hello_world)

./artifacts/test-results-hw/validation/hello_world/esp32c5/hello_world.xml [took 47s]
Raw output
pexpect.exceptions.TIMEOUT: Not found "Hello Arduino!"
Bytes in current buffer (color code eliminated): s_flash_boot
Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-30-19-643803/test_hello_world/dut.log
self = <pytest_embedded_serial.dut.SerialDut object at 0x74e9cd4d1880>
pattern = 'Hello Arduino!', expect_all = False, not_matching = ()
return_what_before_match = False, args = (), kwargs = {}
patterns = ['Hello Arduino!'], res = []
debug_str = 'Not found "Hello Arduino!"\nBytes in current buffer (color code eliminated): s_flash_boot\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-30-19-643803/test_hello_world/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:170: in expect_exact
    return self.pexpect_proc.expect_exact(pattern, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.12/site-packages/pexpect/spawnbase.py:432: in expect_exact
    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 0x74e9cd754380>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x74e9cd4d1460>\nsearcher: searcher_string:\n    0: b'Hello Arduino!'")

    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 0x74e9cd4d1460>
E           searcher: searcher_string:
E               0: b'Hello Arduino!'
E           <pytest_embedded.log.PexpectProcess object at 0x74e9cd4d1460>
E           searcher: searcher_string:
E               0: b'Hello Arduino!'

/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 0x74e9cd4d1880>

    def test_hello_world(dut):
>       dut.expect_exact("Hello Arduino!")

tests/validation/hello_world/test_hello_world.py:2: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_serial.dut.SerialDut object at 0x74e9cd4d1880>
pattern = 'Hello Arduino!', expect_all = False, not_matching = ()
return_what_before_match = False, args = (), kwargs = {}
patterns = ['Hello Arduino!'], res = []
debug_str = 'Not found "Hello Arduino!"\nBytes in current buffer (color code eliminated): s_flash_boot\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-30-19-643803/test_hello_world/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 "Hello Arduino!"
E               Bytes in current buffer (color code eliminated): s_flash_boot
E               Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-30-19-643803/test_hello_world/dut.log

/usr/local/lib/python3.12/site-packages/pytest_embedded/dut.py:93: TIMEOUT

Check failure on line 0 in performance.linpack_double

See this annotation in the file changed.

@github-actions github-actions / Test Results

missing-run (performance.linpack_double) with error

./test_errors/test-results-hardware/tests/performance/linpack_double/esp32h2/linpack_double_missing_0.xml
Raw output
Expected test run missing
This placeholder indicates an expected test run did not execute.

Check failure on line 0 in validation.wifi

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 10 runs with error: missing-run (validation.wifi)

./test_errors/test-results-hardware/tests/validation/wifi/esp32/wifi_missing_0.xml
./test_errors/test-results-hardware/tests/validation/wifi/esp32/wifi_missing_1.xml
./test_errors/test-results-hardware/tests/validation/wifi/esp32c3/wifi_missing_0.xml
./test_errors/test-results-hardware/tests/validation/wifi/esp32c5/wifi_missing_0.xml
./test_errors/test-results-hardware/tests/validation/wifi/esp32c6/wifi_missing_0.xml
./test_errors/test-results-hardware/tests/validation/wifi/esp32s2/wifi_missing_0.xml
./test_errors/test-results-hardware/tests/validation/wifi/esp32s2/wifi_missing_1.xml
./test_errors/test-results-hardware/tests/validation/wifi/esp32s3/wifi_missing_0.xml
./test_errors/test-results-hardware/tests/validation/wifi/esp32s3/wifi_missing_1.xml
./test_errors/test-results-hardware/tests/validation/wifi/esp32s3/wifi_missing_2.xml
Raw output
Expected test run missing
This placeholder indicates an expected test run did not execute.

Check warning on line 0 in performance.ramspeed.test_ramspeed

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 7 runs failed: test_ramspeed (performance.ramspeed.test_ramspeed)

./artifacts/test-results-hw/performance/ramspeed/esp32c5/ramspeed.xml [took 1m 17s]
Raw output
pexpect.exceptions.TIMEOUT: Not found "Runs: (\d+)"
Bytes in current buffer (color code eliminated): Serial port /dev/ttyUSB8: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 35923 bytes)
Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-38-47-719572/test_ramspeed/dut.log
self = <pytest_embedded_serial.dut.SerialDut object at 0x75b616cfd9a0>
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/ttyUSB8: Connecting.... C...al 35923 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-38-47-719572/test_ramspeed/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 0x75b6154e2810>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x75b6150afe90>\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 0x75b6150afe90>
E           searcher: searcher_re:
E               0: re.compile(b'Runs: (\\d+)')
E           <pytest_embedded.log.PexpectProcess object at 0x75b6150afe90>
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 0x75b616cfd9a0>
request = <FixtureRequest for <Function test_ramspeed>>

    def test_ramspeed(dut, request):
        LOGGER = logging.getLogger(__name__)
    
        runs_results = []
    
        # Match "Runs: %d"
>       res = dut.expect(r"Runs: (\d+)", timeout=60)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/performance/ramspeed/test_ramspeed.py:14: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_serial.dut.SerialDut object at 0x75b616cfd9a0>
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/ttyUSB8: Connecting.... C...al 35923 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-38-47-719572/test_ramspeed/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/ttyUSB8: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 35923 bytes)
E               Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-38-47-719572/test_ramspeed/dut.log

/usr/local/lib/python3.12/site-packages/pytest_embedded/dut.py:93: TIMEOUT

Check warning on line 0 in validation.timer.test_timer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_timer (validation.timer.test_timer) failed

./artifacts/test-results-hw/validation/timer/esp32c5/timer.xml [took 4m 17s]
Raw output
pexpect.exceptions.TIMEOUT: Not found "re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)', re.MULTILINE)"
Bytes in current buffer (color code eliminated): Serial port /dev/ttyUSB15: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 136515 bytes)
Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-38-13-888861/test_timer/dut.log
self = <pytest_embedded_serial.dut.SerialDut object at 0x766a75d09c70>
pattern = re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)', re.MULTILINE)
expect_all = False, not_matching = (), return_what_before_match = False
args = (), kwargs = {'timeout': 240}
patterns = [re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)', re.MULTILINE)]
res = []
debug_str = 'Not found "re.compile(b\'^[-]+\\\\s*(\\\\d+) Tests (\\\\d+) Failures (\\\\d+) Ignored\\\\s*(?P<result>OK|FAIL)\', re....otal 136515 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-38-13-888861/test_timer/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 0x766a74e67410>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x766a751baf00>\nsearcher: searcher_re:\n    0: re.compile(b'^[-]+\\\\s*(\\\\d+) Tests (\\\\d+) Failures (\\\\d+) Ignored\\\\s*(?P<result>OK|FAIL)')")

    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 0x766a751baf00>
E           searcher: searcher_re:
E               0: re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)')
E           <pytest_embedded.log.PexpectProcess object at 0x766a751baf00>
E           searcher: searcher_re:
E               0: re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)')

/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 0x766a75d09c70>

    def test_timer(dut):
>       dut.expect_unity_test_output(timeout=240)

tests/validation/timer/test_timer.py:2: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.12/site-packages/pytest_embedded/dut.py:197: in expect_unity_test_output
    self.expect(UNITY_SUMMARY_LINE_REGEX, timeout=timeout)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_serial.dut.SerialDut object at 0x766a75d09c70>
pattern = re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)', re.MULTILINE)
expect_all = False, not_matching = (), return_what_before_match = False
args = (), kwargs = {'timeout': 240}
patterns = [re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)', re.MULTILINE)]
res = []
debug_str = 'Not found "re.compile(b\'^[-]+\\\\s*(\\\\d+) Tests (\\\\d+) Failures (\\\\d+) Ignored\\\\s*(?P<result>OK|FAIL)\', re....otal 136515 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-38-13-888861/test_timer/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 "re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)', re.MULTILINE)"
E               Bytes in current buffer (color code eliminated): Serial port /dev/ttyUSB15: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 136515 bytes)
E               Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-38-13-888861/test_timer/dut.log

/usr/local/lib/python3.12/site-packages/pytest_embedded/dut.py:93: TIMEOUT

Check warning on line 0 in performance.linpack_float.test_linpack_float

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 7 runs failed: test_linpack_float (performance.linpack_float.test_linpack_float)

./artifacts/test-results-hw/performance/linpack_float/esp32c5/linpack_float.xml [took 1m 17s]
Raw output
pexpect.exceptions.TIMEOUT: Not found "Runs: (\d+)"
Bytes in current buffer (color code eliminated): Serial port /dev/ttyUSB8: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 35923 bytes)
Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-36-10-489215/test_linpack_float/dut.log
self = <pytest_embedded_serial.dut.SerialDut object at 0x7a8b2859ce30>
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/ttyUSB8: Connecting.... C...923 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-36-10-489215/test_linpack_float/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 0x7a8b27718380>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x7a8b272ebfb0>\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 0x7a8b272ebfb0>
E           searcher: searcher_re:
E               0: re.compile(b'Runs: (\\d+)')
E           <pytest_embedded.log.PexpectProcess object at 0x7a8b272ebfb0>
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 0x7a8b2859ce30>
request = <FixtureRequest for <Function test_linpack_float>>

    def test_linpack_float(dut, request):
        LOGGER = logging.getLogger(__name__)
    
        # Match "Runs: %d"
>       res = dut.expect(r"Runs: (\d+)", timeout=60)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/performance/linpack_float/test_linpack_float.py:10: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_serial.dut.SerialDut object at 0x7a8b2859ce30>
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/ttyUSB8: Connecting.... C...923 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-36-10-489215/test_linpack_float/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/ttyUSB8: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 35923 bytes)
E               Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-36-10-489215/test_linpack_float/dut.log

/usr/local/lib/python3.12/site-packages/pytest_embedded/dut.py:93: TIMEOUT

Check warning on line 0 in validation.periman.test_periman

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 6 runs failed: test_periman (validation.periman.test_periman)

./artifacts/test-results-hw/validation/periman/esp32c5/periman.xml [took 33s]
Raw output
AssertionError: Could not detect end of test
assert False
self = <pytest_embedded_serial.dut.SerialDut object at 0x72ccd1403c20>
pattern = b'(?:\\b\\w+\\b test: This should(?: not)? be printed|Peripheral Manager test done)'
expect_all = False, not_matching = (), return_what_before_match = False
args = (), kwargs = {'timeout': 10}
patterns = [b'(?:\\b\\w+\\b test: This should(?: not)? be printed|Peripheral Manager test done)']
res = []
debug_str = 'Not found "b\'(?:\\\\b\\\\w+\\\\b test: This should(?: not)? be printed|Peripheral Manager test done)\'"\nBytes in cu...otal 8778 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-33-20-641579/test_periman/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 0x72ccd2bedd90>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x72ccd110eb10>\nsearcher: searcher_re:\n    0: re.compile(b'(?:\\\\b\\\\w+\\\\b test: This should(?: not)? be printed|Peripheral Manager test done)')")

    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 0x72ccd110eb10>
E           searcher: searcher_re:
E               0: re.compile(b'(?:\\b\\w+\\b test: This should(?: not)? be printed|Peripheral Manager test done)')
E           <pytest_embedded.log.PexpectProcess object at 0x72ccd110eb10>
E           searcher: searcher_re:
E               0: re.compile(b'(?:\\b\\w+\\b test: This should(?: not)? be printed|Peripheral Manager test done)')

/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 0x72ccd1403c20>

    def test_periman(dut):
        LOGGER = logging.getLogger(__name__)
        peripherals = [
            "GPIO",
            "SigmaDelta",
            "LEDC",
            "RMT",
            "I2S",
            "I2C",
            "SPI",
            "ADC_Oneshot",
            "ADC_Continuous",
            "DAC",
            "Touch",
        ]
    
        pattern = rb"(?:\b\w+\b test: This should(?: not)? be printed|Peripheral Manager test done)"
    
        while True:
            try:
>               res = dut.expect(pattern, timeout=10)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/validation/periman/test_periman.py:24: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_serial.dut.SerialDut object at 0x72ccd1403c20>
pattern = b'(?:\\b\\w+\\b test: This should(?: not)? be printed|Peripheral Manager test done)'
expect_all = False, not_matching = (), return_what_before_match = False
args = (), kwargs = {'timeout': 10}
patterns = [b'(?:\\b\\w+\\b test: This should(?: not)? be printed|Peripheral Manager test done)']
res = []
debug_str = 'Not found "b\'(?:\\\\b\\\\w+\\\\b test: This should(?: not)? be printed|Peripheral Manager test done)\'"\nBytes in cu...otal 8778 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-33-20-641579/test_periman/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 "b'(?:\\b\\w+\\b test: This should(?: not)? be printed|Peripheral Manager test done)'"
E               Bytes in current buffer (color code eliminated): Serial port /dev/ttyUSB15: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 8778 bytes)
E               Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-33-20-641579/test_periman/dut.log

/usr/local/lib/python3.12/site-packages/pytest_embedded/dut.py:93: TIMEOUT

During handling of the above exception, another exception occurred:

dut = <pytest_embedded_serial.dut.SerialDut object at 0x72ccd1403c20>

    def test_periman(dut):
        LOGGER = logging.getLogger(__name__)
        peripherals = [
            "GPIO",
            "SigmaDelta",
            "LEDC",
            "RMT",
            "I2S",
            "I2C",
            "SPI",
            "ADC_Oneshot",
            "ADC_Continuous",
            "DAC",
            "Touch",
        ]
    
        pattern = rb"(?:\b\w+\b test: This should(?: not)? be printed|Peripheral Manager test done)"
    
        while True:
            try:
                res = dut.expect(pattern, timeout=10)
            except Exception as e:  # noqa: F841
>               assert False, "Could not detect end of test"
E               AssertionError: Could not detect end of test
E               assert False

tests/validation/periman/test_periman.py:26: AssertionError

Check failure on line 0 in validation.uart

See this annotation in the file changed.

@github-actions github-actions / Test Results

missing-run (validation.uart) with error

./test_errors/test-results-hardware/tests/validation/uart/esp32h2/uart_missing_0.xml
Raw output
Expected test run missing
This placeholder indicates an expected test run did not execute.

Check warning on line 0 in performance.psramspeed.test_psramspeed

See this annotation in the file changed.

@github-actions 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 36207 bytes)
Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-28-06-955185/test_psramspeed/dut.log
self = <pytest_embedded_serial.dut.SerialDut object at 0x7b47a5cd78f0>
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.... ... 36207 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-28-06-955185/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 0x7b47a5d674d0>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x7b47a6d6fc20>\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 0x7b47a6d6fc20>
E           searcher: searcher_re:
E               0: re.compile(b'Runs: (\\d+)')
E           <pytest_embedded.log.PexpectProcess object at 0x7b47a6d6fc20>
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 0x7b47a5cd78f0>
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 0x7b47a5cd78f0>
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.... ... 36207 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-28-06-955185/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 36207 bytes)
E               Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-28-06-955185/test_psramspeed/dut.log

/usr/local/lib/python3.12/site-packages/pytest_embedded/dut.py:93: TIMEOUT

Check warning on line 0 in performance.linpack_double.test_linpack_double

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 7 runs failed: test_linpack_double (performance.linpack_double.test_linpack_double)

./artifacts/test-results-hw/performance/linpack_double/esp32c5/linpack_double.xml [took 1m 17s]
Raw output
pexpect.exceptions.TIMEOUT: Not found "Runs: (\d+)"
Bytes in current buffer (color code eliminated): Serial port /dev/ttyUSB8: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 35923 bytes)
Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-33-32-743659/test_linpack_double/dut.log
self = <pytest_embedded_serial.dut.SerialDut object at 0x713d00d74350>
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/ttyUSB8: Connecting.... C...23 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-33-32-743659/test_linpack_double/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 0x713cffd00f20>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x713cffd018b0>\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 0x713cffd018b0>
E           searcher: searcher_re:
E               0: re.compile(b'Runs: (\\d+)')
E           <pytest_embedded.log.PexpectProcess object at 0x713cffd018b0>
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 0x713d00d74350>
request = <FixtureRequest for <Function test_linpack_double>>

    def test_linpack_double(dut, request):
        LOGGER = logging.getLogger(__name__)
    
        # Match "Runs: %d"
>       res = dut.expect(r"Runs: (\d+)", timeout=60)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/performance/linpack_double/test_linpack_double.py:10: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_serial.dut.SerialDut object at 0x713d00d74350>
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/ttyUSB8: Connecting.... C...23 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-33-32-743659/test_linpack_double/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/ttyUSB8: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 35923 bytes)
E               Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-33-32-743659/test_linpack_double/dut.log

/usr/local/lib/python3.12/site-packages/pytest_embedded/dut.py:93: TIMEOUT

Check failure on line 0 in validation.timer

See this annotation in the file changed.

@github-actions github-actions / Test Results

missing-run (validation.timer) with error

./test_errors/test-results-hardware/tests/validation/timer/esp32h2/timer_missing_0.xml
Raw output
Expected test run missing
This placeholder indicates an expected test run did not execute.

Check failure on line 0 in performance.superpi

See this annotation in the file changed.

@github-actions github-actions / Test Results

missing-run (performance.superpi) with error

./test_errors/test-results-hardware/tests/performance/superpi/esp32h2/superpi_missing_0.xml
Raw output
Expected test run missing
This placeholder indicates an expected test run did not execute.

Check failure on line 0 in performance.fibonacci

See this annotation in the file changed.

@github-actions github-actions / Test Results

missing-run (performance.fibonacci) with error

./test_errors/test-results-hardware/tests/performance/fibonacci/esp32h2/fibonacci_missing_0.xml
Raw output
Expected test run missing
This placeholder indicates an expected test run did not execute.

Check warning on line 0 in validation.unity.test_unity

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_unity (validation.unity.test_unity) failed

./artifacts/test-results-hw/validation/unity/esp32c5/unity.xml [took 4m 17s]
Raw output
pexpect.exceptions.TIMEOUT: Not found "re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)', re.MULTILINE)"
Bytes in current buffer (color code eliminated): Serial port /dev/ttyUSB15: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 136825 bytes)
Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-51-32-126492/test_unity/dut.log
self = <pytest_embedded_serial.dut.SerialDut object at 0x7fb126077aa0>
pattern = re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)', re.MULTILINE)
expect_all = False, not_matching = (), return_what_before_match = False
args = (), kwargs = {'timeout': 240}
patterns = [re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)', re.MULTILINE)]
res = []
debug_str = 'Not found "re.compile(b\'^[-]+\\\\s*(\\\\d+) Tests (\\\\d+) Failures (\\\\d+) Ignored\\\\s*(?P<result>OK|FAIL)\', re....otal 136825 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-51-32-126492/test_unity/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 0x7fb125e17bf0>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x7fb125e17da0>\nsearcher: searcher_re:\n    0: re.compile(b'^[-]+\\\\s*(\\\\d+) Tests (\\\\d+) Failures (\\\\d+) Ignored\\\\s*(?P<result>OK|FAIL)')")

    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 0x7fb125e17da0>
E           searcher: searcher_re:
E               0: re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)')
E           <pytest_embedded.log.PexpectProcess object at 0x7fb125e17da0>
E           searcher: searcher_re:
E               0: re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)')

/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 0x7fb126077aa0>

    def test_unity(dut):
>       dut.expect_unity_test_output(timeout=240)

tests/validation/unity/test_unity.py:2: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.12/site-packages/pytest_embedded/dut.py:197: in expect_unity_test_output
    self.expect(UNITY_SUMMARY_LINE_REGEX, timeout=timeout)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_serial.dut.SerialDut object at 0x7fb126077aa0>
pattern = re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)', re.MULTILINE)
expect_all = False, not_matching = (), return_what_before_match = False
args = (), kwargs = {'timeout': 240}
patterns = [re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)', re.MULTILINE)]
res = []
debug_str = 'Not found "re.compile(b\'^[-]+\\\\s*(\\\\d+) Tests (\\\\d+) Failures (\\\\d+) Ignored\\\\s*(?P<result>OK|FAIL)\', re....otal 136825 bytes)\nPlease check the full log here: /tmp/pytest-embedded/2025-10-16_02-51-32-126492/test_unity/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 "re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)', re.MULTILINE)"
E               Bytes in current buffer (color code eliminated): Serial port /dev/ttyUSB15: Connecting.... Connecting.... Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--... (total 136825 bytes)
E               Please check the full log here: /tmp/pytest-embedded/2025-10-16_02-51-32-126492/test_unity/dut.log

/usr/local/lib/python3.12/site-packages/pytest_embedded/dut.py:93: TIMEOUT

Check failure on line 0 in performance.linpack_float

See this annotation in the file changed.

@github-actions github-actions / Test Results

missing-run (performance.linpack_float) with error

./test_errors/test-results-hardware/tests/performance/linpack_float/esp32h2/linpack_float_missing_0.xml
Raw output
Expected test run missing
This placeholder indicates an expected test run did not execute.

Check failure on line 0 in validation.hello_world

See this annotation in the file changed.

@github-actions github-actions / Test Results

missing-run (validation.hello_world) with error

./test_errors/test-results-hardware/tests/validation/hello_world/esp32h2/hello_world_missing_0.xml
Raw output
Expected test run missing
This placeholder indicates an expected test run did not execute.

Check failure on line 0 in performance.ramspeed

See this annotation in the file changed.

@github-actions github-actions / Test Results

missing-run (performance.ramspeed) with error

./test_errors/test-results-hardware/tests/performance/ramspeed/esp32h2/ramspeed_missing_0.xml
Raw output
Expected test run missing
This placeholder indicates an expected test run did not execute.

Check failure on line 0 in validation.unity

See this annotation in the file changed.

@github-actions github-actions / Test Results

missing-run (validation.unity) with error

./test_errors/test-results-hardware/tests/validation/unity/esp32h2/unity_missing_0.xml
Raw output
Expected test run missing
This placeholder indicates an expected test run did not execute.

Check failure on line 0 in validation.periman

See this annotation in the file changed.

@github-actions github-actions / Test Results

missing-run (validation.periman) with error

./test_errors/test-results-hardware/tests/validation/periman/esp32h2/periman_missing_0.xml
Raw output
Expected test run missing
This placeholder indicates an expected test run did not execute.