Hi,
would anyone experienced (like hashar) be interested in setup of jekins on wikimedia labs so that we can get a unit test environment available to all devs for any projects, written in languages like:
* C * C++ * Python * PHP
+ other frequently used languages
I think it would be useful for some (at least me) people :)
I noticed there is "integration" project, but what its status is, I don't know
On Fri, Nov 8, 2013 at 11:21 AM, Petr Bena benapetr@gmail.com wrote:
Hi,
would anyone experienced (like hashar) be interested in setup of jekins on wikimedia labs so that we can get a unit test environment available to all devs for any projects, written in languages like:
- C
- C++
- Python
- PHP
- other frequently used languages
I think it would be useful for some (at least me) people :)
Hey,
What about using TravisCI or any of the many alternatives? I'm not sure what the benefit would be of setting up and maintaining something like that yourself.
Cheers
-- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 --
TBH I have no idea which sw for this is best, whatever that is working I am fine with... I thought people are using jenkins for MW, so there are likely more people who have experience witht hat
On Fri, Nov 8, 2013 at 1:14 PM, Jeroen De Dauw jeroendedauw@gmail.com wrote:
Hey,
What about using TravisCI or any of the many alternatives? I'm not sure what the benefit would be of setting up and maintaining something like that yourself.
Cheers
-- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 -- _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Le 08/11/13 11:21, Petr Bena a écrit :
would anyone experienced (like hashar) be interested in setup of jekins on wikimedia labs so that we can get a unit test environment available to all devs for any projects, written in languages like:
- C
- C++
- Python
- PHP
If the project is hosted on Wikimedia Gerrit installation, you can surely get jobs added on the existing installation. The jobs configuration are handled using Jenkins Job Builder and trigger by Zuul:
integration/jenkins-jobs-builder-config.git integration/zuul-config.git
Do you have any use case in mind?
Yes, I made a simple unit test suite for huggle, which uses internal QT unit test system, basically what I need to do is
* periodically pull the latest version of source code from master branch * build the test suite (if build is failed submit this information) * execute test suite (qt unit test system can even produce results as XML, or other commonly used formats) * evaluate the results and if there are any failures submit this information somewhere
the "somewhere" for submitting should be preferable shell script I can write, which would send the data directly to our irc channel, so that we can be notified immediately if any commit breaks any test.
I don't really know if this is something what Jenkins can be used for, but I was told by Coren that running this task on Tools project is not a right thing to do. So I am basically looking for another project where we could run these unit tests. (It requires g++, make and full qt4 dev sdk to be installed on server where unit tests are about to be ran)
On Fri, Nov 8, 2013 at 3:40 PM, Antoine Musso hashar+wmf@free.fr wrote:
Le 08/11/13 11:21, Petr Bena a écrit :
would anyone experienced (like hashar) be interested in setup of jekins on wikimedia labs so that we can get a unit test environment available to all devs for any projects, written in languages like:
- C
- C++
- Python
- PHP
If the project is hosted on Wikimedia Gerrit installation, you can surely get jobs added on the existing installation. The jobs configuration are handled using Jenkins Job Builder and trigger by Zuul:
integration/jenkins-jobs-builder-config.git integration/zuul-config.git
Do you have any use case in mind?
-- Antoine "hashar" Musso
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
to explain how QT unit testing works a bit more, it's basically another QT project that includes the source code from master branch and produces a binary file (called tst_testmain) which can be executed with various parameters and executes the unit tests defined in its source code, for example:
petanb@petrbena:~/Public/huggle3-qt-lx/huggle/tests/test$ ./tst_testmain ********* Start testing of HuggleTest ********* Config: Using QTest library 4.8.6, Qt 4.8.6 PASS : HuggleTest::initTestCase() PASS : HuggleTest::testCaseWikiUserCheckIP() PASS : HuggleTest::cleanupTestCase() Totals: 3 passed, 0 failed, 0 skipped ********* Finished testing of HuggleTest *********
This thing of course can be ran by some 3rd tool (such as jenkins) which run it automatically when new commit arrives to repository and evaluates the results...
On Fri, Nov 8, 2013 at 5:16 PM, Petr Bena benapetr@gmail.com wrote:
Yes, I made a simple unit test suite for huggle, which uses internal QT unit test system, basically what I need to do is
- periodically pull the latest version of source code from master branch
- build the test suite (if build is failed submit this information)
- execute test suite (qt unit test system can even produce results as
XML, or other commonly used formats)
- evaluate the results and if there are any failures submit this
information somewhere
the "somewhere" for submitting should be preferable shell script I can write, which would send the data directly to our irc channel, so that we can be notified immediately if any commit breaks any test.
I don't really know if this is something what Jenkins can be used for, but I was told by Coren that running this task on Tools project is not a right thing to do. So I am basically looking for another project where we could run these unit tests. (It requires g++, make and full qt4 dev sdk to be installed on server where unit tests are about to be ran)
On Fri, Nov 8, 2013 at 3:40 PM, Antoine Musso hashar+wmf@free.fr wrote:
Le 08/11/13 11:21, Petr Bena a écrit :
would anyone experienced (like hashar) be interested in setup of jekins on wikimedia labs so that we can get a unit test environment available to all devs for any projects, written in languages like:
- C
- C++
- Python
- PHP
If the project is hosted on Wikimedia Gerrit installation, you can surely get jobs added on the existing installation. The jobs configuration are handled using Jenkins Job Builder and trigger by Zuul:
integration/jenkins-jobs-builder-config.git integration/zuul-config.git
Do you have any use case in mind?
-- Antoine "hashar" Musso
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Petr
I'll try to setup Travis tests to run on every github commit on Monday. :) That seems like the best solution as the repo is on github!
Also this way you'll be able to see the status of the tests for all branches and pull requests etc :-)
Addshore On 8 Nov 2013 17:22, "Petr Bena" benapetr@gmail.com wrote:
to explain how QT unit testing works a bit more, it's basically another QT project that includes the source code from master branch and produces a binary file (called tst_testmain) which can be executed with various parameters and executes the unit tests defined in its source code, for example:
petanb@petrbena:~/Public/huggle3-qt-lx/huggle/tests/test$ ./tst_testmain ********* Start testing of HuggleTest ********* Config: Using QTest library 4.8.6, Qt 4.8.6 PASS : HuggleTest::initTestCase() PASS : HuggleTest::testCaseWikiUserCheckIP() PASS : HuggleTest::cleanupTestCase() Totals: 3 passed, 0 failed, 0 skipped ********* Finished testing of HuggleTest *********
This thing of course can be ran by some 3rd tool (such as jenkins) which run it automatically when new commit arrives to repository and evaluates the results...
On Fri, Nov 8, 2013 at 5:16 PM, Petr Bena benapetr@gmail.com wrote:
Yes, I made a simple unit test suite for huggle, which uses internal QT unit test system, basically what I need to do is
- periodically pull the latest version of source code from master branch
- build the test suite (if build is failed submit this information)
- execute test suite (qt unit test system can even produce results as
XML, or other commonly used formats)
- evaluate the results and if there are any failures submit this
information somewhere
the "somewhere" for submitting should be preferable shell script I can write, which would send the data directly to our irc channel, so that we can be notified immediately if any commit breaks any test.
I don't really know if this is something what Jenkins can be used for, but I was told by Coren that running this task on Tools project is not a right thing to do. So I am basically looking for another project where we could run these unit tests. (It requires g++, make and full qt4 dev sdk to be installed on server where unit tests are about to be ran)
On Fri, Nov 8, 2013 at 3:40 PM, Antoine Musso hashar+wmf@free.fr
wrote:
Le 08/11/13 11:21, Petr Bena a écrit :
would anyone experienced (like hashar) be interested in setup of jekins on wikimedia labs so that we can get a unit test environment available to all devs for any projects, written in languages like:
- C
- C++
- Python
- PHP
If the project is hosted on Wikimedia Gerrit installation, you can surely get jobs added on the existing installation. The jobs configuration are handled using Jenkins Job Builder and trigger by Zuul:
integration/jenkins-jobs-builder-config.git integration/zuul-config.git
Do you have any use case in mind?
-- Antoine "hashar" Musso
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
For the benefit of the list!
https://github.com/huggle/huggle3-qt-lx/commit/5605080314444c860e942a1df36cb...
https://travis-ci.org/huggle/huggle3-qt-lx/builds
Addshore
On 9 November 2013 00:33, addshorewiki addshorewiki@gmail.com wrote:
Petr
I'll try to setup Travis tests to run on every github commit on Monday. :) That seems like the best solution as the repo is on github!
Also this way you'll be able to see the status of the tests for all branches and pull requests etc :-)
Addshore On 8 Nov 2013 17:22, "Petr Bena" benapetr@gmail.com wrote:
to explain how QT unit testing works a bit more, it's basically another QT project that includes the source code from master branch and produces a binary file (called tst_testmain) which can be executed with various parameters and executes the unit tests defined in its source code, for example:
petanb@petrbena:~/Public/huggle3-qt-lx/huggle/tests/test$ ./tst_testmain ********* Start testing of HuggleTest ********* Config: Using QTest library 4.8.6, Qt 4.8.6 PASS : HuggleTest::initTestCase() PASS : HuggleTest::testCaseWikiUserCheckIP() PASS : HuggleTest::cleanupTestCase() Totals: 3 passed, 0 failed, 0 skipped ********* Finished testing of HuggleTest *********
This thing of course can be ran by some 3rd tool (such as jenkins) which run it automatically when new commit arrives to repository and evaluates the results...
On Fri, Nov 8, 2013 at 5:16 PM, Petr Bena benapetr@gmail.com wrote:
Yes, I made a simple unit test suite for huggle, which uses internal QT unit test system, basically what I need to do is
- periodically pull the latest version of source code from master branch
- build the test suite (if build is failed submit this information)
- execute test suite (qt unit test system can even produce results as
XML, or other commonly used formats)
- evaluate the results and if there are any failures submit this
information somewhere
the "somewhere" for submitting should be preferable shell script I can write, which would send the data directly to our irc channel, so that we can be notified immediately if any commit breaks any test.
I don't really know if this is something what Jenkins can be used for, but I was told by Coren that running this task on Tools project is not a right thing to do. So I am basically looking for another project where we could run these unit tests. (It requires g++, make and full qt4 dev sdk to be installed on server where unit tests are about to be ran)
On Fri, Nov 8, 2013 at 3:40 PM, Antoine Musso hashar+wmf@free.fr
wrote:
Le 08/11/13 11:21, Petr Bena a écrit :
would anyone experienced (like hashar) be interested in setup of jekins on wikimedia labs so that we can get a unit test environment available to all devs for any projects, written in languages like:
- C
- C++
- Python
- PHP
If the project is hosted on Wikimedia Gerrit installation, you can surely get jobs added on the existing installation. The jobs configuration are handled using Jenkins Job Builder and trigger by
Zuul:
integration/jenkins-jobs-builder-config.git integration/zuul-config.git
Do you have any use case in mind?
-- Antoine "hashar" Musso
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Cool thing :o
good job
On Mon, Nov 11, 2013 at 4:10 PM, addshorewiki addshorewiki@gmail.com wrote:
For the benefit of the list!
https://github.com/huggle/huggle3-qt-lx/commit/5605080314444c860e942a1df36cb...
https://travis-ci.org/huggle/huggle3-qt-lx/builds
Addshore
On 9 November 2013 00:33, addshorewiki addshorewiki@gmail.com wrote:
Petr
I'll try to setup Travis tests to run on every github commit on Monday. :) That seems like the best solution as the repo is on github!
Also this way you'll be able to see the status of the tests for all branches and pull requests etc :-)
Addshore On 8 Nov 2013 17:22, "Petr Bena" benapetr@gmail.com wrote:
to explain how QT unit testing works a bit more, it's basically another QT project that includes the source code from master branch and produces a binary file (called tst_testmain) which can be executed with various parameters and executes the unit tests defined in its source code, for example:
petanb@petrbena:~/Public/huggle3-qt-lx/huggle/tests/test$ ./tst_testmain ********* Start testing of HuggleTest ********* Config: Using QTest library 4.8.6, Qt 4.8.6 PASS : HuggleTest::initTestCase() PASS : HuggleTest::testCaseWikiUserCheckIP() PASS : HuggleTest::cleanupTestCase() Totals: 3 passed, 0 failed, 0 skipped ********* Finished testing of HuggleTest *********
This thing of course can be ran by some 3rd tool (such as jenkins) which run it automatically when new commit arrives to repository and evaluates the results...
On Fri, Nov 8, 2013 at 5:16 PM, Petr Bena benapetr@gmail.com wrote:
Yes, I made a simple unit test suite for huggle, which uses internal QT unit test system, basically what I need to do is
- periodically pull the latest version of source code from master branch
- build the test suite (if build is failed submit this information)
- execute test suite (qt unit test system can even produce results as
XML, or other commonly used formats)
- evaluate the results and if there are any failures submit this
information somewhere
the "somewhere" for submitting should be preferable shell script I can write, which would send the data directly to our irc channel, so that we can be notified immediately if any commit breaks any test.
I don't really know if this is something what Jenkins can be used for, but I was told by Coren that running this task on Tools project is not a right thing to do. So I am basically looking for another project where we could run these unit tests. (It requires g++, make and full qt4 dev sdk to be installed on server where unit tests are about to be ran)
On Fri, Nov 8, 2013 at 3:40 PM, Antoine Musso hashar+wmf@free.fr
wrote:
Le 08/11/13 11:21, Petr Bena a écrit :
would anyone experienced (like hashar) be interested in setup of jekins on wikimedia labs so that we can get a unit test environment available to all devs for any projects, written in languages like:
- C
- C++
- Python
- PHP
If the project is hosted on Wikimedia Gerrit installation, you can surely get jobs added on the existing installation. The jobs configuration are handled using Jenkins Job Builder and trigger by
Zuul:
integration/jenkins-jobs-builder-config.git integration/zuul-config.git
Do you have any use case in mind?
-- Antoine "hashar" Musso
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Le 11/11/13 16:10, addshorewiki a écrit :
For the benefit of the list!
https://github.com/huggle/huggle3-qt-lx/commit/5605080314444c860e942a1df36cb...
Awesome :-]
On Fri, 8 Nov 2013, at 20:51, Petr Bena wrote:
Hi,
would anyone experienced (like hashar) be interested in setup of jekins on wikimedia labs so that we can get a unit test environment available to all devs for any projects, written in languages like:
- C
- C++
- Python
- PHP
- other frequently used languages
And Perl.
Gryllida
I think it would be useful for some (at least me) people :)
wikitech-l@lists.wikimedia.org