... | ... | @@ -45,6 +45,7 @@ |
|
|
15. [Reboot_UE class](#515-reboot_ue-class)
|
|
|
16. [Ping class](#516-ping-class)
|
|
|
17. [Iperf class](#517-iperf-class)
|
|
|
6. [Lockable Resources](#6-lockable-resources)
|
|
|
|
|
|
# 1. Introduction #
|
|
|
|
... | ... | @@ -72,6 +73,7 @@ At time of writing, the eNB-CI slave jobs hosted at Eurecom are using the follow |
|
|
- **EPC_SourceCodePath** : a string that provides the working path where to clone the eNB repository.
|
|
|
- **EPC_Type** : a string that provides the kind of EPC we will use. Currently only 2 values are accepted (OAI or ltebox).
|
|
|
- **pythonTestXmlFile** : a string that provides the XML file to use for testing. It should be also under SCM (git).
|
|
|
- **smartphonesResource** : a string that provides the lockable smartphone resource. It is important since the smartphones could be shared by several slave jobs. See the [Lockable Resource section](#6-lockable-resources).
|
|
|
|
|
|
The following 2 are optional:
|
|
|
|
... | ... | @@ -594,3 +596,19 @@ The **`iperf_profile`** tag provides a profile on bandwidth requirement per UE d |
|
|
- Start iperf client on the opposite side of iperf server
|
|
|
- Analyze report and display statistics
|
|
|
- If the packet loss is superior to the specified threshold, the test-case is deemed a failure
|
|
|
|
|
|
# 6. Lockable Resources #
|
|
|
|
|
|
This plugin allows to lock resources that can be shared amongst several Jenkins jobs.
|
|
|
|
|
|
First we need to declare at least one for the smartphones:
|
|
|
|
|
|
* In your Jenkins dashboard, click on **Manage Jenkins** from the left navigation.
|
|
|
* You need to be an administrator on the Jenkins service (currently only Lionel Gauthier and Raphael Defosseux are).
|
|
|
* Click on **Configure System** and search for the **Lockable Resources Manager**.
|
|
|
* Click on **Add Lockable Resource** button. A Resource widget should appear
|
|
|
* In the *Name* field, add something like *CI-Bench-1-Phones*
|
|
|
* In the *Description* field, add something like *Phones installed in the OAI CI bench #1 in Eurecom*
|
|
|
* In the *Labels* field, add something like *CI_Bench_1_Phones*
|
|
|
* Save the configuration
|
|
|
* The name is what should be used as parameter of the slave job: **smartphonesResource** |