Project

General

Profile

Actions

action #65576

closed

openQA backend died when check a needle that only has one area and its type is ocr

Added by Xiaojing_liu over 4 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Regressions/Crashes
Target version:
-
Start date:
2020-04-13
Due date:
% Done:

0%

Estimated time:

Description

Users create a needle that only has one item in area and its type is ocr.

links-connect-suse-webpage-20200411.json                                                                                                                     
 {
   "area": [
     {
       "xpos": 20,
       "ypos": 415,
       "width": 155,
       "height": 16,
       "type": "ocr"
     }
   ],
   "properties": [],
   "tags": [
     "links-connect-suse-webpage"
   ]
 }

Then openQA backend died when load this needle, the error message is

[2020-04-13T04:14:05.713 CEST] [debug] <<< testapi::assert_screen(mustmatch="links-connect-suse-webpage", timeout=30)
[2020-04-13T04:14:05.746 CEST] [debug] Backend process died, backend errors are reported below in the following lines:
Illegal division by zero at /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/tinycv.pm line 49.

Failed job: https://openqa.nue.suse.com/tests/4114680/file/autoinst-log.txt

workaround: Users already created a ticket to fix this needle file. here is the poo: https://progress.opensuse.org/issues/65573

Questions:
1. if the needle json file is valid?
2. if there is no type: match area in a needle json file, the backend should not died with this error message.


Related issues 1 (0 open1 closed)

Copied to openQA Project (public) - action #65579: openQA backend died when check a needle that only has one area and its type is ocr ResolvedXiaojing_liu2020-04-13

Actions
Actions #1

Updated by Xiaojing_liu over 4 years ago

  • Copied to action #65579: openQA backend died when check a needle that only has one area and its type is ocr added
Actions #2

Updated by Xiaojing_liu over 4 years ago

  • Status changed from New to Rejected

Duplicate

Actions

Also available in: Atom PDF