External Libraries Test #1
7 fail in 1h 19m 7s
56 files 56 suites 1h 19m 7s ⏱️
7 tests 0 ✅ 0 💤 7 ❌
56 runs 0 ✅ 0 💤 56 ❌
Results for commit 4e3523c.
Annotations
Check warning on line 0 in validation.democfg.test_democfg
github-actions / Test Results
All 6 runs failed: test_cfg (validation.democfg.test_democfg)
./artifacts/tests-results-wokwi-esp32-validation/validation/democfg/esp32/democfg0.xml [took 30s]
./artifacts/tests-results-wokwi-esp32-validation/validation/democfg/esp32/democfg1.xml [took 30s]
./artifacts/tests-results-wokwi-esp32c3-validation/validation/democfg/esp32c3/democfg.xml [took 30s]
./artifacts/tests-results-wokwi-esp32c6-validation/validation/democfg/esp32c6/democfg.xml [took 30s]
./artifacts/tests-results-wokwi-esp32s2-validation/validation/democfg/esp32s2/democfg.xml [took 30s]
./artifacts/tests-results-wokwi-esp32s3-validation/validation/democfg/esp32s3/democfg.xml [took 30s]
Raw output
pexpect.exceptions.TIMEOUT: Not found "Hello cfg!"
Bytes in current buffer (color code eliminated): Wokwi CLI v0.12.0 (8e3b135f9338) Error: Missing WOKWI_CLI_TOKEN environment variable. Please set it to your Wokwi token. Get your token at https://wokwi.com/dashboard/ci.
Please check the full log here: /tmp/pytest-embedded/2024-07-09_02-41-06-897655/test_cfg/dut.log
self = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7fd2b3a02090>
pattern = 'Hello cfg!', expect_all = False, not_matching = (), args = ()
kwargs = {}, patterns = ['Hello cfg!'], res = []
debug_str = 'Not found "Hello cfg!"\nBytes in current buffer (color code eliminated): Wokwi CLI v0.12.0 (8e3b135f9338) Error: Miss...wi.com/dashboard/ci.\nPlease check the full log here: /tmp/pytest-embedded/2024-07-09_02-41-06-897655/test_cfg/dut.log'
@functools.wraps(func)
def wrapper(
self, pattern, *args, expect_all: bool = False, not_matching: List[Union[str, re.Pattern]] = (), **kwargs
) -> Union[Union[Match, AnyStr], List[Union[Match, AnyStr]]]:
patterns = to_list(pattern)
res = []
while patterns:
try:
> index = func(self, pattern, *args, **kwargs)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:76:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:131: in expect
return self.pexpect_proc.expect(pattern, **kwargs)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/spawnbase.py:354: in expect
return self.expect_list(compiled_pattern_list,
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/spawnbase.py:383: in expect_list
return exp.expect_loop(timeout)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/expect.py:181: in expect_loop
return self.timeout(e)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pexpect.expect.Expecter object at 0x7fd2b2621880>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x7fd2b24e1640>\nsearcher: searcher_re:\n 0: re.compile(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 0x7fd2b24e1640>
E searcher: searcher_re:
E 0: re.compile(b'Hello cfg!')
E <pytest_embedded.log.PexpectProcess object at 0x7fd2b24e1640>
E searcher: searcher_re:
E 0: re.compile(b'Hello cfg!')
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/expect.py:144: TIMEOUT
The above exception was the direct cause of the following exception:
dut = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7fd2b3a02090>
def test_cfg(dut):
> dut.expect("Hello cfg!")
tests/validation/democfg/test_democfg.py:2:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7fd2b3a02090>
pattern = 'Hello cfg!', expect_all = False, not_matching = (), args = ()
kwargs = {}, patterns = ['Hello cfg!'], res = []
debug_str = 'Not found "Hello cfg!"\nBytes in current buffer (color code eliminated): Wokwi CLI v0.12.0 (8e3b135f9338) Error: Miss...wi.com/dashboard/ci.\nPlease check the full log here: /tmp/pytest-embedded/2024-07-09_02-41-06-897655/test_cfg/dut.log'
@functools.wraps(func)
def wrapper(
self, pattern, *args, expect_all: bool = False, not_matching: List[Union[str, re.Pattern]] = (), **kwargs
) -> Union[Union[Match, AnyStr], List[Union[Match, AnyStr]]]:
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): Wokwi CLI v0.12.0 (8e3b135f9338) Error: Missing WOKWI_CLI_TOKEN environment variable. Please set it to your Wokwi token. Get your token at https://wokwi.com/dashboard/ci.
E Please check the full log here: /tmp/pytest-embedded/2024-07-09_02-41-06-897655/test_cfg/dut.log
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:83: TIMEOUT
Check warning on line 0 in validation.nvs.test_nvs
github-actions / Test Results
All 17 runs failed: test_nvs (validation.nvs.test_nvs)
./artifacts/tests-results-wokwi-esp32-validation/validation/nvs/esp32/nvs0.xml [took 30s]
./artifacts/tests-results-wokwi-esp32-validation/validation/nvs/esp32/nvs1.xml [took 30s]
./artifacts/tests-results-wokwi-esp32c3-validation/validation/nvs/esp32c3/nvs0.xml [took 30s]
./artifacts/tests-results-wokwi-esp32c3-validation/validation/nvs/esp32c3/nvs1.xml [took 30s]
./artifacts/tests-results-wokwi-esp32c6-validation/validation/nvs/esp32c6/nvs0.xml [took 30s]
./artifacts/tests-results-wokwi-esp32c6-validation/validation/nvs/esp32c6/nvs1.xml [took 30s]
./artifacts/tests-results-wokwi-esp32c6-validation/validation/nvs/esp32c6/nvs2.xml [took 30s]
./artifacts/tests-results-wokwi-esp32c6-validation/validation/nvs/esp32c6/nvs3.xml [took 30s]
./artifacts/tests-results-wokwi-esp32h2-validation/validation/nvs/esp32h2/nvs0.xml [took 30s]
./artifacts/tests-results-wokwi-esp32h2-validation/validation/nvs/esp32h2/nvs1.xml [took 30s]
./artifacts/tests-results-wokwi-esp32h2-validation/validation/nvs/esp32h2/nvs2.xml [took 30s]
./artifacts/tests-results-wokwi-esp32h2-validation/validation/nvs/esp32h2/nvs3.xml [took 30s]
./artifacts/tests-results-wokwi-esp32s2-validation/validation/nvs/esp32s2/nvs0.xml [took 30s]
./artifacts/tests-results-wokwi-esp32s2-validation/validation/nvs/esp32s2/nvs1.xml [took 30s]
./artifacts/tests-results-wokwi-esp32s3-validation/validation/nvs/esp32s3/nvs0.xml [took 30s]
./artifacts/tests-results-wokwi-esp32s3-validation/validation/nvs/esp32s3/nvs1.xml [took 30s]
./artifacts/tests-results-wokwi-esp32s3-validation/validation/nvs/esp32s3/nvs2.xml [took 30s]
Raw output
pexpect.exceptions.TIMEOUT: Not found "Current counter value: 0"
Bytes in current buffer (color code eliminated): Wokwi CLI v0.12.0 (8e3b135f9338) Error: Missing WOKWI_CLI_TOKEN environment variable. Please set it to your Wokwi token. Get your token at https://wokwi.com/dashboard/ci.
Please check the full log here: /tmp/pytest-embedded/2024-07-09_02-44-05-410728/test_nvs/dut.log
self = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7f880ddb9040>
pattern = 'Current counter value: 0', expect_all = False, not_matching = ()
args = (), kwargs = {}, patterns = ['Current counter value: 0'], res = []
debug_str = 'Not found "Current counter value: 0"\nBytes in current buffer (color code eliminated): Wokwi CLI v0.12.0 (8e3b135f933...wi.com/dashboard/ci.\nPlease check the full log here: /tmp/pytest-embedded/2024-07-09_02-44-05-410728/test_nvs/dut.log'
@functools.wraps(func)
def wrapper(
self, pattern, *args, expect_all: bool = False, not_matching: List[Union[str, re.Pattern]] = (), **kwargs
) -> Union[Union[Match, AnyStr], List[Union[Match, AnyStr]]]:
patterns = to_list(pattern)
res = []
while patterns:
try:
> index = func(self, pattern, *args, **kwargs)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:76:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:131: in expect
return self.pexpect_proc.expect(pattern, **kwargs)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/spawnbase.py:354: in expect
return self.expect_list(compiled_pattern_list,
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/spawnbase.py:383: in expect_list
return exp.expect_loop(timeout)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/expect.py:181: in expect_loop
return self.timeout(e)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pexpect.expect.Expecter object at 0x7f880d2221b0>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x7f880d0ca8d0>\nsearcher: searcher_re:\n 0: re.compile(b'Current counter value: 0')")
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 0x7f880d0ca8d0>
E searcher: searcher_re:
E 0: re.compile(b'Current counter value: 0')
E <pytest_embedded.log.PexpectProcess object at 0x7f880d0ca8d0>
E searcher: searcher_re:
E 0: re.compile(b'Current counter value: 0')
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/expect.py:144: TIMEOUT
The above exception was the direct cause of the following exception:
dut = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7f880ddb9040>
def test_nvs(dut):
> dut.expect("Current counter value: 0")
tests/validation/nvs/test_nvs.py:2:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7f880ddb9040>
pattern = 'Current counter value: 0', expect_all = False, not_matching = ()
args = (), kwargs = {}, patterns = ['Current counter value: 0'], res = []
debug_str = 'Not found "Current counter value: 0"\nBytes in current buffer (color code eliminated): Wokwi CLI v0.12.0 (8e3b135f933...wi.com/dashboard/ci.\nPlease check the full log here: /tmp/pytest-embedded/2024-07-09_02-44-05-410728/test_nvs/dut.log'
@functools.wraps(func)
def wrapper(
self, pattern, *args, expect_all: bool = False, not_matching: List[Union[str, re.Pattern]] = (), **kwargs
) -> Union[Union[Match, AnyStr], List[Union[Match, AnyStr]]]:
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 "Current counter value: 0"
E Bytes in current buffer (color code eliminated): Wokwi CLI v0.12.0 (8e3b135f9338) Error: Missing WOKWI_CLI_TOKEN environment variable. Please set it to your Wokwi token. Get your token at https://wokwi.com/dashboard/ci.
E Please check the full log here: /tmp/pytest-embedded/2024-07-09_02-44-05-410728/test_nvs/dut.log
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:83: TIMEOUT
Check warning on line 0 in validation.uart.test_uart
github-actions / Test Results
All 6 runs failed: test_uart (validation.uart.test_uart)
./artifacts/tests-results-wokwi-esp32-validation/validation/uart/esp32/uart.xml [took 2m 0s]
./artifacts/tests-results-wokwi-esp32c3-validation/validation/uart/esp32c3/uart.xml [took 2m 0s]
./artifacts/tests-results-wokwi-esp32c6-validation/validation/uart/esp32c6/uart.xml [took 2m 0s]
./artifacts/tests-results-wokwi-esp32h2-validation/validation/uart/esp32h2/uart.xml [took 2m 0s]
./artifacts/tests-results-wokwi-esp32s2-validation/validation/uart/esp32s2/uart.xml [took 2m 0s]
./artifacts/tests-results-wokwi-esp32s3-validation/validation/uart/esp32s3/uart.xml [took 2m 0s]
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): Wokwi CLI v0.12.0 (8e3b135f9338) Error: Missing WOKWI_CLI_TOKEN environment variable. Please set it to your Wokwi token. Get your token at https://wokwi.com/dashboard/ci.
Please check the full log here: /tmp/pytest-embedded/2024-07-09_02-55-41-846444/test_uart/dut.log
self = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7fe16bcb39e0>
pattern = re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)', re.MULTILINE)
expect_all = False, not_matching = (), args = (), kwargs = {'timeout': 120}
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....i.com/dashboard/ci.\nPlease check the full log here: /tmp/pytest-embedded/2024-07-09_02-55-41-846444/test_uart/dut.log'
@functools.wraps(func)
def wrapper(
self, pattern, *args, expect_all: bool = False, not_matching: List[Union[str, re.Pattern]] = (), **kwargs
) -> Union[Union[Match, AnyStr], List[Union[Match, AnyStr]]]:
patterns = to_list(pattern)
res = []
while patterns:
try:
> index = func(self, pattern, *args, **kwargs)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:76:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:131: in expect
return self.pexpect_proc.expect(pattern, **kwargs)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/spawnbase.py:354: in expect
return self.expect_list(compiled_pattern_list,
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/spawnbase.py:383: in expect_list
return exp.expect_loop(timeout)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/expect.py:181: in expect_loop
return self.timeout(e)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pexpect.expect.Expecter object at 0x7fe16b102cf0>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x7fe16b100bc0>\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 0x7fe16b100bc0>
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 0x7fe16b100bc0>
E searcher: searcher_re:
E 0: re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)')
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/expect.py:144: TIMEOUT
The above exception was the direct cause of the following exception:
dut = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7fe16bcb39e0>
def test_uart(dut):
> dut.expect_unity_test_output(timeout=120)
tests/validation/uart/test_uart.py:2:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:180: in expect_unity_test_output
self.expect(UNITY_SUMMARY_LINE_REGEX, timeout=timeout)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7fe16bcb39e0>
pattern = re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)', re.MULTILINE)
expect_all = False, not_matching = (), args = (), kwargs = {'timeout': 120}
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....i.com/dashboard/ci.\nPlease check the full log here: /tmp/pytest-embedded/2024-07-09_02-55-41-846444/test_uart/dut.log'
@functools.wraps(func)
def wrapper(
self, pattern, *args, expect_all: bool = False, not_matching: List[Union[str, re.Pattern]] = (), **kwargs
) -> Union[Union[Match, AnyStr], List[Union[Match, AnyStr]]]:
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): Wokwi CLI v0.12.0 (8e3b135f9338) Error: Missing WOKWI_CLI_TOKEN environment variable. Please set it to your Wokwi token. Get your token at https://wokwi.com/dashboard/ci.
E Please check the full log here: /tmp/pytest-embedded/2024-07-09_02-55-41-846444/test_uart/dut.log
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:83: TIMEOUT
Check warning on line 0 in validation.hello_world.test_hello_world
github-actions / Test Results
All 6 runs failed: test_hello_world (validation.hello_world.test_hello_world)
./artifacts/tests-results-wokwi-esp32-validation/validation/hello_world/esp32/hello_world.xml [took 30s]
./artifacts/tests-results-wokwi-esp32c3-validation/validation/hello_world/esp32c3/hello_world.xml [took 30s]
./artifacts/tests-results-wokwi-esp32c6-validation/validation/hello_world/esp32c6/hello_world.xml [took 30s]
./artifacts/tests-results-wokwi-esp32h2-validation/validation/hello_world/esp32h2/hello_world.xml [took 30s]
./artifacts/tests-results-wokwi-esp32s2-validation/validation/hello_world/esp32s2/hello_world.xml [took 30s]
./artifacts/tests-results-wokwi-esp32s3-validation/validation/hello_world/esp32s3/hello_world.xml [took 30s]
Raw output
pexpect.exceptions.TIMEOUT: Not found "Hello Arduino!"
Bytes in current buffer (color code eliminated): Wokwi CLI v0.12.0 (8e3b135f9338) Error: Missing WOKWI_CLI_TOKEN environment variable. Please set it to your Wokwi token. Get your token at https://wokwi.com/dashboard/ci.
Please check the full log here: /tmp/pytest-embedded/2024-07-09_02-42-03-897252/test_hello_world/dut.log
self = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7f8f33fd8f20>
pattern = 'Hello Arduino!', expect_all = False, not_matching = (), args = ()
kwargs = {}, patterns = ['Hello Arduino!'], res = []
debug_str = 'Not found "Hello Arduino!"\nBytes in current buffer (color code eliminated): Wokwi CLI v0.12.0 (8e3b135f9338) Error: ...ashboard/ci.\nPlease check the full log here: /tmp/pytest-embedded/2024-07-09_02-42-03-897252/test_hello_world/dut.log'
@functools.wraps(func)
def wrapper(
self, pattern, *args, expect_all: bool = False, not_matching: List[Union[str, re.Pattern]] = (), **kwargs
) -> Union[Union[Match, AnyStr], List[Union[Match, AnyStr]]]:
patterns = to_list(pattern)
res = []
while patterns:
try:
> index = func(self, pattern, *args, **kwargs)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:76:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:131: in expect
return self.pexpect_proc.expect(pattern, **kwargs)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/spawnbase.py:354: in expect
return self.expect_list(compiled_pattern_list,
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/spawnbase.py:383: in expect_list
return exp.expect_loop(timeout)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/expect.py:181: in expect_loop
return self.timeout(e)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pexpect.expect.Expecter object at 0x7f8f33d16ab0>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x7f8f33c01250>\nsearcher: searcher_re:\n 0: re.compile(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 0x7f8f33c01250>
E searcher: searcher_re:
E 0: re.compile(b'Hello Arduino!')
E <pytest_embedded.log.PexpectProcess object at 0x7f8f33c01250>
E searcher: searcher_re:
E 0: re.compile(b'Hello Arduino!')
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/expect.py:144: TIMEOUT
The above exception was the direct cause of the following exception:
dut = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7f8f33fd8f20>
def test_hello_world(dut):
> dut.expect("Hello Arduino!")
tests/validation/hello_world/test_hello_world.py:2:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7f8f33fd8f20>
pattern = 'Hello Arduino!', expect_all = False, not_matching = (), args = ()
kwargs = {}, patterns = ['Hello Arduino!'], res = []
debug_str = 'Not found "Hello Arduino!"\nBytes in current buffer (color code eliminated): Wokwi CLI v0.12.0 (8e3b135f9338) Error: ...ashboard/ci.\nPlease check the full log here: /tmp/pytest-embedded/2024-07-09_02-42-03-897252/test_hello_world/dut.log'
@functools.wraps(func)
def wrapper(
self, pattern, *args, expect_all: bool = False, not_matching: List[Union[str, re.Pattern]] = (), **kwargs
) -> Union[Union[Match, AnyStr], List[Union[Match, AnyStr]]]:
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): Wokwi CLI v0.12.0 (8e3b135f9338) Error: Missing WOKWI_CLI_TOKEN environment variable. Please set it to your Wokwi token. Get your token at https://wokwi.com/dashboard/ci.
E Please check the full log here: /tmp/pytest-embedded/2024-07-09_02-42-03-897252/test_hello_world/dut.log
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:83: TIMEOUT
Check warning on line 0 in validation.timer.test_timer
github-actions / Test Results
All 6 runs failed: test_timer (validation.timer.test_timer)
./artifacts/tests-results-wokwi-esp32-validation/validation/timer/esp32/timer.xml [took 4m 0s]
./artifacts/tests-results-wokwi-esp32c3-validation/validation/timer/esp32c3/timer.xml [took 4m 0s]
./artifacts/tests-results-wokwi-esp32c6-validation/validation/timer/esp32c6/timer.xml [took 4m 0s]
./artifacts/tests-results-wokwi-esp32h2-validation/validation/timer/esp32h2/timer.xml [took 4m 0s]
./artifacts/tests-results-wokwi-esp32s2-validation/validation/timer/esp32s2/timer.xml [took 4m 0s]
./artifacts/tests-results-wokwi-esp32s3-validation/validation/timer/esp32s3/timer.xml [took 4m 0s]
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): Wokwi CLI v0.12.0 (8e3b135f9338) Error: Missing WOKWI_CLI_TOKEN environment variable. Please set it to your Wokwi token. Get your token at https://wokwi.com/dashboard/ci.
Please check the full log here: /tmp/pytest-embedded/2024-07-09_02-48-36-562550/test_timer/dut.log
self = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7f0fbc95a6f0>
pattern = re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)', re.MULTILINE)
expect_all = False, not_matching = (), 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.....com/dashboard/ci.\nPlease check the full log here: /tmp/pytest-embedded/2024-07-09_02-48-36-562550/test_timer/dut.log'
@functools.wraps(func)
def wrapper(
self, pattern, *args, expect_all: bool = False, not_matching: List[Union[str, re.Pattern]] = (), **kwargs
) -> Union[Union[Match, AnyStr], List[Union[Match, AnyStr]]]:
patterns = to_list(pattern)
res = []
while patterns:
try:
> index = func(self, pattern, *args, **kwargs)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:76:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:131: in expect
return self.pexpect_proc.expect(pattern, **kwargs)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/spawnbase.py:354: in expect
return self.expect_list(compiled_pattern_list,
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/spawnbase.py:383: in expect_list
return exp.expect_loop(timeout)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/expect.py:181: in expect_loop
return self.timeout(e)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pexpect.expect.Expecter object at 0x7f0fbd37b440>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x7f0fbc937ef0>\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 0x7f0fbc937ef0>
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 0x7f0fbc937ef0>
E searcher: searcher_re:
E 0: re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)')
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/expect.py:144: TIMEOUT
The above exception was the direct cause of the following exception:
dut = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7f0fbc95a6f0>
def test_timer(dut):
> dut.expect_unity_test_output(timeout=240)
tests/validation/timer/test_timer.py:2:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:180: in expect_unity_test_output
self.expect(UNITY_SUMMARY_LINE_REGEX, timeout=timeout)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7f0fbc95a6f0>
pattern = re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)', re.MULTILINE)
expect_all = False, not_matching = (), 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.....com/dashboard/ci.\nPlease check the full log here: /tmp/pytest-embedded/2024-07-09_02-48-36-562550/test_timer/dut.log'
@functools.wraps(func)
def wrapper(
self, pattern, *args, expect_all: bool = False, not_matching: List[Union[str, re.Pattern]] = (), **kwargs
) -> Union[Union[Match, AnyStr], List[Union[Match, AnyStr]]]:
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): Wokwi CLI v0.12.0 (8e3b135f9338) Error: Missing WOKWI_CLI_TOKEN environment variable. Please set it to your Wokwi token. Get your token at https://wokwi.com/dashboard/ci.
E Please check the full log here: /tmp/pytest-embedded/2024-07-09_02-48-36-562550/test_timer/dut.log
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:83: TIMEOUT
Check warning on line 0 in validation.unity.test_unity
github-actions / Test Results
All 6 runs failed: test_unity (validation.unity.test_unity)
./artifacts/tests-results-wokwi-esp32-validation/validation/unity/esp32/unity.xml [took 4m 0s]
./artifacts/tests-results-wokwi-esp32c3-validation/validation/unity/esp32c3/unity.xml [took 4m 0s]
./artifacts/tests-results-wokwi-esp32c6-validation/validation/unity/esp32c6/unity.xml [took 4m 0s]
./artifacts/tests-results-wokwi-esp32h2-validation/validation/unity/esp32h2/unity.xml [took 4m 0s]
./artifacts/tests-results-wokwi-esp32s2-validation/validation/unity/esp32s2/unity.xml [took 4m 0s]
./artifacts/tests-results-wokwi-esp32s3-validation/validation/unity/esp32s3/unity.xml [took 4m 0s]
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): Wokwi CLI v0.12.0 (8e3b135f9338) Error: Missing WOKWI_CLI_TOKEN environment variable. Please set it to your Wokwi token. Get your token at https://wokwi.com/dashboard/ci.
Please check the full log here: /tmp/pytest-embedded/2024-07-09_03-00-38-330972/test_unity/dut.log
self = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7f440995bec0>
pattern = re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)', re.MULTILINE)
expect_all = False, not_matching = (), 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.....com/dashboard/ci.\nPlease check the full log here: /tmp/pytest-embedded/2024-07-09_03-00-38-330972/test_unity/dut.log'
@functools.wraps(func)
def wrapper(
self, pattern, *args, expect_all: bool = False, not_matching: List[Union[str, re.Pattern]] = (), **kwargs
) -> Union[Union[Match, AnyStr], List[Union[Match, AnyStr]]]:
patterns = to_list(pattern)
res = []
while patterns:
try:
> index = func(self, pattern, *args, **kwargs)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:76:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:131: in expect
return self.pexpect_proc.expect(pattern, **kwargs)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/spawnbase.py:354: in expect
return self.expect_list(compiled_pattern_list,
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/spawnbase.py:383: in expect_list
return exp.expect_loop(timeout)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/expect.py:181: in expect_loop
return self.timeout(e)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pexpect.expect.Expecter object at 0x7f440a505010>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x7f440983d970>\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 0x7f440983d970>
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 0x7f440983d970>
E searcher: searcher_re:
E 0: re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)')
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/expect.py:144: TIMEOUT
The above exception was the direct cause of the following exception:
dut = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7f440995bec0>
def test_unity(dut):
> dut.expect_unity_test_output(timeout=240)
tests/validation/unity/test_unity.py:2:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:180: in expect_unity_test_output
self.expect(UNITY_SUMMARY_LINE_REGEX, timeout=timeout)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7f440995bec0>
pattern = re.compile(b'^[-]+\\s*(\\d+) Tests (\\d+) Failures (\\d+) Ignored\\s*(?P<result>OK|FAIL)', re.MULTILINE)
expect_all = False, not_matching = (), 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.....com/dashboard/ci.\nPlease check the full log here: /tmp/pytest-embedded/2024-07-09_03-00-38-330972/test_unity/dut.log'
@functools.wraps(func)
def wrapper(
self, pattern, *args, expect_all: bool = False, not_matching: List[Union[str, re.Pattern]] = (), **kwargs
) -> Union[Union[Match, AnyStr], List[Union[Match, AnyStr]]]:
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): Wokwi CLI v0.12.0 (8e3b135f9338) Error: Missing WOKWI_CLI_TOKEN environment variable. Please set it to your Wokwi token. Get your token at https://wokwi.com/dashboard/ci.
E Please check the full log here: /tmp/pytest-embedded/2024-07-09_03-00-38-330972/test_unity/dut.log
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:83: TIMEOUT
Check warning on line 0 in validation.wifi.test_wifi
github-actions / Test Results
All 9 runs failed: test_wifi (validation.wifi.test_wifi)
./artifacts/tests-results-wokwi-esp32-validation/validation/wifi/esp32/wifi0.xml [took 30s]
./artifacts/tests-results-wokwi-esp32-validation/validation/wifi/esp32/wifi1.xml [took 30s]
./artifacts/tests-results-wokwi-esp32c3-validation/validation/wifi/esp32c3/wifi.xml [took 30s]
./artifacts/tests-results-wokwi-esp32c6-validation/validation/wifi/esp32c6/wifi.xml [took 30s]
./artifacts/tests-results-wokwi-esp32s2-validation/validation/wifi/esp32s2/wifi0.xml [took 30s]
./artifacts/tests-results-wokwi-esp32s2-validation/validation/wifi/esp32s2/wifi1.xml [took 30s]
./artifacts/tests-results-wokwi-esp32s3-validation/validation/wifi/esp32s3/wifi0.xml [took 30s]
./artifacts/tests-results-wokwi-esp32s3-validation/validation/wifi/esp32s3/wifi1.xml [took 30s]
./artifacts/tests-results-wokwi-esp32s3-validation/validation/wifi/esp32s3/wifi2.xml [took 30s]
Raw output
pexpect.exceptions.TIMEOUT: Not found "Scan start"
Bytes in current buffer (color code eliminated): board/ci.
Please check the full log here: /tmp/pytest-embedded/2024-07-09_03-05-09-243213/test_wifi/dut.log
self = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7f1f7071a060>
pattern = 'Scan start', expect_all = False, not_matching = (), args = ()
kwargs = {}, patterns = ['Scan start'], res = []
debug_str = 'Not found "Scan start"\nBytes in current buffer (color code eliminated): board/ci.\nPlease check the full log here: /tmp/pytest-embedded/2024-07-09_03-05-09-243213/test_wifi/dut.log'
@functools.wraps(func)
def wrapper(
self, pattern, *args, expect_all: bool = False, not_matching: List[Union[str, re.Pattern]] = (), **kwargs
) -> Union[Union[Match, AnyStr], List[Union[Match, AnyStr]]]:
patterns = to_list(pattern)
res = []
while patterns:
try:
> index = func(self, pattern, *args, **kwargs)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:76:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:153: in expect_exact
return self.pexpect_proc.expect_exact(pattern, **kwargs)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/spawnbase.py:432: in expect_exact
return exp.expect_loop(timeout)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/expect.py:181: in expect_loop
return self.timeout(e)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pexpect.expect.Expecter object at 0x7f1f70528a40>
err = TIMEOUT("<pytest_embedded.log.PexpectProcess object at 0x7f1f6fb7c140>\nsearcher: searcher_string:\n 0: b'Scan start'")
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 0x7f1f6fb7c140>
E searcher: searcher_string:
E 0: b'Scan start'
E <pytest_embedded.log.PexpectProcess object at 0x7f1f6fb7c140>
E searcher: searcher_string:
E 0: b'Scan start'
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pexpect/expect.py:144: TIMEOUT
The above exception was the direct cause of the following exception:
dut = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7f1f7071a060>
def test_wifi(dut):
> dut.expect_exact("Scan start")
tests/validation/wifi/test_wifi.py:2:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pytest_embedded_wokwi.dut.WokwiDut object at 0x7f1f7071a060>
pattern = 'Scan start', expect_all = False, not_matching = (), args = ()
kwargs = {}, patterns = ['Scan start'], res = []
debug_str = 'Not found "Scan start"\nBytes in current buffer (color code eliminated): board/ci.\nPlease check the full log here: /tmp/pytest-embedded/2024-07-09_03-05-09-243213/test_wifi/dut.log'
@functools.wraps(func)
def wrapper(
self, pattern, *args, expect_all: bool = False, not_matching: List[Union[str, re.Pattern]] = (), **kwargs
) -> Union[Union[Match, AnyStr], List[Union[Match, AnyStr]]]:
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 "Scan start"
E Bytes in current buffer (color code eliminated): board/ci.
E Please check the full log here: /tmp/pytest-embedded/2024-07-09_03-05-09-243213/test_wifi/dut.log
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/pytest_embedded/dut.py:83: TIMEOUT
Check notice on line 0 in .github
github-actions / Test Results
7 tests found
There are 7 tests, see "Raw output" for the full list of tests.
Raw output
validation.democfg.test_democfg ‑ test_cfg
validation.hello_world.test_hello_world ‑ test_hello_world
validation.nvs.test_nvs ‑ test_nvs
validation.timer.test_timer ‑ test_timer
validation.uart.test_uart ‑ test_uart
validation.unity.test_unity ‑ test_unity
validation.wifi.test_wifi ‑ test_wifi