SlideShare a Scribd company logo
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
September 8, 2016
AGL Member Meeting FALL
NuoHan Qiao
Fujitsu TEN
The Future of AGL-JTA
the CIAT tool for AGL
1
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
Self Introduction
2
 NuoHan Qiao (qiaonuohan@cn.fujitsu.com)
 Linux Software Engineer (2010 ~ )
 AGL FTE (2015~ )
 engaging on CIAT for AGL
 especially AGL-JTA
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
Agenda
3
WHAT is CIAT
WHY use AGL-JTA
HOW to use AGL-JTA
Future Work
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
WHAT is CIAT
4
Continuous Integration and Automated Test
 https://wiki.automotivelinux.org/eg-ciat#explanation_of_ciat
 https://lists.linuxfoundation.org/pipermail/automotive-
discussions/2015-July/000591.html
CIAT is supposed to include:
 CI pipeline which executes tests on user's demand or triggered
automatically
 collection of source code from upstream
 automated instructions for building/deploying built distro
 ability to include binary artifacts
 automated test pipeline which executes sets of tests
 publishing of built distro/component and test results/logs
 mechanism for formal code review prior to merging of changes
 demonstration of license compliance
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
WHY use AGL-JTA
5
based on Fuego
 formerly called JTA
 official automated test framwork for LTSI project
 A host/target script engine and a jenkins front-end
advantages
 lots of plugins to extend features
 highly customizable
 flexible test configuration
 running tests in batches
 not imposing any demands on boards or distributions
 easy yet flexible board setup
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
WHY use AGL-JTA
6
check AGL CIAT’s goals
CIAT’s goals AGL-JTA’s feature
flexible trigger
build triggers
(like gerrit, cron job)
collection of source code
Source Code Management
(SCM, like git)
instructions for
building/deploying
host/target script engine
include binary artifacts host/target script engine
executing sets of tests job trigger of jenkins
publishing of
distro and test results
plugins of jenkins,
or use SCM to upload distro/result
code review (offered by gerrit)
demonstration of
license compliance
(offered by gerrit)
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA
7
simple test
 simply execute test on target board
CIAT
share test result
 upload CIAT’s test result to public server
display test result
 display shared test result
 easy to read
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA – simple test
8
simple test
 jenkins will call script engine first, then gather test result/log
from script engine
 script engine will do the work
• cross-compile testsuite for target board
• load testsuite to target board then execute
• gather test logs
jenkins
(frontend)
script engine
(backend)
execute test script run test on board
return result return logs
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA – simple test
9
have a glance – homepage
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA – simple test
10
have a glance – execute tests
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA – simple test
11
have a glance – execute tests
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA – CIAT
12
role in AGL’s CIAT
 for Automated Test mainly
 also involves building/deploying images
two instances
 private server – inhouse CIAT (mid-term test)
 public server – https://jta.automotivelinux.org/
work flow
 trigger
 collect source code
 build/deploy distro to target board
 execute tests on target board
 publish test result
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA – CIAT
13
AGL-JTA server
1. time trigger
2. collect source code
CIAT.inhouse_mid
CIAT.inhouse_deploy
CIAT.batch_test
3. build & deploy distro
4. execute sets of tests,
like Benchmark.bc,
Functional.zlib
CIAT.upload 5. publish test result
private server – inhouse CIAT
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA – CIAT
14
private server
 hardware setting
hub
porter board
AGL-JTA
compile
server
TFTP/NBD
server
Internet
(AGL gerrit)
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA – CIAT
15
AGL-JTA server
1. jenkins
trigger
2 & 3. call lava to deploy
image
CIAT. mid
CIAT.lava_deploy
CIAT.batch_test
4. execute sets of tests,
like Benchmark.bc,
Functional.zlib
CIAT.upload 5. publish test result
CIAT.lava_done 6. stop the deployment in
lava
public server
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA – CIAT
16
public server
 lava deploy
CIAT.lava_deploy
CIAT.lava_done
download image from
snapshot server
power up porter board
set uboot env to boot
porter board with
downloaded image
test &
upload result
shutdown porter board
AGL-JTA lava
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA – share test result
17
inhouse test as a supplement
after community’s test, extra test of inhouse
server will be executed
community’s
AGL-JTA
xxx’s
AGL-JTA
FTEN’s
AGL-JTA
public
git repo
AGL-JTA for
displaying
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA – share test result
18
CIAT.upload
 one part of CIAT (publishing test result)
 called by CIAT.mid, CIAT.inhouse_mid
 test summary, test info, manifest, detailed results
public git repo for test result
 git:
https://gerrit.automotivelinux.org/gerrit/gitweb?p=staging/a
gl-jta-results.git;a=summary
 branch for each snapshot
 1st-level directories are for company & target board
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA – share test result
19
git layout example
# git branch -a
remotes/origin/2016-08-17-b350
remotes/origin/2016-08-18-b351
remotes/origin/2016-08-19-b352
remotes/origin/2016-08-24-b357
remotes/origin/master
# git checkout -b 2016-08-18-b351 origin/2016-08-18-b351
# ls
agl fnst.porter
# ls -R agl
agl:
detailed_results info manifest.xml result
agl/detailed_results:
Benchmark.IOzone.xml CIAT.porter1.xml
# ls -R fnst.porter
fnst.porter:
detailed_results info manifest.xml result
fnst.porter/detailed_results:
CIAT.porter1.xml test.porter1.xml
branch is related to
snapshot version
1st-level directories
are related to company
& target board
under company.target
directories are test
result, test info,
manifest and detailed
results
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA – display test result
20
make shared test result easy to read and compare
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA – display test result
21
make shared test result easy to read and compare
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA – display test result
22
make shared test result easy to read and compare
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA
23
simple test
 REAME
 docs/jta-docs.pdf
 docs/How-to-Add-Test-Cases-on-JTA
CIAT
 docs/How-to-Configure-CIAT-on-AGL-JTA.pdf
AGL’s test framework
 combination of AGL-JTA and LAVA
 https://wiki.automotivelinux.org/agl-testframework
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
Future Work
24
board supporting
 current
• porter, MinnowBoard, Dragon board(underway)
 future work
• improving deployment
• parallelize the test
trigger
 current
• gerrit trigger
• time trigger
• manual trigger
 future work
• for short/mid/long term
• for different types of changes uploaded to gerrit
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
Future Work
25
test cases
 define tests for short/mid/long term tests
 short -> change/commit
 mid -> snapshot
 long -> release
display
 current
• CIAT.display for displaying
 future work
• UI, daily mail for test report?
• similar to meta-isafw report, same solution?
cooperate with fuego
 fix gap between fuego and share features and test cases
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
Future Work
26
Try AGL-JTA
 try to setup an instance, use CIAT.inhouse_mid to do inhouse
test for snapshot
share test
 add tests to AGL-JTA
 test extra cases and share the test result
participate in improving AGL-JTA and AGL’s CIAT
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. 27
Thank you!
qiaonuohan@cn.fujitsu.com

More Related Content

Viewers also liked

2 кл
2 кл2 кл
Minecraft
MinecraftMinecraft
Creating Spaces for Change
Creating Spaces for ChangeCreating Spaces for Change
Creating Spaces for Change
Natalie Aflalo
 
Cyber security
Cyber securityCyber security
Cyber security
Sajid Hasan
 
Budget Presentation for Budget Managers
Budget Presentation for Budget Managers Budget Presentation for Budget Managers
Budget Presentation for Budget Managers
Diana Antezana
 

Viewers also liked (7)

The Rag Doll
The Rag DollThe Rag Doll
The Rag Doll
 
2 кл
2 кл2 кл
2 кл
 
Minecraft
MinecraftMinecraft
Minecraft
 
Creating Spaces for Change
Creating Spaces for ChangeCreating Spaces for Change
Creating Spaces for Change
 
Cyber security
Cyber securityCyber security
Cyber security
 
AM14 Programme Brochure
AM14 Programme BrochureAM14 Programme Brochure
AM14 Programme Brochure
 
Budget Presentation for Budget Managers
Budget Presentation for Budget Managers Budget Presentation for Budget Managers
Budget Presentation for Budget Managers
 

Similar to AMM_The Future of AGL-JTA

ITT 2015 - Kirk Pepperdine - The (not so) Dark Art of Performance Tuning, fro...
ITT 2015 - Kirk Pepperdine - The (not so) Dark Art of Performance Tuning, fro...ITT 2015 - Kirk Pepperdine - The (not so) Dark Art of Performance Tuning, fro...
ITT 2015 - Kirk Pepperdine - The (not so) Dark Art of Performance Tuning, fro...
Istanbul Tech Talks
 
IVI Essential Requirements:BSP and Hardware.
IVI Essential Requirements:BSP and Hardware.IVI Essential Requirements:BSP and Hardware.
IVI Essential Requirements:BSP and Hardware.
Yuichi Kusakabe
 
Engin object presentation 2000
Engin object presentation 2000Engin object presentation 2000
Engin object presentation 2000
Mal Moran
 
How To Use Linux CAN Signal To AGL
How To Use Linux CAN Signal To AGLHow To Use Linux CAN Signal To AGL
How To Use Linux CAN Signal To AGL
Yuichi Kusakabe
 
Reducing boot time in embedded Linux
Reducing boot time in embedded LinuxReducing boot time in embedded Linux
Reducing boot time in embedded Linux
Chris Simmonds
 
Automated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStack
Automated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStackAutomated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStack
Automated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStack
NTT Communications Technology Development
 
How To Use AGL CAN Signal
How To Use AGL CAN SignalHow To Use AGL CAN Signal
How To Use AGL CAN Signal
Yuichi Kusakabe
 
Java and Serverless - A Match Made In Heaven, Part 2
Java and Serverless - A Match Made In Heaven, Part 2Java and Serverless - A Match Made In Heaven, Part 2
Java and Serverless - A Match Made In Heaven, Part 2
Curity
 
Building Java in the Open - j.Day at OSCON 2019
Building Java in the Open - j.Day at OSCON 2019Building Java in the Open - j.Day at OSCON 2019
Building Java in the Open - j.Day at OSCON 2019
Arun Gupta
 
Approaching hyperconvergedopenstack
Approaching hyperconvergedopenstackApproaching hyperconvergedopenstack
Approaching hyperconvergedopenstack
Ikuo Kumagai
 
Open stack nova reverse engineer
Open stack nova reverse engineerOpen stack nova reverse engineer
Open stack nova reverse engineer
Vietnam Open Infrastructure User Group
 
Improving User Experience with Ubiquitous QuickBoot
 Improving User Experience with Ubiquitous QuickBoot Improving User Experience with Ubiquitous QuickBoot
Improving User Experience with Ubiquitous QuickBoot
ICS
 
Huawei GGSN 9811 software management
Huawei GGSN 9811 software managementHuawei GGSN 9811 software management
Huawei GGSN 9811 software management
Mario Gordon
 
Simplifying Apache Geode with Spring Data
Simplifying Apache Geode with Spring DataSimplifying Apache Geode with Spring Data
Simplifying Apache Geode with Spring Data
VMware Tanzu
 
Fuel 9.0
Fuel 9.0 Fuel 9.0
Fuel 9.0
OpenStackRussia
 
Java Mission Control: Java Flight Recorder Deep Dive
Java Mission Control: Java Flight Recorder Deep DiveJava Mission Control: Java Flight Recorder Deep Dive
Java Mission Control: Java Flight Recorder Deep Dive
Marcus Hirt
 
OpenStack and z/VM – What is it and how do I get it?
OpenStack and z/VM – What is it and how do I get it?OpenStack and z/VM – What is it and how do I get it?
OpenStack and z/VM – What is it and how do I get it?
Anderson Bassani
 
QTP 10 00 Guide
QTP 10 00 GuideQTP 10 00 Guide
QTP 10 00 Guide
G.C Reddy
 
Streaming in grails
Streaming in grailsStreaming in grails
Streaming in grails
Sandeep Sankaye
 

Similar to AMM_The Future of AGL-JTA (20)

ITT 2015 - Kirk Pepperdine - The (not so) Dark Art of Performance Tuning, fro...
ITT 2015 - Kirk Pepperdine - The (not so) Dark Art of Performance Tuning, fro...ITT 2015 - Kirk Pepperdine - The (not so) Dark Art of Performance Tuning, fro...
ITT 2015 - Kirk Pepperdine - The (not so) Dark Art of Performance Tuning, fro...
 
IVI Essential Requirements:BSP and Hardware.
IVI Essential Requirements:BSP and Hardware.IVI Essential Requirements:BSP and Hardware.
IVI Essential Requirements:BSP and Hardware.
 
Engin object presentation 2000
Engin object presentation 2000Engin object presentation 2000
Engin object presentation 2000
 
How To Use Linux CAN Signal To AGL
How To Use Linux CAN Signal To AGLHow To Use Linux CAN Signal To AGL
How To Use Linux CAN Signal To AGL
 
Reducing boot time in embedded Linux
Reducing boot time in embedded LinuxReducing boot time in embedded Linux
Reducing boot time in embedded Linux
 
Automated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStack
Automated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStackAutomated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStack
Automated Deployment & Benchmarking with Chef, Cobbler and Rally for OpenStack
 
How To Use AGL CAN Signal
How To Use AGL CAN SignalHow To Use AGL CAN Signal
How To Use AGL CAN Signal
 
Java and Serverless - A Match Made In Heaven, Part 2
Java and Serverless - A Match Made In Heaven, Part 2Java and Serverless - A Match Made In Heaven, Part 2
Java and Serverless - A Match Made In Heaven, Part 2
 
Building Java in the Open - j.Day at OSCON 2019
Building Java in the Open - j.Day at OSCON 2019Building Java in the Open - j.Day at OSCON 2019
Building Java in the Open - j.Day at OSCON 2019
 
l011029
l011029l011029
l011029
 
Approaching hyperconvergedopenstack
Approaching hyperconvergedopenstackApproaching hyperconvergedopenstack
Approaching hyperconvergedopenstack
 
Open stack nova reverse engineer
Open stack nova reverse engineerOpen stack nova reverse engineer
Open stack nova reverse engineer
 
Improving User Experience with Ubiquitous QuickBoot
 Improving User Experience with Ubiquitous QuickBoot Improving User Experience with Ubiquitous QuickBoot
Improving User Experience with Ubiquitous QuickBoot
 
Huawei GGSN 9811 software management
Huawei GGSN 9811 software managementHuawei GGSN 9811 software management
Huawei GGSN 9811 software management
 
Simplifying Apache Geode with Spring Data
Simplifying Apache Geode with Spring DataSimplifying Apache Geode with Spring Data
Simplifying Apache Geode with Spring Data
 
Fuel 9.0
Fuel 9.0 Fuel 9.0
Fuel 9.0
 
Java Mission Control: Java Flight Recorder Deep Dive
Java Mission Control: Java Flight Recorder Deep DiveJava Mission Control: Java Flight Recorder Deep Dive
Java Mission Control: Java Flight Recorder Deep Dive
 
OpenStack and z/VM – What is it and how do I get it?
OpenStack and z/VM – What is it and how do I get it?OpenStack and z/VM – What is it and how do I get it?
OpenStack and z/VM – What is it and how do I get it?
 
QTP 10 00 Guide
QTP 10 00 GuideQTP 10 00 Guide
QTP 10 00 Guide
 
Streaming in grails
Streaming in grailsStreaming in grails
Streaming in grails
 

Recently uploaded

What Causes 'Trans Failsafe Prog' to Trigger in BMW X5
What Causes 'Trans Failsafe Prog' to Trigger in BMW X5What Causes 'Trans Failsafe Prog' to Trigger in BMW X5
What Causes 'Trans Failsafe Prog' to Trigger in BMW X5
European Service Center
 
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to TellWondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
Vic Auto Collision & Repair
 
Strategic Management - Strategies of Rolls Royce
Strategic Management - Strategies of Rolls RoyceStrategic Management - Strategies of Rolls Royce
Strategic Management - Strategies of Rolls Royce
SadmanFuad1
 
What Could Cause The Headlights On Your Porsche 911 To Stop Working
What Could Cause The Headlights On Your Porsche 911 To Stop WorkingWhat Could Cause The Headlights On Your Porsche 911 To Stop Working
What Could Cause The Headlights On Your Porsche 911 To Stop Working
Lancer Service
 
PARTS MANUAL tackeuschi TL150 BT7Z011-2.pdf
PARTS MANUAL tackeuschi TL150 BT7Z011-2.pdfPARTS MANUAL tackeuschi TL150 BT7Z011-2.pdf
PARTS MANUAL tackeuschi TL150 BT7Z011-2.pdf
eduarddorda1010
 
Antique Plastic Traders Company Profile
Antique Plastic Traders Company ProfileAntique Plastic Traders Company Profile
Antique Plastic Traders Company Profile
Antique Plastic Traders
 
Tyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEATTyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEAT
kshamashah95
 
Empowering Limpopo Entrepreneurs Consulting SMEs.pptx
Empowering Limpopo Entrepreneurs  Consulting SMEs.pptxEmpowering Limpopo Entrepreneurs  Consulting SMEs.pptx
Empowering Limpopo Entrepreneurs Consulting SMEs.pptx
Precious Mvulane CA (SA),RA
 
一比一原版(AIS毕业证)奥克兰商学院毕业证成绩单如何办理
一比一原版(AIS毕业证)奥克兰商学院毕业证成绩单如何办理一比一原版(AIS毕业证)奥克兰商学院毕业证成绩单如何办理
一比一原版(AIS毕业证)奥克兰商学院毕业证成绩单如何办理
eygkup
 
Skoda Octavia Rs for Sale Perth | Skoda Perth
Skoda Octavia Rs for Sale Perth | Skoda PerthSkoda Octavia Rs for Sale Perth | Skoda Perth
Skoda Octavia Rs for Sale Perth | Skoda Perth
Perth City Skoda
 
Digital Fleet Management - Why Your Business Need It?
Digital Fleet Management - Why Your Business Need It?Digital Fleet Management - Why Your Business Need It?
Digital Fleet Management - Why Your Business Need It?
jennifermiller8137
 
Regeneration of Diesel Particulate Filter in Automobile
Regeneration of Diesel Particulate Filter in AutomobileRegeneration of Diesel Particulate Filter in Automobile
Regeneration of Diesel Particulate Filter in Automobile
AtanuGhosh62
 
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
Bertini's German Motors
 
一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理
一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理
一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理
mymwpc
 
What do the symbols on vehicle dashboard mean?
What do the symbols on vehicle dashboard mean?What do the symbols on vehicle dashboard mean?
What do the symbols on vehicle dashboard mean?
Hyundai Motor Group
 
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
ahmedendrise81
 
One compartment Model Deliverdddddded.pdf
One compartment Model Deliverdddddded.pdfOne compartment Model Deliverdddddded.pdf
One compartment Model Deliverdddddded.pdf
RehanRustam2
 
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptxStatistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
coc7987515756
 
Things to remember while upgrading the brakes of your car
Things to remember while upgrading the brakes of your carThings to remember while upgrading the brakes of your car
Things to remember while upgrading the brakes of your car
jennifermiller8137
 
What Are The Immediate Steps To Take When The VW Temperature Light Starts Fla...
What Are The Immediate Steps To Take When The VW Temperature Light Starts Fla...What Are The Immediate Steps To Take When The VW Temperature Light Starts Fla...
What Are The Immediate Steps To Take When The VW Temperature Light Starts Fla...
Import Motorworks
 

Recently uploaded (20)

What Causes 'Trans Failsafe Prog' to Trigger in BMW X5
What Causes 'Trans Failsafe Prog' to Trigger in BMW X5What Causes 'Trans Failsafe Prog' to Trigger in BMW X5
What Causes 'Trans Failsafe Prog' to Trigger in BMW X5
 
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to TellWondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
 
Strategic Management - Strategies of Rolls Royce
Strategic Management - Strategies of Rolls RoyceStrategic Management - Strategies of Rolls Royce
Strategic Management - Strategies of Rolls Royce
 
What Could Cause The Headlights On Your Porsche 911 To Stop Working
What Could Cause The Headlights On Your Porsche 911 To Stop WorkingWhat Could Cause The Headlights On Your Porsche 911 To Stop Working
What Could Cause The Headlights On Your Porsche 911 To Stop Working
 
PARTS MANUAL tackeuschi TL150 BT7Z011-2.pdf
PARTS MANUAL tackeuschi TL150 BT7Z011-2.pdfPARTS MANUAL tackeuschi TL150 BT7Z011-2.pdf
PARTS MANUAL tackeuschi TL150 BT7Z011-2.pdf
 
Antique Plastic Traders Company Profile
Antique Plastic Traders Company ProfileAntique Plastic Traders Company Profile
Antique Plastic Traders Company Profile
 
Tyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEATTyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEAT
 
Empowering Limpopo Entrepreneurs Consulting SMEs.pptx
Empowering Limpopo Entrepreneurs  Consulting SMEs.pptxEmpowering Limpopo Entrepreneurs  Consulting SMEs.pptx
Empowering Limpopo Entrepreneurs Consulting SMEs.pptx
 
一比一原版(AIS毕业证)奥克兰商学院毕业证成绩单如何办理
一比一原版(AIS毕业证)奥克兰商学院毕业证成绩单如何办理一比一原版(AIS毕业证)奥克兰商学院毕业证成绩单如何办理
一比一原版(AIS毕业证)奥克兰商学院毕业证成绩单如何办理
 
Skoda Octavia Rs for Sale Perth | Skoda Perth
Skoda Octavia Rs for Sale Perth | Skoda PerthSkoda Octavia Rs for Sale Perth | Skoda Perth
Skoda Octavia Rs for Sale Perth | Skoda Perth
 
Digital Fleet Management - Why Your Business Need It?
Digital Fleet Management - Why Your Business Need It?Digital Fleet Management - Why Your Business Need It?
Digital Fleet Management - Why Your Business Need It?
 
Regeneration of Diesel Particulate Filter in Automobile
Regeneration of Diesel Particulate Filter in AutomobileRegeneration of Diesel Particulate Filter in Automobile
Regeneration of Diesel Particulate Filter in Automobile
 
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
 
一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理
一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理
一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理
 
What do the symbols on vehicle dashboard mean?
What do the symbols on vehicle dashboard mean?What do the symbols on vehicle dashboard mean?
What do the symbols on vehicle dashboard mean?
 
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
 
One compartment Model Deliverdddddded.pdf
One compartment Model Deliverdddddded.pdfOne compartment Model Deliverdddddded.pdf
One compartment Model Deliverdddddded.pdf
 
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptxStatistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
 
Things to remember while upgrading the brakes of your car
Things to remember while upgrading the brakes of your carThings to remember while upgrading the brakes of your car
Things to remember while upgrading the brakes of your car
 
What Are The Immediate Steps To Take When The VW Temperature Light Starts Fla...
What Are The Immediate Steps To Take When The VW Temperature Light Starts Fla...What Are The Immediate Steps To Take When The VW Temperature Light Starts Fla...
What Are The Immediate Steps To Take When The VW Temperature Light Starts Fla...
 

