Project

General

Profile

Actions

action #95006

closed

jenkins job trigger-openQA_in_openQA-TW fails with "/opt/openqa-scripts/trigger-openqa_in_openqa: line 68: client_prefix: unbound variable" size:S

Added by okurz over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2021-07-01
Due date:
% Done:

0%

Estimated time:

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

Expected result

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 #1

Updated by okurz over 3 years ago

  • Subject changed from jenkins job trigger-openQA_in_openQA-TW fails with "/opt/openqa-scripts/trigger-openqa_in_openqa: line 68: client_prefix: unbound variable" to jenkins job trigger-openQA_in_openQA-TW fails with "/opt/openqa-scripts/trigger-openqa_in_openqa: line 68: client_prefix: unbound variable" size:S
  • Description updated (diff)
  • Status changed from New to Workable
Actions #2

Updated by mkittler over 3 years ago

  • Assignee set to mkittler
Actions #3

Updated by mkittler over 3 years ago

  • Status changed from Workable to Feedback
Actions #5

Updated by mkittler over 3 years ago

  • Status changed from Feedback to Resolved

The downstream job found failing tests, I guess it worked.

Actions

Also available in: Atom PDF