SlideShare a Scribd company logo
1 of 29
Download to read offline
Continuous Deployment for Massive Scale Embedded Devices (IoT)
Continuous Deployment for Massive Scale
Embedded Devices
(Internet of Things, Hype hype!)
Intro
- Introduction to massive scale hardware
- Libvirt hub agent
- OTA CD
- Build environments for embedded linux
- Vendors
Intro
particle.ioNest
Examples of “Internet of things” hype
Raspberry pi
Internet Connected Hardware
3,370,000,000
Residential internet gw
Actual economically relevant internet hardware
500,000
Teslas
6,800,000,000
smartphones
Internet Connected Hardware
bankruptcysoftwaremanufacture
Hardware is Hard
- Hardware is done at massive scale
- Hence it used to be a waterfall business
- Fixing anything costs millions and takes years
- Hence test suits are massive and take forever
designspecify
Embedded Software Testing
Bringup
Acceptance
Compliance
EMI
Functional
Integration
Regression
Smoke
Fresh from vendor Developing Software Building millions
Aging
Functional
Calibration
Weardown
Testing is driven by hardware developers.
Some typical examples:
Embedded Software is Hard
- work on very few, very
expensive prototypes
- Test requires specialised jigs and
probes
- Manual reset required when
hardware gets stuck
- All the tools are sudo and bad
Embedded Software is Hard
Typical test script you get from vendors:
- sudo apt-get -y install some-stuff-that-doesnt-exist
- sudo echo > /dev/something #never worked
- sudo someflashtool-binary --device=/dev/ttyUSB0
- sudo ./usbthing --find-device-automagically
- sudo scp 192.168.1.2:/test.xml /home/android/meh.
cvs
- echo probably worked. like i care. lol
The 2000 Solution
- TTY to LAN
- Allows sharing hardware within teams
- Conflict resolution: “shout across the
office”
- I can’t believe people still do this
- Usb controllable PSU
- To “reboot” during test cycles
Embedded Software Testing
Give me continuous integration plz
Mocking Hardware
Emulating/Mocking hardware for faster tests
➢ Nah.
➢ Buy more hardware
DOCKERIZE IT!!11
Damage control bad software? docker!
… or something...
- Anything using kernel namespaces
- Or in this case libvirt
Hub Agent at Nokia
1 usb hub
=
1 virtual machine
Hub Agent
udev
Hub agent
New device on hubNew usb hub
Spawn agent VM
Register agent
Attach device to agent
Set agent label
Hub Agent at Superscale
Docker now supports usb.
Yey!
Over The Air Updates
CD Pipeline would be incomplete without delivery
Don’t build devices without internet in 2016.
Continuously deliver updates
Over The Air Updates
1,000,000 SCADA systems
are exposed on the internet
- Used in Factories, Nuclear plants,
Hospitals,...
- 700+ vulnerabilities
- No OTA = no Fix
- => Have OTA, plz
Over The Air Updates
Typical memory layout
system
user data / config state
bootloader
calibration
Vendor code from hell
Done in factory. Don’t touch.
Stuff to delete in CI.
Always test from clean state
OTA goes here
Over The Air Updates
Why OTA is full-image
➢ This is hardware, it doesn’t change.
➢ We must test a known state
➢ OTA scales to billions
Over The Air Updates
Classic staged rollouts before CD
The thing
git push git pull
Build & test
Roll to 1000 customersRelease for real
Continuous Hardware
git push build
OTA cloud
Dude
your stuff is broketh
Roll this?
Build Environments
OBS
Meego
yocto
openwrt
buildroot
android
package based system based hacks
scratchbox2
Some words on scalability of build environments
Vendors
They don’t care.
Vendors
They don’t care.
No one reads your test instructions. Barely anyone speaks english.
Vendors
Hardware vendors are “agile” too.
memory chip origin: “found box in garage”
➢ Yield test != works
➢ Have every single variant in your test rack
➢ Write down chip versions on incoming
batches
➢ Beware of changes even within batches
➢ Thanks to continuous deployment, we actually
CAN test all variants on git push in parallel
Vendors
Destruction tests you want on every variant
➢ Flash memory until death (must survive
specified number of cycle)
➢ Max that cpu, forever, until it desolders
➢ Battery charging cycles.
➢ Extreme environment conditions
➢ Find creative ways of destroying stuff
➢ (yeah, you, don’t trust that vendor)
Exit
Internet hardware is hard, implement CD early
➢ Flash memory until death (must survive
specified number of cycle)
➢ Max that cpu, forever, until it desolders
➢ Battery charging cycles.
➢ Extreme environment conditions
➢ Find creative ways of destroying stuff

