iot-lab / iot-lab-contiki-ng

IoT-LAB Contiki-NG port
3 stars 6 forks source link

rpl-udp example: Not reachable yet #17

Closed fkerem closed 3 years ago

fkerem commented 3 years ago

Hi,

rpl-udp example does not run properly in the testbed. Normally, it works properly in the Cooja simulator. Here is the serial link output in the Saclay site; node-a8-105 is rpl-udp server, other are the clients:

` 1619687902.001221;Aggregator started 1619687924.138119;node-a8-105; 1619687924.138391;node-a8-105; 1619687925.137492;node-a8-105;Platform starting in 1... 1619687925.138296;node-a8-105;GO! 1619687925.138814;node-a8-105;[in clock_init() DEBUG] Starting systick timer at 100Hz 1619687925.141162;node-a8-105;[INFO: Main ] Starting Contiki-NG-release/v4.6-136-g3edbe30d1 1619687925.141948;node-a8-105;[INFO: Main ] - Routing: RPL Classic 1619687925.142981;node-a8-105;[INFO: Main ] - Net: sicslowpan 1619687925.143818;node-a8-105;[INFO: Main ] - MAC: CSMA 1619687925.145128;node-a8-105;[INFO: Main ] - 802.15.4 PANID: 0xabcd 1619687925.145901;node-a8-105;[INFO: Main ] - 802.15.4 Default channel: 26 1619687925.146945;node-a8-105;[INFO: Main ] Node ID: 38741 1619687925.147798;node-a8-105;[INFO: Main ] Link-layer address: 0200.0000.0000.9755 1619687925.150149;node-a8-105;[INFO: Main ] Tentative link-local IPv6 address: fe80::9755 1619687925.150820;node-a8-105;[INFO: IoT-LAB ] Target: iotlab, board: a8-m3 1619687925.152034;node-a8-105;#A root=85 1619687949.069864;node-a8-106; 1619687949.070152;node-a8-106; 1619687950.071604;node-a8-106;Platform starting in 1... 1619687950.071821;node-a8-106;GO! 1619687950.072788;node-a8-106;[in clock_init() DEBUG] Starting systick timer at 100Hz 1619687950.074136;node-a8-106;[INFO: Main ] Starting Contiki-NG-release/v4.6-136-g3edbe30d1 1619687950.075388;node-a8-106;[INFO: Main ] - Routing: RPL Classic 1619687950.076590;node-a8-106;[INFO: Main ] - Net: sicslowpan 1619687950.077820;node-a8-106;[INFO: Main ] - MAC: CSMA 1619687950.078017;node-a8-106;[INFO: Main ] - 802.15.4 PANID: 0xabcd 1619687950.078868;node-a8-106;[INFO: Main ] - 802.15.4 Default channel: 26 1619687950.080118;node-a8-106;[INFO: Main ] Node ID: 43348 1619687950.082342;node-a8-106;[INFO: Main ] Link-layer address: 0200.0000.0000.a954 1619687950.083168;node-a8-106;[INFO: Main ] Tentative link-local IPv6 address: fe80::a954 1619687950.085486;node-a8-106;[INFO: IoT-LAB ] Target: iotlab, board: a8-m3 1619687969.464971;node-a8-107; 1619687969.465306;node-a8-107; 1619687970.465452;node-a8-107;Platform starting in 1... 1619687970.465748;node-a8-107;GO! 1619687970.466129;node-a8-107;[in clock_init() DEBUG] Starting systick timer at 100Hz 1619687970.468421;node-a8-107;[INFO: Main ] Starting Contiki-NG-release/v4.6-136-g3edbe30d1 1619687970.469191;node-a8-107;[INFO: Main ] - Routing: RPL Classic 1619687970.470271;node-a8-107;[INFO: Main ] - Net: sicslowpan 1619687970.471128;node-a8-107;[INFO: Main ] - MAC: CSMA 1619687970.472169;node-a8-107;[INFO: Main ] - 802.15.4 PANID: 0xabcd 1619687970.473299;node-a8-107;[INFO: Main ] - 802.15.4 Default channel: 26 1619687970.474082;node-a8-107;[INFO: Main ] Node ID: 38997 1619687970.476328;node-a8-107;[INFO: Main ] Link-layer address: 0200.0000.0000.9855 1619687970.477130;node-a8-107;[INFO: Main ] Tentative link-local IPv6 address: fe80::9855 1619687970.478269;node-a8-107;[INFO: IoT-LAB ] Target: iotlab, board: a8-m3 1619687990.078824;node-a8-108; 1619687990.079085;node-a8-108; 1619687991.078622;node-a8-108;Platform starting in 1... 1619687991.079451;node-a8-108;GO! 1619687991.080166;node-a8-108;[in clock_init() DEBUG] Starting systick timer at 100Hz 1619687991.082357;node-a8-108;[INFO: Main ] Starting Contiki-NG-release/v4.6-136-g3edbe30d1 1619687991.083141;node-a8-108;[INFO: Main ] - Routing: RPL Classic 1619687991.084288;node-a8-108;[INFO: Main ] - Net: sicslowpan 1619687991.085137;node-a8-108;[INFO: Main ] - MAC: CSMA 1619687991.086274;node-a8-108;[INFO: Main ] - 802.15.4 PANID: 0xabcd 1619687991.087335;node-a8-108;[INFO: Main ] - 802.15.4 Default channel: 26 1619687991.088117;node-a8-108;[INFO: Main ] Node ID: 41830 1619687991.089393;node-a8-108;[INFO: Main ] Link-layer address: 0200.0000.0000.a366 1619687991.091397;node-a8-108;[INFO: Main ] Tentative link-local IPv6 address: fe80::a366 1619687991.092185;node-a8-108;[INFO: IoT-LAB ] Target: iotlab, board: a8-m3 1619687993.024282;node-a8-106;[INFO: App ] Not reachable yet 1619687999.238752;node-a8-107;[INFO: App ] Not reachable yet 1619688015.127872;node-a8-109; 1619688015.128157;node-a8-109; 1619688016.129864;node-a8-109;Platform starting in 1... 1619688016.130079;node-a8-109;GO! 1619688016.131472;node-a8-109;[in clock_init() DEBUG] Starting systick timer at 100Hz 1619688016.134127;node-a8-109;[INFO: Main ] Starting Contiki-NG-release/v4.6-136-g3edbe30d1 1619688016.134721;node-a8-109;[INFO: Main ] - Routing: RPL Classic 1619688016.134852;node-a8-109;[INFO: Main ] - Net: sicslowpan 1619688016.135367;node-a8-109;[INFO: Main ] - MAC: CSMA 1619688016.136839;node-a8-109;[INFO: Main ] - 802.15.4 PANID: 0xabcd 1619688016.137030;node-a8-109;[INFO: Main ] - 802.15.4 Default channel: 26 1619688016.138234;node-a8-109;[INFO: Main ] Node ID: 46694 1619688016.140131;node-a8-109;[INFO: Main ] Link-layer address: 0200.0000.0000.b666 1619688016.141662;node-a8-109;[INFO: Main ] Tentative link-local IPv6 address: fe80::b666 1619688016.143646;node-a8-109;[INFO: IoT-LAB ] Target: iotlab, board: a8-m3 1619688020.972628;node-a8-108;[INFO: App ] Not reachable yet 1619688052.964397;node-a8-106;[INFO: App ] Not reachable yet 1619688053.582081;node-a8-109;[INFO: App ] Not reachable yet 1619688058.429098;node-a8-107;[INFO: App ] Not reachable yet 1619688081.722467;node-a8-108;[INFO: App ] Not reachable yet 1619688113.853639;node-a8-106;[INFO: App ] Not reachable yet 1619688114.182795;node-a8-109;[INFO: App ] Not reachable yet 1619688118.959416;node-a8-107;[INFO: App ] Not reachable yet 1619688142.572237;node-a8-108;[INFO: App ] Not reachable yet 1619688174.052519;node-a8-109;[INFO: App ] Not reachable yet 1619688174.585065;node-a8-106;[INFO: App ] Not reachable yet 1619688179.009895;node-a8-107;[INFO: App ] Not reachable yet 1619688203.141924;node-a8-108;[INFO: App ] Not reachable yet 1619688233.945118;node-a8-106;[INFO: App ] Not reachable yet 1619688235.033126;node-a8-109;[INFO: App ] Not reachable yet 1619688238.550236;node-a8-107;[INFO: App ] Not reachable yet

`

rpl-udp client nodes print out Not reachable yet.

What can be the issue?

fkerem commented 3 years ago

The issue did not arise in Grenoble, im investigating.

fkerem commented 3 years ago

I don't really know what is the root cause for this but rpl-udp example sometimes works sometimes do not work by printing out Not reachable yet message. I tested this in different sites.

fkerem commented 3 years ago

The reason for this was I was using the latest commit of contiki-ng but the users of the testbed should use the contiki-ng version which is used as the submodule in the repository: https://github.com/contiki-ng/contiki-ng/tree/20c6bb8f8f21124b3ba9ba079b2625acf5868ebd