Skip to content

ci(json): Add requires_any field and use QIO by default to match IDE #3455

ci(json): Add requires_any field and use QIO by default to match IDE

ci(json): Add requires_any field and use QIO by default to match IDE #3455

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

2 errors, 7 pass in 1m 13s

41 files   - 15  41 suites   - 15   1m 13s ⏱️ - 3m 4s
 9 tests  - 12   7 ✅  - 14  0 💤 ±0  0 ❌ ±0   2 🔥 + 2 
64 runs   - 71  41 ✅  - 94  0 💤 ±0  0 ❌ ±0  23 🔥 +23 

Results for commit 5171a39. ± Comparison against earlier commit 6fd7c07.

Annotations

Check failure on line 0 in validation.nvs.test_nvs

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 17 runs with error: test_nvs (validation.nvs.test_nvs)

./artifacts/tests-results-wokwi-esp32-validation/validation/nvs/esp32/nvs0.xml [took 0s]
./artifacts/tests-results-wokwi-esp32-validation/validation/nvs/esp32/nvs1.xml [took 0s]
./artifacts/tests-results-wokwi-esp32c3-validation/validation/nvs/esp32c3/nvs0.xml [took 0s]
./artifacts/tests-results-wokwi-esp32c3-validation/validation/nvs/esp32c3/nvs1.xml [took 0s]
./artifacts/tests-results-wokwi-esp32c6-validation/validation/nvs/esp32c6/nvs0.xml [took 0s]
./artifacts/tests-results-wokwi-esp32c6-validation/validation/nvs/esp32c6/nvs1.xml [took 0s]
./artifacts/tests-results-wokwi-esp32c6-validation/validation/nvs/esp32c6/nvs2.xml [took 0s]
./artifacts/tests-results-wokwi-esp32c6-validation/validation/nvs/esp32c6/nvs3.xml [took 0s]
./artifacts/tests-results-wokwi-esp32h2-validation/validation/nvs/esp32h2/nvs0.xml [took 0s]
./artifacts/tests-results-wokwi-esp32h2-validation/validation/nvs/esp32h2/nvs1.xml [took 0s]
./artifacts/tests-results-wokwi-esp32h2-validation/validation/nvs/esp32h2/nvs2.xml [took 0s]
./artifacts/tests-results-wokwi-esp32h2-validation/validation/nvs/esp32h2/nvs3.xml [took 0s]
./artifacts/tests-results-wokwi-esp32s2-validation/validation/nvs/esp32s2/nvs0.xml [took 0s]
./artifacts/tests-results-wokwi-esp32s2-validation/validation/nvs/esp32s2/nvs1.xml [took 0s]
./artifacts/tests-results-wokwi-esp32s3-validation/validation/nvs/esp32s3/nvs0.xml [took 0s]
./artifacts/tests-results-wokwi-esp32s3-validation/validation/nvs/esp32s3/nvs1.xml [took 0s]
./artifacts/tests-results-wokwi-esp32s3-validation/validation/nvs/esp32s3/nvs2.xml [took 0s]
Raw output
failed on setup with "FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/.arduino/tests/nvs/build1.tmp/build.options.json'"
args = ()
kwargs = {'_fixture_classes_and_options': ClassCliOptions(classes={'app': <class 'pytest_embedded_arduino.app.ArduinoApp'>, 'wo...10-16_22-20-53-354863/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:46: in __init__
    self.fqbn = self._get_fqbn(self.binary_path)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_arduino.app.ArduinoApp object at 0x7fba94e490d0>
build_path = '/home/runner/.arduino/tests/nvs/build1.tmp'

    def _get_fqbn(self, build_path) -> str:
        options_file = os.path.realpath(os.path.join(build_path, 'build.options.json'))
>       with open(options_file) as f:
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/.arduino/tests/nvs/build1.tmp/build.options.json'

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

Check failure on line 0 in validation.uart.test_uart

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 6 runs with error: test_uart (validation.uart.test_uart)

./artifacts/tests-results-wokwi-esp32-validation/validation/uart/esp32/uart.xml [took 0s]
./artifacts/tests-results-wokwi-esp32c3-validation/validation/uart/esp32c3/uart.xml [took 0s]
./artifacts/tests-results-wokwi-esp32c6-validation/validation/uart/esp32c6/uart.xml [took 0s]
./artifacts/tests-results-wokwi-esp32h2-validation/validation/uart/esp32h2/uart.xml [took 0s]
./artifacts/tests-results-wokwi-esp32s2-validation/validation/uart/esp32s2/uart.xml [took 0s]
./artifacts/tests-results-wokwi-esp32s3-validation/validation/uart/esp32s3/uart.xml [took 0s]
Raw output
failed on setup with "FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/.arduino/tests/uart/build.tmp/build.options.json'"
args = ()
kwargs = {'_fixture_classes_and_options': ClassCliOptions(classes={'app': <class 'pytest_embedded_arduino.app.ArduinoApp'>, 'wo...0-16_22-20-59-331870/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:46: in __init__
    self.fqbn = self._get_fqbn(self.binary_path)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pytest_embedded_arduino.app.ArduinoApp object at 0x7f894bc45040>
build_path = '/home/runner/.arduino/tests/uart/build.tmp'

    def _get_fqbn(self, build_path) -> str:
        options_file = os.path.realpath(os.path.join(build_path, 'build.options.json'))
>       with open(options_file) as f:
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/.arduino/tests/uart/build.tmp/build.options.json'

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

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

9 tests found

There are 9 tests, see "Raw output" for the full list of tests.
Raw output
test_fail
test_pass
timer_clock_select_test
timer_divider_test
timer_interrupt_test
timer_read_test
validation.hello_world.test_hello_world ‑ test_hello_world
validation.nvs.test_nvs ‑ test_nvs
validation.uart.test_uart ‑ test_uart