/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/tests/misc/llext-edk/pytest/ |
D | test_edk.py | 15 logger = logging.getLogger(__name__) variable 21 logger.warning("ZEPHYR_SDK_INSTALL_DIR is not set, skipping test") 36 logger.info(output) 41 logger.debug(f"Copying llext-edk.tar.xz to {tempdir}") 46 logger.debug(f"Extracting llext-edk.tar.xz to {tempdir}") 49 logger.info(output) 53 logger.debug(f"Copying extension to {tempdir_extension}") 59 logger.debug(f"Copying file2hex.py to {tempdir_extension}") 70 logger.debug(f"Building extension in {tempdir_extension} - cmake") 73 logger.info(output) [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/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') 35 logger.info('response is valid') 39 logger.info('send "sensor attr_get" command') 47 logger.info('response is valid') 51 logger.info('send "sensor attr_set" command') 61 logger.info('response is valid') 65 logger.info('send "sensor trig" command') [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 57 logger.info('Prepare upgrade image') 62 logger.info('Upload image with mcumgr') 66 logger.info('Test uploaded APP image') 78 logger.info('Verify new APP is booted') 83 logger.info('Confirm the image') 92 logger.info('Verify new APP is still booted') 112 logger.info('Prepare upgrade image') 117 logger.info('Upload image with mcumgr') 121 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/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/samples/boards/nordic/coresight_stm/pytest/ |
D | test_stm.py | 16 logger = logging.getLogger(__name__) variable 49 logger.debug(f"{SB_CONFIG_APP_CPUPPR_RUN=}") 50 logger.debug(f"{SB_CONFIG_APP_CPUFLPR_RUN=}") 104 logger.exception(f'Could not kill nrfutil - {e}') 116 logger.debug(f"Using serial: {UART_PATH}") 119 logger.warning("Output file already exists!") 123 logger.debug(f"{BUILD_DIR=}") 130 logger.debug(f"{config_str=}") 140 logger.info(f"Executing:\n{cmd}") 143 logger.error(f"Unable to start nrfutil trace:\n{cmd}\n{exc}")
|
/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/scripts/pylib/twister/twisterlib/ |
D | log_helper.py | 13 def log_command(logger, msg, args): argument 25 logger.debug(msg, str(args)) 27 logger.debug(msg, shlex.join(args))
|
D | twister_main.py | 24 logger = logging.getLogger("twister") variable 25 logger.setLevel(logging.DEBUG) 54 logger.addHandler(ch) 55 logger.addHandler(fh) 126 logger.error(f"{e}") 135 logger.error(f"{e}") 148 logger.debug( 164 logger.error("The report summary value cannot be less than 0") 176 logger.info(f"Completed in {duration} seconds") 222 logger.info("Skipping coverage report generation due to --build-only.") [all …]
|
/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/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 …]
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/device/ |
D | hardware_adapter.py | 25 logger = logging.getLogger(__name__) variable 101 logger.error(msg) 108 logger.debug('Flashing device %s', self.device_config.id) 109 log_command(logger, 'Flashing command', self.command, level=logging.DEBUG) 118 logger.error(msg) 122 logger.error(msg) 132 logger.debug('Flashing finished') 135 logger.error(msg) 140 logger.debug('Opening serial connection for %s', serial_name) 151 logger.exception('Cannot open connection: %s', exc) [all …]
|
/Zephyr-latest/scripts/dts/ |
D | edtlib_logger.py | 31 logger = logging.getLogger('edtlib') 32 logger.setLevel(logging.WARNING) 33 logger.addHandler(handler)
|