Support Grafana 10.x #288
Annotations
10 errors and 4 warnings
Run tests:
spec/acceptance/grafana_folder_spec.rb#L28
grafana_folder with Grafana version 8.5.22 create folder resource creates the folders
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162110366.pp.JdkjA3
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1706890871'
�[mNotice: /Stage[main]/Main/Grafana_folder[example-folder]/ensure: created
Error: Could not set 'present' on ensure: Failed to update permissions 1 (HTTP response: 400/{"message":"permission already exists","traceID":"00000000000000000000000000000000"}) (file: /tmp/apply_manifest_162110366.pp.JdkjA3, line: 13)
Error: Could not set 'present' on ensure: Failed to update permissions 1 (HTTP response: 400/{"message":"permission already exists","traceID":"00000000000000000000000000000000"}) (file: /tmp/apply_manifest_162110366.pp.JdkjA3, line: 13)
Wrapped exception:
Failed to update permissions 1 (HTTP response: 400/{"message":"permission already exists","traceID":"00000000000000000000000000000000"})
Error: /Stage[main]/Main/Grafana_folder[editor-folder]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: Failed to update permissions 1 (HTTP response: 400/{"message":"permission already exists","traceID":"00000000000000000000000000000000"}) (file: /tmp/apply_manifest_162110366.pp.JdkjA3, line: 13)
Info: Class[Main]: Unscheduling all events on Class[Main]
�[mNotice: Applied catalog in 0.21 seconds
|
Run tests:
spec/acceptance/grafana_folder_spec.rb#L77
grafana_folder with Grafana version 8.5.22 create folder resource has created the editor folder permissions
Failure/Error: expect(data).to include(hash_including('permission' => 1, 'role' => 'Editor'))
expected [{"created" => "2017-06-20T00:00:00Z", "folderId" => 2, "inherited" => false, "isFolder" => true, "permission...f/editor-folder/editor-folder", "userAvatarUrl" => "", "userEmail" => "", "userId" => 0, "userLogin" => ""}] to include hash_including("permission" => 1, "role" => "Editor")
Diff:
@@ -1,40 +1,79 @@
-[hash_including("permission"=>1, "role"=>"Editor")]
+[{"created"=>"2017-06-20T00:00:00Z",
+ "folderId"=>2,
+ "inherited"=>false,
+ "isFolder"=>true,
+ "permission"=>1,
+ "permissionName"=>"View",
+ "role"=>"Viewer",
+ "slug"=>"editor-folder",
+ "team"=>"",
+ "teamAvatarUrl"=>"",
+ "teamEmail"=>"",
+ "teamId"=>0,
+ "title"=>"editor-folder",
+ "uid"=>"editor-folder",
+ "updated"=>"2017-06-20T00:00:00Z",
+ "url"=>"/dashboards/f/editor-folder/editor-folder",
+ "userAvatarUrl"=>"",
+ "userEmail"=>"",
+ "userId"=>0,
+ "userLogin"=>""},
+ {"created"=>"2017-06-20T00:00:00Z",
+ "folderId"=>2,
+ "inherited"=>false,
+ "isFolder"=>true,
+ "permission"=>2,
+ "permissionName"=>"Edit",
+ "role"=>"Editor",
+ "slug"=>"editor-folder",
+ "team"=>"",
+ "teamAvatarUrl"=>"",
+ "teamEmail"=>"",
+ "teamId"=>0,
+ "title"=>"editor-folder",
+ "uid"=>"editor-folder",
+ "updated"=>"2017-06-20T00:00:00Z",
+ "url"=>"/dashboards/f/editor-folder/editor-folder",
+ "userAvatarUrl"=>"",
+ "userEmail"=>"",
+ "userId"=>0,
+ "userLogin"=>""}]
|
Run tests:
spec/acceptance/grafana_folder_spec.rb#L86
grafana_folder with Grafana version 8.5.22 updates folder resource updates the folders
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162112582.pp.b6Jcez
Last 10 lines of output were:
{
'permission' => 1,
'role' => 'Viewer'
},
{
'permission' => 1,
'role' => 'Admin'
}] failed: Failed to update permissions 1 (HTTP response: 400/{"message":"permission already exists","traceID":"00000000000000000000000000000000"})
Info: Class[Main]: Unscheduling all events on Class[Main]
�[mNotice: Applied catalog in 0.16 seconds
|
Run tests:
spec/acceptance/grafana_team_spec.rb#L48
grafana_team wth Grafana version 10.3.1 create team resource on `Main Org.` has set default home dashboard
Failure/Error: expect(data).to include('homeDashboardId' => 0)
expected {} to include {"homeDashboardId" => 0}
Diff:
@@ -1,2 +1 @@
-"homeDashboardId" => 0,
|
Run tests:
spec/acceptance/grafana_team_spec.rb#L57
grafana_team wth Grafana version 10.3.1 updates team resource creates dashboard and sets team home dashboard
Failure/Error: apply_manifest(pp, catch_changes: true)
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162559675.pp.KcoSdC
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.05 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706891161'
�[mNotice: /Stage[main]/Main/Grafana_team[example-team]/home_dashboard: home_dashboard changed 'Default' to 'example-dashboard'
�[mNotice: /Stage[main]/Main/Grafana_team[example-team2]/home_dashboard_folder: home_dashboard_folder changed to 'example-folder'
�[mNotice: /Stage[main]/Main/Grafana_team[example-team2]/home_dashboard: home_dashboard changed 'Default' to 'example-dashboard2'
�[mNotice: Applied catalog in 0.37 seconds
|
Run tests:
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
grafana_user with Grafana version 9.2.15 advanced use deleting a user behaves like an idempotent resource applies with no errors
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162801610.pp.5upb1q
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.01 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706891283'
Error: /Stage[main]/Main/Grafana_user[admin1]: Could not evaluate: Failed to retrieve user admin1 (HTTP response: 403/{"accessErrorId":"ACE9907551751","message":"You'll need additional permissions to perform this action. Permissions needed: users:read","title":"Access denied"}
)
�[mNotice: Applied catalog in 0.04 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/grafana_user_spec.rb:135
|
Run tests:
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
grafana_user with Grafana version 9.2.15 advanced use deleting a user behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162803350.pp.puZXTJ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.01 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706891284'
�[mNotice: /Stage[main]/Main/Grafana_user[admin1]/ensure: removed
�[mNotice: Applied catalog in 0.08 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/grafana_user_spec.rb:135
|
Run tests:
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
grafana_user with Grafana version 10.3.1 advanced use deleting a user behaves like an idempotent resource applies with no errors
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162909558.pp.okYhj5
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.01 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706891351'
Error: /Stage[main]/Main/Grafana_user[admin1]: Could not evaluate: Failed to retrieve user admin1 (HTTP response: 403/{"accessErrorId":"ACE9988718592","message":"You'll need additional permissions to perform this action. Permissions needed: users:read","title":"Access denied"}
)
�[mNotice: Applied catalog in 0.04 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/grafana_user_spec.rb:135
|
Run tests:
vendor/bundle/ruby/3.0.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
grafana_user with Grafana version 10.3.1 advanced use deleting a user behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162911275.pp.EZV0gd
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.01 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706891352'
�[mNotice: /Stage[main]/Main/Grafana_user[admin1]/ensure: removed
�[mNotice: Applied catalog in 0.09 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/grafana_user_spec.rb:135
|
Run tests
Process completed with exit code 1.
|
Run tests:
spec/acceptance/grafana_datasource_spec.rb#L77
grafana_datasource with Grafana version 9.2.15 prometheus ds with basic auth in secure json data is idempotent
Failure/Error: apply_manifest_on(default, manifest, catch_changes: true)
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162031820.pp.667NjG
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.01 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706890833'
�[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted]
�[mNotice: Applied catalog in 0.08 seconds
|
Run tests:
spec/acceptance/grafana_datasource_spec.rb#L133
grafana_datasource with Grafana version 9.2.15 influxdb ds with password in secure_json_data is idempotent
Failure/Error: apply_manifest_on(default, manifest, catch_changes: true)
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162035402.pp.3XTaoe
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.01 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706890836'
�[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted]
�[mNotice: Applied catalog in 0.08 seconds
|
Run tests:
spec/acceptance/grafana_datasource_spec.rb#L77
grafana_datasource with Grafana version 10.3.1 prometheus ds with basic auth in secure json data is idempotent
Failure/Error: apply_manifest_on(default, manifest, catch_changes: true)
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162054522.pp.86iLl4
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.01 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706890856'
�[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted]
�[mNotice: Applied catalog in 0.06 seconds
|
Run tests:
spec/acceptance/grafana_datasource_spec.rb#L133
grafana_datasource with Grafana version 10.3.1 influxdb ds with password in secure_json_data is idempotent
Failure/Error: apply_manifest_on(default, manifest, catch_changes: true)
Beaker::Host::CommandFailure:
Host 'rocky9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162057898.pp.JE712m
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky9-64-puppet7.example.com in environment production in 0.01 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706890859'
�[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted]
�[mNotice: Applied catalog in 0.06 seconds
|
The logs for this run have expired and are no longer available.
Loading