Bug 11113

Summary: Mraa hello test is failing on computer vision profile for refkit
Product: [Yocto Project Subprojects] IoT Reference OS Kit Reporter: Monserrat <monserratx.sedeno.bustos>
Component: intel-iot-refkit-defaultAssignee: Mikko Ylinen <mikko.ylinen>
Status: RESOLVED WORKSFORME QA Contact: Sonia Delgado <sonia.delgado>
Severity: normal    
Priority: Undecided CC: matti-pekka.sivosuo, simo.kuusela
Version: unspecified   
Target Milestone: 2.3 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Monserrat 2017-02-28 23:37:17 UTC
Failed
minnowboardturbot.refkit-image-computervision.oeqa.runtime.sanity.mraa_hello.Mraa_hello.test_mraa_hello (from minnowboardturbot.refkit-image-computervision.oeqa.runtime.sanity.mraa_hello.Mraa_hello-20000101200908)


Error Message
Command '['scp', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'LogLevel=ERROR', '/root/workspace/iotos-tester/workspace/intel-iot-refkit_master_5/iottest/deploy/files/target/intel-corei7-64/hello_mraa', 'root@192.168.7.2:/opt/mraa-test/apps/']' returned non-zero exit status 1: b'scp: /opt/mraa-test/apps/: No such file or directory'
Stacktrace
Traceback (most recent call last):
  File "/root/workspace/iotos-tester/workspace/intel-iot-refkit_master_5/iottest/oeqa/runtime/sanity/mraa_hello.py", line 18, in test_mraa_hello
    'hello_mraa'), "/opt/mraa-test/apps/")
  File "iottest/runtest.py", line 70, in copy_to
    return self.connection.copy_to(localpath, remotepath)
  File "/root/workspace/iotos-tester/workspace/intel-iot-refkit_master_5/iottest/oeqa/utils/sshcontrol.py", line 158, in copy_to
    return self._internal_run(command, ignore_status=False)
  File "/root/workspace/iotos-tester/workspace/intel-iot-refkit_master_5/iottest/oeqa/utils/sshcontrol.py", line 131, in _internal_run
    raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, status, output))
AssertionError: Command '['scp', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'LogLevel=ERROR', '/root/workspace/iotos-tester/workspace/intel-iot-refkit_master_5/iottest/deploy/files/target/intel-corei7-64/hello_mraa', 'root@192.168.7.2:/opt/mraa-test/apps/']' returned non-zero exit status 1:
b'scp: /opt/mraa-test/apps/: No such file or directory'
Comment 1 Matti-Pekka Sivosuo 2017-03-01 10:15:48 UTC
Probably just a glitch in running the tests. Let's wait for another master build and see if these reproduce or not.
Comment 2 Simo Kuusela 2017-03-01 10:40:37 UTC
I checked the workspace directory on the server the tests were run on and the file that the test tried to copy did exist. So this error was probably just a glitch.
Comment 3 Matti-Pekka Sivosuo 2017-03-01 15:40:19 UTC
Based on Simo's comment let's close this one for now and reopen if this happens again.