Closed Bug 1626742 Opened 4 months ago Closed 4 months ago

Intermittent arsenic.errors.UnknownError: Reached error page: about:neterror?e=connectionFailure&u=https%3A//www.ebay.com/sch/i.html%3F_from%3DR40%26_trksid%3Dp2380057.m570.l1313.TR0.TRC0.H0.Xbottle.TRS0%26_nkw%3Dpyjama&c=UTF-8&f=re

Categories

(Testing :: Condprofile, defect, P5)

Version 3
defect

Tracking

(firefox76 fixed)

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

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

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Filed by: csabou [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=295800619&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ejSpD9lCQEasYPJoesfo9A/runs/0/artifacts/public/logs/live_backing.log


[task 2020-04-01T17:45:16.150Z] Traceback (most recent call last):
[task 2020-04-01T17:45:16.150Z] File "condprof/main.py", line 78, in <module>
[task 2020-04-01T17:45:16.150Z] main()
[task 2020-04-01T17:45:16.150Z] File "condprof/main.py", line 73, in main
[task 2020-04-01T17:45:16.151Z] args.device_name,
[task 2020-04-01T17:45:16.151Z] File "condprof/../condprof/runner.py", line 196, in run
[task 2020-04-01T17:45:16.151Z] failures, results = loop.run_until_complete(runner.run_all())
[task 2020-04-01T17:45:16.151Z] File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
[task 2020-04-01T17:45:16.151Z] return future.result()
[task 2020-04-01T17:45:16.151Z] File "condprof/../condprof/runner.py", line 167, in run_all
[task 2020-04-01T17:45:16.151Z] self.display_error(scenario, customization)
[task 2020-04-01T17:45:16.151Z] File "condprof/../condprof/runner.py", line 164, in run_all
[task 2020-04-01T17:45:16.151Z] res.append(await self.one_run(scenario, customization))
[task 2020-04-01T17:45:16.151Z] File "condprof/../condprof/runner.py", line 139, in one_run
[task 2020-04-01T17:45:16.151Z] ).run(not self.visible)
[task 2020-04-01T17:45:16.151Z] File "condprof/../condprof/creator.py", line 77, in run
[task 2020-04-01T17:45:16.151Z] metadata = await self.build_profile(device, headless)
[task 2020-04-01T17:45:16.151Z] File "condprof/../condprof/creator.py", line 156, in build_profile
[task 2020-04-01T17:45:16.151Z] metadata.update(await scenario_func(session, options))
[task 2020-04-01T17:45:16.151Z] File "condprof/../condprof/scenarii/full.py", line 125, in full
[task 2020-04-01T17:45:16.151Z] return await builder(session)
[task 2020-04-01T17:45:16.151Z] File "condprof/../condprof/scenarii/full.py", line 103, in call
[task 2020-04-01T17:45:16.151Z] await asyncio.wait_for(session.get(url), 5)
[task 2020-04-01T17:45:16.151Z] File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
[task 2020-04-01T17:45:16.151Z] return fut.result()
[task 2020-04-01T17:45:16.151Z] File "/builds/task_1585760317/fetches/condprofile/lib/python3.6/site-packages/arsenic/session.py", line 139, in get
[task 2020-04-01T17:45:16.151Z] await self._request(url="/url", method="POST", data={"url": self.bind + url})
[task 2020-04-01T17:45:16.151Z] File "/builds/task_1585760317/fetches/condprofile/lib/python3.6/site-packages/arsenic/session.py", line 38, in _request
[task 2020-04-01T17:45:16.151Z] self._check_response_error(status, data)
[task 2020-04-01T17:45:16.151Z] File "/builds/task_1585760317/fetches/condprofile/lib/python3.6/site-packages/arsenic/session.py", line 45, in _check_response_error
[task 2020-04-01T17:45:16.151Z] check_response_error(status, data)
[task 2020-04-01T17:45:16.151Z] File "/builds/task_1585760317/fetches/condprofile/lib/python3.6/site-packages/arsenic/connection.py", line 39, in check_response_error
[task 2020-04-01T17:45:16.151Z] errors.raise_exception(data, status)
[task 2020-04-01T17:45:16.151Z] File "/builds/task_1585760317/fetches/condprofile/lib/python3.6/site-packages/arsenic/errors.py", line 105, in raise_exception
[task 2020-04-01T17:45:16.151Z] raise exception_class(message, screen, stacktrace)
[task 2020-04-01T17:45:16.151Z] arsenic.errors.UnknownError: Reached error page: about:neterror?e=connectionFailure&u=https%3A//www.ebay.com/sch/i.html%3F_from%3DR40%26_trksid%3Dp2380057.m570.l1313.TR0.TRC0.H0.Xbottle.TRS0%26_nkw%3Dpyjama&c=UTF-8&f=regular&d=Firefox%20can%27t%20establish%20a%20connection%20to%20the%20server%20at%20www.ebay.com.
[task 2020-04-01T17:45:16.151Z] script.py: command finished
[task 2020-04-01T17:45:16.151Z] script.py: enabling charging for device 'Pixel 2' ('FA7AS1A03106')...

