Home
last modified time | relevance | path

Searched refs:logger (Results 1 – 25 of 531) sorted by relevance

12345678910>>...22

/openbmc/openbmc-build-scripts/scripts/
H A Dget_unit_test_report.py149 logger = logging.getLogger(__name__) variable
163 logger.addHandler(console_handler)
164 logger.addHandler(file_handler)
172 logger.error("Unable to create report directory: " + report_dir)
173 logger.error(str(e))
184 logger.debug(output)
186 logger.error(e.output)
187 logger.error(e.cmd)
188 logger.error("Unable to clone openbmc-build-scripts")
198 logger.error("ERROR: Unable to get sandbox name for url " + url)
[all …]
/openbmc/openbmc/poky/scripts/
H A Dyocto-check-layer33 logger = scriptutils.logger_create(PROGNAME, stream=sys.stdout) variable
37 logger.info("Starting to analyze: %s" % layer['name'])
38 logger.info("----------------------------------------------------------------------")
40 …tc = CheckLayerTestContext(td=td, logger=logger, layer=layer, test_software_layer_signatures=test_…
45 logger.debug("Found layer %s (%s)" % (layer["name"], layer["path"]))
48 logger.debug("%s collections: %s" % (layer["name"], ", ".join(collections)))
88 logger.addHandler(fh)
90 logger.setLevel(logging.DEBUG)
92 logger.setLevel(logging.ERROR)
95 logger.error("You must source the environment before running this script.")
[all …]
H A Dinstall-buildtools56 logger = scriptutils.logger_create(PROGNAME, stream=sys.stdout) variable
66 logger.error("This script requires Python 3.4 or greater")
67 logger.error("You have Python %s.%s" %
190 logger.setLevel(logging.DEBUG)
192 logger.setLevel(logging.ERROR)
195 logger.debug("--url and --filename detected. Ignoring --base-url "
208 logger.debug("milestone regex: %s" % m)
210 logger.debug("release[distro]: %s" % m.group('distro'))
211 logger.debug("release[version]: %s" % m.group('version'))
212 logger.debug("release[milestone]: %s" % m.group('milestone'))
[all …]
H A Doe-publish-sdk25 logger = scriptutils.logger_create('sdktool') variable
35 logger.debug("In publish function")
38 logger.debug("target_sdk = %s, update_server = %s" % (target_sdk, destination))
43 logger.error("Specified SDK %s doesn't exist" % target_sdk)
46 logger.error("%s is a directory - expected path to SDK installer file" % target_sdk)
59 logger.debug("Making sure the destination directory exists")
66 logger.error("Making directory %s on %s failed" % (destdir, host))
70 logger.info("Copying the SDK to destination")
82 logger.error("scp %s %s failed" % (target_sdk, destination))
86 logger.info("Unpacking SDK")
[all …]
H A Drunqemu38 logger = logging.getLogger('runqemu')
39 logger.setLevel(logging.INFO)
52 logger.addHandler(ch)
54 return logger
56 logger = create_logger() variable
230 logger.debug("Acquiring lockfile %s..." % self.taplock)
237 logger.error(msg)
239 logger.info(msg)
248 logger.debug("Releasing lockfile for tap device '%s'" % self.tap)
276 logger.debug("Acquiring lockfile %s..." % lockfile)
[all …]
H A Dcombo-layer30 logger = logging.getLogger("")
33 logger.addHandler(loggerhandler)
34 logger.setLevel(logging.INFO)
35 return logger
37 logger = logger_create() variable
79 logger.debug("Loading config file %s" % self.conffile)
105 logger.debug("Combo layer branch is %s" % self.combobranch)
108 logger.debug("Loading local config file %s" % self.localconffile)
160 logger.error("configuration file %s has the following error: %s" % (self.conffile,msg))
162logger.error("local configuration file %s may be missing configuration for combo branch %s" % (sel…
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dhttpserver.py16 def server_start(self, root_dir, logger): argument
18 self.logger = logger
24 self.server.logger.info(format_str, *args)
28 def __init__(self, root_dir, host='', port=0, logger=None): argument
32 if logger:
33 self.logger = logger.getChild("HTTPService")
35 self.logger = logging.getLogger("HTTPService")
39 …self.logger.info("Not starting HTTPService for directory %s which doesn't exist" % (self.root_dir))
45 …ocess = multiprocessing.Process(target=self.server.server_start, args=[self.root_dir, self.logger])
50 self.logger.warn("Exception when handling %s: %s" % (request, exception))
[all …]
H A Dqemurunner.py47 …, display, tmpdir, deploy_dir_image, logfile, boottime, dump_dir, use_kvm, logger, use_slirp=False, argument
86 self.logger = logger
117 … self.logger.debug("Created listening socket for qemu serial console on: 127.0.0.1:%s" % port)
139 self.logger.error('runqemu exited with code %d' % self.runqemu.returncode)
140 self.logger.error('Output from runqemu:\n%s' % getOutput(self.runqemu.stdout))
151 self.logger.error("Invalid rootfs %s" % self.rootfs)
154 self.logger.error("Invalid TMPDIR path %s" % self.tmpdir)
159 self.logger.error("Invalid DEPLOY_DIR_IMAGE path %s" % self.deploy_dir_image)
170 self.logger.debug('Using kvm for runqemu')
173 self.logger.debug('Not using kvm for runqemu')
[all …]
/openbmc/openbmc-test-automation/ffdc/
H A Dffdc_collector.py169 self.logger = None
190 self.logger.error(e)
194 self.logger.error(
203 self.logger.info("\n\tENV: User define input YAML variables")
219 self.logger.error("\tEXCEPTION redfishtool: %s", e)
225 self.logger.error("\tEXCEPTION ipmitool: %s", e)
228 self.logger.info("\n\t---- Script host environment ----")
229 self.logger.info(
232 self.logger.info(
235 self.logger.info(
[all …]
/openbmc/linux/net/netfilter/
H A Dnf_log.c25 #define nft_log_dereference(logger) \ argument
26 rcu_dereference_protected(logger, lockdep_is_held(&nf_log_mutex))
45 int nf_log_set(struct net *net, u_int8_t pf, const struct nf_logger *logger) in nf_log_set() argument
55 rcu_assign_pointer(net->nf.nf_loggers[pf], logger); in nf_log_set()
63 void nf_log_unset(struct net *net, const struct nf_logger *logger) in nf_log_unset() argument
71 if (log == logger) in nf_log_unset()
79 int nf_log_register(u_int8_t pf, struct nf_logger *logger) in nf_log_register() argument
91 if (rcu_access_pointer(loggers[i][logger->type])) { in nf_log_register()
97 rcu_assign_pointer(loggers[i][logger->type], logger); in nf_log_register()
99 if (rcu_access_pointer(loggers[pf][logger->type])) { in nf_log_register()
[all …]
/openbmc/linux/drivers/platform/chrome/
H A Dcros_usbpd_logger.c62 static struct ec_response_pd_log *ec_get_log_entry(struct logger_data *logger) in ec_get_log_entry() argument
64 struct cros_ec_dev *ec_dev = logger->ec_dev; in ec_get_log_entry()
68 msg = (struct cros_ec_command *)logger->ec_buffer; in ec_get_log_entry()
170 struct logger_data *logger = container_of(to_delayed_work(work), in cros_usbpd_log_check() local
173 struct device *dev = logger->dev; in cros_usbpd_log_check()
179 r = ec_get_log_entry(logger); in cros_usbpd_log_check()
191 queue_delayed_work(logger->log_workqueue, &logger->log_work, in cros_usbpd_log_check()
199 struct logger_data *logger; in cros_usbpd_logger_probe() local
201 logger = devm_kzalloc(dev, sizeof(*logger), GFP_KERNEL); in cros_usbpd_logger_probe()
202 if (!logger) in cros_usbpd_logger_probe()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Dtoasterui.py34 logger = logging.getLogger("ToasterLogger") variable
41 logger.error("Unable to get the value of BBINCLUDELOGS variable: %s", error)
45 logger.error("Unable to get the value of BBINCLUDELOGS_LINES variable: %s", error)
49 logger.error("Unable to get the value of BB_CONSOLELOG variable: %s", error)
74 logger.addHandler(build_log)
83 logger.removeHandler(build_log)
149 logger.addHandler(console)
150 logger.setLevel(logging.INFO)
154 logger.error("can't set event mask: %s", error)
162logger.warning("buildhistory is not enabled. Please enable INHERIT += \"buildhistory\" to see imag…
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/asyncrpc/
H A Dserv.py30 def __init__(self, socket, proto_name, logger): argument
36 self.logger = ClientLoggerAdapter(
37 logger,
52 self.logger.info("Client %r connected" % (self.socket.address,))
61 self.logger.debug("Rejecting invalid protocol %s" % (self.proto_name))
66 self.logger.debug(
103 self.logger.info(str(e))
105 self.logger.error(str(e))
112 self.logger.debug("Handling %s" % k)
122 def __init__(self, handler, logger): argument
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/tests/support/
H A Dhttpserver.py15 def server_start(self, root_dir, logger): argument
26 def __init__(self, root_dir, host='', port=0, logger=None): argument
30 if not logger:
31 logger = logging.getLogger()
32 self.logger = logger
37 …self.logger.info("Not starting HTTPService for directory %s which doesn't exist" % (self.root_dir))
43 …ocess = multiprocessing.Process(target=self.server.server_start, args=[self.root_dir, self.logger])
53 if self.logger:
54 self.logger.info("Started HTTPService on %s:%s" % (self.host, self.port))
63 if self.logger:
[all …]
/openbmc/qemu/tests/avocado/
H A Dreverse_debugging.py39 logger = logging.getLogger('replay')
43 logger.info('recording the execution...')
46 logger.info('replaying the execution...')
57 logger=self.log.getChild('console'),
103 logger = logging.getLogger('replay')
106 logger.info('creating qcow2 image for VM snapshots')
127 logger.info("recorded log with %s+ steps" % last_icount)
131 logger.info('connecting to gdbstub')
142 logger.info('stepping forward')
147 logger.info('saving position %x' % pc)
[all …]
/openbmc/openbmc/poky/scripts/esdk-tools/
H A Drunqemu38 logger = logging.getLogger('runqemu')
39 logger.setLevel(logging.INFO)
52 logger.addHandler(ch)
54 return logger
56 logger = create_logger() variable
230 logger.debug("Acquiring lockfile %s..." % self.taplock)
237 logger.error(msg)
239 logger.info(msg)
248 logger.debug("Releasing lockfile for tap device '%s'" % self.tap)
276 logger.debug("Acquiring lockfile %s..." % lockfile)
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/core/
H A Drunner.py19 def __init__(self, logger): argument
20 self.logger = logger
29 self.logger.log(logging.INFO, self.buffer)
32 self.logger.log(logging.INFO, msg)
35 for handler in self.logger.handlers:
70 self.tc.logger.info(self.progressinfo[test.id()])
77 self.tc.logger.info(str(msg))
83 self.tc.logger.info("SUMMARY:")
84 self.tc.logger.info("%s (%s) - Ran %d test%s in %.3fs" % (component,
93 self.tc.logger.info(msg)
[all …]
/openbmc/openbmc/poky/scripts/lib/resulttool/
H A Dregression.py152 def can_be_compared(logger, base, target): argument
166logger.error(f"ERROR: did not manage to guess oeselftest metadata for {base_configuration['STARTTI…
168 logger.debug(f"Enriching {base_configuration['STARTTIME']} with {guess}")
173logger.error(f"ERROR: did not manage to guess oeselftest metadata for {target_configuration['START…
175 logger.debug(f"Enriching {target_configuration['STARTTIME']} with {guess}")
201 def compare_result(logger, base_name, target_name, base_result, target_result, display_limit=None): argument
225 logger.error('Failed to retrieved base test case status: %s' % k)
269 def get_results(logger, source): argument
272 def regression(args, logger): argument
273 base_results = get_results(logger, args.base_result)
[all …]
/openbmc/openbmc/poky/documentation/tools/
H A Dupdate-documentation-conf21 logger = logging.getLogger(name)
24 logger.addHandler(loggerhandler)
25 logger.setLevel(logging.INFO)
26 return logger
27 logger = logger_create('docconfupdater')
37 logger.setLevel(logging.WARN)
40 logger.error('Specified base path %s not found')
45 logger.error('Unable to find %s' % doc_conf)
62 logger.warn('Invalid info line (no = character), ignoring: %s' % infoline)
66 logger.warn('Invalid info line (no varflag), ignoring: %s' % infoline)
[all …]
/openbmc/openbmc/poky/bitbake/lib/bblayers/
H A Dlayerindex.py16 logger = logging.getLogger('bitbake-layers') variable
45 logger.error("Failed to download %s (%s)" % (url, branch))
50 logger.plain("Repository %s needs to be fetched" % url)
61 logger.error("Unable to validate repo %s (%s)" % (repodir, stderr))
68 logger.warning("There are uncommitted changes in repo %s" % repodir)
73 logger.error("Unable to automatically switch %s to desired branch '%s' (%s)"
80 logger.error("%s is not in %s" % (url, subdir))
109 logger.debug('Trying branches: %s' % branches)
122 logger.plain("You already have the requested layer(s): %s" % args.layername)
131 logger.error("Cannot get BBLAYERS_LAYERINDEX_URL")
[all …]
/openbmc/openbmc/poky/scripts/lib/wic/plugins/source/
H A Dbootimg-efi.py27 logger = logging.getLogger('wic') variable
48 logger.debug("initrd files:\n%s" % (out))
50 logger.debug("Ignoring missing initrd")
57 logger.debug("dtb files:\n%s" % (out))
71 logger.debug("Using custom configuration file "
119 logger.debug("Writing grubefi config %s/hdd/boot/EFI/BOOT/grub.cfg",
150 logger.debug("Writing systemd-boot config "
154 logger.debug("loader.conf:\n%s" % (loader_conf))
170 logger.debug("Using custom configuration file "
205 logger.debug("Writing systemd-boot config "
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/core/target/
H A Dssh.py17 def __init__(self, logger, ip, server_ip, timeout=300, user='root', argument
19 if not logger:
20 logger = logging.getLogger('target')
21 logger.setLevel(logging.INFO)
28 logger.addHandler(fileHandler)
30 super(OESSHTarget, self).__init__(logger)
62 self.logger.debug("[Running]$ %s" % " ".join(command))
65 status, output = SSHCall(command, self.logger, timeout, raw)
66 self.logger.debug("[Command returned '%d' after %.2f seconds]"
96 … self.logger.debug('Command: %s\nStatus: %d Output length: %s\n' % (command, status, len(output)))
[all …]
/openbmc/qemu/python/qemu/qmp/
H A Dprotocol.py207 logger = logging.getLogger(__name__) variable in AsyncProtocol
220 self.logger = self.logger.getChild(self.name)
397 self.logger.debug("disconnect() called.")
427 self.logger.error("%s: %s", emsg, exception_summary(err))
428 self.logger.debug("%s:\n%s\n", emsg, pretty_traceback())
443 self.logger.critical("%s:\n%s\n", emsg, pretty_traceback())
481 self.logger.debug("Transitioning from '%s' to '%s'.",
496 self.logger.debug("Stopping server.")
498 self.logger.debug("Server stopped.")
518 self.logger.debug("Incoming connection from %s", peer)
[all …]
/openbmc/openbmc/poky/scripts/contrib/
H A Dimage-manifest26 logger = scriptutils.logger_create(os.path.basename(__file__)) variable
32 logger.error("Unable to find bitbake by searching parent directory of this script or PATH")
34 logger.debug('Using standard bitbake path %s' % bitbakepath)
62 logger.info('skipping %s' % pkg)
67 logger.debug('pkgdatafile %s' % pkgdatafile)
75 logger.warning('%s is missing' % pkgdatafile)
92 tinfoil.logger.setLevel(logger.getEffectiveLevel())
144 tinfoil.logger.setLevel(logger.getEffectiveLevel())
150 logger.debug('layername %s, layerdir %s' % (layername, layerdir))
152 logger.warning('layername %s is not unique in configuration' % layername)
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dmanifest.py28 self.logger.debug("{}: looking for {}"\
32 self.logger.debug("{}: {} not found"\
35 self.logger.debug("{}: checking of {} failed"\
47 self.logger.debug("{}: {} points to {} when target = {}"\
59 self.logger.info("{}: doing bitbake {} as a prerequisite of the test"\
62 self.logger.debug("{} Failed to setup {}"\
74 self.logger.debug("{}: doing bitbake {} as a prerequisite of the test"\
77 self.logger.debug("{} Failed to bitbake {}"\
95 self.logger.debug("{}: {} does not exist".format(
105 self.logger.debug("{}: {} does not exist".format(
[all …]

12345678910>>...22