Open Bug 1564871 Opened 6 years ago Updated 3 years ago

Perma [Tier 2] toolkit/components/extensions/test/xpcshell/test_ext_storage_idb_data_migration.js | test_quota_exceeded_while_migrating_data - [test_quota_exceeded_while_migrating_data : 772] The extension falls back to the JSONFile backend because of the

Categories

(WebExtensions :: General, defect, P5)

defect
Points:
3

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: intermittent-bug-filer, Assigned: rpl)

References

(Regression)

Details

(Keywords: intermittent-failure, leave-open, regression)

Attachments

(2 files)

Filed by: malexandru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=255694594&repo=mozilla-central
Full log: https://queue.taskcluster.net/v1/task/MAQQI_4lQ862KIwTWxZizQ/runs/0/artifacts/public/logs/live_backing.log


[task 2019-07-10T12:15:02.070Z] 12:15:02 INFO - "Calling QuotaManagerService.reset to enforce new test storage limits"
[task 2019-07-10T12:15:02.070Z] 12:15:02 INFO - (xpcshell/head.js) | test run_next_test 10 finished (2)
[task 2019-07-10T12:15:02.070Z] 12:15:02 INFO - (xpcshell/head.js) | test run_next_test 11 pending (2)
[task 2019-07-10T12:15:02.070Z] 12:15:02 INFO - (xpcshell/head.js) | test setup_quota_manager_testing_prefs finished (2)
[task 2019-07-10T12:15:02.071Z] 12:15:02 INFO - xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_storage_idb_data_migration.js | Starting test_quota_exceeded_while_migrating_data
[task 2019-07-10T12:15:02.071Z] 12:15:02 INFO - (xpcshell/head.js) | test test_quota_exceeded_while_migrating_data pending (2)
[task 2019-07-10T12:15:02.071Z] 12:15:02 INFO - (xpcshell/head.js) | test run_next_test 11 finished (2)
[task 2019-07-10T12:15:02.071Z] 12:15:02 INFO - TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_storage_idb_data_migration.js | test_quota_exceeded_while_migrating_data - [test_quota_exceeded_while_migrating_data : 62] The old json file has been created - true == true
[task 2019-07-10T12:15:02.071Z] 12:15:02 INFO - "Extension attached"
[task 2019-07-10T12:15:02.071Z] 12:15:02 INFO - "CONSOLE_MESSAGE: (info) Migrating storage.local data for "Generated extension" (ID: test-data-migration-stuck@mochi.test, moz-extension://016d9e48-aeb0-4f63-a8e4-7bdeda8c8ff2/)..."
[task 2019-07-10T12:15:02.072Z] 12:15:02 INFO - "CONSOLE_MESSAGE: (info) storage.local data successfully migrated to IDB Backend for "Generated extension" (ID: test-data-migration-stuck@mochi.test, moz-extension://016d9e48-aeb0-4f63-a8e4-7bdeda8c8ff2/)."
[task 2019-07-10T12:15:02.072Z] 12:15:02 INFO - TEST-PASS | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_storage_idb_data_migration.js | test_quota_exceeded_while_migrating_data - [test_quota_exceeded_while_migrating_data : 402] Got the expected data - Expected: 1024000, Actual: 1024000 - true == true
[task 2019-07-10T12:15:02.072Z] 12:15:02 WARNING - TEST-UNEXPECTED-FAIL | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_storage_idb_data_migration.js | test_quota_exceeded_while_migrating_data - [test_quota_exceeded_while_migrating_data : 772] The extension falls back to the JSONFile backend because of the migration failure - false == true
[task 2019-07-10T12:15:02.073Z] 12:15:02 INFO - test_ext_storage_idb_data_migration.js:test_quota_exceeded_while_migrating_data:772
[task 2019-07-10T12:15:02.073Z] 12:15:02 INFO - /sdcard/tests/xpc/head.js:_do_main:245
[task 2019-07-10T12:15:02.073Z] 12:15:02 INFO - /sdcard/tests/xpc/head.js:_execute_test:572
[task 2019-07-10T12:15:02.073Z] 12:15:02 INFO - -e:null:1
[task 2019-07-10T12:15:02.073Z] 12:15:02 INFO - exiting test
[task 2019-07-10T12:15:02.073Z] 12:15:02 INFO - Unexpected exception NS_ERROR_ABORT:
[task 2019-07-10T12:15:02.073Z] 12:15:02 INFO - _abort_failed_test@/sdcard/tests/xpc/head.js:788:20
[task 2019-07-10T12:15:02.074Z] 12:15:02 INFO - do_report_result@/sdcard/tests/xpc/head.js:889:5
[task 2019-07-10T12:15:02.074Z] 12:15:02 INFO - Assert<@/sdcard/tests/xpc/head.js:66:5
[task 2019-07-10T12:15:02.074Z] 12:15:02 INFO - proto.report@resource://testing-common/Assert.jsm:233:10
[task 2019-07-10T12:15:02.074Z] 12:15:02 INFO - proto.ok@resource://testing-common/Assert.jsm:259:10
[task 2019-07-10T12:15:02.074Z] 12:15:02 INFO - test_quota_exceeded_while_migrating_data@test_ext_storage_idb_data_migration.js:772:9
[task 2019-07-10T12:15:02.074Z] 12:15:02 INFO - _do_main@/sdcard/tests/xpc/head.js:245:6
[task 2019-07-10T12:15:02.075Z] 12:15:02 INFO - _execute_test@/sdcard/tests/xpc/head.js:572:5
[task 2019-07-10T12:15:02.075Z] 12:15:02 INFO - @-e:1:1
[task 2019-07-10T12:15:02.075Z] 12:15:02 INFO - exiting test
[task 2019-07-10T12:15:02.075Z] 12:15:02 WARNING - TEST-UNEXPECTED-FAIL | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_storage_idb_data_migration.js | test_quota_exceeded_while_migrating_data - [test_quota_exceeded_while_migrating_data : 323] Extension left running at test shutdown - "running" == "unloaded"
[task 2019-07-10T12:15:02.075Z] 12:15:02 INFO - resource://testing-common/ExtensionXPCShellUtils.jsm:ExtensionWrapper/<:323
[task 2019-07-10T12:15:02.075Z] 12:15:02 INFO - /sdcard/tests/xpc/head.js:_execute_test/<:635
[task 2019-07-10T12:15:02.076Z] 12:15:02 INFO - /sdcard/tests/xpc/head.js:_execute_test:644
[task 2019-07-10T12:15:02.076Z] 12:15:02 INFO - -e:null:1
[task 2019-07-10T12:15:02.076Z] 12:15:02 INFO - exiting test
[task 2019-07-10T12:15:02.076Z] 12:15:02 INFO - NS_ERROR_ABORT:
[task 2019-07-10T12:15:02.076Z] 12:15:02 INFO - _abort_failed_test@/sdcard/tests/xpc/head.js:788:20
[task 2019-07-10T12:15:02.076Z] 12:15:02 INFO - do_report_result@/sdcard/tests/xpc/head.js:889:5
[task 2019-07-10T12:15:02.077Z] 12:15:02 INFO - Assert<@/sdcard/tests/xpc/head.js:66:5
[task 2019-07-10T12:15:02.077Z] 12:15:02 INFO - proto.report@resource://testing-common/Assert.jsm:233:10
[task 2019-07-10T12:15:02.077Z] 12:15:02 INFO - equal@resource://testing-common/Assert.jsm:275:8
[task 2019-07-10T12:15:02.077Z] 12:15:02 INFO - ExtensionWrapper/<@resource://testing-common/ExtensionXPCShellUtils.jsm:323:24
[task 2019-07-10T12:15:02.077Z] 12:15:02 INFO - _execute_test/<@/sdcard/tests/xpc/head.js:635:28
[task 2019-07-10T12:15:02.077Z] 12:15:02 INFO - _execute_test@/sdcard/tests/xpc/head.js:644:5
[task 2019-07-10T12:15:02.077Z] 12:15:02 INFO - @-e:1:1
[task 2019-07-10T12:15:02.078Z] 12:15:02 INFO - Error: Found unexpected files in temporary directory: generated-extension.xpi at resource://testing-common/AddonTestUtils.jsm:466

Blocks: 1564863
Flags: needinfo?(lgreco)
Regressed by: 1555491

I'm on it (and I just attached a patch for a feedback/review from :ttung)

Flags: needinfo?(lgreco)
Assignee: nobody → lgreco
Status: NEW → ASSIGNED
Type: -- → defect

We had 77 failures in the past week, all on android-em-4-3-armv7-api16 opt and pgo.

Recent log failure: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=257094861&repo=mozilla-central&lineNumber=2138

Tom, could you please check Luca's patch?

Flags: needinfo?(shes050117)

Ah, sorry, I missed the notification from Phabricator. Will check it today.

Flags: needinfo?(shes050117)
Attachment #9077175 - Attachment description: Bug 1564871 - Increased test dataSize to ensure storage.local API raises a QuotaExceededError on android. r?ttung! → Bug 1564871 - Set a lower temporaryStorage.fixedLimit to ensure storage.local tests raises a QuotaExceededError on android. r?ttung!
Keywords: leave-open
Pushed by luca.greco@alcacoop.it: https://hg.mozilla.org/integration/autoland/rev/149fa7bb765e Skip storage.local API QuotaExceededError tests that permafail on android builds. r=mixedpuppy
Points: --- → 3
Severity: normal → S4
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: