getappmap / getappmap/appmap-node
Failing tests in gchq/CyberChef
Open
@zermelo-wisen is already working on this.
Since Aug 13, 2024.
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 6
- Avg merge
- 18h 23m
- Merged PRs (30d)
- 8
Description
2 tests are failing in CyberChef when run with appmap-node.
Note that this can be reproduced after getting rid of the hanging problem fixed by commit 36e0b7c6fc4372955d0b28e25244b526c8cb4613.
CyberChef % APPMAP_MAX_RECORDED_CALLS=1000000 npx ../../appmap-node npm run test
(Λ) Running with appmap-node version 2.24.0
(Λ) Using config file /Users/z/Dev/lab/CyberChef/appmap.yml
> cyberchef@10.19.0 test
> npx grunt configTests && node --experimental-modules --experimental-json-modules --no-warnings --no-deprecation --openssl-legacy-provider --no-experimental-fetch tests/node/index.mjs && node --experimental-modules --experimental-json-modules --no-warnings --no-deprecation --openssl-legacy-provider --no-experimental-fetch --trace-uncaught tests/operations/index.mjs
Running "clean:config" (clean) task
>> 23 paths cleaned.
Running "clean:nodeConfig" (clean) task
>> 1 path cleaned.
Running "exec:generateConfig" (exec) task
--- Regenerating config files. ---
Written operation index.
Written OperationConfig.json
Written Ciphers module
Written Default module
Written Encodings module
Written Image module
Written Crypto module
Written Serialise module
Written Hashing module
Written Bletchley module
Written Compression module
Written Code module
Written Diff module
Written Shellcode module
Written Charts module
Written Regex module
Written PGP module
Written PublicKey module
Written OCR module
Written URL module
Written UserAgent module
Written Protobuf module
Written Yara module
Written OpModules.mjs
(Λ) Wrote /Users/z/Dev/lab/CyberChef/tmp/appmap/process/2024-08-13T20-01-38.947Z.appmap.json
--- Config scripts finished. ---
Running "exec:generateNodeIndex" (exec) task
--- Regenerating node index ---
(Λ) Wrote /Users/z/Dev/lab/CyberChef/tmp/appmap/process/2024-08-13T20-01-40.840Z.appmap.json
--- Node index generated. ---
Done.
Running Node API tests...
Tests completed ████████████████████████████████████████ 207/207 | 100% | Duration: 2s
TOTAL 207
PASSING 207
(Λ) Wrote /Users/z/Dev/lab/CyberChef/tmp/appmap/process/2024-08-13T20-01-42.320Z.appmap.json
Running operation tests...
Tests completed ████████████████████████████████████████ 1180/1180 | 100% | Duration: 52s
'Bombe: 3 rotor (self-stecker)' took 36.1s to complete
'Bombe: crib offset' took 2.1s to complete
'Multi-Bombe: 3 rotor' took 5.7s to complete
TOTAL 1180
PASSING 1178
FAILING 2
❌ Escape String: complex
Expected
null\0backspace\btab\tnewline\nverticaltab\x0bformfeed\fcarriagereturn\rdoublequote"singlequote\'hex\xa9unicode\u2665codepoint\u{1d306}
Received
null\0backspace\btab\tnewline\nverticaltab\x0bformfeed\fcarriagereturn\rdoublequote"singlequote\'hex\xa9unicode\u2665codepointt\u0306
❌ Unescape String: complex
Expected
nullbackspactab newline
verticaltab
formfeed
doublequote"singlequote'hex©unicode♥codepointt̆urn
Received
nullbackspactab newline
verticaltab
formfeed
doublequote"singlequote'hex©unicode♥codepoint𝌆urn
(Λ) Wrote /Users/z/Dev/lab/CyberChef/tmp/appmap/process/2024-08-13T20-01-46.959Z.appmap.json
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.