ok, after installing the tests and running it manually i saw no failures
here (except for the RODATA fail above that is bogus):
======================================================================
FAIL: test_072_config_debug_rodata (__main__.KernelSecurityTest)
CONFIG_DEBUG_RODATA enabled
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 664, in test_072_config_debug_rodata
self.assertEqual(self._test_config('DEBUG_RODATA'), expected)
AssertionError: True != False
----------------------------------------------------------------------
Ran 51 tests in 49.813s
FAILED (failures=1)
flag@panda:~/qrt-test-kernel-security$ uname -a
Linux panda 3.4.0-204-omap4 #9 SMP PREEMPT Fri Jul 6 15:45:33 UTC 2012 armv7l
armv7l armv7l GNU/Linux
flag@panda:~/qrt-test-kernel-security$
and in particular:
test_072_config_compat_vdso (__main__.KernelSecurityTest)
CONFIG_COMPAT_VDSO disabled ... ok
test_072_config_debug_rodata (__main__.KernelSecurityTest)
CONFIG_DEBUG_RODATA enabled ... (skipped: only x86) FAIL
test_072_config_debug_set_module_ronx (__main__.KernelSecurityTest)
CONFIG_DEBUG_SET_MODULE_RONX enabled ... (skipped: only x86) ok
test_072_config_security_apparmor (__main__.KernelSecurityTest)
CONFIG_SECURITY_APPARMOR enabled ... ok
test_072_config_strict_devmem (__main__.KernelSecurityTest)
CONFIG_STRICT_DEVMEM enabled ... ok
test_072_strict_devmem (__main__.KernelSecurityTest)
/dev/mem unreadable for kernel memory ... (using 0xa74e28c0L) [ 476.587219]
Program readmem tried to access /dev/mem between 80008000->80008004.
(exit code 0) ok
and here is a snippet of the test:
def test_072_strict_devmem(self):
'''/dev/mem unreadable for kernel memory'''
os.chdir('mem')
target = None
if self.kernel_is_ubuntu:
# There isn't a sane way to install the headers via the QRT fields,
# since there is no meta package for just "linux-headers".
self.assertShellExitEquals(0, ["apt-get","-y","install",
"linux-headers-%s" %
(self.kernel_version)])
i wonder, do you have the correct headers installed?
You need these:
ii linux-headers-3.4.0-204 3.4.0-204.9
Header files related to Linux kernel version 3.4.0
ii linux-headers-3.4.0-204-omap4 3.4.0-204.9
Linux kernel headers for version 3.4.0 on TI OMAP4-based systems
try it manually.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027524
Title:
QRT failed on test_072_config_debug_rodata and test_072_strict_devmem
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/1027524/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs