Bug 9392 - When running testimage test_syslog_startup_config failed getting test log string not found output grep: /var/log/test error message
Summary: When running testimage test_syslog_startup_config failed getting test log str...
Status: RESOLVED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 2.1
Hardware: x86 x86
: Undecided normal
Target Milestone: ---
Assignee: Alejandro Hernandez
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-04-05 05:20 UTC by Francisco Pedraza
Modified: 2017-12-06 16:52 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Found by QA test)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
log_dotestimage (47.25 KB, application/octet-stream)
2016-04-05 05:24 UTC, Francisco Pedraza
no flags Details
logs_retest_failed_ (19.14 KB, application/octet-stream)
2016-09-20 23:17 UTC, Francisco Pedraza
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Pedraza 2016-04-05 05:20:29 UTC
STATUS: FAILED
BUILD: 2.1_M3.RC2: 21823cb466e79540567ad1a43ae6f93d850e4057
ENVIRONMENT: genericx86 - on MMAX32bit
BUILD_SYS: X86_64-LINUX
NATIVELSBSTRING: "universal"
MACHINE: "genericx86"
DISTRO: "poky-lsb"
DISTRO_VERSION: "2.0+snapshot-20160405"

STEPS TO REPRODUCE: 
  
 Parse dmesg log and all log files in /var/log for keywords like: "error" , "failed" , "cannot", "can't" etc.
Filter out the known and invalid errors or errors that appear in certain situations and need to be ignored.
Comment 1 Francisco Pedraza 2016-04-05 05:24:30 UTC
Created attachment 3092 [details]
log_dotestimage
Comment 2 Benjamin Esquivel 2016-04-05 15:23:36 UTC
There are 3 failing tests at this log: test_parselogs, test_syslog_startup_config and test_xorg_running.

Looking at the test_parselogs which is the first failure seems like something went wrong at boot time. Many errors like this are shown:

-----------
Central error: Apr  4 23:22:15 genericx86 kernel: usb 1-1.4: device descriptor read/64, error -32
-----------

did you connect any new usb device to the target you were testing?

Paco, you can also check the errors.yoctoproject.org similar errors:

http://errors.yoctoproject.org/Errors/Search/?query=Test+log+string+not+found.+Output%3A+grep%3A+%2Fvar%2Flog%2Ftest%3A+No+such+file+or+directory

I also did a grep of the Xorg error and I checked the first ones and they seem to be related to 'central errors' like the one that the test_parselogs is showing.

Summarizing, this looks like a bad image burn or a bad image creation. Is this a reproducible error?
Comment 3 Francisco Pedraza 2016-04-05 17:21:40 UTC
(In reply to comment #2)
> There are 3 failing tests at this log: test_parselogs,
> test_syslog_startup_config and test_xorg_running.
> 
> Looking at the test_parselogs which is the first failure seems like
> something went wrong at boot time. Many errors like this are shown:
> 
> -----------
> Central error: Apr  4 23:22:15 genericx86 kernel: usb 1-1.4: device
> descriptor read/64, error -32
> -----------
> 
> did you connect any new usb device to the target you were testing?
> 
> Paco, you can also check the errors.yoctoproject.org similar errors:
> 
> http://errors.yoctoproject.org/Errors/Search/
> ?query=Test+log+string+not+found.
> +Output%3A+grep%3A+%2Fvar%2Flog%2Ftest%3A+No+such+file+or+directory
> 
> I also did a grep of the Xorg error and I checked the first ones and they
> seem to be related to 'central errors' like the one that the test_parselogs
> is showing.
> 
> Summarizing, this looks like a bad image burn or a bad image creation. Is
> this a reproducible error?

Hi,
I will reproduce more times, just to check what you are suggesting. Thanks.
Comment 4 Benjamin Esquivel 2016-04-28 14:46:18 UTC
moving back to Francisco for getting the reproducibility of the error.
Comment 5 Francisco Pedraza 2016-09-20 23:17:53 UTC
Created attachment 3434 [details]
logs_retest_failed_

Failed
Comment 6 Francisco Pedraza 2016-09-20 23:18:44 UTC
Retested and Failed getting the next error message: Central error: Sep  9 14:45:33 genericx86 kernel: amd_nb: Cannot enumerate AMD northbridges
Logs are attached as well.
Comment 7 John 'Warthog9' Hawley 2016-10-05 21:10:04 UTC
not a Minnow specific bug, punting back to PC