More Related Content

What's hot

SIVACON S4 Presentation - R.A. Engineering partnered with Siemens
SIVACON S4 Presentation - R.A. Engineering partnered with SiemensSIVACON S4 Presentation - R.A. Engineering partnered with Siemens
SIVACON S4 Presentation - R.A. Engineering partnered with SiemensImran Butt
 
SensorStudio introduction (IDC 2016)
SensorStudio introduction (IDC 2016)SensorStudio introduction (IDC 2016)
SensorStudio introduction (IDC 2016)Herve Blanc
 
Unit 9 system install_pwr_point
Unit 9 system install_pwr_pointUnit 9 system install_pwr_point
Unit 9 system install_pwr_pointJon Hilden
 
W2055 specification-www.ttbvs.com
W2055 specification-www.ttbvs.comW2055 specification-www.ttbvs.com
W2055 specification-www.ttbvs.comTTBVS
 
SensorStudio real use cases - Lightsaber (IDC 2016)
SensorStudio real use cases - Lightsaber (IDC 2016)SensorStudio real use cases - Lightsaber (IDC 2016)
SensorStudio real use cases - Lightsaber (IDC 2016)Herve Blanc
 
Unit 9 system install_pwr_point
Unit 9 system install_pwr_pointUnit 9 system install_pwr_point
Unit 9 system install_pwr_pointJon Hilden
 
Uniphos envirotronic pvt. ltd
Uniphos envirotronic pvt. ltdUniphos envirotronic pvt. ltd
Uniphos envirotronic pvt. ltdvinodmeltoe
 
Unit 9 system install_pwr_point
Unit 9 system install_pwr_pointUnit 9 system install_pwr_point
Unit 9 system install_pwr_pointjrh042
 
Automated Infrastructure Security: Monitoring using FOSS
Automated Infrastructure Security: Monitoring using FOSSAutomated Infrastructure Security: Monitoring using FOSS
Automated Infrastructure Security: Monitoring using FOSSSonatype
 
Compliance and auditing with Puppet
Compliance and auditing with PuppetCompliance and auditing with Puppet
Compliance and auditing with PuppetPeter Souter
 
Itc Wireshark
Itc WiresharkItc Wireshark
Itc WiresharkJayMNEA
 
iDip Photometer Overview
iDip Photometer OverviewiDip Photometer Overview
iDip Photometer OverviewAndrew Roberts
 

What's hot (12)

SIVACON S4 Presentation - R.A. Engineering partnered with Siemens
SIVACON S4 Presentation - R.A. Engineering partnered with SiemensSIVACON S4 Presentation - R.A. Engineering partnered with Siemens
SIVACON S4 Presentation - R.A. Engineering partnered with Siemens
 
SensorStudio introduction (IDC 2016)
SensorStudio introduction (IDC 2016)SensorStudio introduction (IDC 2016)
SensorStudio introduction (IDC 2016)
 
Unit 9 system install_pwr_point
Unit 9 system install_pwr_pointUnit 9 system install_pwr_point
Unit 9 system install_pwr_point
 
W2055 specification-www.ttbvs.com
W2055 specification-www.ttbvs.comW2055 specification-www.ttbvs.com
W2055 specification-www.ttbvs.com
 
SensorStudio real use cases - Lightsaber (IDC 2016)
SensorStudio real use cases - Lightsaber (IDC 2016)SensorStudio real use cases - Lightsaber (IDC 2016)
SensorStudio real use cases - Lightsaber (IDC 2016)
 
