Last modified: 2013-12-02 16:24:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T54424, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52424 - Run smoke tests on hermetic instances per patchset submitted in mediawiki/core
Run smoke tests on hermetic instances per patchset submitted in mediawiki/core
Status: NEW
Product: Wikimedia
Classification: Unclassified
Quality Assurance (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
rmqa-2013
:
Depends on: 50576 51492
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-01 21:28 UTC by Greg Grossmeier
Modified: 2013-12-02 16:24 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Greg Grossmeier 2013-08-01 21:28:14 UTC
What it says on the tin.
Comment 1 Tim Starling 2013-10-15 02:45:43 UTC
What is a "smoke test", and what is a "hermetic instance"?
Comment 2 Željko Filipin 2013-10-15 11:37:33 UTC
According to Wikipedia[1]: "In computer programming and software testing, smoke testing is preliminary testing to reveal simple failures severe enough to reject a prospective software release."

Hermetic instance in this context would probably be an instance created using a tool like Vagrant.

1: http://en.wikipedia.org/wiki/Smoke_testing#Software_development
Comment 3 Tim Starling 2013-10-15 20:18:50 UTC
(In reply to comment #2)
> According to Wikipedia[1]: "In computer programming and software testing,
> smoke
> testing is preliminary testing to reveal simple failures severe enough to
> reject a prospective software release."

Do you mean the subset of phpunit tests defined by bug 51491? If so, maybe you should say that.

> Hermetic instance in this context would probably be an instance created
> using a tool like Vagrant.
> 
> 1: http://en.wikipedia.org/wiki/Smoke_testing#Software_development

You mean like bug 45499? What is the advantage of spinning up virtual instances for this? Bug 48407 only suggested using virtual instances when the test needs root access for some reason.
Comment 4 Greg Grossmeier 2013-10-17 19:31:58 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > According to Wikipedia[1]: "In computer programming and software testing,
> > smoke
> > testing is preliminary testing to reveal simple failures severe enough to
> > reject a prospective software release."
> 
> Do you mean the subset of phpunit tests defined by bug 51491? If so, maybe
> you
> should say that.

Not just phpunit tests, but also browser tests. But yes, those defined by 50576.

> > Hermetic instance in this context would probably be an instance created
> > using a tool like Vagrant.
> > 
> > 1: http://en.wikipedia.org/wiki/Smoke_testing#Software_development
> 
> You mean like bug 45499? What is the advantage of spinning up virtual
> instances
> for this?

Scaling so we can run more eg browser tests. For instance, the set of known good/smoke tests, which include browser tests, per patch set submitted. Right now we're pretty bottle necked on hardware.

The hardware bottleneck is also currently a human bottle neck as Chris/Zeljko review the browser tests fails each day (they're run twice daily). They don't really have bandwidth to do more.

But, if we tie browser test passing to patch submission, then the weight is transfered from QA to dev, where it should be when developing (to also catch the issues more quickly, getting us closer to being able to increase deploy cycle).

> Bug 48407 only suggested using virtual instances when the test
> needs
> root access for some reason.

Which is also good (though I don't know the priority of it, I haven't heard people clamoring for it), but the scaling issue is the primary win for us.
Comment 5 Željko Filipin 2013-12-02 16:10:18 UTC
Antoine, is this implemented?
Comment 6 Antoine "hashar" Musso (WMF) 2013-12-02 16:24:02 UTC
(In reply to comment #5)
> Antoine, is this implemented?

Nop, still blocked by bug 51492 which is not prioritized. I am working on browser tests and Parsoid/VE integration tests right now.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links