{"id":38991900,"url":"https://github.com/3mdeb/testing-trenchboot","last_synced_at":"2026-01-17T17:04:20.619Z","repository":{"id":56630430,"uuid":"259591000","full_name":"3mdeb/testing-trenchboot","owner":"3mdeb","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-06T17:37:49.000Z","size":179,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2023-09-21T15:12:33.261Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"RobotFramework","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/3mdeb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-28T09:27:29.000Z","updated_at":"2022-12-20T13:35:53.000Z","dependencies_parsed_at":"2022-08-15T22:20:12.584Z","dependency_job_id":null,"html_url":"https://github.com/3mdeb/testing-trenchboot","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"purl":"pkg:github/3mdeb/testing-trenchboot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Ftesting-trenchboot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Ftesting-trenchboot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Ftesting-trenchboot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Ftesting-trenchboot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3mdeb","download_url":"https://codeload.github.com/3mdeb/testing-trenchboot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Ftesting-trenchboot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-17T17:04:20.514Z","updated_at":"2026-01-17T17:04:20.587Z","avatar_url":"https://github.com/3mdeb.png","language":"RobotFramework","funding_links":[],"categories":[],"sub_categories":[],"readme":"Trenchboot Testing Infrastructure\n=====================================\n\nThis repository contains testing infrastructure related to [Trenchboot](https://github.com/3mdeb/meta-trenchboot)\nproject. Tests are written for usage with [Remote Testing Environment](https://shop.3mdeb.com/product/rte/)\nin [Robot Framework](https://github.com/robotframework/robotframework).\nThese [platforms](#supported-platforms) are currently supported.\n\nPreparing platform for testing\n------------------------------\n\nThe DUT needs to be connected with RTE as specified in [apu-rte connection\nmanual](docs/apu2-rte_connection.md). Coreboot must be flashed for [meta-trenchboot\nyocto tests](os/yocto_install.robot) to work correctly. To do that use\n[coreboot/flash_coreboot.robot](coreboot/flash_coreboot.robot).\nAfter that os tests can be run correctly.\n\nVirtualenv initialization\n-------------------------\n\n```\ngit clone https://github.com/3mdeb/testing-trenchboot.git\ncd testing-trenchboot\ngit submodule update --init --checkout\nvirtualenv -p $(which python2) robot-venv\nsource robot-venv/bin/activate\npip install -r requirements.txt\n```\n\nUsing docker instead of virtualenv\n----------------------------------\n\nJust replace the `robot` with:\n`docker run --rm -it -v ${PWD}:${PWD} -w ${PWD} 3mdeb/rf-docker`\n\nRunning test cases\n------------------\n\nCommands below assume you have virtualenv with robot framework activated.\n\n```\n# run test `FB1.3...` from foo suite bar test cases\nrobot -t \"FB1.3*\" -L TRACE -v rte_ip:$RTE_IP -v config:$CONFIG -v fw_file:$FW_FILE ./foo/bar.robot\n# run all test cases from foo suite bar\nrobot -L TRACE -v rte_ip:$RTE_IP -v config:$CONFIG -v fw_file:$FW_FILE -i $CONFIG ./foo/bar.robot\n```\n\nOf course you have to replace:\n\n* `$RTE_IP` - which is your RTE IP address, you can find it in\n  [variables.robot](variables.robot),\n* `$CONFIG` - platform specific configuration for importing correct keywords and\n  variables. List of [supported platforms](#supported-platforms) is shown below\n  and all config files are located in `platform-configs/`. It is also used with\n  `-i` parameter to execute only the tests suitable for the given platform.\n* `$FW_FILE` - path to firmware you want to use for given suite.\n\n\nFor example, to flash coreboot, type:\n\n* method #1 (binary file exists locally on the user computer):\n\n```\nrobot -L TRACE -v rte_ip:192.168.4.172 -v config:apu2 -v fw_file:./coreboot.rom ./coreboot/flash_coreboot.robot\n```\n\n* method #2 (binary file will be downloaded via FTP):\n\n```\nrobot -L TRACE -v rte_ip:192.168.4.172 -v config:apu2 -v fw_version:v4.10.0.1 ./coreboot/flash_coreboot.robot\n```\n\nTo run yocto tests and iPXE tests on asrock and supermicro platforms you must have\npreconfigured USB stick, with [Trenchboot Yocto Image](https://cloud.3mdeb.com/index.php/s/nw5PYyqS7WDMnbm)\nor [iPXE loading image](https://cloud.3mdeb.com/index.php/s/33NHcLfR8mraT3T).\nUSB Stick necessary for given tests must be set as primary boot option.\n\nSupported platforms\n-------------------\n\nManufacturer| Platform     | Firmware                 | Support | $CONFIG\n------------|--------------|--------------------------|---------|--------------------------\nPC Engines  | apu2 | PC Engines coreboot fork | Full    | `apu2`\nAsrock      | R1000V | UEFI | Full | `asrock`\nSupermicro  | m11sdv-8ct-ln4f | UEFI | Full | `supermicro`\nASUS        | KGPE-D16 | - | None | `kgpe-d16`\n\n* _Full_ - supported all test suites,\n* _Limited_ - supported basic tests - flashing firmware (coreboot/uefi) etc. [WIP],\n* _None_ - platform not yet supported (lack of config/tests) but listed for\n enabling in the near future. This may also means that all of tests and configs\n are in the `dev` stage.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3mdeb%2Ftesting-trenchboot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3mdeb%2Ftesting-trenchboot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3mdeb%2Ftesting-trenchboot/lists"}