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 = "1" TEST_TARGET = "simpleremote" TEST_TARGET_IP = "128.224.165.32" TEST_SERVER_IP = "128.224.162.102" TEST_SUITES = "ping ssh df connman syslog scp date rpm smart dmesg" ####################### 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 = "1.23.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-12.04" TARGET_SYS = "mips64-poky-linux" MACHINE = "edgerouter" DISTRO = "poky" DISTRO_VERSION = "1.6+snapshot-20140523" TUNE_FEATURES = "n64 bigendian fpu-hard" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "master:8293f564685d0f587ab63a107285625dc4f98f1c" 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 "/buildarea3/yzhao1/poky-build/meta/lib/oeqa/runtime/smart.py", line 53, in setUpClass | self.repo_server.start() | File "/buildarea3/yzhao1/poky-build/meta/lib/oeqa/utils/httpserver.py", line 24, in start | self.server = HTTPServer((self.host, self.port), HTTPRequestHandler) | File "/usr/lib/python2.7/SocketServer.py", line 408, in __init__ | self.server_bind() | File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind | SocketServer.TCPServer.server_bind(self) | File "/usr/lib/python2.7/SocketServer.py", line 419, in server_bind | self.socket.bind(self.server_address) | File "/usr/lib/python2.7/socket.py", 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 ['oeqa.runtime.ping', 'oeqa.runtime.ssh', 'oeqa.runtime.df', 'oeqa.runtime.connman', 'oeqa.runtime.syslog', 'oeqa.runtime.scp', 'oeqa.runtime.date', 'oeqa.runtime.rpm', 'oeqa.runtime.smart', 'oeqa.runtime.dmesg'] | 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 '1' NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn'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 #####################
Sorry, I used a wrong server ip. When I corrected the ip, it worked fine.