[task 2020-04-01T17:45:03.939Z] handleEvent@chrome://marionette/content/listener.js:13:624
[task 2020-04-01T17:45:03.939Z] status=500 type=<class 'arsenic.errors.UnknownError'>
[task 2020-04-01T17:45:03.939Z] condprof ERROR | full scenario broke!
[task 2020-04-01T17:45:03.939Z] condprof INFO | Could not run the scenario, probably a faulty scenario
[task 2020-04-01T17:45:16.150Z] condprof INFO | Stopping org.mozilla.firefox
[task 2020-04-01T17:45:16.150Z] condprof INFO | org.mozilla.firefox stopped
[task 2020-04-01T17:45:16.150Z] condprof INFO | Dumping Android logs
[task 2020-04-01T17:45:16.150Z] condprof INFO | Writing logcat at /builds/task_1585760317/archive/logcat.log
[task 2020-04-01T17:45:16.150Z] condprof ERROR | full x condprof/../condprof/customization/default.json failed.
[task 2020-04-01T17:45:16.150Z] Traceback (most recent call last):
[task 2020-04-01T17:45:16.150Z] File "condprof/../condprof/runner.py", line 164, in run_all
[task 2020-04-01T17:45:16.150Z] res.append(await self.one_run(scenario, customization))
[task 2020-04-01T17:45:16.150Z] File "condprof/../condprof/runner.py", line 139, in one_run
[task 2020-04-01T17:45:16.150Z] ).run(not self.visible)
[task 2020-04-01T17:45:16.150Z] File "condprof/../condprof/creator.py", line 77, in run
[task 2020-04-01T17:45:16.150Z] metadata = await self.build_profile(device, headless)
[task 2020-04-01T17:45:16.150Z] File "condprof/../condprof/creator.py", line 156, in build_profile
[task 2020-04-01T17:45:16.150Z] metadata.update(await scenario_func(session, options))
[task 2020-04-01T17:45:16.150Z] File "condprof/../condprof/scenarii/full.py", line 125, in full
[task 2020-04-01T17:45:16.150Z] return await builder(session)
[task 2020-04-01T17:45:16.150Z] File "condprof/../condprof/scenarii/full.py", line 103, in call
[task 2020-04-01T17:45:16.150Z] await asyncio.wait_for(session.get(url), 5)
[task 2020-04-01T17:45:16.150Z] File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
[task 2020-04-01T17:45:16.150Z] return fut.result()
[task 2020-04-01T17:45:16.150Z] File "/builds/task_1585760317/fetches/condprofile/lib/python3.6/site-packages/arsenic/session.py", line 139, in get
[task 2020-04-01T17:45:16.150Z] await self._request(url="/url", method="POST", data={"url": self.bind + url})
[task 2020-04-01T17:45:16.150Z] File "/builds/task_1585760317/fetches/condprofile/lib/python3.6/site-packages/arsenic/session.py", line 38, in _request
[task 2020-04-01T17:45:16.150Z] self._check_response_error(status, data)
[task 2020-04-01T17:45:16.150Z] File "/builds/task_1585760317/fetches/condprofile/lib/python3.6/site-packages/arsenic/session.py", line 45, in _check_response_error
[task 2020-04-01T17:45:16.150Z] check_response_error(status, data)
[task 2020-04-01T17:45:16.150Z] File "/builds/task_1585760317/fetches/condprofile/lib/python3.6/site-packages/arsenic/connection.py", line 39, in check_response_error
[task 2020-04-01T17:45:16.150Z] errors.raise_exception(data, status)
[task 2020-04-01T17:45:16.150Z] File "/builds/task_1585760317/fetches/condprofile/lib/python3.6/site-packages/arsenic/errors.py", line 105, in raise_exception
[task 2020-04-01T17:45:16.150Z] raise exception_class(message, screen, stacktrace)
[task 2020-04-01T17:45:16.150Z] arsenic.errors.UnknownError: Reached error page: about:neterror?e=connectionFailure&u=https%3A//www.ebay.com/sch/i.html%3F_from%3DR40%26_trksid%3Dp2380057.m570.l1313.TR0.TRC0.H0.Xbottle.TRS0%26_nkw%3Dpyjama&c=UTF-8&f=regular&d=Firefox%20can%27t%20establish%20a%20connection%20to%20the%20server%20at%20www.ebay.com.

note to myself https://searchfox.org/mozilla-central/source/testing/condprofile/condprof/scenarii/full.py#106

add arsenic.errors.UnknownError and retry (network split?)

Changed the full scenario to be more relisient on arsenic errors

Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.