Last modified: 2013-03-28 22:51:38 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 T47059, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45059 - secret.yml is required for all tests
secret.yml is required for all tests
Status: VERIFIED FIXED
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Željko Filipin
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-15 23:30 UTC by Matthew Flaschen
Modified: 2013-03-28 22:51 UTC (History)
3 users (show)

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


Attachments
Error log running with secret.yml (1.66 KB, text/plain)
2013-02-15 23:30 UTC, Matthew Flaschen
Details

Description Matthew Flaschen 2013-02-15 23:30:54 UTC
Created attachment 11795 [details]
Error log running with secret.yml

secret.yml is required for all tests.  The docs (https://www.mediawiki.org/wiki/QA/Browser_testing/Running_and_writing_tests) said (commented out pending this bug fix):

"However, unless a particular test requires secret information, it is fine that secret.yml be empty."

That is not the case.  I got the attached error, and no tests successfully ran.

I'm not sure what the password is for, but it should not be necessary to run tasks on my own machine against the test wikis (e.g. test2.wikipedia.org).

The tests seem to use the wikis logged out anyway.
Comment 1 Matthew Flaschen 2013-02-15 23:33:35 UTC
It looks like it logs in for some UploadWizard tests.
Comment 2 Željko Filipin 2013-02-19 17:35:06 UTC
Yes, UploadWizard tests need to log in. Thanks for updating the documentation.

Is there something that needs to be done here, or should the bug be closed?
Comment 3 Matthew Flaschen 2013-02-19 21:28:58 UTC
The bug is that it's required to run any test, not just the UploadWizard ones.
Comment 4 Željko Filipin 2013-02-21 00:54:30 UTC
I will work on this as soon as I resolve 45060.
Comment 5 Željko Filipin 2013-03-27 14:20:41 UTC
Apologies for another late fix: https://gerrit.wikimedia.org/r/#/c/56159/

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


Navigation
Links