mozharness continuous integration

RESOLVED FIXED

Status

Release Engineering
Mozharness
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: aki, Assigned: aki)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [mozharness])

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Probably use unit.sh or something similar.
(Assignee)

Comment 1

5 years ago
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)
(Assignee)

Updated

5 years ago
Blocks: 799719
(Assignee)

Updated

5 years ago
Assignee: nobody → aki
(Assignee)

Updated

5 years ago
Depends on: 828029
(Assignee)

Comment 3

5 years ago
I have been completely unsuccessful figuring out how the heck to get nosetests to accept the --with-xunit option.  Proceeding without that.
(Assignee)

Comment 4

5 years ago
(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.
(Assignee)

Comment 5

5 years ago
Created attachment 727497 [details] [diff] [review]
get mozharness unit tests runnable from jenkins

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)

Updated

5 years ago
Attachment #727497 - Flags: review?(catlee) → review+
(Assignee)

Comment 6

5 years ago
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+
(Assignee)

Comment 7

5 years ago
Updated the mozharness_tests job in Jenkins to point at build/mozharness (instead of my user repo), and wiped the workspace.
Went green.
(Assignee)

Comment 8

5 years ago
Merged to production.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering

Updated

4 years ago
Component: General Automation → Mozharness
You need to log in before you can comment on or make changes to this bug.