action #153145
closed[ci] Failing openQA pull requests in generate-packed-assets step
Description
Observation¶
[2024-01-05 09:10:41.04807] [901] [info] Caching "https://cdnjs.cloudflare.com/ajax/libs/jquery-ujs/1.2.1/rails.js" to "/home/squamata/project/assets/cache/cdnjs.cloudflare.com/ajax/libs/jquery-ujs/1.2.1/rails.js".
[2024-01-05 09:10:41.08304] [901] [warn] [AssetPack] Unable to download https://shepherdjs.dev/dist/js/shepherd.js: Not Found
Could not find input asset "https://shepherdjs.dev/dist/js/shepherd.js". at /usr/lib/perl5/vendor_perl/5.26.1/Mojolicious/Plugin/AssetPack.pm line 172.
[2024-01-05 09:10:42.43235] [903] [warn] [AssetPack] Unable to download https://shepherdjs.dev/dist/js/shepherd.js: Not Found
Could not find input asset "https://shepherdjs.dev/dist/js/shepherd.js". at /usr/lib/perl5/vendor_perl/5.26.1/Mojolicious/Plugin/AssetPack.pm line 172.
[2024-01-05 09:10:43.81372] [905] [warn] [AssetPack] Unable to download https://shepherdjs.dev/dist/js/shepherd.js: Not Found
Could not find input asset "https://shepherdjs.dev/dist/js/shepherd.js". at /usr/lib/perl5/vendor_perl/5.26.1/Mojolicious/Plugin/AssetPack.pm line 172.
Exited with code exit status 2
Updated by tinita 12 months ago
We can possibly download from https://github.com/shepherd-pro/shepherd/releases/download/v11.2.0/shepherd.js instead for now.
Updated by tinita 12 months ago · Edited
https://github.com/os-autoinst/openQA/pull/5418 Download shepherd.js from cdn.jsdelivr.net
Updated by tinita 12 months ago
I updated cache.txz in https://build.opensuse.org/package/show/devel:openQA/openQA with dist/rpm/update-cache.sh, however that script needs to be updated because of obsolete osc service lr
.
But the PR can be merged already in order to get successful builds in https://build.opensuse.org/package/show/devel:openQA/openQA again.
Updated by tinita 12 months ago
- Priority changed from Urgent to High
https://github.com/os-autoinst/openQA/pull/5418 was merged, reducing priority.
Updated by tinita 12 months ago
One note about update-cache.sh in this case:
It checks out openQA from OBS and unpacks it.
It then does cd openQA
and tools/generate-packed-assets
. But this will generate the assets from the existing urls in the published openQA version from OBS.
If you want to replace a URL, you have to run tools/generate-packed-assets
from your openQA git directory, so the script cannot be used.
Maybe we could always generate the cache.txz in CircleCI runs and then download the artifact and pass it as an argument to update-cache.sh
.
The second problem is, that the lr
command is obsolete, and it is not clear what files the script is supposed to update.
In my case, the openQA.changes
and _service
files were updated, but I only wanted to update the cache.txz
.
Updated by tinita 12 months ago
openqa-in-openqa also is affected: https://openqa.opensuse.org/tests/3849528#step/openqa_webui/34
THe error can be seen in https://openqa.opensuse.org/tests/3849528/logfile?filename=openqa_webui-openqa_nohup_out.txt
So I assume this will also be fixed in the next run.
Updated by openqa_review 12 months ago
- Due date set to 2024-01-20
Setting due date based on mean cycle time of SUSE QE Tools
Updated by okurz 12 months ago
- Priority changed from High to Normal
https://openqa.opensuse.org/group_overview/24 is all green again so at least the urgency is resolved hence reducing prio but leaving it to tinita if this can be resolved right away or if more is needed
Updated by tinita 12 months ago · Edited
% osc co devel:openQA/openQA
% cd devel:openQA/openQA
% osc service run tar
ERROR: no .obsinfo file found in directory: '/home/tina/osc/devel:openQA/openQA'
Aborting: service call failed: /usr/lib/obs/service/tar --outdir /home/tina/osc/devel:openQA/openQA/tmp6ong1rnv.tar.service
% osc service run
Cloning into '/home/tina/osc/devel:openQA/openQA/openQA'...
b5e992e3c4e4d2768d71cf632cdaa4ff30e57c35
Already up to date.
b5e992e3c4e4d2768d71cf632cdaa4ff30e57c35
% obs st
? _service:obs_scm:_servicedata
? _service:obs_scm:openQA-4.6.1704886775.b5e992e.obscpio
? _service:obs_scm:openQA-client-test.spec
? _service:obs_scm:openQA-devel-test.spec
? _service:obs_scm:openQA-test.spec
? _service:obs_scm:openQA-worker-test.spec
? _service:obs_scm:openQA.changes
? _service:obs_scm:openQA.obsinfo
? _service:obs_scm:openQA.spec
? _service:set_version:_service:obs_scm:openQA-client-test.spec
? _service:set_version:_service:obs_scm:openQA-devel-test.spec
? _service:set_version:_service:obs_scm:openQA-test.spec
? _service:set_version:_service:obs_scm:openQA-worker-test.spec
? _service:set_version:_service:obs_scm:openQA.spec
% osc service run tar
ERROR: no .obsinfo file found in directory: '/home/tina/osc/devel:openQA/openQA'
Aborting: service call failed: /usr/lib/obs/service/tar --outdir /home/tina/osc/devel:openQA/openQA/tmpvms9pklb.tar.service
% osc version
1.3.0
So run
is apparently not the right replacement for localrun
...
Updated by tinita 12 months ago
When I use localrun, I get:
% osc service localrun
WARNING: Command 'localrun' is obsolete
Already up to date.
b5e992e3c4e4d2768d71cf632cdaa4ff30e57c35
% osc st
M _servicedata
? openQA-4.6.1704886775.b5e992e.obscpio
? openQA-client-test.spec
? openQA-devel-test.spec
? openQA-test.spec
? openQA-worker-test.spec
M openQA.changes
? openQA.obsinfo
? openQA.spec
% osc di
Index: _servicedata
===================================================================
--- _servicedata (revision 9114)
+++ _servicedata (working copy)
@@ -1,4 +1,3 @@
-<?xml version="1.0"?>
<servicedata>
<service name="tar_scm">
<param name="url">git://github.com/os-autoinst/openQA.git</param>
@@ -6,6 +5,6 @@
</service>
<service name="tar_scm">
<param name="url">https://github.com/os-autoinst/openQA.git</param>
- <param name="changesrevision">4d4e5b7</param>
+ <param name="changesrevision">b5e992e3c4e4d2768d71cf632cdaa4ff30e57c35</param>
</service>
-</servicedata>
+</servicedata>
\ No newline at end of fileIndex: openQA.changes
===================================================================
--- openQA.changes (revision 9114)
+++ openQA.changes (working copy)
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Wed Jan 10 17:42:44 UTC 2024 - okurz@suse.com
+
+- Update to version 4.6.1704886775.b5e992e:
+ * Limit number of auto_clone restarts
+
-------------------------------------------------------------------
Sun Jan 07 05:11:39 UTC 2024 - okurz@suse.com
But is that right? I don't want to change the openQA version. Just the cache.txz
Updated by tinita 12 months ago
- Copied to action #153427: Improve updating cached assets size:M added
Updated by tinita 12 months ago
- Status changed from In Progress to Resolved
https://github.com/os-autoinst/openQA/pull/5421 merged, so resolving