Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup images #95

Draft
wants to merge 7 commits into
base: main_2.x
Choose a base branch
from
Draft

Cleanup images #95

wants to merge 7 commits into from

Conversation

thir820
Copy link
Collaborator

@thir820 thir820 commented Jan 30, 2025

Changes

  • Update example images
  • Reduce amount of example images.

Remark: Docs update missing, and will be added by a follow up PR.

Dependencies:

Support for compressed kernel modules for Ubuntu noble images of the initrd-generator, provided by:

Tests results

Developer Checklist:

  • Test: Changes are tested
  • TBD: Doc: Documentation has been updated
  • Git: Informative git commit message(s)
  • N/A Issue: If a related GitHub issue exists, linking is done

Reviewer checklist:

  • Review: Changes are reviewed
  • Review: Tested by the reviewer

@thir820 thir820 changed the base branch from main_1.x to main_2.x January 30, 2025 08:47
@thir820
Copy link
Collaborator Author

thir820 commented Jan 30, 2025

Changes for "Update QEMU appdev images":

(venv) ebcl@7af240b7790a:/workspace/robot_tests$ ./run_tests.sh -i appdev *.robot
Enforced image rebuild is off...
Robot Framework 7.2 (Python 3.10.12 on linux)
PYTHONPATH: /workspace/robot_tests/lib:
Running robot with arguments: "-i appdev amd64_qemu_appdev_crinit.robot amd64_qemu_appdev_systemd.robot arm64_qemu_appdev_crinit.robot arm64_qemu_appdev_systemd.robot images.robot qemu_performance.robot"
==============================================================================
Amd64 Qemu Appdev Crinit & Amd64 Qemu Appdev Systemd & Arm64 Qemu Appdev Cr...
==============================================================================
Amd64 Qemu Appdev Crinit & Amd64 Qemu Appdev Systemd & Arm64 Qemu Appdev Cr...
==============================================================================
[ WARN ] SDK_ROBOT_SKIP_CLEAN is 1, skipping image rebuild.
Check IPv6 settings on eth0                                           | PASS |
------------------------------------------------------------------------------
Check IPv4 settings on lo                                             | PASS |
------------------------------------------------------------------------------
Test Ubuntu Docker Image                                              | PASS |
------------------------------------------------------------------------------
Test Busybox Podman Image                                             | PASS |
------------------------------------------------------------------------------
Amd64 Qemu Appdev Crinit & Amd64 Qemu Appdev Systemd & Arm64 Qemu ... | PASS |
4 tests, 4 passed, 0 failed
==============================================================================
Amd64 Qemu Appdev Crinit & Amd64 Qemu Appdev Systemd & Arm64 Qemu Appdev Cr...
==============================================================================
[ WARN ] SDK_ROBOT_SKIP_CLEAN is 1, skipping image rebuild.
Test Ubuntu Docker Image                                              | PASS |
------------------------------------------------------------------------------
Test Busybox Podman Image                                             | PASS |
------------------------------------------------------------------------------
Amd64 Qemu Appdev Crinit & Amd64 Qemu Appdev Systemd & Arm64 Qemu ... | PASS |
2 tests, 2 passed, 0 failed
==============================================================================
Amd64 Qemu Appdev Crinit & Amd64 Qemu Appdev Systemd & Arm64 Qemu Appdev Cr...
==============================================================================
[ WARN ] SDK_ROBOT_SKIP_CLEAN is 1, skipping image rebuild.
Check IPv6 settings on eth0                                           | PASS |
------------------------------------------------------------------------------
Check IPv4 settings on lo                                             | PASS |
------------------------------------------------------------------------------
Test Ubuntu Docker Image                                              | PASS |
------------------------------------------------------------------------------
Test Busybox Podman Image                                             | PASS |
------------------------------------------------------------------------------
Amd64 Qemu Appdev Crinit & Amd64 Qemu Appdev Systemd & Arm64 Qemu ... | PASS |
4 tests, 4 passed, 0 failed
==============================================================================
Amd64 Qemu Appdev Crinit & Amd64 Qemu Appdev Systemd & Arm64 Qemu Appdev Cr...
==============================================================================
[ WARN ] SDK_ROBOT_SKIP_CLEAN is 1, skipping image rebuild.
Test Ubuntu Docker Image                                              | PASS |
------------------------------------------------------------------------------
Test Busybox Podman Image                                             | PASS |
------------------------------------------------------------------------------
Amd64 Qemu Appdev Crinit & Amd64 Qemu Appdev Systemd & Arm64 Qemu ... | PASS |
2 tests, 2 passed, 0 failed
==============================================================================
Amd64 Qemu Appdev Crinit & Amd64 Qemu Appdev Systemd & Arm64 Qemu Appdev Cr...
==============================================================================
[ WARN ] SDK_ROBOT_SKIP_CLEAN is 1, skipping image rebuild.                   
Build Image amd64/appdev/qemu/crinit                                  | PASS |
------------------------------------------------------------------------------
[ WARN ] SDK_ROBOT_SKIP_CLEAN is 1, skipping image rebuild.                   
Build Image amd64/appdev/qemu/systemd                                 | PASS |
------------------------------------------------------------------------------
[ WARN ] SDK_ROBOT_SKIP_CLEAN is 1, skipping image rebuild.                   
Build Image arm64/appdev/qemu/crinit                                  | PASS |
------------------------------------------------------------------------------
[ WARN ] SDK_ROBOT_SKIP_CLEAN is 1, skipping image rebuild.                   
Build Image arm64/appdev/qemu/systemd                                 | PASS |
------------------------------------------------------------------------------
[ WARN ] SDK_ROBOT_SKIP_CLEAN is 1, skipping image rebuild.                   
Build Image arm64/appdev/pi4/crinit                                   | PASS |
------------------------------------------------------------------------------
[ WARN ] SDK_ROBOT_SKIP_CLEAN is 1, skipping image rebuild.                   
Build Image arm64/appdev/pi4/systemd                                  | PASS |
------------------------------------------------------------------------------
[ WARN ] SDK_ROBOT_SKIP_CLEAN is 1, skipping image rebuild.                   
Build Image arm64/appdev/rdb2/crinit                                  | PASS |
------------------------------------------------------------------------------
[ WARN ] SDK_ROBOT_SKIP_CLEAN is 1, skipping image rebuild.                   
Build Image arm64/appdev/rdb2/systemd                                 | PASS |
------------------------------------------------------------------------------
Amd64 Qemu Appdev Crinit & Amd64 Qemu Appdev Systemd & Arm64 Qemu ... | PASS |
8 tests, 8 passed, 0 failed
==============================================================================
Amd64 Qemu Appdev Crinit & Amd64 Qemu Appdev Systemd & Arm64 Qemu ... | PASS |
20 tests, 20 passed, 0 failed
==============================================================================
Output:  /workspace/robot_tests/test_logs_2025-01-30-10-24-55_c49f1cbf0f47836398116375438e27c95373a770/output.xml
Log:     /workspace/robot_tests/test_logs_2025-01-30-10-24-55_c49f1cbf0f47836398116375438e27c95373a770/log.html
Report:  /workspace/robot_tests/test_logs_2025-01-30-10-24-55_c49f1cbf0f47836398116375438e27c95373a770/report.html

test_report_2025-01-30-10-24-55_c49f1cbf0f47836398116375438e27c95373a770.zip

Comment on lines +33 to +39
Before you can build any of the example applications, please make sure to run `task sysroot:build` and `task sysroot:install` for the used image configuration.
As an example, for the amd64 qemu image with crinit as init daemon, building the sysroot would be done like this:

```{bash}
cd /workspace/images/amd64/appdev/qemu/crinit
make sysroot_install
task sysroot:build
task sysroot:install
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why require sysroot:build and sysroot:install? sysroot:install should depend on sysroot:build and invoke it automatically, it is not build/outdated

@thir820 thir820 force-pushed the cleanup_images branch 2 times, most recently from 059ac7f to b18837c Compare February 5, 2025 16:38
@thir820 thir820 force-pushed the cleanup_images branch 2 times, most recently from 98696f2 to cadb210 Compare February 10, 2025 16:17
@thir820 thir820 force-pushed the cleanup_images branch 2 times, most recently from 8b16c46 to 8f3bf72 Compare February 12, 2025 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants