[Tizen] Run tests from 9P-shared directory instead of ISO follow-up (#35786)
* Remove ISO. Add virtfs sharing
* Remove ISO. Add sharing. Copy runner
* Update .tpk path
* Expand argument description
* Use generic target name
* Bump image version for workflows
* More verbose description
Co-authored-by: Arkadiusz Bokowy <arkadiusz.bokowy@gmail.com>
---------
Co-authored-by: Arkadiusz Bokowy <arkadiusz.bokowy@gmail.com>
diff --git a/.github/workflows/bloat_check.yaml b/.github/workflows/bloat_check.yaml
index b9e1b7b..31630e1 100644
--- a/.github/workflows/bloat_check.yaml
+++ b/.github/workflows/bloat_check.yaml
@@ -34,7 +34,7 @@
runs-on: ubuntu-latest
container:
- image: ghcr.io/project-chip/chip-build:77
+ image: ghcr.io/project-chip/chip-build:80
steps:
- name: Checkout
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index e7e5073..d54f4e1 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -42,7 +42,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build:77
+ image: ghcr.io/project-chip/chip-build:80
volumes:
- "/:/runner-root-volume"
- "/tmp/log_output:/tmp/test_logs"
@@ -138,7 +138,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build:77
+ image: ghcr.io/project-chip/chip-build:80
volumes:
- "/:/runner-root-volume"
- "/tmp/log_output:/tmp/test_logs"
@@ -283,7 +283,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build:77
+ image: ghcr.io/project-chip/chip-build:80
volumes:
- "/:/runner-root-volume"
- "/tmp/log_output:/tmp/test_logs"
@@ -346,7 +346,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build:77
+ image: ghcr.io/project-chip/chip-build:80
volumes:
- "/:/runner-root-volume"
- "/tmp/log_output:/tmp/test_logs"
@@ -457,7 +457,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build:77
+ image: ghcr.io/project-chip/chip-build:80
volumes:
- "/:/runner-root-volume"
- "/tmp/log_output:/tmp/test_logs"
diff --git a/.github/workflows/chef.yaml b/.github/workflows/chef.yaml
index a3af1d8..218ba5e 100644
--- a/.github/workflows/chef.yaml
+++ b/.github/workflows/chef.yaml
@@ -35,7 +35,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build:77
+ image: ghcr.io/project-chip/chip-build:80
options: --user root
steps:
@@ -56,7 +56,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-esp32:77
+ image: ghcr.io/project-chip/chip-build-esp32:80
options: --user root
steps:
@@ -77,7 +77,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-nrf-platform:77
+ image: ghcr.io/project-chip/chip-build-nrf-platform:80
options: --user root
steps:
@@ -98,7 +98,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-telink:77
+ image: ghcr.io/project-chip/chip-build-telink:80
options: --user root
steps:
diff --git a/.github/workflows/doxygen.yaml b/.github/workflows/doxygen.yaml
index f486995..25e909a 100644
--- a/.github/workflows/doxygen.yaml
+++ b/.github/workflows/doxygen.yaml
@@ -81,7 +81,7 @@
runs-on: ubuntu-latest
container:
- image: ghcr.io/project-chip/chip-build-doxygen:77
+ image: ghcr.io/project-chip/chip-build-doxygen:80
if: github.actor != 'restyled-io[bot]'
diff --git a/.github/workflows/examples-ameba.yaml b/.github/workflows/examples-ameba.yaml
index ef27d22..863c1c7 100644
--- a/.github/workflows/examples-ameba.yaml
+++ b/.github/workflows/examples-ameba.yaml
@@ -38,7 +38,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-ameba:77
+ image: ghcr.io/project-chip/chip-build-ameba:80
options: --user root
steps:
diff --git a/.github/workflows/examples-asr.yaml b/.github/workflows/examples-asr.yaml
index d61af7e..89d4ad6 100644
--- a/.github/workflows/examples-asr.yaml
+++ b/.github/workflows/examples-asr.yaml
@@ -36,7 +36,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-asr:77
+ image: ghcr.io/project-chip/chip-build-asr:80
options: --user root
steps:
diff --git a/.github/workflows/examples-bouffalolab.yaml b/.github/workflows/examples-bouffalolab.yaml
index 01935de..2c17e2b 100644
--- a/.github/workflows/examples-bouffalolab.yaml
+++ b/.github/workflows/examples-bouffalolab.yaml
@@ -37,7 +37,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-bouffalolab:77
+ image: ghcr.io/project-chip/chip-build-bouffalolab:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
diff --git a/.github/workflows/examples-cc13xx_26xx.yaml b/.github/workflows/examples-cc13xx_26xx.yaml
index 98f244b..d6e767b 100644
--- a/.github/workflows/examples-cc13xx_26xx.yaml
+++ b/.github/workflows/examples-cc13xx_26xx.yaml
@@ -41,7 +41,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-ti:77
+ image: ghcr.io/project-chip/chip-build-ti:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
diff --git a/.github/workflows/examples-cc32xx.yaml b/.github/workflows/examples-cc32xx.yaml
index 2c42df7..f72ef85 100644
--- a/.github/workflows/examples-cc32xx.yaml
+++ b/.github/workflows/examples-cc32xx.yaml
@@ -40,7 +40,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-ti:77
+ image: ghcr.io/project-chip/chip-build-ti:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
diff --git a/.github/workflows/examples-efr32.yaml b/.github/workflows/examples-efr32.yaml
index 8a3fc40..4dc32df 100644
--- a/.github/workflows/examples-efr32.yaml
+++ b/.github/workflows/examples-efr32.yaml
@@ -40,7 +40,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-efr32:78
+ image: ghcr.io/project-chip/chip-build-efr32:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
diff --git a/.github/workflows/examples-esp32.yaml b/.github/workflows/examples-esp32.yaml
index 43cd5de..933f167 100644
--- a/.github/workflows/examples-esp32.yaml
+++ b/.github/workflows/examples-esp32.yaml
@@ -36,7 +36,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-esp32:77
+ image: ghcr.io/project-chip/chip-build-esp32:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
@@ -126,7 +126,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-esp32:77
+ image: ghcr.io/project-chip/chip-build-esp32:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
diff --git a/.github/workflows/examples-infineon.yaml b/.github/workflows/examples-infineon.yaml
index 799b8f6..19c5981 100644
--- a/.github/workflows/examples-infineon.yaml
+++ b/.github/workflows/examples-infineon.yaml
@@ -37,7 +37,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-infineon:77
+ image: ghcr.io/project-chip/chip-build-infineon:80
env:
# TODO: this should probably be part of the dockerfile itself
CY_TOOLS_PATHS: /opt/Tools/ModusToolbox/tools_3.2
diff --git a/.github/workflows/examples-linux-arm.yaml b/.github/workflows/examples-linux-arm.yaml
index 338fe3d..113dac7 100644
--- a/.github/workflows/examples-linux-arm.yaml
+++ b/.github/workflows/examples-linux-arm.yaml
@@ -36,7 +36,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-crosscompile:77
+ image: ghcr.io/project-chip/chip-build-crosscompile:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
diff --git a/.github/workflows/examples-linux-imx.yaml b/.github/workflows/examples-linux-imx.yaml
index dce4690..832a4f3 100644
--- a/.github/workflows/examples-linux-imx.yaml
+++ b/.github/workflows/examples-linux-imx.yaml
@@ -36,7 +36,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-imx:77
+ image: ghcr.io/project-chip/chip-build-imx:80
steps:
- name: Checkout
diff --git a/.github/workflows/examples-linux-standalone.yaml b/.github/workflows/examples-linux-standalone.yaml
index 0eff5db..dfa15c4 100644
--- a/.github/workflows/examples-linux-standalone.yaml
+++ b/.github/workflows/examples-linux-standalone.yaml
@@ -36,7 +36,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build:77
+ image: ghcr.io/project-chip/chip-build:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
diff --git a/.github/workflows/examples-linux-tv-casting-app.yaml b/.github/workflows/examples-linux-tv-casting-app.yaml
index f3ef14b..3a0b5cd 100644
--- a/.github/workflows/examples-linux-tv-casting-app.yaml
+++ b/.github/workflows/examples-linux-tv-casting-app.yaml
@@ -36,7 +36,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build:77
+ image: ghcr.io/project-chip/chip-build:80
steps:
- name: Checkout
diff --git a/.github/workflows/examples-mw320.yaml b/.github/workflows/examples-mw320.yaml
index bc2035c..b40aba2 100644
--- a/.github/workflows/examples-mw320.yaml
+++ b/.github/workflows/examples-mw320.yaml
@@ -39,7 +39,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build:77
+ image: ghcr.io/project-chip/chip-build:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
diff --git a/.github/workflows/examples-nrfconnect.yaml b/.github/workflows/examples-nrfconnect.yaml
index 48a94ee..f717a7b 100644
--- a/.github/workflows/examples-nrfconnect.yaml
+++ b/.github/workflows/examples-nrfconnect.yaml
@@ -39,7 +39,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-nrf-platform:77
+ image: ghcr.io/project-chip/chip-build-nrf-platform:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
diff --git a/.github/workflows/examples-nuttx.yaml b/.github/workflows/examples-nuttx.yaml
index 6be7cfb..9cd4c7f 100644
--- a/.github/workflows/examples-nuttx.yaml
+++ b/.github/workflows/examples-nuttx.yaml
@@ -35,7 +35,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-nuttx:77
+ image: ghcr.io/project-chip/chip-build-nuttx:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
diff --git a/.github/workflows/examples-nxp.yaml b/.github/workflows/examples-nxp.yaml
index e8e3359..40d2e33 100644
--- a/.github/workflows/examples-nxp.yaml
+++ b/.github/workflows/examples-nxp.yaml
@@ -39,7 +39,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-k32w:77
+ image: ghcr.io/project-chip/chip-build-k32w:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
@@ -96,7 +96,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-nxp:71
+ image: ghcr.io/project-chip/chip-build-nxp:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
@@ -157,7 +157,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-nxp:71
+ image: ghcr.io/project-chip/chip-build-nxp:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
@@ -218,7 +218,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-nxp:77
+ image: ghcr.io/project-chip/chip-build-nxp:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
@@ -279,7 +279,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-nxp-zephyr:77
+ image: ghcr.io/project-chip/chip-build-nxp-zephyr:80
steps:
- name: Checkout
diff --git a/.github/workflows/examples-openiotsdk.yaml b/.github/workflows/examples-openiotsdk.yaml
index 579a9d7..15897d7 100644
--- a/.github/workflows/examples-openiotsdk.yaml
+++ b/.github/workflows/examples-openiotsdk.yaml
@@ -36,7 +36,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-openiotsdk:77
+ image: ghcr.io/project-chip/chip-build-openiotsdk:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
options: --privileged
diff --git a/.github/workflows/examples-qpg.yaml b/.github/workflows/examples-qpg.yaml
index 8b85f35..e326019 100644
--- a/.github/workflows/examples-qpg.yaml
+++ b/.github/workflows/examples-qpg.yaml
@@ -39,7 +39,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build:77
+ image: ghcr.io/project-chip/chip-build:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
diff --git a/.github/workflows/examples-stm32.yaml b/.github/workflows/examples-stm32.yaml
index f018e32..361e82b 100644
--- a/.github/workflows/examples-stm32.yaml
+++ b/.github/workflows/examples-stm32.yaml
@@ -40,7 +40,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build:77
+ image: ghcr.io/project-chip/chip-build:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
steps:
diff --git a/.github/workflows/examples-telink.yaml b/.github/workflows/examples-telink.yaml
index bcab5a1..7fb14e8 100644
--- a/.github/workflows/examples-telink.yaml
+++ b/.github/workflows/examples-telink.yaml
@@ -38,7 +38,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-telink:77
+ image: ghcr.io/project-chip/chip-build-telink:80
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
diff --git a/.github/workflows/examples-tizen.yaml b/.github/workflows/examples-tizen.yaml
index 3f4c68f..4c59fb5 100644
--- a/.github/workflows/examples-tizen.yaml
+++ b/.github/workflows/examples-tizen.yaml
@@ -36,7 +36,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-tizen:77
+ image: ghcr.io/project-chip/chip-build-tizen:80
options: --user root
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"
diff --git a/.github/workflows/full-android.yaml b/.github/workflows/full-android.yaml
index ccaf534..b30ad7b 100644
--- a/.github/workflows/full-android.yaml
+++ b/.github/workflows/full-android.yaml
@@ -38,7 +38,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-android:77
+ image: ghcr.io/project-chip/chip-build-android:80
volumes:
- "/tmp/log_output:/tmp/test_logs"
diff --git a/.github/workflows/fuzzing-build.yaml b/.github/workflows/fuzzing-build.yaml
index c70d750..58174f9 100644
--- a/.github/workflows/fuzzing-build.yaml
+++ b/.github/workflows/fuzzing-build.yaml
@@ -33,7 +33,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build:77
+ image: ghcr.io/project-chip/chip-build:80
volumes:
- "/tmp/log_output:/tmp/test_logs"
diff --git a/.github/workflows/java-tests.yaml b/.github/workflows/java-tests.yaml
index 5dd6370..8c1f853 100644
--- a/.github/workflows/java-tests.yaml
+++ b/.github/workflows/java-tests.yaml
@@ -42,7 +42,7 @@
runs-on: ubuntu-latest
container:
- image: ghcr.io/project-chip/chip-build-java:77
+ image: ghcr.io/project-chip/chip-build-java:80
options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0
net.ipv4.conf.all.forwarding=0 net.ipv6.conf.all.forwarding=0"
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 0bb7474..b16919e 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -35,7 +35,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build:76
+ image: ghcr.io/project-chip/chip-build:80
steps:
- name: Checkout
diff --git a/.github/workflows/minimal-build.yaml b/.github/workflows/minimal-build.yaml
index 4866f9e..bf24052 100644
--- a/.github/workflows/minimal-build.yaml
+++ b/.github/workflows/minimal-build.yaml
@@ -33,7 +33,7 @@
runs-on: ubuntu-latest
container:
- image: ghcr.io/project-chip/chip-build-minimal:77
+ image: ghcr.io/project-chip/chip-build-minimal:80
steps:
- name: Checkout
@@ -55,7 +55,7 @@
runs-on: ubuntu-latest
container:
- image: ghcr.io/project-chip/chip-build-minimal:77
+ image: ghcr.io/project-chip/chip-build-minimal:80
steps:
- name: Checkout
diff --git a/.github/workflows/qemu.yaml b/.github/workflows/qemu.yaml
index bff7dcf..3b3aab6 100644
--- a/.github/workflows/qemu.yaml
+++ b/.github/workflows/qemu.yaml
@@ -40,7 +40,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-esp32-qemu:77
+ image: ghcr.io/project-chip/chip-build-esp32-qemu:80
volumes:
- "/tmp/log_output:/tmp/test_logs"
@@ -78,7 +78,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-tizen-qemu:76
+ image: ghcr.io/project-chip/chip-build-tizen-qemu:80
options: --user root
volumes:
- "/tmp/log_output:/tmp/test_logs"
diff --git a/.github/workflows/release_artifacts.yaml b/.github/workflows/release_artifacts.yaml
index 42bd920..9a9e5ba 100644
--- a/.github/workflows/release_artifacts.yaml
+++ b/.github/workflows/release_artifacts.yaml
@@ -32,7 +32,7 @@
runs-on: ubuntu-latest
container:
- image: ghcr.io/project-chip/chip-build-esp32:77
+ image: ghcr.io/project-chip/chip-build-esp32:80
steps:
- name: Checkout
@@ -64,7 +64,7 @@
runs-on: ubuntu-latest
container:
- image: ghcr.io/project-chip/chip-build-efr32:78
+ image: ghcr.io/project-chip/chip-build-efr32:80
steps:
- name: Checkout
uses: actions/checkout@v4
diff --git a/.github/workflows/smoketest-android.yaml b/.github/workflows/smoketest-android.yaml
index 46a83a8..eb2e14f 100644
--- a/.github/workflows/smoketest-android.yaml
+++ b/.github/workflows/smoketest-android.yaml
@@ -37,7 +37,7 @@
if: github.actor != 'restyled-io[bot]'
container:
- image: ghcr.io/project-chip/chip-build-android:77
+ image: ghcr.io/project-chip/chip-build-android:80
volumes:
- "/:/runner-root-volume"
- "/tmp/log_output:/tmp/test_logs"
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index d14d188..baea4ca 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -49,7 +49,7 @@
runs-on: ubuntu-latest
container:
- image: ghcr.io/project-chip/chip-build:77
+ image: ghcr.io/project-chip/chip-build:80
options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0
net.ipv4.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1"
@@ -451,7 +451,7 @@
runs-on: ubuntu-latest
container:
- image: ghcr.io/project-chip/chip-build:77
+ image: ghcr.io/project-chip/chip-build:80
options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0
net.ipv4.conf.all.forwarding=0 net.ipv6.conf.all.forwarding=0"
diff --git a/.github/workflows/unit_integration_test.yaml b/.github/workflows/unit_integration_test.yaml
index 7816c74..87eb79e 100644
--- a/.github/workflows/unit_integration_test.yaml
+++ b/.github/workflows/unit_integration_test.yaml
@@ -39,7 +39,7 @@
runs-on: ubuntu-latest
container:
- image: ghcr.io/project-chip/chip-build:77
+ image: ghcr.io/project-chip/chip-build:80
volumes:
- "/:/runner-root-volume"
- "/tmp/log_output:/tmp/test_logs"
diff --git a/.github/workflows/zap_regeneration.yaml b/.github/workflows/zap_regeneration.yaml
index e8213e0..72370f1 100644
--- a/.github/workflows/zap_regeneration.yaml
+++ b/.github/workflows/zap_regeneration.yaml
@@ -30,7 +30,7 @@
runs-on: ubuntu-20.04
container:
- image: ghcr.io/project-chip/chip-build:77
+ image: ghcr.io/project-chip/chip-build:80
defaults:
run:
shell: sh
diff --git a/.github/workflows/zap_templates.yaml b/.github/workflows/zap_templates.yaml
index 85b7ffa..017a41c 100644
--- a/.github/workflows/zap_templates.yaml
+++ b/.github/workflows/zap_templates.yaml
@@ -34,7 +34,7 @@
runs-on: ubuntu-20.04
container:
- image: ghcr.io/project-chip/chip-build:77
+ image: ghcr.io/project-chip/chip-build:80
defaults:
run:
shell: sh
diff --git a/src/test_driver/tizen/chip_tests/BUILD.gn b/src/test_driver/tizen/chip_tests/BUILD.gn
index 829371d..47be879 100644
--- a/src/test_driver/tizen/chip_tests/BUILD.gn
+++ b/src/test_driver/tizen/chip_tests/BUILD.gn
@@ -17,30 +17,26 @@
import("${tizen_sdk_build_root}/tizen_sdk.gni")
-tizen_qemu_mkisofs("chip-tests-runner") {
- runner = "runner.sh"
-
- # Build CHIP unit tests.
- deps = [ "${chip_root}/src:tests" ]
-
- # Bundle all created unit tests.
- # TODO (arkq): Collect all unit tests in a way that we could add all targets
- # to the assets list. Right now QEMU runner dependencies are not
- # tracked properly. Changes to the unit tests will not trigger
- # rebuild of the ISO image, so the test will be run with old
- # binaries.
- assets_non_tracked = [ rebase_path("${root_build_dir}/tests") ]
-}
-
tizen_qemu_run("chip-tests") {
# Enable network support, so Tizen can obtain current date/time from the
# network. Correct date/time is required for the commissioning process -
# attestation will fail otherwise.
virtio_net = true
- deps = [ ":chip-tests-runner" ]
- mkisofs_outputs = get_target_outputs(":chip-tests-runner")
- iso_image = rebase_path(mkisofs_outputs[0])
+ # Share tests directory.
+ share = "${root_out_dir}/tests"
+
+ # Copy runner script to shared directory.
+ copy("${target_name}:runner") {
+ sources = [ "runner.sh" ]
+ outputs = [ share + "/runner.sh" ]
+ }
+
+ # Build CHIP unit tests.
+ deps = [
+ ":${target_name}:runner",
+ "${chip_root}/src:tests",
+ ]
}
group("check") {
diff --git a/src/test_driver/tizen/integration_tests/lighting-app/BUILD.gn b/src/test_driver/tizen/integration_tests/lighting-app/BUILD.gn
index 15c16d0..67de6ab 100644
--- a/src/test_driver/tizen/integration_tests/lighting-app/BUILD.gn
+++ b/src/test_driver/tizen/integration_tests/lighting-app/BUILD.gn
@@ -17,32 +17,27 @@
import("${tizen_sdk_build_root}/tizen_sdk.gni")
-tizen_qemu_mkisofs("lighting-app-runner") {
- runner = "runner.sh"
-
- # Build applications used in the test.
- deps = [
- "${chip_root}/examples/chip-tool:chip-tool",
- "${chip_root}/examples/lighting-app/tizen:chip-lighting-app:tpk",
- ]
-
- # Use artifacts created by the dependencies.
- assets = [
- rebase_path("${root_out_dir}/chip-tool"),
- rebase_path(
- "${root_out_dir}/org.tizen.matter.example.lighting/out/org.tizen.matter.example.lighting-1.0.0.tpk"),
- ]
-}
-
tizen_qemu_run("lighting-app") {
# Enable network support, so Tizen can obtain current date/time from the
# network. Correct date/time is required for the commissioning process -
# attestation will fail otherwise.
virtio_net = true
- deps = [ ":lighting-app-runner" ]
- mkisofs_outputs = get_target_outputs(":lighting-app-runner")
- iso_image = rebase_path(mkisofs_outputs[0])
+ # Share output directory.
+ share = "${root_out_dir}"
+
+ # Copy runner script to shared directory.
+ copy("${target_name}:runner") {
+ sources = [ "runner.sh" ]
+ outputs = [ share + "/runner.sh" ]
+ }
+
+ # Build applications used in the test.
+ deps = [
+ ":${target_name}:runner",
+ "${chip_root}/examples/chip-tool:chip-tool",
+ "${chip_root}/examples/lighting-app/tizen:chip-lighting-app:tpk",
+ ]
}
group("check") {
diff --git a/src/test_driver/tizen/integration_tests/lighting-app/runner.sh b/src/test_driver/tizen/integration_tests/lighting-app/runner.sh
index c214123..52e7562 100755
--- a/src/test_driver/tizen/integration_tests/lighting-app/runner.sh
+++ b/src/test_driver/tizen/integration_tests/lighting-app/runner.sh
@@ -22,7 +22,7 @@
dlogutil CHIP &
# Install lighting Matter app
-pkgcmd -i -t tpk -p /mnt/chip/org.tizen.matter.*
+pkgcmd -i -t tpk -p /mnt/chip/org.tizen.matter.*/out/org.tizen.matter.*.tpk
# Launch lighting Matter app
app_launcher -s org.tizen.matter.example.lighting
diff --git a/third_party/tizen/tizen_qemu.py b/third_party/tizen/tizen_qemu.py
index 358b2d6..93bdfd3 100755
--- a/third_party/tizen/tizen_qemu.py
+++ b/third_party/tizen/tizen_qemu.py
@@ -65,10 +65,10 @@
help=("path to the system data image; "
"default: $TIZEN_SDK_ROOT/iot-sysdata.img"))
parser.add_argument(
- '--image-iso', metavar='IMAGE',
- help=("path to the ISO image with the runner script; the ISO image "
- "should have 'CHIP' label and a file named 'runner.sh' at the "
- "root directory"))
+ '--share', type=str,
+ help=("host directory to share with the guest; if file named 'runner.sh' "
+ "is present at the root of that directory, it will be executed "
+ "automatically after boot"))
parser.add_argument(
'--output', metavar='FILE', default="/dev/null",
help="store the QEMU output in a FILE")
@@ -107,6 +107,13 @@
'-m', str(args.memory),
]
+if args.share:
+ # Add directory sharing.
+ qemu_args += [
+ '-virtfs',
+ 'local,path=%s,mount_tag=host0,security_model=none' % args.share
+ ]
+
if args.virtio_net:
# Add network support.
qemu_args += [
@@ -114,13 +121,6 @@
'-netdev', 'user,id=virtio-net',
]
-if args.image_iso:
- # Add a block device for the runner ISO image.
- qemu_args += [
- '-device', 'virtio-blk-device,drive=virtio-blk3',
- '-drive', 'file=%s,id=virtio-blk3,if=none,format=raw' % args.image_iso,
- ]
-
# Add Tizen image block devices.
qemu_args += [
'-device', 'virtio-blk-device,drive=virtio-blk2',
diff --git a/third_party/tizen/tizen_sdk.gni b/third_party/tizen/tizen_sdk.gni
index 888b466..72fb207 100644
--- a/third_party/tizen/tizen_sdk.gni
+++ b/third_party/tizen/tizen_sdk.gni
@@ -165,85 +165,27 @@
}
}
-# Create ISO image for Tizen QEMU.
-#
-# Parameters:
-# runner: Path to the Tizen QEMU runner script.
-# assets: List of assets to copy to the ISO image.
-template("tizen_qemu_mkisofs") {
- # This target shall only be used for testing purposes.
- testonly = true
-
- assert(defined(invoker.runner), "It is required to specify runner script.")
- assert(get_path_info(invoker.runner, "file") == "runner.sh",
- "Runner script must be named 'runner.sh'")
-
- image_file = "${target_gen_dir}/${target_name}.iso"
-
- action(target_name) {
- forward_variables_from(invoker, [ "deps" ])
- inputs = [ invoker.runner ]
- outputs = [ image_file ]
-
- args = [
- "mkisofs",
- "-input-charset=default",
- "-VCHIP", # Volume ID = CHIP
- "-JrU", # Joliet + Rock Ridge with untranslated filenames
- ]
-
- # Exclude files from the ISO image which might otherwise be included
- # by non-tracked assets in case of adding entire directory. This will
- # not exclude files added explicitly.
- if (defined(invoker.assets_non_tracked_exclude_globs)) {
- foreach(glob, invoker.assets_non_tracked_exclude_globs) {
- args += [
- "-m",
- glob,
- ]
- }
- }
-
- args += [
- "-o",
- rebase_path(image_file),
- rebase_path(invoker.runner),
- ]
-
- if (defined(invoker.assets)) {
- args += invoker.assets
- inputs += invoker.assets
- }
- if (defined(invoker.assets_non_tracked)) {
- args += invoker.assets_non_tracked
- }
-
- script = "${build_root}/gn_run_binary.py"
- }
-}
-
# Run Tizen in QEMU.
#
# Parameters:
-# iso_image: The path to ISO image with the runner script.
+# share: Directory to share between host and QEMU.
# virtio_net: Enable external network access.
template("tizen_qemu_run") {
# This target shall only be used for testing purposes.
testonly = true
- assert(defined(invoker.iso_image),
- "It is required to specify ISO runner image.")
+ assert(defined(invoker.share), "It is required to specify path to share.")
# Store QEMU output in a dedicated log file.
output_log_file = "${root_out_dir}/tizen-qemu-" + target_name + ".log"
action(target_name) {
forward_variables_from(invoker, [ "deps" ])
- inputs = [ invoker.iso_image ]
+
outputs = [ output_log_file ]
args = [
- "--image-iso=" + invoker.iso_image,
+ "--share=" + invoker.share,
"--output=" + rebase_path(output_log_file),
]
if (defined(invoker.virtio_net) && invoker.virtio_net) {