You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/07/23 08:10:53 UTC
[jira] [Commented] (CLOUDSTACK-3719) Testcase test_vm_snapshots.py
failed due wrong declaration in test case
[ https://issues.apache.org/jira/browse/CLOUDSTACK-3719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716129#comment-13716129 ]
ASF subversion and git services commented on CLOUDSTACK-3719:
-------------------------------------------------------------
Commit 4585e46a35aa4064f1a3c3544d1a6c82bfab9c37 in branch refs/heads/master from [~tsp]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4585e46 ]
CLOUDSTACK-3719: wrong declaration of random_gen call
since random_gen can take an id to prepend a testcase identifier to the
created cloud resource, we need to explicitly specify the size param. In
vmsnapshot test create the random_data string of size (100)
Signed-off-by: Prasanna Santhanam <ts...@apache.org>
(cherry picked from commit 5bb3a56acac440b022ed6c45f97d0d85dcc94b96)
> Testcase test_vm_snapshots.py failed due wrong declaration in test case
> ------------------------------------------------------------------------
>
> Key: CLOUDSTACK-3719
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3719
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Automation, Test
> Affects Versions: 4.2.0
> Environment: Automation
> Test case issue
> Branch 4.2
> Reporter: Rayees Namathponnan
> Assignee: Prasanna Santhanam
> Fix For: 4.2.0
>
>
> Test cases test_vm_snapshots.py failing 4.2 branch, observed below stack trace
> Error Message
> sequence item 0: expected string, int found
> Stacktrace
> Traceback (most recent call last):
> File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 208, in run
> self.setUp()
> File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 291, in setUp
> self.setupContext(ancestor)
> File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 314, in setupContext
> try_run(context, names)
> File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in try_run
> return func()
> File "/data/Repo2/qa/cloudstack/test/integration/smoke/test_vm_snapshots.py", line 123, in setUpClass
> cls.random_data_0 = random_gen(100)
> File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/utils.py", line 102, in random_gen
> return ''.join([id, '-', randomstr])
> TypeError: sequence item 0: expected string, int found
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira