Support Grafana 10.x #291
Annotations
6 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 'rocky8-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171237493.pp.loA7za
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1706893960'
�[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_171237493.pp.loA7za, 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_171237493.pp.loA7za, 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_171237493.pp.loA7za, 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 'rocky8-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171240884.pp.TVDtx7
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.18 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 'rocky8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171913592.pp.u39RcL
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.16 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706894356'
�[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.40 seconds
|
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 'rocky8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171142896.pp.egLnPc
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.03 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706893905'
�[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted]
�[mNotice: Applied catalog in 0.10 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 'rocky8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171148673.pp.QlteAz
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.03 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706893911'
�[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted]
�[mNotice: Applied catalog in 0.11 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 'rocky8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171215093.pp.HXQtw9
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.03 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706893937'
�[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 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 'rocky8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171220793.pp.oOwVot
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for rocky8-64-puppet8.example.com in environment production in 0.03 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706893943'
�[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted]
�[mNotice: Applied catalog in 0.08 seconds
|
The logs for this run have expired and are no longer available.
Loading