1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-05-25 10:18:45 +00:00
Go to file
Roman Zeyde c857b61208 ci(core): update hardware CI tests
Tested on T2T1:

```
$ pytest -v tests/device_tests/ -k lots --durations 0
...
==================================================================== slowest durations ====================================================================
309.73s call     tests/device_tests/bitcoin/test_signtx.py::test_lots_of_inputs
61.37s call     tests/device_tests/bitcoin/test_signtx.py::test_lots_of_outputs
5.73s setup    tests/device_tests/bitcoin/test_signtx.py::test_lots_of_change
5.03s call     tests/device_tests/bitcoin/test_signtx.py::test_lots_of_change
4.10s setup    tests/device_tests/bitcoin/test_signtx.py::test_lots_of_outputs
4.09s setup    tests/device_tests/bitcoin/test_signtx.py::test_lots_of_inputs
...
===================================================== 3 passed, 1588 deselected in 390.63s (0:06:30) ======================================================
```

```
$ pytest -v tests/device_tests/ -k recovery --durations 0
...
==================================================================== slowest durations ====================================================================
191.90s call     tests/device_tests/reset_recovery/test_reset_recovery_slip39_advanced.py::test_reset_recovery
116.65s call     tests/device_tests/reset_recovery/test_reset_recovery_slip39_basic.py::test_reset_recovery
24.95s call     tests/device_tests/reset_recovery/test_reset_backup.py::test_skip_backup_manual[BackupType.Slip39_Advanced_Extendable-backup_flow_slip39_advanced]
24.74s call     tests/device_tests/reset_recovery/test_reset_backup.py::test_skip_backup_msg[BackupType.Slip39_Advanced_Extendable-backup_flow_slip39_advanced]
23.49s call     tests/device_tests/reset_recovery/test_reset_slip39_advanced.py::test_reset_device_slip39_advanced
18.58s call     tests/device_tests/reset_recovery/test_recovery_slip39_advanced_dryrun.py::test_2of3_dryrun
17.13s call     tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_noabort
16.74s call     tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_extra_share_entered
14.05s call     tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_secret_click_info_button[shares0-c2d2e26ad06023c60145f150abe2dd2b]
13.84s call     tests/device_tests/reset_recovery/test_reset_slip39_basic.py::test_reset_entropy_check
13.13s call     tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_secret[shares0-c2d2e26ad06023c60145f150abe2dd2b]
12.74s call     tests/device_tests/reset_recovery/test_recovery_slip39_advanced_dryrun.py::test_2of3_invalid_seed_dryrun
9.42s call     tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_secret_click_info_button[shares1-c41d5cf80fed71a008a3a0ae0458ff0c6d621b1a5522bccbfedbcfad87005c06]
9.13s call     tests/device_tests/reset_recovery/test_recovery_slip39_advanced.py::test_secret[shares1-c41d5cf80fed71a008a3a0ae0458ff0c6d621b1a5522bccbfedbcfad87005c06]
8.48s call     tests/device_tests/reset_recovery/test_reset_slip39_basic.py::test_reset_device_slip39_basic_256
7.91s call     tests/device_tests/reset_recovery/test_reset_recovery_bip39.py::test_reset_recovery
7.68s call     tests/device_tests/reset_recovery/test_recovery_slip39_basic.py::test_noabort
...
========================================= 61 passed, 15 skipped, 1515 deselected, 1 warning in 885.84s (0:14:45) ==========================================
```

[no changelog]
2025-05-07 20:08:37 +03:00
.clusterfuzzlite Run fuzzer in CI 2023-07-12 10:13:17 +02:00
.github ci(core): update hardware CI tests 2025-05-07 20:08:37 +03:00
ci ci: drop GitLab config and mentions 2025-04-15 14:50:45 +03:00
common feat(nordic): send busy response when trezor is not listening to BLE messages 2025-05-07 16:08:46 +02:00
core feat(core): increase BLE TX packet size to 244B 2025-05-07 17:08:40 +02:00
crypto refactor(legacy): check size of integers when hashing 2025-04-25 13:22:09 +02:00
docs docs: fix Solana definitions doc 2025-04-29 14:54:41 +02:00
legacy feat(nordic): send busy response when trezor is not listening to BLE messages 2025-05-07 16:08:46 +02:00
nordic fix(nordic): fix signal names 2025-05-07 17:08:40 +02:00
python feat(nordic): send busy response when trezor is not listening to BLE messages 2025-05-07 16:08:46 +02:00
rust feat(nordic): send busy response when trezor is not listening to BLE messages 2025-05-07 16:08:46 +02:00
storage build(core): use internal model names everywhere 2025-01-13 16:24:35 +01:00
tests fix(core): update UI fixtures 2025-05-05 21:31:07 +03:00
tools feat(core/solana): implement diffable textual representation of supported programs 2025-04-29 14:54:41 +02:00
vendor feat(vendor): reimplement utils.presize_module() in C 2025-05-07 12:18:52 +03:00
.clang-format Fix cstyle and editor_check inconsistancy [no changelog] 2025-02-25 16:59:39 +01:00
.editorconfig feat(core): Introduce nfc commands in prodtest & update NFC library [no changelog] 2025-02-25 18:29:54 +01:00
.gitattributes chore(core): remove unused all_modules.py 2025-04-08 17:48:15 +03:00
.gitignore chore: ignore hypothesis artifacts 2025-04-16 12:30:39 +03:00
.gitmodules chore(core): add TROPIC01 model as a submodule 2025-03-13 15:08:48 +01:00
.pylintrc chore(core): remove unused all_modules.py 2025-04-08 17:48:15 +03:00
.yamllint.yml refactor(nordic): rename west to nordic 2025-02-10 17:22:57 +01:00
build-docker.sh build: build-docker.sh: ignore dubious ownership 2025-04-29 15:18:00 +02:00
CODEOWNERS chore(CODEOWNERS): remove me from some components 2021-10-17 10:45:14 +02:00
COMMITS.md docs: introduce conventional-commits (#1234) 2020-09-15 16:11:39 +02:00
CONTRIBUTING.md docs: add PR workflow info; move CONTRIBUTING to docs 2020-04-30 14:49:47 +02:00
COPYING docs: clear up licensing information 2021-03-31 18:51:52 +02:00
create_monorepo.py chore: update branch name to main where its used 2023-10-18 10:40:05 +02:00
LICENSE.md docs: clear up licensing information 2021-03-31 18:51:52 +02:00
Makefile ci: drop GitLab config and mentions 2025-04-15 14:50:45 +03:00
poetry.lock chore(core): update coverage to 5.5 2025-04-16 15:14:53 +03:00
poetry.toml build(poetry): use new (parallel) installer 2022-11-08 12:21:46 +01:00
pyproject.toml build: poetry: disable package mode 2025-04-16 17:27:11 +02:00
README.md ci: drop GitLab config and mentions 2025-04-15 14:50:45 +03:00
SECURITY.md docs: use monospace for fingerprints 2019-08-16 18:47:46 +02:00
setup.cfg chore(python): replace 'pytest-rerunfailures' with 'pytest-retry' 2025-03-26 14:15:29 +02:00
shell.nix ci(nix): bump arm-embedded-gcc to version 13 2025-05-06 12:23:31 +02:00

Trezor Firmware

img

Repository Structure

  • ci: Ancillary files, data, and scripts for the CI pipeline
  • common/defs: JSON coin definitions and support tables
  • common/protob: Common protobuf definitions for the Trezor protocol
  • common/tools: Tools for managing coin definitions and related data
  • core: Trezor Core, firmware implementation for Trezor T
  • crypto: Stand-alone cryptography library used by both Trezor Core and the Trezor One firmware
  • docs: Assorted documentation
  • legacy: Trezor One firmware implementation
  • python: Python client library and the trezorctl command
  • storage: NORCOW storage implementation used by both Trezor Core and the Trezor One firmware
  • tests: Firmware unit test suite
  • tools: Miscellaneous build and helper scripts
  • vendor: Submodules for external dependencies

Contribute

See CONTRIBUTING.md.

Using Conventional Commits is strongly recommended and might be enforced in future.

Also please have a look at the docs, either in the docs folder or at docs.trezor.io before contributing. The misc chapter should be read in particular because it contains some useful assorted knowledge.

Security vulnerability disclosure

Please report suspected security vulnerabilities in private to security@satoshilabs.com, also see the disclosure section on the Trezor.io website. Please do NOT create publicly viewable issues for suspected security vulnerabilities.

Documentation

See the docs folder or visit docs.trezor.io.