-
Notifications
You must be signed in to change notification settings - Fork 21
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
02-tests/task 02 Release 2016.10 - RC3 #26
Comments
Some strange thing... when I flash any firmware I receive the output as |
Yes and I don't need to, but I can explain ;-) Have a look at what commit
That's the branching-of point of |
@cgundogan @OlegHahm can you look into the output of |
@kYc0o emb6 issue fixed in RIOT-OS/RIOT#6045 |
Should I wait for RC2 to continue the tests? |
Yes. Will create it tomorrow morning. |
We are on RC3 already, so please continue with that one. |
OK ça roule! :P |
Kernel panic in main(): This is RIOT! (Version: 2017.01-devel-22-g66dfb-bluelatex.saclay.inria.fr-HEAD)
Calling test_sock_udp_create__EADDRINUSE()
Calling test_sock_udp_create__EAFNOSUPPORT()
Calling test_sock_udp_create__EINVAL_addr()
Calling test_sock_udp_create__EINVAL_netif()
Calling test_sock_udp_create__no_endpoints()
Calling test_sock_udp_create__only_local()
Calling test_sock_udp_create__only_local_reuse_ep()
Calling test_sock_udp_create__only_remote()
Calling test_sock_udp_create__full()
Calling test_sock_udp_recv__EADDRNOTAVAIL()
Calling test_sock_udp_recv__EAGAIN()
Calling test_sock_udp_recv__ENOBUFS()
Calling test_sock_udp_recv__EPROTO()
Calling test_sock_udp_recv__ETIMEDOUT()
* Calling sock_udp_recv()
* (timed out with timeout 1000000)
Calling test_sock_udp_recv__socketed()
Calling test_sock_udp_recv__socketed_with_remote()
Calling test_sock_udp_recv__unsocketed()
Calling test_sock_udp_recv__unsocketed_with_remote()
Calling test_sock_udp_recv__with_timeout()
Calling test_sock_udp_recv__non_blocking()
Calling test_sock_udp_send__EAFNOSUPPORT()
Calling test_sock_udp_send__EINVAL_addr()
Calling test_sock_udp_send__EINVAL_netif()
Calling test_sock_udp_send__EINVAL_port()
Calling test_sock_udp_send__ENOTCONN()
Calling test_sock_udp_send__socketed_no_local_no_netif()
0x80011b5
*** RIOT kernel panic:
FAILED ASSERTION.
pid | name | state Q | pri | stack ( used) | base | current
- | isr_stack | - - | - | 512 ( 164) | 0x20000000 | 0x200001c8
1 | idle | pending Q | 15 | 256 ( 128) | 0x20000464 | 0x200004e4
2 | main | running Q | 7 | 1536 ( 720) | 0x20000564 | 0x20000994
3 | ipv6 | bl rx _ | 4 | 1024 ( 300) | 0x200011a0 | 0x20001474
4 | udp | bl rx _ | 5 | 1024 ( 256) | 0x20000d5c | 0x2000105c
| SUM | | | 4352 ( 1568)
*** halted. |
that's a |
Ah, got it already:
And that's because the packet buffer is not empty nor clean:
I'll try to find time to dig into this :-/ |
(probably related to RIOT-OS/RIOT#4048?) |
The release specs says that this tests should be done in an iotlab-m3, which is the one I'm using. |
main(): This is RIOT! (Version: 2017.01-devel-22-g66dfb-bluelatex.saclay.inria.fr-HEAD)
######################### TEST1:
first: sem_init
first: thread create
first: thread created
first: sem_getvalue
first: sem_getvalue != 0
first: do yield
second: sem_trywait
second: sem_trywait failed
second: sem_trywait done with == 0
second: wait for post
first: done yield
first: sem_trywait
first: sem_trywait FAILED
first: sem_trywait done
first: sem_post
second: sem was posted
second: end
first: sem_post done
first: sem_destroy
first: end
######################### TEST2:
first: sem_init
first: thread create: 5
first: thread created: priority 5 (1/5)
first: thread create: 4
first: thread created: priority 4 (2/5)
first: thread create: 3
first: thread created: priority 3 (3/5)
first: thread create: 2
first: thread created: priority 2 (4/5)
first: thread create: 1
first: thread created: priority 1 (5/5)
------------------------------------------
post no. 0
Thread 'priority 1' woke up.
Back in main thread.
post no. 1
Thread 'priority 2' woke up.
Back in main thread.
post no. 2
Thread 'priority 3' woke up.
Back in main thread.
post no. 3
Thread 'priority 4' woke up.
Back in main thread.
post no. 4
Thread 'priority 5' woke up.
Back in main thread.
######################### TEST3:
m3-7;first: sem_init s1
first: sem_init s2
first: create thread 1
first: create thread 2
------------------------------------------
post s1
Thread 1 woke up after waiting for s1.
post s2
Thread 2 woke up after waiting for s2.
post s2
Thread 1 woke up after waiting for s2.
post s1
Thread 2 woke up after waiting for s1.
######################### TEST4:
first: sem_init s1
first: wait 1 sec for s1
first: timed out
first: waited only lu usec => FAILED
first: waited lu usec
######################### DONE |
Just finished the tests on iotlab-m3 with these tests failing:
|
How do |
|
Well actually I don't know if it's an expected behaviour or an error, but after a big output of tests for several functions it ends by this: od(long_str, sizeof(long_str), OD_WIDTH_DEFAULT, OD_FLAGS_BYTES_INT | OD_FLAGS_LENGTH_8)
000000000Stack pointer corrupted, reset to top of stack
FSR/FAR:
CFSR: 0x01000000
HFSR: 0x40000000
DFSR: 0x00000000
AFSR: 0x00000000
Misc
EXC_RET: 0xfffffffd |
I think it fails here: /* Test different 8-byte-wise byte formats */
CALL(od(long_str, sizeof(long_str), OD_WIDTH_DEFAULT,
OD_FLAGS_BYTES_INT | OD_FLAGS_LENGTH_8));
CALL(od(long_str, sizeof(long_str), OD_WIDTH_DEFAULT,
OD_FLAGS_BYTES_DECIMAL | OD_FLAGS_LENGTH_8));
CALL(od(long_str, sizeof(long_str), OD_WIDTH_DEFAULT,
OD_FLAGS_BYTES_UINT | OD_FLAGS_LENGTH_8));
CALL(od(long_str, sizeof(long_str), OD_WIDTH_DEFAULT,
OD_FLAGS_BYTES_HEX | OD_FLAGS_LENGTH_8)); |
For |
Great thanks! testing asap. |
For |
|
Interestingly enough, without optimization the error in |
|
Turns out the issue with gnrc_sock_udp was related to RIOT-OS/RIOT#5748. Here's a quick-fix: RIOT-OS/RIOT#6084 |
Excellent, everything works well now. I'll move to the next task. |
I hope you stay on RC3 for that! ;-) For |
Yes! I'm on RC3. Yes I also looked at RIOT-OS/RIOT#6083 and I can retest if needed. |
Might be still of use to prevent an RC5 ;-) Just saying :-). |
I forgot ######################### TEST1:
first: sem_init
first: thread create
first: thread created
first: sem_getvalue
first: sem_getvalue != 0
first: do yield
second: sem_trywait
second: sem_trywait failed
second: sem_trywait done with == 0
second: wait for post
first: done yield
first: sem_trywait
first: sem_trywait FAILED
1first: sem_trywait done
first: sem_post
second: sem was posted
second: end
first: sem_post done
first: sem_destroy
first: end |
Maybe the timeouts are too short? |
(hit the bad button) |
what timeouts? |
Are you sure this is a fail? The test script expects exactly the output you provided |
Oups! just interpreted the failing message as a real failure, and I didn't look at such script. Then these tests are over. |
Superseded by #35 |
Task # 02
Perform a subset of tests on
iotlab-m3
node:This list is based on previous #23 with different test marked for this release. I also added the new ones which are systematically performed.
The text was updated successfully, but these errors were encountered: