- 12 11月, 2013 1 次提交
-
-
由 Feng Yang 提交于
Signed-off-by: NFeng Yang <fyang@redhat.com>
-
- 06 11月, 2013 10 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Add Selinux support
-
由 Chris Evich 提交于
Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
Default testing for libvirt and lvsb should be done with SELinux enabled + enforcing. However, this expects certain file/dirrectory contexts to be setup to standardized values. Unless the default contexts are also set in the local SELinux policy, changing those directories in any way will leave them with incorrect contexts again. Additionally, we want to be as user-friendly as possible, checking/setting/warning as appropriate from get_started. * If SELinux is disabled or not available, issue warning it should be enabled when possible. * If tooling is not available, print an informative message on how the default contexts can be set up. * If tooling is available, and there are no prior default contexts, establish them, otherwise leave the existing ones alone. * If on-disk contexts don't match expected standardized values, inform the user that relabeling is needed. * Auto-fixed a bunch of pep8 reported problems * Avoid unnecessarily re-creating shared/data symlink before selinux defaults/labels are checked/set Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
* Made MLS range patern matching optional in get_context_from_str(context) since this information isn't always provided/available. * Added function to extract only the context type from a context string since many selinux commands only work with a type anyway * Added get/set/del functions to manipulate default file contexts on system * Added search function to look up a type based on a path * Added unittests for new functions * Added special exception if semanage tool doesn't exist * Added functions and unittests for getting/verifying/setting default contexts on specified path. * Added function to apply default contexts onto file/dir Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
some update and bug fix for next tree.
-
由 Lucas Meneghel Rodrigues 提交于
Rename test from "virsh_" to "virsh."
-
由 Swapna Krishnan 提交于
Signed-off by: Swapna Krishnan (skrishna@redhat.com)
-
由 Lucas Meneghel Rodrigues 提交于
virsh_nodeinfo: Alter algorithm for cpu frequency
-
由 Dongsheng Yang 提交于
Sometimes, VM.serial_ports is not None, but the VM.serial_console is None, then we need to setup a serial_console in VM.setup_serial_console() method, instead of returning immediatly. Signed-off-by: NDongsheng Yang <yangds.fnst@cn.fujitsu.com>
-
- 05 11月, 2013 29 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
I'm the responsible for the line. My apologies. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Turns out the package libjpeg-turbo-devel could not be found on the install DVD, causing trouble during regression testing run. The changes need to be reverted until the author can get a more precise listing. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Rudá Moura 提交于
virttest/qemu_monitor.py: Allow '=' in parameter string for HMP
-
由 John Ferlan 提交于
Address test that was missed in the 'b5f2911a' commit to change all tests from "virsh_*" to "virsh.*"
-
由 Yiqiao Pu 提交于
Don't use realpath to convert remote path in is_mounted. Otherwise it may return a local path and failed the check. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
virsh_vcpupin: use libvirt submodule for call
-
由 Lucas Meneghel Rodrigues 提交于
virsh_dumpxml: Need to populate output
-
由 John Ferlan 提交于
Obtaining the /proc/cpuinfo at two different points in time can result in slightly different values for 'CPU frequency'. So rather than just straight out fail because they don't match exactly, allow for a 20% variation of either value before declaring failure
-
由 Lucas Meneghel Rodrigues 提交于
virsh_emulatorpin: Fix syntax error
-
由 John Ferlan 提交于
Commit id 'b94ccb677' missed the libvirt submodule reorganiation for the 'cpu_allowed_list_by_task()' call resulting in the error: AttributeError: 'module' object has no attribute 'cpu_allowed_list_by_task'
-
由 Lucas Meneghel Rodrigues 提交于
Since it is necessary by default by the netperf test. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Feng Yang 提交于
Current code always try to get netperf from link, but network may not accessible in some pc. As disscussed we can put netperf in shared/deps folder. This patch make it more configurable. We can set multi netperf links, web link, absolute path, relative path. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
Current code always try to get netperf from shared/deps. This patch make it more configurable. We can set multi netperf links, web link, absolute path, relative path. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 John Ferlan 提交于
Commit id '80a1cd7b2' called cgconfig_restart()(), this resulted in a python syntax error: TypeError: 'bool' object is not callable Just removed the extraneous ().
-
由 John Ferlan 提交于
Commit id '7bdea150' removed the setting of output in the try/except to call virsh.dumpxml, resulting in the error: UnboundLocalError: local variable 'output' referenced before assignment. This change just sets output from the cmd_result
-
由 Lucas Meneghel Rodrigues 提交于
Directory that holds the dropin tests. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
virt test wrapper that actually runs the dropin script. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Add a run option that executes scripts on a directory called dropin sequentially in the host, rather than the guest. The option to run the mentioned tests in the host will be added on a future series. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Feng Yang 提交于
We will meet following error: QMPCmdError: QMP command 'system_powerdown' failed (arguments: {'': ''}, error message: {u'data': {u'name': u''}, u'class': u'InvalidParameter', u'desc': u"Invalid parameter ''"}) Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
virttest.cartesian_config: Make 'replace deprecated template with eval in cart-config' works for multi deprecated template - rebase: type = qemu_disk_img_rebase rebase_mode = safe base_format = qcow2 guest_file_name_image1 = "${tmp_dir}/base" image_chain += " snA snB" image_name_snA = "images/snA" image_name_snB = "images/snB" guest_file_name_snA = "${tmp_dir}/snA" guest_file_name_snB = "${tmp_dir}/snB" variants: - snB: check_files = "${tmp_dir}/base ${tmp_dir}/snA ${tmp_dir}/snB" variants: - to_base: rebase_list = "snB > image1" from the log we know that only signal ${tmp_dir} is replace to /var/tmp But check_files did not change. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
When call get_property() we may get following error n cgroup test: Description of problem: Traceback (most recent call last): File "/home/autotest/client/shared/test.py", line 426, in _exec _call_test_function(self.execute, *p_args, **p_dargs) File "/home/autotest/client/shared/test.py", line 846, in _call_test_function return func(*args, **dargs) File "/home/autotest/client/shared/test.py", line 299, in execute postprocess_profiled_run, args, dargs) File "/home/autotest/client/shared/test.py", line 216, in _call_run_once *args, **dargs) File "/home/autotest/client/shared/test.py", line 322, in run_once_profiling self.run_once(*args, **dargs) File "/home/autotest/client/tests/virt/virt.py", line 136, in run_once run_func(self, params, env) File "/home/autotest/client/shared/error.py", line 138, in new_fn return fn(*args, **kwargs) File "/home/autotest/client/tests/virt/qemu/tests/cgroup.py", line 2032, in run_cgroup return fce() File "/home/autotest/client/shared/error.py", line 138, in new_fn return fn(*args, **kwargs) File "/home/autotest/client/tests/virt/qemu/tests/cgroup.py", line 366, in blkio_throttle return blkio_throttle_multi([[_] for _ in speeds]) File "/home/autotest/client/shared/error.py", line 138, in new_fn return fn(*args, **kwargs) File "/home/autotest/client/tests/virt/qemu/tests/cgroup.py", line 537, in blkio_throttle_multi % (dev[0], dev[1], speed)) File "/home/autotest/client/tests/virt/virttest/staging/utils_cgroup.py", line 411, in set_property % (repr(check), repr(_values))) TestError: cg.set_property(): Setting failed: desired = '8:16 1024', real values = ['8:16\t1024'] [context: Executing test: blkio_throttle --> Init --> Setup test] Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
This patch have us fix "TypeError: int() argument must be a string or a number, not 'NoneType'" error when queues parameter not set in config. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
rdma related migrate case are not supported in rhel host. So disable them. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
We need set workaround_qemu_qmp_crash to always to ignore the dump. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
We should use if disk to check whether disk list is empty Or this script will fail with following error: Traceback (most recent call last): File "/home/autotest/client/shared/test.py", line 426, in _exec _call_test_function(self.execute, *p_args, **p_dargs) File "/home/autotest/client/shared/test.py", line 853, in _call_test_function raise error.UnhandledTestFail(e) UnhandledTestFail: Unhandled IndexError: list index out of range [context: (run_migration_with_dst_problem)] Traceback (most recent call last): File "/home/autotest/client/shared/test.py", line 846, in _call_test_function return func(*args, **dargs) File "/home/autotest/client/shared/test.py", line 299, in execute postprocess_profiled_run, args, dargs) File "/home/autotest/client/shared/test.py", line 216, in _call_run_once *args, **dargs) File "/home/autotest/client/shared/test.py", line 322, in run_once_profiling self.run_once(*args, **dargs) File "/home/autotest/client/tests/virt/virt.py", line 136, in run_once run_func(self, params, env) File "/home/autotest/client/shared/error.py", line 138, in new_fn return fn(*args, **kwargs) File "/home/autotest/client/tests/virt/qemu/tests/migration_with_dst_problem.py", line 639, in run_migration_with_dst_problem tests_group() File "/home/autotest/client/tests/virt/qemu/tests/migration_with_dst_problem.py", line 53, in __new__ ret = self.test(*args, **kargs) File "/home/autotest/client/tests/virt/qemu/tests/migration_with_dst_problem.py", line 436, in test self.workload() File "/home/autotest/client/tests/virt/qemu/tests/migration_with_dst_problem.py", line 467, in workload disk_path_src = find_disk_vm(self.vm_guest, self.disk_serial_src) File "/home/autotest/client/tests/virt/qemu/tests/migration_with_dst_problem.py", line 148, in find_disk_vm return os.path.join(disk_path, disk[0]) IndexError: list index out of range Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
There is no /usr/lib/udev/rules.d in these guest. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
rhel host do not support extra_params += " -machine mem-merge=off". Change to extra_params += " -redhat-disable-KSM" Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Yiqiao Pu 提交于
The output from qmp monitor for pci information is different from human monitor. This help the scripts run correctly with both qmp and human monitor. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Yiqiao Pu 提交于
Use get_stripped_output to remove the unreadable codes from the serial console output. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-