Hi DongInn,
Thanks a lot for your support :-)
I'm convinced (maybe I'm wrong) that revewing the whole testing will require
less effort than patching from places to places until it work more or less.
As you know, for the moment, I'm working on apitest which is currently
incompatible with centos-6+ (python-elementtree is now part of python-lxml)
Then I'll try to set correct paths (for all tests (opkg, oscar api, packaging)).
Then I'll try to find the best way to keep compatibility and have a smooth
transition to full apitest if it makes sens.
I expect that nothink break. (it's broken right now, but I mean, it should not
be a worse situation).
In the meantime for the test_cluster command, I've patched it as it did not run
the test_root scripts (was looking at the wrong place; one more argument to
refactor those paths)....
Best regards,
Olivier.
--
Olivier LAHAYE
CEA DRT/LIST/DM2I/DIR
________________________________
De : DongInn Kim [di...@cs.indiana.edu]
Date d'envoi : mercredi 27 novembre 2013 16:04
À : Devel OSCAR
Objet : Re: [Oscar-devel] step 8: request for opinions: testing: test
structure, new api / packaging question => LSB?
Hi Olivier,
I think that it is great that we clean up all the old codes and have them
revive. I believe that your suggestion makes sense and as long as we can have
the consistent testing directory structures, there would be no arguments on
this.
Regards,
--
- DongInn
On Nov 27, 2013, at 5:30 AM, LAHAYE Olivier
<olivier.lah...@cea.fr<mailto:olivier.lah...@cea.fr>> wrote:
Hi,
I'm currently working on step 8 (test_cluster), and I've discovered that there
are 3 testing cases/environments.
1/ /usr/share/oscar/testing/ (test_cluster, ssh_user_tests, unit_testing, ...)
This is the main test structure. test_cluster runs all the other tests
2/ /var/lib/oscar/testing/<pkgname>/{test_user,test_root}
These are the tests for installed opkgs.
3/ apitest.
===> Many tests are obsolete (don't work with current versions of software or
distro)
===> Many tests are not reliable (passes once, but fail after).
===> test_root tests are not ran (test_cluster).
===> Fixing this is difficult and duplicate work: fix old script then later
migrate to apitest...
Aside that, the location of tests are in many different places that are not
consistent and also not LSB compliant. For example, some tests are located in
/var/lib/oscar/testing while other are located in /usr/share/oscar/testing.
/var should only contains data, not "static" software (LSB).
Also, we have tests in /usr/share. those tests are a kind of library and should
be better placed in /usr/lib/oscar/testing (or something similar).
IMHO, for a clean structure, we should have:
/usr/lib/oscar/testing/ => all oscar testing scripts and files (one single
place)
/usr/lib/oscar/packages/ => api-{pre,post}-*, configurator.xml and such
/usr/share/oscar/images (no change)
/usr/share/oscar/oscarsamples (no change)
/usr/share/oscar/prereqs (no change)
/var/lib/oscar/cache/ (no change)
Thus, IMHO, cleaning up the directory structures, and fixing testing (easy to
fix directory changes (scripts+packaging)) will help a lot in fixing the test
scripts and port to apitest.
What is your opinion about that?
Best regards,
Olivier.
--
Olivier LAHAYE
CEA DRT/LIST
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net<mailto:Oscar-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/oscar-devel
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel