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 14:32:49 UTC

[jira] [Commented] (CLOUDSTACK-3728) Test case test_snapshots.TestSnapshots failed due to TypeError (expected string, int found)

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716350#comment-13716350 ] 

ASF subversion and git services commented on CLOUDSTACK-3728:
-------------------------------------------------------------

Commit 821bbe06107d72b62c086c6047f7c355725293ad in branch refs/heads/master from [~tsp]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=821bbe0 ]

CLOUDSTACK-3728:  same issue as CLOUDSTACK-3719

Make the size explicit parameter to random_gen() for snapshot data

Signed-off-by: Prasanna Santhanam <ts...@apache.org>
(cherry picked from commit 874d59847aa6bfd12e6967891a21f1746987b566)

                
> Test case test_snapshots.TestSnapshots failed due to TypeError (expected string, int found)
> -------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3728
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3728
>             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 
>            Reporter: Rayees Namathponnan
>            Assignee: Prasanna Santhanam
>             Fix For: 4.2.0
>
>
> Tets cases from below suite failed 
> integration.component.test_snapshots.TestSnapshots
> Error Message
> sequence item 0: expected string, int found
> Stacktrace
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_snapshots.py", line 841, in test_07_template_from_snapshot
>     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