SlideShare a Scribd company logo
1 of 18
Download to read offline
AQAvit: Vitality through Testing
May 2021
Shelley Lambert
Sophia Guo
AdoptOpenJDK -> Eclipse Adoptium
@ShelleyMLambert | Red Hat
@Sophia_Wfguo | Red Hat
• 2nd largest distributor of OpenJDK binaries (270,000,000+ downloads)
• Differentiated by:
• diverse, open community
• range of platforms
• quality assurance program
AQAvit
Eclipse Adoptium Project Structure
@ShelleyMLambert | Red Hat
@Sophia_Wfguo | Red Hat
• Adoptium (WG & Project) projects.eclipse.org/projects/adoptium
• Temurin (Build & Distribute) projects.eclipse.org/projects/adoptium.temurin
• AQAvit (Test for Quality) projects.eclipse.org/projects/adoptium.aqavit
• Incubator (Innovate) projects.eclipse.org/projects/adoptium.incubator
• Temurin-compliance (Test for Compliance)
Adoptium Quality Assurance (AQA)
@ShelleyMLambert | Red Hat
@Sophia_Wfguo | Red Hat
• Openly testing a wide criteria of enterprise business requirements to
identify binaries ready for production usage
Before AQA
Functional correctness
OpenJDK regression (open)
Builder-specific testing (unknown)
AQA Roadmap
Security
Passes known vulnerability tests
Functional correctness
OpenJDK regression (open)
Eclipse functional (open)
Application & framework tests (open)
Performance
Published metrics (open)
Achieves minimum throughput scores (open)
Scalability & durability
Load & stress testing (open)
?
AQA Overview
@ShelleyMLambert | Red Hat
@Sophia_Wfguo | Red Hat
• Set of tests selected from key open-source stacks
• Ensure enterprise level quality requirements
• Community-driven process
• Designed for developer devops
• Reproducible test environment
• Graduated levels of testing
• Release dashboard with live results
About the Tests
@ShelleyMLambert | Red Hat
@Sophia_Wfguo | Red Hat
• groups: functional, openjdk, system, external, perf
• levels: sanity, extended, special
• impls: hotspot, openj9
• versions: 8, 11, 16, 17…
• types: regular, native
https://github.com/adoptium/aqa-tests
functional openjdk perf
external
system
testNG, junit
cmdlinetester
STF
junit, mvn &
others
Assorted
benchmarks
Jtreg, testNG
$
(
J
A
V
A
_
B
I
N
)
/
j
a
v
a
-
X
m
x
5
1
2
m
-
j
a
r
j
t
r
e
g
.
j
a
r
-
v
m
o
p
t
i
o
n
s
:
"
-
X
m
x
5
1
2
m
"
-
w
w
o
r
k
-
r
r
e
p
o
r
t
-
j
d
k
:
$
(
J
D
K
_
H
O
M
E
)
-
e
x
c
l
u
d
e
:
P
r
o
b
l
e
m
L
i
s
t
.
t
x
t
j
d
k
_
m
a
t
h
$
(
J
A
V
A
_
B
I
N
)
/
j
a
v
a
-
c
p
G
e
n
e
r
a
l
T
e
s
t
.
j
a
r
o
r
g
.
t
e
s
t
n
g
.
T
e
s
t
N
G
-
d
$
(
R
E
P
O
R
T
D
I
R
)
t
e
s
t
n
g
.
x
m
l
-
t
e
s
t
n
a
m
e
s
f
l
o
a
t
S
a
n
i
t
y
T
e
s
t
s
-
g
r
o
u
p
s
s
a
n
i
t
y
p
e
r
l
s
t
f
.
p
l
-
t
e
s
t
-
r
o
o
t
=
o
p
e
n
j
d
k
-
s
y
s
t
e
m
t
e
s
t
_
r
o
o
t
-
s
y
s
t
e
m
t
e
s
t
-
p
r
e
r
e
q
s
=
s
y
s
t
e
m
t
e
s
t
_
p
r
e
r
e
q
s
-
j
a
v
a
-
a
r
g
s
=
-
X
j
i
t
-
r
e
s
u
l
t
s
-
r
o
o
t
=
r
e
p
o
r
t
d
i
r
-
t
e
s
t
=
C
o
n
c
u
r
r
e
n
t
L
o
a
d
T
e
s
t
s
b
t
"
p
a
r
t
e
s
t
$
(
T
E
S
T
_
S
U
I
T
E
)
”
$
{
A
N
T
_
H
O
M
E
}
/
b
i
n
/
a
n
t
-
D
i
v
y
_
i
n
s
t
a
l
l
_
p
a
t
h
=
$
{
A
N
T
_
H
O
M
E
}
/
l
i
b
-
l
i
b
$
{
A
N
T
_
H
O
M
E
}
/
l
i
b
-
f
$
{
L
U
C
E
N
E
_
S
O
L
R
_
H
O
M
E
}
/
l
u
c
e
n
e
-
s
o
l
r
/
b
u
i
l
d
.
x
m
l
-
D
u
s
e
r
.
h
o
m
e
=
$
{
L
U
C
E
N
E
_
S
O
L
R
_
H
O
M
E
}
-
D
c
o
m
m
o
n
.
d
i
r
=
$
{
L
U
C
E
N
E
_
S
O
L
R
_
H
O
M
E
}
/
l
u
c
e
n
e
-
s
o
l
r
/
l
u
c
e
n
e
t
e
s
t
$
(
J
A
V
A
_
B
I
N
)
/
j
a
v
a
-
D
B
u
m
b
l
e
B
e
n
c
h
.
l
i
s
t
o
p
t
i
o
n
s
-
j
a
r
B
u
m
b
l
e
B
e
n
c
h
.
j
a
r
[
B
e
n
c
h
m
a
r
k
n
a
m
e
]
functional openjdk perf
external
system
testNG,
cmdlinetester
STF junit & others Assorted
benchmarks
Jtreg, testNG
testkitgen
m
a
k
e
_
f
u
n
c
t
i
o
n
a
l
m
a
k
e
_
o
p
e
n
j
d
k
m
a
k
e
_
s
y
s
t
e
m
m
a
k
e
_
e
x
t
e
r
n
a
l
m
a
k
e
_
p
e
r
f
Slice & Dice
Automation and the “3 layer cake”
@ShelleyMLambert | Red Hat
@Sophia_Wfguo | Red Hat
TestKitGen (TKG)
Test Results Summary Service (TRSS)
CI System (Jenkins / Tekton / AzDO / Github Actions, etc.)
Responsibilities:
- Categorize logically, Generates test targets based on playlist (level/platform/version/impl specific)
- Execute tests via common command line / make target patterns
- Test addition via auto-discovered directories, Standardize exclusion
- Parameters: BUILD_LIST, EXTRA_OPTIONS, JVM_OPTIONS, TEST_FLAG, ITERATION
- Generate dynamic test playlists based on input (smart parallelization)
Responsibilities:
- Schedule regular builds
- Multiplex tests across multiple nodes of all platforms
- Basic GUI view of test results
- Basic forms of parallelization
Responsibilities:
- Monitor multiple CI servers
- Graphical, Aggregate summary, Deep history
- Search/sort/filter
- Pluggable parsers
- Basis for deeper analytics and deep learning services
Layer 1: Standalone
- Standardized test execution, exclusion, reporting (TAP)
- Overlay additional tests
- Single code base for multi-version
- Reproducibility
- Parallel modes
Layer 2: Requires L1
- Multiplex across more nodes/platforms
- Scheduling
- Basic GUI
- Enhanced granularity for test results in JUnit format
Layer 3: Requires L1 & L2
- Database queries
- Search/sort/filter/analyze across DB entries
- Monitor anything
- Basis for extras
Layer 1: TKG
@ShelleyMLambert | Red Hat
@Sophia_Wfguo | Red Hat
• Demo - Basic local execution • Fetch test definitions & materials
• git clone aqa-tests
• get.sh (to fetch materials)
• Tell TKG what to compile & test
• export BUILD_LIST=openjdk,system
• export TEST_JDK_HOME=$SUT
• Compile test material
• make compile
• Run tests
• make _test_target
Layer 2: CI with Jenkins
@ShelleyMLambert | Red Hat
@Sophia_Wfguo | Red Hat
• Grinder
• Grinder PARALLEL=Dynamic
Layer 2: CI with Github Actions
@ShelleyMLambert | Red Hat
@Sophia_Wfguo | Red Hat
• Demo
• setup-java
• install-jdk
• build-jdk
• build-openj9
• run-aqa
GitHub Action Background
@User-Handle | Company
• Automate your workflow
• Yaml file under .github/worksflows
• Run a workflow on any GitHub event
• Push, issues, comment, label, release, etc
• GitHub-hosted runners (win, ubuntu, mac)
build-openj9
@User-Handle | Company
• https://github.com/eclipse-openj9/build-openj9
• Supported: ubuntu, mac, win
• Related repos:
• openj9, openj9-omr, openj9-openjdk-jdk${version}
• usePersonalRepo
• Auto use developers’ branch
run-aqa
@User-Handle | Company
• https://github.com/adoptium/run-aqa
• Supported: ubuntu, win, mac
• Test Category:
• openjdk, functional, external, system, etc
• Test JDK:
• JDK built by GitHub action: build-jdk, build-openj9
• Installed JDK: Adoptium EA, GA, zulu Openjdk, https
Layer 3: TRSS
@ShelleyMLambert | Red Hat
@Sophia_Wfguo | Red Hat
• Demo - API, Grid view
• Demo - Triage helpers, “the Big Four”
• Across platforms
• Deep history
• Possible issues
• Raise an issue
• Release Triage report
• Performance views
2021 AQAvit Program Plan
@ShelleyMLambert | Red Hat
@Sophia_Wfguo | Red Hat
• AQAvit quality mark & Adoptium marketplace
• Enhancements
• External tests (Tweetest)
• Performance benchmarks
• ML on results (Deep AQAtik)
Connect!
•Twitter: @adoptium
•Github: https://github.com/adoptium
•Slack: https://adoptium.net/slack.html
Quality versus Conformance
@ShelleyMLambert | Red Hat
@Sophia_Wfguo | Red Hat
• https://github.com/AdoptOpenJDK/TSC/issues/222#issuecomment-818020349
TCK AQA
Purpose
Compliance 

(conforms to the Java
specification)
Test for Quality
(functional correctness,
performance, scalability,
security, robustness)
Availability Closed under OCTLA
(license agreement with Oracle)
Open-source /
available to all

More Related Content

What's hot

Setting up Notifications, Alerts & Webhooks with Flux v2 by Alison Dowdney
Setting up Notifications, Alerts & Webhooks with Flux v2 by Alison DowdneySetting up Notifications, Alerts & Webhooks with Flux v2 by Alison Dowdney
Setting up Notifications, Alerts & Webhooks with Flux v2 by Alison Dowdney
Weaveworks
 

What's hot (20)

Red Hat OpenShift Operators - Operators ABC
Red Hat OpenShift Operators - Operators ABCRed Hat OpenShift Operators - Operators ABC
Red Hat OpenShift Operators - Operators ABC
 
4K–Kubernetes with Knative, Kafka and Kamel
4K–Kubernetes with Knative, Kafka and Kamel 4K–Kubernetes with Knative, Kafka and Kamel
4K–Kubernetes with Knative, Kafka and Kamel
 
Openbar 7 - Leuven - OpenShift - The Enterprise Container Platform - Piros
Openbar 7 - Leuven - OpenShift - The Enterprise Container Platform - PirosOpenbar 7 - Leuven - OpenShift - The Enterprise Container Platform - Piros
Openbar 7 - Leuven - OpenShift - The Enterprise Container Platform - Piros
 
