openairinterface5G merge requestshttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests2023-02-03T10:48:21Zhttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1867CI: new Python classes for SSH & Local execution2023-02-03T10:48:21ZRobert SchmidtCI: new Python classes for SSH & Local executionThe existing `SSHConnection` class is ... not good:
- it does not give the return code
- it typically scans for a single `&` before returning (this can lead to false-positives, e.g., it did in !1806 where a `&` appeared in a diff)
- it a...The existing `SSHConnection` class is ... not good:
- it does not give the return code
- it typically scans for a single `&` before returning (this can lead to false-positives, e.g., it did in !1806 where a `&` appeared in a diff)
- it assumes password-based SSH auth
- there is no corresponding "local execution" class with the same interface
- `copyin`/`copyout` spawn new processes
- ... probably more
I add two new classes `LocalCmd` and `RemoteCmd`. They have the same interface. Results of a call are returned in the Python `subprocess` class format. We can now check for return codes, and stuff with `&` cannot happen. `RemoteCmd` has no means for a password, and assumes certificate-based SSH. If the return-code of any command is non-null, it will print a warning and the command output (this can be suppressed). For the moment, only the cluster-build and (RHEL) and image-build (Ubuntu) builders use it (more to follow later, I don't want to change everything at once). There interface is somewhat backwards-compatible to `SSHConnection`, both have a `command` call.
Also, the tags in the cluster images follow the `branch-commitId[1:8]` pattern of the Ubuntu CI.OK_TO_BE_MERGEDRaphael DefosseuxRaphael Defosseuxhttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1850Draft: Fix T1 offload test2022-12-10T14:06:31ZRobert SchmidtDraft: Fix T1 offload testThere was some incorrect Python, which is fixed in this branch. Also, it reenables the T1-Offload-Test pipelineThere was some incorrect Python, which is fixed in this branch. Also, it reenables the T1-Offload-Test pipelineOK_TO_BE_MERGEDWangWanghttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1770Draft: (fix): removing the amf fqdn paramter2022-10-21T13:09:53ZSagar Arorasagar.arora@openairinterface.orgDraft: (fix): removing the amf fqdn paramter- there are extra variables in gnb_entrypoint.sh to resolve fqdn removing the extra variable
- allowing nrue config to use gnb fqdn and ip-address- there are extra variables in gnb_entrypoint.sh to resolve fqdn removing the extra variable
- allowing nrue config to use gnb fqdn and ip-addressOK_TO_BE_MERGEDSagar Arorasagar.arora@openairinterface.orgSagar Arorasagar.arora@openairinterface.orghttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1756feat(ci): adding push / pull images operations to/from a local registry2022-10-21T13:09:56ZRaphael Defosseuxfeat(ci): adding push / pull images operations to/from a local registryFirst step to bring back the LTE-Legacy bench.
- After Ubuntu build, adding push a fixed local registry
- Added operations to pull and clean images on a test-server
I will modify the scenarios next commits.First step to bring back the LTE-Legacy bench.
- After Ubuntu build, adding push a fixed local registry
- Added operations to pull and clean images on a test-server
I will modify the scenarios next commits.OK_TO_BE_MERGEDRaphael DefosseuxRaphael Defosseuxhttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1751Draft: Refactor and simplify CI UE Handling2023-04-11T08:58:03ZDhanuja Elizabeth ThomasDraft: Refactor and simplify CI UE Handling1. Added Wakeupscript and detachScript
2. Added functionality to get the IP address of the UE1. Added Wakeupscript and detachScript
2. Added functionality to get the IP address of the UEOK_TO_BE_MERGEDDhanuja Elizabeth ThomasDhanuja Elizabeth Thomashttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1732CI september cleanup2022-10-07T12:29:37ZRobert SchmidtCI september cleanupCleanup of CI-related code, also towards future convergence of RAN-CI-develop and RAN-Container-Parent
- Generic `lockResources` in all pipelines: can lock arbitrary number of lockable resources
- Rename names of pipelines in groovy so ...Cleanup of CI-related code, also towards future convergence of RAN-CI-develop and RAN-Container-Parent
- Generic `lockResources` in all pipelines: can lock arbitrary number of lockable resources
- Rename names of pipelines in groovy so that BlueOcean names coincide with the actually triggered pipelines
- Update in `doc/TESTBenches.md` (IP addresses, executor names, general cleanup)
- Update for tags: ~documentation will now trigger any build and make CI always pass, RAN-Container-Parent distinguishes between 4G and 5G tests; generic help message updated (will look similar to [this](https://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1725#note_63868))OK_TO_BE_MERGEDDhanuja Elizabeth ThomasDhanuja Elizabeth Thomashttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1681Build RHEL8 images on Openshift Cluster2022-09-16T08:38:03ZRobert SchmidtBuild RHEL8 images on Openshift ClusterDevelopment for a new pipeline that builds RHEL8 images on cluster instead of the existing server.
The [build time on the existing RHEL8 builder pipeline](https://jenkins-oai.eurecom.fr/job/RAN-RHEL8-Image-Builder/buildTimeTrend) is usu...Development for a new pipeline that builds RHEL8 images on cluster instead of the existing server.
The [build time on the existing RHEL8 builder pipeline](https://jenkins-oai.eurecom.fr/job/RAN-RHEL8-Image-Builder/buildTimeTrend) is usually 30-40min. I expect the new pipeline to execute everything in 10-15 min (maybe a bit more), similar to the [Ubuntu builder pipeline](https://jenkins-oai.eurecom.fr/job/RAN-Ubuntu18-Image-Builder/buildTimeTrend). In other words, this work will speed up the RAN-Container-Parent by 15min.
The physim python code has been updated to expect the physim images directly on the image registry.
Tasks to be done:
- [x] Add to Gitlab Jenkinsfile: https://jenkins-oai.eurecom.fr/view/RAN/job/RAN-RHEL8-Cluster-Image-Builder/
- [x] Need to check whether it is faster to build the target images (gNB, eNB, ...) serially and not in parallel
- [x] it seems the Pipeline does not pick up the XML file @defosseu could you please check? -> I used the wrong branch/need to have the pipeline clone ci-build-cluster branch into Jenkins workspaceOK_TO_BE_MERGEDThomas Laurentlaurent.thomas@open-cells.comThomas Laurentlaurent.thomas@open-cells.comhttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1666gzip optim, links for size2022-08-30T06:23:42ZThomas Laurentlaurent.thomas@open-cells.comgzip optim, links for sizeOK_TO_BE_MERGEDhttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1646Add 4G L2simulator test2022-08-21T06:11:08ZRobert SchmidtAdd 4G L2simulator testAdd a 4G L2simulator test to RAN-Container-Parent. Tasks to be done:
- [x] Robert: pipeline [RAN-L2-Sim-Test-4G](https://jenkins-oai.eurecom.fr/view/RAN/job/RAN-L2-Sim-Test-4G/) should run once successfully
- [x] Robert: Add iperf (on m...Add a 4G L2simulator test to RAN-Container-Parent. Tasks to be done:
- [x] Robert: pipeline [RAN-L2-Sim-Test-4G](https://jenkins-oai.eurecom.fr/view/RAN/job/RAN-L2-Sim-Test-4G/) should run once successfully
- [x] Robert: Add iperf (on my machine, works up to 1.5Mbps in DL and 6.5 in UL)OK_TO_BE_MERGEDhttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1645fix(ci): Fixes for the legacy LTE bench2022-08-12T05:33:23ZRaphael Defosseuxfix(ci): Fixes for the legacy LTE benchFound this issue when looking at Bruno's MR runs.
- Problem with escaping chars
- Killing properly tshark process on EPCFound this issue when looking at Bruno's MR runs.
- Problem with escaping chars
- Killing properly tshark process on EPCOK_TO_BE_MERGEDRaphael DefosseuxRaphael Defosseuxhttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1514WIP: [CI] initial work for amarisoft ue automation2022-04-08T13:18:35ZRemi HardyWIP: [CI] initial work for amarisoft ue automationautomation of end to end SA with 1 amarisofot UE + pingautomation of end to end SA with 1 amarisofot UE + pingOK_TO_BE_MERGEDRaphael DefosseuxRaphael Defosseuxhttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1500March 2022 - Some little CI fixes2022-04-01T07:47:53ZRaphael DefosseuxMarch 2022 - Some little CI 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 a...* 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
* Added utility python script to make unique `docker` image tag on `docker-hub`
* cppcheck stage compares with latest `develop` stats --> still not failing pipelineOK_TO_BE_MERGEDRobert SchmidtRobert Schmidthttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1475WIP: [CI] fix log rotation on UE host2022-03-06T18:14:48ZRemi HardyWIP: [CI] fix log rotation on UE hostchange the way we clean the quectel host from qlogs, to prevent reaching max disk spacechange the way we clean the quectel host from qlogs, to prevent reaching max disk spaceREVIEW_COMPLETED_AND_APPROVEDRobert SchmidtRobert Schmidthttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1455WIP: [CI] Correct CI Segv reporting2022-06-19T16:47:20ZRobert SchmidtWIP: [CI] Correct CI Segv reportinghttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1448integration_2022_wk07_b2022-02-15T23:31:24ZRemi Hardyintegration_2022_wk07_bMR !1440 fix 162 PRB config
MR !1446 fix tcp bidir for nsa
cherry pick dd6f4851ade0d72e062d7f5762ce0e63d7524f2a relax ping acceptance thresholds for LTE
cherry pick 78378882b7c70009b6d84c2fce93fa8774d8e0be Fix SA OAIUE N310 test's ...MR !1440 fix 162 PRB config
MR !1446 fix tcp bidir for nsa
cherry pick dd6f4851ade0d72e062d7f5762ce0e63d7524f2a relax ping acceptance thresholds for LTE
cherry pick 78378882b7c70009b6d84c2fce93fa8774d8e0be Fix SA OAIUE N310 test's USRP IP address
MR !1443 fix mac2pduwireshark
MR !1428 UE parallel processing fixREVIEW_COMPLETED_AND_APPROVEDRobert SchmidtRobert Schmidthttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1427integration_2022_wk052022-02-02T11:20:56ZRemi Hardyintegration_2022_wk05MR !1425 : [CI] add-on to clean AWS objects
MR !1420 : nr ue: fix security setting of DRB
MR !1396 : NR fix harq round calculation
MR !1414 : Modified CMakeLists to enable the run with address sanitizer without specifying LD_LIBRAR...MR !1425 : [CI] add-on to clean AWS objects
MR !1420 : nr ue: fix security setting of DRB
MR !1396 : NR fix harq round calculation
MR !1414 : Modified CMakeLists to enable the run with address sanitizer without specifying LD_LIBRARY_PATH
MR !1413 : [CI] migrating VM-based tests to Container-based tests
MR !1426 : [CI] improve stats files analysis
MR !1389 : [CI] TCP bidir test for SA and NSARaphael DefosseuxRaphael Defosseuxhttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1416integration_2022_wk04_a2022-02-09T17:48:27ZRemi Hardyintegration_2022_wk04_aMR !1353: L1 Tx threading update
MR !1404: [CI] rtmon per testMR !1353: L1 Tx threading update
MR !1404: [CI] rtmon per testRaphael DefosseuxRaphael Defosseuxhttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1415integration_2022_wk04_a2022-02-12T20:09:43ZRemi Hardyintegration_2022_wk04_aMR !1348: develop-SRS
MR !1353: L1 Tx threading update
MR !1394: This commit includes several nfapi bug fixes
MR !1404: [CI] rtmon per testMR !1348: develop-SRS
MR !1353: L1 Tx threading update
MR !1394: This commit includes several nfapi bug fixes
MR !1404: [CI] rtmon per testRaphael DefosseuxRaphael Defosseuxhttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1408[CI] fix gitpost issue2022-01-21T11:14:07ZRemi Hardy[CI] fix gitpost issuetentative to fix NSA tests git poststentative to fix NSA tests git postsOK_TO_BE_MERGEDRobert SchmidtRobert Schmidthttps://gitlab.eurecom.fr/oai/openairinterface5g/-/merge_requests/1407[CI] add lte 2x2 tm22022-01-21T10:07:26ZRemi Hardy[CI] add lte 2x2 tm2update LTE 2x2 pipeline with TM2 modeupdate LTE 2x2 pipeline with TM2 modeREVIEW_CAN_STARTRaphael DefosseuxRaphael Defosseux