From ac937eda24f448a9ed99bfeb9d048442fc1897a2 Mon Sep 17 00:00:00 2001 From: Yasuyuki Tanaka Date: Wed, 18 Jan 2017 22:33:24 +0100 Subject: [PATCH] TSCH: re-enable TSCH regression tests with Cooja mote --- ...l-tsch.csc.flaky => 19-cooja-rpl-tsch.csc} | 102 ++++++++--------- ....flaky => 20-cooja-rpl-tsch-orchestra.csc} | 104 +++++++++--------- ...c.flaky => 21-cooja-rpl-tsch-security.csc} | 102 ++++++++--------- 3 files changed, 161 insertions(+), 147 deletions(-) rename regression-tests/11-ipv6/{19-z1-rpl-tsch.csc.flaky => 19-cooja-rpl-tsch.csc} (72%) rename regression-tests/11-ipv6/{20-z1-rpl-tsch-orchestra.csc.flaky => 20-cooja-rpl-tsch-orchestra.csc} (72%) rename regression-tests/11-ipv6/{21-z1-rpl-tsch-security.csc.flaky => 21-cooja-rpl-tsch-security.csc} (72%) diff --git a/regression-tests/11-ipv6/19-z1-rpl-tsch.csc.flaky b/regression-tests/11-ipv6/19-cooja-rpl-tsch.csc similarity index 72% rename from regression-tests/11-ipv6/19-z1-rpl-tsch.csc.flaky rename to regression-tests/11-ipv6/19-cooja-rpl-tsch.csc index 3a679a140..7d25184bc 100644 --- a/regression-tests/11-ipv6/19-z1-rpl-tsch.csc.flaky +++ b/regression-tests/11-ipv6/19-cooja-rpl-tsch.csc @@ -21,25 +21,29 @@ 40000 - org.contikios.cooja.mspmote.Z1MoteType + org.contikios.cooja.contikimote.ContikiMoteType z11 - Z1 Mote Type #z11 + Cooja Mote Type #z11 [CONTIKI_DIR]/examples/ipv6/rpl-tsch/node.c - make TARGET=z1 clean -make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=0 - [CONTIKI_DIR]/examples/ipv6/rpl-tsch/node.z1 + make TARGET=cooja clean +make node.cooja TARGET=cooja MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=0 org.contikios.cooja.interfaces.Position + org.contikios.cooja.interfaces.Battery + org.contikios.cooja.contikimote.interfaces.ContikiVib + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + org.contikios.cooja.contikimote.interfaces.ContikiRS232 + org.contikios.cooja.contikimote.interfaces.ContikiBeeper org.contikios.cooja.interfaces.RimeAddress - org.contikios.cooja.interfaces.IPAddress + org.contikios.cooja.contikimote.interfaces.ContikiIPAddress + org.contikios.cooja.contikimote.interfaces.ContikiRadio + org.contikios.cooja.contikimote.interfaces.ContikiButton + org.contikios.cooja.contikimote.interfaces.ContikiPIR + org.contikios.cooja.contikimote.interfaces.ContikiClock + org.contikios.cooja.contikimote.interfaces.ContikiLED + org.contikios.cooja.contikimote.interfaces.ContikiCFS org.contikios.cooja.interfaces.Mote2MoteRelations org.contikios.cooja.interfaces.MoteAttributes - org.contikios.cooja.mspmote.interfaces.MspClock - org.contikios.cooja.mspmote.interfaces.MspMoteID - org.contikios.cooja.mspmote.interfaces.MspButton - org.contikios.cooja.mspmote.interfaces.Msp802154Radio - org.contikios.cooja.mspmote.interfaces.MspDefaultSerial - org.contikios.cooja.mspmote.interfaces.MspLED - org.contikios.cooja.mspmote.interfaces.MspDebugOutput + false @@ -50,12 +54,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=0 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 1 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 1 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -68,12 +72,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=0 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 2 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 2 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -86,12 +90,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=0 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 3 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 3 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -104,12 +108,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=0 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 4 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 4 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -122,12 +126,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=0 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 5 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 5 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -140,12 +144,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=0 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 6 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 6 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -158,12 +162,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=0 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 7 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 7 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -176,12 +180,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=0 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 8 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 8 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -194,12 +198,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=0 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 9 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 9 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 diff --git a/regression-tests/11-ipv6/20-z1-rpl-tsch-orchestra.csc.flaky b/regression-tests/11-ipv6/20-cooja-rpl-tsch-orchestra.csc similarity index 72% rename from regression-tests/11-ipv6/20-z1-rpl-tsch-orchestra.csc.flaky rename to regression-tests/11-ipv6/20-cooja-rpl-tsch-orchestra.csc index 9c8c19b5b..0f9d90233 100644 --- a/regression-tests/11-ipv6/20-z1-rpl-tsch-orchestra.csc.flaky +++ b/regression-tests/11-ipv6/20-cooja-rpl-tsch-orchestra.csc @@ -21,25 +21,31 @@ 40000 - org.contikios.cooja.mspmote.Z1MoteType + org.contikios.cooja.contikimote.ContikiMoteType z11 - Z1 Mote Type #z11 + Cooja Mote Type #z11 [CONTIKI_DIR]/examples/ipv6/rpl-tsch/node.c - make TARGET=z1 clean -make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=1 MAKE_WITH_SECURITY=0 - [CONTIKI_DIR]/examples/ipv6/rpl-tsch/node.z1 + make TARGET=cooja clean +make node.cooja TARGET=cooja MAKE_WITH_ORCHESTRA=1 MAKE_WITH_SECURITY=0 + [CONTIKI_DIR]/examples/ipv6/rpl-tsch/node.z1 org.contikios.cooja.interfaces.Position + org.contikios.cooja.interfaces.Battery + org.contikios.cooja.contikimote.interfaces.ContikiVib + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + org.contikios.cooja.contikimote.interfaces.ContikiRS232 + org.contikios.cooja.contikimote.interfaces.ContikiBeeper org.contikios.cooja.interfaces.RimeAddress - org.contikios.cooja.interfaces.IPAddress + org.contikios.cooja.contikimote.interfaces.ContikiIPAddress + org.contikios.cooja.contikimote.interfaces.ContikiRadio + org.contikios.cooja.contikimote.interfaces.ContikiButton + org.contikios.cooja.contikimote.interfaces.ContikiPIR + org.contikios.cooja.contikimote.interfaces.ContikiClock + org.contikios.cooja.contikimote.interfaces.ContikiLED + org.contikios.cooja.contikimote.interfaces.ContikiCFS org.contikios.cooja.interfaces.Mote2MoteRelations org.contikios.cooja.interfaces.MoteAttributes - org.contikios.cooja.mspmote.interfaces.MspClock - org.contikios.cooja.mspmote.interfaces.MspMoteID - org.contikios.cooja.mspmote.interfaces.MspButton - org.contikios.cooja.mspmote.interfaces.Msp802154Radio - org.contikios.cooja.mspmote.interfaces.MspDefaultSerial - org.contikios.cooja.mspmote.interfaces.MspLED - org.contikios.cooja.mspmote.interfaces.MspDebugOutput + false @@ -50,12 +56,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=1 MAKE_WITH_SECURITY=0 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 1 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 1 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -68,12 +74,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=1 MAKE_WITH_SECURITY=0 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 2 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 2 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -86,12 +92,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=1 MAKE_WITH_SECURITY=0 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 3 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 3 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -104,12 +110,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=1 MAKE_WITH_SECURITY=0 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 4 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 4 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -122,12 +128,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=1 MAKE_WITH_SECURITY=0 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 5 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 5 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -140,12 +146,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=1 MAKE_WITH_SECURITY=0 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 6 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 6 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -158,12 +164,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=1 MAKE_WITH_SECURITY=0 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 7 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 7 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -176,12 +182,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=1 MAKE_WITH_SECURITY=0 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 8 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 8 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -194,12 +200,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=1 MAKE_WITH_SECURITY=0 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 9 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 9 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 diff --git a/regression-tests/11-ipv6/21-z1-rpl-tsch-security.csc.flaky b/regression-tests/11-ipv6/21-cooja-rpl-tsch-security.csc similarity index 72% rename from regression-tests/11-ipv6/21-z1-rpl-tsch-security.csc.flaky rename to regression-tests/11-ipv6/21-cooja-rpl-tsch-security.csc index a5924fb88..2a5716ef6 100644 --- a/regression-tests/11-ipv6/21-z1-rpl-tsch-security.csc.flaky +++ b/regression-tests/11-ipv6/21-cooja-rpl-tsch-security.csc @@ -21,25 +21,29 @@ 40000 - org.contikios.cooja.mspmote.Z1MoteType + org.contikios.cooja.contikimote.ContikiMoteType z11 - Z1 Mote Type #z11 + Cooja Mote Type #z11 [CONTIKI_DIR]/examples/ipv6/rpl-tsch/node.c - make TARGET=z1 clean -make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=1 - [CONTIKI_DIR]/examples/ipv6/rpl-tsch/node.z1 + make TARGET=cooja clean +make node.cooja TARGET=cooja MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=1 org.contikios.cooja.interfaces.Position + org.contikios.cooja.interfaces.Battery + org.contikios.cooja.contikimote.interfaces.ContikiVib + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + org.contikios.cooja.contikimote.interfaces.ContikiRS232 + org.contikios.cooja.contikimote.interfaces.ContikiBeeper org.contikios.cooja.interfaces.RimeAddress - org.contikios.cooja.interfaces.IPAddress + org.contikios.cooja.contikimote.interfaces.ContikiIPAddress + org.contikios.cooja.contikimote.interfaces.ContikiRadio + org.contikios.cooja.contikimote.interfaces.ContikiButton + org.contikios.cooja.contikimote.interfaces.ContikiPIR + org.contikios.cooja.contikimote.interfaces.ContikiClock + org.contikios.cooja.contikimote.interfaces.ContikiLED + org.contikios.cooja.contikimote.interfaces.ContikiCFS org.contikios.cooja.interfaces.Mote2MoteRelations org.contikios.cooja.interfaces.MoteAttributes - org.contikios.cooja.mspmote.interfaces.MspClock - org.contikios.cooja.mspmote.interfaces.MspMoteID - org.contikios.cooja.mspmote.interfaces.MspButton - org.contikios.cooja.mspmote.interfaces.Msp802154Radio - org.contikios.cooja.mspmote.interfaces.MspDefaultSerial - org.contikios.cooja.mspmote.interfaces.MspLED - org.contikios.cooja.mspmote.interfaces.MspDebugOutput + false @@ -50,12 +54,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=1 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 1 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 1 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -68,12 +72,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=1 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 2 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 2 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -86,12 +90,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=1 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 3 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 3 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -104,12 +108,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=1 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 4 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 4 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -122,12 +126,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=1 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 5 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 5 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -140,12 +144,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=1 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 6 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 6 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -158,12 +162,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=1 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 7 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 7 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -176,12 +180,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=1 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 8 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 8 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11 @@ -194,12 +198,12 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=1 0.0 - org.contikios.cooja.mspmote.interfaces.MspClock - 1.0 + org.contikios.cooja.contikimote.interfaces.ContikiMoteID + 9 - org.contikios.cooja.mspmote.interfaces.MspMoteID - 9 + org.contikios.cooja.contikimote.interfaces.ContikiRadio + 250.0 z11