Open clyang82 opened 1 month ago
/assign @ldpliu
@clyang82 I can not reproduce this issue. I try to create a pr and run the default e2e, It looks grafana e2e works fine. Could you share the link if you meet this issue?
•SSSI0722 07:18:30.741586 106735 grafana_test.go:314] Get grafana path:v1/provisioning/alert-rules
I0722 07:18:30.741613 106735 grafana_test.go:320] Sending request: http://10.244.0.26:3001/api/v1/provisioning/alert-rules
•I0722 07:18:31.338198 106735 client.go:132] Output:[{"id":4,"uid":"globalhub_data_retention_job","orgID":1,"folderUID":"cdsi000zqx5hcd","ruleGroup":"Cron Job Failed","title":"Data Retention Job Failed","condition":"B","data":[{"refId":"A","queryType":"","relativeTimeRange":{"from":604800,"to":0},"datasourceUid":"P244538DD76A4C61D","model":{"editorMode":"code","format":"table","hide":false,"intervalMs":1000,"maxDataPoints":43200,"rawQuery":true,"rawSql":"SELECT \ntable_name,\n1 AS value,\nerror\nFROM event.data_retention_job_log\nWHERE error != 'none' and $__timeFilter(end_at)","refId":"A","sql":{"columns":[{"parameters":[],"type":"function"}],"groupBy":[{"property":{"type":"string"},"type":"groupBy"}],"limit":50}}},{"refId":"B","queryType":"","relativeTimeRange":{"from":600,"to":0},"datasourceUid":"__expr__","model":{"conditions":[{"evaluator":{"params":[0,0],"type":"gt"},"operator":{"type":"and"},"query":{"params":["A"]},"reducer":{"params":[],"type":"max"},"type":"query"}],"datasource":{"...
I0722 07:18:31.366186 106735 grafana_test.go:314] Get grafana path:dashboards/uid/pAqtIGj4k
I0722 07:18:31.366223 106735 grafana_test.go:320] Sending request: http://10.244.0.26:3001/api/dashboards/uid/pAqtIGj4k
I0722 07:18:31.692050 106735 client.go:132] Output:{"meta":{"type":"db","canSave":true,"canEdit":true,"canAdmin":true,"canStar":true,"canDelete":true,"slug":"global-hub-ad-hoc-policy-investigation","url":"/d/pAqtIGj4k/global-hub-ad-hoc-policy-investigation","expires":"0001-01-01T00:00:00Z","created":"2024-07-22T07:08:10Z","updated":"2024-07-22T07:08:10Z","updatedBy":"Anonymous","createdBy":"Anonymous","version":1,"hasAcl":false,"isFolder":false,"folderId":1,"folderUid":"cdsi000zqx5hcd","folderTitle":"Policy","folderUrl":"/dashboards/f/cdsi000zqx5hcd/policy","provisioned":true,"provisionedExternalId":"acm-global-adhoc-investigation/acm-global-adhoc-investigation.json","annotationsPermissions":{"dashboard":{"canAdd":true,"canEdit":true,"canDelete":true},"organization":{"canAdd":true,"canEdit":true,"canDelete":true}}},"dashboard":{"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":false,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Aler...
I0722 07:18:31.702635 106735 grafana_test.go:314] Get grafana path:dashboards/uid/868845a4d1334958bd62303c5ccb4c19
I0722 07:18:31.702657 106735 grafana_test.go:320] Sending request: http://10.244.0.26:3001/api/dashboards/uid/868845a4d1334958bd62303c5ccb4c19
I0722 07:18:31.926596 106735 client.go:132] Output:{"meta":{"type":"db","canSave":true,"canEdit":true,"canAdmin":true,"canStar":true,"canDelete":true,"slug":"global-hub-cluster-group-compliancy-overview","url":"/d/868845a4d1334958bd62303c5ccb4c19/global-hub-cluster-group-compliancy-overview","expires":"0001-01-01T00:00:00Z","created":"2024-07-22T07:08:09Z","updated":"2024-07-22T07:08:09Z","updatedBy":"Anonymous","createdBy":"Anonymous","version":1,"hasAcl":false,"isFolder":false,"folderId":1,"folderUid":"cdsi000zqx5hcd","folderTitle":"Policy","folderUrl":"/dashboards/f/cdsi000zqx5hcd/policy","provisioned":true,"provisionedExternalId":"acm-global-cluster-group-compliancy-overview/acm-global-cluster-group-compliancy-overview.json","annotationsPermissions":{"dashboard":{"canAdd":true,"canEdit":true,"canDelete":true},"organization":{"canAdd":true,"canEdit":true,"canDelete":true}}},"dashboard":{"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"ico...
I0722 07:18:31.941897 106735 grafana_test.go:314] Get grafana path:dashboards/uid/0e0ddb7f16b946f99d96a483a4a3f95f
I0722 07:18:31.941922 106735 grafana_test.go:320] Sending request: http://10.244.0.26:3001/api/dashboards/uid/0e0ddb7f16b946f99d96a483a4a3f95f
I0722 07:18:32.255488 106735 client.go:132] Output:{"meta":{"type":"db","canSave":true,"canEdit":true,"canAdmin":true,"canStar":true,"canDelete":true,"slug":"global-hub-offending-clusters","url":"/d/0e0ddb7f16b946f99d96a483a4a3f95f/global-hub-offending-clusters","expires":"0001-01-01T00:00:00Z","created":"2024-07-22T07:08:09Z","updated":"2024-07-22T07:08:09Z","updatedBy":"Anonymous","createdBy":"Anonymous","version":1,"hasAcl":false,"isFolder":false,"folderId":1,"folderUid":"cdsi000zqx5hcd","folderTitle":"Policy","folderUrl":"/dashboards/f/cdsi000zqx5hcd/policy","provisioned":true,"provisionedExternalId":"acm-global-offending-clusters/acm-global-offending-clusters.json","annotationsPermissions":{"dashboard":{"canAdd":true,"canEdit":true,"canDelete":true},"organization":{"canAdd":true,"canEdit":true,"canDelete":true}}},"dashboard":{"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Al...
I0722 07:18:32.279913 106735 grafana_test.go:314] Get grafana path:dashboards/uid/b67e0727891f4121ae2dde09671520ae
I0722 07:18:32.279938 106735 grafana_test.go:320] Sending request: http://10.244.0.26:3001/api/dashboards/uid/b67e0727891f4121ae2dde09671520ae
I0722 07:18:32.864502 106735 client.go:132] Output:{"meta":{"type":"db","canSave":true,"canEdit":true,"canAdmin":true,"canStar":true,"canDelete":true,"slug":"global-hub-offending-policies","url":"/d/b67e0727891f4121ae2dde09671520ae/global-hub-offending-policies","expires":"0001-01-01T00:00:00Z","created":"2024-07-22T07:08:09Z","updated":"2024-07-22T07:08:09Z","updatedBy":"Anonymous","createdBy":"Anonymous","version":1,"hasAcl":false,"isFolder":false,"folderId":1,"folderUid":"cdsi000zqx5hcd","folderTitle":"Policy","folderUrl":"/dashboards/f/cdsi000zqx5hcd/policy","provisioned":true,"provisionedExternalId":"acm-global-offending-policies/acm-global-offending-policies.json","annotationsPermissions":{"dashboard":{"canAdd":true,"canEdit":true,"canDelete":true},"organization":{"canAdd":true,"canEdit":true,"canDelete":true}}},"dashboard":{"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Al...
I0722 07:18:32.909653 106735 grafana_test.go:314] Get grafana path:dashboards/uid/fbf66c88-ba14-4553-90b7-55ea5870faab
I0722 07:18:32.909675 106735 grafana_test.go:320] Sending request: http://10.244.0.26:3001/api/dashboards/uid/fbf66c88-ba14-4553-90b7-55ea5870faab
I0722 07:18:33.478963 106735 client.go:132] Output:{"meta":{"type":"db","canSave":true,"canEdit":true,"canAdmin":true,"canStar":true,"canDelete":true,"slug":"global-hub-overview","url":"/d/fbf66c88-ba14-4553-90b7-55ea5870faab/global-hub-overview","expires":"0001-01-01T00:00:00Z","created":"2024-07-22T07:08:10Z","updated":"2024-07-22T07:08:10Z","updatedBy":"Anonymous","createdBy":"Anonymous","version":1,"hasAcl":false,"isFolder":false,"folderId":1,"folderUid":"cdsi000zqx5hcd","folderTitle":"Policy","folderUrl":"/dashboards/f/cdsi000zqx5hcd/policy","provisioned":true,"provisionedExternalId":"acm-global-overview/acm-global-overview.json","annotationsPermissions":{"dashboard":{"canAdd":true,"canEdit":true,"canDelete":true},"organization":{"canAdd":true,"canEdit":true,"canDelete":true}}},"dashboard":{"annotations":{"list":[{"builtIn":1,"datasource":{"type":"grafana","uid":"-- Grafana --"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","type":"dashboard"}]},"desc...
I0722 07:18:33.492574 106735 grafana_test.go:314] Get grafana path:dashboards/uid/9bb3bee6a17e47f9a231f6d77f2408fa
I0722 07:18:33.492615 106735 grafana_test.go:320] Sending request: http://10.244.0.26:3001/api/dashboards/uid/9bb3bee6a17e47f9a231f6d77f2408fa
I0722 07:18:34.322157 106735 client.go:132] Output:{"meta":{"type":"db","canSave":true,"canEdit":true,"canAdmin":true,"canStar":true,"canDelete":true,"slug":"global-hub-policy-group-compliancy-overview","url":"/d/9bb3bee6a17e47f9a231f6d77f2408fa/global-hub-policy-group-compliancy-overview","expires":"0001-01-01T00:00:00Z","created":"2024-07-22T07:08:10Z","updated":"2024-07-22T07:08:10Z","updatedBy":"Anonymous","createdBy":"Anonymous","version":1,"hasAcl":false,"isFolder":false,"folderId":1,"folderUid":"cdsi000zqx5hcd","folderTitle":"Policy","folderUrl":"/dashboards/f/cdsi000zqx5hcd/policy","provisioned":true,"provisionedExternalId":"acm-global-policy-group-compliancy-overview/acm-global-policy-group-compliancy-overview.json","annotationsPermissions":{"dashboard":{"canAdd":true,"canEdit":true,"canDelete":true},"organization":{"canAdd":true,"canEdit":true,"canDelete":true}}},"dashboard":{"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconCol...
I0722 07:18:34.336406 106735 grafana_test.go:314] Get grafana path:dashboards/uid/5a3a577af7894943aa6e7ca8408502fb
I0722 07:18:34.336447 106735 grafana_test.go:320] Sending request: http://10.244.0.26:3001/api/dashboards/uid/5a3a577af7894943aa6e7ca8408502fb
I0722 07:18:34.739554 106735 client.go:132] Output:{"meta":{"type":"db","canSave":true,"canEdit":true,"canAdmin":true,"canStar":true,"canDelete":true,"slug":"global-hub-what-s-changed-clusters","url":"/d/5a3a577af7894943aa6e7ca8408502fb/global-hub-what-s-changed-clusters","expires":"0001-01-01T00:00:00Z","created":"2024-07-22T07:08:10Z","updated":"2024-07-22T07:08:10Z","updatedBy":"Anonymous","createdBy":"Anonymous","version":1,"hasAcl":false,"isFolder":false,"folderId":1,"folderUid":"cdsi000zqx5hcd","folderTitle":"Policy","folderUrl":"/dashboards/f/cdsi000zqx5hcd/policy","provisioned":true,"provisionedExternalId":"acm-global-whats-changed-clusters/acm-global-whats-changed-clusters.json","annotationsPermissions":{"dashboard":{"canAdd":true,"canEdit":true,"canDelete":true},"organization":{"canAdd":true,"canEdit":true,"canDelete":true}}},"dashboard":{"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Ann...
I0722 07:18:34.749454 106735 grafana_test.go:314] Get grafana path:dashboards/uid/5a3a577af7894943aa6e7ca8408502fa
I0722 07:18:34.749488 106735 grafana_test.go:320] Sending request: http://10.244.0.26:3001/api/dashboards/uid/5a3a577af7894943aa6e7ca8408502fa
I0722 07:18:35.131219 106735 client.go:132] Output:{"meta":{"type":"db","canSave":true,"canEdit":true,"canAdmin":true,"canStar":true,"canDelete":true,"slug":"global-hub-what-s-changed-policies","url":"/d/5a3a577af7894943aa6e7ca8408502fa/global-hub-what-s-changed-policies","expires":"0001-01-01T00:00:00Z","created":"2024-07-22T07:08:10Z","updated":"2024-07-22T07:08:10Z","updatedBy":"Anonymous","createdBy":"Anonymous","version":1,"hasAcl":false,"isFolder":false,"folderId":1,"folderUid":"cdsi000zqx5hcd","folderTitle":"Policy","folderUrl":"/dashboards/f/cdsi000zqx5hcd/policy","provisioned":true,"provisionedExternalId":"acm-global-whats-changed-policies/acm-global-whats-changed-policies.json","annotationsPermissions":{"dashboard":{"canAdd":true,"canEdit":true,"canDelete":true},"organization":{"canAdd":true,"canEdit":true,"canDelete":true}}},"dashboard":{"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":false,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"An...
•I0722 07:20:31.876011 106735 client.go:132] Output:namespace/local-policy-namespace created
policy.policy.open-cluster-management.io/policy-limitrange created