AMM_The Future of AGL-JTA

  • 1. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. September 8, 2016 AGL Member Meeting FALL NuoHan Qiao Fujitsu TEN The Future of AGL-JTA the CIAT tool for AGL 1
  • 2. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. Self Introduction 2  NuoHan Qiao (qiaonuohan@cn.fujitsu.com)  Linux Software Engineer (2010 ~ )  AGL FTE (2015~ )  engaging on CIAT for AGL  especially AGL-JTA
  • 3. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. Agenda 3 WHAT is CIAT WHY use AGL-JTA HOW to use AGL-JTA Future Work
  • 4. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. WHAT is CIAT 4 Continuous Integration and Automated Test  https://wiki.automotivelinux.org/eg-ciat#explanation_of_ciat  https://lists.linuxfoundation.org/pipermail/automotive- discussions/2015-July/000591.html CIAT is supposed to include:  CI pipeline which executes tests on user's demand or triggered automatically  collection of source code from upstream  automated instructions for building/deploying built distro  ability to include binary artifacts  automated test pipeline which executes sets of tests  publishing of built distro/component and test results/logs  mechanism for formal code review prior to merging of changes  demonstration of license compliance
  • 5. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. WHY use AGL-JTA 5 based on Fuego  formerly called JTA  official automated test framwork for LTSI project  A host/target script engine and a jenkins front-end advantages  lots of plugins to extend features  highly customizable  flexible test configuration  running tests in batches  not imposing any demands on boards or distributions  easy yet flexible board setup
  • 6. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. WHY use AGL-JTA 6 check AGL CIAT’s goals CIAT’s goals AGL-JTA’s feature flexible trigger build triggers (like gerrit, cron job) collection of source code Source Code Management (SCM, like git) instructions for building/deploying host/target script engine include binary artifacts host/target script engine executing sets of tests job trigger of jenkins publishing of distro and test results plugins of jenkins, or use SCM to upload distro/result code review (offered by gerrit) demonstration of license compliance (offered by gerrit)
  • 7. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA 7 simple test  simply execute test on target board CIAT share test result  upload CIAT’s test result to public server display test result  display shared test result  easy to read
  • 8. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA – simple test 8 simple test  jenkins will call script engine first, then gather test result/log from script engine  script engine will do the work • cross-compile testsuite for target board • load testsuite to target board then execute • gather test logs jenkins (frontend) script engine (backend) execute test script run test on board return result return logs
  • 9. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA – simple test 9 have a glance – homepage
  • 10. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA – simple test 10 have a glance – execute tests
  • 11. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA – simple test 11 have a glance – execute tests
  • 12. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA – CIAT 12 role in AGL’s CIAT  for Automated Test mainly  also involves building/deploying images two instances  private server – inhouse CIAT (mid-term test)  public server – https://jta.automotivelinux.org/ work flow  trigger  collect source code  build/deploy distro to target board  execute tests on target board  publish test result
  • 13. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA – CIAT 13 AGL-JTA server 1. time trigger 2. collect source code CIAT.inhouse_mid CIAT.inhouse_deploy CIAT.batch_test 3. build & deploy distro 4. execute sets of tests, like Benchmark.bc, Functional.zlib CIAT.upload 5. publish test result private server – inhouse CIAT
  • 14. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA – CIAT 14 private server  hardware setting hub porter board AGL-JTA compile server TFTP/NBD server Internet (AGL gerrit)
  • 15. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA – CIAT 15 AGL-JTA server 1. jenkins trigger 2 & 3. call lava to deploy image CIAT. mid CIAT.lava_deploy CIAT.batch_test 4. execute sets of tests, like Benchmark.bc, Functional.zlib CIAT.upload 5. publish test result CIAT.lava_done 6. stop the deployment in lava public server
  • 16. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA – CIAT 16 public server  lava deploy CIAT.lava_deploy CIAT.lava_done download image from snapshot server power up porter board set uboot env to boot porter board with downloaded image test & upload result shutdown porter board AGL-JTA lava
  • 17. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA – share test result 17 inhouse test as a supplement after community’s test, extra test of inhouse server will be executed community’s AGL-JTA xxx’s AGL-JTA FTEN’s AGL-JTA public git repo AGL-JTA for displaying
  • 18. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA – share test result 18 CIAT.upload  one part of CIAT (publishing test result)  called by CIAT.mid, CIAT.inhouse_mid  test summary, test info, manifest, detailed results public git repo for test result  git: https://gerrit.automotivelinux.org/gerrit/gitweb?p=staging/a gl-jta-results.git;a=summary  branch for each snapshot  1st-level directories are for company & target board
  • 19. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA – share test result 19 git layout example # git branch -a remotes/origin/2016-08-17-b350 remotes/origin/2016-08-18-b351 remotes/origin/2016-08-19-b352 remotes/origin/2016-08-24-b357 remotes/origin/master # git checkout -b 2016-08-18-b351 origin/2016-08-18-b351 # ls agl fnst.porter # ls -R agl agl: detailed_results info manifest.xml result agl/detailed_results: Benchmark.IOzone.xml CIAT.porter1.xml # ls -R fnst.porter fnst.porter: detailed_results info manifest.xml result fnst.porter/detailed_results: CIAT.porter1.xml test.porter1.xml branch is related to snapshot version 1st-level directories are related to company & target board under company.target directories are test result, test info, manifest and detailed results
  • 20. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA – display test result 20 make shared test result easy to read and compare
  • 21. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA – display test result 21 make shared test result easy to read and compare
  • 22. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA – display test result 22 make shared test result easy to read and compare
  • 23. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA 23 simple test  REAME  docs/jta-docs.pdf  docs/How-to-Add-Test-Cases-on-JTA CIAT  docs/How-to-Configure-CIAT-on-AGL-JTA.pdf AGL’s test framework  combination of AGL-JTA and LAVA  https://wiki.automotivelinux.org/agl-testframework
  • 24. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. Future Work 24 board supporting  current • porter, MinnowBoard, Dragon board(underway)  future work • improving deployment • parallelize the test trigger  current • gerrit trigger • time trigger • manual trigger  future work • for short/mid/long term • for different types of changes uploaded to gerrit
  • 25. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. Future Work 25 test cases  define tests for short/mid/long term tests  short -> change/commit  mid -> snapshot  long -> release display  current • CIAT.display for displaying  future work • UI, daily mail for test report? • similar to meta-isafw report, same solution? cooperate with fuego  fix gap between fuego and share features and test cases
  • 26. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. Future Work 26 Try AGL-JTA  try to setup an instance, use CIAT.inhouse_mid to do inhouse test for snapshot share test  add tests to AGL-JTA  test extra cases and share the test result participate in improving AGL-JTA and AGL’s CIAT
  • 27. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. 27 Thank you! qiaonuohan@cn.fujitsu.com