/scripts/build/ |
A D | llext_inject_slids.py | 32 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 D | llext_prepare_exptab.py | 134 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 D | check_init_priorities.py | 241 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 D | gen_isr_tables.py | 39 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 D | check_init_priorities_test.py | 269 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 D | gen_symtab.py | 40 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 D | run_common.py | 24 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 D | build_helpers.py | 18 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 D | zcmake.py | 21 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 D | set_assignees.py | 21 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 D | sbom.py | 8 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 D | walker.py | 10 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 D | cmakecache.py | 5 from west import log 11 log.dbg(f"parsing CMake cache file at {filePath}") 38 log.err(f"Error loading {filePath}: {str(e)}")
|
A D | getincludes.py | 7 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 D | scanner.py | 11 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 D | util.py | 7 from west import log 23 log.dbg(f" - getting hashes for {filePath}")
|
A D | cmakefileapijson.py | 8 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 D | writer.py | 8 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 D | http.py | 9 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 D | scl.py | 22 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 D | utils.py | 35 logger.log(level, msg, str(args)) 37 logger.log(level, msg, shlex.join(args))
|
/scripts/tests/build_helpers/ |
A D | test_domains.py | 62 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 D | reports.py | 68 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 D | twister_report_analyzer.py | 205 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 D | test_tooling.py | 55 log = f.read() 56 assert f'JOBS: {jobs}' in log
|