<?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>6369</bug_id>
          
          <creation_ts>2014-05-23 07:15:35 +0000</creation_ts>
          <short_desc>Can not create repo when running smart test in hardware</short_desc>
          <delta_ts>2014-05-26 06:00:16 +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.7</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Stoicescu Cornel">corneliux.stoicescu</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>ke.zou</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</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>43546</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2014-05-23 07:15:35 +0000</bug_when>
    <thetext>Git rev: master/8293f564685d0f587ab63a107285625dc4f98f1c

Steps:
1. Build a sato-sdk image for edgerouter.
2. Deploy the image to the target board (edgerouter).
3. Run bitbake core-image-sato-sdk -c testimage 

The settings in local.conf:
######################
TEST_IMAGE = &quot;1&quot;
TEST_TARGET = &quot;simpleremote&quot;
TEST_TARGET_IP = &quot;128.224.165.32&quot;
TEST_SERVER_IP = &quot;128.224.162.102&quot;
TEST_SUITES = &quot;ping ssh df connman syslog scp date rpm smart dmesg&quot;
#######################
The TEST_SEVER_IP is the host which run bitbake. The TEST_TARGET_IP is the target board (edgerouter）.


Error log:
###########################
$ bitbake core-image-sato-sdk -c testimage
Loading cache: 100% |####################################################################################################################################################| ETA:  00:00:00
Loaded 1241 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = &quot;1.23.1&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-12.04&quot;
TARGET_SYS        = &quot;mips64-poky-linux&quot;
MACHINE           = &quot;edgerouter&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.6+snapshot-20140523&quot;
TUNE_FEATURES     = &quot;n64 bigendian fpu-hard&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;master:8293f564685d0f587ab63a107285625dc4f98f1c&quot;

NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
ERROR: Function failed: core-image-sato-sdk - FAILED - check the task log and the ssh log
ERROR: Logfile of failure stored in: /buildarea3/yzhao1/poky-build/build-edgerouter/tmp/work/edgerouter-poky-linux/core-image-sato-sdk/1.0-r0/temp/log.do_testimage.12318
Log data follows:
| DEBUG: Executing python function do_testimage
| NOTE: Target IP: 128.224.165.32
| NOTE: Server IP: 128.224.162.102
| NOTE: SSH log file: /buildarea3/yzhao1/poky-build/build-edgerouter/tmp/work/edgerouter-poky-linux/core-image-sato-sdk/1.0-r0/testimage/ssh_target_log.20140523062734
| test_ping (oeqa.runtime.ping.PingTest) ... ok
| test_ssh (oeqa.runtime.ssh.SshTest) ... ok
| test_df (oeqa.runtime.df.DfTest) ... ok
| test_connmand_help (oeqa.runtime.connman.ConnmanTest) ... ok
| test_connmand_running (oeqa.runtime.connman.ConnmanTest) ... ok
| test_syslog_help (oeqa.runtime.syslog.SyslogTest) ... ok
| test_syslog_running (oeqa.runtime.syslog.SyslogTest) ... ok
| test_syslog_logger (oeqa.runtime.syslog.SyslogTestConfig) ... ok
| test_syslog_restart (oeqa.runtime.syslog.SyslogTestConfig) ... ok
| test_syslog_startup_config (oeqa.runtime.syslog.SyslogTestConfig) ... ok
| test_scp_file (oeqa.runtime.scp.ScpTest) ... ok
| test_date (oeqa.runtime.date.DateTest) ... ok
| test_rpm_help (oeqa.runtime.rpm.RpmBasicTest) ... ok
| test_rpm_query (oeqa.runtime.rpm.RpmBasicTest) ... ok
| test_rpm_install (oeqa.runtime.rpm.RpmInstallRemoveTest) ... ok
| test_rpm_remove (oeqa.runtime.rpm.RpmInstallRemoveTest) ... ok
| test_smart_help (oeqa.runtime.smart.SmartBasicTest) ... ok
| test_smart_info (oeqa.runtime.smart.SmartBasicTest) ... ok
| test_smart_query (oeqa.runtime.smart.SmartBasicTest) ... ok
| test_smart_search (oeqa.runtime.smart.SmartBasicTest) ... ok
| test_smart_stats (oeqa.runtime.smart.SmartBasicTest) ... ok
| test_smart_version (oeqa.runtime.smart.SmartBasicTest) ... ok
| ERROR
| test_dmesg (oeqa.runtime.dmesg.DmesgTest) ... ok
| 
| ======================================================================
| ERROR: setUpClass (oeqa.runtime.smart.SmartRepoTest)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File &quot;/buildarea3/yzhao1/poky-build/meta/lib/oeqa/runtime/smart.py&quot;, line 53, in setUpClass
|     self.repo_server.start()
|   File &quot;/buildarea3/yzhao1/poky-build/meta/lib/oeqa/utils/httpserver.py&quot;, line 24, in start
|     self.server = HTTPServer((self.host, self.port), HTTPRequestHandler)
|   File &quot;/usr/lib/python2.7/SocketServer.py&quot;, line 408, in __init__
|     self.server_bind()
|   File &quot;/usr/lib/python2.7/BaseHTTPServer.py&quot;, line 108, in server_bind
|     SocketServer.TCPServer.server_bind(self)
|   File &quot;/usr/lib/python2.7/SocketServer.py&quot;, line 419, in server_bind
|     self.socket.bind(self.server_address)
|   File &quot;/usr/lib/python2.7/socket.py&quot;, line 224, in meth
|     return getattr(self._sock,name)(*args)
| error: [Errno 99] Cannot assign requested address
| 
| ----------------------------------------------------------------------
| Ran 23 tests in 230.400s
| 
| FAILED (errors=1)
| DEBUG: Python function do_testimage finished
| ERROR: Function failed: core-image-sato-sdk - FAILED - check the task log and the ssh log
| Test modules  [&apos;oeqa.runtime.ping&apos;, &apos;oeqa.runtime.ssh&apos;, &apos;oeqa.runtime.df&apos;, &apos;oeqa.runtime.connman&apos;, &apos;oeqa.runtime.syslog&apos;, &apos;oeqa.runtime.scp&apos;, &apos;oeqa.runtime.date&apos;, &apos;oeqa.runtime.rpm&apos;, &apos;oeqa.runtime.smart&apos;, &apos;oeqa.runtime.dmesg&apos;]
| Found 34 tests
| 128.224.162.102
ERROR: Task 0 (/buildarea3/yzhao1/poky-build/meta/recipes-sato/images/core-image-sato-sdk.bb, do_testimage) failed with exit code &apos;1&apos;
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn&apos;t need to be rerun and 1 failed.

Summary: 1 task failed:
  /buildarea3/yzhao1/poky-build/meta/recipes-sato/images/core-image-sato-sdk.bb, do_testimage
#####################</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43585</commentid>
    <comment_count>1</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2014-05-26 06:00:16 +0000</bug_when>
    <thetext>Sorry, I used a wrong server ip. When I corrected the ip, it worked fine.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>