Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 60) sorted by relevance

123

/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
A Dbinary_adapter.py43 msg = 'Run command is empty, please verify if it was generated properly.'
44 logger.error(msg)
45 raise TwisterHarnessException(msg)
50 msg = f'Running subprocess failed due to SubprocessError {exc}'
51 logger.error(msg)
52 raise TwisterHarnessException(msg) from exc
55 logger.error(msg)
56 raise TwisterHarnessException(msg) from exc
58 msg = f'Running subprocess failed {exc}'
59 logger.error(msg)
[all …]
A Dhardware_adapter.py104 logger.error(msg)
105 raise TwisterHarnessException(msg)
121 logger.error(msg)
122 raise TwisterHarnessTimeoutException(msg) from exc
125 logger.error(msg)
126 raise TwisterHarnessTimeoutException(msg) from exc
138 logger.error(msg)
139 raise TwisterHarnessException(msg)
281 logger.error(msg)
282 raise TwisterHarnessException(msg)
[all …]
A Ddevice_adapter.py110 msg = 'Cannot connect to not working device'
111 logger.error(msg)
112 raise TwisterHarnessException(msg)
147 logger.error(msg)
191 logger.error(msg)
217 msg = 'No connection to the device'
218 logger.error(msg)
219 raise TwisterHarnessException(msg)
282 msg = 'west not found'
283 logger.error(msg)
[all …]
A Dutils.py20 def log_command(logger: logging.Logger, msg: str, args: list, level: int = logging.DEBUG) -> None:
33 msg = f'{msg}: %s'
35 logger.log(level, msg, str(args))
37 logger.log(level, msg, shlex.join(args))
A Dqemu_adapter.py41 msg = 'Cannot establish communication with QEMU device.'
42 logger.error(msg)
43 raise TwisterHarnessException(msg)
/scripts/coccinelle/
A Dboolean.cocci49 msg = "WARNING: Violation to rule 14.4 (Controlling expression shall have essentially Boolean type)"
50 coccilib.report.print_report(p[0], msg)
78 msg = "WARNING: Violation to rule 14.4 (Controlling expression shall have essentially Boolean type)"
79 coccilib.report.print_report(p[0], msg)
99 msg = "WARNING: Violation to rule 14.4 (Controlling expression shall have essentially Boolean type)"
100 coccilib.report.print_report(p[0], msg)
A Dsame_identifier.cocci32 msg = "WARNING: Violation to rule 5.7 (Tag name should be unique) tag: {}".format(v)
34 coccilib.report.print_report(p[0], msg)
53 msg = "WARNING: Violation to rule 5.7 (Tag name should be unique) tag: {}".format(v)
55 coccilib.report.print_report(p[0], msg)
74 msg = "WARNING: Violation to rule 5.7 (Tag name should be unique) tag: {}".format(v)
76 coccilib.report.print_report(p[0], msg)
A Dunsigned_lesser_than_zero.cocci25 msg = "WARNING: Unsigned expression compared with zero."
26 coccilib.org.print_todo(p[0], msg)
32 msg = "WARNING: Unsigned expression compared with zero."
33 coccilib.report.print_report(p[0], msg)
A Dreserved_names.cocci47 msg = "WARNING: Violation to rule 21.2 (Should not used a reserved identifier) - {}".format(v)
51 coccilib.report.print_report(p[0], msg)
66 msg = "WARNING: Violation to rule 21.2 (Should not used a reserved identifier) - {}".format(v)
70 coccilib.report.print_report(p[0], msg)
88 msg = "WARNING: Violation to rule 21.2 (Should not used a reserved identifier) - {}".format(v)
92 coccilib.report.print_report(p[0], msg)
A Dint_ms_to_timeout.cocci91 msg = "WARNING: replace constant {} with timeout in {}".format(C, fn)
92 coccilib.report.print_report(p[0], msg);
160 msg = "WARNING: use K_SECONDS() for timeout in {}".format(fn)
161 coccilib.report.print_report(p[0], msg);
169 msg = "NOTE: use K_SECONDS() for timeout in {}".format(fn)
170 coccilib.report.print_report(p[0], msg);
224 msg = "WARNING: replace integer parameter {} with timeout in {}".format(param, fn)
225 coccilib.report.print_report(p[0], msg);
278 msg = "WARNING: replace timeout-valued delay with millisecond duration".format()
279 coccilib.report.print_report(p[0], msg);
[all …]
A Dms_timeout.cocci62 msg = "WARNING: [msl1] replace constant {} with ms duration in {}".format(T, fn)
63 coccilib.report.print_report(p[0], msg);
118 msg = "WARNING: [msl2] replace constant {} with ms duration in {}".format(T, fn)
119 coccilib.report.print_report(p[0], msg);
176 msg = "WARNING: [msl3] replace constant {} with ms duration in {}".format(T, fn)
177 coccilib.report.print_report(p[0], msg);
A Didentifier_length.cocci29msg="WARNING: Violation to rule 5.1 or 5.2 (Identifiers shall be distinct) %s length %d > 31" % (i…
30 coccilib.report.print_report(pos[0], msg)
A Dfind_dev_usage.cocci25 msg = "ERROR: in {} calling {} param with {}, \
27 coccilib.report.print_report(p[0], msg)
29 msg = "WARNING: in {} calling {} param with {}, \
31 coccilib.report.print_report(p[0], msg)
A Dderef_null.cocci97 msg="ERROR: %s is NULL but dereferenced." % (x)
98 coccilib.report.print_report(p[0], msg)
107 msg="ERROR: %s is NULL but dereferenced." % (x)
108 msg_safe=msg.replace("[","@(").replace("]",")")
157 msg="ERROR: %s is NULL but dereferenced." % (x)
158 coccilib.report.print_report(p[0], msg)
166 msg="ERROR: %s is NULL but dereferenced." % (x)
167 msg_safe=msg.replace("[","@(").replace("]",")")
/scripts/pylib/twister/twisterlib/
A Dlog_helper.py16 def log_command(logger, msg, args): argument
29 msg = f'{msg}: %s'
31 logger.debug(msg, str(args))
33 logger.debug(msg, shlex.join(args))
A Derror.py31 msg = f'{cls.__name__} assigned status {value}, which could not be cast to a TwisterStatus.'
32 super().__init__(msg)
A Dcmakecache.py143 msg = 'invalid value {} type {}'
144 raise RuntimeError(msg.format(value, type(value)))
156 msg = 'improper type {} for value {}, expecting CMakeCacheEntry'
157 raise TypeError(msg.format(type(entry), entry))
/scripts/kconfig/
A Dkconfig.py169 msg = f"{sym.name_and_loc} was assigned the value '{user_value}'" \
186 msg += "Check these unsatisfied dependencies: " + \
189 warn(msg + SYM_INFO_HINT.format(sym))
336 def warn(msg): argument
341 print("\n" + textwrap.fill("warning: " + msg, 100) + "\n", file=sys.stderr)
344 def err(msg): argument
345 sys.exit("\n" + textwrap.fill("error: " + msg, 100) + "\n")
/scripts/tracing/
A Dparse_ctf.py56 for msg in msg_it:
58 if not isinstance(msg, bt2._EventMessageConst):
61 ns_from_origin = msg.default_clock_snapshot.ns_from_origin
62 event = msg.event
/scripts/west_commands/
A Dexport.py56 msg = [line for line in lines if not line.startswith('-- ')]
57 self.inf('\n'.join(msg))
A Dzephyr_ext_common.py35 def check_force(self, cond, msg): argument
46 self.err(msg)
/scripts/build/
A Dgen_strsignal_table.py40 msg = match[3]
43 msgs[symbol] = msg
A Dgen_strerror_table.py45 msg = match[3]
48 msgs[symbol] = msg
/scripts/
A Dget_maintainer.py521 def ferr(msg): argument
522 _err("{}: {}".format(maints_path, msg)) # Prepend the filename
592 area_name, e.msg))
633 def _err(msg): argument
634 raise MaintainersError(msg)
637 def _giterr(msg): argument
638 raise GitError(msg)
641 def _serr(msg): argument
644 sys.exit("{}: error: {}".format(sys.argv[0], msg))
/scripts/utils/
A Dmigrate_posix_kconfigs.py106 msg = MESSAGES.get(longest)
107 if msg:

Completed in 19 milliseconds

123