- 28 Sep, 2024 22 commits
-
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
This reimplements the CI deployment functions, and makes them a bit more robust. Concretely: - Introduce a generic "deployment tag" option that can be used to override the tag to use for specific images. By default, it is the current "branch-commitID[0:8]" tag name (requires the change from function ImageTagToUse() to CreateTag(), impacting also pull/push image functions) - Avoid sed for image names, and use an .env file that docker-compose picks up automatically; the deployment analyzes a potentially existing .env file and updates instead of simply overriding. For instance, some pipelines might use -asan images for the gNB and "normal" (non-asan) images for UE, and a simple overwriting might make the -asan image name tag disappear for the gNB, resulting in deployment failures). Finally, undeployment removes the .env file, so that there are no modifications in the repository after undeployment. - Redo the previous behavior of autodetecting asan, and use that (the current function always uses asan, no matter what) - Remove deployKind/displayedNewTags globals, as they are not necessary - Make the usedImage output in HTML slimmer - On undeployment, print service names next to undeploy analysis, and return success/failure. - Make the functions generally less verbose and easier to read Note that as of and only in this commit, deployment does not work, as all the YAML files have not been updated to work with this updated version. The next commit adds tests for the new deployment, and updates one YAML file (also being used in the tests). The follow-up commit then modifies all YAML files.
-
Robert Schmidt authored
The BuildeNB steps either does things that are already implemented (created workspace), or things that we don't use (separate build_wait), and is generally quite convoluted when all it does is calling build_oai. Reimplement by reusing Create_Workspace, and make build_oai in a single step. To clean up, make a new module in which this function does not need a class instantiation. Instead, we give all necessary parameters directly.
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
The next commit will use "echo -e". The problem with that is that bash and sh differ: - in bash: this results in "a\nb" (a+newline+b) - in sh: this results in -e a\nb (-e a+newline+b) The problem is that by default, commands are executed through sh, which nobody expects. Change to bash, which is likely more aligned with what people want to use.
-
Robert Schmidt authored
After the previous commit, the CI will always do an undeployment step even if the CI failed. Hence, these XMLs are not necessary anymore. Some XMLs are updated to do what their "cleanup XML" counterparts did, such as removing additional images.
-
Robert Schmidt authored
-
Robert Schmidt authored
Use the previous commit on returning success from each task execution function, and implement handling of errors in the main loop. Add a script with which this is visible using Custom_Commands.
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
The repeatCount property is useless: it would be enough to specify the same XML multiple times to achieve the same thing.
-
Robert Schmidt authored
-
Robert Schmidt authored
For reasons I don't understand, the XML option reading and actual test case execution are at different places in the code. This is problematic, because what this led to is that options are not passed as function arguments, but indirectly through class members. This led to a lot of "indirect code"; it's a total mess To improve this, move them together, so that parameters can be passed directly as function arguments later on. Because we reference the globals, mark them inside ExecuteActionWithParam(). That is a Python antipattern, but necessary at this moment. I believe that we can remove the following globals over time: - SSH (with new cls_cmd, which we don't need to pass) - EPC (replaced through a class similar to ue_module, i.e., refer to core networks on specific hosts through an ID, instead of a global) - HTML (should use templating, where individual functions give back a dictionary of what they want to print, and a final pass assembles the entire HTML file) - RAN/SCA/PHYSIM/CLUSTER/ldpc (can be replaced with stateless scripts build/run eNB/gNB on a specific node)
-
Jaroslava Fiedlerova authored
-
Jaroslava Fiedlerova authored
Update the regex for both sender and receiver data to allow optional bitrate unit prefixes - accepts also no prefix. Modify the patterns for lost and total packets to accept negative values (`-?\d+`).
-
Jaroslava Fiedlerova authored
-
Jaroslava Fiedlerova authored
-
Robert Schmidt authored
Add some basic unit tests to verify that Iperf/Ping work. Harmonize the logging by only print in the "main" iperf/ping function, to avoid that if we test with multiple UEs, the output intermixes. Also, do one common mkdir before starting multiple pings/iperfs. Finally, harmonize the paths so that Iperf and Ping log their files in the same place.
-
- 27 Sep, 2024 7 commits
-
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
- 26 Sep, 2024 6 commits
-
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
- 24 Sep, 2024 1 commit
-
-
Robert Schmidt authored
Integration: `2024.w38b` Closes #839 See merge request oai/openairinterface5g!2977 * !2704 nr pdcp: add support for nea1 * !2800 UE improvements * !2920 Receive SIB19 on nrUE * !2975 Remove hardcoding of CPU measurements (respect option `-q`) * !2976 Update latest SIMDE version * !2957 T: increase max number of args * !2916 NR UE PUSCH resource mapping optimization * !2787 CI: increase max number of concurrent workers to 64 * !2974 fhi_72: allow to provide dpdk_mem_size to xran * !2964 CI: Replacing the UE on Aerial setup * !2973 CI: remove unused code and files
-
- 23 Sep, 2024 4 commits
-
-
Jaroslava Fiedlerova authored
-
Jaroslava Fiedlerova authored
-
Jaroslava Fiedlerova authored
-
Jaroslava Fiedlerova authored
-