Contiki-NG simulation tests will fail with the latest version of Cooja, both locally as well as on travis.
To reproduce: In Contiki-NG, update the Cooja submodule to the latest version and then from the top-level dir run make -C tests/07-simulation-base/
.
==== 01-hello-world-sky.1.coojalog ====
INFO [main] (Cooja.java:1317) - > Starting Cooja
INFO [main] (Cooja.java:2858) - External tools default settings: /external_tools_linux.config
INFO [main] (Cooja.java:2888) - External tools user settings: /home/user/.cooja.user.properties
WARN [main] (Cooja.java:4263) - Replaced [APPS_DIR]/mrm with /home/user/contiki-ng/tests/apps/mrm (default: ../apps), but could not find it. This does not have to be an error, as the file might be created later.
WARN [main] (ProjectConfig.java:240) - Trying to import non-existant project configuration: /home/user/contiki-ng/tests/apps/mrm/cooja.config
WARN [main] (Cooja.java:4263) - Replaced [APPS_DIR]/mspsim with /home/user/contiki-ng/tests/apps/mspsim (default: ../apps), but could not find it. This does not have to be an error, as the file might be created later.
WARN [main] (ProjectConfig.java:240) - Trying to import non-existant project configuration: /home/user/contiki-ng/tests/apps/mspsim/cooja.config
WARN [main] (Cooja.java:4263) - Replaced [APPS_DIR]/avrora with /home/user/contiki-ng/tests/apps/avrora (default: ../apps), but could not find it. This does not have to be an error, as the file might be created later.
WARN [main] (ProjectConfig.java:240) - Trying to import non-existant project configuration: /home/user/contiki-ng/tests/apps/avrora/cooja.config
WARN [main] (Cooja.java:4263) - Replaced [APPS_DIR]/serial_socket with /home/user/contiki-ng/tests/apps/serial_socket (default: ../apps), but could not find it. This does not have to be an error, as the file might be created later.
WARN [main] (ProjectConfig.java:240) - Trying to import non-existant project configuration: /home/user/contiki-ng/tests/apps/serial_socket/cooja.config
WARN [main] (Cooja.java:4263) - Replaced [APPS_DIR]/powertracker with /home/user/contiki-ng/tests/apps/powertracker (default: ../apps), but could not find it. This does not have to be an error, as the file might be created later.
WARN [main] (ProjectConfig.java:240) - Trying to import non-existant project configuration: /home/user/contiki-ng/tests/apps/powertracker/cooja.config
FATAL [main] (Cooja.java:438) - Error when loading extensions: Error when loading extension: Project directory does not exist: /home/user/contiki-ng/tests/apps/mrm
org.contikios.cooja.Cooja$ParseProjectsException: Error when loading extension: Project directory does not exist: /home/user/contiki-ng/tests/apps/mrm
at org.contikios.cooja.Cooja.reparseProjectConfig(Cooja.java:1530)
at org.contikios.cooja.Cooja.<init>(Cooja.java:436)
at org.contikios.cooja.Cooja.quickStartSimulationConfig(Cooja.java:1322)
at org.contikios.cooja.Cooja.main(Cooja.java:3241)
Caused by: java.io.FileNotFoundException: Project directory does not exist: /home/user/contiki-ng/tests/apps/mrm
at org.contikios.cooja.ProjectConfig.appendProjectDir(ProjectConfig.java:142)
at org.contikios.cooja.Cooja.reparseProjectConfig(Cooja.java:1527)
... 3 more
Basically Cooja tries to use the wrong directory for mspsim and other apps. For example [APPS_DIR]/mspsim
becomes /home/user/contiki-ng/tests/apps/mspsim
which is clearly wrong.