Bug 10128 - nightly-qa-systemd: testimage check for task and ssh log failed for core-image-sato
Summary: nightly-qa-systemd: testimage check for task and ssh log failed for core-imag...
Status: VERIFIED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium+ major
Target Milestone: 2.2 M3
Assignee: Aníbal Limón
QA Contact: Jose Perez C
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-08-11 21:38 UTC by Leonardo Sandoval Gonzalez
Modified: 2016-09-09 15:45 UTC (History)
3 users (show)

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


Attachments
Complete log taken from AB (18.76 KB, text/plain)
2016-08-11 21:41 UTC, Leonardo Sandoval Gonzalez
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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