Re: [isar-cip-core] Add steps to verify CIP security image


Hi Jan-San,

I have shared the below MR patch request that covers the documentation steps to verify IEC Layer Test on CIP security image but unable to see this request in mailing list.
Kindly let me know status of this MR


-----Original Message-----
From: Shreyas.Karmahe@... <Shreyas.Karmahe@...>
Sent: Friday, July 8, 2022 1:21 PM
To: cip-dev@...; jan.kiszka@...
Cc: karmahe shreyas(TSIP TMIEC ODG Porting) <Shreyas.Karmahe@...>; dinesh kumar(TSIP TMIEC ODG Porting) <dinesh.kumar@...>; pyla venkata(TSIP TMIEC ODG Porting) <Venkata.Pyla@...>; hayashi kazuhiro(林 和宏 □SWC◯ACT) <kazuhiro3.hayashi@...>
Subject: [isar-cip-core] Add steps to verify CIP security image

From: Shreyas Karmahe <Shreyas.Karmahe@...>

This document helps to build cip security image and verify the IEC layer using cip-security-tests[1].


Signed-off-by: Shreyas Karmahe <Shreyas.Karmahe@...>
doc/ | 80 ++++++++++++++++++++++++++++++++++
1 file changed, 80 insertions(+)
create mode 100644 doc/

diff --git a/doc/ b/doc/ new file mode 100644 index 0000000..b29531c
--- /dev/null
+++ b/doc/
@@ -0,0 +1,80 @@
+# CIP security testing
+This document explains how to verify basic implementations of [CIP security requirements]( in the isar-cip-core security image using [cip-security-tests](
+# Pre-requisite
+- Necessary debian packages to implement CIP security requirements,
+include them in the recipe
+- Pre configurations in the image, should be added in the `postinst`
+script of security-customizations
+- To run `cip-security-tests` the image should need additional package `sshpass` and rootfs size should need atleast 5GB, add the below configuration in kas/opt/security.yml file
+ ```
+ local_conf_header:
+ security_testing: |
+ IMAGE_PREINSTALL_append=" sshpass"
+ ```
+# Build CIP security Linux image
+Clone isar-cip-core repository
+host$ git clone
+host$ cd isar-cip-core
+Build Security Linux image by selecting necessary options ``` host$
+./kas-container menu
+ Select QEMU AMD64 (x86-64) as Target Board
+ Select Kernel 5.10.x-cip as Kernel Options
+ Select bullseye (11) as Debian Release
+ Select Flashable image as Image formats
+ Select Security extensions Options
+Save & Build
+# Boot the Linux image
+host$ ./ x86
+# Copy security tests in to the Linux image
+- Clone the cip-security-tests from following URL ``` host$ git clone
+- Add test user in Linux image to use while scp the
+`cip-security-tests` ``` image$ adduser test ```
+- Copy `cip-security-tests` to Linux image using scp command ``` host$
+scp -r -P 22222 TCs/ test@....0.1:/home/test/ ```
+# Run the test in Linux image
+- Go to following directory and execute IEC Layer test ``` image$ cd
+image$ ./
+`` generates the test result in file `result_file.txt`, and output look like below.
+ :
+ .
+Each line of the output will have this \<requirement
+number\>+<requirement pass/fail>+\<time took to execute this test
+- pass - The security image is meeting this requirement.
+- fail - The security image is failed to met this requirement.
+- skip - The test case not supported by IEC layer.

Join to automatically receive all group messages.