Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32 test_rtc_slow test fails #1561

Open
bettio opened this issue Mar 10, 2025 · 2 comments
Open

ESP32 test_rtc_slow test fails #1561

bettio opened this issue Mar 10, 2025 · 2 comments

Comments

@bettio
Copy link
Collaborator

bettio commented Mar 10, 2025

Following test fails in main:

2025-03-10 20:58:14 I (14068) AtomVM: Running start/0 from test_rtc_slow.beam...
2025-03-10 20:58:14 
2025-03-10 20:58:14 
2025-03-10 20:58:14 CRASH 
2025-03-10 20:58:14 ======
2025-03-10 20:58:14 pid: <0.1.0>
2025-03-10 20:58:14 
2025-03-10 20:58:14 Stacktrace:
2025-03-10 20:58:14 undefined
2025-03-10 20:58:14 
2025-03-10 20:58:14 cp: #CP<module: 0, label: 27, offset: 0>
2025-03-10 20:58:14 
2025-03-10 20:58:14 x[0]: error
2025-03-10 20:58:14 x[1]: {badmatch,<<0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,43>>}
2025-03-10 20:58:15 x[2]: error
2025-03-10 20:58:15 
2025-03-10 20:58:15 Stack 
2025-03-10 20:58:15 -----
2025-03-10 20:58:15 
2025-03-10 20:58:15 []
2025-03-10 20:58:15 []
2025-03-10 20:58:15 #CP<module: 0, label: 27, offset: 0>
2025-03-10 20:58:15 
2025-03-10 20:58:15 
2025-03-10 20:58:15 
2025-03-10 20:58:15 Mailbox
2025-03-10 20:58:15 
2025-03-10 20:58:15 -------
2025-03-10 20:58:15 
2025-03-10 20:58:15 
2025-03-10 20:58:15 
2025-03-10 20:58:15 
2025-03-10 20:58:15 Monitors
2025-03-10 20:58:15 --------
2025-03-10 20:58:15 
2025-03-10 20:58:15 
2025-03-10 20:58:15 
2025-03-10 20:58:15 **End Of Crash Report**
2025-03-10 20:58:15 AtomVM finished with return value: error
2025-03-10 20:58:15 ./main/test_main.c:585:test_rtc_slow:FAIL:Function [test_run].  Expression Evaluated To FALSE

See also: https://github.com/atomvm/AtomVM/actions/runs/13771138211/job/38520707727#step:9:424

@bettio
Copy link
Collaborator Author

bettio commented Mar 10, 2025

Let's investigate if it is releated to #1560

@petermm
Copy link
Contributor

petermm commented Mar 10, 2025

this happens due to a crash and restart(from other test), which means this line which is expected to be catch'ed and return ok, returns the actual rtc_slow

eg. this happens if the test runs more than once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants