Closed Bug 1247697 Opened 9 years ago Closed 9 years ago

Robocop SecurityExceptions in recent Try uplift simulations (Requires DISABLE_KEYGUARD permission)

Categories

(Firefox for Android Graveyard :: Testing, defect)

defect
Not set
normal

Tracking

(firefox47 fixed)

RESOLVED FIXED
Firefox 47
Tracking Status
firefox47 --- fixed

People

(Reporter: RyanVM, Assigned: nalexander)

References

Details

Attachments

(1 file)

Ran into this when running uplift simulations on Try, but Nick says that's probably not directly the culprit. https://treeherder.mozilla.org/logviewer.html#?job_id=16624529&repo=try 10:50:33 WARNING - PROCESS-CRASH | java-exception | java.lang.SecurityException: Requires DISABLE_KEYGUARD permission at android.os.Parcel.readException(Parcel.java:1431) 10:50:33 INFO - 0 ERROR runApp() exited with code 1 10:50:33 INFO - Unable to retrieve log file (/storage/sdcard/tests/logs/mochitest.log) from remote device 10:50:33 INFO - 1 ERROR Automation Error: Exception caught while running tests 10:50:33 INFO - Traceback (most recent call last): 10:50:33 INFO - File "/builds/slave/test/build/tests/mochitest/runrobocop.py", line 456, in runSingleTest 10:50:33 INFO - log_result = self.parseLocalLog() 10:50:33 INFO - File "/builds/slave/test/build/tests/mochitest/runrobocop.py", line 271, in parseLocalLog 10:50:33 INFO - with open(self.localLog) as currentLog: 10:50:33 INFO - IOError: [Errno 2] No such file or directory: 'robocop.log'
Summary: Robocop SecurityExceptions in recent Try uplift simulations → Robocop SecurityExceptions in recent Try uplift simulations (Requires DISABLE_KEYGUARD permission)
Any news here? I'm still seeing this in all of my Trunk-as-Aurora uplift simulations and we're about a week away from the next merge.
Flags: needinfo?(nalexander)
RyanVM: could you try this out? I pushed a try build here but the proof is in your uplift simulation. https://treeherder.mozilla.org/#/jobs?repo=try&revision=631a8ab4d62a
Flags: needinfo?(nalexander)
Comment on attachment 8724834 [details] MozReview Request: Bug 1247697 - Use Instrumentation context to disable keyguard and take wakelock; ignore SecurityExceptions. r?RyanVM Not a peer for the code, but can confirm that this fixes it!
Attachment #8724834 - Flags: review?(ryanvm) → feedback+
Attachment #8724834 - Flags: feedback+ → review?(gbrown)
Attachment #8724834 - Flags: review?(gbrown) → review+
Comment on attachment 8724834 [details] MozReview Request: Bug 1247697 - Use Instrumentation context to disable keyguard and take wakelock; ignore SecurityExceptions. r?RyanVM https://reviewboard.mozilla.org/r/37175/#review34149 Why did this only show up in uplift simulations?
(In reply to Geoff Brown [:gbrown] from comment #5) > Comment on attachment 8724834 [details] > MozReview Request: Bug 1247697 - Use Instrumentation context to disable > keyguard and take wakelock; ignore SecurityExceptions. r?RyanVM > > https://reviewboard.mozilla.org/r/37175/#review34149 > > Why did this only show up in uplift simulations? No idea. I think perhaps we give permissions (to Robocop?) in Nightly?
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 47
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: