Following are the steps to create user defined test cases:
1 Login to EBF-TAS dashboard through web browser with your credentials.
2 Go to Lava-> Tests -> Create -> Test Case.
3 Create Test Case page will appear on the screen.
Fill the necessary fields
After Creating Test case, click on Save button.
For Reference, Here is a Sample Shell Script that works:
#!/bin/sh
CPU=$1
if [ -z "$CPU" ]; then
CPU=0
fi
CPUFREQDIR=/sys/bus/cpu/devices/cpu$CPU/cpufreq/
if ! [ -d "$CPUFREQDIR" ]; then
echo "CPU Frequency Scaling is not available for this processor!"
exit 1
fi
MINFREQ=$(cat ${CPUFREQDIR}/cpuinfo_min_freq)
MAXFREQ=$(cat ${CPUFREQDIR}/cpuinfo_max_freq)
GOVERNERS=$(cat ${CPUFREQDIR}/scaling_available_governors)
FREQUENCIES=$(cat ${CPUFREQDIR}/scaling_available_frequencies)
CURGOVFILE=${CPUFREQDIR}/scaling_governor
CURFREQFILE=${CPUFREQDIR}/scaling_cur_freq
SETFREQFILE=${CPUFREQDIR}/scaling_setspeed
TESTFILE=/tmp/testfile.dat
TESTFILESIZE=16
dd if=/dev/urandom of=$TESTFILE bs=1M count=$TESTFILESIZE > /dev/null 2>&1
echo "Testing CPU Frequency on CPU$CPU"
echo " Available Governers: $GOVERNERS"
echo " Available Frequencies: $FREQUENCIES"
echo ""
# Test manual frequency setting (if supported)
if [[ "$(cat $SETFREQFILE)" != "<unsupported>" ]]; then
echo "Manual Set Speed Tests"
echo "======================"
for freq in $FREQUENCIES; do
echo $freq > $SEThttp://dpal5.timesys.com/files//images/FREQFILE
if [[ "$(cat $CURFREQFILE)" != "$freq" ]]; then
echo "Set frequency to $freq failed"
continue
fi
echo "Running at $freq Hz"
time md5sum $TESTFILE
done
else
echo "Skipping Manual Set Speed Tests (unsupported feature)"
fi
echo ""
echo "Governer Tests"
echo "=============="
for gov in $GOVERNERS; do
echo $gov > $CURGOVFILE
if [[ "$(cat $CURGOVFILE)" != "$gov" ]]; then
echo "Set Governer to $gov failed"
continue
fi
echo "Governer: $gov"
sleep 2 # Give system some time to adjust to new governer
echo " Unloaded speed: $(cat $CURFREQFILE)"
(time md5sum $TESTFILE > /dev/null) &> /tmp/testspeed.txt
echo " Loaded speed: $(cat $CURFREQFILE)"
cat /tmp/testspeed.txt
rm /tmp/testspeed.txt
echo ""
done
rm $TESTFILE
Following are the steps to Create a copy of an existing User defined test case:
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Go to Lava -> Select view -> Test Case option from ‘Tests’ drop down list as shown:
3 View Test Case page will appear on the screen.
4 User can create a duplicate copy of any existing test case by clicking on ‘Copy As’ action.
5 Input the name of the Test Case of your choice on the pop up window. And click on ‘Save’ button.
6 The newly copied Test Case is generated and saved with a new name.
Following are the steps to Create User defined test plan:
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Go to Lava-> Select Create -> Test Plan option from ‘Tests’ drop down list as shown:
3 Create Test Plan page will appear on the screen.
4 Fill the necessary fields:
OR Chose option NO to view other Tests.
Edit the Arguments (optional) of any Test Suite.
5 After selecting desired packages and arguments, click on ‘Save’ button.
6 Newly created test plan name will be listed on the screen, as highlighted in image below:
7 User can create a duplicate copy of any existing test plan by clicking on ‘Copy As’ action.
8 User may delete Test Plan by clicking on ‘Delete’ action.
Following are the steps to Create a copy of an existing User defined test plan:
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Click on ‘Tests’ menu option, then on ‘View’, and then click on ‘Test Plan’.
3 User can create a duplicate copy of any existing test plan by clicking on ‘Copy As’ action.
4 Input the name of the Test Plan of your choice on the pop up window. And click on ‘Save’ button.
5 The newly copied Test Plan is generated and saved with a new name.
Following are the steps to view user defined tests
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Select View -> Test Case option from ‘Tests’ drop down list as shown:
3 View Test Case page will appear on the screen.
4 Select Download checkbox corresponding to the test that you want to download. Then click on “Download” button as shown in image.
5 The user can edit the test case by clicking on the test case name available on the screen.
6 After selecting the test case, user is directed to Edit Test Case page. Edit the test case details and click on Update button.
7 The test case is updated with the provided details.
Following are the steps to view user defined tests
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Go to Lava -> Select View -> Test Suite option from ‘Tests’ Drop down.
3 Test Suites will be displayed on the screen.
4 Click on ‘Interactive’ Sub-suite name in the table to show Interactive Tests.
5 Click on ‘Non-Interactive’ Sub-suite name in the table to show Non-Interactive Tests.
6 Drill down of the selected Test Suite will show up on the screen.
Following are the steps to view list of all test plans:
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Go to lava -> Select View -> Test Plan option from ‘Tests’ drop down list as shown:
3 ‘View Test Plan’ page will be shown on the screen.
The Timesys Test Project (TTP) is a test suite maintained by Timesys for use in testing peripherals on devices undergoing BSP maintenance. It is provided alongside your BSP sources.
All sources for TTP are provided by the BSP’s build system and are not overlaid by the test harness. To configure TAS to use TTP you simply create a Test Plan that utilizes the Timesys Test Project “Test Suite” that is built into the EBF-TAS.
All customization of the Timesys Test Project is done so in the BSP build system, and thus you should refer to the documentation provided by the Timesys Test Project.
For documentation of the Timesys Test Project please refer to the README in the “timesys-test-project” repository supplied alongside your BSP sources.
If using Yocto Project please also refer to the “meta-timesys-test” meta-layer repository also provided in your BSP sources which provides TTP integration into Yocto.
If you find use of the Timesys Test Project confusing, or documentation supplied by the repositories lacking please reach out to: test@timesys.com
Following are the steps to submit tests:
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Go to lava-> Select ‘Job Submit’ from drop down.
3 The Job Submit page will appear on the screen. There are two different ways to submit the test Job.
1 Select Manual YAML submission option from Job Submit page.
SAMPLE YAML FILE: Following is the sample TestJob yaml
device_type: beaglebone-black
job_name: bbb-udt
timeouts:
job:
minutes: 600
action:
minutes: 599
priority: medium
visibility: public
actions:
- deploy:
dtb:
url: http://<url for device artifacts>/<path>/beaglebone_black.dtb
kernel:
type: uimage
url: http://<url for device artifacts>/<path>/uImage-4.4-ts-armv7l
nfsrootfs:
compression: gz
url: http://<url for device artifacts>/<path>rootfs.tar.gz
os: oe
to: tftp
- boot:
commands: nfs
method: u-boot
prompts:
- '# '
- test:
definitions:
- from: git
name: ts_clone_repo
path: clone_repo.yaml
repository: ssh://root@<EBF-TASIP>/data/timesys/timesys-test-definitions
- from: git
name: udt_clone_repo
path: clone_repo.yaml
repository: ssh://root@<EBF-TASIP>/data/timesys/user-defined-tests
- from: inline
name: test-job
path: inline/test-job.yaml
repository:
metadata:
format: Lava-Test Test Definition 1.0
name: test-job
run:
steps:
- source /home/env
- cat /home/env
- test_runner -s udt -c testing-a "0"
- test_runner -s udt -c testfile
timeout:
minutes: 600
notify:
criteria:
status: finished
callback:
url: http://127.0.0.1/tests/gen-report
method: POST
content-type: urlencoded
dataset: minimal
priority: medium
timeouts:
action:
minutes: 600
actions:
power-off:
seconds: 60
job:
minutes: 1800
visibility: public
Description
Device_type: It must have an entry in /data/timesys/device-types in form of {device-type}.jinja2
device_type: beaglebone-black
Kernel url: Url of “Kernel file” can be any url(either zImage,uImage or Image format) of the selected device accessible from Zombie machine.
Kernel:
url: http://<url for device artifacts>/<path>/uImage-4.4-ts-armv7l
For example:
url: http://192.168.12.105/lava/BBB/uImage-4.4-ts-armv7l
DTB url: Url of “DTB file” can be any url(dtb format) of the selected device accessible from Zombie machine.
dtb:
url: http://<url for device artifacts>/<path>/beaglebone_black.dtb
For example:
url: http://192.168.12.105/lava/BBB/beaglebone_black.dtb
Rootfs url: Url of “Rootfs url” can be any url (either gz,bz2 or xz format) for selected device accessible from Zombie worker.
Nfsrootfs:
url: http://<url for device artifacts>/<path>/rootfs.tar.gz
For example:
url: http://192.168.12.105/lava/BBB/rootfs.tar.gz
metadata: Metadata must contain format and name details:
repository:
Metadata:
format: Lava-Test Test Definition 1.0
name: test-job
repository: Location of test definitions repository needs to be provided along with EBF-TAS server url and username. This repository contains all the tests that run on DUT’s connected to zombies.
repository: ssh://root@<EBF-TASIP>/data/timesys/timesys-test-definitions
repository: ssh://root@<EBF-TASIP>/data/timesys/user-defined-tests
For example:
repository: ssh://root@192.168.12.81:/data/timesys/timesys-test-definitions
repository: ssh://root@192.168.12.81:/data/timesys/user-defined-tests*
Test Runner*:
One test case with command line argument
- test_runner -s udt -c testing -a "0"%
One test case with default argument
- test_runner -s udt -c testfile
Notify:
notify:
criteria:
status: finished
callback:
url: http://127.0.0.1/tests/gen-report
method: POST
content-type: urlencoded
dataset: minimal
1 Select ‘Job Submission Wizard’ option from Job Submit page.
Job: Basic Job Details page will appear on the screen. Provide Job name in job name section.
For example: bbb-udt
After providing name, Select ‘Test Plans’ that need to be run in this section.
All the available ‘Test Plans’ will be shown in the table.. After selecting desired ‘Test Plan(s)’, hit ‘Next’ button.
NOTE: Selecting Cancel button will cancel the Job Submission process and the user will be redirected to Job Submit page.
Tests to be Run: Select Test Plans that need to be run in this section.
Deployment Details: Provide Image Deployment details in this section. The following explain details for deploy section
OR
If the Test Plan consists of any Interactive Test, following screen will be shown.
If you want to run the tests over SSH connection, select the option from ‘Device Connection’ drop-down, input all the mandatory details and hit on ‘Save’ button.
2 On successful save, User will be redirected to Scheduler –> Saved Jobs page.
3 User can view YAML for the job by clicking on ‘View YAML’ icon present on the screen.
4 From this screen user can submit newly created test job by clicking on its “Run” action button.
5 After submitting the job, user can view the status of the test job. Select ‘All Jobs’ option from ‘LAVA’ drop down list.
6 The list of all jobs will appear on the screen. The status of each submitted test job is shown under the ‘Status’ column.
These tests should contain Interactive Tests. Also, these tests allow the user to choose whether he/she wants to reboot the device or not at the time of running the job.
1 Refer this link to create an Interactive Test Case.
2 Login to EBF-TAS dashboard through web browser with your credentials
3 Go to Lava -> Job_submit.
4 The Job Submit page will appear on the screen. Select ‘Job Submission Wizard’ option.
5 All the available ‘Test Plans’ will be shown in the table. After selecting desired ‘Test Plan(s)’, hit ‘Next’ button.
6 Hit Save Button to preserve Test job details.
7 On successful save, user will be redirected to the ‘Saved Jobs’ page. Newly created job will be listed on this page.
8 From this screen user can submit newly created test job by clicking on its “Run” action button.
Following are the steps to schedule a saved Test Job.
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Go to Lava -> Saved Jobs.
3 Click on ‘cron this job’ icon present in ‘Actions’ column of the target job.
4 On the popup, provide the schedule for job auto-submission and click on ‘Save’ button.
5 The updated schedule is shown in the ‘Re-submission Schedule’ column of the job.
Following are the steps to schedule a saved Test Job.
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Go to Lava -> Saved Jobs.
3 Click on ‘View YAML’ icon in the ‘Actions’ column of any saved job.
4 Selected job’s YAML will be shown on the screen.
E-mail configuration is optional.
1 To configure E-mail for Test Job, Refer Link
2 To enter email address of user, follow the given steps:
NOTE: The email is sent to each user added in ‘Job Settings’ page along with the user who Submitted the job.
Following are the steps to edit device dictionary for self assigned device.
1 Login to EBF server through web browser using user credentials.
2 Go to Devices -> All Devices.
3 All Devices page will appear on the screen. Select the device name(here bbb_demo is taken as reference) to view the device dictionary.
4 Assign a device to your self from the list of the devices.
5 Select device name assigned to your self.
6 On the next page, select Device Dictionary edit icon to edit Device dictionary of the selected device.
7 Edit Device Dictionary page of the selected device will be displayed on the screen.
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Click on the ‘Lava’ menu option and select ‘All Jobs’.
3 The list of all jobs will appear on the screen.
4 On the table shown on the screen, click on ‘View Job Details’ icon in the ‘Actions’ column of the target job.
5 Now click on the ‘Actions’ button on the page, and select option ‘Plain Log’.
Following are the steps to view test results:
1 Login to EBF-TAS dashboard through web browser with your credentials
2 There are two ways to views test results:
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Go to Scheduler -> Saved Jobs.
3 Here you will see the listing of all saved jobs.
4 Click on the Run button corresponding to the saved job you would like to submit again as shown below.
5 Upon hitting the run button you will be redirected to test job execution page.
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Go to Scheduler -> All Jobs
3 A list of All Jobs will appear on the screen. Select View Job details tag corresponding to Test Job id which users wants to re-execute.
4 The selected Test Job id displays the detail of the Job run.
5 Select ‘Resubmit’ button on the screen to resubmit the Test job.
6 On the next page, select ‘Submit’ button to submit the Test Job.
7 After selecting Submit button, the Test Job is submitted under Scheduler -> All Jobs
The user can update the existing Test Job if the included Test Plan is updated. If any Test Plan is updated, which is used in any Test Job, an ‘Update’ icon is visible in ‘Actions’ column of that Test Job (as shown in image below).
Go to Scheduler > Saved Jobs.
Click on the ‘Update’ icon. The Test Job will be updated and the ‘Update’ icon will be removed.
The user can cancel the submitted & running Test Job by selecting the Cancel Button available on the Job details page of Test Job selected.
Following are the steps to cancel a Test Job:
1 Login to the EBF-TAS dashboard through a web browser with your credentials.
2 Go to Lava -> All Jobs
3 A list of All Jobs will appear on the screen. Select ‘View Job details’ tag corresponding to ‘submitted’ or ‘running’ Test Job id which user wants to cancel.
4 The ‘Test Job details’ page will appear on the screen. Select the ‘Cancel’ button.
5 The selected Test Job is canceled from the submitted/running state with a confirming message on the screen.
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Select View -> Test Case option from ‘Tests’ drop down list as shown:
3 View Test Case page will appear on the screen.
4 Click on the ‘Delete’ button corresponding to the saved Test Case that you want to delete.
5 Confirmation message as shown below will pop up. Click on ‘OK’ button.
6 Page will refresh and you will no longer see the deleted Test Case.
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Go to Scheduler -> Saved Jobs.
3 Here you will the listing of all saved jobs.
4 Click on the ‘Delete’ button corresponding to the saved job that you want to delete.
5 Confirmation message as shown below will pop up. Click on ‘OK’ button.
6 Page will refresh and you will no longer see the removed saved job.
Introduction
Click on the link below to download Timesys-TAS-1.2.jar to generate Raw Data:
Install the jar package from the above link on local computer.
Following are the steps to install XML filter in LibreOffice Calc :
1 Open LibreOffice Calc on local computer, Select “XML Filter Settings..” from ‘Tools’ drop down list present on menu bar.
2 A popup window will appear on the screen, select “Open Package” from right side of XML Filter settings window.
3 Select package (Timesys-TAS-report.jar is taken as reference ) from /home/<user>/<location of jar package (Timesys-TAS-report.jar)> as shown below:
4 After clicking on open button, XML filter will be installed in Libreoffice calc with a confirmation message.
Following are the steps to download RAW XML:
1 Login to EBF-TAS through web browser using user web credentials.
2 There are two ways to download RAW XML.
After downloading <TestJob>_Raw_Data.xml file, open <TestJob>_Raw_Data.xml in Libreoffice.
Following are the steps to Import XML file in LibreOffice Calc:
1 Go to ‘File’ menu and click on Open button.
2 Select File Type as ‘Timesys-TAS report’ and select <TestJob>_RawData.xml file to open as shown below:
3 The Raw format file will import in Libreoffice Calc in Timesys Report Format as shown below.
Following are the steps to download XLSX
1 Login to EBF-TAS through web browser using user web credentials.
2 There are two ways to download XLSX.
After downloading <TestJob>_Test_Report.xlsx file, open <TestJob>_Test_Report.xlsx in Libreoffice.Following are the steps to view downloaded Test Report file in LibreOffice Calc:
1 Go to ‘File’ menu and click on Open button.
2 Select downloaded <TestJob>_Test_Report.xlsx.
3 The Test Report in xlsx is displayed on the LIbreOffice Calc.
Following are the steps for generating Result Comparison Report.
1 Login to EBF-TAS through web browser using user web credentials.
2 There are two ways to generate this report.
To view the Test Job definition, follow the given steps:
The user can cancel the submitted & running Test Job by selecting ‘Cancel’ Button available on the Job details page of the selected Test Job.
Following are the steps to Resubmit Test Job:
1 Login to EBF-TAS dashboard through a web browser with your credentials.
2 Go to Scheduler -> All Jobs.
3 A list of All Jobs will appear on the screen. Select ‘View Job details’ tag corresponding to any Test Job ID.
4 On the Job details page, select the ‘Definition’ button.
5 On the next page, Test Job definition will appear on the screen.
You can write and submit a test job that will reboot the DUT several times and execute the tests.
For Example: You want to execute some tests then reboot the DUT and after rebooting you want to execute some different tests, you can do that using multiple reboot feature.
Please follow the below steps for submitting a multiple reboots test job.
1 Go to LAVA-> Job Submit -> Manual YAML Submission, user will see the manual test job submission page.
By clicking on Sample Test Definition you can see the multiple reboots sample test job.
2 Here, you can write a test-job in which two separate test-job will execute in a separate namespace as shown in sample example.
To Execute Test Job on Pseudo/Docker device you need to add Pseudo device to your EBF. In order to add Pseudo device please refer to How to Add Pseudo Device Tutorial.
You can write and submit a test job that will execute a test job on pseudo/docker device.
Please follow the below steps for submitting a test job on Pseudo/Docker device.
1 Go to * Lava -> Submit Jobs -> Manual YAML Submission*, user will see the manual test job submission page.
By clicking on Sample Test Definition you can see the ‘Use of Pseudo Device (docker)’ yaml script.
2 Here, you can write a test-job where boot method given as docker will execute test on docker device as shown in sample example.
You can write and submit a test job that will execute test jobs on more than one devices in parallel at the same time, for example we considered two devices.
Please follow the below steps for submitting a multiple Node test job.
1 Go to LAVA-> SubmitJob -> Manual YAML Submission, user will see the manual test job submission page.
By clicking on Sample Test Definition you can see the multiple reboots sample test job.
2 Here, you can write a test-job in which two separate test-job will execute in a separate namespace as shown in sample example.
The boot parameters are selected for booting the device as per the order described below:
Device Dictionary: The boot parameters provided in device dictionary for booting the device are of highest precedence.For example, if the bootloader prompt is defined in Device dictionary, then the device tries to boot from the defined value of bootloader prompt in device dictionary.
{% set bootloader_prompt = '=>' %}
Device Type: If the bootloader prompt parameter provided in device dictionary doesn’t boot the device or if the parameter is not defined in device dictionary of the device then the value for the bootloader prompt mentioned in device type of the device boots the device.
{% set bootloader_prompt = bootloader_prompt|default('U-Boot') %}
base-uboot.jinja2: If the device doesn’t boot from the defined value of bootloader prompt in device dictionary and device type then the device takes the value of bootloader prompt from base-uboot.jinja2 file and tries to boot the device.
bootloader_prompt: {{ bootloader_prompt|default('=>') }}
base.jinja2: The boot parameters defined in base.jinja2 are of the lowest precedence. If the device is not booted from the above three values, then device tries to boot from the value of the bootloader prompt provided in base.jinja2 file.
{% set base_menu_bootloader_prompt = 'Start:' -%}
In this example, we create two Jenkins jobs one for flashing an image to a sdcard or any partition of sdcard and the second one for Submitting a user-defined test Job to that SDcard.
In order to SDCard Image Flashing Job your machines need to be installed EBF-CLI.
Following are the steps to install setup EBF-CLI on your local Machine:
$ sudo apt-get install jq curl sshpass (for Debian/Ubuntu)
$ sudo dnf install jq curl sshpass (for Rocky Linux)
$ sudo cp {downloaded EBF-CLI path} /usr/local/bin/ebf
$ sudo chmod a+x /usr/local/bin/ebf
$ ebf login
In order to login into EBF-CLI provide these following details.
EBF Server URL = http(s)://<EBF Server IP>
Username = <username>
Password = <password>
$ ebf list config
For creating a sdcard image flashing job please follow the below steps.
1 Go to Jenkins->new item, and provide the item name (CI Job Name). e.g. SDCard_Image_Flashing_Job in our case
2 Select Freestyle project and then click on ok to create a job.
3 Click on the project you just have created and click on configure to configure the job. It has mainly five sections we have to configure to execute a job.
i General:- In this, we have to check the project name should be the same as provided.
ii Source Code Management:- In this section select the none option.
iii Build Triggers:- in this section, you have to give when your job will execute. You can configure it to the nightly build, weekly, hourly etc. as per your requirement,
In this example, we configured the job to build every hour. You can Click on question mark link“?” highlighted in the above diagram to learn more about it.
iv Build:- In the build section we have to provide the build steps, it has various options like we can add batch command, ant scripts, use the shell to provide commands etc. Select execute shell option and provide the following commands in the text area.
DEVICE_NAME=<Device Name>
IMAGE_NAME=<Image Name>
PARTITION= <sdcard/partition>
TOOL=<Flashing Tool>
e.g. ebf $DEVICE_NAME sdcard flash server -f $IMAGE_NAME -p $PARTITION -t $TOOL -r on
v Post-build action:- In this section you can manage the post-build actions like archives build artifacts, Build other projects etc.
In our case, we used Build other projects and provided the test job name that will trigger a job on newly flashed sdcard.
4 After providing all the details click on Save button to save the job configuration.
5 If you want to trigger build immediately then click on build now option.
For creating a sdcard test submitter job please follow the below steps
1 Go to Jenkins->new item, and provide the item name (CI Job Name). e.g. SDCard_Test_Submitter_Job in our case
2 Select Freestyle project and then click on ok to create a job.
3 Click on the project you just have created and click on configure to configure the job. In this, we have to configure mainly four sections to execute a job.
i General:- In this, we have to check the project name should be the same as provided.
ii Source Code Management:- In this section select the none option.
iii Build Triggers:- in this section, you have to give when your job will execute. You can configure it to the nightly build, weekly, hourly etc. as per your requirement,
In this example, we configured the job to build every hour. You can Click on question mark link“?” highlighted in the above diagram to learn more about it.
iv Build:- In the build section we have to provide the build steps, it has various options like we can add batch command, ant scripts, use the shell to provide commands etc. Select execute shell option and provide the following commands in the text area.
EBF_TAS_IP=<Device IP>
USER=<EBF-TAS USer>
TEST_YAML=<PATH OF Yaml file on system where Jenkins is installed>
TOKEN=<Authentication Token of EBF-TAS for password less job submission>
ts-lava-submit.py -s $EBF_TAS_IP -u $USER -t $TEST_YAML -a $TOKEN
4 After providing all the details click on Save button to save the job configuration.
5 If you want to trigger build immediately then click on build now option.
Prerequisite: Device shall already be added in the EBF. Follow these steps to add a device in EBF
Follow the steps below to run a Package Test.
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Go to Lava -> Job Submit.
For example: RunYoctoPackageTest
3 On successful save, new test job will be visible on ‘Saved Jobs’ page.
4 From this screen, click “Run” action button to submit the test job.
5 Job will be submitted to EBF for execution.
Follow the steps below to run a Package Test.
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Go to Lava -> Job Submit.
For example: RunYoctoPackageTest
NOTE: This test Plan will run all Yocto Ptest tests that are available on device’s image(BSP).
3 On successful save, new test job will be visible on ‘Saved Jobs’ page.
4 From this screen, click “Run” action button to submit the test job.
5 On the job details page shown on screen, click on ‘Resubmit’ button.
6 In the shown job YAML, edit the package list following “-b” keyword in the test_runner argument to include or exclude any packages in the test plan. The package names can be entered in comma separated format as shown in the image below:
7 Click on ‘Submit’ button to submit the job.
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Go to lava -> Select View -> Test Case option from ‘Tests’ drop down list as shown:
3 View Test Case page will appear on the screen.
4 Make a duplicate copy of the TestCase ‘Template-Lmbench-Test’.
5 Enter the name of the new Test Case and hit ‘Save’ button.
6 New Test Case will be shown on the screen.
7 Now select Create -> Test Plan option from ‘Tests’ drop down list as shown:
8 Create Test Plan page will appear on the screen.
9 Fill the necessary fields:
10 Newly created test plan name will be listed on the screen, as highlighted in image below:
11 Now go to the ‘Job Submit’ page under ‘Lava’ menu option.
12 The Job Submit page will appear on the screen. Select ‘Job Submission Wizard’ option from Job Submit page.
13 Here, provide Job name and select the TestPlan. Then click on ‘Next’ Button.
14 Provide all the deployment details on this page and click on ‘Save’ button.
15 On successful save, newly created job will be shown on the ‘Saved Jobs’ page.
16 From this screen user can submit newly created test job by clicking on its “Run” action button.
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Go to Lava -> Select View -> Test Case option from ‘Tests’ drop down list as shown:
3 View Test Case page will appear on the screen.
4 Make a duplicate copy of the TestCase ‘Template-Crashme-Test’.
5 Enter the name of the new Test Case and hit ‘Save’ button.
6 New Test Case will be shown on the screen.
7 Go to Lava -> Now select Create -> Test Plan option from ‘Tests’ drop down list as shown:
8 Create Test Plan page will appear on the screen.
9 Fill the necessary fields:
10 Newly created test plan name will be listed on the screen, as highlighted in image below:
11 Now go to the ‘Job Submit’ page under ‘Lava’ menu option.
12 The Job Submit page will appear on the screen. Select ‘Job Submission Wizard’ option from Job Submit page.
13 Here, provide Job name and select the TestPlan. Then click on ‘Next’ Button.
14 Provide all the deployment details on this page and click on ‘Save’ button.
15 On successful save, newly created job will be shown on the ‘Saved Jobs’ page.
16 From this screen user can submit newly created test job by clicking on its “Run” action button.
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Select View -> Test Case option from ‘Tests’ drop down list as shown:
3 View Test Case page will appear on the screen.
4 Make a duplicate copy of the TestCase ‘Template-Bonnie-Test’.
5 Enter the name of the new Test Case and hit ‘Save’ button.
6 New Test Case will be shown on the screen.
7 Now select Create -> Test Plan option from ‘Tests’ drop down list as shown:
8 Create Test Plan page will appear on the screen.
9 Fill the necessary fields:
10 Newly created test plan name will be listed on the screen, as highlighted in image below:
11 Now go to the ‘Job Submit’ page under ‘Scheduler’ menu option.
12 The Job Submit page will appear on the screen. Select ‘Job Submission Wizard’ option from Job Submit page.
13 Here, provide Job name and select the TestPlan. Then click on ‘Next’ Button.
14 Provide all the deployment details on this page and click on ‘Save’ button.
15 On successful save, newly created job will be shown on the ‘Saved Jobs’ page.
16 From this screen user can submit newly created test job by clicking on its “Run” action button.
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Select View -> Test Case option from ‘Tests’ drop down list as shown:
3 View Test Case page will appear on the screen.
4 Make a duplicate copy of the TestCase ‘Template-LTP-Test’.
5 Enter the name of the new Test Case and hit ‘Save’ button.
6 New Test Case will be shown on the screen.
7 Now select Create -> Test Plan option from ‘Tests’ drop down list as shown:
8 Create Test Plan page will appear on the screen.
9 Fill the necessary fields:
10 Newly created test plan name will be listed on the screen, as highlighted in image below:
11 Now go to the ‘Job Submit’ page under ‘Scheduler’ menu option.
12 The Job Submit page will appear on the screen. Select ‘Job Submission Wizard’ option from Job Submit page.
13 Here, provide Job name and select the TestPlan. Then click on ‘Next’ Button.
14 Provide all the deployment details on this page and click on ‘Save’ button.
15 On successful save, newly created job will be shown on the ‘Saved Jobs’ page.
16 From this screen user can submit newly created test job by clicking on its “Run” action button.
1 Login to EBF-TAS dashboard through web browser with your credentials
2 Select View -> Test Case option from ‘Tests’ drop down list as shown:
3 View Test Case page will appear on the screen.
4 Make a duplicate copy of the TestCase ‘Template-IPerf-Test’.
5 Enter the name of the new Test Case and hit ‘Save’ button.
6 New Test Case will be shown on the screen.
7 Now select Create -> Test Plan option from ‘Tests’ drop down list as shown:
8 Create Test Plan page will appear on the screen.
9 Fill the necessary fields:
10 Newly created test plan name will be listed on the screen, as highlighted in image below:
11 Now go to the ‘Job Submit’ page under ‘Scheduler’ menu option.
12 The Job Submit page will appear on the screen. Select ‘Job Submission Wizard’ option from Job Submit page.
13 Here, provide Job name and select the TestPlan. Then click on ‘Next’ Button.
14 Provide all the deployment details on this page and click on ‘Save’ button.
15 On successful save, newly created job will be shown on the ‘Saved Jobs’ page.
16 From this screen user can submit newly created test job by clicking on its “Run” action button