[jira] [Commented] (DTACLOUD-561) cimi: regression: cimi tests failing with uninitialized constant CIMI::Model::MachineCollection

2013-06-06 Thread Marios Andreou (JIRA)

[ 
https://issues.apache.org/jira/browse/DTACLOUD-561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13676752#comment-13676752
 ] 

Marios Andreou commented on DTACLOUD-561:
-

[~dies] if you are referring to the 'uninitialized constant 
CIMI::Model::MachineCollection ' error then, yeah, my patch @ 
https://github.com/deltacloud/deltacloud-core/pull/45 and 
https://issues.apache.org/jira/browse/DTACLOUD-562 does not address that at 
all. This is because I can't see or reproduce this error, so I will need some 
more help for this - [~mfojtik] did you say you had fixed/seen this? To be 
clear [~dkoper] - are you seeing this just from 'rake test:cimi' ? Is there a 
more direct repro (like GET /machines for example?) - so we can isolate the 
stack trace
 
all the best, marios

 cimi: regression: cimi tests failing with uninitialized constant 
 CIMI::Model::MachineCollection
 ---

 Key: DTACLOUD-561
 URL: https://issues.apache.org/jira/browse/DTACLOUD-561
 Project: DeltaCloud
  Issue Type: Bug
  Components: CIMI/Frontend
 Environment: Reproduced on Windows and github linked Travis