Migrating To GitHub
Migrating To GitHub  Migrating To GitHub
Migrating To GitHub
 
The_Little_Jenkinsfile_That_Could
The_Little_Jenkinsfile_That_CouldThe_Little_Jenkinsfile_That_Could
The_Little_Jenkinsfile_That_Could
 
Implementing Continuous Delivery with Enterprise Middleware
Implementing Continuous Delivery with Enterprise MiddlewareImplementing Continuous Delivery with Enterprise Middleware
Implementing Continuous Delivery with Enterprise Middleware
 
DevOps @ OpenShift Online
DevOps @ OpenShift OnlineDevOps @ OpenShift Online
DevOps @ OpenShift Online
 
Intro to Git: a hands-on workshop
Intro to Git: a hands-on workshopIntro to Git: a hands-on workshop
Intro to Git: a hands-on workshop
 
Setting up Notifications, Alerts & Webhooks with Flux v2 by Alison Dowdney
Setting up Notifications, Alerts & Webhooks with Flux v2 by Alison DowdneySetting up Notifications, Alerts & Webhooks with Flux v2 by Alison Dowdney
Setting up Notifications, Alerts & Webhooks with Flux v2 by Alison Dowdney
 
Automated Image Builds in OpenShift and Kubernetes
Automated Image Builds in OpenShift and KubernetesAutomated Image Builds in OpenShift and Kubernetes
Automated Image Builds in OpenShift and Kubernetes
 
Puzzle ITC Talk @Docker CH meetup CI CD_with_Openshift_0.2
Puzzle ITC Talk @Docker CH meetup CI CD_with_Openshift_0.2Puzzle ITC Talk @Docker CH meetup CI CD_with_Openshift_0.2
Puzzle ITC Talk @Docker CH meetup CI CD_with_Openshift_0.2
 
A CI/CD Pipeline to Deploy and Maintain OpenStack - cfgmgmtcamp2015
A CI/CD Pipeline to Deploy and Maintain OpenStack - cfgmgmtcamp2015A CI/CD Pipeline to Deploy and Maintain OpenStack - cfgmgmtcamp2015
A CI/CD Pipeline to Deploy and Maintain OpenStack - cfgmgmtcamp2015
 
はじめての JFrog Artifactory
はじめての JFrog Artifactoryはじめての JFrog Artifactory
はじめての JFrog Artifactory
 
Open shift and docker - october,2014
Open shift and docker - october,2014Open shift and docker - october,2014
Open shift and docker - october,2014
 
CI/CD Pipeline to Deploy and Maintain an OpenStack IaaS Cloud
CI/CD Pipeline to Deploy and Maintain an OpenStack IaaS CloudCI/CD Pipeline to Deploy and Maintain an OpenStack IaaS Cloud
CI/CD Pipeline to Deploy and Maintain an OpenStack IaaS Cloud
 
OpenShift for Java EE Developers
OpenShift for Java EE DevelopersOpenShift for Java EE Developers
OpenShift for Java EE Developers
 
Continuous delivery with jenkins pipelines (@WeAreDevelopers2017)
Continuous delivery with jenkins pipelines (@WeAreDevelopers2017)Continuous delivery with jenkins pipelines (@WeAreDevelopers2017)
Continuous delivery with jenkins pipelines (@WeAreDevelopers2017)
 
DevOps with OpenShift - Fabien Dupont - ManageIQ Design Summit 2016
DevOps with OpenShift - Fabien Dupont - ManageIQ Design Summit 2016DevOps with OpenShift - Fabien Dupont - ManageIQ Design Summit 2016
DevOps with OpenShift - Fabien Dupont - ManageIQ Design Summit 2016
 
JavaCro'14 - Continuous delivery of Java EE applications with Jenkins and Doc...
JavaCro'14 - Continuous delivery of Java EE applications with Jenkins and Doc...JavaCro'14 - Continuous delivery of Java EE applications with Jenkins and Doc...
JavaCro'14 - Continuous delivery of Java EE applications with Jenkins and Doc...
 
Meetup Openshift Geneva 03/10
Meetup Openshift Geneva 03/10Meetup Openshift Geneva 03/10
Meetup Openshift Geneva 03/10
 

Similar to AQAvit: Vitality through Testing

Cerberus_Presentation1
Cerberus_Presentation1Cerberus_Presentation1
Cerberus_Presentation1
CIVEL Benoit
 
From 0 to DevOps in 80 Days [Webinar Replay]
From 0 to DevOps in 80 Days [Webinar Replay]From 0 to DevOps in 80 Days [Webinar Replay]
From 0 to DevOps in 80 Days [Webinar Replay]
Dynatrace
 

Similar to AQAvit: Vitality through Testing (20)

Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)
 
Cerberus_Presentation1
Cerberus_Presentation1Cerberus_Presentation1
Cerberus_Presentation1
 
DevOps on AWS: Accelerating Software Delivery with the AWS Developer Tools
DevOps on AWS: Accelerating Software Delivery with the AWS Developer ToolsDevOps on AWS: Accelerating Software Delivery with the AWS Developer Tools
DevOps on AWS: Accelerating Software Delivery with the AWS Developer Tools
 
