Closed Bug 1214537 Opened 9 years ago Closed 7 years ago

Intermittent test_gsm_cdma_{incoming|outgoing}_basic_operations.js | Promise reject: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable - false was false, expected true

Categories

(Firefox OS Graveyard :: RIL, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: edgar, Unassigned)

References

Details

(Keywords: leave-open)

Recent try: https://treeherder.allizom.org/#/jobs?repo=try&revision=8ccd09f7dfa4 21:01:39 INFO - 10-11 03:04:07.910 I/Gecko ( 44): -*- RadioInterface[0]: Received message from worker: {"rilRequestType":9,"calls":{"1":{"state":1,"callIndex":1,"toa":129,"isMpty":false,"isMT":true,"als":0,"isVoice":true,"isVoicePrivacy":false,"number":"1111110000","numberPresentation":0,"name":null,"namePresentation":0,"uusInfo":null}},"rilMessageType":"currentCalls","rilMessageClientId":0} 21:01:39 INFO - 10-11 03:04:07.910 I/Gecko ( 44): TelephonyService: handleCurrentCalls: {"1":{"state":1,"callIndex":1,"toa":129,"isMpty":false,"isMT":true,"als":0,"isVoice":true,"isVoicePrivacy":false,"number":"1111110000","numberPresentation":0,"name":null,"namePresentation":0,"uusInfo":null}}, failCause: NormalCallClearingError 21:01:39 INFO - 10-11 03:04:07.920 I/Gecko ( 44): TelephonyService: _disconnectCalls: [] 21:01:39 INFO - 10-11 03:04:07.920 I/Gecko ( 44): TelephonyService: Conference state: 0 21:01:39 INFO - 10-11 03:04:07.920 I/Gecko ( 44): TelephonyService: handleCallStateChanged: [{"clientId":0,"callIndex":"1","state":4,"number":"1111110000","name":null,"isOutgoing":false,"isEmergency":false,"started":1444532647499}] 21:01:39 INFO - 10-11 03:04:07.950 I/Gecko ( 44): TelephonyAudioService: Put audio system into PHONE_STATE_IN_CALL: 2, result is: 2 21:01:39 INFO - 10-11 03:04:07.960 I/Gecko ( 44): 1444532647966 Marionette DEBUG conn49 emulator <- {"emulator_cmd":"telephony list","id":39} 21:01:39 INFO - 10-11 03:04:08.010 I/Gecko ( 44): 1444532648012 Marionette DEBUG conn49 -> {"result":["inbound from 1111110000 : held","OK"],"name":"emulatorCmdResult","id":39} 21:01:39 INFO - 10-11 03:04:08.010 I/Gecko ( 44): MARIONETTE LOG: INFO: Call list is now: inbound from 1111110000 : held,OK 21:01:39 INFO - 10-11 03:04:08.020 I/Gecko ( 44): MARIONETTE TEST RESULT:TEST-PASS | test_gsm_cdma_incoming_basic_operations.js | emulator calllist - inbound from 1111110000 : held should equal inbound from 1111110000 : held 21:01:39 INFO - 10-11 03:04:08.020 I/Gecko ( 44): MARIONETTE LOG: INFO: Putting the call on hold. 21:01:39 INFO - 10-11 03:04:08.040 I/Gecko ( 44): MARIONETTE TEST RESULT:TEST-UNEXPECTED-FAIL | test_gsm_cdma_incoming_basic_operations.js | Promise reject: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable - false was false, expected true
Blocks: 1212262
It is because cdma call state was updated to 'held' unexpectedly and the resuming operation (through hold()) was rejected. A CDMA call should always stay in 'connected' state even it is held actually. After discussing with Ben, emulator has some flaw on cdma implementation, we plan to fix it on bug 1009393.
Depends on: 1009393
Blocks: 1081529
Found same error in test_gsm_cdma_outgoing_basic_operations.js [1]. [1] https://public-artifacts.taskcluster.net/FWx4o9OLTPO1xLPL7Pbejw/0/public/logs/live_backing.log
Summary: Intermittent test_gsm_cdma_incoming_basic_operations.js | Promise reject: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable - false was false, expected true → Intermittent test_gsm_cdma_{incoming|outgoing}_basic_operations.js | Promise reject: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable - false was false, expected true
Let's disable these unstable tests first, will enable them back once bug 1009393 is fixed.
Keywords: leave-open
No longer blocks: 1081529
No longer blocks: 1212262
Assignee: nobody → bhsu
Assignee: bhsu → nobody
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.