Closed Bug 1068757 Opened 10 years ago Closed 7 years ago

Mozharness unit tests fail with newer versions of Mercurial

Categories

(Release Engineering :: Applications: MozharnessCore, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: armenzg, Unassigned)

References

Details

(Whiteboard: [easier-mozharness])

If you run unit.sh with hg's version being 3.1.1.

armenzg-thinkpad mozharness hg:[default!] $ coverage run -a --branch '--omit='\''/usr/*,/opt/*'\''' /usr/local/bin/nosetests test/test_base_vcs_mercurial.py...E........................................
======================================================================
ERROR: test_apply_and_push_rebase_fails (test_base_vcs_mercurial.TestHg)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/armenzg/repos/mozharness/test/test_base_vcs_mercurial.py", line 524, in test_apply_and_push_rebase_fails
    lambda r, a: c(r, a, self.repodir), max_attempts=4)
  File "/home/armenzg/repos/mozharness/mozharness/base/vcs/mercurial.py", line 515, in apply_and_push
    self.update(localrepo, branch=branch)
  File "/home/armenzg/repos/mozharness/mozharness/base/vcs/mercurial.py", line 160, in update
    raise VCSException("Unable to update %s!" % dest)
VCSException: Unable to update /tmp/tmpWUYZxm/wc!
This will ensure that if a developer run unit.sh they should be able to get positive results.
Whiteboard: [easier-mozharness]
See Also: → 1330837
mozharness tests are currently testing against Mercurial 3.7.3. Initial comment mentioned 3.1.1. So I'm assuming this is no longer an issue.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.