Unit 9 system install_pwr_point
Unit 9 system install_pwr_pointUnit 9 system install_pwr_point
Unit 9 system install_pwr_point
 
Uniphos envirotronic pvt. ltd
Uniphos envirotronic pvt. ltdUniphos envirotronic pvt. ltd
Uniphos envirotronic pvt. ltd
 
Unit 9 system install_pwr_point
Unit 9 system install_pwr_pointUnit 9 system install_pwr_point
Unit 9 system install_pwr_point
 
Automated Infrastructure Security: Monitoring using FOSS
Automated Infrastructure Security: Monitoring using FOSSAutomated Infrastructure Security: Monitoring using FOSS
Automated Infrastructure Security: Monitoring using FOSS
 
Compliance and auditing with Puppet
Compliance and auditing with PuppetCompliance and auditing with Puppet
Compliance and auditing with Puppet
 
Itc Wireshark
Itc WiresharkItc Wireshark
Itc Wireshark
 
iDip Photometer Overview
iDip Photometer OverviewiDip Photometer Overview
iDip Photometer Overview
 

Viewers also liked

Atmosphere 2016 - Matt Harasymczuk - Case Study: Agile @gov.pl
 Atmosphere 2016 - Matt Harasymczuk - Case Study: Agile @gov.pl  Atmosphere 2016 - Matt Harasymczuk - Case Study: Agile @gov.pl
Atmosphere 2016 - Matt Harasymczuk - Case Study: Agile @gov.pl PROIDEA
 
[4developers] - Wydajność webowa - jak to ugryźć? (Konrad Kokosa)
[4developers] - Wydajność webowa - jak to ugryźć? (Konrad Kokosa)[4developers] - Wydajność webowa - jak to ugryźć? (Konrad Kokosa)
[4developers] - Wydajność webowa - jak to ugryźć? (Konrad Kokosa)PROIDEA
 
Atmosphere 2016 - Jorge Salamero Sanz - HumanOps, the impact of human health ...
Atmosphere 2016 - Jorge Salamero Sanz - HumanOps, the impact of human health ...Atmosphere 2016 - Jorge Salamero Sanz - HumanOps, the impact of human health ...
Atmosphere 2016 - Jorge Salamero Sanz - HumanOps, the impact of human health ...PROIDEA
 
4Developers: Jakub Kubryński- Effective Software Delivery
4Developers: Jakub  Kubryński- Effective Software Delivery4Developers: Jakub  Kubryński- Effective Software Delivery
4Developers: Jakub Kubryński- Effective Software DeliveryPROIDEA
 
MCE^3 - Adrian Catalan - Android Architecture for the Everyday Developer
MCE^3 - Adrian Catalan - Android Architecture for the Everyday DeveloperMCE^3 - Adrian Catalan - Android Architecture for the Everyday Developer
MCE^3 - Adrian Catalan - Android Architecture for the Everyday DeveloperPROIDEA
 
Bartosz kowalik Shapeless Matrix
Bartosz kowalik  Shapeless MatrixBartosz kowalik  Shapeless Matrix
Bartosz kowalik Shapeless MatrixPROIDEA
 
Atmosphere 2014: When Storm hits data. Data streams processing in real time -...
Atmosphere 2014: When Storm hits data. Data streams processing in real time -...Atmosphere 2014: When Storm hits data. Data streams processing in real time -...
Atmosphere 2014: When Storm hits data. Data streams processing in real time -...PROIDEA
 
Prezentacja konferencje
Prezentacja konferencjePrezentacja konferencje
Prezentacja konferencjePROIDEA
 
Atmosphere 2016 - Andreas Grabner - Metrics Driven-DevOps: Delivering High Qu...
Atmosphere 2016 - Andreas Grabner - Metrics Driven-DevOps: Delivering High Qu...Atmosphere 2016 - Andreas Grabner - Metrics Driven-DevOps: Delivering High Qu...
Atmosphere 2016 - Andreas Grabner - Metrics Driven-DevOps: Delivering High Qu...PROIDEA
 
4Developers2016: Kuba Marchwicki- JavaEE - nie musi byc tak smutna jak się To...
4Developers2016: Kuba Marchwicki- JavaEE - nie musi byc tak smutna jak się To...4Developers2016: Kuba Marchwicki- JavaEE - nie musi byc tak smutna jak się To...
4Developers2016: Kuba Marchwicki- JavaEE - nie musi byc tak smutna jak się To...PROIDEA
 
PLNOG16: Automatyzacja tworzenia sieci w środowisku Vmware, Maciej Lelusz
PLNOG16:  Automatyzacja tworzenia sieci w środowisku Vmware, Maciej LeluszPLNOG16:  Automatyzacja tworzenia sieci w środowisku Vmware, Maciej Lelusz
PLNOG16: Automatyzacja tworzenia sieci w środowisku Vmware, Maciej LeluszPROIDEA
 
The effects of price and package on consumer
The effects of price and package on consumerThe effects of price and package on consumer
The effects of price and package on consumerHanae Guenouni
 
PLNOG16: Netflix Open Connect is the Netflix proprietary CDN, Nina Bargisen
PLNOG16: Netflix Open Connect is the Netflix proprietary CDN, Nina BargisenPLNOG16: Netflix Open Connect is the Netflix proprietary CDN, Nina Bargisen
PLNOG16: Netflix Open Connect is the Netflix proprietary CDN, Nina BargisenPROIDEA
 
infraxstructure: Piotr Wojciechowski "Secure Data Center"
infraxstructure: Piotr Wojciechowski  "Secure Data Center"infraxstructure: Piotr Wojciechowski  "Secure Data Center"
infraxstructure: Piotr Wojciechowski "Secure Data Center"PROIDEA
 
infraxstructure: Marcin Kaczmarek "SDS - Storage jako aplikacja."
infraxstructure: Marcin Kaczmarek  "SDS - Storage jako aplikacja."infraxstructure: Marcin Kaczmarek  "SDS - Storage jako aplikacja."
infraxstructure: Marcin Kaczmarek "SDS - Storage jako aplikacja."PROIDEA
 
infraxstructure: Rafał Stańczak "Postępujący rozwój infrastruktury na potrze...
infraxstructure: Rafał Stańczak  "Postępujący rozwój infrastruktury na potrze...infraxstructure: Rafał Stańczak  "Postępujący rozwój infrastruktury na potrze...
infraxstructure: Rafał Stańczak "Postępujący rozwój infrastruktury na potrze...PROIDEA
 
Birdhouse Builder
Birdhouse BuilderBirdhouse Builder
Birdhouse BuilderUMHcaring
 

Viewers also liked (17)

Atmosphere 2016 - Matt Harasymczuk - Case Study: Agile @gov.pl
 Atmosphere 2016 - Matt Harasymczuk - Case Study: Agile @gov.pl  Atmosphere 2016 - Matt Harasymczuk - Case Study: Agile @gov.pl
Atmosphere 2016 - Matt Harasymczuk - Case Study: Agile @gov.pl
 
[4developers] - Wydajność webowa - jak to ugryźć? (Konrad Kokosa)
[4developers] - Wydajność webowa - jak to ugryźć? (Konrad Kokosa)[4developers] - Wydajność webowa - jak to ugryźć? (Konrad Kokosa)
[4developers] - Wydajność webowa - jak to ugryźć? (Konrad Kokosa)
 
Atmosphere 2016 - Jorge Salamero Sanz - HumanOps, the impact of human health ...
Atmosphere 2016 - Jorge Salamero Sanz - HumanOps, the impact of human health ...Atmosphere 2016 - Jorge Salamero Sanz - HumanOps, the impact of human health ...
Atmosphere 2016 - Jorge Salamero Sanz - HumanOps, the impact of human health ...
 
4Developers: Jakub Kubryński- Effective Software Delivery
4Developers: Jakub  Kubryński- Effective Software Delivery4Developers: Jakub  Kubryński- Effective Software Delivery
4Developers: Jakub Kubryński- Effective Software Delivery
 
