Commit Graph
102 Commits
Author SHA1 Message Date
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
Raphael Defosseux 3059ad4ebd fix(ci): fix running simulators
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-21 16:22:23 +02:00
Raphael Defosseux 28fb8fbdd4 fix(ci): post-review changes and fix on the HTML reporting
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-18 15:32:41 +02:00
Raphael Defosseux a1f1d65429 feat(ci): adding used image info to HTML report
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-18 09:32:23 +02:00
Raphael Defosseux 73b1130fef fix(ci): longer timeouts for merge operations
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-18 08:50:18 +02:00
Raphael Defosseux 612956d354 feat(ci): adding pull strategy to b200 nsa/sa scenarios
* also removing the Copy_Image_to_Test method, useless now

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-18 08:40:59 +02:00
Raphael Defosseux 5480e983d6 feat(ci): the simulation scenarios are now pulling / using images from local registry
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-18 08:40:59 +02:00
Raphael Defosseux 4f46622383 fix(ci): forgot to add HTML rows to test-report
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-18 08:40:59 +02:00
Raphael Defosseux 6da8869ed4 feat(ci): adding push / pull images operations to/from a local registry
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-10-18 08:40:59 +02:00
Robert Schmidt 10411336bb Merge remote-tracking branch 'origin/ci-speedup-clone' into integration_2022_wk41 2022-10-11 23:32:04 +02:00
Robert Schmidt 5b96aa8ee4 Fix error 2022-10-10 14:34:21 +02:00
Robert Schmidt 551d35bf6f cls_containerize.CreateWorkspace(): make blobless clone to speedup 2022-10-10 12:02:15 +02:00
Robert Schmidt a4e4bd1f26 Fixup: on deployment fail, copy log file for artifact persistance 2022-09-29 10:06:21 +02:00
Robert Schmidt c65b5d276c Log sha for docker-compose 2022-09-29 10:06:21 +02:00
Robert Schmidt 56ba74705f Do not flatten images to retain original SHA 2022-09-29 10:06:12 +02:00
Robert Schmidt eb15d7332b Remove sudo commands from cluster-related CI scripts 2022-09-16 10:25:24 +02:00
Robert Schmidt 3bb312dce2 Help function for creating repository workspace 2022-09-06 12:05:24 +02:00
Robert Schmidt 668d0865b8 Simplify cls_containerize.BuildImage() and drop allImagesSize class member 2022-09-05 15:29:33 +02:00
Robert Schmidt d78ccd64ca Help function for analyzing RAN build logs 2022-09-05 15:29:32 +02:00
Robert Schmidt f77bf44386 Help function for copying RAN build logs to executor 2022-09-05 15:29:32 +02:00
Robert Schmidt e62662e463 Correct entitlements in base Dockerfile 2022-09-05 15:29:32 +02:00
laurent bf2b069d96 let more time for docker compose to start the container 2022-09-02 11:36:47 +02:00
Robert Schmidt 23cf8059aa Save logs of unhealthy containers during deployment 2022-08-24 15:51:49 +02:00
Robert Schmidt c1b448cd1a Handle errors in Copy_Image_to_Test_Server() 2022-08-24 15:51:49 +02:00
laurent 3a0a14cf7d gzip optim, links for size 2022-08-24 15:51:49 +02:00
Robert Schmidt 4674cddb71 Merge remote-tracking branch 'origin/fix-nrsoftmodem-stop' into integration_2022_wk33 2022-08-19 18:22:23 +02:00
Robert Schmidt a08d78d79d Correctly show proxy build info 2022-08-17 23:50:23 +02:00
Robert Schmidt 6f40b6190c Stop containers before undeploying 2022-08-16 14:44:23 +02:00
Robert Schmidt e1798745ef Dynamically build L2sim proxy 2022-07-26 09:54:53 +02:00
Robert Schmidt 5928d571e7 CI: Fix log message typo in UndeployObject() 2022-07-14 23:53:52 +02:00
Robert Schmidt f1e3f7fb1f CI: Abort pipeline if DeployObject fails 2022-07-14 23:53:52 +02:00
Raphael Defosseux 998452e679 feat(ci): add script to properly flatten the target images
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-04-22 16:53:34 +02:00
Raphael Defosseux 32b2f76c57 fix(ci): first port to the new Eurecom infrastructure:
* Proxy no longer required for git cloning
* Most of the IP addresses have been changed
  - Remaining --> 192.168.18.89 for amariue

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-04-20 14:30:24 +02:00
Raphael Defosseux dc4feae780 Merge remote-tracking branch 'origin/develop' into ci_add_2nd_ue 2022-04-08 16:45:59 +02:00
Raphael Defosseux 5e1e27699d fix(ci): the PCAP file was getting too big
-- Excluded the 2nd UE container IP address from capture
 -- Also added support for multiple UEs for dlsch_ulsch_stats

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-04-08 10:59:24 +02:00
Robert Schmidt d8d3106baf Merge remote-tracking branch 'origin/episys-throughput-updates-and-downlink-siso-cm' into integration_2022_wk14 2022-04-06 23:44:59 +02:00
Raphael Defosseux 52ead754c0 fix(ci): some little cosmetics fixes
* The quectel CM program output is now redirected to a file. Easier to follow when running
* I added `-i 1` option to all server iperf commands to have details
* module-based iperf logs are also copied to the RAN enb log folder so they are artifacted
* iperf3 console output was badly formatted
* `docker kill --signal INT` does not stop the container

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-03-30 14:09:45 +02:00
Raphael Defosseux 4a51762a83 feat(ci): adding automation for 5G NR SA L2 simulator with Proxy
- Adding new templates for nFAPI in gNB and NR-UE images
  - Better entrypoint for NR-UE (alignment on others)
  - New Test method: StatsFromGenObject
  - At deployment, image name, size and date are printed
  - Initial scenario with 1 NR-UE and just ping operations
  - Trigger new child sub-pipeline for L2-sim-5G tests

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-03-30 13:57:22 +02:00
hardy 1fc6d12aef Add retx checkers to make CI test fail on retx thresholds 2022-02-28 16:44:08 +01:00
Raphael Defosseux 8981b53f83 fix(ci): changes after code review.
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-02-21 16:39:38 +01:00
Raphael Defosseux 4c76eb6c00 fix(ci): display state of container even when successful
recover the full MAGMA-MME log

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-02-21 16:36:34 +01:00
Raphael Defosseux 0b7be7466e fix(ci): display state of container when failure, better tshark filtering, auto-undeploy if deploy went wrong
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-02-21 16:36:34 +01:00
Robert Schmidt 01f2b5a16c Reset B200 device before a new run 2022-02-02 10:23:01 +01:00
Raphael Defosseux b2b95bb9ff feat(ci): adding more 4G RF sim tests -- currently TDD not working
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-01-21 11:49:55 +01:00
Raphael Defosseux 425bb14900 fix(ci): better shutdown of container when using USRP
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-01-19 14:42:51 +01:00
Raphael Defosseux edb876460f feat(ci): adding RAN containers analysis
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2022-01-19 14:38:57 +01:00
Robert Schmidt 64058d84b3 Don't execute ls on files to analyze (is useless) 2022-01-17 16:02:48 +01:00
Robert Schmidt b0e3867a5f Fix: Right RFsim CU/DU filename 2022-01-17 16:02:48 +01:00
Robert Schmidt a8041b6794 CI: Correct file path of logging results 2022-01-14 18:34:40 +01:00
Robert Schmidt 396fcd435e CI: force rebuild of ran_base if build_oai/build_helper/Dockerfile change 2022-01-14 18:34:40 +01:00