SlideShare a Scribd company logo
1 of 24
Download to read offline
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
July 13, 2016
Automotive Linux Summit 2016
NuoHan Qiao
Fujitsu TEN
AGL-JTA
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
by upstream changes 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
 publication 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
 A host/target script engine and a jenkins front-end
 official automated test framwork for LTSI project
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
match 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
publication 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
 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
8
have a glance – homepage
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA
9
have a glance – execute tests
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA
10
have a glance – execute tests
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA
11
role in AGL’s CIAT
 for Automated Test mainly
 also involves instructions for building/deploying
 public server is establishing
 private server
work flow
 triggered by gerrit
 collect source code from gerrit
 build/deploy distro to target board
 execute tests on board
 public test result
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA
12
AGL
gerrit
server
AGL-JTA
server
(CIAT.test)
1. gerrit trigger
AGL-JTA server
1. gerrit trigger
2. download source code
6. publish test result
CIAT.test
CIAT.build_test
CIAT.renesas_porter
3. build distro
4. deploy distro
5. execute sets of tests,
like Benchmark.bc,
Functional.zlib
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA
13
CIAT environment
 hardware setting
hub
target board
AGL-JTA
compile
server
TFTP/NFS
server
Internet
(AGL gerrit)
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA
14
CIAT environment
 hardware setting (for demo)
1. AGL-JTA
2. TFTP/NFS server
3. compile server
hub
Internet
porter
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA
15
CIAT environment
 start CIAT now (demo)
demo
build &
deploy
test
display
result
trigger
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA
16
more flexible way to share test result
 public git repo for storing test result
 AGL-JTA gather required test result and display
 still in progress
xxx company's
AGL-JTA
FTEN's
AGL-JTA
yyy company's
AGL-JTA
public
git repo
my
AGL-JTA
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA
17
more flexible way to share test result
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
HOW to use AGL-JTA
18
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
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
Future Work
19
board supporting
trigger
test cases
build/deploy
display
cooperate with fuego
...
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
Future Work
20
board supporting
 current
• CIAT for porter
• simple test for porter & MinnowBoard
 future work
• Dragon board
• more board?
trigger
 current
• gerrit trigger
 future work
• for different changes uploaded to gerrit
• cron trigger
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
Future Work
21
test cases
 current
• categorized test cases (common, renesas-porter)
 future work
• more test cases
• board-specified test cases for porter/minnowboar/dragon
$AGL-JTA-core/job_conf/common/Functional.LTP.Syscalls
$AGL-JTA-core/engine/tests/common/Functional.LTP.Syscalls
frontend configuration:
$AGL-JTA-core/jobs/Functional.LTP.Syscalls
script engine:
$AGL-JTA-core/engine/tests/Functional.LTP.Syscalls
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
Future Work
22
display
 current
• only display result of each tests
 future work
• display detailed information/log
• board-specified test cases for porter/minnowboar/dragon
cooperate with fuego
 fix gap between fuego
 share features and test cases
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved.
Future Work
23
your suggestion to improve it
test cases
test results
participate in improving AGL-JTA and AGL’s CIAT
Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. 24
Thank you!
qiaonuohan@cn.fujitsu.com

More Related Content

Viewers also liked

Viewers also liked (6)

The Rag Doll
The Rag DollThe Rag Doll
The Rag Doll
 
Табір "Подоляночка"
Табір  "Подоляночка" Табір  "Подоляночка"
Табір "Подоляночка"
 
Curriculum Vitae
Curriculum VitaeCurriculum Vitae
Curriculum Vitae
 
Base de dato act4
Base de  dato act4Base de  dato act4
Base de dato act4
 
Light bot
Light botLight bot
Light bot
 
FFF.CV
FFF.CVFFF.CV
FFF.CV
 

Similar to 20160713_ALS AGL-JTA CIAT tool for AGL

AMM_The Future of AGL-JTA
AMM_The Future of AGL-JTAAMM_The Future of AGL-JTA
AMM_The Future of AGL-JTAYuichi Kusakabe
 
Engin object presentation 2000
Engin object presentation 2000Engin object presentation 2000
Engin object presentation 2000Mal Moran
 
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
 
How To Use AGL CAN Signal
How To Use AGL CAN SignalHow To Use AGL CAN Signal
How To Use AGL CAN SignalYuichi Kusakabe
 
swampUP: Over-The-Air (OTA) firmware upgrades for Internet of Things devices ...
swampUP: Over-The-Air (OTA) firmware upgrades for Internet of Things devices ...swampUP: Over-The-Air (OTA) firmware upgrades for Internet of Things devices ...
swampUP: Over-The-Air (OTA) firmware upgrades for Internet of Things devices ...Ivan Kravets
 
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 2019Arun Gupta
 
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
 
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 AGLYuichi Kusakabe
 
Reducing boot time in embedded Linux
Reducing boot time in embedded LinuxReducing boot time in embedded Linux
Reducing boot time in embedded LinuxChris Simmonds
 
Remote Launch Overview Presentation
Remote Launch Overview PresentationRemote Launch Overview Presentation
Remote Launch Overview PresentationAdam Sandman
 
IRJET- Implementation of Ideal Stop and Go Deactivation Logic for Passeng...
IRJET-  	  Implementation of Ideal Stop and Go Deactivation Logic for Passeng...IRJET-  	  Implementation of Ideal Stop and Go Deactivation Logic for Passeng...
IRJET- Implementation of Ideal Stop and Go Deactivation Logic for Passeng...IRJET Journal
 
ILOUG 2019 - 18c/19c features
ILOUG 2019 - 18c/19c featuresILOUG 2019 - 18c/19c features
ILOUG 2019 - 18c/19c featuresConnor McDonald
 
Accelerate Your C/C++ Applications with Amazon EC2 F1 Instances (CMP405) - AW...
Accelerate Your C/C++ Applications with Amazon EC2 F1 Instances (CMP405) - AW...Accelerate Your C/C++ Applications with Amazon EC2 F1 Instances (CMP405) - AW...
Accelerate Your C/C++ Applications with Amazon EC2 F1 Instances (CMP405) - AW...Amazon Web Services
 
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 2Curity
 
Planes, Trains, and Automobiles: A Data Scientist’s Guide to Modeling Engine ...
Planes, Trains, and Automobiles: A Data Scientist’s Guide to Modeling Engine ...Planes, Trains, and Automobiles: A Data Scientist’s Guide to Modeling Engine ...
Planes, Trains, and Automobiles: A Data Scientist’s Guide to Modeling Engine ...April Song
 
18c and 19c features for DBAs
18c and 19c features for DBAs18c and 19c features for DBAs
18c and 19c features for DBAsConnor McDonald
 
Toyota and Strategic Collaboration with the Community
Toyota and Strategic Collaboration with the CommunityToyota and Strategic Collaboration with the Community
Toyota and Strategic Collaboration with the CommunityShane Coughlan
 

Similar to 20160713_ALS AGL-JTA CIAT tool for AGL (20)

AMM_The Future of AGL-JTA
AMM_The Future of AGL-JTAAMM_The Future of AGL-JTA
AMM_The Future of AGL-JTA
 
Engin object presentation 2000
Engin object presentation 2000Engin object presentation 2000
Engin object presentation 2000
 
IVI Essential Requirements:BSP and Hardware.
IVI Essential Requirements:BSP and Hardware.IVI Essential Requirements:BSP and Hardware.
IVI Essential Requirements:BSP and Hardware.
 
OpUtils webinar
OpUtils webinarOpUtils webinar
OpUtils webinar
 
How To Use AGL CAN Signal
How To Use AGL CAN SignalHow To Use AGL CAN Signal
How To Use AGL CAN Signal
 
swampUP: Over-The-Air (OTA) firmware upgrades for Internet of Things devices ...
swampUP: Over-The-Air (OTA) firmware upgrades for Internet of Things devices ...swampUP: Over-The-Air (OTA) firmware upgrades for Internet of Things devices ...
swampUP: Over-The-Air (OTA) firmware upgrades for Internet of Things devices ...
 
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
 
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...
 
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
 
Remote Launch Overview Presentation
Remote Launch Overview PresentationRemote Launch Overview Presentation
Remote Launch Overview Presentation
 
IRJET- Implementation of Ideal Stop and Go Deactivation Logic for Passeng...
IRJET-  	  Implementation of Ideal Stop and Go Deactivation Logic for Passeng...IRJET-  	  Implementation of Ideal Stop and Go Deactivation Logic for Passeng...
IRJET- Implementation of Ideal Stop and Go Deactivation Logic for Passeng...
 
Neutron Extension API
Neutron Extension APINeutron Extension API
Neutron Extension API
 
ILOUG 2019 - 18c/19c features
ILOUG 2019 - 18c/19c featuresILOUG 2019 - 18c/19c features
ILOUG 2019 - 18c/19c features
 
Accelerate Your C/C++ Applications with Amazon EC2 F1 Instances (CMP405) - AW...
Accelerate Your C/C++ Applications with Amazon EC2 F1 Instances (CMP405) - AW...Accelerate Your C/C++ Applications with Amazon EC2 F1 Instances (CMP405) - AW...
Accelerate Your C/C++ Applications with Amazon EC2 F1 Instances (CMP405) - AW...
 
l011029
l011029l011029
l011029
 
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
 
Planes, Trains, and Automobiles: A Data Scientist’s Guide to Modeling Engine ...
Planes, Trains, and Automobiles: A Data Scientist’s Guide to Modeling Engine ...Planes, Trains, and Automobiles: A Data Scientist’s Guide to Modeling Engine ...
Planes, Trains, and Automobiles: A Data Scientist’s Guide to Modeling Engine ...
 
18c and 19c features for DBAs
18c and 19c features for DBAs18c and 19c features for DBAs
18c and 19c features for DBAs
 
Toyota and Strategic Collaboration with the Community
Toyota and Strategic Collaboration with the CommunityToyota and Strategic Collaboration with the Community
Toyota and Strategic Collaboration with the Community
 

Recently uploaded

Things that make the new Nissan Z unique
Things that make the new Nissan Z uniqueThings that make the new Nissan Z unique
Things that make the new Nissan Z uniquejennifermiller8137
 
What Could Cause Your Audi To Keep Cutting Out
What Could Cause Your Audi To Keep Cutting OutWhat Could Cause Your Audi To Keep Cutting Out
What Could Cause Your Audi To Keep Cutting OutEuroautomotive
 
Toyota Yaris service manual Free.pdf Toyota Yaris Service manual
Toyota Yaris service manual Free.pdf  Toyota Yaris Service manualToyota Yaris service manual Free.pdf  Toyota Yaris Service manual
Toyota Yaris service manual Free.pdf Toyota Yaris Service manualAutocarmanuals.com
 
How Do I Know If My Volvo Has Throttle Position Sensor Problems
How Do I Know If My Volvo Has Throttle Position Sensor ProblemsHow Do I Know If My Volvo Has Throttle Position Sensor Problems
How Do I Know If My Volvo Has Throttle Position Sensor ProblemsHeynneman European
 
一比一原版(Cumbria毕业证书)英国坎布里亚大学毕业证成绩单学位证书
一比一原版(Cumbria毕业证书)英国坎布里亚大学毕业证成绩单学位证书一比一原版(Cumbria毕业证书)英国坎布里亚大学毕业证成绩单学位证书
一比一原版(Cumbria毕业证书)英国坎布里亚大学毕业证成绩单学位证书AD
 
Microscope of ppt for botany major this is a project
Microscope of ppt for botany major this is a projectMicroscope of ppt for botany major this is a project
Microscope of ppt for botany major this is a projectarpitakhairwar123
 
Why Won't My Mercedes Key Fob Function After A Battery Swap
Why Won't My Mercedes Key Fob Function After A Battery SwapWhy Won't My Mercedes Key Fob Function After A Battery Swap
Why Won't My Mercedes Key Fob Function After A Battery SwapDreamcars Auto Repair
 
Preparing for Transportation Electrification: The Electric Coop Perspective
Preparing for Transportation Electrification: The Electric Coop PerspectivePreparing for Transportation Electrification: The Electric Coop Perspective
Preparing for Transportation Electrification: The Electric Coop PerspectiveForth
 
原版定做(ncl学位证书)英国纽卡斯尔大学毕业证文凭学历证书-国外学历学位认证
原版定做(ncl学位证书)英国纽卡斯尔大学毕业证文凭学历证书-国外学历学位认证原版定做(ncl学位证书)英国纽卡斯尔大学毕业证文凭学历证书-国外学历学位认证
原版定做(ncl学位证书)英国纽卡斯尔大学毕业证文凭学历证书-国外学历学位认证eehzz
 
一比一原版(Auburn毕业证书)奥本大学毕业证原件一模一样
一比一原版(Auburn毕业证书)奥本大学毕业证原件一模一样一比一原版(Auburn毕业证书)奥本大学毕业证原件一模一样
一比一原版(Auburn毕业证书)奥本大学毕业证原件一模一样AS
 
Exploring the Heart of Alberta: A Journey from Calgary to Edmonton
Exploring the Heart of Alberta: A Journey from Calgary to EdmontonExploring the Heart of Alberta: A Journey from Calgary to Edmonton
Exploring the Heart of Alberta: A Journey from Calgary to EdmontonTheCanada BUS
 
What Causes The BMW X7 Power Supply Warning To Illuminate
What Causes The BMW X7 Power Supply Warning To IlluminateWhat Causes The BMW X7 Power Supply Warning To Illuminate
What Causes The BMW X7 Power Supply Warning To IlluminateMedway Imports
 
Benefits of Load Planning in Fleet Management
Benefits of Load Planning in Fleet ManagementBenefits of Load Planning in Fleet Management
Benefits of Load Planning in Fleet Managementjennifermiller8137
 
Auto Glass Repair in Redwood City What to Do When Disaster Strikes.pdf
Auto Glass Repair in Redwood City What to Do When Disaster Strikes.pdfAuto Glass Repair in Redwood City What to Do When Disaster Strikes.pdf
Auto Glass Repair in Redwood City What to Do When Disaster Strikes.pdfDuran's Auto Glass
 
Access to Rural Charging by David Skakel
Access to Rural Charging by David SkakelAccess to Rural Charging by David Skakel
Access to Rural Charging by David SkakelForth
 
mechanical vibrations pebbles.pptbbbbbbbbx
mechanical vibrations pebbles.pptbbbbbbbbxmechanical vibrations pebbles.pptbbbbbbbbx
mechanical vibrations pebbles.pptbbbbbbbbxjoshuaclack73
 
出售伯明翰大学毕业证研究生文凭证书原版质量
出售伯明翰大学毕业证研究生文凭证书原版质量出售伯明翰大学毕业证研究生文凭证书原版质量
出售伯明翰大学毕业证研究生文凭证书原版质量kthcah
 
Why Is The Glow Plug Light Flashing In My VW & What Does It Indicate
Why Is The Glow Plug Light Flashing In My VW & What Does It IndicateWhy Is The Glow Plug Light Flashing In My VW & What Does It Indicate
Why Is The Glow Plug Light Flashing In My VW & What Does It IndicateWoodinville Sports Cars
 
What Might Be Behind Your Mercedes' Inoperative Cruise Control
What Might Be Behind Your Mercedes' Inoperative Cruise ControlWhat Might Be Behind Your Mercedes' Inoperative Cruise Control
What Might Be Behind Your Mercedes' Inoperative Cruise ControlM Service Inc
 

Recently uploaded (20)

Things that make the new Nissan Z unique
Things that make the new Nissan Z uniqueThings that make the new Nissan Z unique
Things that make the new Nissan Z unique
 
What Could Cause Your Audi To Keep Cutting Out
What Could Cause Your Audi To Keep Cutting OutWhat Could Cause Your Audi To Keep Cutting Out
What Could Cause Your Audi To Keep Cutting Out
 
Toyota Yaris service manual Free.pdf Toyota Yaris Service manual
Toyota Yaris service manual Free.pdf  Toyota Yaris Service manualToyota Yaris service manual Free.pdf  Toyota Yaris Service manual
Toyota Yaris service manual Free.pdf Toyota Yaris Service manual
 
AI for Smart Vehicles - A quick overview
AI for Smart Vehicles - A quick overviewAI for Smart Vehicles - A quick overview
AI for Smart Vehicles - A quick overview
 
How Do I Know If My Volvo Has Throttle Position Sensor Problems
How Do I Know If My Volvo Has Throttle Position Sensor ProblemsHow Do I Know If My Volvo Has Throttle Position Sensor Problems
How Do I Know If My Volvo Has Throttle Position Sensor Problems
 
一比一原版(Cumbria毕业证书)英国坎布里亚大学毕业证成绩单学位证书
一比一原版(Cumbria毕业证书)英国坎布里亚大学毕业证成绩单学位证书一比一原版(Cumbria毕业证书)英国坎布里亚大学毕业证成绩单学位证书
一比一原版(Cumbria毕业证书)英国坎布里亚大学毕业证成绩单学位证书
 
Microscope of ppt for botany major this is a project
Microscope of ppt for botany major this is a projectMicroscope of ppt for botany major this is a project
Microscope of ppt for botany major this is a project
 
Why Won't My Mercedes Key Fob Function After A Battery Swap
Why Won't My Mercedes Key Fob Function After A Battery SwapWhy Won't My Mercedes Key Fob Function After A Battery Swap
Why Won't My Mercedes Key Fob Function After A Battery Swap
 
Preparing for Transportation Electrification: The Electric Coop Perspective
Preparing for Transportation Electrification: The Electric Coop PerspectivePreparing for Transportation Electrification: The Electric Coop Perspective
Preparing for Transportation Electrification: The Electric Coop Perspective
 
原版定做(ncl学位证书)英国纽卡斯尔大学毕业证文凭学历证书-国外学历学位认证
原版定做(ncl学位证书)英国纽卡斯尔大学毕业证文凭学历证书-国外学历学位认证原版定做(ncl学位证书)英国纽卡斯尔大学毕业证文凭学历证书-国外学历学位认证
原版定做(ncl学位证书)英国纽卡斯尔大学毕业证文凭学历证书-国外学历学位认证
 
一比一原版(Auburn毕业证书)奥本大学毕业证原件一模一样
一比一原版(Auburn毕业证书)奥本大学毕业证原件一模一样一比一原版(Auburn毕业证书)奥本大学毕业证原件一模一样
一比一原版(Auburn毕业证书)奥本大学毕业证原件一模一样
 
Exploring the Heart of Alberta: A Journey from Calgary to Edmonton
Exploring the Heart of Alberta: A Journey from Calgary to EdmontonExploring the Heart of Alberta: A Journey from Calgary to Edmonton
Exploring the Heart of Alberta: A Journey from Calgary to Edmonton
 
What Causes The BMW X7 Power Supply Warning To Illuminate
What Causes The BMW X7 Power Supply Warning To IlluminateWhat Causes The BMW X7 Power Supply Warning To Illuminate
What Causes The BMW X7 Power Supply Warning To Illuminate
 
Benefits of Load Planning in Fleet Management
Benefits of Load Planning in Fleet ManagementBenefits of Load Planning in Fleet Management
Benefits of Load Planning in Fleet Management
 
Auto Glass Repair in Redwood City What to Do When Disaster Strikes.pdf
Auto Glass Repair in Redwood City What to Do When Disaster Strikes.pdfAuto Glass Repair in Redwood City What to Do When Disaster Strikes.pdf
Auto Glass Repair in Redwood City What to Do When Disaster Strikes.pdf
 
Access to Rural Charging by David Skakel
Access to Rural Charging by David SkakelAccess to Rural Charging by David Skakel
Access to Rural Charging by David Skakel
 
mechanical vibrations pebbles.pptbbbbbbbbx
mechanical vibrations pebbles.pptbbbbbbbbxmechanical vibrations pebbles.pptbbbbbbbbx
mechanical vibrations pebbles.pptbbbbbbbbx
 
出售伯明翰大学毕业证研究生文凭证书原版质量
出售伯明翰大学毕业证研究生文凭证书原版质量出售伯明翰大学毕业证研究生文凭证书原版质量
出售伯明翰大学毕业证研究生文凭证书原版质量
 
Why Is The Glow Plug Light Flashing In My VW & What Does It Indicate
Why Is The Glow Plug Light Flashing In My VW & What Does It IndicateWhy Is The Glow Plug Light Flashing In My VW & What Does It Indicate
Why Is The Glow Plug Light Flashing In My VW & What Does It Indicate
 
What Might Be Behind Your Mercedes' Inoperative Cruise Control
What Might Be Behind Your Mercedes' Inoperative Cruise ControlWhat Might Be Behind Your Mercedes' Inoperative Cruise Control
What Might Be Behind Your Mercedes' Inoperative Cruise Control
 

20160713_ALS AGL-JTA CIAT tool for AGL

  • 1. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. July 13, 2016 Automotive Linux Summit 2016 NuoHan Qiao Fujitsu TEN AGL-JTA 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 by upstream changes 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  publication 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  A host/target script engine and a jenkins front-end  official automated test framwork for LTSI project 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 match 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 publication 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  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
  • 8. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA 8 have a glance – homepage
  • 9. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA 9 have a glance – execute tests
  • 10. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA 10 have a glance – execute tests
  • 11. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA 11 role in AGL’s CIAT  for Automated Test mainly  also involves instructions for building/deploying  public server is establishing  private server work flow  triggered by gerrit  collect source code from gerrit  build/deploy distro to target board  execute tests on board  public test result
  • 12. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA 12 AGL gerrit server AGL-JTA server (CIAT.test) 1. gerrit trigger AGL-JTA server 1. gerrit trigger 2. download source code 6. publish test result CIAT.test CIAT.build_test CIAT.renesas_porter 3. build distro 4. deploy distro 5. execute sets of tests, like Benchmark.bc, Functional.zlib
  • 13. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA 13 CIAT environment  hardware setting hub target board AGL-JTA compile server TFTP/NFS server Internet (AGL gerrit)
  • 14. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA 14 CIAT environment  hardware setting (for demo) 1. AGL-JTA 2. TFTP/NFS server 3. compile server hub Internet porter
  • 15. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA 15 CIAT environment  start CIAT now (demo) demo build & deploy test display result trigger
  • 16. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA 16 more flexible way to share test result  public git repo for storing test result  AGL-JTA gather required test result and display  still in progress xxx company's AGL-JTA FTEN's AGL-JTA yyy company's AGL-JTA public git repo my AGL-JTA
  • 17. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA 17 more flexible way to share test result
  • 18. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. HOW to use AGL-JTA 18 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
  • 19. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. Future Work 19 board supporting trigger test cases build/deploy display cooperate with fuego ...
  • 20. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. Future Work 20 board supporting  current • CIAT for porter • simple test for porter & MinnowBoard  future work • Dragon board • more board? trigger  current • gerrit trigger  future work • for different changes uploaded to gerrit • cron trigger
  • 21. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. Future Work 21 test cases  current • categorized test cases (common, renesas-porter)  future work • more test cases • board-specified test cases for porter/minnowboar/dragon $AGL-JTA-core/job_conf/common/Functional.LTP.Syscalls $AGL-JTA-core/engine/tests/common/Functional.LTP.Syscalls frontend configuration: $AGL-JTA-core/jobs/Functional.LTP.Syscalls script engine: $AGL-JTA-core/engine/tests/Functional.LTP.Syscalls
  • 22. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. Future Work 22 display  current • only display result of each tests  future work • display detailed information/log • board-specified test cases for porter/minnowboar/dragon cooperate with fuego  fix gap between fuego  share features and test cases
  • 23. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. Future Work 23 your suggestion to improve it test cases test results participate in improving AGL-JTA and AGL’s CIAT
  • 24. Copyright © 2016 FUJITSU TEN LIMITED. All rights reserved. 24 Thank you! qiaonuohan@cn.fujitsu.com