Actions
action #95006
closedjenkins job trigger-openQA_in_openQA-TW fails with "/opt/openqa-scripts/trigger-openqa_in_openqa: line 68: client_prefix: unbound variable" size:S
Description
Observation¶
http://jenkins.qa.suse.de/job/trigger-openQA_in_openQA-TW/8527/console shows
Building in workspace /var/lib/jenkins/workspace/trigger-openQA_in_openQA-TW
[trigger-openQA_in_openQA-TW] $ /bin/sh -xe /tmp/jenkins1168515955998188821.sh
+ trigger-openqa_in_openqa
+ set -euo pipefail
+ target_host=openqa.opensuse.org
+ target_host_proto=https
+ dry_run=0
+ tw_openqa_host=https://openqa.opensuse.org
+ tw_group_id=1
+ openqa_cli=openqa-cli
+ arch=x86_64
+ machine=64bit
++ dirname /opt/openqa-scripts/trigger-openqa_in_openqa
+ . /opt/openqa-scripts/_common
+ main
+ '[' 0 = 1 ']'
+ find_latest_published_tumbleweed_image
++ curl https://openqa.opensuse.org/group_overview/1.json
++ jq -r '[.build_results[] | select(.tag.description=="published") | select(.version=="Tumbleweed") | .build] | sort | reverse | join(" ")'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 8793 100 8793 0 0 6085 0 0:00:01 0:00:01 --:--:-- 6080
100 8793 100 8793 0 0 6085 0 0:00:01 0:00:01 --:--:-- 6080
+ latest_published_tw_builds='20210629 20210628 20210626 20210625 20210623 20210622 20210621 20210620'
+ [[ 20210629 20210628 20210626 20210625 20210623 20210622 20210621 20210620 = \n\u\l\l ]]
+ qcow=null
+ for latest_published_tw_build in $latest_published_tw_builds
++ openqa-cli api --host https://openqa.opensuse.org assets
++ jq -r '[.assets[] | select(.name | test("Tumbleweed-x86_64-20210629-Tumbleweed\\@64bit.qcow"))] | .[0] | .name'
+ qcow=opensuse-Tumbleweed-x86_64-20210629-Tumbleweed@64bit.qcow2
+ [[ opensuse-Tumbleweed-x86_64-20210629-Tumbleweed@64bit.qcow2 != \n\u\l\l ]]
+ break
+ [[ opensuse-Tumbleweed-x86_64-20210629-Tumbleweed@64bit.qcow2 = \n\u\l\l ]]
+ '[' https://openqa.opensuse.org '!=' https://openqa.opensuse.org ']'
++ echo jenkins-trigger-openQA_in_openQA-TW-8527
++ sed -e s/jenkins-trigger-openQA_in_openQA-/:/ -e s/-/./g
+ build=:TW.8527
+ trigger
+ '[' openqa.opensuse.org = openqa.opensuse.org ']'
+ ARGS=OPENQA_HOST=http://openqa.opensuse.org
/opt/openqa-scripts/trigger-openqa_in_openqa: line 68: client_prefix: unbound variable
+ tee job_post_response
Steps to reproduce¶
- TBC: Call https://github.com/os-autoinst/scripts/blob/master/trigger-openqa_in_openqa locally, without any parameters, same as is done in http://jenkins.qa.suse.de/job/trigger-openQA_in_openQA-TW/configure
Expected result¶
- jenkins job for trigger-openQA_in_openQA-TW passes
- Last good: http://jenkins.qa.suse.de/job/trigger-openQA_in_openQA-TW/lastStableBuild/ Jun 23, 2021 5:54:00 PM
Problem¶
Likely recent changes in scripts, likely https://github.com/os-autoinst/scripts/commit/c048950b2ae30bd909d8bff4666bd2e3a7cb36c7 introduced this
Impact¶
The above error blocks the openQA-in-openQA pipeline preventing further package updates to be automatically submitted to openSUSE:Factory
Actions