Home
last modified time | relevance | path

Searched refs:log (Results 1 – 25 of 43) sorted by relevance

12

/scripts/build/
A Dllext_inject_slids.py32 def __init__(self, elf_path, log): argument
33 self.log = log
119 self.log.info(msg)
163 log = logging.getLogger(__file__)
167 log.addHandler(console)
170 log.setLevel(logging.DEBUG)
172 log.setLevel(logging.INFO)
174 log.setLevel(logging.WARNING)
176 return log
181 log = _init_log(args.verbose)
[all …]
A Dllext_prepare_exptab.py134 self.log = log
202 self.log.info("SLID -> export name mapping:")
208 self.log.info(msg)
269 self.log.error(e.args[0])
345 log = logging.getLogger(__file__)
349 log.addHandler(console)
352 log.setLevel(logging.DEBUG)
354 log.setLevel(logging.INFO)
356 log.setLevel(logging.WARNING)
358 return log
[all …]
A Dcheck_init_priorities.py241 self.log = log
284 self.log.error(
288 self.log.info(
331 log = logging.getLogger(__file__)
335 log.addHandler(console)
340 log.addHandler(file)
343 log.setLevel(logging.DEBUG)
345 log.setLevel(logging.INFO)
347 log.setLevel(logging.WARNING)
349 return log
[all …]
A Dgen_isr_tables.py39 log = gen_isr_log() variable
59 def __init__(self, args, syms, log): argument
68 self.__log = log
257 log.error("Could not find symbol table")
268 log.debug("Found intlist section: \"{}\"".format(sname))
272 log.error("Cannot find the intlist section!")
310 log.set_debug(args.debug)
314 config = gen_isr_config(args, get_symbols(kernel), log)
319 parser = parser_module.gen_isr_parser(intlist_data, config, log)
322 parser = parser_module.gen_isr_parser(intlist_data, config, log)
[all …]
A Dcheck_init_priorities_test.py269 validator.log = mock.Mock()
273 self.assertFalse(validator.log.info.called)
274 self.assertFalse(validator.log.warning.called)
275 self.assertFalse(validator.log.error.called)
280 validator.log = mock.Mock()
293 self.assertFalse(validator.log.info.called)
295 self.assertFalse(validator.log.error.called)
300 validator.log = mock.Mock()
316 validator.log.error.assert_has_calls([
324 validator.log = mock.Mock()
[all …]
A Dgen_symtab.py40 log = gen_symtab_log() variable
78 log.error(f"Failed to sanitize function name: {name}")
85 log.set_debug(args.debug)
119 log.debug('%6d: %s %s %.25s' % (
/scripts/west_commands/
A Drun_common.py24 from west import log
52 if log.VERBOSE >= log.VERBOSE_NORMAL:
81 log.die(fmt)
83 log.err(fmt)
85 log.wrn(fmt)
91 log.dbg(fmt, level=log.VERBOSE_EXTREME)
518 log.dbg(f'runner_config: {runner_config}', level=log.VERBOSE_VERY)
628 log.die(e)
788 log.inf()
860 log.inf()
[all …]
A Dbuild_helpers.py18 from west import log
104 log.dbg(f'config dir-fmt: {default}', level=log.VERBOSE_EXTREME)
111 log.dbg(f'build dir: {build_dir}', level=log.VERBOSE_EXTREME)
137 log.dbg(f'{path} is a zephyr build directory',
138 level=log.VERBOSE_EXTREME)
141 log.dbg(f'{path} is NOT a valid zephyr build directory',
142 level=log.VERBOSE_EXTREME)
A Dzcmake.py21 from west import log
46 log.die('CMake is not installed or cannot be found; cannot build.')
61 log.inf('Dry run{}:'.format(in_cwd), quote_sh_list(cmd))
64 log.dbg('Running CMake:', quote_sh_list(cmd), level=log.VERBOSE_NORMAL)
296 log.inf('Dry run:', quote_sh_list(cmd))
302 log.die('cannot get cmake version:', str(cpe))
306 log.die('can\'t get cmake version: ' +
317 log.die('cmake version', version,
322 log.dbg('cmake version', version, 'is OK; minimum version is',
/scripts/
A Dset_assignees.py21 def log(s): function
86 log(f"file: {changed_file.filename}")
109 log(f"Area matches: {area_counter}")
110 log(f"labels: {labels}")
118 log(f"collab: {collab}")
122 log(f"Submitted by: {pr.user.login}")
158 log("+++++++++++++++++++++++++")
164 log(f"adding label {l}...")
229 log(f"Error: Unknown user")
236 log("not setting assignee")
[all …]
/scripts/west_commands/zspdx/
A Dsbom.py8 from west import log
47 log.err(f'cmake api query directory {cmakeApiDirPath} exists and is not a directory')
58 log.err(f'cmake api query file {queryFilePath} exists and is not a directory')
75 log.wrn("config: requested to analyze includes but not to generate SDK SPDX document;")
76 log.wrn("config: will proceed but will discard detected includes for SDK header files")
89 log.err("SPDX walker failed; bailing")
109 log.err("SPDX writer failed for SDK document; bailing")
115 log.err("SPDX writer failed for app document; bailing")
121 log.err("SPDX writer failed for zephyr document; bailing")
127 log.err("SPDX writer failed for build document; bailing")
[all …]
A Dwalker.py10 from west import log
746 log.dbg(
757 log.dbg(
764 log.dbg(
771 log.dbg(
785 log.dbg(
791 log.dbg(
809 log.dbg(
816 log.dbg(
823 log.dbg(
[all …]
A Dcmakecache.py5 from west import log
11 log.dbg(f"parsing CMake cache file at {filePath}")
38 log.err(f"Error loading {filePath}: {str(e)}")
A Dgetincludes.py7 from west import log
19 log.dbg(f" - getting includes for {srcFile}")
35 log.dbg(f" - calling {compilerPath} failed with error code {cp.returncode}")
A Dscanner.py11 from west import log
64 log.dbg(f" - getting licenses for {filePath}")
189 log.dbg(f" - getting copyright info for {filePath}")
202 log.wrn(f"Error getting copyright info for {filePath}: {e}")
216 log.inf(f"scanning files in package {pkg.cfg.name} in document {doc.cfg.name}")
226 log.wrn(f"unable to get hashes for file {f.abspath}; skipping")
A Dutil.py7 from west import log
23 log.dbg(f" - getting hashes for {filePath}")
A Dcmakefileapijson.py8 from west import log
24 log.err('no "reply" field found in index file')
29 log.err('no "codemodel-v2" field found in "reply" object in index file')
40 log.err(f"Error loading {replyIndexPath}: {str(e)}")
43 log.err(f"Error parsing JSON in {replyIndexPath}: {str(e)}")
58 log.err('Error loading CMake API reply: expected "kind":"codemodel" '
68 log.err("Error loading CMake API reply: expected major version 2 "
90 log.err(f"Error loading {codemodelPath}: {str(e)}")
93 log.err(f"Error parsing JSON in {codemodelPath}: {str(e)}")
191 log.err(f"Error loading {targetPath}: {str(e)}")
[all …]
A Dwriter.py8 from west import log
111 log.wrn(f"Unknown external reference ({ref})")
201 log.inf(f"Writing SPDX {spdx_version} document {doc.cfg.name} to {spdxPath}")
205 log.err(f"Error: Unable to write to {spdxPath}: {str(e)}")
211 log.err("Error: created document but unable to calculate hash values")
/scripts/west_commands/fetchers/
A Dhttp.py9 from west import log
20 log.dbg(f'HTTPFetcher fetching {url} to {path}')
25 log.err(f'HTTP error occurred: {e}')
28 log.err(f'An error occurred: {e}')
/scripts/pylib/twister/
A Dscl.py22 log = logging.getLogger("scl") variable
49 log.error("%s:%d:%d: error: %s (note %s context @%s:%d:%d %s)",
68 log.warning("can't import pykwalify; won't validate YAML (%s)", e)
/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
A Dutils.py35 logger.log(level, msg, str(args))
37 logger.log(level, msg, shlex.join(args))
/scripts/tests/build_helpers/
A Dtest_domains.py62 assert all([log in caplog.text for log in expected_logs])
249 assert all([log in caplog.text for log in expected_logs])
/scripts/pylib/twister/twisterlib/
A Dreports.py68 log = f.read().decode("utf-8")
85 log, argument
110 if log:
111 el.text = log
115 if log:
116 el.text = log
185 log = tc.get("log", suite.get("log"))
278 log = ts.get("log")
556 logger.log(
810 lines = log.splitlines()
[all …]
/scripts/ci/
A Dtwister_report_analyzer.py205 def _parse_cmake_build_failure(self, log: str) -> str | None:
207 lines = log.splitlines()
226 def _parse_build_failure(self, log: str) -> str | None:
228 lines = log.splitlines()
282 def _parse_log_with_error_paterns(self, log: str) -> str | None:
283 for line in log.splitlines():
/scripts/tests/twister_blackbox/
A Dtest_tooling.py55 log = f.read()
56 assert f'JOBS: {jobs}' in log

Completed in 38 milliseconds

12