Open iequidoo opened 4 days ago
I also have seen failures like this in CFFI tests:
lp.sec("ac2_offl: going online, checking the 'member added' message")
ac2_offl.start_io()
# Receive "Member Me (<addr>) added by <addr>." message.
msg_in = ac2_offl._evtracker.wait_next_incoming_message()
> contact = msg_in.get_sender_contact()
E AttributeError: 'NoneType' object has no attribute 'get_sender_contact'
(https://github.com/deltachat/deltachat-core-rust/actions/runs/11441468264/job/31829771100?pr=6084)
lp.sec("ac2_offl: receiving message")
ev = ac2_offl._evtracker.get_matching("DC_EVENT_INCOMING_MSG|DC_EVENT_MSGS_CHANGED")
msg_in = ac2_offl.get_message_by_id(ev.data2)
> assert msg_in.is_system_message()
E AttributeError: 'NoneType' object has no attribute 'is_system_message'
(https://github.com/deltachat/deltachat-core-rust/actions/runs/11441468264/job/31829771507?pr=6084)
I guess unwrap_or_log_default()
logs the error to the event channel, but test finishes before the error is read and logged into pytest
output, so actual error is not visible. Could be "database as locked" internally: https://github.com/deltachat/deltachat-core-rust/issues/6066
https://github.com/deltachat/deltachat-core-rust/actions/runs/11426571387/job/31789696340
job-logs.txt