Skip to contentSkip to conversation

teuthology

DISCUSSION Loic Dachary 2 participants 2 messages Oct 28, 2014 – Oct 30, 2014 5 messages not in the archive

lore
Share & tools
lore
#5 lore raw
In reply to a message not in the archive

Hi Kapil,

Quoted 8 lines · Kapil Sharma

Hi Loic,

Zack from Inktank helped me a lot in setting up teuthology.

I think following areas could be worked upon to make teuthology easier to install and run -

Quoted 6 lines

1. Currently we can by-pass the Lock server when running individual tests from a yaml config file. However, if we have to run teuthology-suite, it seems using Lock server is mandatory.I think lock server should be optional. A user should have an option to by-pass the lock server as he may not need it when running the tests outside the Inktank lab.

I also started to not use the lock server, a year ago. I recently experimented with paddles + teuthology-worker and it's fairly easy to get it to work. The advantage is that you can schedule jobs that will wait for others to complete. My work in progress is at

https://github.com/dachary/teuthology/compare/wip-container
https://github.com/dachary/paddles/compare/wip-container

(note that it is mixed with my attempt to make it work with docker instead of virtual machines or bare metal)

Quoted 5 lines

2. The word "ubuntu" is hard coded in some places in the code :-)

3. The bootstrap script is for ubuntu machines only. Anyway, it's not a big task to run those commands manually or create a script of your own.

Is your script available somewhere ? I plan to set it up on fedora20 and it would be most useful.

Quoted 5 lines

4. Teuthology picks up several test cases from the qa/workunits dir -
https://github.com/ceph/ceph/tree/master/qa/workunits
Unfortunately these tests are not documented anywhere. If one has to check the test coverage or document the exact test steps, it's going to be a humungous effort.

Yes. I'm often happy to read tests as if they were the documention of the code. But it would be useful to have documentation for the test themselves in additon ;-)

Quoted 5 lines

5. The tests executed in qa/workunits are not listed as separate test cases in Pulpito results. E.g qa/workunits/rbd/test_librbd_python.sh contains 57 tests. However, in Pupito this is listed as one job. Though not sure if it is possible to implement this as most of the qa/workunits tests are shell scripts.

Are you running pulpito ? I create a split of workunit that may be of interest to you. My motivation was not to have them show separately in pulpito. Rather to run them in //

I first modified the script so that it could be called to group tests:

https://github.com/dachary/ceph/commit/ec0ba1a9994e4eb24955442895c6b8dd2561ba20

and then created scripts to run each group independantly

https://github.com/dachary/ceph/commit/bafd35478e310e887a808784f02c7f0041548d1e

which could also be an "exec" teuthology tasks.

Quoted 3 lines

6. I have not tried this of-late but I think teuthology can not run it's tests against an already deployed ceph-cluster. I need to check it again though.

It may be possible to convince it to do that since the install task is not mandatory.

Quoted 1 line

7. Would be great if teuthology can cover Calamari testing too :-)

If I'm not mistaken Waren is working on making this happen. But I've not looked at it closely.

Cheers

Quoted 39 lines

Best Regards,
Kapil.

Quoted 26 lines · Loic Dachary

It was great meeting your and your family :-) Back in Paris and massively jetlagged.

Nice to meet you Kapil ! Are there any pain points you'd like to address regarding the teuthology installation ?

Cheers

Quoted 18 lines · Thorsten Behrens

Hi Loic,

was great to meet you and Patrick at the google summit!

Loic, meet Kapil, who's doing lots of great stuff with QA automation and deployment on our side. And I think he and Zack were already in close contact. ;)

As promised the update on what we run from teuthology:

Quoted 4 lines · Kapil Sharma

As of now I have cnfigured, rbd, krbd and rados test suites which are located here
[snip]

All the very best, and a safe trip home,

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
#6 lore raw

Hi Loic,

Quoted 6 lines · Loic Dachary

I also started to not use the lock server, a year ago. I recently experimented with paddles + teuthology-worker and it's fairly easy to get it to work. The advantage is that you can schedule jobs that will wait for others to complete. My work in progress is at

https://github.com/dachary/teuthology/compare/wip-container
https://github.com/dachary/paddles/compare/wip-container

(note that it is mixed with my attempt to make it work with docker instead of virtual machines or bare metal)

Thanks for sharing your work. Yes, I am also using paddles + teuthology-worker now.

Quoted 8 lines
Quoted 6 lines

2. The word "ubuntu" is hard coded in some places in the code :-)

3. The bootstrap script is for ubuntu machines only. Anyway, it's not a big task to run those commands manually or create a script of your own.

Is your script available somewhere ? I plan to set it up on fedora20 and it would be most useful.

Not yet, but I will share it with you soon.

Quoted 2 lines

Yes. I'm often happy to read tests as if they were the documention of the code. But it would be useful to have documentation for the test themselves in additon ;-)

Yes, At some point I need to start this effort :-)

Quoted 11 lines

Are you running pulpito ? I create a split of workunit that may be of interest to you. My motivation was not to have them show separately in pulpito. Rather to run them in //

I first modified the script so that it could be called to group tests:

https://github.com/dachary/ceph/commit/ec0ba1a9994e4eb24955442895c6b8dd2561ba20

and then created scripts to run each group independantly

https://github.com/dachary/ceph/commit/bafd35478e310e887a808784f02c7f0041548d1e

which could also be an "exec" teuthology tasks.

Yes, I am running pulpito. Maybe a similar logic could be built to also report the tests separately. Shall give it a try.

Quoted 7 lines
Quoted 5 lines

6. I have not tried this of-late but I think teuthology can not run it's tests against an already deployed ceph-cluster. I need to check it again though.

It may be possible to convince it to do that since the install task is not mandatory.

I found this old ticket which was closed. Need to check the latest status - http://tracker.ceph.com/issues/6641

Quoted 2 lines
Quoted 1 line

7. Would be great if teuthology can cover Calamari testing too :-)

If I'm not mistaken Waren is working on making this happen. But I've not looked at it closely.

Okay. Will follow up on this.

Regards,
Kapil.

Quoted 30 lines
Quoted 29 lines · Loic Dachary
Quoted 26 lines

It was great meeting your and your family :-) Back in Paris and massively jetlagged.

Nice to meet you Kapil ! Are there any pain points you'd like to address regarding the teuthology installation ?

Cheers

Quoted 18 lines · Thorsten Behrens

Hi Loic,

was great to meet you and Patrick at the google summit!

Loic, meet Kapil, who's doing lots of great stuff with QA automation and deployment on our side. And I think he and Zack were already in close contact. ;)

As promised the update on what we run from teuthology:

Quoted 4 lines · Kapil Sharma

As of now I have cnfigured, rbd, krbd and rados test suites which are located here
[snip]

All the very best, and a safe trip home,