Developing for the Atlassian Ecosystem
Developing for the Atlassian EcosystemDeveloping for the Atlassian Ecosystem
Developing for the Atlassian Ecosystem
 
AQA_You are_Soaking_In_It_DevNexus2020
AQA_You are_Soaking_In_It_DevNexus2020AQA_You are_Soaking_In_It_DevNexus2020
AQA_You are_Soaking_In_It_DevNexus2020
 
What to expect from Java 9
What to expect from Java 9What to expect from Java 9
What to expect from Java 9
 
Mayur_Resume (2) (1)
Mayur_Resume (2) (1)Mayur_Resume (2) (1)
Mayur_Resume (2) (1)
 
End_to_End_DevOps.pptx
End_to_End_DevOps.pptxEnd_to_End_DevOps.pptx
End_to_End_DevOps.pptx
 
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
 
Advanced Java Testing @ POSS 2019
Advanced Java Testing @ POSS 2019Advanced Java Testing @ POSS 2019
Advanced Java Testing @ POSS 2019
 
From 0 to DevOps in 80 Days [Webinar Replay]
From 0 to DevOps in 80 Days [Webinar Replay]From 0 to DevOps in 80 Days [Webinar Replay]
From 0 to DevOps in 80 Days [Webinar Replay]
 
In cluster open source testing framework - Microservices Meetup
In cluster open source testing framework - Microservices MeetupIn cluster open source testing framework - Microservices Meetup
In cluster open source testing framework - Microservices Meetup
 
Operating a High Velocity Large Organization with Spring Cloud Microservices
Operating a High Velocity Large Organization with Spring Cloud MicroservicesOperating a High Velocity Large Organization with Spring Cloud Microservices
Operating a High Velocity Large Organization with Spring Cloud Microservices
 
Building XWiki
Building XWikiBuilding XWiki
Building XWiki
 
How to Build Your Own Test Automation Framework?
How to Build Your Own Test Automation Framework?How to Build Your Own Test Automation Framework?
How to Build Your Own Test Automation Framework?
 
Spring Roo Add-On Development & Distribution
Spring Roo Add-On Development & DistributionSpring Roo Add-On Development & Distribution
Spring Roo Add-On Development & Distribution
 
New types of tests for Java projects
New types of tests for Java projectsNew types of tests for Java projects
New types of tests for Java projects
 
Continuous Delivery: How RightScale Releases Weekly
Continuous Delivery: How RightScale Releases WeeklyContinuous Delivery: How RightScale Releases Weekly
Continuous Delivery: How RightScale Releases Weekly
 
Continuous Delivery - Automate & Build Better Software with Travis CI
Continuous Delivery - Automate & Build Better Software with Travis CIContinuous Delivery - Automate & Build Better Software with Travis CI
Continuous Delivery - Automate & Build Better Software with Travis CI
 
Why so continuous
Why so continuousWhy so continuous
Why so continuous
 

More from Shelley Lambert

More from Shelley Lambert (7)

Listening To a Forest for Project Health
Listening To a Forest for Project HealthListening To a Forest for Project Health
Listening To a Forest for Project Health
 
Cloud-based Test Microservices JavaOne 2014
Cloud-based Test Microservices JavaOne 2014Cloud-based Test Microservices JavaOne 2014
Cloud-based Test Microservices JavaOne 2014
 
SledgehammerToFinebrush_Devnexus_2021
SledgehammerToFinebrush_Devnexus_2021SledgehammerToFinebrush_Devnexus_2021
SledgehammerToFinebrush_Devnexus_2021
 
Sledgehammer to Fine Brush for QA
Sledgehammer to Fine Brush for QASledgehammer to Fine Brush for QA
Sledgehammer to Fine Brush for QA
 
Learning on Deep Learning
Learning on Deep LearningLearning on Deep Learning
Learning on Deep Learning
 
DealingwithVerificationDataOverload
DealingwithVerificationDataOverloadDealingwithVerificationDataOverload
DealingwithVerificationDataOverload
 
AdoptOpenJDK Quality Assurance OJDK Lightning Talk
AdoptOpenJDK Quality Assurance OJDK Lightning TalkAdoptOpenJDK Quality Assurance OJDK Lightning Talk
AdoptOpenJDK Quality Assurance OJDK Lightning Talk
 

Recently uploaded

CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
anilsa9823
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 

Recently uploaded (20)