MCE^3 - Adrian Catalan - Android Architecture for the Everyday Developer
MCE^3 - Adrian Catalan - Android Architecture for the Everyday DeveloperMCE^3 - Adrian Catalan - Android Architecture for the Everyday Developer
MCE^3 - Adrian Catalan - Android Architecture for the Everyday Developer
 
Bartosz kowalik Shapeless Matrix
Bartosz kowalik  Shapeless MatrixBartosz kowalik  Shapeless Matrix
Bartosz kowalik Shapeless Matrix
 
Atmosphere 2014: When Storm hits data. Data streams processing in real time -...
Atmosphere 2014: When Storm hits data. Data streams processing in real time -...Atmosphere 2014: When Storm hits data. Data streams processing in real time -...
Atmosphere 2014: When Storm hits data. Data streams processing in real time -...
 
Prezentacja konferencje
Prezentacja konferencjePrezentacja konferencje
Prezentacja konferencje
 
Atmosphere 2016 - Andreas Grabner - Metrics Driven-DevOps: Delivering High Qu...
Atmosphere 2016 - Andreas Grabner - Metrics Driven-DevOps: Delivering High Qu...Atmosphere 2016 - Andreas Grabner - Metrics Driven-DevOps: Delivering High Qu...
Atmosphere 2016 - Andreas Grabner - Metrics Driven-DevOps: Delivering High Qu...
 
4Developers2016: Kuba Marchwicki- JavaEE - nie musi byc tak smutna jak się To...
4Developers2016: Kuba Marchwicki- JavaEE - nie musi byc tak smutna jak się To...4Developers2016: Kuba Marchwicki- JavaEE - nie musi byc tak smutna jak się To...
4Developers2016: Kuba Marchwicki- JavaEE - nie musi byc tak smutna jak się To...
 
PLNOG16: Automatyzacja tworzenia sieci w środowisku Vmware, Maciej Lelusz
PLNOG16:  Automatyzacja tworzenia sieci w środowisku Vmware, Maciej LeluszPLNOG16:  Automatyzacja tworzenia sieci w środowisku Vmware, Maciej Lelusz
PLNOG16: Automatyzacja tworzenia sieci w środowisku Vmware, Maciej Lelusz
 
The effects of price and package on consumer
The effects of price and package on consumerThe effects of price and package on consumer
The effects of price and package on consumer
 
PLNOG16: Netflix Open Connect is the Netflix proprietary CDN, Nina Bargisen
PLNOG16: Netflix Open Connect is the Netflix proprietary CDN, Nina BargisenPLNOG16: Netflix Open Connect is the Netflix proprietary CDN, Nina Bargisen
PLNOG16: Netflix Open Connect is the Netflix proprietary CDN, Nina Bargisen
 
infraxstructure: Piotr Wojciechowski "Secure Data Center"
infraxstructure: Piotr Wojciechowski  "Secure Data Center"infraxstructure: Piotr Wojciechowski  "Secure Data Center"
infraxstructure: Piotr Wojciechowski "Secure Data Center"
 
infraxstructure: Marcin Kaczmarek "SDS - Storage jako aplikacja."
infraxstructure: Marcin Kaczmarek  "SDS - Storage jako aplikacja."infraxstructure: Marcin Kaczmarek  "SDS - Storage jako aplikacja."
infraxstructure: Marcin Kaczmarek "SDS - Storage jako aplikacja."
 
infraxstructure: Rafał Stańczak "Postępujący rozwój infrastruktury na potrze...
infraxstructure: Rafał Stańczak  "Postępujący rozwój infrastruktury na potrze...infraxstructure: Rafał Stańczak  "Postępujący rozwój infrastruktury na potrze...
infraxstructure: Rafał Stańczak "Postępujący rozwój infrastruktury na potrze...
 
Birdhouse Builder
Birdhouse BuilderBirdhouse Builder
Birdhouse Builder
 

Similar to Atmosphere 2016 - Arvid Picciani - Continuous Deployment for Massive Scale Embedded Devices (IoT)

Prepare to defend thyself with Blue/Green
Prepare to defend thyself with Blue/GreenPrepare to defend thyself with Blue/Green
Prepare to defend thyself with Blue/GreenSonatype
 
All Day DevOps 2016 Fabian - Defending Thyself with Blue Green
All Day DevOps 2016 Fabian - Defending Thyself with Blue GreenAll Day DevOps 2016 Fabian - Defending Thyself with Blue Green
All Day DevOps 2016 Fabian - Defending Thyself with Blue GreenFab L
 
Resin.io contribution to the AGILE-IoT project
Resin.io contribution to the AGILE-IoT projectResin.io contribution to the AGILE-IoT project
Resin.io contribution to the AGILE-IoT projectAGILE IoT
 
Embedded software, hardware design and automation software
Embedded software, hardware design and automation softwareEmbedded software, hardware design and automation software
Embedded software, hardware design and automation softwarePaul Dao
 
Discrete MFG IoT Factory of the Future
Discrete MFG IoT Factory of the FutureDiscrete MFG IoT Factory of the Future
Discrete MFG IoT Factory of the FutureMainstay
 
The Evolution of Agile - Continuous Delivery - Extending Agile out to Product...
The Evolution of Agile - Continuous Delivery - Extending Agile out to Product...The Evolution of Agile - Continuous Delivery - Extending Agile out to Product...
The Evolution of Agile - Continuous Delivery - Extending Agile out to Product...Burns Sheehan
 
Shift-left SRE: Self-healing on OpenShift with Ansible
Shift-left SRE: Self-healing on OpenShift with AnsibleShift-left SRE: Self-healing on OpenShift with Ansible
Shift-left SRE: Self-healing on OpenShift with AnsibleJürgen Etzlstorfer
 
L'Internet des objets (IDO)
L'Internet des objets (IDO)L'Internet des objets (IDO)
L'Internet des objets (IDO)Cisco Canada
 
A. Sirota "Building an Automation Solution based on Appium"
A. Sirota "Building an Automation Solution based on Appium"A. Sirota "Building an Automation Solution based on Appium"
A. Sirota "Building an Automation Solution based on Appium"DataArt
 
Can we build an Azure IoT controlled device in less than 40 minutes that cost...
Can we build an Azure IoT controlled device in less than 40 minutes that cost...Can we build an Azure IoT controlled device in less than 40 minutes that cost...
Can we build an Azure IoT controlled device in less than 40 minutes that cost...Codemotion Tel Aviv
 
Resin.io overview (2016 July)
Resin.io overview (2016 July)Resin.io overview (2016 July)
Resin.io overview (2016 July)Balena
 
OWASP Appsec USA 2014 Talk "Pwning the Pawns with Wihawk" Santhosh Kumar
OWASP Appsec USA 2014 Talk "Pwning the Pawns with Wihawk" Santhosh Kumar OWASP Appsec USA 2014 Talk "Pwning the Pawns with Wihawk" Santhosh Kumar
OWASP Appsec USA 2014 Talk "Pwning the Pawns with Wihawk" Santhosh Kumar Santhosh Kumar
 
Using R for the internet of things
Using R for the internet of thingsUsing R for the internet of things
Using R for the internet of thingscdhowe
 
Ntcip Device Tester
Ntcip Device TesterNtcip Device Tester
Ntcip Device TesterPeter Ashley
 
Can $0.08 Change your View of Storage?
Can $0.08 Change your View of Storage?Can $0.08 Change your View of Storage?
Can $0.08 Change your View of Storage?DataCore Software
 
The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7
The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7
The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7Rapid7
 

Similar to Atmosphere 2016 - Arvid Picciani - Continuous Deployment for Massive Scale Embedded Devices (IoT) (20)

Prepare to defend thyself with Blue/Green
Prepare to defend thyself with Blue/GreenPrepare to defend thyself with Blue/Green
Prepare to defend thyself with Blue/Green
 
All Day DevOps 2016 Fabian - Defending Thyself with Blue Green
All Day DevOps 2016 Fabian - Defending Thyself with Blue GreenAll Day DevOps 2016 Fabian - Defending Thyself with Blue Green
All Day DevOps 2016 Fabian - Defending Thyself with Blue Green
 
Resin.io contribution to the AGILE-IoT project
Resin.io contribution to the AGILE-IoT projectResin.io contribution to the AGILE-IoT project
Resin.io contribution to the AGILE-IoT project
 
Embedded software, hardware design and automation software
Embedded software, hardware design and automation softwareEmbedded software, hardware design and automation software
Embedded software, hardware design and automation software
 
Discrete MFG IoT Factory of the Future
Discrete MFG IoT Factory of the FutureDiscrete MFG IoT Factory of the Future
Discrete MFG IoT Factory of the Future
 
The Evolution of Agile - Continuous Delivery - Extending Agile out to Product...
The Evolution of Agile - Continuous Delivery - Extending Agile out to Product...The Evolution of Agile - Continuous Delivery - Extending Agile out to Product...
The Evolution of Agile - Continuous Delivery - Extending Agile out to Product...
 
Shift-left SRE: Self-healing on OpenShift with Ansible
Shift-left SRE: Self-healing on OpenShift with AnsibleShift-left SRE: Self-healing on OpenShift with Ansible
Shift-left SRE: Self-healing on OpenShift with Ansible
 
L'Internet des objets (IDO)
L'Internet des objets (IDO)L'Internet des objets (IDO)
L'Internet des objets (IDO)
 
IOT Exploitation
IOT Exploitation	IOT Exploitation
IOT Exploitation
 
A. Sirota "Building an Automation Solution based on Appium"
A. Sirota "Building an Automation Solution based on Appium"A. Sirota "Building an Automation Solution based on Appium"
A. Sirota "Building an Automation Solution based on Appium"
 
Can we build an Azure IoT controlled device in less than 40 minutes that cost...
Can we build an Azure IoT controlled device in less than 40 minutes that cost...Can we build an Azure IoT controlled device in less than 40 minutes that cost...
Can we build an Azure IoT controlled device in less than 40 minutes that cost...
 
Resin.io overview (2016 July)
Resin.io overview (2016 July)Resin.io overview (2016 July)
Resin.io overview (2016 July)
 
OWASP Appsec USA 2014 Talk "Pwning the Pawns with Wihawk" Santhosh Kumar
OWASP Appsec USA 2014 Talk "Pwning the Pawns with Wihawk" Santhosh Kumar OWASP Appsec USA 2014 Talk "Pwning the Pawns with Wihawk" Santhosh Kumar
OWASP Appsec USA 2014 Talk "Pwning the Pawns with Wihawk" Santhosh Kumar
 
Using R for the internet of things
Using R for the internet of thingsUsing R for the internet of things
Using R for the internet of things
 
Industrial IoT bootcamp
Industrial IoT bootcampIndustrial IoT bootcamp
Industrial IoT bootcamp
 
Zerovm backgroud
Zerovm backgroudZerovm backgroud
Zerovm backgroud
 
Ntcip Device Tester
Ntcip Device TesterNtcip Device Tester
Ntcip Device Tester
 
IoT on azure
IoT on azureIoT on azure
IoT on azure
 
Can $0.08 Change your View of Storage?
Can $0.08 Change your View of Storage?Can $0.08 Change your View of Storage?
Can $0.08 Change your View of Storage?
 
The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7
The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7
The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7
 

Recently uploaded

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 

Recently uploaded (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

Atmosphere 2016 - Arvid Picciani - Continuous Deployment for Massive Scale Embedded Devices (IoT)

  • 1. Continuous Deployment for Massive Scale Embedded Devices (IoT)
  • 2. Continuous Deployment for Massive Scale Embedded Devices (Internet of Things, Hype hype!) Intro
  • 3. - Introduction to massive scale hardware - Libvirt hub agent - OTA CD - Build environments for embedded linux - Vendors Intro
  • 4. particle.ioNest Examples of “Internet of things” hype Raspberry pi Internet Connected Hardware
  • 5. 3,370,000,000 Residential internet gw Actual economically relevant internet hardware 500,000 Teslas 6,800,000,000 smartphones Internet Connected Hardware
  • 6. bankruptcysoftwaremanufacture Hardware is Hard - Hardware is done at massive scale - Hence it used to be a waterfall business - Fixing anything costs millions and takes years - Hence test suits are massive and take forever designspecify
  • 7. Embedded Software Testing Bringup Acceptance Compliance EMI Functional Integration Regression Smoke Fresh from vendor Developing Software Building millions Aging Functional Calibration Weardown Testing is driven by hardware developers. Some typical examples:
  • 8. Embedded Software is Hard - work on very few, very expensive prototypes - Test requires specialised jigs and probes - Manual reset required when hardware gets stuck - All the tools are sudo and bad
  • 9. Embedded Software is Hard Typical test script you get from vendors: - sudo apt-get -y install some-stuff-that-doesnt-exist - sudo echo > /dev/something #never worked - sudo someflashtool-binary --device=/dev/ttyUSB0 - sudo ./usbthing --find-device-automagically - sudo scp 192.168.1.2:/test.xml /home/android/meh. cvs - echo probably worked. like i care. lol
  • 10. The 2000 Solution - TTY to LAN - Allows sharing hardware within teams - Conflict resolution: “shout across the office” - I can’t believe people still do this - Usb controllable PSU - To “reboot” during test cycles
  • 11. Embedded Software Testing Give me continuous integration plz
  • 12. Mocking Hardware Emulating/Mocking hardware for faster tests ➢ Nah. ➢ Buy more hardware
  • 13. DOCKERIZE IT!!11 Damage control bad software? docker!
  • 14. … or something... - Anything using kernel namespaces - Or in this case libvirt
  • 15. Hub Agent at Nokia 1 usb hub = 1 virtual machine
  • 16. Hub Agent udev Hub agent New device on hubNew usb hub Spawn agent VM Register agent Attach device to agent Set agent label
  • 17. Hub Agent at Superscale Docker now supports usb. Yey!
  • 18. Over The Air Updates CD Pipeline would be incomplete without delivery Don’t build devices without internet in 2016. Continuously deliver updates
  • 19. Over The Air Updates 1,000,000 SCADA systems are exposed on the internet - Used in Factories, Nuclear plants, Hospitals,... - 700+ vulnerabilities - No OTA = no Fix - => Have OTA, plz
  • 20. Over The Air Updates Typical memory layout system user data / config state bootloader calibration Vendor code from hell Done in factory. Don’t touch. Stuff to delete in CI. Always test from clean state OTA goes here
  • 21. Over The Air Updates Why OTA is full-image ➢ This is hardware, it doesn’t change. ➢ We must test a known state ➢ OTA scales to billions
  • 22. Over The Air Updates Classic staged rollouts before CD The thing git push git pull Build & test Roll to 1000 customersRelease for real
  • 23. Continuous Hardware git push build OTA cloud Dude your stuff is broketh Roll this?
  • 24. Build Environments OBS Meego yocto openwrt buildroot android package based system based hacks scratchbox2 Some words on scalability of build environments
  • 26. Vendors They don’t care. No one reads your test instructions. Barely anyone speaks english.
  • 27. Vendors Hardware vendors are “agile” too. memory chip origin: “found box in garage” ➢ Yield test != works ➢ Have every single variant in your test rack ➢ Write down chip versions on incoming batches ➢ Beware of changes even within batches ➢ Thanks to continuous deployment, we actually CAN test all variants on git push in parallel
  • 28. Vendors Destruction tests you want on every variant ➢ Flash memory until death (must survive specified number of cycle) ➢ Max that cpu, forever, until it desolders ➢ Battery charging cycles. ➢ Extreme environment conditions ➢ Find creative ways of destroying stuff ➢ (yeah, you, don’t trust that vendor)
  • 29. Exit Internet hardware is hard, implement CD early ➢ Flash memory until death (must survive specified number of cycle) ➢ Max that cpu, forever, until it desolders ➢ Battery charging cycles. ➢ Extreme environment conditions ➢ Find creative ways of destroying stuff