/Zephyr-latest/scripts/logging/dictionary/ |
D | parserlib.py | 22 def parser(logdata, dbfile, logger): argument 27 if not isinstance(logger, logging.Logger): 31 logger.error("ERROR: Cannot open database file: exiting...") 35 logger.error("ERROR: cannot read log from file: exiting...") 40 logger.debug("# Build ID: %s", database.get_build_id()) 41 logger.debug("# Target: %s, %d-bit", database.get_arch(), database.get_tgt_bits()) 43 logger.debug("# Endianness: Little") 45 logger.debug("# Endianness: Big") 49 logger.error("ERROR: there were error(s) parsing log data") 52 logger.error("ERROR: Cannot find a suitable parser matching database version!")
|
D | log_parser_uart.py | 24 logger = logging.getLogger("parser") variable 43 logger.error("ERROR: invalid log database path: %s, exiting...", args.dbfile) 49 logger.setLevel(logging.DEBUG) 51 logger.setLevel(logging.INFO) 60 parserlib.parser(data, args.dbfile, logger)
|
D | log_parser.py | 24 logger = logging.getLogger("parser") variable 65 logger.error("ERROR: Cannot find start of log data, exiting...") 95 logger.error("ERROR: Cannot open binary log data file: %s, exiting...", args.logfile) 111 logger.setLevel(logging.DEBUG) 113 logger.setLevel(logging.INFO) 117 logger.error("ERROR: cannot read log from file: %s, exiting...", args.logfile) 120 parserlib.parser(logdata, args.dbfile, logger)
|
D | database_gen.py | 42 logger = logging.getLogger(os.path.basename(sys.argv[0])) variable 223 logger.info("Found Log Instance: %s, level: %d", instance_name, level) 241 logger.error("Cannot determine endianness from ELF file, exiting...") 258 logger.error("Did not found architecture") 283 logger.error("Cannot find section 'log_const_areas' in ELF file, exiting...") 436 logger.debug('Found string via extraction at ' + PTR_FMT + ': %s', 446 logger.debug('Found null string via extraction at ' + PTR_FMT, 473 logger.debug('Found string variable at ' + PTR_FMT + ': %s', 507 logger.setLevel(logging.DEBUG) 509 logger.setLevel(logging.INFO) [all …]
|
/Zephyr-latest/samples/sensor/sensor_shell/pytest/ |
D | test_sensor_shell.py | 8 logger = logging.getLogger(__name__) variable 12 logger.info('send "sensor info" command') 18 logger.info('response is valid') 22 logger.info('send "sensor get" command') 27 logger.info(f'channel {channel}') 31 logger.info('response is valid') 35 logger.info('send "sensor attr_get" command') 43 logger.info('response is valid') 47 logger.info('send "sensor attr_set" command') 57 logger.info('response is valid') [all …]
|
/Zephyr-latest/scripts/coredump/ |
D | coredump_gdbserver.py | 65 logger = logging.getLogger("parser") 67 logger.setLevel(logging.DEBUG) 69 logger.setLevel(logging.INFO) 71 logger.setLevel(logging.WARNING) 74 logger = logging.getLogger("gdbserver") 76 logger.setLevel(logging.DEBUG) 80 logger.setLevel(logging.INFO) 83 logger = logging.getLogger("gdbstub") 85 logger.setLevel(logging.DEBUG) 87 logger.setLevel(logging.INFO) [all …]
|
/Zephyr-latest/tests/misc/llext-edk/pytest/ |
D | test_edk.py | 16 logger = logging.getLogger(__name__) variable 25 logger.warning("This test requires the Zephyr SDK to be used, skipping") 42 logger.info(output) 47 logger.debug(f"Copying llext-edk.tar.xz to {tempdir}") 52 logger.debug(f"Extracting llext-edk.tar.xz to {tempdir}") 55 logger.info(output) 59 logger.debug(f"Copying extension to {tempdir_extension}") 65 logger.debug(f"Copying file2hex.py to {tempdir_extension}") 77 logger.debug(f"Building extension in {tempdir_extension} - cmake") 80 logger.info(output) [all …]
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | log_helper.py | 15 def log_command(logger, msg, args): argument 25 logger = logging.getLogger("twister") 26 logger.setLevel(logging.DEBUG) 30 logger.debug(msg, str(args)) 32 logger.debug(msg, shlex.join(args)) 35 logger = logging.getLogger("twister") 36 logger.setLevel(logging.DEBUG) 63 logger.addHandler(console_handler) 64 logger.addHandler(file_handler) 68 logger = logging.getLogger("twister") [all …]
|
D | coverage.py | 17 logger = logging.getLogger('twister') variable 18 logger.setLevel(logging.DEBUG) 46 logger.error(f"Unsupported coverage tool specified: {tool}") 49 logger.debug(f"Select {tool} as the coverage tool...") 54 logger.debug(f"Working on {input_file}") 116 logger.debug(f"Generating {len(extracted_coverage_info)} gcda files") 132 logger.exception(f"Unable to convert hex data for file: {filename}") 135 logger.exception(f"Unable to create gcda file: {filename}") 148 logger.debug(f"Gcov data captured: {filename}") 150 logger.error(f"Gcov data invalid for: {filename}") [all …]
|
/Zephyr-latest/tests/kernel/timer/timer_behavior/pytest/ |
D | test_timer.py | 11 logger = logging.getLogger(__name__) variable 15 logger.info('====================================================') 16 logger.info(f'periodic timer behaviour using {test} mechanism:') 48 logger.info(f'min: {stats["min"] * 1_000_000:.6f} us') 49 logger.info(f'max: {stats["max"] * 1_000_000:.6f} us') 50 logger.info(f'mean: {stats["mean"] * 1_000_000:.6f} us') 51 logger.info(f'variance: {stats["var"] * 1_000_000:.6f} us') 52 logger.info(f'stddev: {stats["stddev"] * 1_000_000:.6f} us') 53 logger.info(f'total time: {stats["total_time"] * 1_000_000:.6f} us') 54 logger.info(f'expected drift: {seconds * max_drift_ppm} us') [all …]
|
/Zephyr-latest/tests/boot/with_mcumgr/pytest/ |
D | test_upgrade.py | 15 logger = logging.getLogger(__name__) variable 64 logger.info('Prepare upgrade image') 69 logger.info('Upload image with mcumgr') 73 logger.info('Test uploaded APP image') 86 logger.info('Verify new APP is booted') 91 logger.info('Confirm the image') 100 logger.info('Verify new APP is still booted') 120 logger.info('Prepare upgrade image') 125 logger.info('Upload image with mcumgr') 129 logger.info('Test uploaded APP image') [all …]
|
D | test_downgrade_prevention.py | 14 logger = logging.getLogger(__name__) variable 37 logger.info('Prepare upgrade image with lower version') 41 logger.info('Upload image with mcumgr') 45 logger.info('Test uploaded APP image') 54 logger.info('Verify that the original APP is booted')
|
/Zephyr-latest/tests/bluetooth/classic/sdp_c/pytest/ |
D | test_sdp.py | 41 logger = logging.getLogger(__name__) variable 329 logger.info(f'{str(line)}') 336 logger.error(f'{e}!', exc_info=True) 342 logger.info('<<< SDP Discovery ...') 360 logger.info(f'=== Connecting to {target_address}...') 363 logger.info(f'=== Connected to {connection.peer_address}!') 365 logger.error(f'Fail to connect to {target_address}!') 371 logger.info(f'{lines}') 376 logger.info('<<< SDP Discovery ...') 393 logger.info(f'=== Connecting to {target_address}...') [all …]
|
D | conftest.py | 11 logger = logging.getLogger(__name__) variable 38 logger.info(f"Shell log {line}") 44 logger.error('Fail to get IUT BD address') 49 logger.info('initialized') 55 logger.info('Start running testcase') 57 logger.info('Done')
|
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/samples/pytest/shell/pytest/ |
D | test_shell.py | 9 logger = logging.getLogger(__name__) variable 13 logger.info('send "help" command') 16 logger.info('response is valid') 20 logger.info('send "kernel version" command') 23 logger.info('response is valid')
|
/Zephyr-latest/samples/subsys/testsuite/pytest/shell/pytest/ |
D | test_shell.py | 9 logger = logging.getLogger(__name__) variable 13 logger.info('send "help" command') 16 logger.info('response is valid') 20 logger.info('send "kernel version" command') 23 logger.info('response is valid')
|
/Zephyr-latest/tests/net/socket/tls_configurations/pytest/ |
D | test_app_vs_openssl.py | 10 logger = logging.getLogger(__name__) variable 55 logger.info("Server type: " + server_type) 57 logger.info("Launch command:") 63 logger.error("Server startup failed. Here's the logs from OpenSSL:") 65 logger.error(line) 68 logger.info("Server is up") 75 logger.info("Launch Zephyr application") 79 logger.info("Kill server")
|
/Zephyr-latest/scripts/coredump/coredump_parser/ |
D | log_parser.py | 31 logger = logging.getLogger("parser") variable 107 logger.error(f"Memory block version: {hdr_ver}, expected {COREDUMP_MEM_HDR_VER}!") 129 logger.info("Memory: 0x%x to 0x%x of size %d" % 143 logger.error("Log header ID not found...") 147 logger.error(f"Log version: {hdr_ver}, expected: {COREDUMP_HDR_VER}!") 160 logger.info("Reason: {0}".format(reason_string(reason))) 161 logger.info(f"Pointer size {ptr_size}") 174 logger.error("Cannot parse architecture section") 178 logger.error("Cannot parse threads metadata section") 182 logger.error("Cannot parse memory section") [all …]
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/resources/ |
D | fifo_mock.py | 21 self.logger = logging.getLogger(__name__) 24 self.logger.info(f'Creating fifo file: {self.filename}') 29 self.logger.error(f'Did not able create fifo file: {self.filename}') 32 self.logger.info(f'File created: {self.filename}') 50 self.logger.info(f'Closed file: {self.filename}') 67 logger = logging.getLogger(__name__) 68 logger.info('Start')
|
/Zephyr-latest/tests/subsys/logging/dictionary/pytest/ |
D | test_logging_dictionary.py | 21 logger = logging.getLogger(__name__) variable 33 logger.info(f'Log parser script: {parser_script}') 38 logger.info(f'Dictionary JSON: {dictionary_json}') 59 logger.info(f'Running parser script: {shlex.join(cmd)}') 65 logger.info(f'Decoded logs: {decoded_logs}') 146 logger.info(f'Found: {regex_results[idx].group(0).strip()}') 148 logger.info(f'NOT FOUND: {expected_regex[idx]}') 159 logger.info(f'FPU build? {is_fpu_build}')
|
/Zephyr-latest/samples/subsys/profiling/perf/pytest/ |
D | test_perf.py | 12 logger = logging.getLogger(__name__) variable 19 logger.info('send "perf record 200 99" command') 23 logger.info('response is valid') 25 logger.info('send "perf printbuf" command')
|
/Zephyr-latest/tests/lib/devicetree/memory_region_flags/pytest/ |
D | test_memory_region_flags.py | 16 logger = logging.getLogger(__name__) variable 27 logger.info(label) 30 logger.info(linkercmd) 38 logger.info(node) 41 logger.info(region) 50 logger.info(pattern)
|
/Zephyr-latest/scripts/pylib/shell-twister-harness/ |
D | test_shell.py | 11 logger = logging.getLogger(__name__) variable 30 logger.info('send command: %s', command) 33 logger.debug('no expected response') 41 logger.info('response is valid')
|
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/ |
D | test_nosec.py | 24 logger = logging.getLogger(__name__) variable 30 logger.info("LightweightM2M-1.1-int-101 - Initial Registration") 37 logger.info("LightweightM2M-1.1-int-105 - Discarded Register Update") 40 logger.debug("Skip, requires non-secure connection")
|
/Zephyr-latest/scripts/footprint/ |
D | compare_footprint | 38 logger = None variable 53 global logger 64 logger = logging.getLogger('') 65 logger.addHandler(console) 66 logger.setLevel(level) 116 logger.error(proc.stdout.read()) 125 logger.debug('Sanity (%s) %s' %(commit, cmd)) 131 logger.debug(output) 134 logger.error("Couldn't build footprint apps in commit %s" % commit) 135 logger.error(output) [all …]
|