Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run UI tests in two different jobs #8684

Merged
merged 1 commit into from Sep 2, 2015
Merged

Run UI tests in two different jobs #8684

merged 1 commit into from Sep 2, 2015

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Sep 1, 2015

refs #8222 and see #8222 (comment)

Example run: https://travis-ci.org/piwik/piwik/builds/78185419

Instead of having 1 job that takes about 35-45 minutes we now have 2 jobs that take about 17-24minutes each. As mentioned in the issue we could also split it into three jobs but then other commits take longer to start maybe as we need more jobs. We can see how it goes and still change things later.

Not sure if we can close #8222 afterwards for now? I'd close I think as goal of the UI tests should run ideally in less than 20 or 25 minutes is satisfied. They are even faster then AllTests job

@tsteur tsteur added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Sep 1, 2015
@tsteur tsteur added this to the 2.15.0 milestone Sep 1, 2015
@mattab
Copy link
Member

mattab commented Sep 1, 2015

this is a great win, what a good idea!

Re: Builds artifacts does it work smoothly when the build is split across 2 jobs (ie. can we still see all screenshots diffs in one page on builds-artifacts)

this will close #8222 beautifully for sure

@tsteur
Copy link
Member Author

tsteur commented Sep 1, 2015

I tried it with a failure in first run and with a failure in second run and worked. Haven't tested with an error in both builds but so far screenshots are always added to that directory on builds-artifacts I think so it should work

@@ -1 +1 @@
Subproject commit f62fc4fe97a88aa11e495abda384f142b38fd580
Subproject commit b7a9cd1a1755b9f500ac111713ce07bb983c12e7
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the submodule be different? Other than this, looks good to merge.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes as it points to new travis version that recognizes the UITEST_EXTRA_OPTIONS variable

tsteur added a commit that referenced this pull request Sep 2, 2015
Run UI tests in two different jobs
@tsteur tsteur merged commit 8ceb299 into master Sep 2, 2015
@tsteur tsteur deleted the 8222 branch September 2, 2015 08:28
@tsteur
Copy link
Member Author

tsteur commented Sep 3, 2015

Actually, I noticed files get deleted every time we upload new artifacts. This was changed recently in https://github.com/piwik/ui-tests-viewer/commit/a0b03de6f9257393c9a511723c661ebeb14795c1 and will maybe simply undo that delete directory to fix it for now

@tsteur
Copy link
Member Author

tsteur commented Sep 3, 2015

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants