From patchwork Tue Oct 28 09:00:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Mingyu X-Patchwork-Id: 73154 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3D4DCCF9EE for ; Tue, 28 Oct 2025 09:00:56 +0000 (UTC) Received: from esa7.hc1455-7.c3s2.iphmx.com (esa7.hc1455-7.c3s2.iphmx.com [139.138.61.252]) by mx.groups.io with SMTP id smtpd.web10.7033.1761642049238663808 for ; Tue, 28 Oct 2025 02:00:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@fujitsu.com header.s=fj2 header.b=NwLFWxPu; spf=pass (domain: fujitsu.com, ip: 139.138.61.252, mailfrom: wangmy@fujitsu.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj2; t=1761642049; x=1793178049; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=RMLTpy07Chiv9wd7ZeLdKQFA+9R3b0gL2+pCk/HGgN0=; b=NwLFWxPuIxG9lcuHEu+c5sTl/VeZ1DujzKZWKHGGsLmawWtKPYt2ZbIG 2Xcy7TydJTxxDequqmEH2Qz7Wk51GKRbuC3f625e9NNRG0Y+0mJSj2bLf saGVelqPnCv66d0IY9VJ+RBPTzZTmhjuicRzsuqzGwFIM2RJ00GZv/NU5 NbtEIwpmXfN4qpYM6wLxYpwggqIdfmlWEYJDRIh4ERd9QZq+9TebyBZX5 G6zAmtGp1KdPT4FmO4ePncgMU2mL5sCIEOIBWRryCMVEMJaWrue+1rTwV hXBwnzvdyTQcc7jfCpe1mB35Rvsr8wD/NZi69dXiJyeTb3ikZH+JO+VZ9 A==; X-CSE-ConnectionGUID: TZYwq/s8S8umVCIOHt4lJg== X-CSE-MsgGUID: +npPVtmMQpGjV/9PwM051g== X-IronPort-AV: E=McAfee;i="6800,10657,11586"; a="196190745" X-IronPort-AV: E=Sophos;i="6.19,261,1754924400"; d="scan'208";a="196190745" Received: from unknown (HELO az2uksmgr4.o.css.fujitsu.com) ([52.151.125.19]) by esa7.hc1455-7.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2025 18:00:47 +0900 Received: from az2uksmgm3.o.css.fujitsu.com (unknown [10.151.22.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by az2uksmgr4.o.css.fujitsu.com (Postfix) with ESMTPS id 4FA2FC000BE for ; Tue, 28 Oct 2025 09:00:47 +0000 (UTC) Received: from az2uksmom4.o.css.fujitsu.com (az2uksmom4.o.css.fujitsu.com [10.151.22.204]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by az2uksmgm3.o.css.fujitsu.com (Postfix) with ESMTPS id 03EC9C00227 for ; Tue, 28 Oct 2025 09:00:47 +0000 (UTC) Received: from G08FNSTD200057.g08.fujitsu.local (unknown [10.193.161.187]) by az2uksmom4.o.css.fujitsu.com (Postfix) with ESMTP id 7E7984041DB; Tue, 28 Oct 2025 09:00:44 +0000 (UTC) From: Wang Mingyu < wangmy@fujitsu.com> To: openembedded-devel@lists.openembedded.org Cc: Wang Mingyu Subject: [PATCH 1/5] modify the directory of test script Date: Tue, 28 Oct 2025 17:00:32 +0800 Message-ID: <20251028090037.143-2-wangmy@fujitsu.com> X-Mailer: git-send-email 2.49.0.windows.1 In-Reply-To: <20251028090037.143-1-wangmy@fujitsu.com> References: <20251028090037.143-1-wangmy@fujitsu.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 28 Oct 2025 09:00:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/121068 From: Wang Mingyu Signed-off-by: Wang Mingyu --- fuego-core-ubinux/scripts/test_object | 122 ------------------ fuego-core-ubinux/scripts/test_script.sh | 11 -- .../scripts/{ => test_script}/target_setup.sh | 44 ++++--- target_setup.sh | 62 --------- 4 files changed, 26 insertions(+), 213 deletions(-) delete mode 100644 fuego-core-ubinux/scripts/test_object delete mode 100644 fuego-core-ubinux/scripts/test_script.sh rename fuego-core-ubinux/scripts/{ => test_script}/target_setup.sh (56%) delete mode 100755 target_setup.sh diff --git a/fuego-core-ubinux/scripts/test_object b/fuego-core-ubinux/scripts/test_object deleted file mode 100644 index 7669c71..0000000 --- a/fuego-core-ubinux/scripts/test_object +++ /dev/null @@ -1,122 +0,0 @@ -acl -acpid -at -atmtcp -bash -batch -bc -bgpd -bind -bluez_utils -bmaptool -brctl -busybox -bzip2 -coreutils -cpufreq-aperf -cpufreq-info -cpufreq-set -cross_compilation -cryptsetup -curl -demo -dmidecode -dmsetup -dool -dovecot -dumpsexp -ecryptfs_manager -edac-util -ethtool -fbset -fetchmail -file -fio -fixesproto -fontconfig -gawk -geoip -hciattach -hostapd -initscripts -interactive -ipc-run -iperf3_server -iputils -kbd -keyctl -kmod -libesmtp -libtool -libxml -lm_sensors -logd -logrotate -logwatch -ltrace -lvm -lynis -mcelog -m4 -misc -module-init-tools -monit -multipathd -net-snmp -net-tools -nfs -nicstat -nmap -nscd -nss -ntp -openct -openhpid -openssh -openvpn -openwsmand -ospf6d -ospfd -pam -parted -passwd -paxctl -pcscd -perl-xml-simple -postfix -powertop -protobuf -ptpd -quota -radvd -regression -ripd -ripngd -rpcbind -rpm -samba -samhain -schedutils -setserial -slapd -s-nail -sqlite -strace -stunnel -sysklogd -sysstat -sysvinit -tar -tiptop -trousers -uftrace -utillinux -vconfig -vixie_cron -wpa_supplicant -xdelta3 -xorg-macros -xterm -zabbix -zebra -auditd diff --git a/fuego-core-ubinux/scripts/test_script.sh b/fuego-core-ubinux/scripts/test_script.sh deleted file mode 100644 index 0e4347d..0000000 --- a/fuego-core-ubinux/scripts/test_script.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -rm /fuego-rw/result.csv - -for line in `cat test_object` -do - rm /fuego-rw/logs/Functional.$line/flat_plot_data.txt -# rm -fr /fuego-rw/logs/Functional.$line/myboard.default.* - ftc run-test -b $1 -t Functional.$line -s default - cat /fuego-rw/logs/Functional.$line/flat_plot_data.txt |awk '{print $2,$7,$9}' | awk -F '[ .]' '{print $2,$4,$5}' |awk ' BEGIN{FS=" ";OFS=","}{$1=$1;print} '>> /fuego-rw/result.csv -done diff --git a/fuego-core-ubinux/scripts/target_setup.sh b/fuego-core-ubinux/scripts/test_script/target_setup.sh similarity index 56% rename from fuego-core-ubinux/scripts/target_setup.sh rename to fuego-core-ubinux/scripts/test_script/target_setup.sh index ca58bbc..fde9a71 100755 --- a/fuego-core-ubinux/scripts/target_setup.sh +++ b/fuego-core-ubinux/scripts/test_script/target_setup.sh @@ -4,32 +4,40 @@ # Usage: ./target_setup.sh # Verify argument count -if [ $# -ne 1 ]; then - echo "Usage: $0 " - echo "Example: ./target_setup.sh Myboard" +if [ $# -ne 2 ]; then + echo "Usage: $0 " + echo "Example: ./target_setup.sh Myboard IP" exit 1 fi BOARD=$1 -echo "=== Starting configuration for target board [$BOARD] ===" +IP=$2 +PASSWORD="goodluck" +echo "=== Starting configuration for target board [$BOARD] via SSH ===" + +run_cmd() { + sshpass -p "$PASSWORD" ssh -o StrictHostKeyChecking=no root@$IP "$1" +} + +rm /root/.ssh/known_hosts # 1. Start DNSMasq service echo "Starting DNSMasq service..." -ftc run-target -b $BOARD -- "systemctl start dnsmasq" +run_cmd "systemctl start dnsmasq" # 2. Configure Postfix mail service echo "Configuring Postfix aliases and links..." -ftc run-target -b $BOARD -- "touch /etc/aliases" -ftc run-target -b $BOARD -- "cd /usr/sbin && unlink sendmail 2>/dev/null; ln -s sendmail.postfix sendmail" -ftc run-target -b $BOARD -- "cd /usr/bin && unlink newaliases 2>/dev/null; ln -s newaliases.postfix newaliases" -ftc run-target -b $BOARD -- "newaliases" -ftc run-target -b $BOARD -- "postmap /etc/postfix/virtual" -ftc run-target -b $BOARD -- "/etc/init.d/populate-volatile.sh" -ftc run-target -b $BOARD -- "systemctl restart postfix" +run_cmd "touch /etc/aliases" +run_cmd "cd /usr/sbin && unlink sendmail 2>/dev/null; ln -s sendmail.postfix sendmail" +run_cmd "cd /usr/bin && unlink newaliases 2>/dev/null; ln -s newaliases.postfix newaliases" +run_cmd "newaliases" +run_cmd "postmap /etc/postfix/virtual" +run_cmd "/etc/init.d/populate-volatile.sh" +run_cmd "systemctl restart postfix" # 3. Load required kernel modules (using current kernel version) echo "Loading kernel modules (using current kernel version)..." -ftc run-target -b $BOARD -- 'KVER=$(uname -r); +run_cmd 'KVER=$(uname -r); echo "Loading mac80211_hwsim.ko for kernel $KVER"; insmod /lib/modules/$KVER/kernel/drivers/net/wireless/virtual/mac80211_hwsim.ko 2>/dev/null || true; echo "Loading cn.ko for kernel $KVER"; @@ -37,15 +45,15 @@ ftc run-target -b $BOARD -- 'KVER=$(uname -r); # 4. Configure mdadm mail notifications echo "Updating mdadm configuration..." -ftc run-target -b $BOARD -- "sed -i 's/^#MAILADDR/MAILADDR/' /etc/mdadm.conf" +run_cmd "sed -i 's/^#MAILADDR/MAILADDR/' /etc/mdadm.conf" # 5. Update ptpd network interface configuration echo "Updating PTPd network interface..." -ftc run-target -b $BOARD -- "sed -i 's/eth0/eth1/g' /etc/default/ptpd" +run_cmd "sed -i 's/eth0/eth1/g' /etc/default/ptpd" # 6. Enable FRR routing daemons echo "Enabling FRR routing daemons..." -ftc run-target -b $BOARD -- "sed -i -e 's/^bgpd=no/bgpd=yes/' \ +run_cmd "sed -i -e 's/^bgpd=no/bgpd=yes/' \ -e 's/^ospfd=no/ospfd=yes/' \ -e 's/^ospf6d=no/ospf6d=yes/' \ -e 's/^ripd=no/ripd=yes/' \ @@ -54,8 +62,8 @@ ftc run-target -b $BOARD -- "sed -i -e 's/^bgpd=no/bgpd=yes/' \ # 7. Configure journald persistent storage echo "Configuring systemd-journald for persistent logs..." -ftc run-target -b $BOARD -- "sed -i 's/^#Storage=.*/Storage=persistent/' /etc/systemd/journald.conf" -ftc run-target -b $BOARD -- "systemctl restart systemd-journald" +run_cmd "sed -i 's/^#Storage=.*/Storage=persistent/' /etc/systemd/journald.conf" +run_cmd "systemctl restart systemd-journald" echo "=== Target board [$BOARD] configuration completed successfully ===" echo "You may now run Fuego tests on the prepared target system" diff --git a/target_setup.sh b/target_setup.sh deleted file mode 100755 index ca58bbc..0000000 --- a/target_setup.sh +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/bash -# ubinux_scripts/target_setup.sh -# Target configuration script for Fuego tests -# Usage: ./target_setup.sh - -# Verify argument count -if [ $# -ne 1 ]; then - echo "Usage: $0 " - echo "Example: ./target_setup.sh Myboard" - exit 1 -fi - -BOARD=$1 -echo "=== Starting configuration for target board [$BOARD] ===" - -# 1. Start DNSMasq service -echo "Starting DNSMasq service..." -ftc run-target -b $BOARD -- "systemctl start dnsmasq" - -# 2. Configure Postfix mail service -echo "Configuring Postfix aliases and links..." -ftc run-target -b $BOARD -- "touch /etc/aliases" -ftc run-target -b $BOARD -- "cd /usr/sbin && unlink sendmail 2>/dev/null; ln -s sendmail.postfix sendmail" -ftc run-target -b $BOARD -- "cd /usr/bin && unlink newaliases 2>/dev/null; ln -s newaliases.postfix newaliases" -ftc run-target -b $BOARD -- "newaliases" -ftc run-target -b $BOARD -- "postmap /etc/postfix/virtual" -ftc run-target -b $BOARD -- "/etc/init.d/populate-volatile.sh" -ftc run-target -b $BOARD -- "systemctl restart postfix" - -# 3. Load required kernel modules (using current kernel version) -echo "Loading kernel modules (using current kernel version)..." -ftc run-target -b $BOARD -- 'KVER=$(uname -r); - echo "Loading mac80211_hwsim.ko for kernel $KVER"; - insmod /lib/modules/$KVER/kernel/drivers/net/wireless/virtual/mac80211_hwsim.ko 2>/dev/null || true; - echo "Loading cn.ko for kernel $KVER"; - insmod /lib/modules/$KVER/kernel/drivers/connector/cn.ko 2>/dev/null || true' - -# 4. Configure mdadm mail notifications -echo "Updating mdadm configuration..." -ftc run-target -b $BOARD -- "sed -i 's/^#MAILADDR/MAILADDR/' /etc/mdadm.conf" - -# 5. Update ptpd network interface configuration -echo "Updating PTPd network interface..." -ftc run-target -b $BOARD -- "sed -i 's/eth0/eth1/g' /etc/default/ptpd" - -# 6. Enable FRR routing daemons -echo "Enabling FRR routing daemons..." -ftc run-target -b $BOARD -- "sed -i -e 's/^bgpd=no/bgpd=yes/' \ - -e 's/^ospfd=no/ospfd=yes/' \ - -e 's/^ospf6d=no/ospf6d=yes/' \ - -e 's/^ripd=no/ripd=yes/' \ - -e 's/^ripngd=no/ripngd=yes/' \ - /etc/frr/daemons" - -# 7. Configure journald persistent storage -echo "Configuring systemd-journald for persistent logs..." -ftc run-target -b $BOARD -- "sed -i 's/^#Storage=.*/Storage=persistent/' /etc/systemd/journald.conf" -ftc run-target -b $BOARD -- "systemctl restart systemd-journald" - -echo "=== Target board [$BOARD] configuration completed successfully ===" -echo "You may now run Fuego tests on the prepared target system" -exit 0 From patchwork Tue Oct 28 09:00:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Mingyu X-Patchwork-Id: 73153 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC41CCCD1BF for ; Tue, 28 Oct 2025 09:00:56 +0000 (UTC) Received: from esa8.hc1455-7.c3s2.iphmx.com (esa8.hc1455-7.c3s2.iphmx.com [139.138.61.253]) by mx.groups.io with SMTP id smtpd.web10.7035.1761642051198256819 for ; Tue, 28 Oct 2025 02:00:51 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@fujitsu.com header.s=fj2 header.b=MjiVvCzb; spf=pass (domain: fujitsu.com, ip: 139.138.61.253, mailfrom: wangmy@fujitsu.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj2; t=1761642051; x=1793178051; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8Nr2JHWEoYUTSrImU8rOv9vsbti0tuOzb60SxN5KOwM=; b=MjiVvCzb1h15Te5BHhKpfAkpGxzNBJnPVTu2UsR2t56c+Trvx3oO9zBm /fYNJRNuOCl0/s6SA++Vm+tn0D7epm8lH7udUM/fBRIpLc40T1ZlVRdVZ qhEg5HBxz2qVZis65OazKmIHjKEzsfjUOv6ObDbdvkqK/ueGwmKD+OnK4 XD4XtHXo8kvXh0hEX4431mM3Y/W4UD6MFyM1aY4U+fHDBDnzCUfsSZOi5 osoBNhPtnXYyX4ozykeeeIAIwJC4JeT3HVIXHsZUN54fJF6GHt/FW6qQz JGeA9hA8cB1JF0O0iLWLUeZw3ZO/oWITCkqjrvLZwR+W55T1YI/LQ7ONF Q==; X-CSE-ConnectionGUID: fbRmLDACQnKMjm+8MS+08Q== X-CSE-MsgGUID: kCzoinhKRuWNCVosLdyhPg== X-IronPort-AV: E=McAfee;i="6800,10657,11586"; a="205306057" X-IronPort-AV: E=Sophos;i="6.19,261,1754924400"; d="scan'208";a="205306057" Received: from unknown (HELO az2nlsmgr2.o.css.fujitsu.com) ([20.61.8.234]) by esa8.hc1455-7.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2025 18:00:49 +0900 Received: from az2nlsmgm2.o.css.fujitsu.com (unknown [10.150.26.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by az2nlsmgr2.o.css.fujitsu.com (Postfix) with ESMTPS id 69A7A2BBF for ; Tue, 28 Oct 2025 09:00:49 +0000 (UTC) Received: from az2uksmom4.o.css.fujitsu.com (az2uksmom4.o.css.fujitsu.com [10.151.22.204]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by az2nlsmgm2.o.css.fujitsu.com (Postfix) with ESMTPS id 16C021C0015E for ; Tue, 28 Oct 2025 09:00:49 +0000 (UTC) Received: from G08FNSTD200057.g08.fujitsu.local (unknown [10.193.161.187]) by az2uksmom4.o.css.fujitsu.com (Postfix) with ESMTP id 75AA6405513; Tue, 28 Oct 2025 09:00:46 +0000 (UTC) From: Wang Mingyu < wangmy@fujitsu.com> To: openembedded-devel@lists.openembedded.org Cc: Wang Mingyu Subject: [PATCH 2/5] add test object Date: Tue, 28 Oct 2025 17:00:33 +0800 Message-ID: <20251028090037.143-3-wangmy@fujitsu.com> X-Mailer: git-send-email 2.49.0.windows.1 In-Reply-To: <20251028090037.143-1-wangmy@fujitsu.com> References: <20251028090037.143-1-wangmy@fujitsu.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 28 Oct 2025 09:00:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/121069 From: Wang Mingyu Signed-off-by: Wang Mingyu --- fuego-core-ubinux/scripts/test_script/test_object | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fuego-core-ubinux/scripts/test_script/test_object b/fuego-core-ubinux/scripts/test_script/test_object index 7669c71..2ef2797 100644 --- a/fuego-core-ubinux/scripts/test_script/test_object +++ b/fuego-core-ubinux/scripts/test_script/test_object @@ -36,6 +36,7 @@ fixesproto fontconfig gawk geoip +gnutls hciattach hostapd initscripts @@ -56,6 +57,7 @@ logwatch ltrace lvm lynis +mailx mcelog m4 misc From patchwork Tue Oct 28 09:00:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Mingyu X-Patchwork-Id: 73157 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0068CCF9E0 for ; Tue, 28 Oct 2025 09:01:26 +0000 (UTC) Received: from esa1.hc1455-7.c3s2.iphmx.com (esa1.hc1455-7.c3s2.iphmx.com [207.54.90.47]) by mx.groups.io with SMTP id smtpd.web10.7042.1761642079068377577 for ; Tue, 28 Oct 2025 02:01:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@fujitsu.com header.s=fj2 header.b=OTSzBnIi; spf=pass (domain: fujitsu.com, ip: 207.54.90.47, mailfrom: wangmy@fujitsu.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj2; t=1761642079; x=1793178079; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=///bpnXyJw4Glysibcolk/A+gvwkhiHz8sCDm0KBVXc=; b=OTSzBnIiDT0XIMWqadv7Rt2Y9HNhh03Dly6DDNPff4+fNh/ZjkyN03jE pTwpTx5pOn1TdPxLX7PmcxXZkMMwhQ5rmxMGgZOV0ca1ZLE4tVna4aWBf pTQV9k2ABwuvNUXdrQgjwBKU1u338YrMujaxUNrn1GSAwffDPyrM7Tmw2 QzDN8T+NqLRgDDZmQzCKetvOJ/Ff908A8zKZkzyDeJDrMms8mhJ+7HYjX P17s9e2iNbmmEnEyO1GNHHamTbeXY6cnJFjsBgp+jJw/R1xBLAOMgZ9xh Ec2yFUqfrTSFdj+kebXH5Na+Rp3crECmECklSoQNnqCu1cwAk1176O4tk g==; X-CSE-ConnectionGUID: ltYA78KFQKaRNiDcSEr5GA== X-CSE-MsgGUID: CbBCrQrsRu2VpM6499viHA== X-IronPort-AV: E=McAfee;i="6800,10657,11586"; a="217391525" X-IronPort-AV: E=Sophos;i="6.19,261,1754924400"; d="scan'208";a="217391525" Received: from unknown (HELO az2nlsmgr2.o.css.fujitsu.com) ([51.138.80.169]) by esa1.hc1455-7.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2025 18:01:17 +0900 Received: from az2nlsmgm3.fujitsu.com (unknown [10.150.26.205]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by az2nlsmgr2.o.css.fujitsu.com (Postfix) with ESMTPS id 3F263140B for ; Tue, 28 Oct 2025 09:01:17 +0000 (UTC) Received: from az2uksmom4.o.css.fujitsu.com (az2uksmom4.o.css.fujitsu.com [10.151.22.204]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by az2nlsmgm3.fujitsu.com (Postfix) with ESMTPS id EAFE51800E84 for ; Tue, 28 Oct 2025 09:01:16 +0000 (UTC) Received: from G08FNSTD200057.g08.fujitsu.local (unknown [10.193.161.187]) by az2uksmom4.o.css.fujitsu.com (Postfix) with ESMTP id 5FF64405527; Tue, 28 Oct 2025 09:01:14 +0000 (UTC) From: Wang Mingyu < wangmy@fujitsu.com> To: openembedded-devel@lists.openembedded.org Cc: Wang Mingyu Subject: [PATCH 3/5] add local boards Date: Tue, 28 Oct 2025 17:00:34 +0800 Message-ID: <20251028090037.143-4-wangmy@fujitsu.com> X-Mailer: git-send-email 2.49.0.windows.1 In-Reply-To: <20251028090037.143-1-wangmy@fujitsu.com> References: <20251028090037.143-1-wangmy@fujitsu.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 28 Oct 2025 09:01:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/121070 From: Wang Mingyu Signed-off-by: Wang Mingyu --- .../scripts/boards/myboard_arm.board | 1 + .../scripts/boards/myboard_x86.board | 1 + 2 files changed, 2 insertions(+) rename myboard_arm.board => fuego-core-ubinux/scripts/boards/myboard_arm.board (98%) rename myboard_x86.board => fuego-core-ubinux/scripts/boards/myboard_x86.board (98%) diff --git a/myboard_arm.board b/fuego-core-ubinux/scripts/boards/myboard_arm.board similarity index 98% rename from myboard_arm.board rename to fuego-core-ubinux/scripts/boards/myboard_arm.board index 77eb5a5..08e54f0 100644 --- a/myboard_arm.board +++ b/fuego-core-ubinux/scripts/boards/myboard_arm.board @@ -5,6 +5,7 @@ IPADDR="192.168.246.59" SRV_IP="192.168.246.2" SRV_PORT="8090" LOGIN="root" +TOOLCHAIN="aarch64" BOARD_TESTDIR="/home/a" PASSWORD="goodluck" #SSH_KEY="path/to/id_rsa" diff --git a/myboard_x86.board b/fuego-core-ubinux/scripts/boards/myboard_x86.board similarity index 98% rename from myboard_x86.board rename to fuego-core-ubinux/scripts/boards/myboard_x86.board index fc5cca9..dcabc50 100644 --- a/myboard_x86.board +++ b/fuego-core-ubinux/scripts/boards/myboard_x86.board @@ -5,6 +5,7 @@ IPADDR="192.168.246.61" SRV_IP="192.168.246.2" SRV_PORT="8090" LOGIN="root" +TOOLCHAIN="x86_64" BOARD_TESTDIR="/home/a" PASSWORD="goodluck" #SSH_KEY="path/to/id_rsa" From patchwork Tue Oct 28 09:00:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Mingyu X-Patchwork-Id: 73158 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CFF4ECCD1BF for ; Tue, 28 Oct 2025 09:01:26 +0000 (UTC) Received: from esa2.hc1455-7.c3s2.iphmx.com (esa2.hc1455-7.c3s2.iphmx.com [207.54.90.48]) by mx.groups.io with SMTP id smtpd.web11.4014.1761642081310838548 for ; Tue, 28 Oct 2025 02:01:21 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@fujitsu.com header.s=fj2 header.b=IRf8afIb; spf=pass (domain: fujitsu.com, ip: 207.54.90.48, mailfrom: wangmy@fujitsu.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj2; t=1761642082; x=1793178082; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XVHBgoAPx2JF+TSI7cJpkdB78pme/1itwe5Zd6A5n7E=; b=IRf8afIboE6U9QZ5I9219zR3FD2lKGnpEqNk5tbSOUfycZ/3Fi/HPVvS b8KKKkiSAM4IqZ1zCAkQGjDoQuaz9WsiX5GfGoXA/9gk2bYZpvqYbTN2c WAaBUG3qsOc1zSNADl+rBUwPJQEHGdTCwEy21YqEHnofn7fXLeOJjZr6g pDLmRptU2VrsSRi6c1Zrlqwx/xWy1CFLAEqD4KoC5qC0nXblgm0UvuwC8 gASdqI7m1De1p0aZIFjOPblNLimQP0GAGWmq6LSY6J669E4bPQT9jh5US pC3k3KXJ+0mD02z/sYhLhKWsFP4ZLNFY/NzWSZYZ4g2rzxMmiBER88FEW g==; X-CSE-ConnectionGUID: HExDHJnQRlKtflw8wRwtUw== X-CSE-MsgGUID: 1vMWCv/tTE2SdE/GazLrow== X-IronPort-AV: E=McAfee;i="6800,10657,11586"; a="217315481" X-IronPort-AV: E=Sophos;i="6.19,261,1754924400"; d="scan'208";a="217315481" Received: from unknown (HELO az2nlsmgr3.o.css.fujitsu.com) ([51.138.80.169]) by esa2.hc1455-7.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2025 18:01:20 +0900 Received: from az2nlsmgm3.fujitsu.com (unknown [10.150.26.205]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by az2nlsmgr3.o.css.fujitsu.com (Postfix) with ESMTPS id C390E100034D for ; Tue, 28 Oct 2025 09:01:19 +0000 (UTC) Received: from az2uksmom4.o.css.fujitsu.com (az2uksmom4.o.css.fujitsu.com [10.151.22.204]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by az2nlsmgm3.fujitsu.com (Postfix) with ESMTPS id 7C9EE1800EA4 for ; Tue, 28 Oct 2025 09:01:19 +0000 (UTC) Received: from G08FNSTD200057.g08.fujitsu.local (unknown [10.193.161.187]) by az2uksmom4.o.css.fujitsu.com (Postfix) with ESMTP id DFB9E405522; Tue, 28 Oct 2025 09:01:16 +0000 (UTC) From: Wang Mingyu < wangmy@fujitsu.com> To: openembedded-devel@lists.openembedded.org Cc: Wang Mingyu Subject: [PATCH 4/5] modify install script for new version of fuego Date: Tue, 28 Oct 2025 17:00:35 +0800 Message-ID: <20251028090037.143-5-wangmy@fujitsu.com> X-Mailer: git-send-email 2.49.0.windows.1 In-Reply-To: <20251028090037.143-1-wangmy@fujitsu.com> References: <20251028090037.143-1-wangmy@fujitsu.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 28 Oct 2025 09:01:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/121071 From: Wang Mingyu Signed-off-by: Wang Mingyu --- install-ubinux.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/install-ubinux.sh b/install-ubinux.sh index 1790abe..28fb5dd 100755 --- a/install-ubinux.sh +++ b/install-ubinux.sh @@ -1,13 +1,13 @@ #!/bin/bash # -# install.sh [--help] [--priv] [--no-cache] [--nojenkins] [] [] +# install.sh [--help] [--priv] [--no-cache] [--nojenkins] [] [] [] # # $1 is the exit code after usage is shown usage() { exit_code="$1" cat <] [] +Usage: install.sh [--help] [--priv] [--no-cache] [--nojenkins] [] [] [] Create the docker image and container with the Fuego test distribution. If no is provided, the image will be named 'fuego'. @@ -34,7 +34,7 @@ fi priv=0 NOCACHE="" -dockerfile="Dockerfile" +nojenkins="" POSITIONAL=() while [[ $# -gt 0 ]] ; do @@ -48,7 +48,7 @@ while [[ $# -gt 0 ]] ; do shift ;; --nojenkins) - dockerfile="Dockerfile.nojenkins" + nojenkins="--nojenkins" shift ;; *) @@ -60,6 +60,7 @@ set -- "${POSITIONAL[@]}" # restore positional arguments image_name=${1:-fuego} jenkins_port=${2:-8090} +debian_version=${3:-stretch} container_name="${image_name}-container" @@ -103,16 +104,20 @@ remove_log_of_journal() { EOF cp fuego-core-ubinux/scripts/test_script/* fuego-rw/ -rf +cp fuego-core-ubinux/scripts/boards/* fuego-ro/boards/ -rf set -e -source fuego-host-scripts/docker-build-image.sh $NOCACHE ${image_name} ${jenkins_port} ${dockerfile} +source fuego-host-scripts/docker-build-image.sh $NOCACHE ${image_name} ${jenkins_port} ${debian_version} ${nojenkins} if [ "$priv" == "0" ]; then fuego-host-scripts/docker-create-container.sh ${image_name} ${container_name} else fuego-host-scripts/docker-create-usb-privileged-container.sh ${image_name} ${container_name} fi +[ "$nojenkins" == "--nojenkins" ] && val=0 || val=1 +sed -i "s/\(^jenkins_enabled=\).*/\1$val/" fuego-ro/conf/fuego.conf + # copy host's ttc.conf file (if present) into the fuego configuration directory sudo /bin/sh -c "if [ -f /etc/ttc.conf -a ! -f fuego-ro/conf/ttc.conf ] ; then cp /etc/ttc.conf fuego-ro/conf/ttc.conf ; fi" From patchwork Tue Oct 28 09:00:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Mingyu X-Patchwork-Id: 73156 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2C26CCF9EE for ; Tue, 28 Oct 2025 09:01:26 +0000 (UTC) Received: from esa5.hc1455-7.c3s2.iphmx.com (esa5.hc1455-7.c3s2.iphmx.com [68.232.139.130]) by mx.groups.io with SMTP id smtpd.web11.4015.1761642083355077965 for ; Tue, 28 Oct 2025 02:01:23 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@fujitsu.com header.s=fj2 header.b=tZIdjfpx; spf=pass (domain: fujitsu.com, ip: 68.232.139.130, mailfrom: wangmy@fujitsu.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj2; t=1761642084; x=1793178084; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=9bHgO64c5bwDknN9Vqlll2dSoM9k0YffRELohI+jOSE=; b=tZIdjfpxd+khb0h+pica/cKLvoXgoP9mGwIZdk4ZYfOoe/gpDw3hGqgf L0RWArTQdLAH1ZMt27IAGH9dle7IXLfB60juMOkXDO4MhpH8jL7WMF2YE E9VCi0q0KLRM+hftgRRUoOpq9hDFmrUrXHO+bylO83PlWpsp8izFHkT5d aTWVBah2Z3wmVo1ND71ee7GdMkENC7Z3OECWWT1o0OQQhqf10GzSC+Ua4 KYL/Z8mn+S6dh3BLpLNhmkm3ECfn64L9NNCXEHMLYb1S6jaBZHNxPxQcy nnYGtpzn0RQuSYSIIt3vIj6g67/+WZC3ttPv68MxbqipMOU3zcIXpYC2L A==; X-CSE-ConnectionGUID: h6m2qf6dRoCoZQ7talKW8A== X-CSE-MsgGUID: uiy+pM7uT5CLBIS7BJQiig== X-IronPort-AV: E=McAfee;i="6800,10657,11586"; a="216722809" X-IronPort-AV: E=Sophos;i="6.19,261,1754924400"; d="scan'208";a="216722809" Received: from unknown (HELO az2nlsmgr4.o.css.fujitsu.com) ([51.138.80.169]) by esa5.hc1455-7.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2025 18:01:22 +0900 Received: from az2nlsmgm1.o.css.fujitsu.com (unknown [10.150.26.203]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by az2nlsmgr4.o.css.fujitsu.com (Postfix) with ESMTPS id C6B2E407555 for ; Tue, 28 Oct 2025 09:01:21 +0000 (UTC) Received: from az2uksmom4.o.css.fujitsu.com (az2uksmom4.o.css.fujitsu.com [10.151.22.204]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by az2nlsmgm1.o.css.fujitsu.com (Postfix) with ESMTPS id 811BCC012BF for ; Tue, 28 Oct 2025 09:01:21 +0000 (UTC) Received: from G08FNSTD200057.g08.fujitsu.local (unknown [10.193.161.187]) by az2uksmom4.o.css.fujitsu.com (Postfix) with ESMTP id D82EE4041DC; Tue, 28 Oct 2025 09:01:18 +0000 (UTC) From: Wang Mingyu < wangmy@fujitsu.com> To: openembedded-devel@lists.openembedded.org Cc: Wang Mingyu Subject: [PATCH 5/5] modify url of debian Date: Tue, 28 Oct 2025 17:00:36 +0800 Message-ID: <20251028090037.143-6-wangmy@fujitsu.com> X-Mailer: git-send-email 2.49.0.windows.1 In-Reply-To: <20251028090037.143-1-wangmy@fujitsu.com> References: <20251028090037.143-1-wangmy@fujitsu.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 28 Oct 2025 09:01:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/121072 From: Wang Mingyu Signed-off-by: Wang Mingyu --- install-scripts/install-debian-common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-scripts/install-debian-common.sh b/install-scripts/install-debian-common.sh index bd98827..28665e1 100755 --- a/install-scripts/install-debian-common.sh +++ b/install-scripts/install-debian-common.sh @@ -7,8 +7,8 @@ set -e debian_version=${1:stretch} # netperf is in non-free -echo deb http://deb.debian.org/debian $debian_version main non-free > /etc/apt/sources.list -echo deb http://security.debian.org/debian-security $debian_version/updates main >> /etc/apt/sources.list +echo deb http://archive.debian.org/debian $debian_version main non-free > /etc/apt/sources.list +echo deb http://archive.debian.org/debian-security $debian_version/updates main >> /etc/apt/sources.list # Fuego python dependencies # - python-lxml: ftc, loggen