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 'ubuntu2204-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162335601.pp.boLn7J
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1706891019'
�[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_162335601.pp.boLn7J, 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_162335601.pp.boLn7J, 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_162335601.pp.boLn7J, 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 'ubuntu2204-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162340261.pp.KrHaXA
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 'ubuntu2204-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_163256260.pp.KVwhoh
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.06 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706891579'
�[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.39 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 'ubuntu2204-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162224549.pp.rqm6Zi
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.01 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706890948'
�[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 'ubuntu2204-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162233189.pp.XSt0jY
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.01 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706890957'
�[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted]
�[mNotice: Applied catalog in 0.09 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 'ubuntu2204-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162306389.pp.6qsluO
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.01 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706890989'
�[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 'ubuntu2204-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162313765.pp.cNZ3XQ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.02 seconds
Info: Using environment 'production'
Info: Applying configuration version '1706890997'
�[mNotice: /Stage[main]/Main/Grafana_datasource[influxdb]/secure_json_data: changed [redacted] to [redacted]
�[mNotice: Applied catalog in 0.07 seconds
|
The logs for this run have expired and are no longer available.
Loading