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

NEW
Unassigned

Status

Firefox OS
RIL
2 years ago
2 years ago

People

(Reporter: edgar, Unassigned)

Tracking

(Depends on: 1 bug, {leave-open})

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
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
(Reporter)

Updated

2 years ago
Blocks: 1212262
(Reporter)

Comment 1

2 years ago
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
(Reporter)

Updated

2 years ago
Blocks: 1081529
(Reporter)

Comment 2

2 years ago
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
(Reporter)

Comment 3

2 years ago
Let's disable these unstable tests first, will enable them back once bug 1009393 is fixed.
Keywords: leave-open
(Reporter)

Updated

2 years ago
No longer blocks: 1081529

Comment 4

2 years ago
https://hg.mozilla.org/integration/b2g-inbound/rev/4bb34868c643

Comment 5

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/4bb34868c643
(Reporter)

Updated

2 years ago
No longer blocks: 1212262

Updated

2 years ago
Assignee: nobody → bhsu

Updated

2 years ago
Assignee: bhsu → nobody
You need to log in before you can comment on or make changes to this bug.