Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_cookies.py CookieTest.test_adding_a_cookie_that_expired_in_the_past | AssertionError: 0 != 1
Categories
(Testing :: Marionette, defect, P1)
Tracking
(firefox67 fixed, firefox68 fixed)
People
(Reporter: intermittent-bug-filer, Assigned: whimboo)
References
Details
(Keywords: intermittent-failure, mobile, Whiteboard: [stockwell disable-recommended])
Attachments
(1 file)
Filed by: philringnalda [at] gmail.com https://treeherder.mozilla.org/logviewer.html#?job_id=75769840&repo=autoland https://queue.taskcluster.net/v1/task/eD5au95CRbiTOnUION_0lg/runs/0/artifacts/public/logs/live_backing.log
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
[task 2017-02-09T02:39:08.880335Z] 02:39:08 WARNING - TEST-UNEXPECTED-FAIL | test_cookies.py CookieTest.test_adding_a_cookie_that_expired_in_the_past | AssertionError: 0 != 1 [task 2017-02-09T02:39:08.880725Z] 02:39:08 INFO - Traceback (most recent call last): [task 2017-02-09T02:39:08.881063Z] 02:39:08 INFO - File "/home/worker/workspace/build/venv/local/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 166, in run [task 2017-02-09T02:39:08.881297Z] 02:39:08 INFO - testMethod() [task 2017-02-09T02:39:08.881693Z] 02:39:08 INFO - File "/home/worker/workspace/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_cookies.py", line 38, in test_adding_a_cookie_that_expired_in_the_past [task 2017-02-09T02:39:08.881867Z] 02:39:08 INFO - self.assertEquals(0, len(cookies))
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 10•2 years ago
|
||
The tests are probably failing because the result of time.gmtime() is dependent on system clock. There is a slim chance that NTP adjusts the time between the creation and the addition of the cookie. A solution for this would be to set the expiration time a bit further in the past for the test.
Comment hidden (Intermittent Failures Robot) |
Comment 12•2 years ago
|
||
https://wiki.mozilla.org/Bugmasters#Intermittent_Test_Failure_Cleanup
Comment hidden (Intermittent Failures Robot) |
Comment 14•2 years ago
|
||
Reopening since it's happening again. Recent log: https://treeherder.mozilla.org/logviewer.html#?job_id=157285299&repo=mozilla-central&lineNumber=2006
Comment hidden (Intermittent Failures Robot) |
Updated•2 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 19•2 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
Updated•2 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 21•2 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
Comment 22•2 years ago
|
||
https://treeherder.mozilla.org/logviewer.html#?job_id=178518713&repo=autoland&lineNumber=1852
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 25•2 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
Comment 26•2 years ago
|
||
Fail reappeared on inbound: https://treeherder.mozilla.org/logviewer.html#?job_id=186344931&repo=mozilla-inbound&lineNumber=1599
Comment hidden (Intermittent Failures Robot) |
Comment 28•Last year
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
Comment 29•Last year
|
||
Recent failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=197702810&repo=autoland&lineNumber=1591 [task 2018-09-05T21:31:15.674Z] 21:31:15 INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_cookies.py CookieTest.test_adding_a_cookie_that_expired_in_the_past [task 2018-09-05T21:31:21.236Z] 21:31:21 WARNING - TEST-UNEXPECTED-FAIL | testing/marionette/harness/marionette_harness/tests/unit/test_cookies.py CookieTest.test_adding_a_cookie_that_expired_in_the_past | AssertionError: 0 != 1 [task 2018-09-05T21:31:21.237Z] 21:31:21 INFO - Traceback (most recent call last): [task 2018-09-05T21:31:21.238Z] 21:31:21 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 159, in run [task 2018-09-05T21:31:21.238Z] 21:31:21 INFO - testMethod() [task 2018-09-05T21:31:21.239Z] 21:31:21 INFO - File "/builds/worker/workspace/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_cookies.py", line 40, in test_adding_a_cookie_that_expired_in_the_past [task 2018-09-05T21:31:21.239Z] 21:31:21 INFO - self.assertEquals(0, len(cookies)) [task 2018-09-05T21:31:21.240Z] 21:31:21 INFO - TEST-INFO took 5563ms [task 2018-09-05T21:31:21.577Z] 21:31:21 INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_cookies.py CookieTest.test_chrome_error
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 33•Last year
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
Comment 34•9 months ago
|
||
Recent log failure: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=232496678&repo=autoland&lineNumber=2653
[task 2019-03-07T19:54:43.887Z] 19:54:43 INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_cookies.py CookieTest.test_adding_a_cookie_that_expired_in_the_past
[task 2019-03-07T19:54:44.240Z] 19:54:44 WARNING - TEST-UNEXPECTED-FAIL | testing/marionette/harness/marionette_harness/tests/unit/test_cookies.py CookieTest.test_adding_a_cookie_that_expired_in_the_past | AssertionError: 0 != 1
[task 2019-03-07T19:54:44.240Z] 19:54:44 INFO - Traceback (most recent call last):
[task 2019-03-07T19:54:44.241Z] 19:54:44 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 159, in run
[task 2019-03-07T19:54:44.241Z] 19:54:44 INFO - testMethod()
[task 2019-03-07T19:54:44.241Z] 19:54:44 INFO - File "/builds/worker/workspace/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_cookies.py", line 42, in test_adding_a_cookie_that_expired_in_the_past
[task 2019-03-07T19:54:44.242Z] 19:54:44 INFO - self.assertEquals(0, len(cookies))
[task 2019-03-07T19:54:44.242Z] 19:54:44 INFO - TEST-INFO took 353ms
Assignee | ||
Comment 35•9 months ago
|
||
Geoff tried to fix that with bug 1526913 but as it looks like we can still hit this failure.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Updated•8 months ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 43•8 months ago
|
||
This bug has failed 57 times in the last 7 days. Occurs on android-em-7-0-x86_64 opt and debug build types.
Recent log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=241181373&repo=autoland&lineNumber=2681
![]() |
||
Comment 44•8 months ago
|
||
Reviewing recent failures, almost all have android-performance.log artifacts corresponding to bug 1545308.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 48•8 months ago
|
||
Geoff, any idea when the situation on packet.net will become better? Otherwise we might just extend the time for this test to 1h or so, so that slowness doesn't affect us this much.
![]() |
||
Comment 49•8 months ago
|
||
I think there is a good chance we can resolve it soon. I've nudged :coop, https://bugzilla.mozilla.org/show_bug.cgi?id=1545308#c2.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 52•8 months ago
|
||
To make the test more robust lets use a cookie which already expired a day ago and not just some seconds before.
Here a try build:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=831c0dde08f3416b84b3c8289f1495f8add926da
Assignee | ||
Comment 53•8 months ago
|
||
Assignee | ||
Updated•8 months ago
|
Comment 54•8 months ago
|
||
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/91925dfb4532 [marionette] Use a cookie expired a day ago for test_adding_a_cookie_that_expired_in_the_past. r=ato
Comment 55•8 months ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Comment 57•8 months ago
|
||
bugherderuplift |
Description
•