Skip to content

test 3.1

test 3.1 #311

GitHub Actions / Test Results failed Oct 7, 2024 in 0s

6 errors, 18 pass in 4m 14s

 62 files   62 suites   4m 14s ⏱️
 24 tests  18 ✅ 0 💤 0 ❌ 6 🔥
141 runs  135 ✅ 0 💤 0 ❌ 6 🔥

Results for commit d3e396c.

Annotations

Check failure on line 0 in validation.nvs.test_nvs

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 18 runs with error: test_nvs (validation.nvs.test_nvs)

./artifacts/tests-results-wokwi-esp32p4-validation/validation/nvs/esp32p4/nvs.xml [took 0s]
Raw output
failed on setup with "KeyError: 'esp32p4'"
args = ()
kwargs = {'_fixture_classes_and_options': ClassCliOptions(classes={'app': <class 'pytest_embedded_arduino.app.ArduinoApp'>, 'wo...10-07_23-03-26-200052/test_nvs', port_target_cache={}, port_app_cache={}, logfile_extension='.log'), 'wokwi': None}}))}

    @functools.wraps(func)
    def wrapper(*args, **kwargs):
        if _COUNT == 1:
            if func.__name__ == 'dut_index':
                kwargs['count'] = 1
>           return func(*args, **kwargs)

/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded/plugin.py:408: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded/plugin.py:1104: in app
    return app_fn(**locals())
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded/dut_factory.py:394: in app_fn
    return cls(**_drop_none_kwargs(kwargs))
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded_arduino/app.py:48: in __init__
    self.flash_files = self._get_bin_files(self.binary_path, self.sketch, self.target)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_arduino.app.ArduinoApp object at 0x7fa5d37d1430>
build_path = '/home/runner/.arduino/tests/nvs/build.tmp', sketch = 'nvs'
target = 'esp32p4'

    def _get_bin_files(self, build_path, sketch, target) -> List[Tuple[int, str, bool]]:
        bootloader = os.path.realpath(os.path.join(build_path, sketch + '.ino.bootloader.bin'))
        partitions = os.path.realpath(os.path.join(build_path, sketch + '.ino.partitions.bin'))
        app = os.path.realpath(os.path.join(build_path, sketch + '.ino.bin'))
        files = [bootloader, partitions, app]
>       offsets = self.binary_offsets[target]
E       KeyError: 'esp32p4'

/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded_arduino/app.py:63: KeyError

Check failure on line 0 in validation.uart.test_uart

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_uart (validation.uart.test_uart) with error

./artifacts/tests-results-wokwi-esp32p4-validation/validation/uart/esp32p4/uart.xml [took 0s]
Raw output
failed on setup with "KeyError: 'esp32p4'"
args = ()
kwargs = {'_fixture_classes_and_options': ClassCliOptions(classes={'app': <class 'pytest_embedded_arduino.app.ArduinoApp'>, 'wo...0-07_23-03-28-061038/test_uart', port_target_cache={}, port_app_cache={}, logfile_extension='.log'), 'wokwi': None}}))}

    @functools.wraps(func)
    def wrapper(*args, **kwargs):
        if _COUNT == 1:
            if func.__name__ == 'dut_index':
                kwargs['count'] = 1
>           return func(*args, **kwargs)

/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded/plugin.py:408: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded/plugin.py:1104: in app
    return app_fn(**locals())
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded/dut_factory.py:394: in app_fn
    return cls(**_drop_none_kwargs(kwargs))
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded_arduino/app.py:48: in __init__
    self.flash_files = self._get_bin_files(self.binary_path, self.sketch, self.target)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_arduino.app.ArduinoApp object at 0x7f96876e5130>
build_path = '/home/runner/.arduino/tests/uart/build.tmp', sketch = 'uart'
target = 'esp32p4'

    def _get_bin_files(self, build_path, sketch, target) -> List[Tuple[int, str, bool]]:
        bootloader = os.path.realpath(os.path.join(build_path, sketch + '.ino.bootloader.bin'))
        partitions = os.path.realpath(os.path.join(build_path, sketch + '.ino.partitions.bin'))
        app = os.path.realpath(os.path.join(build_path, sketch + '.ino.bin'))
        files = [bootloader, partitions, app]
