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

unexpected fail when using make ut to run the tests #31751

Closed
tiancaiamao opened this issue Jan 17, 2022 · 2 comments
Closed

unexpected fail when using make ut to run the tests #31751

tiancaiamao opened this issue Jan 17, 2022 · 2 comments
Assignees
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@tiancaiamao
Copy link
Contributor

Enhancement

Use make ut to run the test cases, sometimes the code fail unexpectedly.

The child process receive unexpected sigsegv or sigtrap... and then exit
No error stack

After debugging and bisearch for while, I find it's caused by the numactl command.
The minimal reproduce is run this repeatly:

numactl --physcpubind 3 -- ./executor.test.bin -test.timeout 20s -test.cpu 1 -test.run TestWriteListPartitionTable

if numactl is not used, the child process works well:

./executor.test.bin -test.timeout 20s -test.cpu 1 -test.run TestWriteListPartitionTable
@tiancaiamao tiancaiamao added the type/enhancement The issue or PR belongs to an enhancement. label Jan 17, 2022
@tiancaiamao tiancaiamao self-assigned this Jan 17, 2022
@tiancaiamao
Copy link
Contributor Author

This should be fixed before #30822

@tiancaiamao
Copy link
Contributor Author

Closed by #31891

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant