We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--- FAIL: TestRuler_rules_special_characters (0.06s) api_test.go:217: Error Trace: /__w/cortex/cortex/pkg/ruler/api_test.go:217 Error: Not equal: expected: "{\"status\":\"success\",\"data\":{\"groups\":[{\"name\":\")(_+?/|group1+/?\",\"file\":\")(_+?/|namespace1+/?\",\"rules\":[{\"name\":\"UP_RULE\",\"query\":\"up\",\"labels\":{},\"health\":\"unknown\",\"lastError\":\"\",\"type\":\"recording\",\"lastEvaluation\":\"0001-01-01T00:00:00Z\",\"evaluationTime\":0},{\"state\":\"inactive\",\"name\":\"UP_ALERT\",\"query\":\"up \\u003c 1\",\"duration\":0,\"keepFiringFor\":0,\"labels\":{},\"annotations\":{},\"alerts\":[],\"health\":\"unknown\",\"lastError\":\"\",\"type\":\"alerting\",\"lastEvaluation\":\"0001-01-01T00:00:00Z\",\"evaluationTime\":0}],\"interval\":10,\"lastEvaluation\":\"0001-01-01T00:00:00Z\",\"evaluationTime\":0,\"limit\":0}]}}" actual : "{\"status\":\"success\",\"data\":{\"groups\":[{\"name\":\")(_+?/|group1+/?\",\"file\":\")(_+?/|namespace1+/?\",\"rules\":[{\"name\":\"UP_RULE\",\"query\":\"up\",\"labels\":{},\"health\":\"ok\",\"lastError\":\"\",\"type\":\"recording\",\"lastEvaluation\":\"2025-01-07T23:11:31.187313641Z\",\"evaluationTime\":0.000727462},{\"state\":\"inactive\",\"name\":\"UP_ALERT\",\"query\":\"up \\u003c 1\",\"duration\":0,\"keepFiringFor\":0,\"labels\":{},\"annotations\":{},\"alerts\":[],\"health\":\"ok\",\"lastError\":\"\",\"type\":\"alerting\",\"lastEvaluation\":\"2025-01-07T23:11:31.188061562Z\",\"evaluationTime\":0.000665497}],\"interval\":10,\"lastEvaluation\":\"2025-01-07T23:11:31.187284648Z\",\"evaluationTime\":0.001453932,\"limit\":0}]}}" Diff: --- Expected +++ Actual @@ -1 +1 @@ -{"status":"success","data":{"groups":[{"name":")(_+?/|group1+/?","file":")(_+?/|namespace1+/?","rules":[{"name":"UP_RULE","query":"up","labels":{},"health":"unknown","lastError":"","type":"recording","lastEvaluation":"0001-01-01T00:00:00Z","evaluationTime":0},{"state":"inactive","name":"UP_ALERT","query":"up \u003c 1","duration":0,"keepFiringFor":0,"labels":{},"annotations":{},"alerts":[],"health":"unknown","lastError":"","type":"alerting","lastEvaluation":"0001-01-01T00:00:00Z","evaluationTime":0}],"interval":10,"lastEvaluation":"0001-01-01T00:00:00Z","evaluationTime":0,"limit":0}]}} +{"status":"success","data":{"groups":[{"name":")(_+?/|group1+/?","file":")(_+?/|namespace1+/?","rules":[{"name":"UP_RULE","query":"up","labels":{},"health":"ok","lastError":"","type":"recording","lastEvaluation":"2025-01-07T23:11:31.187313641Z","evaluationTime":0.000727462},{"state":"inactive","name":"UP_ALERT","query":"up \u003c 1","duration":0,"keepFiringFor":0,"labels":{},"annotations":{},"alerts":[],"health":"ok","lastError":"","type":"alerting","lastEvaluation":"2025-01-07T23:11:31.188061562Z","evaluationTime":0.000665497}],"interval":10,"lastEvaluation":"2025-01-07T23:11:31.187284648Z","evaluationTime":0.001453932,"limit":0}]}} Test: TestRuler_rules_special_characters
Seen here: https://github.com/cortexproject/cortex/actions/runs/12660798931/job/35282733186
The text was updated successfully, but these errors were encountered:
I am working on this.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Seen here: https://github.com/cortexproject/cortex/actions/runs/12660798931/job/35282733186
The text was updated successfully, but these errors were encountered: