Commit Graph
409 Commits
Author SHA1 Message Date
Bipin f3033533bb moving module id and node checks to parameter checks 2024-09-04 15:45:18 +02:00
Bipin Adhikari 3afbf8e39a Patch to resolve MR comments 2024-09-04 15:43:46 +02:00
Bipin Adhikari 9890896b9c patch for Iperf2_Unidir ci_infra %currenthost% 2024-09-04 15:43:46 +02:00
Bipin Adhikari ab1564aa1c All log files are now stored in scenario-specific folders in python executor 2024-09-04 15:43:46 +02:00
Bipin Adhikari f99552419e Use DeployObject/UndeployObject for pipelines using DeployGenObject/UndeployGenObject
XML file changed accordingly
2024-09-04 15:43:46 +02:00
Bipin Adhikari 44d0c88863 Seperated Create_Workspace as a seperate XML task
Create_Workspace is used used in XML files instead of directly being
executed in DeployObject(). This can be problematic if we deploy
multiple services on the same host, since a previous workspace will be
deleted. Also, it removes futile git clones.

There are other XML steps (CppCheckAnalysis, LicenceAndFormattingCheck,
BuildImage, BuildProxy, BuildClusterImage) that implicitly called
Create_Workspace. Those calls have been removed and care has been taken
to insert the corresponding Create_Workspace steps in the XML.
2024-09-04 15:43:46 +02:00
Bipin Adhikari 150a00bd23 support for %%currenthost%% host names for modules in ci_infra
It can be set using nodes and svr_node tags in xml files
2024-09-04 15:38:51 +02:00
Robert Schmidt 3e44aba1ea Merge remote-tracking branch 'origin/ci-fhi72-pipeline' into integration_2024_w31 2024-08-05 16:51:31 +02:00
Jaroslava Fiedlerova 3cdb0d795e CI: Add path and namespace configuration for OC CNs
- Modify CN deployment and termination functions to include namespace and path parameters.
- Update `Module_UE` class with new attributes for namespace and CN path.
- Integrate `cnID` for OC CN deployment and termination in `epc.py`.
- Extract `cn_id` from XML configurations for CN operations.
- Update XML files to include `cn_id` tag for 5G Core initialization and
  termination. (Used in OAIUE and AW2S pipeline, for OC CN deployment. This change
will not affect other CN deployments.)
2024-08-05 15:57:49 +02:00
Jaroslava Fiedlerova a6ce2896f7 CI: Create Iperf2 unidirectional function
Add new function to run iperf v2 test. Supports testing with 1 UE, unidirectional traffic.
Currently used in RFSim-4G, FeMBMS testcase.
2024-07-18 19:31:36 +02:00
Jaroslava Fiedlerova eb487e0196 Merge remote-tracking branch 'origin/ci-rfsim-add-channel' into integration_2024_w15 2024-04-15 08:47:01 +02:00
Guido Casati 72337b9c43 Minor fixes to CI python scripts
- enhanced CustomCommand logging
- print ParseError
2024-04-12 15:53:43 +02:00
Jaroslava Fiedlerova 04357e8b45 Update CUDA analysis function and XML files 2024-04-11 16:06:53 +02:00
Jaroslava Fiedlerova cde318ced8 Rework nr_dlsim/nr_ulsim test and analysis function
- Enable both nr_ulsim and nr_dlsim test with Run_T2Test
- Introduce time threshold variable for T2/CPU LDPC tests
  - Set threshold individually for each test - T2 encoding/decoding and CPU encoding/decoding
  - Check if encoder/decoder processing time is below the threshold
  - Remove NOK return option - keep only OK (processing time below threshold) or KO (proceesing time beyond threshold)
- Rename function to run and check results of CUDA ldpctest
- Use new SSH class in function for check T2 test results, use f-strings
2024-04-11 16:06:17 +02:00
Jaroslava Fiedlerova 7732689b9b Remove unused awk scripts 2024-04-08 17:37:26 +02:00
Jaroslava Fiedlerova d7d85ff9cd Remove unused iperf test and analysis functions
- Remove IperfFromContainer
- Remove unused functions IperfExit and PingExit
- Remove unused function for iperf analysis
2024-03-27 23:12:02 +01:00
Jaroslava Fiedlerova 4ad8a7bd64 Add iperf_tcp_rate_target for TCP iperf3 tests 2024-03-27 22:43:52 +01:00
Jaroslava Fiedlerova 08353293e5 Rename and modify ci_ueinfra and cls_module_ue
- add traffic servers
- add runServer parameter
2024-03-27 22:37:55 +01:00
Robert Schmidt 9d92f4f91c CI: catch exceptions in CI code and print in HTML 2024-01-29 12:51:20 +01:00
Robert Schmidt 01ea8dbd07 CI: Add Build_Run_Tests unit testing step 2024-01-29 12:51:20 +01:00
Robert Schmidt 1a03179720 Use return value of Build_Image/Build_Proxy to decide if abort instead of sysexit 2024-01-24 15:47:29 +01:00
Raphael Defosseux 29b4e64dfc fix(ci): properly removing docker volumes
Laurent noticed it on one of his MR and confirmed with him:
  -- Volumes have be created the 1st time they ran on avra on July 7th
  -- Volumes were created with not only the raw files but also the nr-softmodem executable