The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 

AQAvit: Vitality through Testing

  • 1.
  • 2. AQAvit: Vitality through Testing May 2021 Shelley Lambert Sophia Guo
  • 3. AdoptOpenJDK -> Eclipse Adoptium @ShelleyMLambert | Red Hat @Sophia_Wfguo | Red Hat • 2nd largest distributor of OpenJDK binaries (270,000,000+ downloads) • Differentiated by: • diverse, open community • range of platforms • quality assurance program AQAvit
  • 4. Eclipse Adoptium Project Structure @ShelleyMLambert | Red Hat @Sophia_Wfguo | Red Hat • Adoptium (WG & Project) projects.eclipse.org/projects/adoptium • Temurin (Build & Distribute) projects.eclipse.org/projects/adoptium.temurin • AQAvit (Test for Quality) projects.eclipse.org/projects/adoptium.aqavit • Incubator (Innovate) projects.eclipse.org/projects/adoptium.incubator • Temurin-compliance (Test for Compliance)
  • 5. Adoptium Quality Assurance (AQA) @ShelleyMLambert | Red Hat @Sophia_Wfguo | Red Hat • Openly testing a wide criteria of enterprise business requirements to identify binaries ready for production usage Before AQA Functional correctness OpenJDK regression (open) Builder-specific testing (unknown) AQA Roadmap Security Passes known vulnerability tests Functional correctness OpenJDK regression (open) Eclipse functional (open) Application & framework tests (open) Performance Published metrics (open) Achieves minimum throughput scores (open) Scalability & durability Load & stress testing (open) ?
  • 6. AQA Overview @ShelleyMLambert | Red Hat @Sophia_Wfguo | Red Hat • Set of tests selected from key open-source stacks • Ensure enterprise level quality requirements • Community-driven process • Designed for developer devops • Reproducible test environment • Graduated levels of testing • Release dashboard with live results
  • 7. About the Tests @ShelleyMLambert | Red Hat @Sophia_Wfguo | Red Hat • groups: functional, openjdk, system, external, perf • levels: sanity, extended, special • impls: hotspot, openj9 • versions: 8, 11, 16, 17… • types: regular, native https://github.com/adoptium/aqa-tests functional openjdk perf external system testNG, junit cmdlinetester STF junit, mvn & others Assorted benchmarks Jtreg, testNG $ ( J A V A _ B I N ) / j a v a - X m x 5 1 2 m - j a r j t r e g . j a r - v m o p t i o n s : " - X m x 5 1 2 m " - w w o r k - r r e p o r t - j d k : $ ( J D K _ H O M E ) - e x c l u d e : P r o b l e m L i s t . t x t j d k _ m a t h $ ( J A V A _ B I N ) / j a v a - c p G e n e r a l T e s t . j a r o r g . t e s t n g . T e s t N G - d $ ( R E P O R T D I R ) t e s t n g . x m l - t e s t n a m e s f l o a t S a n i t y T e s t s - g r o u p s s a n i t y p e r l s t f . p l - t e s t - r o o t = o p e n j d k - s y s t e m t e s t _ r o o t - s y s t e m t e s t - p r e r e q s = s y s t e m t e s t _ p r e r e q s - j a v a - a r g s = - X j i t - r e s u l t s - r o o t = r e p o r t d i r - t e s t = C o n c u r r e n t L o a d T e s t s b t " p a r t e s t $ ( T E S T _ S U I T E ) ” $ { A N T _ H O M E } / b i n / a n t - D i v y _ i n s t a l l _ p a t h = $ { A N T _ H O M E } / l i b - l i b $ { A N T _ H O M E } / l i b - f $ { L U C E N E _ S O L R _ H O M E } / l u c e n e - s o l r / b u i l d . x m l - D u s e r . h o m e = $ { L U C E N E _ S O L R _ H O M E } - D c o m m o n . d i r = $ { L U C E N E _ S O L R _ H O M E } / l u c e n e - s o l r / l u c e n e t e s t $ ( J A V A _ B I N ) / j a v a - D B u m b l e B e n c h . l i s t o p t i o n s - j a r B u m b l e B e n c h . j a r [ B e n c h m a r k n a m e ] functional openjdk perf external system testNG, cmdlinetester STF junit & others Assorted benchmarks Jtreg, testNG testkitgen m a k e _ f u n c t i o n a l m a k e _ o p e n j d k m a k e _ s y s t e m m a k e _ e x t e r n a l m a k e _ p e r f Slice & Dice
  • 8. Automation and the “3 layer cake” @ShelleyMLambert | Red Hat @Sophia_Wfguo | Red Hat TestKitGen (TKG) Test Results Summary Service (TRSS) CI System (Jenkins / Tekton / AzDO / Github Actions, etc.) Responsibilities: - Categorize logically, Generates test targets based on playlist (level/platform/version/impl specific) - Execute tests via common command line / make target patterns - Test addition via auto-discovered directories, Standardize exclusion - Parameters: BUILD_LIST, EXTRA_OPTIONS, JVM_OPTIONS, TEST_FLAG, ITERATION - Generate dynamic test playlists based on input (smart parallelization) Responsibilities: - Schedule regular builds - Multiplex tests across multiple nodes of all platforms - Basic GUI view of test results - Basic forms of parallelization Responsibilities: - Monitor multiple CI servers - Graphical, Aggregate summary, Deep history - Search/sort/filter - Pluggable parsers - Basis for deeper analytics and deep learning services Layer 1: Standalone - Standardized test execution, exclusion, reporting (TAP) - Overlay additional tests - Single code base for multi-version - Reproducibility - Parallel modes Layer 2: Requires L1 - Multiplex across more nodes/platforms - Scheduling - Basic GUI - Enhanced granularity for test results in JUnit format Layer 3: Requires L1 & L2 - Database queries - Search/sort/filter/analyze across DB entries - Monitor anything - Basis for extras
  • 9. Layer 1: TKG @ShelleyMLambert | Red Hat @Sophia_Wfguo | Red Hat • Demo - Basic local execution • Fetch test definitions & materials • git clone aqa-tests • get.sh (to fetch materials) • Tell TKG what to compile & test • export BUILD_LIST=openjdk,system • export TEST_JDK_HOME=$SUT • Compile test material • make compile • Run tests • make _test_target
  • 10. Layer 2: CI with Jenkins @ShelleyMLambert | Red Hat @Sophia_Wfguo | Red Hat • Grinder • Grinder PARALLEL=Dynamic
  • 11. Layer 2: CI with Github Actions @ShelleyMLambert | Red Hat @Sophia_Wfguo | Red Hat • Demo • setup-java • install-jdk • build-jdk • build-openj9 • run-aqa
  • 12. GitHub Action Background @User-Handle | Company • Automate your workflow • Yaml file under .github/worksflows • Run a workflow on any GitHub event • Push, issues, comment, label, release, etc • GitHub-hosted runners (win, ubuntu, mac)
  • 13. build-openj9 @User-Handle | Company • https://github.com/eclipse-openj9/build-openj9 • Supported: ubuntu, mac, win • Related repos: • openj9, openj9-omr, openj9-openjdk-jdk${version} • usePersonalRepo • Auto use developers’ branch
  • 14. run-aqa @User-Handle | Company • https://github.com/adoptium/run-aqa • Supported: ubuntu, win, mac • Test Category: • openjdk, functional, external, system, etc • Test JDK: • JDK built by GitHub action: build-jdk, build-openj9 • Installed JDK: Adoptium EA, GA, zulu Openjdk, https
  • 15. Layer 3: TRSS @ShelleyMLambert | Red Hat @Sophia_Wfguo | Red Hat • Demo - API, Grid view • Demo - Triage helpers, “the Big Four” • Across platforms • Deep history • Possible issues • Raise an issue • Release Triage report • Performance views
  • 16. 2021 AQAvit Program Plan @ShelleyMLambert | Red Hat @Sophia_Wfguo | Red Hat • AQAvit quality mark & Adoptium marketplace • Enhancements • External tests (Tweetest) • Performance benchmarks • ML on results (Deep AQAtik)
  • 18. Quality versus Conformance @ShelleyMLambert | Red Hat @Sophia_Wfguo | Red Hat • https://github.com/AdoptOpenJDK/TSC/issues/222#issuecomment-818020349 TCK AQA Purpose Compliance (conforms to the Java specification) Test for Quality (functional correctness, performance, scalability, security, robustness) Availability Closed under OCTLA (license agreement with Oracle) Open-source / available to all