>       offsets = self.binary_offsets[target]
E       KeyError: 'esp32p4'

/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded_arduino/app.py:63: KeyError

Check failure on line 0 in validation.democfg.test_democfg

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 7 runs with error: test_cfg (validation.democfg.test_democfg)

./artifacts/tests-results-wokwi-esp32p4-validation/validation/democfg/esp32p4/democfg.xml [took 0s]
Raw output
failed on setup with "KeyError: 'esp32p4'"
args = ()
kwargs = {'_fixture_classes_and_options': ClassCliOptions(classes={'app': <class 'pytest_embedded_arduino.app.ArduinoApp'>, 'wo...10-07_23-03-24-350497/test_cfg', port_target_cache={}, port_app_cache={}, logfile_extension='.log'), 'wokwi': None}}))}

    @functools.wraps(func)
    def wrapper(*args, **kwargs):
        if _COUNT == 1:
            if func.__name__ == 'dut_index':
                kwargs['count'] = 1
>           return func(*args, **kwargs)

/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded/plugin.py:408: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded/plugin.py:1104: in app
    return app_fn(**locals())
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded/dut_factory.py:394: in app_fn
    return cls(**_drop_none_kwargs(kwargs))
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded_arduino/app.py:48: in __init__
    self.flash_files = self._get_bin_files(self.binary_path, self.sketch, self.target)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_arduino.app.ArduinoApp object at 0x7f7928dd9310>
build_path = '/home/runner/.arduino/tests/democfg/build.tmp', sketch = 'democfg'
target = 'esp32p4'

    def _get_bin_files(self, build_path, sketch, target) -> List[Tuple[int, str, bool]]:
        bootloader = os.path.realpath(os.path.join(build_path, sketch + '.ino.bootloader.bin'))
        partitions = os.path.realpath(os.path.join(build_path, sketch + '.ino.partitions.bin'))
        app = os.path.realpath(os.path.join(build_path, sketch + '.ino.bin'))
        files = [bootloader, partitions, app]
>       offsets = self.binary_offsets[target]
E       KeyError: 'esp32p4'

/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded_arduino/app.py:63: KeyError

Check failure 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 7 runs with error: test_hello_world (validation.hello_world.test_hello_world)

./artifacts/tests-results-wokwi-esp32p4-validation/validation/hello_world/esp32p4/hello_world.xml [took 0s]
Raw output
failed on setup with "KeyError: 'esp32p4'"
args = ()
kwargs = {'_fixture_classes_and_options': ClassCliOptions(classes={'app': <class 'pytest_embedded_arduino.app.ArduinoApp'>, 'wo...-03-25-254659/test_hello_world', port_target_cache={}, port_app_cache={}, logfile_extension='.log'), 'wokwi': None}}))}

    @functools.wraps(func)
    def wrapper(*args, **kwargs):
        if _COUNT == 1:
            if func.__name__ == 'dut_index':
                kwargs['count'] = 1
>           return func(*args, **kwargs)

/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded/plugin.py:408: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded/plugin.py:1104: in app
    return app_fn(**locals())
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded/dut_factory.py:394: in app_fn
    return cls(**_drop_none_kwargs(kwargs))
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded_arduino/app.py:48: in __init__
    self.flash_files = self._get_bin_files(self.binary_path, self.sketch, self.target)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_arduino.app.ArduinoApp object at 0x7f7761e45130>
build_path = '/home/runner/.arduino/tests/hello_world/build.tmp'
sketch = 'hello_world', target = 'esp32p4'

    def _get_bin_files(self, build_path, sketch, target) -> List[Tuple[int, str, bool]]:
        bootloader = os.path.realpath(os.path.join(build_path, sketch + '.ino.bootloader.bin'))
        partitions = os.path.realpath(os.path.join(build_path, sketch + '.ino.partitions.bin'))
        app = os.path.realpath(os.path.join(build_path, sketch + '.ino.bin'))
        files = [bootloader, partitions, app]
>       offsets = self.binary_offsets[target]
E       KeyError: 'esp32p4'

/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded_arduino/app.py:63: KeyError

Check failure 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) with error

