Node v22.23.1 nsolid v6.3.3 release #1264
Annotations
2 errors
|
Test
Process completed with exit code 2.
|
|
Test:
test/agents/test-zmq-tracing.mjs#L0
--- stderr ---
node:internal/process/promises:394
triggerUncaughtException(err, true /* fromPromise */);
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'agent-metrics'
- 'agent-tracing'
^
at file:///home/runner/work/nsolid/nsolid/node/test/agents/test-zmq-tracing.mjs:429:16
at /home/runner/work/nsolid/nsolid/node/test/common/index.js:448:15
at TestPlayground.detectInitialSequence (/home/runner/work/nsolid/nsolid/node/test/common/nsolid-zmq-agent/index.js:403:13)
at ZmqAgentBus.<anonymous> (/home/runner/work/nsolid/nsolid/node/test/common/nsolid-zmq-agent/index.js:305:14)
at ZmqAgentBus.emit (node:events:519:28)
at ZmqAgentBus._handleMessage (/home/runner/work/nsolid/nsolid/node/test/common/nsolid-zmq-agent/zmqagentbus.js:331:12)
at exports.Socket.emit (node:events:519:28)
at Socket._emitMessage (/home/runner/work/nsolid/nsolid/node/test/common/nsolid-zmq-agent/node_modules/zeromq/lib/index.js:647:10)
at Socket._flushRead (/home/runner/work/nsolid/nsolid/node/test/common/nsolid-zmq-agent/node_modules/zeromq/lib/index.js:660:10)
at Socket._flushReads (/home/runner/work/nsolid/nsolid/node/test/common/nsolid-zmq-agent/node_modules/zeromq/lib/index.js:696:15) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'agent-metrics',
expected: 'agent-tracing',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v22.23.1
--- stdout ---
[local] tracing generation should work for http transactions
[0] agent-connected, b92638606e4f7e006e30ddb6a6c59700ed5184ac
[1] agent-metrics, b92638606e4f7e006e30ddb6a6c59700ed5184ac
[1] agent-info, b92638606e4f7e006e30ddb6a6c59700ed5184ac
[2] agent-packages, b92638606e4f7e006e30ddb6a6c59700ed5184ac
[3] agent-metrics, b92638606e4f7e006e30ddb6a6c59700ed5184ac
[4] agent-tracing, b92638606e4f7e006e30ddb6a6c59700ed5184ac
agent-tracing, b92638606e4f7e006e30ddb6a6c59700ed5184ac
{
agentId: 'b92638606e4f7e006e30ddb6a6c59700ed5184ac',
app: 'myapp',
requestId: null,
command: 'tracing',
recorded: { seconds: 1784764945, nanoseconds: 671191102 },
duration: 0,
interval: 5000,
version: 4,
body: {
spans: [
{
id: '030d3f38f6aaecf8',
parentId: '8ce8ddaabdf3d360',
traceId: 'e940e74be0694e55dc97ce5fe22742b7',
start: 1784764945590.28,
end: 1784764945592.183,
kind: 1,
type: 8,
name: 'HTTP GET',
threadId: 0,
status: { message: '', code: 0 },
attributes: {
'http.method': 'GET',
'http.status_code': 200,
'http.status_text': 'OK',
'http.url': 'http://127.0.0.1:44733/',
'network.protocol.version': '1.1'
},
events: []
},
{
id: '8ce8ddaabdf3d360',
parentId: '0000000000000000',
traceId: 'e940e74be0694e55dc97ce5fe22742b7',
start: 1784764945584.4229,
end: 1784764945593.7146,
kind: 2,
type: 4,
name: 'HTTP GET',
threadId: 0,
status: { message: '', code: 0 },
attributes: {
'http.method': 'GET',
'http.status_code': 200,
'http.status_text': 'OK',
'http.url': 'http://127.0.0.1:44733/',
'network.protocol.version': '1.1'
},
events: []
}
]
},
time: 1784764945671,
timeNS: '1784764945671191102'
}
child process exited with code 0 and signal null
[local] tracing generation should work for http transactions immediately on startup
[0] agent-connected, b5dfe661406f1400f5ad4f781ef567003fc345c2
[1] agent-metrics, b5dfe661406f1400f5ad4f781ef567003fc345c2
[1] agent-info, b5dfe661406f1400f5ad4f781ef567003fc345c2
[2] agent-packages, b5dfe661406f1400f5ad4f781ef567003fc345c2
[3] agent-metrics, b5dfe661406f1400f5ad4f781ef567003fc345c2
[4] agent-tracing, b5dfe661406f1400f5ad4f781ef567003fc345c2
agent-tracing, b5dfe661406f1400f5ad4f781ef567003fc345c2
{
agentId: 'b5dfe661406f1400f5ad4f781ef567003fc345c2',
app: 'myapp',
requestId: null,
command: 'tracing',
recorded: { seconds
|
background
wait
wait-all
cancel
parallel
Loading