-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fix for test_snapshots.py using nfs2 instead of nfs template #1961
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@blueorangutan package |
|
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Thanks for this fix @nvazquez, I'll kick marvin tests to verify it doesn't brake any other test. |
|
@borisstoyanov great, thanks! |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-531 |
|
@blueorangutan test |
|
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
LGTM |
|
Trillian test result (tid-890)
|
|
@nvazquez Are you looking at the test failures? |
|
@karuturi @borisstoyanov next step will be updating Marvin's folder |
|
@serg38 okay, we can add this to test_data /cc @PaulAngus |
…pass newly introduced test in apache/cloudstack#1961
e0c2ad8 to
7000144
Compare
|
Hi @karuturi @rhtyd @borisstoyanov, These were results in our env, using Vmware: |
|
thanks @nvazquez let me package again |
|
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-553 |
|
@nvazquez I'm getting the following error: does the test detach the volume from VM before migrating it? didn't managed to find that part looking in the code. |
| ) | ||
| assert isinstance(clusters,list) and len(clusters)>0 | ||
|
|
||
| storage = StoragePool.create(self.apiclient, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think It's good append this storage to cleanup as soon as it's created. I've hit the exact issue that would leave it added in Cloudstack. I've a test failure before the point it is appended and cleanup() didn't wiped it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, thanks for pointing it out!
7000144 to
c3d18b2
Compare
|
@borisstoyanov actually disk is not being dettached from vm before migrating it, it is using vm's ROOT disk, it can be done on Vmware by setting |
c3d18b2 to
c66df6e
Compare
|
@borisstoyanov I refactored marvin test to migrate a detached disk instead of vm's root volume as it was before. Can you please test it again in your env? |
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-559 |
|
@blueorangutan test |
|
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-926)
|
|
@rhtyd @borisstoyanov did you have a chance to add nfs2 test data in B.O. ? |
|
Yes @serg38, but currently testing it. So this batch doesn't have it. |
borisstoyanov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests has passed
[root@ref-trl-99-k-cs410-bstoyanov-marvin ~]# cat /marvin//MarvinLogs/test_snapshots_76YGPX/results.txt
Test Snapshot Root Disk ... === TestName: test_01_snapshot_root_disk | Status : SUCCESS ===
ok
Test listing volume snapshots with removed data stores ... === TestName: test_02_list_snapshots_with_removed_data_store | Status : SUCCESS ===
ok
----------------------------------------------------------------------
Ran 2 tests in 216.488s
OK
|
That's great! Thanks @borisstoyanov for your help! |
|
LGTM |
#18) Adding a nfs2 hardcoded entry in Trillian's test_data.py in order to pass newly introduced test in apache/cloudstack#1961 Added marvin shares to nested group vars. Updated addshares to handle marvin primary shares.
Fix for test_snapshots.py using nfs2 instead of nfs templateFix for marvin test failure introduced in #1847 Cc: @borisstoyanov @rhtyd @karuturi * pr/1961: Fix for test failure Fix for test_snapshots.py using nfs2 instead of nfs template Signed-off-by: Rajani Karuturi <[email protected]>
|
This needed to be merged on 4.9 as well since #1847 was merged on 4.9+ as well, this has now caused regressions in 4.9 branch. I'll have to backport the fixes on 4.9 now. |
Fix for marvin test failure introduced in #1847
Cc: @borisstoyanov @rhtyd @karuturi