Home
last modified time | relevance | path

Searched full:timeout (Results 1 – 25 of 1762) sorted by relevance

12345678910>>...71

/openbmc/openbmc-test-automation/lib/
H A Dredfish_request.py67 def request_login(self, headers, url, credential, timeout=10): argument
81 timeout By default timeout is set to 10 seconds.
82 If user assign the timeout, then default timeout
106 def request_get(self, headers, url, timeout=10, verify=False): argument
115 timeout By default timeout is set to 10 seconds.
116 If user assign the timeout, then default timeout value
136 + " ,timeout = "
137 + str(timeout)
144 url, headers=headers, timeout=timeout, verify=verify
150 def request_patch(self, headers, url, data=None, timeout=10, verify=False): argument
[all …]
H A Drest_client.robot32 [Arguments] ${uri} ${timeout}=30 ${quiet}=${QUIET} &{kwargs}
36 # timeout Timeout in seconds to establish connection with URI.
43 Initialize OpenBMC ${timeout} quiet=${quiet}
50 … ${resp}= GET On Session openbmc ${base_uri} &{kwargs} timeout=${timeout} expected_status=any
59 [Arguments] ${uri} ${timeout}=10 ${quiet}=${QUIET} &{kwargs}
63 # timeout Timeout in seconds to establish connection with URI.
70 Initialize OpenBMC ${timeout} quiet=${quiet}
77 ${ret}= POST On Session openbmc ${base_uri} &{kwargs} timeout=${timeout}
84 [Arguments] ${uri} ${timeout}=10 &{kwargs}
88 # timeout Timeout in seconds to establish connection with URI.
[all …]
/openbmc/openbmc-tools/adcapp/src/
H A DEINTR_wrappers.c36 struct timespec EndTime, Timeout; member
39 static void sigwrap_InitTimeout(SIGWRAP_TIMEOUT *pDst, const struct timespec *timeout) in sigwrap_InitTimeout() argument
41 pDst->Timeout = *timeout; in sigwrap_InitTimeout()
43 …if ((timeout->tv_sec == 0) && (timeout->tv_nsec == 0)) // If both value are zero … in sigwrap_InitTimeout()
55 …pDst->EndTime.tv_sec = Now.tv_sec + pDst->Timeout.tv_sec; // Check necessary in 2038… in sigwrap_InitTimeout()
56 pDst->EndTime.tv_nsec = Now.tv_nsec + pDst->Timeout.tv_nsec; in sigwrap_InitTimeout()
78 pTo->Timeout.tv_nsec = pTo->EndTime.tv_nsec - Now.tv_nsec; in sigwrap_CheckTimeout()
79 pTo->Timeout.tv_sec = pTo->EndTime.tv_sec - Now.tv_sec; in sigwrap_CheckTimeout()
81 if (pTo->Timeout.tv_sec == 0) in sigwrap_CheckTimeout()
83 if (pTo->Timeout.tv_nsec <= 0) in sigwrap_CheckTimeout()
[all …]
/openbmc/openbmc-tools/pwmtachtool/src/
H A DEINTR_wrappers.c36 struct timespec EndTime, Timeout; member
39 static void sigwrap_InitTimeout(SIGWRAP_TIMEOUT *pDst, const struct timespec *timeout) in sigwrap_InitTimeout() argument
41 pDst->Timeout = *timeout; in sigwrap_InitTimeout()
43 …if ((timeout->tv_sec == 0) && (timeout->tv_nsec == 0)) // If both value are zero … in sigwrap_InitTimeout()
55 …pDst->EndTime.tv_sec = Now.tv_sec + pDst->Timeout.tv_sec; // Check necessary in 2038… in sigwrap_InitTimeout()
56 pDst->EndTime.tv_nsec = Now.tv_nsec + pDst->Timeout.tv_nsec; in sigwrap_InitTimeout()
78 pTo->Timeout.tv_nsec = pTo->EndTime.tv_nsec - Now.tv_nsec; in sigwrap_CheckTimeout()
79 pTo->Timeout.tv_sec = pTo->EndTime.tv_sec - Now.tv_sec; in sigwrap_CheckTimeout()
81 if (pTo->Timeout.tv_sec == 0) in sigwrap_CheckTimeout()
83 if (pTo->Timeout.tv_nsec <= 0) in sigwrap_CheckTimeout()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/directfb/directfb/
H A D0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch56 struct timeval timeout = { 0, 125000 };
59 /* select() timeout? */
75 - timeout_passed( &state->timeout, &levt->time )) {
76 + timeout_passed( &state->timeout, &tval )) {
78 devt->timestamp = state->timeout; /* timeout of levt->time? */
84 - state->timeout = levt->time;
85 + state->timeout.tv_sec = levt->input_event_sec;
86 + state->timeout.tv_usec = levt->input_event_usec;
87 timeout_add( &state->timeout, &timeout );
94 - if (!timeout_passed( &state->timeout, &levt->time )) {
[all …]
/openbmc/u-boot/drivers/misc/
H A Dfsl_sec_mon.c19 int timeout = 10; in set_sec_mon_state_non_sec() local
35 while (timeout) { in set_sec_mon_state_non_sec()
43 timeout--; in set_sec_mon_state_non_sec()
46 if (timeout == 0) { in set_sec_mon_state_non_sec()
47 printf("SEC_MON state transition timeout.\n"); in set_sec_mon_state_non_sec()
64 while (timeout) { in set_sec_mon_state_non_sec()
72 timeout--; in set_sec_mon_state_non_sec()
75 if (timeout == 0) { in set_sec_mon_state_non_sec()
76 printf("SEC_MON state transition timeout.\n"); in set_sec_mon_state_non_sec()
80 timeout = 10; in set_sec_mon_state_non_sec()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/glib-2.0/files/
H A Dskip-timeout.patch4 Subject: [PATCH] Skip /timeout/rounding test
6 This test is sensitive to load because it expects certain timeout operations
15 glib/tests/timeout.c | 1 -
18 diff --git a/glib/tests/timeout.c b/glib/tests/timeout.c
20 --- a/glib/tests/timeout.c
21 +++ b/glib/tests/timeout.c
23 g_test_add_func ("/timeout/seconds-once", test_seconds_once);
24 g_test_add_func ("/timeout/weeks-overflow", test_weeks_overflow);
25 g_test_add_func ("/timeout/far-future-ready-time", test_far_future_ready_time);
26 - g_test_add_func ("/timeout/rounding", test_rounding);
/openbmc/openbmc/meta-openembedded/meta-python/recipes-extended/python-blivet/python3-blivet/
H A D0003-support-infinit-timeout.patch4 Subject: [PATCH 03/11] support infinit timeout
21 +# timeout = -1 means infinite timeout, always wait.
22 def timeout_command(argv, timeout, *args, **kwargs):
24 if it doesn't normally exit within timeout seconds and return None"""
25 @@ -182,7 +183,7 @@ def timeout_command(argv, timeout, *args, **kwargs):
29 - if (now - start).seconds> timeout:
30 + if timeout != -1 and (now - start).seconds> timeout:
33 program_log.debug("%d seconds timeout" % timeout)
34 @@ -196,7 +197,7 @@ def timeout_command(argv, timeout, *args, **kwargs):
39 …gv, root='/', stdin=None, env_prune=None, stderr_to_stdout=False, binary_output=False, timeout=10):
[all …]
H A D0005-fix-incorrect-timeout-while-system-time-changed.patch4 Subject: [PATCH 05/11] fix incorrect timeout while system time changed
7 breaks with incorrect timeout.
11 |01:40:55,086 DEBUG program: 10 seconds timeout
28 @@ -176,14 +176,14 @@ def timeout_command(argv, timeout, *args, **kwargs):
30 if it doesn't normally exit within timeout seconds and return None"""
40 - if timeout != -1 and (now - start).seconds> timeout:
42 + if timeout != -1 and count > timeout*10:
45 program_log.debug("%d seconds timeout" % timeout)
/openbmc/u-boot/board/micronas/vct/
H A Dsmc_eeprom.c73 int timeout = req_to; in mac_busy() local
75 while (timeout--) { in mac_busy()
79 return 1; /* Timeout */ in mac_busy()
82 return 0; /* No timeout */ in mac_busy()
98 printf("get_mac_reg: timeout waiting for response from MAC\n"); in get_mac_reg()
138 ulong timeout = 100000; in eeprom_read_location() local
150 while ((timeout > 0) && (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_)) { in eeprom_read_location()
152 timeout--; in eeprom_read_location()
155 if (timeout == 0) { in eeprom_read_location()
156 printf("Timeout\n"); in eeprom_read_location()
[all …]
/openbmc/sdbusplus/test/event/
H A Devent.cpp17 static constexpr auto timeout = 250ms; in TEST_F() local
20 ev.run_one(timeout); in TEST_F()
23 EXPECT_TRUE(stop - start > timeout); in TEST_F()
24 EXPECT_TRUE(stop - start < timeout * 3); in TEST_F()
29 static constexpr auto timeout = 10s; in TEST_F() local
34 ev.run_one(timeout); in TEST_F()
37 EXPECT_TRUE(stop - start < timeout); in TEST_F()
62 static constexpr auto timeout = 50ms; in TEST_F() local
75 auto c = ev.add_oneshot_timer(handler::_, &ran, timeout); in TEST_F()
80 EXPECT_TRUE(stop - start > timeout); in TEST_F()
[all …]
/openbmc/openpower-debug-collector/watchdog/
H A Dwatchdog_logging.cpp20 * @param timeout - timeout interval in seconds
23 const uint32_t timeout) in event() argument
37 dumpParameters.timeout = timeout; in event()
40 // will not return until dump is complete or timeout in event()
44 void eventWatchdogTimeout(const uint32_t timeout) in eventWatchdogTimeout() argument
49 // any data corresponding to watchdog timeout in eventWatchdogTimeout()
51 event(additionalData, timeout); in eventWatchdogTimeout()
H A Dwatchdog_main.hpp17 * @param timeout - timeout interval in seconds
19 void triggerHostbootDump(const uint32_t timeout);
25 * @param timeout - timeout interval in seconds
27 void handleSbeBootError(struct pdbg_target* procTarget, const uint32_t timeout);
/openbmc/openbmc-test-automation/redfish/service_root/
H A Dtest_sessions_management.robot51 Set Session Timeout And Verify Response Code
52 [Documentation] Set Session Timeout And Verify Response Code.
54 [Template] Set Session Timeout And Verify
55 [Teardown] Set Session Timeout And Verify ${Default_Timeout_Value} ${HTTP_OK}
57 # The minimum & maximum allowed values for session timeout are 30
70 Set Session Timeout And Verify Session After Timeout
71 [Documentation] Set timeout for session service and verify session is
72 ... deleted after timeout.
74 [Template] Set Session Timeout And Verify Session Deleted After Timeout
75 [Teardown] Set Session Timeout And Verify ${Default_Timeout_Value} ${HTTP_OK}
[all …]
/openbmc/openbmc/meta-arm/meta-arm-systemready/lib/oeqa/runtime/cases/
H A Darm_systemready_debian_unattended.py13 # Timeout value = elapsed time * 2; where elapsed time was collected
18 timeout=(20 * 60))
23 timeout=(35 * 60))
28 timeout=(35 * 60))
33 timeout=(7 * 60 * 60))
39 timeout=(15 * 60))
44 timeout=(60))
51 timeout=(2 * 60))
56 timeout=(60))
61 timeout=(2 * 60))
[all …]
H A Darm_systemready_opensuse_unattended.py12 # Timeout value = elapsed time * 2; where elapsed time was collected
17 timeout=(2 * 60))
22 timeout=(40 * 60))
27 timeout=(60 * 60))
32 timeout=(40 * 60))
37 timeout=(15 * 60 * 60))
41 self.target.expect(self.console, r'.*login: ', timeout=(6 * 60 * 60))
/openbmc/openbmc/poky/scripts/
H A Doe-time-dd-test.sh23 …echo "-c | --count <amount> dd (transfer) <amount> KiB of data within specified timeout to detect…
25 echo "-t | --timeout <time> timeout in seconds for the <count> amount of data to be transferred."
64 -t|--timeout)
65 TIMEOUT=$2
68 if ! [[ $TIMEOUT =~ $re_c ]] || [[ $TIMEOUT -le 0 ]] ; then
96 if [ -z ${TIMEOUT+x} ] || [ -z ${COUNT+x} ] ; then
102 echo "Timeout used: ${TIMEOUT}"
103 timeout ${TIMEOUT} dd if=/dev/zero of=oe-time-dd-test.dat bs=1024 count=${COUNT} conv=fsync
/openbmc/openbmc/poky/meta/lib/oeqa/core/target/
H A Dserial.py14 timeout=300, serialcontrol_cmd=None, serialcontrol_extra_args=None, argument
49 self.connect_timeout = 10 # default to 10s connection timeout
51 self.default_command_timeout = timeout
73 def run(self, cmd, timeout=None): argument
80 timeout: <value>: Kill command after <val> seconds.
82 0: No timeout, runs until return.
92 output = conn.run_command(cmd, timeout)
279 pexpect_code = self.conn.expect([self.prompt, pexpect.TIMEOUT],
280 timeout=self.connect_timeout)
282 # if a timeout occurred, send an empty line and wait for a clean shell
[all …]
/openbmc/phosphor-pid-control/sensors/
H A Dsensor.hpp18 * Given a sensor's type, return the default timeout value.
19 * A timeout of 0 means there isn't a timeout for this sensor.
20 * By default a fan sensor isn't checked for a timeout, whereas
24 * @return the default timeout for that type (in seconds).
31 Sensor(const std::string& name, int64_t timeout, in Sensor() argument
33 _name(name), _timeout(timeout), in Sensor()
64 /* Returns the configurable timeout period
/openbmc/u-boot/drivers/watchdog/
H A Dcdns_wdt.c26 u32 timeout; member
108 * @timeout: Timeout value
112 * count = (timeout * clock) / prescaler + 1.
127 static int cdns_wdt_start(struct udevice *dev, u64 timeout, ulong flags) in cdns_wdt_start() argument
145 if ((timeout < CDNS_WDT_MIN_TIMEOUT) || in cdns_wdt_start()
146 (timeout > CDNS_WDT_MAX_TIMEOUT)) { in cdns_wdt_start()
147 timeout = priv->timeout; in cdns_wdt_start()
150 debug("%s: CLK_FREQ %ld, timeout %lld\n", __func__, clk_f, timeout); in cdns_wdt_start()
164 count = (timeout * (clk_f / prescaler)) / in cdns_wdt_start()
181 /* Reset on timeout if specified in device tree. */ in cdns_wdt_start()
[all …]
H A Dat91sam9_wdt.c13 * timeout need to be set from U-Boot, be sure that the bootstrap doesn't
33 /* Hardware timeout in seconds */
41 u32 timeout; member
51 u32 timeout = WDT_SEC2TICKS(timeout_s); in at91_wdt_start() local
54 timeout = priv->timeout; in at91_wdt_start()
72 | AT91_WDT_MR_WDV(timeout); /* timer value */ in at91_wdt_start()
119 priv->timeout = dev_read_u32_default(dev, "timeout-sec", in at91_wdt_probe()
121 debug("%s: timeout %d", __func__, priv->timeout); in at91_wdt_probe()
/openbmc/openbmc/meta-openembedded/meta-python/recipes-extended/python-blivet/
H A Dpython3-blivet_3.12.1.bb9 file://0002-run_program-support-timeout.patch \
10 file://0003-support-infinit-timeout.patch \
11 file://0005-fix-incorrect-timeout-while-system-time-changed.patch \
13 file://0007-invoking-mount-with-infinite-timeout.patch \
15 file://0009-invoking-fsck-with-infinite-timeout.patch \
16 file://0010-invoking-mkfs-with-infinite-timeout.patch \
17 file://0011-invoking-dd-with-infinite-timeout.patch \
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/
H A Dselenium_helpers_base.py90 Subclass of WebDriverWait with predetermined timeout and poll
96 def __init__(self, driver, timeout=_TIMEOUT, poll=_POLL_FREQUENCY): argument
97 self._TIMEOUT = timeout
214 def wait_until_present(self, selector, timeout=Wait._TIMEOUT): argument
218 element = Wait(self.driver, timeout=timeout).until(is_present, msg)
221 def wait_until_visible(self, selector, timeout=Wait._TIMEOUT): argument
225 Wait(self.driver, timeout=timeout).until(is_visible, msg)
228 def wait_until_not_visible(self, selector, timeout=Wait._TIMEOUT): argument
232 Wait(self.driver, timeout=timeout).until_not(is_visible, msg)
235 def wait_until_clickable(self, selector, timeout=Wait._TIMEOUT): argument
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dsshcontrol.py47 def _run(self, command, timeout=None, logfile=None): argument
52 if timeout:
53 endtime = self.starttime + timeout
68 endtime = time.time() + timeout
80 …s killed - no output for %d seconds. Total running time: %d seconds." % (timeout, time.time() - se…
90 def run(self, command, timeout=None, logfile=None): argument
92 self._run(command, timeout, logfile)
103 def __init__(self, ip, logfile=None, timeout=300, user='root', port=None): argument
105 self.defaulttimeout = timeout
125 def _internal_run(self, command, timeout=None, ignore_status = True): argument
[all …]
/openbmc/qemu/python/qemu/qmp/
H A Dlegacy.py104 self, future: Awaitable[_T], timeout: Optional[float] = None
107 asyncio.wait_for(future, timeout=timeout)
162 def accept(self, timeout: Optional[float] = 15.0) -> QMPMessage:
166 :param timeout:
167 timeout in seconds (nonnegative float number, or None).
168 If None, there is no timeout, and this may block forever.
176 self._sync(self._qmp.accept(), timeout)
234 When a timeout is requested and the timeout period elapses.
249 timeout = None
251 timeout = wait
[all …]

12345678910>>...71