Skip to content
New issue

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

Failing tests in gchq/CyberChef #172

Open
zermelo-wisen opened this issue Aug 13, 2024 · 0 comments · May be fixed by #173
Open

Failing tests in gchq/CyberChef #172

zermelo-wisen opened this issue Aug 13, 2024 · 0 comments · May be fixed by #173
Assignees

Comments

@zermelo-wisen
Copy link
Collaborator

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

> [email protected] 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
@zermelo-wisen zermelo-wisen self-assigned this Aug 13, 2024
@zermelo-wisen zermelo-wisen changed the title Failing tests gchq/CyberChef Failing tests in gchq/CyberChef Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant