#57 jobs_from_update do not support more than one archi
Closed: Fixed 6 years ago Opened 6 years ago by michelmno.

in fedora_openqa/schedule.py the jobs_from_update function:

  • hardcoded 'x86_64' architecture info in flavdict and baseparams objects.
    while we should support 'x86_64', 'ppc64', 'ppc64le'
  • The currjobs creation do not handle the architecture.

I do not know python language to implement those changes.

OK, I'll take a look at it. The hardcoding of the arch was just a shortcut to simplify the initial implementation of the update testing stuff, I'll have to look at the code again but IIRC it shouldn't be hard to change.

Metadata Update from @adamwill:
- Issue assigned to adamwill

6 years ago

Thank you @adamwill for the PR.
I tried it locally, it seems to work as expected
BUT on the openQA side no job was scheduled.

I added debug traces to reports output parameters that also seem to be correct (1)
But in the journalctl for openQA there is a "no products found" (2) error I do not understand

Does it ring a bell ?

(1) 
$./fedora-openqa.py  --log-level debug update --flavor server --arch ppc64le FEDORA-2017-2b44217ccc  26 
DEBUG:fedfind.helpers:collections not cached, downloading...
DEBUG:fedora_openqa.schedule:jobs_from_update: DEBUGMNO check if existing jobs for update FEDORA-2017-2b44217ccc flavor server arch ppc64le
DEBUG:fedora_openqa.schedule:jobs_from_update: DEBUGMNO no existing jobs for update FEDORA-2017-2b44217ccc flavor server arch ppc64le
DEBUG:fedora_openqa.schedule:jobs_from_update: DEBUGMNO before openqa_request POST isos {'ADVISORY': 'FEDORA-2017-2b44217ccc', '_NOOBSOLETEBUILD': 1, 'VERSION': '26', 'BUILD': 'Update-FEDORA-2017-2b44217ccc', 'DISTRI': 'fedora', 'HDD_1': 'disk_f26_server_3_ppc64le.img', 'START_AFTER_TEST': '', 'ARCH': 'ppc64le', 'FLAVOR': 'updates-server'}
DEBUG:fedora_openqa.schedule:jobs_from_update: planned server jobs: []
Scheduled jobs: 
====
(2) 
Oct 19 03:00:36 fenix.test.toulouse-stg.fr.ibm.com openqa[26657]: [Thu Oct 19 03:00:36 2017] [130850:warn] no products found, retrying version wildcard
Oct 19 03:00:36 fenix.test.toulouse-stg.fr.ibm.com openqa[26657]: no products found for fedora-26-updates-server-ppc64le at /usr/share/perl5/vendor_perl/Mojolicious.pm line 138.

[CUT] ...
Does it ring a bell ?

Oups sorry for the noise, I found my error: I forgot to load the updated templates-updates file :)

For me this issue is solved by the previously refererenced PR.

Log in to comment on this ticket.

Metadata