<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>8014</bug_id>
          
          <creation_ts>2015-07-15 14:16:02 +0000</creation_ts>
          <short_desc>syslog configure fails on genericx86-64 LSB image</short_desc>
          <delta_ts>2015-09-09 14:39:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>1.9</version>
          <rep_platform>NUC</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.9</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cristina Agurida">cristina-danielax.agurida</reporter>
          <assigned_to name="Lucian Musat">georgex.l.musat</assigned_to>
          <cc>costin.c.constantin</cc>
    
    <cc>yp.kernel.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          <qa_contact name="Cristina Agurida">cristina-danielax.agurida</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>52403</commentid>
    <comment_count>0</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-07-15 14:16:02 +0000</bug_when>
    <thetext>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: 
1. Get a yocto image from autobuilder or local build
2. Launch image and check if syslog is started by default in background with ps command: (ps -elf|grep syslog)
3. Modify /etc/syslog-startup.conf, change the LOGFILE to /var/log/messages.test
4. Restart syslog with command &quot;/etc/init.d/syslog restart&quot;
5. Check if syslog is started in background with ps command
6. Check if there is file generated under /var/log/messages.test

EXPECTED OUTCOME:
 Syslog could be configured by user and run without problem .

ACTUAL OUTCOME:
 This error appears during testing LSB image:

15:19:32 - bitbake-worker - RESULTS - Testcase 202: FAILED
15:19:32 - bitbake-worker - RESULTS - Testcase 202:
Traceback (most recent call last):
  File /work/weekly/runtime/genericx86-64-lsb_nuc/poky/meta/lib/oeqa/utils/decorators.py, line 102, in wrapped_f
    return func(*args)
  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/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 46, in test_syslog_startup_config
    self.assertEqual(status, 0, msg=Test log string not found. Output: %s  % output)
AssertionError: 2 != 0 : Test log string not found. Output: grep: /var/log/test: No such file or directory 

Is this a valid bug or is because busybox is not present on LSB images?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52407</commentid>
    <comment_count>1</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2015-07-15 14:35:44 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52411</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-07-15 14:57:06 +0000</bug_when>
    <thetext>This configuration method looks like it is indeed specific to busybox, and LSB images include the real syslog which is configured differently. My suggestion would be to make the test check to see which syslog implementation is in use (perhaps just see if syslogd is a symlink to busybox) and skip the test if it isn&apos;t busybox.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52610</commentid>
    <comment_count>3</comment_count>
    <who name="Lucian Musat">georgex.l.musat</who>
    <bug_when>2015-07-27 09:14:04 +0000</bug_when>
    <thetext>Fixed in commit: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=83f19d45655226c319d7cb0244dc4f8a0aae9a93</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53011</commentid>
    <comment_count>4</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-08-12 10:07:53 +0000</bug_when>
    <thetext>This issue reappears on 1.9_M2.rc2: c75cefe8a382a63f625123c156137782db118f64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53840</commentid>
    <comment_count>5</comment_count>
    <who name="Costin">costin.c.constantin</who>
    <bug_when>2015-09-08 14:49:59 +0000</bug_when>
    <thetext>Hello,

i tested this bug (was related to an other task of mine) and both for a poky and poky-lsb image built, it was fine. In the first case, (for DISTRO=&quot;poky&quot;) the core-image-sato passed the test, while for the second  (for DISTRO=&quot;poky-lsb&quot;) it skipped, it which is normal behavior.

As a conclusion, I guess the issue is solved now.

poky hash: c1df471feacaf2590216aa476ce242908dac38cf
OS build machine: Ubuntu 15.04</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53864</commentid>
    <comment_count>6</comment_count>
    <who name="Costin">costin.c.constantin</who>
    <bug_when>2015-09-09 08:13:22 +0000</bug_when>
    <thetext>Based on last comment, marking it as resolved</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53888</commentid>
    <comment_count>7</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-09-09 14:39:28 +0000</bug_when>
    <thetext>Verified on master: d4585fa23d56a58c583ee33db067a23177a936b1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>