Project

General

Profile

Actions

action #122440

closed

[sporadic] openQA Assetpack download can fail on initial download size:M

Added by okurz over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Feature requests
Target version:
Start date:
2022-12-25
Due date:
2023-02-24
% Done:

0%

Estimated time:

Description

Observation

https://openqa.opensuse.org/tests/2978761/logfile?filename=openqa_webui-openqa_nohup_out.txt shows

[info] Caching "https://cdn.datatables.net/1.10.16/css/dataTables.bootstrap4.css" to "/root/openQA/script/../assets/cache/cdn.datatables.net/1.10.16/css/dataTables.bootstrap4.css".
[info] Caching "https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css" to "/root/openQA/script/../assets/cache/cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css".
[warn] [AssetPack] Unable to download https://raw.githubusercontent.com/bootstrapthemesco/bootstrap-4-multi-dropdown-navbar/beta2.0/css/bootstrap-4-navbar.css: Connect timeout
Could not find input asset "https://raw.githubusercontent.com/bootstrapthemesco/bootstrap-4-multi-dropdown-navbar/beta2.0/css/bootstrap-4-navbar.css". at /usr/lib/perl5/vendor_perl/5.36.0/Mojolicious/Plugin/AssetPack.pm line 172.
openQA is licensed GPL-2.0 - Version 4.6.1671708203.c9f8b10

The openqa-investigate retry jobs passed so sporadic download issue

Acceptance criteria

  • AC1: the openQA asset handling ensures that temporary network issues "Connect timeout" are handled with retrying

Suggestions

  • We can probably do some retrying on download issues
  • Check the code in the AssetPack Mojolicious plugin. As necessary propose upstream solution, as alternative handle with some hard-core log parsing in downstream and just retry :)

Related issues 2 (0 open2 closed)

Related to openQA Tests - action #123496: [tools][openQA-in-openQA][sporadic] test fails in worker because of GNOME authentication dialog size:MResolvedosukup2023-01-232023-03-17

Actions
Related to openQA Project - action #124739: o3 deployment failed due to "run(/usr/bin/ruby) failed: Permission denied at /usr/lib/perl5/vendor_perl/5.26.1/Mojolicious/Plugin/AssetPack/Pipe.pm line 27" and then "run(/bin/sass) failed: No such file or directory" size:MResolvedtinita2023-02-17

Actions
Actions #1

Updated by okurz over 1 year ago

  • Subject changed from openQA Assetpack download can fail on initial download to openQA Assetpack download can fail on initial download size:M
  • Description updated (diff)
  • Status changed from New to Workable
Actions #2

Updated by okurz over 1 year ago

  • Tags changed from reactive work to reactive work, sporadic, asset pack, download, openqa-in-openqa
  • Subject changed from openQA Assetpack download can fail on initial download size:M to [sporadic] openQA Assetpack download can fail on initial download size:M
  • Priority changed from Normal to High

Happened again, see https://openqa.opensuse.org/tests/3027981/logfile?filename=openqa_webui-openqa_nohup_out.txt . So sporadic but not just happened once.

Actions #3

Updated by mkittler over 1 year ago

These downloads are only done when a developer sets up openQA from a Git checkout. Normally I just retry on my own and don't find it very tedious as it happens only very rarely and its something one doesn't need to do very often. I suppose this is considered of high prio only because openQA tests fail but normally I'd consider this not very important.

Likely it makes most sense to add this feature on AssetPack level so other projects can benefit from it as well. Note that a retry could also be implemented in the openQA test itself but this would likely be slower.

I remember from retrying manually (when it happened locally) that one sometimes needed to get rid of some asset caching related files first. I'm not sure exactly about this anymore but one maybe need to keep it in mind.

Actions #4

Updated by kraih over 1 year ago

mkittler wrote:

Likely it makes most sense to add this feature on AssetPack level so other projects can benefit from it as well. Note that a retry could also be implemented in the openQA test itself but this would likely be slower.

Agreed. We should just add that upstream.

Actions #5

Updated by kraih over 1 year ago

  • Assignee set to kraih
Actions #6

Updated by kraih over 1 year ago

  • Status changed from Workable to In Progress
Actions #7

Updated by openqa_review over 1 year ago

  • Due date set to 2023-02-07

Setting due date based on mean cycle time of SUSE QE Tools

Actions #8

Updated by okurz over 1 year ago

  • Related to action #123496: [tools][openQA-in-openQA][sporadic] test fails in worker because of GNOME authentication dialog size:M added
Actions #10

Updated by kraih about 1 year ago

  • Status changed from In Progress to Feedback

Merged upstream, now we wait for it to reach factory.

Actions #11

Updated by livdywan about 1 year ago

  • Due date changed from 2023-02-07 to 2023-02-17

kraih wrote:

Merged upstream, now we wait for it to reach factory.

I guess we're still waiting on openSUSE:Factory/perl-Mojolicious-Plugin-AssetPack here.

Actions #12

Updated by kraih about 1 year ago

Looks like Tumbleweed is still shipping with perl-Mojolicious-Plugin-AssetPack 2.13. So we've got to wait a little longer for 2.14.

Actions #13

Updated by kraih about 1 year ago

  • Status changed from Feedback to In Progress
Actions #14

Updated by okurz about 1 year ago

  • Related to action #124739: o3 deployment failed due to "run(/usr/bin/ruby) failed: Permission denied at /usr/lib/perl5/vendor_perl/5.26.1/Mojolicious/Plugin/AssetPack/Pipe.pm line 27" and then "run(/bin/sass) failed: No such file or directory" size:M added
Actions #15

Updated by tinita about 1 year ago

  • Due date changed from 2023-02-17 to 2023-02-24

We had to revert https://github.com/os-autoinst/openQA/pull/5008 see #124739
It will be added again as part of https://github.com/os-autoinst/openQA/pull/5014

Bumping the due date

Actions #16

Updated by tinita about 1 year ago

  • Status changed from In Progress to Feedback
Actions #18

Updated by tinita about 1 year ago

openQA 4.6.1676888404.afe11c5-lp154.5596.1 deployed on o3 and everything seems to be ok

Actions #19

Updated by kraih about 1 year ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF