action #17662
closed[tools]webUI does not load thumbnails for test details in time or at all
Added by zluo almost 8 years ago. Updated about 7 years ago.
0%
Description
Files
Updated by zluo almost 8 years ago
in Browser Console I got following:
GET
http://localhost/tests/1999/images/thumb/yast2_control_center-10.png [HTTP/1.1 404 Not Found 15ms]
GET
http://localhost/tests/1999/images/thumb/yast2_control_center-11.png [HTTP/1.1 404 Not Found 14ms]
GET
http://localhost/tests/1999/images/thumb/yast2_control_center-12.png [HTTP/1.1 404 Not Found 15ms]
GET
http://localhost/tests/1999/images/thumb/yast2_control_center-19.png [HTTP/1.1 404 Not Found 26ms]
Updated by michalnowak almost 8 years ago
- Related to action #17116: [tools]Needle editor displays black screen added
Updated by michalnowak almost 8 years ago
zluo wrote:
in Browser Console I got following:
GET
http://localhost/tests/1999/images/thumb/yast2_control_center-10.png [HTTP/1.1 404 Not Found 15ms]
I think the images are yet to be generated by optipng
. See if the optipng
process is running at that time and just wait for all of those processes to finish.
Updated by zluo almost 8 years ago
This issue is quite annoying and bad for needle editor. If someone can be assigned for this, that will help a lot.
Updated by mkittler almost 8 years ago
Possible solutions:
- Trigger reload via JavaScript in case of 404 error.
- Ensure everything is available before providing the links.
I guess the second option would be better. In any case it makes sense to handle the case of a 404 error so the layout isn't messed.
Updated by RBrownSUSE almost 8 years ago
- Project changed from openQA Tests (public) to openQA Project (public)
- Subject changed from openQA WebUI doesn't show thumbnails for test details correctly to [tools]openQA WebUI doesn't show thumbnails for test details correctly
Updated by mkittler over 7 years ago
Solution 1. is already implemented. It just doesn't seem to work in all cases, though. For sure the current implementation will not reload the picture if it is not available within 21 seconds so such a long delay might be the reason for this issue.
I guess it would be better to implement 2. then. The only this blocking me is that I currently don't know how the screenshot upload works under the hood.
Updated by okurz over 7 years ago
- Subject changed from [tools]openQA WebUI doesn't show thumbnails for test details correctly to [tools]webUI does not load thumbnails for test details in time or at all
- Description updated (diff)
- Category changed from Regressions/Crashes to 124
- Status changed from New to In Progress
- Priority changed from Normal to Low
Ensure everything is available before providing the links.
what do you mean with "everything" and "links" in this example?
I just checked by executing a long running test with many screenshots http://lord.arch/tests/6140
What I see is that my browser is quite busy when the page is open and the test is running. Especially when the job is in "uploading" cpu usage raises up. But eventually all thumbnails loaded correctly
Updated by EDiGiacinto over 7 years ago
- Related to action #20378: [tools]Too many 502 on openqa added
Updated by EDiGiacinto over 7 years ago
While working on #20378 from logs we found that is also caused by 406 returned to the apache proxy while workers try to upload snapshots, that becomes 502 to the user.
Updated by EDiGiacinto about 7 years ago
- Status changed from In Progress to Resolved
- Assignee set to EDiGiacinto
Closing this bug since it might be related to #20378 which is now solved. Please re-open if problem still persist - in case it is persisting and the bug had attachments (such logs, screens, ecc.) please provide new ones.