Lines Matching full:not

16 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
54 # This will not work if arguments contain spaces but is necessary if we
97 # not being run via "check". There may be other things set up by
108 # not yet invoked)
172 if not args or args[0] != 'create':
185 if parsed.f is not None:
198 all('key-secret' not in opts for opts in opts_list):
223 inspected to show greater detail. If this exception is not
229 properties. If streams are not combined, it will also have a
265 # Dictionaries are not ordered prior to 3.6, therefore:
343 if not filter_path:
376 # We need to keep the Popen objext around, and not
413 assert '\n' not in cmd
415 assert cmd not in ('q', 'quit')
424 # Python < 3.8 would complain if this type were not a string literal
425 # (importing `annotations` from `__future__` would work; but not on <= 3.6)
429 assert '--pidfile' not in args
444 if self._qmp is not None:
446 while not os.path.exists(self.pidfile):
447 if self._p.poll() is not None:
462 assert self._qmp is not None
466 assert self._qmp is not None
471 assert self._qmp is not None
482 if self._qmpsock is not None:
493 if self._p is not None:
521 assert not os.path.exists(pid_file)
530 while not os.path.exists(pid_file):
531 if p.poll() is not None:
574 if not isinstance(value, int):
732 do_sort = not isinstance(msg, OrderedDict)
818 if not hasattr(file_path_remover, 'paths'):
837 raise ValueError("Protocol %s not supported" % (imgproto))
844 timer = 15.0 if not (qemu_gdb or qemu_valgrind) else None
857 if not qemu_valgrind or not self._popen:
892 if path is not None:
901 if img_format == 'luks' and 'key-secret' not in opts:
903 if luks_default_secret_object not in self._args:
940 if not event:
1039 elif status == 'pending' and not auto_finalize:
1046 elif status == 'concluded' and not auto_dismiss:
1144 point to @root. However, in practice this case is not useful
1145 and hence not allowed.
1164 # An empty @path is not allowed, so the root node must be present
1165 assert node is not None, 'Root node %s not found' % root
1168 assert node is not None, 'Cannot follow path %s%s' % (root, path)
1209 if not isinstance(d, dict) or component not in d:
1214 if not isinstance(d, list):
1216 f'is not a list in "{d}"')
1287 while not cancelled:
1355 if job['paused'] and not job['busy']:
1379 logger.warning("%s not run: %s", seq, reason)
1383 '''Mark this test case as not having been run (without actually
1393 outfile.write(' [case not run] ' + reason + '\n')
1404 not_sup = supported_fmts and (imgfmt not in supported_fmts)
1406 notrun('not suitable for this image format: %s' % imgfmt)
1413 assert not (supported and unsupported)
1418 not_sup = supported and (imgproto not in supported)
1420 notrun('not suitable for this protocol: %s' % imgproto)
1425 notrun('not suitable for this OS: %s' % sys.platform)
1428 if not any((sys.platform.startswith(x) for x in supported)):
1429 notrun('not suitable for this OS: %s' % sys.platform)
1432 if supported_cache_modes and (cachemode not in supported_cache_modes):
1433 notrun('not suitable for this cache mode: %s' % cachemode)
1436 if supported_aio_modes and (aiomode not in supported_aio_modes):
1437 notrun('not suitable for this aio mode: %s' % aiomode)
1442 notrun(f'formats {usf_list} are not whitelisted')
1447 if 'virtio-blk' not in out:
1452 if 'virtio-scsi-pci' not in out and 'virtio-scsi-ccw' not in out:
1460 # TEST_IMG in iotests.py, not saying about somehow parsing $variables.
1461 # So, for simplicity let's just not support any IMGOPTS with '$' inside.
1464 notrun(f'not suitable for this imgopts: {imgopts}')
1471 '''Skip test suite if quorum support is not available'''
1472 if not supports_quorum():
1480 If not, return the reason why.
1508 Skip test suite if LUKS does not work
1511 if not working:
1525 "'compression-type' does not accept value 'zstd'" in res.stdout:
1531 if not supports_qcow2_zstd_compression():
1532 notrun('zstd compression not supported')
1548 if not hasattr(supported_formats, "formats"):
1551 if read_only not in supported_formats.formats:
1572 msg = f'{test_case}: formats {usf_list} are not whitelisted'
1671 :return: Bool; Whether or not debug mode has been requested via the CLI.
1673 # Note: Python 3.6 and pylint do not like 'Collection' so use 'Sequence'.
1695 if not test_function: