action #153145
closed
[ci] Failing openQA pull requests in generate-packed-assets step
Added by tinita about 1 year ago.
Updated about 1 year ago.
Category:
Regressions/Crashes
Description
Observation¶
https://app.circleci.com/pipelines/github/os-autoinst/openQA/12740/workflows/b44442f0-59df-415b-943a-fcb13f9c3b1b/jobs/118788
[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
- Description updated (diff)
- Status changed from New to In Progress
- Assignee set to tinita
- Priority changed from Urgent to High
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
.
- Due date set to 2024-01-20
Setting due date based on mean cycle time of SUSE QE Tools
- Status changed from In Progress to New
- Priority changed from High to Normal
- Status changed from New to In Progress
Now trying out with osc what commands I need to update the cache.txz
% 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
...
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
- Status changed from In Progress to Resolved
Also available in: Atom
PDF