blob: 5e4b3683a7aa688802acd904a730dc9444578626 [file] [log] [blame]
// The errors that pertain to the I18N system.
// File issues at: https://bugs.fuchsia.dev/p/fuchsia/issues/list?q=component%3AI18N
{
act: {
// Every component should be able to find its tzdata configuration, to ensure that all
// components that need them use exactly the same data. This is not fatal, but we must
// ensure that, in the limit, all such components get their tzdata configs, for the best
// user experience.
icu_config_absent: {
type: "Warning",
trigger: "SyslogHas('/config/data/tzdata/icu/44/le')",
print: "INTL: A component can not find the tzdata configuration. See: https://fuchsia.dev/fuchsia-src/development/internationalization/icu_data",
},
icu_error: {
type: "Warning",
trigger: "SyslogHas('ICU error:.*')",
print: "INTL: Internal ICU error.",
}
},
test: {
test_tzdata_config_absent: {
yes: [
"icu_config_absent",
],
syslog: "1/30/2020, 2:31:13 PM [46274][46278][cast_agent_exe] ERROR: icu_util.cc(227) Could not open: '/config/data/tzdata/icu/44/le', proceeding without loading the timezone database: No such file or directory (2)",
},
test_tzdata_config_absent: {
yes: [
"icu_config_absent",
],
syslog: "1/30/2020, 2:31:19 PM [55718][55720][web_engine_exe] ERROR: icu_util.cc(227) Could not open: '/config/data/tzdata/icu/44/le', proceeding without loading the timezone database: No such file or directory (2)",
},
test_tzdata_config_absent: {
no: [
"icu_config_absent",
],
syslog: "1/30/2020, 2:31:19 PM [55718][55720][web_engine_exe] ERROR: icu_util.cc(227) Could not open: '', proceeding without loading the timezone database: No such file or directory (2)",
},
icu_error: {
yes: [
"icu_error",
],
syslog: "1/30/2020, 2:31:19 PM [55718][55720][time_zone_info_service] ERROR: time_zone_info_service.cc(466) ICU error: U_FILE_ACCESS_ERROR",
},
icu_error: {
no: [
"icu_error",
],
syslog: "1/30/2020, 2:31:19 PM [55718][55720][news_reader] INFO: reader.cc(466) Article: Hospital ICU errors -- Can they happen to you?",
},
},
}