action #57782
closed
retrigger of job with failed gru download task ends up incomplete with 404 on asset, does not retry download
Added by okurz about 5 years ago.
Updated over 4 years ago.
Category:
Feature requests
- Related to action #57776: "log_fatal" should mention calling method, not the log message handler itself added
- Priority changed from Normal to Low
- Target version set to Ready
I wouldn't restart the download from retriggering jobs. Everyone who knows the retriggering jobs code will agree :)
But the download job details could be exposed better - including a way to restart it. For now this is low prio though
- Assignee set to mkittler
- Target version changed from Ready to Current Sprint
- Status changed from New to In Progress
PR for improving the error message and the overall asset download code: https://github.com/os-autoinst/openQA/pull/2581
For re-triggering we needed to the way the error is displayed and add a route to trigger that single download. But for the user it would be better to enqueue the download again when restarting the job. I'm wondering whether that would be really so terrible from the code perspective.
FWIW I do find it annoying when I want to clone an old job for which the assets have been garbage collected and it fails because a downloadable asset isn't there; it'd be nice to retry the asset download if the asset is not present. But IIRC it'd be quite a pain to implement...
- Related to action #46742: test incompletes trying to revert to qemu snapshot auto_review:"Could not open backing file: Could not open .*.qcow.*No such file or directory", likely premature deletion of files from cache added
recent story from #opensuse-factory
<DimStar> https://openqa.opensuse.org/tests/1146615 - download error 521? what is that supposed to mean
<fvogt> Apparently with the new yaml job groups the medium types configuration is not used anymore?
<fvogt> aarch32-HD24G it is then
<guillaume_g> fvogt: no idea. okurz ^ ?
<guillaume_g> fvogt: anyway, aarch32-HD24G is fine and consistent with JeOS aarch64
<okurz> fvogt, guillaume_g: 521 on top level, one line above you should see 404 so I assume the file is simply not there
<okurz> kraih: we also retry on 404 now? https://openqa.opensuse.org/tests/1146615
<fvogt> guillaume_g: Something broke with that machine: https://openqa.opensuse.org/tests/1146627#settings
<DimStar> okurz: ah, I see. so o3 actually failed to download the medium from download.o.o - but still registered the jobs. From the logs:
<DimStar> openqa_gru:[2020-01-17T07:43:02.0085 UTC] [fatal] [pid:6454] asset download: download of http://download.opensuse.org/repositories/GNOME:/Medias/images/iso/GNOME_Next.x86_64-3.34.3-Build13.98.iso to /var/lib/openqa/share/factory/iso/GNOME_Next.x86_64-3.34.3-Build13.98.iso failed: connection error: Inactivity timeout
<kraih> okurz: looks like it yes, all 4xx codes
- Related to action #62159: Asset GRU download not done by web UI host if job scheduled by `isos post`, fails to download and then cloned (was: … using the Web UI) added
- Priority changed from Low to Normal
- Status changed from In Progress to Resolved
- Target version deleted (
Current Sprint)
Also available in: Atom
PDF