Closed Bug 1773889 Opened 2 years ago Closed 2 years ago

Categories

(Testing :: Condprofile, defect, P5)

defect

Tracking

(firefox103 fixed)

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell disable-recommended])

Attachments

(2 files)

Filed by: smolnar [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=381044574&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/RqGOzh5FSwaFE-9xosNTJA/runs/0/artifacts/public/logs/live_backing.log


INFO - condprof Could not find an existing archive.
[task 2022-06-12T16:31:28.265Z] 16:31:28     INFO - condprof Content in cache directory C:\Users\task_165504871952763/.condprof-cache: ['profile-win64-full-default.tgz.etag']
[task 2022-06-12T16:31:28.266Z] 16:31:28     INFO - condprof Downloading https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/gecko.v2.mozilla-central.latest.firefox.condprof-win64-full/artifacts/public/condprof/profile-win64-full-default.tgz
[task 2022-06-12T16:31:28.357Z] 16:31:28     INFO - condprof Failed to extract the tarball
[task 2022-06-12T16:31:28.360Z] 16:31:28     INFO - condprof Removing cached file to attempt a new download
[task 2022-06-12T16:31:28.360Z] 16:31:28     INFO - condprof Failed to get the profile.
[task 2022-06-12T16:31:28.361Z] 16:31:28     INFO - condprof Failed, retrying
[task 2022-06-12T16:33:09.608Z] 16:33:09    ERROR - condprof All attempt failed
[task 2022-06-12T16:33:09.610Z] 16:33:09     INFO -  Traceback (most recent call last):
[task 2022-06-12T16:33:09.610Z] 16:33:09     INFO -    File "Z:\task_165504871952763\build\venv\lib\site-packages\condprof\client.py", line 211, in get_profile
[task 2022-06-12T16:33:09.610Z] 16:33:09     INFO -      return _retries(_get_profile, onerror)
[task 2022-06-12T16:33:09.611Z] 16:33:09     INFO -    File "Z:\task_165504871952763\build\venv\lib\site-packages\condprof\client.py", line 120, in _retries
[task 2022-06-12T16:33:09.611Z] 16:33:09     INFO -      raise RetriesError()
[task 2022-06-12T16:33:09.611Z] 16:33:09     INFO -  condprof.client.RetriesError
[task 2022-06-12T16:33:09.611Z] 16:33:09     INFO -  During handling of the above exception, another exception occurred:
[task 2022-06-12T16:33:09.612Z] 16:33:09     INFO -  Traceback (most recent call last):
[task 2022-06-12T16:33:09.612Z] 16:33:09     INFO -    File "Z:\task_165504871952763\build\tests\mochitest\runtests.py", line 3879, in <module>
[task 2022-06-12T16:33:09.612Z] 16:33:09     INFO -      sys.exit(cli())
[task 2022-06-12T16:33:09.613Z] 16:33:09     INFO -    File "Z:\task_165504871952763\build\tests\mochitest\runtests.py", line 3875, in cli
[task 2022-06-12T16:33:09.613Z] 16:33:09     INFO -      return run_test_harness(parser, options)
[task 2022-06-12T16:33:09.613Z] 16:33:09     INFO -    File "Z:\task_165504871952763\build\tests\mochitest\runtests.py", line 3860, in run_test_harness
[task 2022-06-12T16:33:09.613Z] 16:33:09     INFO -      result = runner.runTests(options)
[task 2022-06-12T16:33:09.614Z] 16:33:09     INFO -    File "Z:\task_165504871952763\build\tests\mochitest\runtests.py", line 3223, in runTests
[task 2022-06-12T16:33:09.614Z] 16:33:09     INFO -      res = self.runMochitests(options, tests_in_manifest, manifestToFilter=m)
[task 2022-06-12T16:33:09.614Z] 16:33:09     INFO -    File "Z:\task_165504871952763\build\tests\mochitest\runtests.py", line 2921, in runMochitests
[task 2022-06-12T16:33:09.614Z] 16:33:09     INFO -      result = self.doTests(options, testsToRun, manifestToFilter)
[task 2022-06-12T16:33:09.614Z] 16:33:09     INFO -    File "Z:\task_165504871952763\build\tests\mochitest\runtests.py", line 3357, in doTests
[task 2022-06-12T16:33:09.615Z] 16:33:09     INFO -      self.manifest = self.buildProfile(options)
[task 2022-06-12T16:33:09.615Z] 16:33:09     INFO -    File "Z:\task_165504871952763\build\tests\mochitest\runtests.py", line 2219, in buildProfile
[task 2022-06-12T16:33:09.615Z] 16:33:09     INFO -      options.profilePath = self.downloadConditionedProfile("full")
[task 2022-06-12T16:33:09.615Z] 16:33:09     INFO -    File "Z:\task_165504871952763\build\tests\mochitest\runtests.py", line 2172, in downloadConditionedProfile
[task 2022-06-12T16:33:09.616Z] 16:33:09     INFO -      cond_prof_target_dir = get_profile(
[task 2022-06-12T16:33:09.616Z] 16:33:09     INFO -    File "Z:\task_165504871952763\build\venv\lib\site-packages\condprof\client.py", line 213, in get_profile
[task 2022-06-12T16:33:09.616Z] 16:33:09     INFO -      raise ProfileNotFoundError(url)
[task 2022-06-12T16:33:09.617Z] 16:33:09     INFO -  condprof.client.ProfileNotFoundError: https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/gecko.v2.mozilla-central.latest.firefox.condprof-win64-full/artifacts/public/condprof/profile-win64-full-default.tgz
[task 2022-06-12T16:33:09.693Z] 16:33:09    ERROR - Return code: 1
[task 2022-06-12T16:33:09.694Z] 16:33:09    ERROR - No suite end message was emitted by this harness.
[task 2022-06-12T16:33:09.694Z] 16:33:09     INFO - TinderboxPrint: mochitest-mochitest-plain<br/>104/0/0
[task 2022-06-12T16:33:09.694Z] 16:33:09    ERROR - # TBPL FAILURE #
[task 2022-06-12T16:33:09.694Z] 16:33:09  WARNING - setting return code to 2
Summary: Perma condprof.client.ProfileNotFoundError: https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/gecko.v2.mozilla-central.latest.firefox.condprof-win64-full/artifacts/public/condprof/profile-win64-full-default.tgz → Perma Windows 10 x64 2004 WebRender Shippable mochitests condprof.client.ProfileNotFoundError: https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/gecko.v2.mozilla-central.latest.firefox.condprof-win64-full/artifacts/public/condprof/profile-win
Summary: Perma Windows 10 x64 2004 WebRender Shippable mochitests condprof.client.ProfileNotFoundError: https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/gecko.v2.mozilla-central.latest.firefox.condprof-win64-full/artifacts/public/condprof/profile-win → Perma Windows 10 x64 2004 WebRender mochitests condprof.client.ProfileNotFoundError: https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/gecko.v2.mozilla-central.latest.firefox.condprof-win64-full/artifacts/public/condprof/profile-win

:jmaher, is this something you can look into? It's related to mochitest tests using condprof and I'm not sure who owns those.

Flags: needinfo?(gmierz2) → needinfo?(jmaher)

Thanks :nataliacs! So the issue came from this task which failed silently: https://treeherder.mozilla.org/jobs?repo=mozilla-central&selectedTaskRun=NYWEh8ttRyC-AYSjjltR9A.0&searchStr=condprof&revision=960df119139665fb503dd69be79e38337e0093e3

The profile was not produced but the mochitest tests were still trying to pull from it.

I will look into making this job fail, which should help out in tracking failures and maybe fixing the index to be the last known good.

Flags: needinfo?(jmaher)
Blocks: 1769097
Summary: Perma Windows 10 x64 2004 WebRender mochitests condprof.client.ProfileNotFoundError: https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/gecko.v2.mozilla-central.latest.firefox.condprof-win64-full/artifacts/public/condprof/profile-win → Perma Windows 10 x64 2004 WebRender mochitests/xpcshell condprof.client.ProfileNotFoundError: https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/gecko.v2.mozilla-central.latest.firefox.condprof-win64-full/artifacts/public/condprof/profile-win
Assignee: nobody → jmaher
Status: NEW → ASSIGNED

I have a patch up to mark this as TBPL_RETRY so we automatically retry the job. I am happy to adjust to failure if needed.

Pushed by jmaher@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/43773fd2a3ad
exit with TBPL_RETRY for failed condprof job. r=sparky
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Flags: needinfo?(jmaher)
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch

actually this is a different error- I am testing some stuff on try to see if I can reproduce it and if my fix works.

A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party.

Pushed by jmaher@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/067434790830
handing another exception edge case with conditioned profiles. r=sparky
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: