Bug 8016

Summary: test syslog help fails on genericx86-64 LSB image
Product: [QA/Testing] Runtime Testing Reporter: Cristina Agurida <cristina-danielax.agurida>
Component: generalAssignee: Lucian Musat <georgex.l.musat>
Status: VERIFIED OBSOLETE QA Contact: Cristina Agurida <cristina-danielax.agurida>
Severity: normal    
Priority: Medium CC: bruce.ashfield, yp.kernel.watcher, yp.watcher
Version: 1.9   
Target Milestone: 1.9 M2   
Hardware: NUC   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: New (Never tested)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Cristina Agurida 2015-07-15 14:27:03 UTC
STATUS: FAILED
BUILD: 1.9_M1.rc2: f9ea480e6c26fea46c3011c4e9d0e2de3d5c81b4
ENVIRONMENT: NUC(Next Unit of Computing)
BSP: genericx86-64
IMAGE TYPE: core-image-lsb-sdk

STEPS TO REPRODUCE: 
  
 Run command "/sbin/syslogd --help"


EXPECTED OUTCOME: 
  
 Command should not fail.

ACTUAL OUTCOME:

 This error appears during testing LSB image:

15:19:31 - bitbake-worker - RESULTS - Testcase test_syslog_help:
Traceback (most recent call last):
  File /work/weekly/runtime/genericx86-64-lsb_nuc/poky/meta/lib/oeqa/utils/decorators.py, line 90, in wrapped_f
    return f(*args)
  File /work/weekly/runtime/genericx86-64-lsb_nuc/poky/meta/lib/oeqa/runtime/syslog.py, line 14, in test_syslog_help
    self.assertEqual(status, 0, msg=status and output: %s and %s % (status,output))
AssertionError: 1 != 0 : status and output: 1 and /sbin/syslogd: invalid option -- '-'
usage: syslogd [-drvh] [-l hostlist] [-m markinterval] [-n] [-p path]
 [-s domainlist] [-f conffile]
=======================================

Is this a valid bug or is because busybox is not present on LSB images?
Comment 1 Bruce Ashfield 2015-07-15 14:36:17 UTC
I could research these, but my plate is rather full at the moment. Sending this to PaulE, in the hopes that he can redirect or answer it more quickly than I can.
Comment 2 Bruce Ashfield 2015-07-15 14:36:25 UTC
I could research these, but my plate is rather full at the moment. Sending this to PaulE, in the hopes that he can redirect or answer it more quickly than I can.
Comment 3 Paul Eggleton 2015-07-15 14:41:18 UTC
In this instance the test case needs updating, clearly --help isn't a valid option for real syslogd.
Comment 4 Lucian Musat 2015-07-23 10:45:49 UTC
Closing this because we will drop this testcase altogether.
Comment 5 Cristina Agurida 2015-07-31 13:11:53 UTC
As per last comment set this as verified obsolete.