Closed Bug 1693416 Opened 3 years ago Closed 3 years ago

ContentDelegate.onKill and ContentDelegate.onCrash time out in Isolated Process

Categories

(GeckoView :: Sandboxing, task, P1)

Unspecified
All

Tracking

(firefox88 fixed)

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: owlish, Assigned: owlish)

References

(Blocks 1 open bug)

Details

(Whiteboard: [geckoview:m88])

Attachments

(1 file)

If android:isolatedProcess is set to true, all the tests that involve waiting for ContentDelegate#onKill and ContentDelegate#onCrash time out.

When comparing the logcat with the passing tests (when android:isolatedProcess is set to false), there are two errors that are present in the failing tests' logcats but absent in the passing tests:

E/KernelUidCpuTimeReader: Failed to read uid_cputime: /proc/uid_cputime/show_uid_stat (No such file or directory)
E/KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)

and

W/ContextImpl: Failed to ensure /data/user/0/org.mozilla.geckoview.test/cache: mkdir failed: EACCES (Permission denied)
W/FileUtils: Failed to chmod(/data/user/0/org.mozilla.geckoview.test/app_tmpdir): android.system.ErrnoException: chmod failed: EACCES (Permission denied)
W/ContextImpl: Failed to ensure /data/user/0/org.mozilla.geckoview.test/files: mkdir failed: EACCES (Permission denied)

Needs more investigation and a fix

Priority: -- → P1
Whiteboard: [geckoview:m88]
Assignee: nobody → bugzeeeeee
Depends on: 1631945
Pushed by istorozhko@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/13872f781893
Rewrite reset processes in tests to be compatible with isolated process r=geckoview-reviewers,agi
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch

Moving isolated process bugs to the new GeckoView::Sandboxing component.

Component: General → Sandboxing
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: