From 7d1fefaeea3442d4a93ef7f679d9e4cc5438854f Mon Sep 17 00:00:00 2001 From: Vasyl Vavrychuk Date: Mon, 23 Nov 2020 21:34:43 +0200 Subject: packagegroup-agl-test: Install nmap. nmap package provides ncat which was written for the Nmap Project as a much-improved reimplementation of the venerable Netcat for the 21st century [1]. It can be used to verify vsock communication [2]. Connect from driver VM to device VM: On device VM run: `ncat --vsock -l 1234` On driver VM run: `ncat --vsock 2 1234`, here 2 is VMADDR_CID_HOST, see [3]. Connect from device VM to driver VM: On driver VM run: `ncat --vsock -l 1234` On device VM run: `ncat --vsock CID 1234`, here CID should be replaced with driver VM CID. [1]: https://nmap.org/ncat/ [2]: `main socat` section "AF_VSOCK SOCKETS" [3]: `man vsock` Bug-AGL: SPEC-3700 Change-Id: I92043eca33111f1921f739f355f35fda01467efb Signed-off-by: Vasyl Vavrychuk Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25636 Reviewed-by: Tadao Tanikawa Reviewed-by: Scott Murray Reviewed-by: Jan-Simon Moeller Tested-by: Jan-Simon Moeller --- .../recipes-test/packagegroups/packagegroup-agl-test.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-agl-profile-core/recipes-test/packagegroups/packagegroup-agl-test.bb b/meta-agl-profile-core/recipes-test/packagegroups/packagegroup-agl-test.bb index b4502a189..412d43875 100644 --- a/meta-agl-profile-core/recipes-test/packagegroups/packagegroup-agl-test.bb +++ b/meta-agl-profile-core/recipes-test/packagegroups/packagegroup-agl-test.bb @@ -27,6 +27,7 @@ RDEPENDS_${PN} += "\ linus-stress \ lmbench \ nbench-byte \ + nmap \ rt-tests \ stress \ " -- cgit 1.2.3-korg