CI #1871
ci.yaml
on: schedule
Generate test matrix
17s
Lint
1m 24s
Matrix: test
Check test results
0s
Annotations
3 errors
src/matrix-cerbos/instrumentation.test.ts > CerbosInstrumentation > instruments 'gRPC' clients > unary > records spans for successful calls:
private/test/src/matrix-cerbos/instrumentation.test.ts#L403
AssertionError: expected [ { …(16) }, { …(16) }, …(6) ] to deep equally contain ObjectContaining{…}
- Expected:
ObjectContaining {
"attributes": ArrayContaining [
{
"key": "rpc.system",
"value": {
"value": {
"$case": "stringValue",
"stringValue": "grpc",
},
},
},
{
"key": "rpc.service",
"value": {
"value": {
"$case": "stringValue",
"stringValue": "cerbos.svc.v1.CerbosService",
},
},
},
{
"key": "rpc.method",
"value": {
"value": {
"$case": "stringValue",
"stringValue": "CheckResources",
},
},
},
{
"key": "rpc.grpc.status_code",
"value": {
"value": {
"$case": "intValue",
"intValue": "0",
},
},
},
],
"kind": 2,
"name": "cerbos.svc.v1.CerbosService/CheckResources",
}
+ Received:
[
{
"attributes": [
{
"key": "cerbos.request.id",
"value": {
"value": {
"$case": "stringValue",
"stringValue": "eb44c6a8-0ae5-420c-91b6-13557a90b619",
},
},
},
{
"key": "cerbos.request.resource_id",
"value": {
"value": {
"$case": "stringValue",
"stringValue": "test",
},
},
},
{
"key": "internal.span.format",
"value": {
"value": {
"$case": "stringValue",
"stringValue": "otlp",
},
},
},
],
"droppedAttributesCount": 0,
"droppedEventsCount": 0,
"droppedLinksCount": 0,
"endTimeUnixNano": "1738200529666663141",
"events": [],
"flags": 0,
"kind": 1,
"links": [],
"name": "engine.Evaluate",
"parentSpanId": Buffer [
247,
65,
233,
238,
247,
6,
193,
91,
],
"spanId": Buffer [
167,
127,
50,
30,
216,
87,
225,
232,
],
"startTimeUnixNano": "1738200529666600594",
"status": {
"code": 0,
"message": "",
},
"traceId": Buffer [
142,
179,
96,
22,
0,
132,
165,
172,
148,
85,
164,
52,
185,
228,
20,
90,
],
"traceState": "",
},
{
"attributes": [
{
"key": "cerbos.policy.name",
"value": {
"value": {
"$case": "stringValue",
"stringValue": "folder",
},
},
},
{
"key": "cerbos.policy.version",
"value": {
"value": {
"$case": "stringValue",
"stringValue": "default",
},
},
},
{
"key": "cerbos.policy.scope",
"value": {
"value": {
"$case": "stringValue",
"stringValue": "",
},
},
},
{
"key": "internal.span.format",
"value": {
"value": {
"$case": "stringValue",
"stringValue": "otlp",
},
},
},
],
"droppedAttributesCount": 0,
"droppedEventsCount": 0,
"droppedLinksCount": 0,
"endTimeUnixNano": "1738200529666653363",
"events": [],
"flags": 0,
"kind": 1,
"links": [],
"name": "engine.GetResourcePolicy",
"parentSpanId": Buffer [
167,
127,
50,
30,
216,
87,
225,
232,
],
"spanId": Buffer [
234,
80,
182,
60,
238,
233,
105,
213,
],
"startTimeUnixNano": "1738200529666646230",
"status": {
"code": 0,
"message": "",
},
"traceId": Buffer [
142,
179,
96,
22,
0,
132,
165,
172,
148,
85,
164,
52,
185,
228,
20,
90,
],
"traceState": "",
},
{
"attributes": [
{
"key": "cerbos.policy.name",
"value": {
"v
|
Test (Cerbos 0.35.1 | Node 23)
Process completed with exit code 1.
|
Check test results
Process completed with exit code 1.
|