Skip to content

feat: revert metrics inside core #786

feat: revert metrics inside core

feat: revert metrics inside core #786

Re-run triggered June 28, 2023 10:53
Status Failure
Total duration 1m 16s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test.yml

on: push
Matrix: tests
Matrix: bench
Build docker image
0s
Build docker image
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Bench with go version 1.19 on OS ubuntu-latest
No benchmark result was found in /home/runner/work/rond/rond/output.txt. Benchmark output was 'docker rm mongo --force docker run --rm --name mongo -p 27017:27017 -d mongo bb1317d9f91c6ee2987a89eccb611a95d4e9540fb593c306ee6f5574c241f7b5 go test -benchmem -bench=^Bench ./... {"level":10,"msg":"rego module successfully loaded","opaModuleFileName":"example.rego","time":1687949672912} {"level":20,"msg":"Attempt to load OAS from target service","oasApiPath":"/documentation/json","time":1687949672912} {"level":10,"msg":"OAS successfully loaded","oasApiPath":"/documentation/json","oasFilePath":"","time":1687949672912} {"level":10,"msg":"Start MongoDB client set up","time":1687949672912} {"level":30,"msg":"MongoDB client set up completed","time":1687949672915} {"level":30,"msg":"precomputing rego queries for API: all /foo/*. Allow policy: testingPathParamsAbsence. Response policy: .","time":1687949672915} {"level":30,"msg":"precomputing rego query for allow policy: testingPathParamsAbsence","time":1687949672915} {"level":30,"msg":"computed rego query for policy: testingPathParamsAbsence in 6.022622ms","time":1687949672921} {"level":30,"msg":"precomputing rego queries for API: patch /foo/:params. Allow policy: testingPathParamsAbsence. Response policy: .","time":1687949672921} {"level":20,"msg":"policies evaluators partial results computed","policiesLength":1,"time":1687949672921} {"level":10,"msg":"Registered path: /-/rbac-healthz","time":1687949672922} {"level":10,"msg":"Registered path: /-/rbac-ready","time":1687949672922} {"level":10,"msg":"Registered path: /-/rbac-check-up","time":1687949672922} {"level":10,"msg":"Registered path: /-/rond/metrics","time":1687949672922} {"level":10,"msg":"Registered path: ","time":1687949672922} {"level":10,"msg":"Registered path: /foo/{params}","time":1687949672922} {"level":10,"msg":"Registered path: /foo/","time":1687949672922} {"level":10,"msg":"Registered path: /documentation/json","time":1687949672922} {"level":10,"msg":"Registered path: /","time":1687949672922} {"level":10,"msg":"router setup completed","time":1687949672922} {"level":30,"msg":"Starting server","port":"3039","time":1687949672922} {"host":{"hostname":"localhost"},"http":{"request":{"method":"GET","userAgent":{"original":"Go-http-client/1.1"}}},"level":10,"msg":"incoming request","reqId":"9ebf58a5-3d56-4297-a5d4-3082ff0e94ae","time":1687949673912,"url":{"path":"/foo/count"}} {"foundBindingsLength":3,"foundRolesLength":2,"level":10,"msg":"found bindings and roles","reqId":"9ebf58a5-3d56-4297-a5d4-3082ff0e94ae","time":1687949673914} {"level":10,"msg":"OPA input rego creation in: 64.799µs","reqId":"9ebf58a5-3d56-4297-a5d4-3082ff0e94ae","time":1687949673914} {"allowed":true,"evaluationTimeMicroseconds":164,"level":20,"matchedPath":"/foo/*","method":"GET","msg":"policy evaluation completed","partialEval":false,"policyName":"testingPathParamsAbsence","reqId":"9ebf58a5-3d56-4297-a5d4-3082ff0e94ae","requestedPath":"/foo/count","resultsLength":1,"time":1687949673915} {"allowed":true,"level":10,"msg":"policy results","policyName":"testingPathParamsAbsence","reqId":"9ebf58a5-3d56-4297-a5d4-3082ff0e94ae","resultsLength":1,"time":1687949673915} {"host":{"hostname":"localhost"},"http":{"request":{"method":"GET","userAgent":{"original":"Go-http-client/1.1"}},"response":{"statusCode":200,"body":{"bytes":0}}},"level":30,"msg":"request completed","reqId":"9ebf58a5-3d56-4297-a5d4-3082ff0e94ae","responseTime":2,"time":1687949673915,"url":{"path":"/foo/count"}} {"level":10,"msg":"rego module successfully loaded","opaModuleFileName":"example.rego","time":1687949673932} {"level":20,"msg":"Attempt to load OAS from target service","oasApiPath":"/documentation/json","time":1687949673932} {"level":10,"msg":"OAS successfully loaded","oasApiPath":"/documentation/json","oasFilePath":"","time":1687949673932} {"level":10,"msg":"Start MongoDB client set up","time":1687949673932} {"level":30,"msg":"MongoDB client set up completed","time":1687949673950} {"level":30,"msg":"precomputing rego queries for API: patch /foo/:params. Allow policy: testingPathParam
Test with go version 1.19 on OS ubuntu-latest
Process completed with exit code 2.