Support Grafana 10.x #288
Annotations
7 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 'debian11-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162448278.pp.6ZKHhy
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1706891092'
�[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_162448278.pp.6ZKHhy, 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_162448278.pp.6ZKHhy, 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_162448278.pp.6ZKHhy, line: 13)
Info: Class[Main]: Unscheduling all events on Class[Main]
�[mNotice: Applied catalog in 0.22 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 'debian11-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162453697.pp.F0pNIn
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 'debian11-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_163510716.pp.JMTpyQ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.16 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706891714'
�[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.41 seconds
|
Run tests
The operation was canceled.
|
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 'debian11-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162329634.pp.F4fXp6
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.03 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706891014'
�[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 'debian11-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162339306.pp.mf1tJQ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.03 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706891023'
�[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 'debian11-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162416050.pp.OBrglt
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.03 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706891060'
�[mNotice: /Stage[main]/Main/Grafana_datasource[prometheus2]/secure_json_data: changed [redacted] to [redacted]
�[mNotice: Applied catalog in 0.09 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 'debian11-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162424738.pp.rC8yDO
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.03 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706891068'
�[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted]
�[mNotice: Applied catalog in 0.09 seconds
|
The logs for this run have expired and are no longer available.
Loading