Closed Bug 1488441 Opened Last year Closed Last year

Intermittent netwerk/cookie/test/unit/test_eviction.js | - 4 == 5

Categories

(Core :: Networking: Cookies, defect, P5)

defect

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox63 --- fixed
firefox64 --- fixed

People

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

Details

(Keywords: intermittent-failure, Whiteboard: [necko-triaged])

Attachments

(1 file)

Filed by: nbeleuzu [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=197377805&repo=mozilla-inbound

https://queue.taskcluster.net/v1/task/eoQ-mzEVRVaEwWJ5EEU3tA/runs/0/artifacts/public/logs/live_backing.log

[task 2018-09-04T14:08:42.214Z] 14:08:42     INFO -  TEST-START | netwerk/cookie/test/unit/test_parser_0019.js
[task 2018-09-04T14:08:48.037Z] 14:08:48     INFO -  TEST-PASS | netwerk/cookie/test/unit/test_parser_0019.js | took 5822ms
[task 2018-09-04T14:08:48.660Z] 14:08:48     INFO -  adb Ignoring attempt to chmod external storage
[task 2018-09-04T14:08:49.076Z] 14:08:49     INFO -  adb Ignoring attempt to chmod external storage
[task 2018-09-04T14:08:49.387Z] 14:08:49     INFO -  adb Ignoring attempt to chmod external storage
[task 2018-09-04T14:08:49.492Z] 14:08:49     INFO -  adb Ignoring attempt to chmod external storage
[task 2018-09-04T14:08:49.493Z] 14:08:49     INFO -  TEST-START | netwerk/cookie/test/unit/test_eviction.js
[task 2018-09-04T14:08:57.522Z] 14:08:57  WARNING -  TEST-UNEXPECTED-FAIL | netwerk/cookie/test/unit/test_eviction.js | xpcshell return code: 0
[task 2018-09-04T14:08:57.523Z] 14:08:57     INFO -  TEST-INFO took 8028ms
[task 2018-09-04T14:08:57.523Z] 14:08:57     INFO -  >>>>>>>
[task 2018-09-04T14:08:57.524Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | xpcw: cd /sdcard/tests/xpc/netwerk/cookie/test/unit
[task 2018-09-04T14:08:57.524Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | xpcw: xpcshell -r /sdcard/tests/xpc/c/httpd.manifest --greomni /data/local/xpcb/target.apk -m -s -e const _HEAD_JS_PATH = "/sdcard/tests/xpc/head.js"; -e const _MOZINFO_JS_PATH = "/sdcard/tests/xpc/p/mozinfo.json"; -e const _TESTING_MODULES_DIR = "/sdcard/tests/xpc/m"; -f /sdcard/tests/xpc/head.js -e const _SERVER_ADDR = "localhost" -e const _HEAD_FILES = []; -e const _JSDEBUGGER_PORT = 0; -e const _TEST_FILE = ["test_eviction.js"]; -e const _TEST_NAME = "netwerk/cookie/test/unit/test_eviction.js" -e _execute_test(); quit(0);
[task 2018-09-04T14:08:57.525Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Unnamed thread 46c0e080] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/workspace/build/src/xpcom/base/nsTraceRefcnt.cpp, line 209
[task 2018-09-04T14:08:57.525Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: Couldn't get the user appdata directory. Crash events may not be produced.: file /builds/worker/workspace/build/src/toolkit/crashreporter/nsExceptionHandler.cpp, line 2727
[task 2018-09-04T14:08:57.526Z] 14:08:57     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2018-09-04T14:08:57.526Z] 14:08:57     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2018-09-04T14:08:57.526Z] 14:08:57     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2018-09-04T14:08:57.526Z] 14:08:57     INFO -  running event loop
[task 2018-09-04T14:08:57.527Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | Starting
[task 2018-09-04T14:08:57.528Z] 14:08:57     INFO -  (xpcshell/head.js) | test pending (2)
[task 2018-09-04T14:08:57.530Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004002: file /builds/worker/workspace/build/src/toolkit/components/resistfingerprinting/nsRFPService.cpp, line 682
[task 2018-09-04T14:08:57.531Z] 14:08:57     INFO -  "setting cookie session_foo_path_1=1 (p=/foo) (session) for http://example.org/foo/"
[task 2018-09-04T14:08:57.532Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: NS_ENSURE_TRUE(aChannel) failed: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 186
[task 2018-09-04T14:08:57.533Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, NS_ERROR_UNEXPECTED) failed with result 0x80004005: file /builds/worker/workspace/build/src/extensions/cookie/nsPermissionManager.cpp, line 1035
[task 2018-09-04T14:08:57.534Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: NS_ENSURE_TRUE(aChannel) failed: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 186
[task 2018-09-04T14:08:57.535Z] 14:08:57     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2018-09-04T14:08:57.536Z] 14:08:57     INFO -  "setting cookie session_foo_path_2=2 (p=/foo) (session) for http://example.org/foo/"
[task 2018-09-04T14:08:57.537Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: NS_ENSURE_TRUE(aChannel) failed: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 186
[task 2018-09-04T14:08:57.538Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: NS_ENSURE_TRUE(aChannel) failed: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 186
[task 2018-09-04T14:08:57.539Z] 14:08:57     INFO -  "setting cookie session_foo_path_3=3 (p=/foo) (session) for http://example.org/foo/"
[task 2018-09-04T14:08:57.539Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: NS_ENSURE_TRUE(aChannel) failed: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 186
[task 2018-09-04T14:08:57.540Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: NS_ENSURE_TRUE(aChannel) failed: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 186
[task 2018-09-04T14:08:57.540Z] 14:08:57     INFO -  "setting cookie session_foo_path_4=4 (p=/foo) (session) for http://example.org/foo/"
[task 2018-09-04T14:08:57.540Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: NS_ENSURE_TRUE(aChannel) failed: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 186
[task 2018-09-04T14:08:57.541Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: NS_ENSURE_TRUE(aChannel) failed: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 186
[task 2018-09-04T14:08:57.541Z] 14:08:57     INFO -  "setting cookie session_foo_path_5=5 (p=/foo) (session) for http://example.org/foo/"
[task 2018-09-04T14:08:57.541Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: NS_ENSURE_TRUE(aChannel) failed: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 186
[task 2018-09-04T14:08:57.541Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: NS_ENSURE_TRUE(aChannel) failed: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 186
[task
[task 2018-09-04T14:08:57.552Z] 14:08:57     INFO -  "setting cookie session_foo_path_7=9 (p=/foo) (session) for http://example.org/foo/"
[task 2018-09-04T14:08:57.552Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: NS_ENSURE_TRUE(aChannel) failed: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 186
[task 2018-09-04T14:08:57.553Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: NS_ENSURE_TRUE(aChannel) failed: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 186
[task 2018-09-04T14:08:57.553Z] 14:08:57     INFO -  TEST-PASS | netwerk/cookie/test/unit/test_eviction.js |  - 3 == 3
[task 2018-09-04T14:08:57.553Z] 14:08:57     INFO -  TEST-PASS | netwerk/cookie/test/unit/test_eviction.js |  - 3 == 3
[task 2018-09-04T14:08:57.554Z] 14:08:57     INFO -  TEST-PASS | netwerk/cookie/test/unit/test_eviction.js |  - "session_foo_path_5" == "session_foo_path_5"
[task 2018-09-04T14:08:57.554Z] 14:08:57     INFO -  TEST-PASS | netwerk/cookie/test/unit/test_eviction.js |  - true == true
[task 2018-09-04T14:08:57.554Z] 14:08:57     INFO -  TEST-PASS | netwerk/cookie/test/unit/test_eviction.js |  - "session_foo_path_6" == "session_foo_path_6"
[task 2018-09-04T14:08:57.555Z] 14:08:57     INFO -  TEST-PASS | netwerk/cookie/test/unit/test_eviction.js |  - true == true
[task 2018-09-04T14:08:57.556Z] 14:08:57     INFO -  TEST-PASS | netwerk/cookie/test/unit/test_eviction.js |  - "session_foo_path_7" == "session_foo_path_7"
[task 2018-09-04T14:08:57.556Z] 14:08:57     INFO -  TEST-PASS | netwerk/cookie/test/unit/test_eviction.js |  - true == true
[task 2018-09-04T14:08:57.556Z] 14:08:57     INFO -  "setting cookie non_session_expired_foo_path_1=10 (p=/foo) (non-session) for http://example.org/foo/"
[task 2018-09-04T14:08:57.557Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: NS_ENSURE_TRUE(aChannel) failed: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 186
[task 2018-09-04T14:08:57.558Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: NS_ENSURE_TRUE(aChannel) failed: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 186
[task 2018-09-04T14:08:57.558Z] 14:08:57     INFO -  "setting cookie non_session_expired_foo_path_2=11 (p=/foo) (non-session) for http://example.org/foo/"
[task 2018-09-04T14:08:57.558Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: NS_ENSURE_TRUE(aChannel) failed: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 186
[task 2018-09-04T14:08:57.558Z] 14:08:57     INFO -  netwerk/cookie/test/unit/test_eviction.js | [3166, Main Thread] WARNING: NS_ENSURE_TRUE(aChannel) failed: file /builds/worker/workspace/build/src/dom/base/ThirdPartyUtil.cpp, line 186
[task 2018-09-04T14:08:57.558Z] 14:08:57  WARNING -  TEST-UNEXPECTED-FAIL | netwerk/cookie/test/unit/test_eviction.js |  - 4 == 5
[task 2018-09-04T14:08:57.559Z] 14:08:57     INFO -  test_eviction.js:verifyCookies:79
[task 2018-09-04T14:08:57.559Z] 14:08:57     INFO -  test_eviction.js:test_basic_eviction:63
[task 2018-09-04T14:08:57.559Z] 14:08:57     INFO -  /sdcard/tests/xpc/head.js:_do_main:219
[task 2018-09-04T14:08:57.559Z] 14:08:57     INFO -  /sdcard/tests/xpc/head.js:_execute_test:533
[task 2018-09-04T14:08:57.560Z] 14:08:57     INFO -  -e:null:1
[task 2018-09-04T14:08:57.560Z] 14:08:57     INFO -  exiting test
[task 2018-09-04T14:08:57.560Z] 14:08:57     INFO -  Unexpected exception NS_ERROR_ABORT:
[task 2018-09-04T14:08:57.561Z] 14:08:57     INFO -  _abort_failed_test@/sdcard/tests/xpc/head.js:746:9
[task 2018-09-04T14:08:57.561Z] 14:08:57     INFO -  do_report_result@/sdcard/tests/xpc/head.js:853:5
[task 2018-09-04T14:08:57.561Z] 14:08:57     INFO -  Assert<@/sdcard/tests/xpc/head.js:55:5
[task 2018-09-04T14:08:57.562Z] 14:08:57     INFO -  proto.report@resource://testing-common/Assert.jsm:214:5
[task 2018-09-04T14:08:57.562Z] 14:08:57     INFO -  equal@resource://testing-common/Assert.jsm:246:3
[task 2018-09-04T14:08:57.562Z] 14:08:57     INFO -  verifyCookies@test_eviction.js:79:5
[task 2018-09-04T14:08:57.563Z] 14:08:57     INFO -  test_basic_eviction@test_eviction.js:63:5
[task 2018-09-04T14:08:57.563Z] 14:08:57     INFO -  _do_main@/sdcard/tests/xpc/head.js:219:3
[task 2018-09-04T14:08:57.563Z] 14:08:57     INFO -  _execute_test@/sdcard/tests/xpc/head.js:533:5
[task 2018-09-04T14:08:57.563Z] 14:08:57     INFO -  @-e:1:1
[task 2018-09-04T14:08:57.564Z] 14:08:57     INFO -  exiting test
[task 2018-09-04T14:08:57.564Z] 14:08:57     INFO -  netwerk/co
Assignee: nobody → kershaw
Whiteboard: [necko-triaged]
The fail log shows that the cookie's expiring time is too short(only 1s). The cookie could be already expired.
A simple solution in this patch is just extending the expiring time to 3s.
Comment on attachment 9006572 [details]
Bug 1488441 - Extend cookie's expiring time from 1s to 3s

Josh Matthews [:jdm] has approved the revision.
Attachment #9006572 - Flags: review+
Keywords: checkin-needed
Pushed by apavel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8db4f905ae7a
Extend cookie's expiring time from 1s to 3s r=jdm
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/8db4f905ae7a
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.