Home
last modified time | relevance | path

Searched refs:err_msg (Results 1 – 25 of 68) sorted by relevance

123

/openbmc/openbmc-test-automation/lib/
H A Dgen_cmd.py66 err_msg = gv.valid_value(cmd_buf)
67 if err_msg != "":
68 raise ValueError(err_msg)
125 gp.print_error_report(err_msg)
128 BuiltIn().fail(err_msg)
130 raise ValueError(err_msg)
345 if err_msg:
346 raise ValueError(err_msg)
442 err_msg = (
446 BuiltIn().fail(err_msg)
[all …]
H A Dfunc_timer.py127 err_msg = "The " + self.__func.__name__
128 err_msg += " function timed out after " + str(self.__time_out)
129 err_msg += " seconds.\n"
131 err_msg += gp.sprint_call_stack()
133 raise ValueError(err_msg)
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dsharedbuffer_configuration.py132 def log_test(test_name, err_msg=None): argument
133 if err_msg:
134 print("\t%s" % err_msg)
205 err_msg = None
214 err_msg = "Other pool setup changed as well"
253 err_msg = None
255 err_msg = "No tc bind for port"
275 err_msg = None
325 err_msg = None
327 err_msg = "No port pool for port"
[all …]
/openbmc/linux/tools/tracing/rtla/src/
H A Dtimerlat_top.c493 err_msg("Error alloc trace event"); in timerlat_top_parse_args()
591 err_msg("rtla needs root permission\n"); in timerlat_top_parse_args()
622 err_msg("Failed to apply CPUs config\n"); in timerlat_top_apply_config()
633 err_msg("Failed to set stop us\n"); in timerlat_top_apply_config()
641 err_msg("Failed to set stop total us\n"); in timerlat_top_apply_config()
650 err_msg("Failed to set timerlat period\n"); in timerlat_top_apply_config()
659 err_msg("Failed to set print stack\n"); in timerlat_top_apply_config()
766 err_msg("Could not init osnoise top\n"); in timerlat_top_main()
772 err_msg("Could not apply config\n"); in timerlat_top_main()
787 err_msg("Failed to set sched parameters\n"); in timerlat_top_main()
[all …]
H A Dtrace.c28 err_msg("Tracer %s not found!\n", tracer_name); in enable_tracer_by_name()
30 err_msg("Failed to enable the %s tracer\n", tracer_name); in enable_tracer_by_name()
47 err_msg("Oops, error disabling tracer\n"); in disable_tracer()
80 err_msg("Failed to open trace file\n"); in save_trace_to_file()
86 err_msg("Failed to create output file %s\n", filename); in save_trace_to_file()
300 err_msg("Error disabling %s:%s filter %s\n", tevent->system, in trace_event_disable_filter()
335 err_msg(" Failed to create %s output file\n", path); in trace_event_save_hist()
380 err_msg("Error disabling %s:%s trigger %s\n", tevent->system, in trace_event_disable_trigger()
434 err_msg("Error enabling %s:%s filter %s\n", tevent->system, in trace_event_enable_filter()
469 err_msg("Error enabling %s:%s trigger %s\n", tevent->system, in trace_event_enable_trigger()
[all …]
H A Dosnoise_top.c436 err_msg("Error alloc trace event"); in osnoise_top_parse_args()
520 err_msg("osnoise needs root permission\n"); in osnoise_top_parse_args()
541 err_msg("Failed to apply CPUs config\n"); in osnoise_top_apply_config()
559 err_msg("Failed to set stop us\n"); in osnoise_top_apply_config()
567 err_msg("Failed to set stop total us\n"); in osnoise_top_apply_config()
575 err_msg("Failed to set tracing_thresh\n"); in osnoise_top_apply_config()
676 err_msg("Could not init osnoise top\n"); in osnoise_top_main()
682 err_msg("Could not apply config\n"); in osnoise_top_main()
690 err_msg("Failed to enable osnoise tracer\n"); in osnoise_top_main()
697 err_msg("Failed to set sched parameters\n"); in osnoise_top_main()
[all …]
H A Dutils.c26 void err_msg(const char *fmt, ...) in err_msg() function
326 err_msg("Command prefix is too long: %d < strlen(%s)\n", in set_comm_sched_attr()
333 err_msg("Could not open procfs\n"); in set_comm_sched_attr()
506 err_msg("Error opening /dev/cpu_dma_latency\n"); in set_cpu_dma_latency()
512 err_msg("Error setting /dev/cpu_dma_latency\n"); in set_cpu_dma_latency()
643 err_msg("Did not find cgroupv2 mount point\n"); in set_pid_cgroup()
651 err_msg("Did not find self cgroup\n"); in set_pid_cgroup()
701 err_msg("Command prefix is too long: %d < strlen(%s)\n", in set_comm_cgroup()
708 err_msg("Did not find cgroupv2 mount point\n"); in set_comm_cgroup()
716 err_msg("Did not find self cgroup\n"); in set_comm_cgroup()
[all …]
H A Dosnoise_hist.c235 err_msg("error reading cpu from histogram\n"); in osnoise_read_trace_hist()
591 err_msg("Error alloc trace event"); in osnoise_hist_parse_args()
689 err_msg("rtla needs root permission\n"); in osnoise_hist_parse_args()
713 err_msg("Failed to apply CPUs config\n"); in osnoise_hist_apply_config()
731 err_msg("Failed to set stop us\n"); in osnoise_hist_apply_config()
739 err_msg("Failed to set stop total us\n"); in osnoise_hist_apply_config()
747 err_msg("Failed to set tracing_thresh\n"); in osnoise_hist_apply_config()
838 err_msg("Could not init osnoise hist\n"); in osnoise_hist_main()
844 err_msg("Could not apply config\n"); in osnoise_hist_main()
852 err_msg("Failed to enable osnoise tracer\n"); in osnoise_hist_main()
[all …]
H A Dtimerlat_hist.c694 err_msg("Error alloc trace event"); in timerlat_hist_parse_args()
812 err_msg("rtla needs root permission\n"); in timerlat_hist_parse_args()
845 err_msg("Failed to apply CPUs config\n"); in timerlat_hist_apply_config()
856 err_msg("Failed to set stop us\n"); in timerlat_hist_apply_config()
864 err_msg("Failed to set stop total us\n"); in timerlat_hist_apply_config()
872 err_msg("Failed to set timerlat period\n"); in timerlat_hist_apply_config()
880 err_msg("Failed to set print stack\n"); in timerlat_hist_apply_config()
986 err_msg("Could not init osnoise hist\n"); in timerlat_hist_main()
992 err_msg("Could not apply config\n"); in timerlat_hist_main()
1007 err_msg("Failed to set sched parameters\n"); in timerlat_hist_main()
[all …]
H A Dtimerlat_u.c55 err_msg("Error setting timerlat u default priority: %s\n", strerror(errno)); in timerlat_u_main()
69 err_msg("Error setting timerlat u cgroup pid\n"); in timerlat_u_main()
82 err_msg("Error opening %s:%s\n", buffer, strerror(errno)); in timerlat_u_main()
118 err_msg("Error killing child process %d\n", procs[i]); in timerlat_u_send_kill()
209 err_msg("Failed to monitor child processes"); in timerlat_u_dispatcher()
H A Dosnoise.c100 err_msg("could not restore original osnoise cpus\n"); in osnoise_restore_cpus()
320 err_msg("Could not restore original osnoise runtime/period\n"); in osnoise_restore_runtime_period()
401 err_msg("Could not restore original osnoise timerlat_period_us\n"); in osnoise_restore_timerlat_period_us()
480 err_msg("Could not restore original osnoise stop_us\n"); in osnoise_restore_stop_us()
560 err_msg("Could not restore original osnoise stop_total_us\n"); in osnoise_restore_stop_total_us()
639 err_msg("Could not restore original osnoise print_stack\n"); in osnoise_restore_print_stack()
718 err_msg("Could not restore original tracing_thresh\n"); in osnoise_restore_tracing_thresh()
828 err_msg("Could not restore original OSNOISE_IRQ_DISABLE option\n"); in osnoise_restore_irq_disable()
889 err_msg("Could not restore original OSNOISE_WORKLOAD option\n"); in osnoise_restore_workload()
1066 err_msg("Could not find osnoise events\n"); in osnoise_init_trace_tool()
[all …]
/openbmc/qemu/pc-bios/s390-ccw/
H A Dscsi.h190 static char err_msg[] = "STATUS=XX"; in scsi_cdb_status_msg() local
193 fill_hex_val(err_msg + 7, &v, 1); in scsi_cdb_status_msg()
194 return err_msg; in scsi_cdb_status_msg()
199 static char err_msg[] = "RSPN=XX KEY=XX CODE=XX QLFR=XX"; in scsi_cdb_asc_msg() local
206 fill_hex_val(err_msg + 5, &sr, 1); in scsi_cdb_asc_msg()
207 fill_hex_val(err_msg + 12, &sk, 1); in scsi_cdb_asc_msg()
208 fill_hex_val(err_msg + 20, &ac, 1); in scsi_cdb_asc_msg()
209 fill_hex_val(err_msg + 28, &cq, 1); in scsi_cdb_asc_msg()
211 return err_msg; in scsi_cdb_asc_msg()
H A Dvirtio-scsi.h58 static char err_msg[] = "VS RESP=XX"; in virtio_scsi_response_msg() local
61 fill_hex_val(err_msg + 8, &v, 1); in virtio_scsi_response_msg()
62 return err_msg; in virtio_scsi_response_msg()
/openbmc/linux/tools/verification/rv/src/
H A Din_kernel.c58 err_msg("ikm: fail read enabled: %d\n", enabled); in ikm_read_enable()
82 err_msg("ikm: writing enabled: %s\n", enable_disable); in ikm_write_enable()
123 err_msg("ikm: error reading monitor %s desc\n", monitor_name); in ikm_read_desc()
144 err_msg("ikm: monitor %s fail to read enable file, bug?\n", name); in ikm_fill_monitor_definition()
150 err_msg("ikm: monitor %s does not have desc file, bug?\n", name); in ikm_fill_monitor_definition()
194 err_msg("ikm: fail reading monitor's %s reactors file\n", monitor_name); in ikm_read_reactor()
254 err_msg("ikm: fail reading monitor's %s format event file\n", monitor_name); in ikm_has_id()
294 err_msg("ikm: error reading %d in kernel monitor, skipping\n", curr); in ikm_list_monitors()
442 err_msg("ikm: failed to read monitor %s event format\n", monitor_name); in ikm_setup_trace_instance()
449 err_msg("ikm: failed to allocate trace instance"); in ikm_setup_trace_instance()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dspin_lock.c13 const char *err_msg; member
71 static void test_spin_lock_fail_prog(const char *prog_name, const char *err_msg) in test_spin_lock_fail_prog() argument
100 ret = match_regex(err_msg, log_buf); in test_spin_lock_fail_prog()
105 fprintf(stderr, "Expected: %s\n", err_msg); in test_spin_lock_fail_prog()
167 spin_lock_fail_tests[i].err_msg); in test_spin_lock()
H A Dcb_refs.c12 const char *err_msg; member
42 if (!ASSERT_OK_PTR(strstr(log_buf, cb_refs_tests[i].err_msg), "expected error message")) { in test_cb_refs()
43 fprintf(stderr, "Expected: %s\n", cb_refs_tests[i].err_msg); in test_cb_refs()
H A Dbpf_nf.c12 const char *err_msg; member
138 static void test_bpf_nf_ct_fail(const char *prog_name, const char *err_msg) in test_bpf_nf_ct_fail() argument
161 if (!ASSERT_OK_PTR(strstr(log_buf, err_msg), "expected error message")) { in test_bpf_nf_ct_fail()
162 fprintf(stderr, "Expected: %s\n", err_msg); in test_bpf_nf_ct_fail()
180 test_bpf_nf_fail_tests[i].err_msg); in test_bpf_nf()
/openbmc/openbmc-test-automation/systest/
H A Dproc_freq_check.robot31 ${err_msg}= Catenate Reported CPU frequency below designated limit.
33 ... msg=${err_msg}
40 ${err_msg}= Catenate Reported CPU frequency above designated limit.
42 ... msg=${err_msg}
/openbmc/linux/drivers/mtd/ubi/
H A Dgluebi.c30 #define err_msg(fmt, ...) \ macro
323 err_msg("gluebi MTD device %d form UBI device %d volume %d already exists", in gluebi_create()
328 err_msg("cannot add MTD device"); in gluebi_create()
357 err_msg("got remove notification for unknown UBI device %d volume %d", in gluebi_remove()
371 err_msg("cannot remove fake MTD device %d, UBI device %d, volume %d, error %d", in gluebi_remove()
402 err_msg("got update notification for unknown UBI device %d volume %d", in gluebi_updated()
429 err_msg("got update notification for unknown UBI device %d volume %d", in gluebi_resized()
487 err_msg("error %d while removing gluebi MTD device %d, UBI device %d, volume %d - ignoring", in ubi_gluebi_exit()
/openbmc/linux/drivers/platform/x86/intel/int3472/
H A Ddiscrete.c159 const char *err_msg; in skl_int3472_handle_gpio_resources() local
205 err_msg = "Failed to map GPIO pin to sensor\n"; in skl_int3472_handle_gpio_resources()
211 err_msg = "Failed to register clock\n"; in skl_int3472_handle_gpio_resources()
217 err_msg = "Failed to register LED\n"; in skl_int3472_handle_gpio_resources()
223 err_msg = "Failed to map regulator to sensor\n"; in skl_int3472_handle_gpio_resources()
238 return dev_err_probe(int3472->dev, ret, err_msg); in skl_int3472_handle_gpio_resources()
/openbmc/u-boot/common/
H A Dimage-sig.c288 char *err_msg = ""; in fit_image_verify_sig() local
299 size, -1, &err_msg); in fit_image_verify_sig()
311 err_msg = "Corrupted or truncated tree"; in fit_image_verify_sig()
319 err_msg, fit_get_name(fit, noffset, NULL), in fit_image_verify_sig()
507 char *err_msg = ""; in fit_config_verify_sig() local
518 conf_noffset, &err_msg); in fit_config_verify_sig()
530 err_msg = "Corrupted or truncated tree"; in fit_config_verify_sig()
539 err_msg, fit_get_name(fit, noffset, NULL), in fit_config_verify_sig()
/openbmc/linux/arch/um/drivers/
H A Dmconsole_kern.c502 char *ptr = req->request.data, *err_msg = ""; in mconsole_remove() local
519 err_msg = "Couldn't parse device number"; in mconsole_remove()
525 err_msg = error; in mconsole_remove()
529 err_msg = NULL; in mconsole_remove()
530 err = (*dev->remove)(n, &err_msg); in mconsole_remove()
533 err_msg = ""; in mconsole_remove()
536 if (err_msg == NULL) in mconsole_remove()
537 err_msg = "Device doesn't exist"; in mconsole_remove()
540 if (err_msg == NULL) in mconsole_remove()
541 err_msg = "Device is currently open"; in mconsole_remove()
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/mm/
H A Dtlbie_test.c45 static void err_msg(char *msg) in err_msg() function
275 err_msg("Unable to create logfile\n"); in start_verification_log()
655 err_msg("Failed shmget\n"); in main()
660 err_msg("Failed shmat"); in main()
665 err_msg("Failed shmat"); in main()
671 err_msg("Failed mkdir"); in main()
702 err_msg("Failed signal handler registration\n"); in main()
/openbmc/qemu/migration/
H A Dmultifd-zlib.c51 const char *err_msg; in zlib_send_setup() local
57 err_msg = "deflate init failed"; in zlib_send_setup()
64 err_msg = "out of memory for zbuff"; in zlib_send_setup()
69 err_msg = "out of memory for buf"; in zlib_send_setup()
81 error_setg(errp, "multifd %u: %s", p->id, err_msg); in zlib_send_setup()
/openbmc/linux/tools/testing/selftests/resctrl/
H A Dresctrl.h40 #define PARENT_EXIT(err_msg) \ argument
42 perror(err_msg); \

123