Cannot run tests in Veins

129 views
Skip to first unread message

Susana Rodriguez

unread,
Aug 27, 2014, 1:24:26 AM8/27/14
to omn...@googlegroups.com
Hi I am using Veins 3 alpha 2 , with Linux 12.04, sumo 0.20, omnetpp 4.2.2. 
I am trying to run the traci tests via the terminal with the command 
./run

I keep getting the error below, does anyone know how to fix this? 
Also is this the correct way to run the tests? 
What is really weird is that I don't see any *.tests files in this folder? 
One of my questions is where is the actual tests for traci and what is it testing for?


srodrigu2@ubuntu:~/Research/omnetpp-4.2.2/VehicleToRSUminCost/veins/tests/traci$ ./run

-------------------------------------------------------------------------------
-- Running tests and collecting results ---------------------------------------
-------------------------------------------------------------------------------
<!> Warning: opp_run: Cannot check library ../../../inet/src/inet: ../../../inet/src//libinet.so: cannot open shared object file: No such file or directory


<!> Error during startup: Cannot load library '../../../inet/src//libinet.so': ../../../inet/src//libinet.so: cannot open shared object file: No such file or directory.
OMNeT++ Discrete Event Simulation  (C) 1992-2011 Andras Varga, OpenSim Ltd.
Version: 4.2.2, build: 120327-7947143, edition: Academic Public License -- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer

End.
FAILED: run aborted

-------------------------------------------------------------------------------
-- Results --------------------------------------------------------------------
-------------------------------------------------------------------------------
FAILED: run aborted

Any help is apprecitated ! Thank you

Christoph Sommer

unread,
Aug 27, 2014, 4:02:55 AM8/27/14
to omn...@googlegroups.com
Dear Susana,

Susana Rodriguez wrote:
> I keep getting the error below, does anyone know how to fix this?
> Also is this the correct way to run the tests?
> What is really weird is that I don't see any *.tests files in this folder?
> One of my questions is where is the actual tests for traci and what is
> it testing for?

The ./run script in the tests folder is broken. It assumes that you have
installed the OMNeT++ INET Framework and that it is installed in
"../../../inet" (in your case: VehicleToRSUminCost/veins). As an easy
fix, you can remove the reference to this folder from the ./run script.

It will then execute a series of simulations, each of which should run
without error.

Best,

Christoph



--
Dr. Christoph Sommer
Distributed Embedded Systems Group
University of Paderborn, Germany
http://www.ccs-labs.org/~sommer/
Reply all
Reply to author
Forward
0 new messages