Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package os-autoinst for openSUSE:Factory checked in at 2026-10-16 20:11:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/os-autoinst (Old) and /work/SRC/openSUSE:Factory/.os-autoinst.new.3698736 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "os-autoinst" Fri Oct 16 20:11:32 2026 rev:631 rq:1385205 version:5.1792077508.50bc19e Changes: -------- --- /work/SRC/openSUSE:Factory/os-autoinst/os-autoinst.changes 2026-10-14 18:36:34.818552836 +0200 +++ /work/SRC/openSUSE:Factory/.os-autoinst.new.3698736/os-autoinst.changes 2026-10-16 20:14:47.615039001 +0200 @@ -1,0 +2,12 @@ +Thu Oct 15 15:18:41 UTC 2026 - [email protected] + +- Update to version 5.1792077508.50bc19e: + * feat(setup-mm): Improve CLI and default behavior + +------------------------------------------------------------------- +Wed Oct 14 08:56:42 UTC 2026 - [email protected] + +- Update to version 5.1791893714.eb5a713: + * build(deps): bump actions/upload-artifact (#3123) + +------------------------------------------------------------------- Old: ---- os-autoinst-5.1791813843.3b85101.obscpio New: ---- os-autoinst-5.1792077508.50bc19e.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ os-autoinst-devel-test.spec ++++++ --- /var/tmp/diff_new_pack.lLeUlv/_old 2026-10-16 20:14:48.877092051 +0200 +++ /var/tmp/diff_new_pack.lLeUlv/_new 2026-10-16 20:14:48.879092135 +0200 @@ -18,7 +18,7 @@ %define short_name os-autoinst-devel Name: %{short_name}-test -Version: 5.1791813843.3b85101 +Version: 5.1792077508.50bc19e Release: 0 Summary: Test package for %{short_name} License: GPL-2.0-or-later ++++++ os-autoinst-openvswitch-test.spec ++++++ --- /var/tmp/diff_new_pack.lLeUlv/_old 2026-10-16 20:14:48.924094026 +0200 +++ /var/tmp/diff_new_pack.lLeUlv/_new 2026-10-16 20:14:48.928094194 +0200 @@ -19,7 +19,7 @@ %define name_ext -test %define short_name os-autoinst-openvswitch Name: %{short_name}%{?name_ext} -Version: 5.1791813843.3b85101 +Version: 5.1792077508.50bc19e Release: 0 Summary: test package for %{short_name} License: GPL-2.0-or-later ++++++ os-autoinst-test.spec ++++++ --- /var/tmp/diff_new_pack.lLeUlv/_old 2026-10-16 20:14:48.964095708 +0200 +++ /var/tmp/diff_new_pack.lLeUlv/_new 2026-10-16 20:14:48.966095792 +0200 @@ -19,7 +19,7 @@ %define name_ext -test %define short_name os-autoinst Name: %{short_name}%{?name_ext} -Version: 5.1791813843.3b85101 +Version: 5.1792077508.50bc19e Release: 0 Summary: test package for os-autoinst License: GPL-2.0-or-later ++++++ os-autoinst.spec ++++++ --- /var/tmp/diff_new_pack.lLeUlv/_old 2026-10-16 20:14:48.996097053 +0200 +++ /var/tmp/diff_new_pack.lLeUlv/_new 2026-10-16 20:14:48.998097137 +0200 @@ -17,7 +17,7 @@ Name: os-autoinst -Version: 5.1791813843.3b85101 +Version: 5.1792077508.50bc19e Release: 0 Summary: OS-level test automation License: GPL-2.0-or-later ++++++ os-autoinst-5.1791813843.3b85101.obscpio -> os-autoinst-5.1792077508.50bc19e.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-autoinst-5.1791813843.3b85101/.github/workflows/ci.yml new/os-autoinst-5.1792077508.50bc19e/.github/workflows/ci.yml --- old/os-autoinst-5.1791813843.3b85101/.github/workflows/ci.yml 2026-10-12 16:04:03.000000000 +0200 +++ new/os-autoinst-5.1792077508.50bc19e/.github/workflows/ci.yml 2026-10-15 17:18:28.000000000 +0200 @@ -24,7 +24,7 @@ verbose: true - run: | tar cvf coverage.tar build/cover_db - - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 + - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 with: name: coverage path: coverage.tar diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-autoinst-5.1791813843.3b85101/.github/workflows/openqa_fullstack.yml new/os-autoinst-5.1792077508.50bc19e/.github/workflows/openqa_fullstack.yml --- old/os-autoinst-5.1791813843.3b85101/.github/workflows/openqa_fullstack.yml 2026-10-12 16:04:03.000000000 +0200 +++ new/os-autoinst-5.1792077508.50bc19e/.github/workflows/openqa_fullstack.yml 2026-10-15 17:18:28.000000000 +0200 @@ -40,7 +40,7 @@ sudo -u "$TEST_USER" make -C ../openQA test-fullstack OPENQA_FULLSTACK_TEMP_DIR="$OPENQA_FULLSTACK_TEMP_DIR" env: STABILITY_TEST: ${{ github.event.inputs.stability_test }} - - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 + - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 if: ${{ always() }} with: name: Test results diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-autoinst-5.1791813843.3b85101/script/os-autoinst-setup-multi-machine new/os-autoinst-5.1792077508.50bc19e/script/os-autoinst-setup-multi-machine --- old/os-autoinst-5.1791813843.3b85101/script/os-autoinst-setup-multi-machine 2026-10-12 16:04:03.000000000 +0200 +++ new/os-autoinst-5.1792077508.50bc19e/script/os-autoinst-setup-multi-machine 2026-10-15 17:18:28.000000000 +0200 @@ -1,6 +1,6 @@ #!/bin/bash -e set -euo pipefail -instances="${instances:-20}" +instances=${instances:-} nicoffset=${OS_AUTOINST_NICOFFSET:-64} bridge="${bridge:-"br1"}" ethernet="${ethernet:-""}" @@ -15,18 +15,53 @@ usage() { cat << EOF -Usage: os-autoinst-setup-multi-machine +Usage: os-autoinst-setup-multi-machine [OPTIONS] Options: - -h, --help display this help + -i, --instances NUM number of worker instances to configure (auto-detected if omitted) + -o, --nic-offset NUM offset for NIC devices (default: 64) + -b, --bridge NAME bridge name (default: br1) + -e, --ethernet DEV uplink ethernet interface (auto-detected if omitted) + -z, --zone ZONE firewall zone (default: trusted) + -f, --firewall FW firewall backend: nftables or firewalld (default: nftables) + -m, --mtu NUM MTU of the bridge interface (default: 1460) + -h, --help display this help EOF exit "$1" } -opts=$(getopt -o h -l help -n "$0" -- "$@") || usage 1 +opts=$(getopt -o hi:o:b:e:z:f:m: -l help,instances:,nic-offset:,bridge:,ethernet:,zone:,firewall:,mtu: -n "$0" -- "$@") || usage 1 eval set -- "$opts" while true; do case "$1" in + -i | --instances) + instances="$2" + shift 2 + ;; + -o | --nic-offset) + nicoffset="$2" + shift 2 + ;; + -b | --bridge) + bridge="$2" + shift 2 + ;; + -e | --ethernet) + ethernet="$2" + shift 2 + ;; + -z | --zone) + zone="$2" + shift 2 + ;; + -f | --firewall) + firewall="$2" + shift 2 + ;; + -m | --mtu) + mtu="$2" + shift 2 + ;; -h | --help) usage 0 ;; --) shift @@ -36,6 +71,14 @@ esac done +detect_instances() { + instances=$(systemctl 2> /dev/null | grep --perl-regexp --count 'openqa-worker.*@\d+\.service' || true) + if [[ -z "$instances" || "$instances" -lt 1 ]]; then + echo 'Unable to detect the number of instances; specify the number of instances manually via "--instances".' 1>&2 + exit 1 + fi +} + ensure_ip_forwarding() { grep -q 1 /proc/sys/net/ipv4/ip_forward || echo -e 'net.ipv4.ip_forward = 1\nnet.ipv6.conf.all.forwarding = 1' > /etc/sysctl.d/ip_forward.conf } @@ -243,6 +286,16 @@ } main() { + if [[ -z "${instances}" ]]; then + detect_instances + echo "Auto-detected $instances worker instances" + else + echo "Assuming $instances worker instances as specified" + fi + if [[ "$instances" -ge "$nicoffset" ]]; then + echo "The NIC offset must be greater than the number of instances." + exit 2 + fi network=$(basename -s.service "$(readlink /etc/systemd/system/network.service)") if [[ -z "${network}" ]]; then systemctl is-enabled NetworkManager.service && network=NetworkManager ++++++ os-autoinst.obsinfo ++++++ --- /var/tmp/diff_new_pack.lLeUlv/_old 2026-10-16 20:14:50.836174400 +0200 +++ /var/tmp/diff_new_pack.lLeUlv/_new 2026-10-16 20:14:50.840174568 +0200 @@ -1,5 +1,5 @@ name: os-autoinst -version: 5.1791813843.3b85101 -mtime: 1791813843 -commit: 3b85101553bc9ee20b29916a47d5ce879de2f2f1 +version: 5.1792077508.50bc19e +mtime: 1792077508 +commit: 50bc19e891aec51e4f61cec73e78abb6b308ce4b
