Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py <random>.test_history_pushstate | AssertionError: u'http://172.17.0.6:38642/navigation_pushstate.html ' != 'http://172.17.0.6:38642/navigation_pushstate_target
Categories
(Testing :: Marionette Client and Harness, defect, P5)
Tracking
(firefox68 affected, firefox69 affected)
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure, mobile, Whiteboard: [waiting for 1552742])
#[markdown(off)]
Filed by: apavel [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=234843942&repo=autoland
[task 2019-03-19T19:27:33.041Z] 19:27:33 INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py TestRefresh.test_history_pushstate
[task 2019-03-19T19:27:34.164Z] 19:27:34 WARNING - TEST-UNEXPECTED-FAIL | testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py TestRefresh.test_history_pushstate | AssertionError: u'http://172.17.0.6:38642/navigation_pushstate.html' != 'http://172.17.0.6:38642/navigation_pushstate_target.html'
[task 2019-03-19T19:27:34.164Z] 19:27:34 INFO - Traceback (most recent call last):
[task 2019-03-19T19:27:34.164Z] 19:27:34 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-19T19:27:34.164Z] 19:27:34 INFO - testMethod()
[task 2019-03-19T19:27:34.164Z] 19:27:34 INFO - File "/builds/worker/workspace/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py", line 664, in test_history_pushstate
[task 2019-03-19T19:27:34.164Z] 19:27:34 INFO - self.assertEqual(self.marionette.get_url(), target_page)
[task 2019-03-19T19:27:34.164Z] 19:27:34 INFO - TEST-INFO took 1123ms
[task 2019-03-19T19:27:34.452Z] 19:27:34 INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py TestRefresh.test_image
[task 2019-03-19T19:27:34.941Z] 19:27:34 INFO - TEST-PASS | testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py TestRefresh.test_image | took 489ms
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 7•5 years ago
|
||
Should be fixed now by reducing the number of workers for packet.net instances over on bug 1545308.
Updated•5 years ago
|
Comment 8•5 years ago
|
||
This is actually not fixed. :/
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 12•5 years ago
|
||
This bug failed 50 times in the last 7 days. Occurs on android-em-7-0-x86_64 on opt build types.
Recent log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=245818369&repo=autoland&lineNumber=2415
Comment hidden (Intermittent Failures Robot) |
Comment 14•5 years ago
|
||
In the last 7 days, there have been 43 failures.
All the failures affecting android-em-7-0-x86_64 platform, opt build type.
An example of a recent log file:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=247062947&repo=autoland&lineNumber=2449
Henrik, can you please take a look?
Thank you
Comment hidden (Intermittent Failures Robot) |
Comment 16•5 years ago
|
||
Here an excerpt from the android logcat:
05-17 16:53:06.223 2366 2383 I Gecko : 1558108386223 Marionette DEBUG 541 -> [0,17,"WebDriver:FindElement",{"using":"id","value":"forward"}]
05-17 16:53:06.225 2366 2383 I Gecko : 1558108386225 Marionette DEBUG 541 <- [1,17,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"9b775c29-e07f-4bde-a471-4dd29999e652"}}]
05-17 16:53:06.228 2366 2383 I Gecko : 1558108386228 Marionette DEBUG 541 -> [0,18,"WebDriver:ElementClick",{"id":"9b775c29-e07f-4bde-a471-4dd29999e652"}]
05-17 16:53:06.730 2366 2366 D GeckoToolbar: onTabChanged: THUMBNAIL
05-17 16:53:06.730 2366 2366 D GeckoBrowserApp: BrowserApp.onTabChanged: 45: THUMBNAIL
05-17 16:53:06.747 2366 2383 I Gecko : 1558108386747 Marionette WARN TimedPromise timed out after 500 ms: stacktrace:
05-17 16:53:06.747 2366 2383 I Gecko : bail@chrome://marionette/content/sync.js:223:64
05-17 16:53:06.957 2366 2383 I Gecko : 1558108386957 Marionette DEBUG [637] Canceled page load listener because no navigation has been detected
05-17 16:53:06.958 2366 2383 I Gecko : 1558108386958 Marionette DEBUG 541 <- [1,18,null,{"value":null}]
05-17 16:53:06.960 2366 2383 I Gecko : 1558108386959 Marionette DEBUG 541 -> [0,19,"WebDriver:GetCurrentURL",{}]
05-17 16:53:06.960 2366 2383 I Gecko : 1558108386960 Marionette DEBUG 541 <- [1,19,null,{"value":"http://172.17.0.5:42592/navigation_pushstate.html"}]
So this needs to be investigated and fixed via bug 1552742.
Comment hidden (Intermittent Failures Robot) |
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 20•5 years ago
|
||
There have been 36 occurences on android-em-7-0-x86_64 op in the last 7 days: https://treeherder.mozilla.org/intermittent-failures.html#/bugdetails?startday=2019-05-29&endday=2019-06-05&tree=trunk&bug=1536583
Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=248876074&repo=autoland&lineNumber=2444
[task 2019-05-29T03:10:41.582Z] 03:10:41 INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py TestRefresh.test_history_pushstate
[task 2019-05-29T03:10:42.633Z] 03:10:42 WARNING - TEST-UNEXPECTED-FAIL | testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py TestRefresh.test_history_pushstate | AssertionError: u'http://172.17.0.6:40730/navigation_pushstate.html' != 'http://172.17.0.6:40730/navigation_pushstate_target.html'
[task 2019-05-29T03:10:42.633Z] 03:10:42 INFO - Traceback (most recent call last):
[task 2019-05-29T03:10:42.634Z] 03:10:42 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 159, in run
[task 2019-05-29T03:10:42.634Z] 03:10:42 INFO - testMethod()
[task 2019-05-29T03:10:42.634Z] 03:10:42 INFO - File "/builds/worker/workspace/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py", line 664, in test_history_pushstate
[task 2019-05-29T03:10:42.634Z] 03:10:42 INFO - self.assertEqual(self.marionette.get_url(), target_page)
[task 2019-05-29T03:10:42.634Z] 03:10:42 INFO - TEST-INFO took 1051ms
[task 2019-05-29T03:10:42.917Z] 03:10:42 INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py TestRefresh.test_image
whimboo, any updates on this or Bug 1552742 ?
Comment 21•5 years ago
|
||
The failure stopped on autoland after I pushed my patch on bug 1335085. So I hope that this also fixes that failure. I will keep an eye on it.
Comment 22•5 years ago
|
||
It's actually back today, but it looks like the number of failures have been reduced at least.
I will have to take a look at some point later this or next week.
Comment hidden (Intermittent Failures Robot) |
Comment 24•5 years ago
|
||
No more failures have been reported since June 7th.
Comment 25•5 years ago
|
||
(In reply to Henrik Skupin (:whimboo) [βοΈUTC+2] from comment #24)
No more failures have been reported since June 7th.
Sorry, I only clicked the link from the last comment of the Intermittent Failures Robot. This is actually still happening a lot. I will see if I can find some time this week to look at it.
Comment 26•5 years ago
|
||
I can replicate this failure pretty easily locally with the x86 Android emulator. I will check now why this happens.
Comment 27•5 years ago
|
||
The problem here is that we interfere with loading about:newtab
in Fennec because the default setting isn't taken into account due to bug 1506782. Our test page is sometimes not loaded, and we fail.
It means we need as best a patch on bug 1533058 to get this fixed.
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 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 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 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) |
Updated•2 years ago
|
Updated•2 years ago
|
Comment 59•2 years ago
|
||
Moving bug to Testing::Marionette Client and Harness component per bug 1815831.
Description
•