Project

General

Profile

Actions

action #20786

closed

[tools] image upload problems are not reported properly

Added by okurz almost 7 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
-
Start date:
2017-07-26
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)

Description

observation

See for example #16430#note-29:

https://openqa.suse.de/tests/1076847/file/autoinst-log.txt and https://openqa.suse.de/tests/1077066 and https://openqa.suse.de/tests/1077199 fail: Reproducible problem, different workers.

coolo wrote:

It's a different problem though. The upload is done, but the rename fails.

coolo@openqa:/var/lib/openqa/factory/hdd> ls -l SLES-12-SP3-aarch64-0472-minimal_with_sdk0262_installed.qcow2*
-rw-r--r-- 1 geekotest nogroup 916783104  8. Jul 17:16 SLES-12-SP3-aarch64-0472-minimal_with_sdk0262_installed.qcow2
-rw-r--r-- 1 geekotest nogroup 921108480 26. Jul 09:59 SLES-12-SP3-aarch64-0472-minimal_with_sdk0262_installed.qcow2.TEMP-0YQHK5WS
-rw-r--r-- 1 geekotest nogroup 921567232 26. Jul 11:11 SLES-12-SP3-aarch64-0472-minimal_with_sdk0262_installed.qcow2.TEMP-tKieeJTx
-rw-r--r-- 1 geekotest nogroup 914882560 26. Jul 11:20 SLES-12-SP3-aarch64-0472-minimal_with_sdk0262_installed.qcow2.TEMP-tzKPM_MJ

[Wed Jul 26 11:20:31 2017] [4779:debug] Routing to controller "OpenQA::WebAPI::Controller::API::V1::Job" and action "create_artefact"
[Wed Jul 26 11:20:31 2017] [4779:debug] moved to /var/lib/openqa/share/factory/hdd/SLES-12-SP3-aarch64-0472-minimal_with_sdk0262_installed.qcow2.TEMP-tzKPM_MJ
[Wed Jul 26 11:20:31 2017] [4779:error] DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::Pg::st execute failed: ERROR:  duplicate key value violates unique constraint "jobs_
assets_job_id_asset_id"
DETAIL:  Key (job_id, asset_id)=(1077199, 58485) already exists. [for Statement "INSERT INTO jobs_assets ( asset_id, created_by, job_id, t_created, t_updated) VALUES ( ?, ?, ?, ?, ? )" wi
th ParamValues: 1='58485', 2='1', 3='1077199', 4='2017-07-26 09:20:31', 5='2017-07-26 09:20:31'] at /usr/share/openqa/script/../lib/OpenQA/Schema/Result/Jobs.pm line 1084

[Wed Jul 26 11:20:31 2017] [4779:debug] 500 Internal Server Error (0.026118s, 38.288/s)

The underlying problem is still that the upload failures aren't reported properly

problem

upload problems are (still) not properly reported pointing to real problems so it's hard for the readers of the log files to identify the specific issues.


Subtasks 1 (0 open1 closed)

action #20788: upload fails on job with HDD_1 equals PUBLISH_HDD_1Resolvedokurz2017-07-26

Actions

Related issues 1 (0 open1 closed)

Copied from openQA Project - action #16430: [tools] qcow2 image upload fails with no apparent reason and job ends up incompleteResolvedcoolo2017-02-02

Actions
Actions #1

Updated by okurz almost 7 years ago

  • Copied from action #16430: [tools] qcow2 image upload fails with no apparent reason and job ends up incomplete added
Actions #2

Updated by coolo over 6 years ago

  • Status changed from New to Closed

I forgot the details of this, so closing this as old story :(

Actions

Also available in: Atom PDF