Reporter: Dies Koper

 112 tests, 109 passed, 531 assertions, 1 failures, 2 errors, 0 skips
 details below.
 I don't understand the errors. For the failure, it is doing a 
 /machines?$filter=name!='MockUserInstance' and expecting 1 resource.
 According to the log below, there were 2.
 I think it should have returned three:
 There are four inst yaml files, with the following names:
 inst0: Mock Instance With Profile Change
 inst1: MockUserInstance - name=='MockUserInstance'
 inst2: AnotherInstance
 inst3: ''
 So I expected inst0, inst2 and inst3 to be returned. Bug in filter operation 
 with empty strings?
 ERROR
 uninitialized constant CIMI::Model::MachineCollection
 org/jruby/RubyModule.java:2630:in `const_missing'
 org/jruby/RubyModule.java:2545:in `const_get'
 tests/cimi/collections/common.rb:44:in `model_class'
 tests/cimi/collections/common.rb:49:in `model'
 tests/cimi/collections/machines_test.rb:40:in `test_0005_should have an add 
 operation for the machine collection'
 org/jruby/RubyBasicObject.java:1677:in `__send__'
 org/jruby/RubyArray.java:2407:in `map'
 org/jruby/RubyArray.java:2407:in `map'
 org/jruby/RubyBasicObject.java:1677:in `__send__'
 org/jruby/RubyKernel.java:2167:in `send'
 org/jruby/RubyArray.java:1613:in `each'
 /home/travis/.rvm/rubies/jruby-head/bin/testrb:5:in `(root)'
 ERROR
 uninitialized constant CIMI::Model::MachineCollection
 org/jruby/RubyModule.java:2630:in `const_missing'
 org/jruby/RubyModule.java:2545:in `const_get'
 tests/cimi/collections/common.rb:44:in `model_class'
 tests/cimi/collections/common.rb:49:in `model'
 tests/cimi/collections/machines_test.rb:47:in `test_0006_should return the 
 disks collection for a machine'
 org/jruby/RubyBasicObject.java:1677:in `__send__'
 org/jruby/RubyArray.java:2407:in `map'
 org/jruby/RubyArray.java:2407:in `map'
 org/jruby/RubyBasicObject.java:1677:in `__send__'
 org/jruby/RubyKernel.java:2167:in `send'
 org/jruby/RubyArray.java:1613:in `each'
 /home/travis/.rvm/rubies/jruby-head/bin/testrb:5:in `(root)'
 FAIL
 Expected: 1
 Actual: 2
 (eval):8:in `must_equal'
 tests/cimi/collections/machines_test.rb:109:in `test_0002_should filter 
 collection by reverse name attribute'
 org/jruby/RubyBasicObject.java:1677:in `__send__'
 org/jruby/RubyArray.java:2407:in `map'
 org/jruby/RubyArray.java:2407:in `map'
 org/jruby/RubyBasicObject.java:1677:in `__send__'
 org/jruby/RubyKernel.java:2167:in `send'
 org/jruby/RubyArray.java:1613:in `each'
 /home/travis/.rvm/rubies/jruby-head/bin/testrb:5:in `(root)'

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


[jira] [Commented] (DTACLOUD-561) cimi: regression: cimi tests failing with uninitialized constant CIMI::Model::MachineCollection

2013-06-06 Thread Dies Koper (JIRA)

[ 
https://issues.apache.org/jira/browse/DTACLOUD-561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13676759#comment-13676759
 ] 

Dies Koper commented on DTACLOUD-561:
-

Saw it just from rake test and rake test:cimi.
I get a similar error with the CIMI ui client, when clicking on machines in the 
UI. See Monday's e-mail cimi client UI returning uninitialized constant on 
the mailing list. If you can reproduce and fix that one, I may be able to 
figure out what's wrong with this one.

 cimi: regression: cimi tests failing with uninitialized constant 
 CIMI::Model::MachineCollection
 ---

 Key: DTACLOUD-561
 URL: https://issues.apache.org/jira/browse/DTACLOUD-561
 Project: DeltaCloud
  Issue Type: Bug
  Components: CIMI/Frontend
 Environment: Reproduced on Windows and github linked Travis
Reporter: Dies Koper

 112 tests, 109 passed, 531 assertions, 1 failures, 2 errors, 0 skips
 details below.
 I don't understand the errors. For the failure, it is doing a 
 /machines?$filter=name!='MockUserInstance' and expecting 1 resource.
 According to the log below, there were 2.
 I think it should have returned three:
 There are four inst yaml files, with the following names:
 inst0: Mock Instance With Profile Change
 inst1: MockUserInstance - name=='MockUserInstance'
 inst2: AnotherInstance
 inst3: ''
 So I expected inst0, inst2 and inst3 to be returned. Bug in filter operation 
 with empty strings?
 ERROR
 uninitialized constant CIMI::Model::MachineCollection
 org/jruby/RubyModule.java:2630:in `const_missing'
 org/jruby/RubyModule.java:2545:in `const_get'
 tests/cimi/collections/common.rb:44:in `model_class'
 tests/cimi/collections/common.rb:49:in `model'
 tests/cimi/collections/machines_test.rb:40:in `test_0005_should have an add 
 operation for the machine collection'
 org/jruby/RubyBasicObject.java:1677:in `__send__'
 org/jruby/RubyArray.java:2407:in `map'
 org/jruby/RubyArray.java:2407:in `map'
 org/jruby/RubyBasicObject.java:1677:in `__send__'
 org/jruby/RubyKernel.java:2167:in `send'
 org/jruby/RubyArray.java:1613:in `each'
 /home/travis/.rvm/rubies/jruby-head/bin/testrb:5:in `(root)'
 ERROR
 uninitialized constant CIMI::Model::MachineCollection
 org/jruby/RubyModule.java:2630:in `const_missing'
 org/jruby/RubyModule.java:2545:in `const_get'
 tests/cimi/collections/common.rb:44:in `model_class'
 tests/cimi/collections/common.rb:49:in `model'
 tests/cimi/collections/machines_test.rb:47:in `test_0006_should return the 
 disks collection for a machine'
 org/jruby/RubyBasicObject.java:1677:in `__send__'
 org/jruby/RubyArray.java:2407:in `map'
 org/jruby/RubyArray.java:2407:in `map'
 org/jruby/RubyBasicObject.java:1677:in `__send__'
 org/jruby/RubyKernel.java:2167:in `send'
 org/jruby/RubyArray.java:1613:in `each'
 /home/travis/.rvm/rubies/jruby-head/bin/testrb:5:in `(root)'
 FAIL
 Expected: 1
 Actual: 2
 (eval):8:in `must_equal'
 tests/cimi/collections/machines_test.rb:109:in `test_0002_should filter 
 collection by reverse name attribute'
 org/jruby/RubyBasicObject.java:1677:in `__send__'
 org/jruby/RubyArray.java:2407:in `map'
 org/jruby/RubyArray.java:2407:in `map'
 org/jruby/RubyBasicObject.java:1677:in `__send__'
 org/jruby/RubyKernel.java:2167:in `send'
 org/jruby/RubyArray.java:1613:in `each'
 /home/travis/.rvm/rubies/jruby-head/bin/testrb:5:in `(root)'

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


[jira] [Commented] (DTACLOUD-561) cimi: regression: cimi tests failing with uninitialized constant CIMI::Model::MachineCollection

2013-06-05 Thread Marios Andreou (JIRA)

[ 
https://issues.apache.org/jira/browse/DTACLOUD-561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13675721#comment-13675721
 ] 

Marios Andreou commented on DTACLOUD-561:
-

is this issue resolved now? I mean specifically the uninitialized constant 
CIMI::Model::MachineCollection  - for the other issue ($filter) see 
https://issues.apache.org/jira/browse/DTACLOUD-562

If so, can we go ahead and close?

 cimi: regression: cimi tests failing with uninitialized constant 
 CIMI::Model::MachineCollection
 ---

 Key: DTACLOUD-561
 URL: https://issues.apache.org/jira/browse/DTACLOUD-561
 Project: DeltaCloud
  Issue Type: Bug
  Components: CIMI/Frontend
 Environment: Reproduced on Windows and github linked Travis
Reporter: Dies Koper

 112 tests, 109 passed, 531 assertions, 1 failures, 2 errors, 0 skips
 details below.
 I don't understand the errors. For the failure, it is doing a 
 /machines?$filter=name!='MockUserInstance' and expecting 1 resource.
 According to the log below, there were 2.
 I think it should have returned three:
 There are four inst yaml files, with the following names:
 inst0: Mock Instance With Profile Change
 inst1: MockUserInstance - name=='MockUserInstance'
 inst2: AnotherInstance
 inst3: ''
 So I expected inst0, inst2 and inst3 to be returned. Bug in filter operation 
 with empty strings?
 ERROR
 uninitialized constant CIMI::Model::MachineCollection
 org/jruby/RubyModule.java:2630:in `const_missing'
 org/jruby/RubyModule.java:2545:in `const_get'
 tests/cimi/collections/common.rb:44:in `model_class'
 tests/cimi/collections/common.rb:49:in `model'
 tests/cimi/collections/machines_test.rb:40:in `test_0005_should have an add 
 operation for the machine collection'
 org/jruby/RubyBasicObject.java:1677:in `__send__'
 org/jruby/RubyArray.java:2407:in `map'
 org/jruby/RubyArray.java:2407:in `map'
 org/jruby/RubyBasicObject.java:1677:in `__send__'
 org/jruby/RubyKernel.java:2167:in `send'
 org/jruby/RubyArray.java:1613:in `each'
 /home/travis/.rvm/rubies/jruby-head/bin/testrb:5:in `(root)'
 ERROR
 uninitialized constant CIMI::Model::MachineCollection
 org/jruby/RubyModule.java:2630:in `const_missing'
 org/jruby/RubyModule.java:2545:in `const_get'
 tests/cimi/collections/common.rb:44:in `model_class'
 tests/cimi/collections/common.rb:49:in `model'
 tests/cimi/collections/machines_test.rb:47:in `test_0006_should return the 
 disks collection for a machine'
 org/jruby/RubyBasicObject.java:1677:in `__send__'
 org/jruby/RubyArray.java:2407:in `map'
 org/jruby/RubyArray.java:2407:in `map'
 org/jruby/RubyBasicObject.java:1677:in `__send__'
 org/jruby/RubyKernel.java:2167:in `send'
 org/jruby/RubyArray.java:1613:in `each'
 /home/travis/.rvm/rubies/jruby-head/bin/testrb:5:in `(root)'
 FAIL
 Expected: 1
 Actual: 2
 (eval):8:in `must_equal'
 tests/cimi/collections/machines_test.rb:109:in `test_0002_should filter 
 collection by reverse name attribute'
 org/jruby/RubyBasicObject.java:1677:in `__send__'
 org/jruby/RubyArray.java:2407:in `map'
 org/jruby/RubyArray.java:2407:in `map'
 org/jruby/RubyBasicObject.java:1677:in `__send__'
 org/jruby/RubyKernel.java:2167:in `send'
 org/jruby/RubyArray.java:1613:in `each'
 /home/travis/.rvm/rubies/jruby-head/bin/testrb:5:in `(root)'

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