Bug 10128

Summary: nightly-qa-systemd: testimage check for task and ssh log failed for core-image-sato
Product: [QA/Testing] Runtime Testing Reporter: Leonardo Sandoval Gonzalez <leonardo.sandoval.gonzalez>
Component: generalAssignee: Aníbal Limón <anibal.limon>
Status: VERIFIED FIXED QA Contact: Jose Perez C <jose.perez.carranza>
Severity: major    
Priority: Medium+ CC: jose.perez.carranza, richard.purdie, sgw
Version: 2.2   
Target Milestone: 2.2 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Complete log taken from AB none

Description Leonardo Sandoval Gonzalez 2016-08-11 21:38:41 UTC
Full log at [1] (and attached). Checks for task and ssh logs failed on a nighly-qa-systemd build:

| ======================================================================
| FAIL: test_syslog_logger (oeqa.runtime.syslog.SyslogTestConfig)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 109, in wrapped_f
|     return func(*args, **kwargs)
|   File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 97, in wrapped_f
|     return f(*args, **kwargs)
|   File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/runtime/syslog.py", line 27, in test_syslog_logger
|     self.assertEqual(status, 0, msg="Test log string not found in /var/log/messages or logread. Output: %s " % output)
| AssertionError: 1 != 0 : Test log string not found in /var/log/messages or logread. Output:



[1] https://autobuilder.yoctoproject.org/main/builders/nightly-qa-systemd/builds/882
Comment 1 Leonardo Sandoval Gonzalez 2016-08-11 21:41:34 UTC
Created attachment 3350 [details]
Complete log taken from AB
Comment 3 Richard Purdie 2016-08-19 07:50:13 UTC
Despite the patch we saw https://autobuilder.yoctoproject.org/main/builders/nightly-qa-systemd/builds/891/steps/Running%20Sanity%20Tests_2/logs/stdio on a nightly build so there is some further issue here, sadly.
Comment 4 Richard Purdie 2016-08-19 07:51:01 UTC
https://autobuilder.yoctoproject.org/main/builders/nightly-qa-systemd/builds/891/steps/Running%20Sanity%20Tests_2/logs/stdio

core-image-sato-1.0-r0 do_testimage: ======================================================================
core-image-sato-1.0-r0 do_testimage: FAIL: test_syslog_logger (oeqa.runtime.syslog.SyslogTestConfig)
core-image-sato-1.0-r0 do_testimage: ----------------------------------------------------------------------
core-image-sato-1.0-r0 do_testimage: Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 109, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/decorators.py", line 97, in wrapped_f
    return f(*args, **kwargs)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/runtime/syslog.py", line 30, in test_syslog_logger
    self.assertEqual(status, 0, msg="Test log string not found in /var/log/messages or logread. Output: %s " % output)
AssertionError: 1 != 0 : Test log string not found in /var/log/messages or logread. Output: Root directory /run/log/journal added.
Considering directory /run/log/journal/2961dc67a40d48ed8d5c7e770426e486.
Directory /run/log/journal/2961dc67a40d48ed8d5c7e770426e486 added.
File /run/log/journal/2961dc67a40d48ed8d5c7e770426e486/system.journal added.
File /run/log/journal/2961dc67a40d48ed8d5c7e770426e486/system@c75a9fd550a3489cb3bf7b49bf997c8e-0000000000000001-00053a632c7ef5c3.journal added.
Journal filter: none
Directory /run/log/journal/2961dc67a40d48ed8d5c7e770426e486 removed.
Root directory /run/log/journal removed.
mmap cache statistics: 245506 hit, 2 miss 
core-image-sato-1.0-r0 do_testimage:
Comment 7 Jose Perez C 2016-09-09 15:45:24 UTC
Latest builds does not show thuis error:

Verified on https://autobuilder.yoctoproject.org/main/builders/nightly-qa-systemd/builds/920/steps/Running%20Sanity%20Tests_2/logs/stdio