Closed Bug 845908 Opened 11 years ago Closed 11 years ago

mozharness continuous integration

Categories

(Release Engineering :: Applications: MozharnessCore, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mozilla, Assigned: mozilla)

References

Details

(Whiteboard: [mozharness])

Attachments

(1 file)

Probably use unit.sh or something similar.
Where is the code for releng-ci's jenkins interface? Or is that all web-based?
Flags: needinfo?(catlee)
it's all web-based - http://10.134.48.37:8080/
Flags: needinfo?(catlee)
Blocks: vcs-sync
Assignee: nobody → aki
Depends on: 828029
I have been completely unsuccessful figuring out how the heck to get nosetests to accept the --with-xunit option.  Proceeding without that.
(In reply to Aki Sasaki [:aki] from comment #3)
> I have been completely unsuccessful figuring out how the heck to get
> nosetests to accept the --with-xunit option.  Proceeding without that.

Fixed by .noserc.
That took a bit longer than I wanted.

This patch:

* makes the unittests pass with both mercurial 1.7.3 and 2.5.2
* makes the unittests pass without requiring you be cd'ed into mozharness/.
* makes the unittests pass without requiring a specific .hgrc
* pep8-ifies a couple more files
* moves to VCSException for most of MercurialVCS
* changes MercurialVCS to use os.path.realpath to deal with softlinks
* removes network-dependent unittests
* adds a .hgrc and .noserc for testing

I have green jenkins mozharness unittests on my user repo with this patch.
Attachment #727497 - Flags: review?(catlee)
Attachment #727497 - Flags: review?(catlee) → review+
Comment on attachment 727497 [details] [diff] [review]
get mozharness unit tests runnable from jenkins

http://hg.mozilla.org/build/mozharness/rev/1d3fa4c2df22

Since this changes quite a bit of hg code, I'd like to see green on a new Cedar push before merging.
Attachment #727497 - Flags: checked-in+
Updated the mozharness_tests job in Jenkins to point at build/mozharness (instead of my user repo), and wiped the workspace.
Went green.
Merged to production.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: General Automation → Mozharness
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: