Fix-Point commented on issue #16341:
URL: https://github.com/apache/nuttx/issues/16341#issuecomment-2862787271

   Interesting, I checkout the last commit 
(c22df41ca6a17bcfc10c242242b0cd55945db8ab) before the 
https://github.com/apache/nuttx/pull/16231. It failed the same test cases 
ocassionally.
   
   ```
   The current real time: sec is 946684884, nsec is 959353016
   sleep 2 seconds
   Setting time: sec is 946684886, nsec is 959353016
   get real time clock again
   Obtaining the current time after setting: sec = 946684886, nsec = 959403366
   [       OK ] test_nuttx_clock_test_clock01
   [ RUN      ] test_nuttx_clock_test_clock02
   [       OK ] test_nuttx_clock_test_clock02
   [==========] nuttx_time_test_suites: 7 test(s) run.
   [  PASSED  ] 6 test(s).
   [  FAILED  ] nuttx_time_test_suites: 1 test(s), listed below:
   [  FAILED  ] test_nuttx_clock_test_timer03
   
    1 FAILED TEST(S)
   Cmocka Test Completed.
   nsh> uname -a
   NuttX  12.7.2-vela c22df41ca6a May  8 2025 19:43:28 sim sim
   ```
   ```
   
   ```
   [  PASSED  ] 8 test(s).
   [==========] tests: Running 1 test(s).
   [ RUN      ] drivertest_posix_timer
   [  ERROR   ] --- 2020 is not within the range [1990, 2010]
   [   LINE   ] --- drivertest_posix_timer.c:162: error: Failure!
   [  FAILED  ] drivertest_posix_timer
   [==========] tests: 1 test(s) run.
   [  PASSED  ] 0 test(s).
   [  FAILED  ] tests: 1 test(s), listed below:
   [  FAILED  ] drivertest_posix_timer
   
    1 FAILED TEST(S)
   [1]    1618803 segmentation fault (core dumped)  ./nuttx
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to