Improvements from anna fork
authorEduardo Ramos Testillano <eduardo.ramos.testillano@ericsson.com>
Sat, 11 Apr 2020 23:49:21 +0000 (01:49 +0200)
committerEduardo Ramos Testillano (eramedu) <eduardo.ramos.testillano@ericsson.com>
Fri, 17 Apr 2020 19:27:51 +0000 (21:27 +0200)
commit2e2f6d4e2ffe1c8b86c812807f0e501ab78f56f9
tree1398dd9cf32574c56d3a0b86b492f034f9d19fa5
parent88cd8ffad493971ae4704ed007d8430c1d3fd7eb
Improvements from anna fork

* Rename steps that are diameter-specific
  Diameter steps should be renamed to clarify the real context of use.

* Change ADML point of generation for launcher.traces

  Change from the physical executable location to the
  execution point (current working directory)

* Improve final detection algorithm

  Improves resolution to detect the end of the
  testing.
  Uses the number of finished test cases
  (success + failed) instead the initialized
  ones (which is less safer because initial
  conditions).

* Add dynamic ip-limit control

  Add the possibility to control de ip-limit from
  test case by mean a new generic action: ip_limit

* Manage terminate signal from ADML application

* Improve counters
  Implement signalTermination handler and force counter records.
  If counters dumps are disabled (--cntRecordPeriod 0) the file
  won't be created anyway.

  Also, improve the mask for counters file creation instead of
  modifying it on close (avoid possible stop problems). We set
  644 for counters.

* Implement junit report generation
  Add new methods and implement new asXML getter for junit report.

* AOTS (Agents-Oriented Testing Setup): evolution from original
  idea of diameter agents but extended to any kind of resource.

Change-Id: I4dc3ac41b86709439ffa2aa98aa011d956d8df2f
52 files changed:
INSTALL_AOTS.md [new file with mode: 0644]
README.md
dynamic/launcher/gx/00001/Procedure.cpp
example/diameter/launcher/Launcher.cpp
example/diameter/launcher/Launcher.hpp
example/diameter/launcher/MyCounterRecorder.cpp
example/diameter/launcher/deploy-aots.sh [new file with mode: 0755]
example/diameter/launcher/deployments/aots/README.md [new file with mode: 0644]
example/diameter/launcher/deployments/aots/agents/ADML/ACTIONS.md [new file with mode: 0644]
example/diameter/launcher/deployments/aots/agents/ADML/HINTS.md [new file with mode: 0644]
example/diameter/launcher/deployments/aots/agents/ADML/args.ft [new file with mode: 0644]
example/diameter/launcher/deployments/aots/agents/ADML/args.st [new file with mode: 0644]
example/diameter/launcher/deployments/aots/agents/ADML/services.xml.example [new file with mode: 0644]
example/diameter/launcher/deployments/aots/agents/ADML/stacks/DictionaryGx.16777238.xml [new file with mode: 0755]
example/diameter/launcher/deployments/aots/agents/ADML/stacks/DictionaryRx.16777236.xml [new file with mode: 0755]
example/diameter/launcher/deployments/aots/agents/ADML/stacks/DictionarySy.16777302.xml [new file with mode: 0755]
example/diameter/launcher/deployments/aots/agents/ADML/stacks/diameter_base.0.xml [new file with mode: 0755]
example/diameter/launcher/deployments/aots/agents/ADML/start.sh [new file with mode: 0755]
example/diameter/launcher/deployments/aots/agents/ADML/stop.sh [new file with mode: 0755]
example/diameter/launcher/deployments/aots/agents/HTTPMOCK/ACTIONS.md [new file with mode: 0644]
example/diameter/launcher/deployments/aots/agents/HTTPMOCK/Provision.sh [new file with mode: 0755]
example/diameter/launcher/deployments/aots/agents/KAFKA/ACTIONS.md [new file with mode: 0644]
example/diameter/launcher/deployments/aots/agents/KAFKA/Admin.py [new file with mode: 0644]
example/diameter/launcher/deployments/aots/agents/KAFKA/Consumer.py [new file with mode: 0644]
example/diameter/launcher/deployments/aots/agents/KAFKA/Producer.py [new file with mode: 0644]
example/diameter/launcher/deployments/aots/launcher.py [new file with mode: 0755]
example/diameter/launcher/deployments/aots/loader.py [new file with mode: 0755]
example/diameter/launcher/deployments/aots/tests.example/agents.yml [new file with mode: 0644]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch01-ipv4/1.Initial.yml [new file with mode: 0644]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch01-ipv4/2.Initial2.yml [new file with mode: 0644]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch01-ipv4/AAA.xml [new file with mode: 0644]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch01-ipv4/AAR.xml [new file with mode: 0644]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch01-ipv4/AAR2.xml [new file with mode: 0644]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch01-ipv4/expected.json.template [new file with mode: 0644]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch02-ipv6/1.Initial.yml [new file with mode: 0644]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch02-ipv6/2.Initial2.yml [new file with mode: 0644]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch02-ipv6/3.Initial3.yml [new file with mode: 0644]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch02-ipv6/AAA.xml [new file with mode: 0644]
example/diameter/launcher/deployments/aots/tests.example/ts01-general/ch02-ipv6/AAR-ipv6.xml [new file with mode: 0644]
example/diameter/launcher/deployments/aots/tests.example/ts02-errors/ch01-protocolErrors/1.MissingRealm.yml [new file with mode: 0644]
example/diameter/launcher/deployments/aots/tests.example/ts02-errors/ch01-protocolErrors/AAA-bad.xml [new file with mode: 0644]
example/diameter/launcher/deployments/aots/tests.example/ts02-errors/ch01-protocolErrors/AAR-bad.xml [new file with mode: 0644]
example/diameter/launcher/main.cpp
include/anna/testing/TestCase.hpp
include/anna/testing/TestCondition.hpp [deleted file]
include/anna/testing/TestDiameterCondition.hpp [new file with mode: 0644]
include/anna/testing/TestManager.hpp
include/anna/testing/TestStep.hpp
source/testing/TestCase.cpp
source/testing/TestCondition.cpp
source/testing/TestManager.cpp
source/testing/TestStep.cpp