chyyuu / ucore_os_plus

232 stars 132 forks source link

The test mboxmap fails with a user panic #12

Open eternalNight opened 12 years ago

eternalNight commented 12 years ago

Description

Something goes wrong according to the log from the serial console and the test panics.

Commit

4b70dae unittest: Specify a longer timeout for mboxmap.

Reproduce Steps

cd ucore make ARCH=arm BOARD=goldfishv7 menuconfig (disable DDE) UCORE_TEST=/testbin/mboxmap make sfsimg UCORE_TEST=/testbin/mboxmap make kernel ./uCore_test -sf src/user-ucore/testspecs/mboxmap.testspec

Current Result

From the serial console:

kernel_execve: pid = 2, name = "/testbin/mboxmap". fork children ok. round 0 round 1 round 2 round 3 round 4 round 5 round 6 round 7 round 8 round 9 -- send count 00: 00456363 -- send count 01: 00455159 -- send count 02: 00455780 -- send count 03: 00456256 -- send count 04: 00456218 -- send count 05: 00454937 -- send count 06: 00456147 -- send count 07: 00456070 -- send count 08: 00456278 -- send count 09: 00455569 -- send count 10: 00456033 -- send count 11: 00454976 -- send count 12: 00456162 -- send count 13: 00454877 -- send count 14: 00455519 -- send count 15: 00456236 -- send count 16: 00455657 -- send count 17: 00455868 -- send count 18: 00457001 -- send count 19: 00457228 -- send count 20: 00455260 -- send count 21: 00455853 -- send count 22: 00456313 wait children ok. -- recv count 00: 00456416 -- recv count 01: 00455185 -- recv count 02: 00455795 -- recv count 03: 00456260 -- recv count 04: 00456125 -- recv count 05: 00454938 -- recv count 06: 00456083 -- recv count 07: 00456023 -- recv count 08: 00456281 -- recv count 09: 00455483 -- recv count 10: 00455946 -- recv count 11: 00454940 -- recv count 12: 00456258 -- recv count 13: 00454957 -- recv count 14: 00455494 -- recv count 15: 00456251 -- recv count 16: 00455684 -- recv count 17: 00455969 -- recv count 18: 00457005 -- recv count 19: 00457278 -- recv count 20: 00455233 -- recv count 21: 00455868 -- recv count 22: 00456288 wrong: 0, 456363, 456416. wrong: 1, 455159, 455185. wrong: 2, 455780, 455795. wrong: 3, 456256, 456260. wrong: 4, 456218, 456125. wrong: 5, 454937, 454938. wrong: 6, 456147, 456083. wrong: 7, 456070, 456023. wrong: 8, 456278, 456281. wrong: 9, 455569, 455483. wrong: 10, 456033, 455946. wrong: 11, 454976, 454940. wrong: 12, 456162, 456258. wrong: 13, 454877, 454957. wrong: 14, 455519, 455494. wrong: 15, 456236, 456251. wrong: 16, 455657, 455684. wrong: 17, 455868, 455969. wrong: 18, 457001, 457005. wrong: 19, 457228, 457278. wrong: 20, 455260, 455233. wrong: 21, 455853, 455868. wrong: 22, 456313, 456288. user panic at tests/mboxmap.c:200: FAIL: T.T

Expected Result

The test passes.

eternalNight commented 11 years ago

Reproducible in: deab5d9 Update autotest report headers