Project

General

Profile

test_out.txt

Output of the tests - Tomáš Strachota, 10/22/2015 09:29 AM

 
1
/usr/local/rvm/rubies/ruby-2.0.0-p643/bin/ruby -I"lib:lib" -I"/usr/local/rvm/gems/ruby-2.0.0-p643/gems/rake-10.1.1/lib" "/usr/local/rvm/gems/ruby-2.0.0-p643/gems/rake-10.1.1/lib/rake/rake_test_loader.rb" "test/unit/api_test.rb" "test/unit/architecture_test.rb" "test/unit/auth_source_ldap_test.rb" "test/unit/commands_test.rb" "test/unit/common_parameter_test.rb" "test/unit/compute_resource_test.rb" "test/unit/credentials_test.rb" "test/unit/dependency_resolver_test.rb" "test/unit/domain_test.rb" "test/unit/environment_test.rb" "test/unit/exception_handler_test.rb" "test/unit/external_usergroup_test.rb" "test/unit/fact_test.rb" "test/unit/filter_test.rb" "test/unit/hostgroup_test.rb" "test/unit/id_resolver_test.rb" "test/unit/image_test.rb" "test/unit/location_test.rb" "test/unit/media_test.rb" "test/unit/model_test.rb" "test/unit/operating_system_test.rb" "test/unit/option_builders_test.rb" "test/unit/organization_test.rb" "test/unit/output/formatters_test.rb" "test/unit/param_filters_test.rb" "test/unit/partition_table_test.rb" "test/unit/puppet_class_test.rb" "test/unit/report_test.rb" "test/unit/role_test.rb" "test/unit/smart_class_parameter_test.rb" "test/unit/smart_proxy_test.rb" "test/unit/smart_variable_test.rb" "test/unit/subnet_test.rb" "test/unit/template_test.rb" "test/unit/user_test.rb" "test/unit/usergroup_test.rb" "test/unit/host_test.rb" 
2
Run options: --seed 9035
3

    
4
# Running tests:
5

    
6
............F............................................FF......F....................F............FFF.........................F....................F..............................................................................................F.........FFFFFF.....................................F......................F.................F......F............................F..............................FEFF.............................F........................................................F.......................F............F...................................F.............................................................................F.............F.........F.............................................................................................................................................................................F....................F............................F.........................................
7

    
8
Finished tests in 14.391469s, 64.9690 tests/s, 86.8570 assertions/s.
9

    
10
  1) Failure:
11
HammerCLIForeman::Architecture::ListCommand::output#test_0001_should print correct count of records [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:128]:
12
Expected: 8
13
  Actual: 4
14

    
15
  2) Failure:
16
HammerCLIForeman::BuilderConfigurator::action with dependent resources#test_0002_adds dependent searchable option builders [/root/hammer/hammer-cli-foreman/test/unit/option_builders_test.rb:126]:
17
--- expected
18
+++ actual
19
@@ -1 +1 @@
20
-[:compute_resources]
21
+[:compute_resources, :architectures, :operatingsystems]
22

    
23

    
24
  3) Failure:
25
HammerCLIForeman::BuilderConfigurator::simple action without ids#test_0001_adds no option builder [/root/hammer/hammer-cli-foreman/test/unit/option_builders_test.rb:101]:
26
--- expected
27
+++ actual
28
@@ -1 +1 @@
29
-[]
30
+[HammerCLIForeman::DependentSearchablesOptionBuilder, HammerCLIForeman::DependentSearchablesOptionBuilder, HammerCLIForeman::DependentSearchablesOptionBuilder, HammerCLIForeman::DependentSearchablesOptionBuilder, HammerCLIForeman::DependentSearchablesOptionBuilder]
31

    
32

    
33
  4) Failure:
34
HammerCLIForeman::CommonParameter::ListCommand::output#test_0001_should print correct count of records [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:128]:
35
Expected: 8
36
  Actual: 2
37

    
38
  5) Failure:
39
HammerCLIForeman::ComputeResource::ListCommand::output#test_0001_should print correct count of records [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:128]:
40
Expected: 8
41
  Actual: 10
42

    
43
  6) Failure:
44
HammerCLIForeman::DependencyResolver::for action#test_0002_returns list of dependent resources [/root/hammer/hammer-cli-foreman/test/unit/dependency_resolver_test.rb:34]:
45
--- expected
46
+++ actual
47
@@ -1 +1 @@
48
-[:architectures, :domains, :environments, :locations, :media, :operatingsystems, :organizations, :ptables, :realms, :subnets]
49
+[:architectures, :compute_profiles, :config_templates, :domains, :environments, :hostgroups, :hosts, :locations, :media, :operatingsystems, :organizations, :provisioning_templates, :ptables, :puppetclasses, :realms, :subnets]
50

    
51

    
52
  7) Failure:
53
HammerCLIForeman::DependencyResolver::for resource#test_0001_returns empty array for an independent resource [/root/hammer/hammer-cli-foreman/test/unit/dependency_resolver_test.rb:13]:
54
--- expected
55
+++ actual
56
@@ -1 +1 @@
57
-[]
58
+[<Resource :operatingsystems>, <Resource :architectures>, <Resource :media>, <Resource :locations>, <Resource :organizations>, <Resource :ptables>, <Resource :config_templates>, <Resource :provisioning_templates>]
59

    
60

    
61
  8) Failure:
62
HammerCLIForeman::DependencyResolver::for resource#test_0002_returns list of dependent resources [/root/hammer/hammer-cli-foreman/test/unit/dependency_resolver_test.rb:18]:
63
--- expected
64
+++ actual
65
@@ -1 +1 @@
66
-[:compute_resources, :locations, :organizations]
67
+[:architectures, :compute_resources, :config_templates, :locations, :media, :operatingsystems, :organizations, :provisioning_templates, :ptables]
68

    
69

    
70
  9) Failure:
71
HammerCLIForeman::Domain::ListCommand::output#test_0001_should print correct count of records [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:128]:
72
Expected: 8
73
  Actual: 5
74

    
75
 10) Failure:
76
HammerCLIForeman::Environment::ListCommand::output#test_0001_should print correct count of records [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:128]:
77
Expected: 8
78
  Actual: 4
79

    
80
 11) Failure:
81
HammerCLIForeman::Host::CreateCommand::parameters#test_0001_should accept name, environment_id, architecture_id, domain_id, puppet_proxy_id, operatingsystem_id and more [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:84]:
82
Expected: 0
83
  Actual: 64
84

    
85
 12) Failure:
86
HammerCLIForeman::Host::CreateCommand::parameters::with params ["--name=host", "--environment-id=1", "--architecture-id=1", "--domain-id=1", "--puppet-proxy-id=1", "--operatingsystem-id=1", "--ip=1.2.3.4", "--mac=11:22:33:44:55:66", "--medium-id=1", "--partition-table-id=1", "--subnet-id=1", "--sp-subnet-id=1", "--model-id=1", "--hostgroup-id=1", "--owner-id=1", "--puppet-ca-proxy-id=1", "--puppet-class-ids", "--root-password=pwd", "--ask-root-password=true", "--provision-method=build", "--interface=primary=true,provision=true"]#test_0001_should call action create [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:68]:
87
not all expectations were satisfied
88
unsatisfied expectations:
89
- expected exactly once, not yet invoked: #<AnyInstance:ApipieBindings::API>.call()
90
satisfied expectations:
91
- allowed any number of times, not yet invoked: #<HammerCLIForeman::Host::CreateCommand:0x5efbe38>.resolver(any_parameters)
92
- allowed any number of times, not yet invoked: HammerCLIForeman::CommonHostUpdateOptions.ask_password(any_parameters)
93

    
94

    
95
 13) Failure:
96
HammerCLIForeman::Host::CreateCommand::parameters::with params ["--name=host", "--environment-id=1", "--architecture-id=1", "--domain-id=1", "--puppet-proxy-id=1", "--operatingsystem-id=1", "--ip=1.2.3.4", "--mac=11:22:33:44:55:66", "--medium-id=1", "--partition-table-id=1", "--subnet-id=1", "--sp-subnet-id=1", "--model-id=1", "--hostgroup-id=1", "--owner-id=1", "--puppet-ca-proxy-id=1", "--puppet-class-ids", "--root-password=pwd", "--ask-root-password=true", "--provision-method=build", "--interface=primary=true,provision=true"]#test_0006_should call action create [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:68]:
97
not all expectations were satisfied
98
unsatisfied expectations:
99
- expected exactly once, not yet invoked: #<AnyInstance:ApipieBindings::API>.call()
100
satisfied expectations:
101
- allowed any number of times, not yet invoked: #<HammerCLIForeman::Host::CreateCommand:0x62f53b8>.resolver(any_parameters)
102
- allowed any number of times, not yet invoked: HammerCLIForeman::CommonHostUpdateOptions.ask_password(any_parameters)
103

    
104

    
105
 14) Failure:
106
HammerCLIForeman::Host::CreateCommand::parameters::with params ["--name=host", "--environment-id=1", "--architecture-id=1", "--domain-id=1", "--puppet-proxy-id=1", "--operatingsystem-id=1", "--ip=1.2.3.4", "--mac=11:22:33:44:55:66", "--medium-id=1", "--partition-table-id=1", "--subnet-id=1", "--sp-subnet-id=1", "--model-id=1", "--hostgroup-id=1", "--owner-id=1", "--puppet-ca-proxy-id=1", "--puppet-class-ids", "--root-password=pwd", "--ask-root-password=true", "--provision-method=build", "--interface=primary=true,provision=true"]#test_0002_should call action create [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:68]:
107
not all expectations were satisfied
108
unsatisfied expectations:
109
- expected exactly once, not yet invoked: #<AnyInstance:ApipieBindings::API>.call()
110
satisfied expectations:
111
- allowed any number of times, not yet invoked: #<HammerCLIForeman::Host::CreateCommand:0x290e578>.resolver(any_parameters)
112
- allowed any number of times, not yet invoked: HammerCLIForeman::CommonHostUpdateOptions.ask_password(any_parameters)
113

    
114

    
115
 15) Failure:
116
HammerCLIForeman::Host::CreateCommand::parameters::with params ["--name=host", "--environment-id=1", "--architecture-id=1", "--domain-id=1", "--puppet-proxy-id=1", "--operatingsystem-id=1", "--ip=1.2.3.4", "--mac=11:22:33:44:55:66", "--medium-id=1", "--partition-table-id=1", "--subnet-id=1", "--sp-subnet-id=1", "--model-id=1", "--hostgroup-id=1", "--owner-id=1", "--puppet-ca-proxy-id=1", "--puppet-class-ids", "--root-password=pwd", "--ask-root-password=true", "--provision-method=build", "--interface=primary=true,provision=true"]#test_0004_should call action create [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:68]:
117
not all expectations were satisfied
118
unsatisfied expectations:
119
- expected exactly once, not yet invoked: #<AnyInstance:ApipieBindings::API>.call()
120
satisfied expectations:
121
- allowed any number of times, not yet invoked: #<HammerCLIForeman::Host::CreateCommand:0x2f89628>.resolver(any_parameters)
122
- allowed any number of times, not yet invoked: HammerCLIForeman::CommonHostUpdateOptions.ask_password(any_parameters)
123

    
124

    
125
 16) Failure:
126
HammerCLIForeman::Host::CreateCommand::parameters::with params ["--name=host", "--environment-id=1", "--architecture-id=1", "--domain-id=1", "--puppet-proxy-id=1", "--operatingsystem-id=1", "--ip=1.2.3.4", "--mac=11:22:33:44:55:66", "--medium-id=1", "--partition-table-id=1", "--subnet-id=1", "--sp-subnet-id=1", "--model-id=1", "--hostgroup-id=1", "--owner-id=1", "--puppet-ca-proxy-id=1", "--puppet-class-ids", "--root-password=pwd", "--ask-root-password=true", "--provision-method=build", "--interface=primary=true,provision=true"]#test_0005_should call action create [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:68]:
127
not all expectations were satisfied
128
unsatisfied expectations:
129
- expected exactly once, not yet invoked: #<AnyInstance:ApipieBindings::API>.call()
130
satisfied expectations:
131
- allowed any number of times, not yet invoked: #<HammerCLIForeman::Host::CreateCommand:0x3070e88>.resolver(any_parameters)
132
- allowed any number of times, not yet invoked: HammerCLIForeman::CommonHostUpdateOptions.ask_password(any_parameters)
133

    
134

    
135
 17) Failure:
136
HammerCLIForeman::Host::CreateCommand::parameters::with params ["--name=host", "--environment-id=1", "--architecture-id=1", "--domain-id=1", "--puppet-proxy-id=1", "--operatingsystem-id=1", "--ip=1.2.3.4", "--mac=11:22:33:44:55:66", "--medium-id=1", "--partition-table-id=1", "--subnet-id=1", "--sp-subnet-id=1", "--model-id=1", "--hostgroup-id=1", "--owner-id=1", "--puppet-ca-proxy-id=1", "--puppet-class-ids", "--root-password=pwd", "--ask-root-password=true", "--provision-method=build", "--interface=primary=true,provision=true"]#test_0003_should call action create [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:68]:
137
not all expectations were satisfied
138
unsatisfied expectations:
139
- expected exactly once, not yet invoked: #<AnyInstance:ApipieBindings::API>.call()
140
satisfied expectations:
141
- allowed any number of times, not yet invoked: #<HammerCLIForeman::Host::CreateCommand:0x31315c0>.resolver(any_parameters)
142
- allowed any number of times, not yet invoked: HammerCLIForeman::CommonHostUpdateOptions.ask_password(any_parameters)
143

    
144

    
145
 18) Failure:
146
HammerCLIForeman::Host::ListCommand::output#test_0001_should print correct count of records [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:128]:
147
Expected: 8
148
  Actual: 2
149

    
150
 19) Failure:
151
HammerCLIForeman::Host::ReportsCommand::output::with params ["--id=1"]#test_0001_should print correct count of records [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:128]:
152
Expected: 1
153
  Actual: 2
154

    
155
 20) Failure:
156
HammerCLIForeman::Host::StatusCommand::output::with params ["--id=1"]#test_0003_should output status [/root/hammer/hammer-cli-foreman/test/unit/host_test.rb:76]:
157
In stdout.
158
--- expected
159
+++ actual
160
@@ -1,3 +1,3 @@
161
 "#Status#Power#
162
-#missing#running#
163
+#No reports#running#
164
 "
165

    
166

    
167
 21) Failure:
168
HammerCLIForeman::Host::UpdateCommand::parameters#test_0002_should accept id and more [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:84]:
169
Expected: 0
170
  Actual: 64
171

    
172
 22) Failure:
173
HammerCLIForeman::Hostgroup::ListCommand::output#test_0001_should print correct count of records [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:128]:
174
Expected: 8
175
  Actual: 6
176

    
177
 23) Failure:
178
HammerCLIForeman::IdResolver::resolving ids::searching dependent resources#test_0003_calls index action with appropriate search params [/root/hammer/hammer-cli-foreman/test/unit/id_resolver_test.rb:150]:
179
not all expectations were satisfied
180
unsatisfied expectations:
181
- expected exactly once, not yet invoked: #<AnyInstance:ApipieBindings::API>.call()
182
satisfied expectations:
183
- expected exactly once, invoked once: #<AnyInstance:ApipieBindings::API>.call()
184

    
185

    
186
 24) Error:
187
HammerCLIForeman::IdResolver::resolving ids::searching dependent resources#test_0004_returns id of the resource:
188
ArgumentError: missing param 'operatingsystem_id' in parameters
189
    /usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/route.rb:22:in `block in path'
190
    /usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/route.rb:20:in `each'
191
    /usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/route.rb:20:in `inject'
192
    /usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/route.rb:20:in `path'
193
    /usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/api.rb:163:in `call'
194
    /usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/resource.rb:14:in `call'
195
    /root/hammer/hammer-cli-foreman/lib/hammer_cli_foreman/id_resolver.rb:178:in `resolved_call'
196
    /root/hammer/hammer-cli-foreman/lib/hammer_cli_foreman/id_resolver.rb:164:in `find_resource_raw'
197
    /root/hammer/hammer-cli-foreman/lib/hammer_cli_foreman/id_resolver.rb:158:in `find_resource'
198
    /root/hammer/hammer-cli-foreman/lib/hammer_cli_foreman/id_resolver.rb:143:in `get_id'
199
    /root/hammer/hammer-cli-foreman/lib/hammer_cli_foreman/id_resolver.rb:133:in `block (2 levels) in define_id_finders'
200
    /root/hammer/hammer-cli-foreman/test/unit/id_resolver_test.rb:128:in `block (5 levels) in <top (required)>'
201
    /root/hammer/hammer-cli-foreman/test/unit/id_resolver_test.rb:173:in `call'
202
    /root/hammer/hammer-cli-foreman/test/unit/id_resolver_test.rb:173:in `block (4 levels) in <top (required)>'
203

    
204
 25) Failure:
205
HammerCLIForeman::IdResolver::resolving ids::searching dependent resources#test_0002_raises exception when multiple resources are found [/root/hammer/hammer-cli-foreman/test/unit/id_resolver_test.rb:145]:
206
[HammerCLIForeman::ResolverError] exception expected, not
207
Class: <ArgumentError>
208
Message: <"missing param 'operatingsystem_id' in parameters">
209
---Backtrace---
210
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/route.rb:22:in `block in path'
211
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/route.rb:20:in `each'
212
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/route.rb:20:in `inject'
213
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/route.rb:20:in `path'
214
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/api.rb:163:in `call'
215
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/resource.rb:14:in `call'
216
/root/hammer/hammer-cli-foreman/lib/hammer_cli_foreman/id_resolver.rb:178:in `resolved_call'
217
/root/hammer/hammer-cli-foreman/lib/hammer_cli_foreman/id_resolver.rb:164:in `find_resource_raw'
218
/root/hammer/hammer-cli-foreman/lib/hammer_cli_foreman/id_resolver.rb:158:in `find_resource'
219
/root/hammer/hammer-cli-foreman/lib/hammer_cli_foreman/id_resolver.rb:143:in `get_id'
220
/root/hammer/hammer-cli-foreman/lib/hammer_cli_foreman/id_resolver.rb:133:in `block (2 levels) in define_id_finders'
221
/root/hammer/hammer-cli-foreman/test/unit/id_resolver_test.rb:128:in `block (5 levels) in <top (required)>'
222
---------------
223

    
224
 26) Failure:
225
HammerCLIForeman::IdResolver::resolving ids::searching dependent resources#test_0001_raises exception when no resource is found [/root/hammer/hammer-cli-foreman/test/unit/id_resolver_test.rb:134]:
226
[HammerCLIForeman::ResolverError] exception expected, not
227
Class: <ArgumentError>
228
Message: <"missing param 'operatingsystem_id' in parameters">
229
---Backtrace---
230
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/route.rb:22:in `block in path'
231
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/route.rb:20:in `each'
232
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/route.rb:20:in `inject'
233
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/route.rb:20:in `path'
234
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/api.rb:163:in `call'
235
/usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/resource.rb:14:in `call'
236
/root/hammer/hammer-cli-foreman/lib/hammer_cli_foreman/id_resolver.rb:178:in `resolved_call'
237
/root/hammer/hammer-cli-foreman/lib/hammer_cli_foreman/id_resolver.rb:164:in `find_resource_raw'
238
/root/hammer/hammer-cli-foreman/lib/hammer_cli_foreman/id_resolver.rb:158:in `find_resource'
239
/root/hammer/hammer-cli-foreman/lib/hammer_cli_foreman/id_resolver.rb:143:in `get_id'
240
/root/hammer/hammer-cli-foreman/lib/hammer_cli_foreman/id_resolver.rb:133:in `block (2 levels) in define_id_finders'
241
/root/hammer/hammer-cli-foreman/test/unit/id_resolver_test.rb:128:in `block (5 levels) in <top (required)>'
242
---------------
243

    
244
 27) Failure:
245
HammerCLIForeman::Image::ListCommand::output::with params ["--compute-resource-id=1"]#test_0001_should print correct count of records [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:128]:
246
Expected: 8
247
  Actual: 3
248

    
249
 28) Failure:
250
HammerCLIForeman::Medium::ListCommand::output#test_0001_should print correct count of records [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:128]:
251
Expected: 8
252
  Actual: 5
253

    
254
 29) Failure:
255
HammerCLIForeman::Model::ListCommand::output#test_0001_should print correct count of records [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:128]:
256
Expected: 8
257
  Actual: 3
258

    
259
 30) Failure:
260
HammerCLIForeman::OperatingSystem::CreateCommand::with params ["--name=os", "--major=1", "--minor=2", "--family=Red Hat", "--release-name=awesome"]#test_0001_should call action create [/usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/resource.rb:14]:
261
unexpected invocation: #<AnyInstance:ApipieBindings::API>.call(:operatingsystems, :create, {'operatingsystem' => {'name' => 'os', 'major' => '1', 'minor' => '2', 'family' => 'Red Hat', 'release_name' => 'awesome', 'architecture_ids' => [1], 'config_template_ids' => [1], 'provisioning_template_ids' => [1], 'medium_ids' => [1], 'ptable_ids' => [1]}}, {}, {})
262
unsatisfied expectations:
263
- expected exactly once, not yet invoked: #<AnyInstance:ApipieBindings::API>.call()
264
satisfied expectations:
265
- allowed any number of times, invoked 10 times: #<HammerCLIForeman::OperatingSystem::CreateCommand:0x33adad8>.resolver(any_parameters)
266

    
267

    
268
 31) Failure:
269
HammerCLIForeman::OperatingSystem::UpdateCommand::with params ["--id=83", "--name=os", "--major=1", "--minor=2", "--family=Red Hat", "--release-name=awesome"]#test_0001_should call action update [/usr/local/rvm/gems/ruby-2.0.0-p643/gems/apipie-bindings-0.0.15/lib/apipie_bindings/resource.rb:14]:
270
unexpected invocation: #<AnyInstance:ApipieBindings::API>.call(:operatingsystems, :update, {'id' => '83', 'operatingsystem' => {'name' => 'os', 'major' => '1', 'minor' => '2', 'family' => 'Red Hat', 'release_name' => 'awesome', 'architecture_ids' => [1], 'config_template_ids' => [1], 'provisioning_template_ids' => [1], 'medium_ids' => [1], 'ptable_ids' => [1]}}, {}, {})
271
unsatisfied expectations:
272
- expected exactly once, not yet invoked: #<AnyInstance:ApipieBindings::API>.call()
273
satisfied expectations:
274
- allowed any number of times, invoked 10 times: #<HammerCLIForeman::OperatingSystem::UpdateCommand:0x2ac7928>.resolver(any_parameters)
275

    
276

    
277
 32) Failure:
278
HammerCLIForeman::PartitionTable::ListCommand::output#test_0001_should print correct count of records [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:128]:
279
Expected: 8
280
  Actual: 2
281

    
282
 33) Failure:
283
HammerCLIForeman::PuppetClass::ListCommand::output#test_0001_should print correct count of records [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:128]:
284
Expected: 8
285
  Actual: 9
286

    
287
 34) Failure:
288
HammerCLIForeman::Report::ListCommand::output#test_0001_should print correct count of records [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:128]:
289
Expected: 8
290
  Actual: 2
291

    
292
 35) Failure:
293
HammerCLIForeman::Subnet::ListCommand::output#test_0001_should print correct count of records [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:128]:
294
Expected: 8
295
  Actual: 6
296

    
297
 36) Failure:
298
HammerCLIForeman::Template::ListCommand::output#test_0001_should print correct count of records [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:128]:
299
Expected: 8
300
  Actual: 12
301

    
302
 37) Failure:
303
HammerCLIForeman::User::ListCommand::output#test_0001_should print correct count of records [/root/hammer/hammer-cli-foreman/test/unit/helpers/command.rb:128]:
304
Expected: 8
305
  Actual: 7
306

    
307
935 tests, 1250 assertions, 36 failures, 1 errors, 0 skips
308
Coverage report generated for MiniTest to /root/hammer/hammer-cli-foreman/coverage. 2730 / 2900 LOC (94.14%) covered.
309
rake aborted!
310
Command failed with status (1): [ruby -I"lib:lib" -I"/usr/local/rvm/gems/ruby-2.0.0-p643/gems/rake-10.1.1/lib" "/usr/local/rvm/gems/ruby-2.0.0-p643/gems/rake-10.1.1/lib/rake/rake_test_loader.rb" "test/unit/api_test.rb" "test/unit/architecture_test.rb" "test/unit/auth_source_ldap_test.rb" "test/unit/commands_test.rb" "test/unit/common_parameter_test.rb" "test/unit/compute_resource_test.rb" "test/unit/credentials_test.rb" "test/unit/dependency_resolver_test.rb" "test/unit/domain_test.rb" "test/unit/environment_test.rb" "test/unit/exception_handler_test.rb" "test/unit/external_usergroup_test.rb" "test/unit/fact_test.rb" "test/unit/filter_test.rb" "test/unit/hostgroup_test.rb" "test/unit/id_resolver_test.rb" "test/unit/image_test.rb" "test/unit/location_test.rb" "test/unit/media_test.rb" "test/unit/model_test.rb" "test/unit/operating_system_test.rb" "test/unit/option_builders_test.rb" "test/unit/organization_test.rb" "test/unit/output/formatters_test.rb" "test/unit/param_filters_test.rb" "test/unit/partition_table_test.rb" "test/unit/puppet_class_test.rb" "test/unit/report_test.rb" "test/unit/role_test.rb" "test/unit/smart_class_parameter_test.rb" "test/unit/smart_proxy_test.rb" "test/unit/smart_variable_test.rb" "test/unit/subnet_test.rb" "test/unit/template_test.rb" "test/unit/user_test.rb" "test/unit/usergroup_test.rb" "test/unit/host_test.rb" ]
311
/usr/local/rvm/gems/ruby-2.0.0-p643/bin/ruby_executable_hooks:15:in `eval'
312
/usr/local/rvm/gems/ruby-2.0.0-p643/bin/ruby_executable_hooks:15:in `<main>'
313
Tasks: TOP => test
314
(See full trace by running task with --trace)
315