Project

General

Profile

Actions

action #119185

closed

http://jenkins.qa.suse.de/job/gnome_next-openqa/ needs to be migrated to openqa-cli size:S

Added by okurz about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Feature requests
Target version:
Start date:
2022-10-21
Due date:
% Done:

0%

Estimated time:

Description

Motivation

http://jenkins.qa.suse.de/job/gnome_next-openqa/4089/console correctly states "WARNING: openqa-client is deprecated and planned to be removed in the future. Please use openqa-cli instead" so this is what we should do then :)

Acceptance criteria

  • AC1: Jenkins job uses openqa-cli

Suggestion

The code is just in the jenkins job configuration (http://jenkins.qa.suse.de/job/gnome_next-openqa/configure) and can be updated there. Or better put it into git, e.g. github.com/os-autoinst/scripts/ and reference from there

Actions #1

Updated by okurz about 2 years ago

  • Priority changed from Normal to Low
  • Target version set to Ready
Actions #2

Updated by mkittler about 2 years ago

  • Subject changed from http://jenkins.qa.suse.de/job/gnome_next-openqa/ needs to be migrated to openqa-cli to http://jenkins.qa.suse.de/job/gnome_next-openqa/ needs to be migrated to openqa-cli size:S
  • Description updated (diff)
  • Status changed from New to Workable
Actions #3

Updated by mkittler about 2 years ago

  • Status changed from Workable to In Progress
  • Assignee set to mkittler
Actions #4

Updated by mkittler about 2 years ago

  • Status changed from In Progress to Feedback

Changed the code to be:

/usr/share/openqa/script/openqa-cli api --host https://openqa.opensuse.org \
    -X POST isos DISTRI=opensuse VERSION=${version} \
    FLAVOR=Gnome-Live BUILD=${build} ARCH=${arch} ISO_URL=${download}${newest_iso} | tee job_post_response

JOB_ID=$(cat job_post_response | jq '.ids[0]')

I tested locally whether it works. Note that only the first job ID is considered when printing the URL but I guess that's ok.

Actions #5

Updated by mkittler about 2 years ago

  • Status changed from Feedback to Resolved

Looks like scheduling these tests still works (see e.g. https://openqa.opensuse.org/tests/2858724 and http://jenkins.qa.suse.de/job/gnome_next-openqa/4138/console). Btw, this test now also shows that download errors are now handled correctly again.

Actions

Also available in: Atom PDF