Coder Social home page Coder Social logo

When a new EP is added to the list of epname.ini, and run the start_ep.py and checked ./cli.py --eps doesn't list the newly added ep about twister HOT 6 CLOSED

luxoft avatar luxoft commented on August 19, 2024
When a new EP is added to the list of epname.ini, and run the start_ep.py and checked ./cli.py --eps doesn't list the newly added ep

from twister.

Comments (6)

bogdanpopescu avatar bogdanpopescu commented on August 19, 2024

@sandhyamisra this was fixed on 12th July. The start_ep was replaced with start_client script. Please verify it.

from twister.

sandhyamisra avatar sandhyamisra commented on August 19, 2024

The newly added EP is now being listed when cli.py --eps is run however all the EPs are shown as inactive

user@user-VirtualBox:~/twister/bin$ python cli.py --eps

Hello, user user.

Your Execution-Processes are:
EP-1001 : service not running
EP-1002 : service not running
EP-1003 : service not running
EP-1004 : service not running
EP-1005 : service not running
EP-1006 : service not running
EP-1007 : service not running

user@user-VirtualBox:~/twister/bin$ cat ../config/epname.ini

Each section must be the name of an Execution Process.

The name of an Execution Processes MUST be UNIQUE !

The IP and PORT will be used by each EP, to connect to Central Engine.

Enabled = 1, means that the EP will be started, when executing

./start_ep.py, from twister/bin folder.

For sniffer configuration ENABLED = 1 means that the sniffer will start,

when executing ./start_ep.py, from twister/bin folder and ETH_INTERFACE = eth0

reffers to sniffer ethernet interface.

[PACKETSNIFFERPLUGIN]
ENABLED = 1
ETH_INTERFACE = eth0

[EP-1001]
CE_IP = 127.0.0.1
CE_PORT = 8000
ENABLED = 1

[EP-1002]
CE_IP = 127.0.0.1
CE_PORT = 8000
ENABLED = 0

[EP-1003]
CE_IP = 127.0.0.1
CE_PORT = 8000
ENABLED = 0

[EP-1004]
CE_IP = 127.0.0.1
CE_PORT = 8000
ENABLED = 0

[EP-1005]
CE_IP = 127.0.0.1
CE_PORT = 8000
ENABLED = 0

[EP-1006]
CE_IP = 127.0.0.1
CE_PORT = 8000
ENABLED = 1

[EP-1007]
CE_IP = 127.0.0.1
CE_PORT = 8000
ENABLED = 1
user@user-VirtualBox:~/twister/bin$

from twister.

bogdanpopescu avatar bogdanpopescu commented on August 19, 2024

@sandhyamisra
The EP's are started on demand because we changed the mechanism on how to start EP's for the automatic start feature. If no test case is executed, the EP's will be in idle state. The state changes when test cases are executed.

from twister.

sandhyamisra avatar sandhyamisra commented on August 19, 2024

I understand that the EP state change when the scripts are run but it would be nice if the cli.py --eps reflects the state as Enabled when epstate.ini sets the flag as 1 and Disabled when it is set as 0 and when the script runs it can be shown as Running.

from twister.

bogdanpopescu avatar bogdanpopescu commented on August 19, 2024

@sandhyamisra
There is no ENABLED flag anymore. The User Guide was updated, please check section 4 where epname.ini file structure is described.

from twister.

sandhyamisra avatar sandhyamisra commented on August 19, 2024

Ok this can be closed

from twister.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.