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 2019/01/25 12:04:00 UTC

[jira] [Commented] (CLOUDSTACK-3049) marvin-nose plugin causes other nose plugins to fail when not enabled

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

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

Commit d68712eb7b0a53f6426f3bff157b14eee40c368e in cloudstack's branch refs/heads/master from Bitworks LLC
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=d68712e ]

CLOUDSTACK-3049: Implemented role update for account. (#3058)



> marvin-nose plugin causes other nose plugins to fail when not enabled
> ---------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3049
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3049
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Test Tools
>    Affects Versions: 4.1.0, 4.2.0
>            Reporter: Prasanna Santhanam
>            Assignee: Prasanna Santhanam
>            Priority: Major
>             Fix For: 4.2.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> enabled by default. Running regular nosetests with plugins other than marvin
> will fail because of this. Failure manifests itself as nose looking for the
> config file when using the marivn-nose plugin
> ~/workspace/cloudstack/incubator-cloudstack(branch:master*) ยป nosetests test.py
> Traceback (most recent call last):
>   File "/usr/local/bin/nosetests", line 8, in <module>
>     load_entry_point('nose==1.3.0', 'console_scripts', 'nosetests')()
>   File "/Library/Python/2.7/site-packages/nose/core.py", line 118, in __init__
>     **extra_args)
>   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py", line 94, in __init__
>     self.parseArgs(argv)
>   File "/Library/Python/2.7/site-packages/nose/core.py", line 135, in parseArgs
>     self.config.configure(argv, doc=self.usage())
>   File "/Library/Python/2.7/site-packages/nose/config.py", line 344, in configure
>     self.plugins.configure(options, self)
>   File "/Library/Python/2.7/site-packages/nose/plugins/manager.py", line 284, in configure
>     cfg(options, config)
>   File "/Library/Python/2.7/site-packages/nose/plugins/manager.py", line 99, in __call__
>     return self.call(*arg, **kw)
>   File "/Library/Python/2.7/site-packages/nose/plugins/manager.py", line 167, in simple
>     result = meth(*arg, **kw)
>   File "/Library/Python/2.7/site-packages/marvin/marvinPlugin.py", line 61, in configure
>     deploy = deployDataCenter.deployDataCenters(options.config) 
>   File "/Library/Python/2.7/site-packages/marvin/deployDataCenter.py", line 32, in __init__
>     raise IOError("config file %s not found. please specify a valid config file"%cfgFile)
> IOError: config file ./datacenter.cfg not found. please specify a valid config file



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)