Solution: two-fold:
  1. using the `docker-compose down -v` syntax, the volume is deleted automatically
  2. I added redundancy with the custom command to remove the used volume

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-09-18 15:09:30 +02:00
Robert Schmidt 7b1703441f Merge remote-tracking branch 'origin/ci-nrue-test' into integration_2023_w27 2023-07-09 14:05:45 +02:00
Jaroslava Fiedlerova cc71018ef7 Define server where to pull OC images
- if the server is not specified in the xml file, eNBIPAddress is taken
2023-07-03 15:37:36 +02:00
Dhanuja Elizabeth Thomas d0aa233aaf Remove PingFromContainer definition and portions where it is called in main.py 2023-07-03 14:44:33 +02:00
Jaroslava Fiedlerova 8b339bb659 Retag porcepix and cluster registry images to use same prefix
Allows to reuse DeployObject, CleanTestImages, etc, to be reused
regardless of image registry origin.
2023-04-19 16:57:50 +02:00
Jaroslava Fiedlerova b34e4d0a19 CI Cluster module: refactor login&logout, pull cluster images 2023-04-19 16:57:41 +02:00
Robert Schmidt ca25160c4c Some cleanup after introducing new CI machine 2023-03-20 15:20:28 +01:00
Robert Schmidt 4ae28aba10 Custom_Command: add option to fail if returncode is non-zero 2023-03-10 12:38:17 +01:00
Robert Schmidt f35945e912 Merge remote-tracking branch 'origin/ocp-enb-cmake' into integration_2023_w08b 2023-02-24 18:49:30 +01:00
Robert Schmidt de359dae9f Remove Reboot(), CheckProcessExists() (eNB, UE), Iperf_Common() and Iperf_UL_Common() 2023-02-23 17:38:10 +01:00
Robert Schmidt ab009fabff Refactor Iperf_module()
- Harmonize code for CNs
- Support TCP
- Different port numbers for multiple UEs
- Calculate UDP throughput for multiple UEs
2023-02-23 17:38:10 +01:00
Robert Schmidt 9a727b744a Perform multiple UE operations simultaneously
- Initialize
- Attach
- Detach
- Terminate
- DataEnable
- DataDisable
- CheckStatus
2023-02-23 17:38:10 +01:00
Robert Schmidt e7b40cb444 Remove COTS_UE 2023-02-23 17:38:10 +01:00
Robert Schmidt 08ea58b243 Remove any mention of ADB 2023-02-23 17:38:10 +01:00
Robert Schmidt 5a113cdbb2 Remove useless code 2023-02-23 17:38:10 +01:00
Robert Schmidt df209625ab Improve cls_oaicitest.py to use cls_module_up.py
- Remove cls_ci_ueinfra
- Use new UE module in cls_oaicitest
- Remove useless code
2023-02-23 17:38:09 +01:00
Robert Schmidt 0a0cd884dd Remove all references to CatM 2023-02-23 17:37:30 +01:00
Robert Schmidt 208a15aacc CI HTML: use full width, no footer, remove UE info at top 2023-02-23 17:37:30 +01:00
Robert Schmidt 59af5bd8aa CreateHtmlTestRowQueue: one UE column in any test 2023-02-23 17:37:30 +01:00
Robert Schmidt 6553239fbc Remove ocp-enb/split73 2023-02-23 16:31:04 +01:00
Jaroslava Fiedlerova c94ba6ecd6 CI test for T1 LDPC offload on caracal 2023-02-20 23:05:44 +01:00
Robert Schmidt 5824a0603b Merge remote-tracking branch 'origin/ci-custom-command' into integration_2023_w07 2023-02-19 12:32:40 +01:00
Dhanuja Elizabeth Thomas 5723e7135f Add custom_commad to execute arbitrary command in CI 2023-02-18 12:06:58 +01:00
Raphael Defosseux 76ed14e76c chore(ci): using pyshark live-capture instead of launching a bg tshark
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2023-02-03 14:03:53 +01:00
Robert Schmidt c4963ed16d CI: support cmd_prefix for OAI UE 2022-12-22 12:58:01 +01:00
Robert Schmidt d3ac2bf1fa Merge remote-tracking branch 'origin/remove-flexran' into integration_2022_wk48 2022-11-30 14:38:36 +01:00
Robert Schmidt 287c182925 Remove FlexRAN
- Remove any FlexRAN code
- Cleanup config files
- Remove LFDS7, libyaml dependencies
2022-11-30 14:30:18 +01:00
Robert Schmidt d2a35f70c7 IperfFromContainer: Undeploy automatically on failure, like for Ping 2022-11-25 07:49:55 +01:00
Robert Schmidt 4bc8ef3f80 Make service configurable in DeployObject, UndeployObject stops multiple
Service name can be used to start individual services. Uses only
docker-compose primitives, which can later be used to use the
docker-compose SSH functionality to (un)deploy services.

UndeployObject stops all referenced services
2022-10-29 12:48:55 +02:00