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

context_switch1_threads: tests/context_switch1.c:33: child: Assertion `ret == 1' failed. #29

Open
ZhengjunXing opened this issue Nov 17, 2020 · 0 comments

Comments

@ZhengjunXing
Copy link
Contributor

Hi,
When I run the context_switch1 test case, it always has "Assertion `ret == 1' failed" error logs print.
Is it a bug in the context_switch1 test case or anything I miss set in my test environment? Thanks.

./runtest.py context_switch1

tasks,processes,processes_idle,threads,threads_idle,linear
0,0,100,0,100,0
1,68256,95.36,66138,94.85,68256
2,76699,90.28,73780,89.28,136512
3,84784,85.62,81063,83.96,204768
4,88903,80.67,84356,78.38,273024
5,88330,75.48,85081,72.51,341280
6,85265,70.19,81569,66.29,409536
7,58732,64.09,55989,59.40,477792
8,47108,57.85,44998,52.48,546048
9,42748,52.49,41092,45.95,614304
10,41694,45.56,39321,38.94,682560
context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed. Aborted (core dumped) 11,39928,39.31,-1,32.14,750816 12,39229,23.49,37818,21.88,819072 context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed.
Aborted (core dumped)
13,40762,29.42,-1,21.74,887328
context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed. context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed.
Aborted (core dumped)
14,42321,27.15,-1,19.65,955584
context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed. Aborted (core dumped) 15,43718,24.91,-1,17.53,1023840 context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed.
context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed. Aborted (core dumped) 16,45299,22.78,-1,15.62,1092096 context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed.
Aborted (core dumped)
17,46794,20.72,-1,13.85,1160352
context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed. context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed.
context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed. Aborted (core dumped) 18,48335,18.68,-1,12.17,1228608 context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed.
context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed. Aborted (core dumped) 19,50144,16.81,-1,10.37,1296864 context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed.
context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed. Aborted (core dumped) 20,51297,15.15,-1,8.61,1365120 context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed.
context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed. context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed.
Aborted (core dumped)
21,52643,13.47,-1,7.00,1433376
context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed. context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed.
context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed. Aborted (core dumped) 22,53904,11.86,-1,5.52,1501632 context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed.
context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed. context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed.
Aborted (core dumped)
23,55055,10.40,-1,4.14,1569888
context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed. context_switch1_threads: tests/context_switch1.c:33: child: Assertion ret == 1' failed.
Aborted (core dumped)
24,56513,9.05,-1,2.79,1638144

ulimit -a

core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 190679
max locked memory (kbytes, -l) 65536
max memory size (kbytes, -m) unlimited
open files (-n) 1048576
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 1048576
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

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

No branches or pull requests

1 participant