Skip to content

dump collection infra and python crypto dependency #62100

Description

@am11

When linux arm32 test crashes in helix, the dump collector fails with:

/root/helix/scripts/cryptography/hazmat/bindings/_padding.abi3.so: wrong ELF class: ELFCLASS64
2021-11-27T15:41:26.934Z	INFO   	run.py	run(48)	main	Beginning reading of test results.
2021-11-27T15:41:26.934Z	INFO   	run.py	__init__(48)	get_log_files	Searching '/root/helix/work/workitem/e/..' for log files
2021-11-27T15:41:26.935Z	INFO   	run.py	__init__(66)	construct_log_list	Generated log list: 
2021-11-27T15:41:26.935Z	INFO   	run.py	__init__(90)	read_results	Searching '/root/helix/work/workitem/e' for test results files
2021-11-27T15:41:26.936Z	INFO   	run.py	__init__(90)	read_results	Searching '/root/helix/work/workitem/uploads' for test results files
2021-11-27T15:41:26.936Z	WARNING	run.py	__init__(103)	read_results	No results file found in any of the following formats: xunit, junit, trx
2021-11-27T15:41:26.937Z	INFO   	run.py	packing_test_reporter(30)	report_results	Packing 0 test reports to '/root/helix/work/workitem/e/__test_report.json'
2021-11-27T15:41:26.937Z	INFO   	run.py	packing_test_reporter(33)	report_results	Packed 1710 bytes
+ python /root/helix/work/correlation/gen-debug-dump-docs.py -buildid 1487738 -workitem Invariant.Tests -jobid 2f68d8e7-c271-4e09-a101-d06ab0ecba67 -outdir /root/helix/work/workitem/uploads -templatedir /root/helix/work/correlation -dumpdir /home/helixbot/dotnetbuild/dumps -productver 7.0.0
read file: /root/helix/work/correlation/debug-dump-template.md
writing output file: /root/helix/work/workitem/uploads/how-to-debug-dump.md
done writing debug dump information
+ exit 139
+ export _commandExitCode=139
+ chmod -R 777 /home/helixbot/dotnetbuild/dumps
+ exit 139

This is because the crypto package used by the tool does not support arm32 architecture and the request to port was rejected (pyca/cryptography#6286). Perhaps we should look into a different option for dump collection? e.g. tool based on .NET so it scales accordingly for all supported targets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions