sys/time: validate time passed to settimeofday #1014
8 fail, 634 skipped, 5 768 pass in 36m 11s
6 410 tests 5 768 ✅ 36m 11s ⏱️
354 suites 634 💤
1 files 8 ❌
Results for commit e6b15ad.
Annotations
Check warning on line 0 in phoenix-rtos-tests/psh/date
github-actions / Unit Test Results
armv7a7-imx6ull-evk:phoenix-rtos-tests/psh/date (phoenix-rtos-tests/psh/date) failed
junit.xml [took 31s]
Raw output
Assertion failed
ASSERTION TRACEBACK (most recent call last):
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/tools/psh.py", line 299, in wrapper_harness
res = harness(*args, **kwargs)
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/test-date.py", line 185, in harness
test_corrects(p)
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/test-date.py", line 53, in test_corrects
psh.assert_cmd(p, "date -s @0", expected=ZERO_DATE_REG, is_regex=True)
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/tools/psh.py", line 77, in assert_cmd
assert pexpect_proc.expect([exp_regex, pexpect.TIMEOUT, pexpect.EOF], timeout=timeout) == 0, msg
ASSERTION MESSAGE:
Expected output regex was:
---
date\ \-s\ @0
Thu, 01 Jan (?:70|1970),? 00:00:0\d(?:\w{3}|\w{4})?\r+\n(psh)%
---
READER BUFFER:
date -s @0
date: time set failed: EINVAL
(psh)%
Check warning on line 0 in phoenix-rtos-tests/psh/date
github-actions / Unit Test Results
armv7a9-zynq7000-qemu:phoenix-rtos-tests/psh/date (phoenix-rtos-tests/psh/date) failed
junit.xml [took 32s]
Raw output
Assertion failed
SHELL ERROR: Couldn't find a prompt!
EXPECTED: root@?:~ #
OUTPUT:
date -s @0
date: time set failed: EINVAL
(psh)%
Check warning on line 0 in phoenix-rtos-tests/psh/date
github-actions / Unit Test Results
armv7a9-zynq7000-zedboard:phoenix-rtos-tests/psh/date (phoenix-rtos-tests/psh/date) failed
junit.xml [took 31s]
Raw output
Assertion failed
ASSERTION TRACEBACK (most recent call last):
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/tools/psh.py", line 299, in wrapper_harness
res = harness(*args, **kwargs)
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/test-date.py", line 185, in harness
test_corrects(p)
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/test-date.py", line 53, in test_corrects
psh.assert_cmd(p, "date -s @0", expected=ZERO_DATE_REG, is_regex=True)
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/tools/psh.py", line 77, in assert_cmd
assert pexpect_proc.expect([exp_regex, pexpect.TIMEOUT, pexpect.EOF], timeout=timeout) == 0, msg
ASSERTION MESSAGE:
Expected output regex was:
---
date\ \-s\ @0
Thu, 01 Jan (?:70|1970),? 00:00:0\d(?:\w{3}|\w{4})?\r+\n(psh)%
---
READER BUFFER:
date -s @0
date: time set failed: EINVAL
(psh)%
Check warning on line 0 in phoenix-rtos-tests/psh/date
github-actions / Unit Test Results
armv7m4-stm32l4x6-nucleo:phoenix-rtos-tests/psh/date (phoenix-rtos-tests/psh/date) failed
junit.xml [took 32s]
Raw output
Assertion failed
ASSERTION TRACEBACK (most recent call last):
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/tools/psh.py", line 299, in wrapper_harness
res = harness(*args, **kwargs)
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/test-date.py", line 185, in harness
test_corrects(p)
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/test-date.py", line 53, in test_corrects
psh.assert_cmd(p, "date -s @0", expected=ZERO_DATE_REG, is_regex=True)
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/tools/psh.py", line 77, in assert_cmd
assert pexpect_proc.expect([exp_regex, pexpect.TIMEOUT, pexpect.EOF], timeout=timeout) == 0, msg
ASSERTION MESSAGE:
Expected output regex was:
---
date\ \-s\ @0
Thu, 01 Jan (?:70|1970),? 00:00:0\d(?:\w{3}|\w{4})?\r+\n(psh)%
---
READER BUFFER:
date -s @0
date: time set failed: EINVAL
(psh)%
Check warning on line 0 in phoenix-rtos-tests/psh/date
github-actions / Unit Test Results
armv7m7-imxrt106x-evk:phoenix-rtos-tests/psh/date (phoenix-rtos-tests/psh/date) failed
junit.xml [took 31s]
Raw output
Assertion failed
ASSERTION TRACEBACK (most recent call last):
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/tools/psh.py", line 299, in wrapper_harness
res = harness(*args, **kwargs)
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/test-date.py", line 185, in harness
test_corrects(p)
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/test-date.py", line 53, in test_corrects
psh.assert_cmd(p, "date -s @0", expected=ZERO_DATE_REG, is_regex=True)
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/tools/psh.py", line 77, in assert_cmd
assert pexpect_proc.expect([exp_regex, pexpect.TIMEOUT, pexpect.EOF], timeout=timeout) == 0, msg
ASSERTION MESSAGE:
Expected output regex was:
---
date\ \-s\ @0
Thu, 01 Jan (?:70|1970),? 00:00:0\d(?:\w{3}|\w{4})?\r+\n(psh)%
---
READER BUFFER:
date -s @0
date: time set failed: EINVAL
(psh)%
Check warning on line 0 in phoenix-rtos-tests/psh/date
github-actions / Unit Test Results
armv7m7-imxrt117x-evk:phoenix-rtos-tests/psh/date (phoenix-rtos-tests/psh/date) failed
junit.xml [took 30s]
Raw output
Assertion failed
ASSERTION TRACEBACK (most recent call last):
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/tools/psh.py", line 294, in wrapper_harness
ret = harness(*args, **kwargs)
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/test-date.py", line 185, in harness
test_corrects(p)
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/test-date.py", line 53, in test_corrects
psh.assert_cmd(p, "date -s @0", expected=ZERO_DATE_REG, is_regex=True)
File "/actions-runner/_work/libphoenix/libphoenix/phoenix-rtos-tests/psh/tools/psh.py", line 77, in assert_cmd
assert pexpect_proc.expect([exp_regex, pexpect.TIMEOUT, pexpect.EOF], timeout=timeout) == 0, msg
ASSERTION MESSAGE:
Expected output regex was:
---
date\ \-s\ @0
Thu, 01 Jan (?:70|1970),? 00:00:0\d(?:\w{3}|\w{4})?\r+\n(psh)%
---
READER BUFFER:
date -s @0
date: time set failed: EINVAL
(psh)%
Check warning on line 0 in phoenix-rtos-tests/psh/date
github-actions / Unit Test Results
ia32-generic-qemu:phoenix-rtos-tests/psh/date (phoenix-rtos-tests/psh/date) failed
junit.xml [took 31s]
Raw output
Assertion failed
ASSERTION TRACEBACK (most recent call last):
File "/github/workspace/phoenix-rtos-tests/psh/tools/psh.py", line 299, in wrapper_harness
res = harness(*args, **kwargs)
File "/github/workspace/phoenix-rtos-tests/psh/test-date.py", line 185, in harness
test_corrects(p)
File "/github/workspace/phoenix-rtos-tests/psh/test-date.py", line 53, in test_corrects
psh.assert_cmd(p, "date -s @0", expected=ZERO_DATE_REG, is_regex=True)
File "/github/workspace/phoenix-rtos-tests/psh/tools/psh.py", line 77, in assert_cmd
assert pexpect_proc.expect([exp_regex, pexpect.TIMEOUT, pexpect.EOF], timeout=timeout) == 0, msg
ASSERTION MESSAGE:
Expected output regex was:
---
date\ \-s\ @0
Thu, 01 Jan (?:70|1970),? 00:00:0\d(?:\w{3}|\w{4})?\r+\n(psh)%
---
READER BUFFER:
date -s @0
date: time set failed: EINVAL
(psh)%
Check warning on line 0 in phoenix-rtos-tests/psh/date
github-actions / Unit Test Results
riscv64-generic-qemu:phoenix-rtos-tests/psh/date (phoenix-rtos-tests/psh/date) failed
junit.xml [took 31s]
Raw output
Assertion failed
ASSERTION TRACEBACK (most recent call last):
File "/github/workspace/phoenix-rtos-tests/psh/tools/psh.py", line 299, in wrapper_harness
res = harness(*args, **kwargs)
File "/github/workspace/phoenix-rtos-tests/psh/test-date.py", line 185, in harness
test_corrects(p)
File "/github/workspace/phoenix-rtos-tests/psh/test-date.py", line 53, in test_corrects
psh.assert_cmd(p, "date -s @0", expected=ZERO_DATE_REG, is_regex=True)
File "/github/workspace/phoenix-rtos-tests/psh/tools/psh.py", line 77, in assert_cmd
assert pexpect_proc.expect([exp_regex, pexpect.TIMEOUT, pexpect.EOF], timeout=timeout) == 0, msg
ASSERTION MESSAGE:
Expected output regex was:
---
date\ \-s\ @0
Thu, 01 Jan (?:70|1970),? 00:00:0\d(?:\w{3}|\w{4})?\r+\n(psh)%
---
READER BUFFER:
date -s @0
date: time set failed: EINVAL
(psh)%