]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/selftest/runqemu: qemu nfs testing not ready for deployment
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Apr 2018 07:10:42 +0000 (08:10 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Apr 2018 07:10:45 +0000 (08:10 +0100)
This test shouldn't have merged yet since we don't run portmap/rpcbind
on the autobuilder infrastructure and the test therefore cannot succeed.

We need to document this, set it up, then enable the test. The test itself
is fine and good to have so its left in the code but disabled for now.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/runqemu.py

index f3ff015cbab16ae9d781d3f19147103756ba9767..5ebdd57a41e8f755df76ea25187b07e903fe5d3d 100644 (file)
@@ -185,7 +185,9 @@ class QemuTest(OESelftestTestCase):
             qemu_shutdown_succeeded = self._start_qemu_shutdown_check_if_shutdown_succeeded(qemu, shutdown_timeout)
             self.assertTrue(qemu_shutdown_succeeded, 'Failed: %s does not shutdown within timeout(%s)' % (self.machine, shutdown_timeout))
 
-    def test_qemu_can_boot_nfs_and_shutdown(self):
+    # Need to have portmap/rpcbind running to allow this test to work and
+    # current autobuilder setup does not have this.
+    def disabled_test_qemu_can_boot_nfs_and_shutdown(self):
         self.assertExists(self.qemuboot_conf)
         bitbake('meta-ide-support')
         rootfs_tar = "%s-%s.tar.bz2" % (self.recipe, self.machine)