./artifacts/tests-results-wokwi-esp32p4-validation/validation/unity/esp32p4/unity.xml [took 0s]
Raw output
failed on setup with "KeyError: 'esp32p4'"
args = ()
kwargs = {'_fixture_classes_and_options': ClassCliOptions(classes={'app': <class 'pytest_embedded_arduino.app.ArduinoApp'>, 'wo...-07_23-03-28-928900/test_unity', port_target_cache={}, port_app_cache={}, logfile_extension='.log'), 'wokwi': None}}))}

    @functools.wraps(func)
    def wrapper(*args, **kwargs):
        if _COUNT == 1:
            if func.__name__ == 'dut_index':
                kwargs['count'] = 1
>           return func(*args, **kwargs)

/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded/plugin.py:408: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded/plugin.py:1104: in app
    return app_fn(**locals())
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded/dut_factory.py:394: in app_fn
    return cls(**_drop_none_kwargs(kwargs))
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded_arduino/app.py:48: in __init__
    self.flash_files = self._get_bin_files(self.binary_path, self.sketch, self.target)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_arduino.app.ArduinoApp object at 0x7f8f1a1bda30>
build_path = '/home/runner/.arduino/tests/unity/build.tmp', sketch = 'unity'
target = 'esp32p4'

    def _get_bin_files(self, build_path, sketch, target) -> List[Tuple[int, str, bool]]:
        bootloader = os.path.realpath(os.path.join(build_path, sketch + '.ino.bootloader.bin'))
        partitions = os.path.realpath(os.path.join(build_path, sketch + '.ino.partitions.bin'))
        app = os.path.realpath(os.path.join(build_path, sketch + '.ino.bin'))
        files = [bootloader, partitions, app]
>       offsets = self.binary_offsets[target]
E       KeyError: 'esp32p4'

/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded_arduino/app.py:63: KeyError

Check failure 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) with error

./artifacts/tests-results-wokwi-esp32p4-validation/validation/timer/esp32p4/timer.xml [took 0s]
Raw output
failed on setup with "KeyError: 'esp32p4'"
args = ()
kwargs = {'_fixture_classes_and_options': ClassCliOptions(classes={'app': <class 'pytest_embedded_arduino.app.ArduinoApp'>, 'wo...-07_23-03-27-117831/test_timer', port_target_cache={}, port_app_cache={}, logfile_extension='.log'), 'wokwi': None}}))}

    @functools.wraps(func)
    def wrapper(*args, **kwargs):
        if _COUNT == 1:
            if func.__name__ == 'dut_index':
                kwargs['count'] = 1
>           return func(*args, **kwargs)

/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded/plugin.py:408: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded/plugin.py:1104: in app
    return app_fn(**locals())
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded/dut_factory.py:394: in app_fn
    return cls(**_drop_none_kwargs(kwargs))
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded_arduino/app.py:48: in __init__
    self.flash_files = self._get_bin_files(self.binary_path, self.sketch, self.target)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_arduino.app.ArduinoApp object at 0x7f37360e8f20>
build_path = '/home/runner/.arduino/tests/timer/build.tmp', sketch = 'timer'
target = 'esp32p4'

    def _get_bin_files(self, build_path, sketch, target) -> List[Tuple[int, str, bool]]:
        bootloader = os.path.realpath(os.path.join(build_path, sketch + '.ino.bootloader.bin'))
        partitions = os.path.realpath(os.path.join(build_path, sketch + '.ino.partitions.bin'))
        app = os.path.realpath(os.path.join(build_path, sketch + '.ino.bin'))
        files = [bootloader, partitions, app]
>       offsets = self.binary_offsets[target]
E       KeyError: 'esp32p4'

/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/pytest_embedded_arduino/app.py:63: KeyError

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

24 tests found

There are 24 tests, see "Raw output" for the full list of tests.
Raw output
auto_baudrate_test
basic_transmission_test
begin_when_running_test
change_baudrate_test
change_cpu_frequency_test
change_pins_test
disabled_uart_calls_test
enabled_uart_calls_test
end_when_stopped_test
periman_test
resize_buffers_test
test_fail
test_pass
timer_clock_select_test
timer_divider_test
timer_interrupt_test
timer_read_test
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