<?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>5154</bug_id>
          
          <creation_ts>2013-09-10 07:36:54 +0000</creation_ts>
          <short_desc>LSB python tests: 3 tests failed: test_codecs test_re test_unicode</short_desc>
          <delta_ts>2013-09-18 01:38:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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.5 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jackie Huang">jackie.huang</reporter>
          <assigned_to name="Hongxu Jia">hongxu.jia</assigned_to>
          <cc>hongxu.jia</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>Qi.Chen</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36457</commentid>
    <comment_count>0</comment_count>
    <who name="Jackie Huang">jackie.huang</who>
    <bug_when>2013-09-10 07:36:54 +0000</bug_when>
    <thetext>Steps to reproduce:

1) Add to locol.conf: IMAGE_OVERHEAD_FACTOR = &quot;5&quot;
2) bitbake core-image-lsb
3) $ runqemu qemux86-64 core-image-lsb ext3 nographic
4) root@qemux86-64:~# /usr/bin/LSB_Test.sh

or run the 3 failed tests only:

root@qemux86-64:/opt/lsb/test/python# ./single_test test_re
root@qemux86-64:/opt/lsb/test/python# ./single_test test_codecs
root@qemux86-64:/opt/lsb/test/python# ./single_test test_unicode


logs
=====
root@qemu0:/opt/lsb/test/python# ./run_tests
...
test test_codecs failed -- errors occurred; run in verbose mode for details
test test_re produced unexpected output:
**********************************************************************
*** lines 2-3 of actual output doesn&apos;t appear in expected output after line 1:
+ === Failed incorrectly (&apos;(?u)\\b.\\b&apos;, u&apos;\xc4&apos;, 0, &apos;found&apos;, u&apos;\xc4&apos;)
+ === Failed incorrectly (&apos;(?u)\\w&apos;, u&apos;\xc4&apos;, 0, &apos;found&apos;, u&apos;\xc4&apos;)
**********************************************************************
test test_unicode failed -- errors occurred in test.test_unicode.UnicodeTest
3 tests failed:
    test_codecs test_re test_unicode
Journal file is results/0001e/journal

root@qemu0:/opt/lsb/test/python# cat results/0001e/journal
0|tetj.py-1.1 06:02:08 20130910|User: root (0) TCC Start, Command line: /usr/bin/python
5|Linux qemu0 3.10.10-WR6.0.0.0_standard #1 SMP PREEMPT Tue Sep 10 11:12:46 CST 2013 x86_64|System Information
20||Config Start
30||VSX_NAME=lsb-test-python 4.1.5-1 (noarch)
30||PYTHON_VERSION=2.7.3
40||Config End
70||total tests in python-test 107
10|0 /usr/bin/python 06:02:08|TC Start
15|0 tetj.py-1.1 1|TCM Start
400|0 1 1 06:02:08|IC Start
200|0 1 06:02:08|TP Start Check test_grammar
220|0 1 0 06:02:08|PASS
...
200|0 23 06:03:29|TP Start Check test_codecs
520|0 23 1759 1 1|errors occurred; run in verbose mode for details
220|0 23 1 06:03:33|FAIL
410|0 23 1 06:03:33|IC End
...
400|0 78 1 06:05:57|IC Start
200|0 78 06:05:57|TP Start Check test_re
520|0 78 1759 1 2|errors occurred; run in verbose mode for details
220|0 78 1 06:06:10|FAIL
410|0 78 1 06:06:10|IC End
...
400|0 100 1 06:08:32|IC Start
200|0 100 06:08:32|TP Start Check test_unicode
520|0 100 1759 1 3|errors occurred in test.test_unicode.UnicodeTest
220|0 100 1 06:08:43|FAIL
410|0 100 1 06:08:43|IC End

root@qemux86-64:/opt/lsb/test/python# ./single_test test_re
test_re
test test_re produced unexpected output:
**********************************************************************
*** lines 2-3 of actual output doesn&apos;t appear in expected output after line 1:
+ === Failed incorrectly (&apos;(?u)\\b.\\b&apos;, u&apos;\xc4&apos;, 0, &apos;found&apos;, u&apos;\xc4&apos;)
+ === Failed incorrectly (&apos;(?u)\\w&apos;, u&apos;\xc4&apos;, 0, &apos;found&apos;, u&apos;\xc4&apos;)
**********************************************************************
1 test failed:
    test_re
root@qemux86-64:/opt/lsb/test/python# ./single_test test_codecs
test_codecs
test test_codecs failed -- errors occurred; run in verbose mode for details
1 test failed:
    test_codecs
root@qemux86-64:/opt/lsb/test/python# ./single_test test_unicode
test_unicode
test test_unicode failed -- errors occurred in test.test_unicode.UnicodeTest
1 test failed:
    test_unicode</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36715</commentid>
    <comment_count>1</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-09-14 04:39:06 +0000</bug_when>
    <thetext>It has been fixed in:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e261c1760d8a660c13cd00039a4812d51f47f3df

But there is a typo in:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=78ac027f2ac6c6663fff7080eabbd3d09c1241bb

It missed to remove an extra &quot;--with-wctype-functions&quot; in EXTRA_OECONF</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36836</commentid>
    <comment_count>2</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-09-18 01:38:28 +0000</bug_when>
    <thetext>Merged into master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e3cacf17e81b3b9571c9685bad389cc951a496ec</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>