deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Fojtik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DTACLOUD-560) cimi: regression: cimi tests failing with deltacloud/server/lib/cimi/models/schema.rb:20:in `<top (required)>': uninitialized constant CIMI::Model (NameError)
Date Fri, 24 May 2013 11:04:21 GMT

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

Michal Fojtik commented on DTACLOUD-560:
----------------------------------------

I hit this error before, the fix was to add:

module CIMI
  module Model
  end
end

to top of the schema.rb file.

                
> cimi: regression: cimi tests failing with deltacloud/server/lib/cimi/models/schema.rb:20:in
`<top (required)>': uninitialized constant CIMI::Model (NameError)
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-560
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-560
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: CIMI/Frontend
>            Reporter: Dies Koper
>            Assignee: Michal Fojtik
>
> With https://github.com/deltacloud/deltacloud-core/pull/27, that addresses the regression
reported in DTACLOUD-559, applied to trunk, cimi tests still fail:
> d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/schema.rb:20:in `<top (required)>':
uninitialized constant CIMI::Model (NameError)
>         from d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models.rb:19:in `require_relative'
>         from d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models.rb:19:in `<top
(required)>'
>         from d:/sources/OSS/cloud/deltacloud/tests/cimi/test_helper.rb:25:in `require_relative'
>         from d:/sources/OSS/cloud/deltacloud/tests/cimi/test_helper.rb:25:in `<top
(required)>'
>         from D:/Programs/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
> When I revert more commits (everything since the network revamp was added, i.e. April
17 with f69f3ddffdc471036b75b0223ec8ed268663753f), the tests pass again.

--
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

Mime
View raw message