Project

General

Profile

Actions

action #19436

closed

[tools]cache download suddently interrupts within the output of a log message

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

Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
-
Start date:
2017-05-30
Due date:
% Done:

0%

Estimated time:

Description

observation

job https://openqa.suse.de/tests/967456/file/autoinst-log.txt is incomplete. Message:

Downloading SLES-12-gnome-x86_64-gpt.img from http://openqa.suse.de/tests/967456/asset/hdd/SLES-12-gnome-x86_64-gpt.img
CACHE: Size of Mojo::Asset::Memory=HASH(0x1002b187028) differs, Expected: 245760 / Downloaded: 
+++ worker notes +++

I checked the hard disk space on qa-power8-5-kvm.qa and it's not full.

Checked journalctl -u openqa-worker@5 for the job related output

May 30 09:54:35 QA-Power8-5-kvm worker[118633]: [INFO] got job 967456: 00967456-sle-12-SP3-Server-DVD-ppc64le-Build0405-gpt@ppc64le
May 30 09:54:35 QA-Power8-5-kvm worker[118633]: [DEBUG] CACHE: Health: Real size: 52576958976, Configured limit: 53687091200
May 30 09:54:35 QA-Power8-5-kvm worker[118633]: [INFO] OpenQA::Worker::Cache: Initialized with http://openqa.suse.de at /var/lib/openqa/cache, current size is
May 30 09:54:35 QA-Power8-5-kvm worker[118633]: [DEBUG] Found HDD_1, caching SLES-12-gnome-x86_64-gpt.img
May 30 09:54:35 QA-Power8-5-kvm worker[118633]: [DEBUG] CACHE: Aquiring lock for /var/lib/openqa/cache/SLES-12-gnome-x86_64-gpt.img in the database
May 30 09:54:54 QA-Power8-5-kvm worker[118633]: Use of uninitialized value $size in numeric eq (==) at /usr/share/openqa/script/../lib/OpenQA/Worker/Cache.pm 
May 30 09:54:54 QA-Power8-5-kvm worker[118633]: Use of uninitialized value $size in concatenation (.) or string at /usr/share/openqa/script/../lib/OpenQA/Work
May 30 09:54:54 QA-Power8-5-kvm worker[118633]: [WARN] job is missing files, releasing job
May 30 09:54:56 QA-Power8-5-kvm worker[118633]: [INFO] cleaning up 00967456-sle-12-SP3-Server-DVD-ppc64le-Build0405-gpt@ppc64le

problem

first time seen. Remind me: Why on earth is "use of uninitialized value in numeric eq" only a warning again in perl?

Problem is already in the lines above that when it says "current size is" and the nothing

suggestion

  • Make checking for variables defined stricter
  • Find out what the real error is

Related issues 1 (0 open1 closed)

Copied to openQA Project - action #19526: [tools] Tests incomplete if asset download fails even the first timeResolvedszarate2017-05-30

Actions
Actions

Also available in: Atom PDF