Closed Bug 1117804 Opened 5 years ago Closed 2 years ago

Investigate test_call_log_groups failure


(Firefox OS Graveyard :: Gaia::UI Tests, defect)

Gonk (Firefox OS)
Not set


(Not tracked)



(Reporter: RobertC, Unassigned)



(Whiteboard: [xfail])


(3 files)

test_call_log_groups is failing on Jenkins. On local device it fails constantly (5 out of 5). The issue cannot be reproduced manually.

From the screenshot it looks like the calls are in the wrong order.
QA Whiteboard: [fxosqa-auto-s7+]
Attached image call_log.png
I investigated this further, but cannot find the issue seen in the test run. 
Gabriele or Anthony, can you please take a look at the attachments? Maybe you can find the problem.

Below are the links to the test and the insert methods:
Flags: needinfo?(gsvelto)
Flags: needinfo?(anthony)
Attached file logcat.txt
I'm not involved with Dialer that much so I'll let Gabriele take a look.
Flags: needinfo?(anthony)
This is most likely caused by bug 1112577. Let's check again once I land the fix for that one.
Depends on: 1112577
Flags: needinfo?(gsvelto)
QA Whiteboard: [fxosqa-auto-s7+] → [fxosqa-auto-from-s7] [fxosqa-auto-s8]
Whiteboard: [xfail]
QA Whiteboard: [fxosqa-auto-from-s7] [fxosqa-auto-s8] → [fxosqa-auto-from-s7] [fxosqa-auto-from-s8] [fxosqa-auto-s9]
Assignee: robert.chira → nobody
QA Whiteboard: [fxosqa-auto-from-s7] [fxosqa-auto-from-s8] [fxosqa-auto-s9] → [fxosqa-auto-from-s6] [fxosqa-auto-from-s7] [fxosqa-auto-from-s8] [fxosqa-auto-dropped-s9]
Robert, can you check if this is still an issue? I've landed bug 1112577 which should have solved the issue here.
Flags: needinfo?(robert.chira)
Robert has left the project. Stealing his NI. Started adhoc job with 100 tries:
Flags: needinfo?(robert.chira) → needinfo?(jlorenzo)
It looks like it's still failing; I think you can stop the job right away. We'll need to investigate this in detail.
Right, I stopped the job. Let me check how's it going locally.
Perma failing. I see exactly the same behavior as in the screenshot attached :s

FWIW, we inject the call log entries with:
> window.wrappedJSObject.CallLogDBManager.add(callLogEntry);

and we add them not in chronological order; today is added before yesterday which is before 2014, itself before 2013:

Should this behavior be okay with the new CallLogDBManager?
Flags: needinfo?(jlorenzo) → needinfo?(gsvelto)
(In reply to Johan Lorenzo [:jlorenzo] (QA) from comment #10)
> Should this behavior be okay with the new CallLogDBManager?

I thought this was due to a race but apparently it is not. It must be an issue in the call log database logic, this is still valid then.
Flags: needinfo?(gsvelto)
Afaik, this is also an issue on mozilla-central, so removing the [v2.2] part of the summary.

Gabriele, do we need to recheck if this is still an issue? Or do you expect this to be still a problem?
Flags: needinfo?(gsvelto)
Summary: [v2.2] Investigate test_call_log_groups failure → Investigate test_call_log_groups failure
I think this is an instance of bug 1151627 so it should still be a problem. I haven't time to fix that one yet but I hope to be able to before the end of June.
Flags: needinfo?(gsvelto)
Depends on: 1151627
Firefox OS is not being worked on
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.