11 Auto Regression Analysis Shuang He Intel Linux Graphics Validation Team Open Source Technology Center 2011-08-16.

Slides:



Advertisements
Similar presentations
Delta Confidential 1 5/29 – 6/6, 2001 SAP R/3 V4.6c PP Module Order Change Management(OCM)
Advertisements

You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
© 2008 Oracle Corporation – Proprietary and Confidential.
© Copyright 2006 FPT Software 1 © FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 How to work in Fsoft project Authors: KienNT.
Advanced Piloting Cruise Plot.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Chapter 1 The Study of Body Function Image PowerPoint
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 5 Author: Julia Richards and R. Scott Hawley.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
UNITED NATIONS Shipment Details Report – January 2006.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
Exit a Customer Chapter 8. Exit a Customer 8-2 Objectives Perform exit summary process consisting of the following steps: Review service records Close.
My Alphabet Book abcdefghijklm nopqrstuvwxyz.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
MULTIPLYING MONOMIALS TIMES POLYNOMIALS (DISTRIBUTIVE PROPERTY)
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Addition Facts
Year 6 mental test 5 second questions
Year 6 mental test 10 second questions
ZMQS ZMQS
Solve Multi-step Equations
Multiplication Tile Facts Multiplication Tile Facts Rectangular next © 2009 Richard A. Medeiros.
Configuration management
Testing Workflow Purpose
ABC Technology Project
1 Undirected Breadth First Search F A BCG DE H 2 F A BCG DE H Queue: A get Undiscovered Fringe Finished Active 0 distance from A visit(A)
Symantec Education Skills Assessment SESA 3.0 Feature Showcase
VOORBLAD.
15. Oktober Oktober Oktober 2012.
1 Breadth First Search s s Undiscovered Discovered Finished Queue: s Top of queue 2 1 Shortest path from s.
©2007 First Wave Consulting, LLC A better way to do business. Period This is definitely NOT your father’s standard operating procedure.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Chapter 5 Microsoft Excel 2007 Window
1..
© 2012 National Heart Foundation of Australia. Slide 2.
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Chapter 5 Test Review Sections 5-1 through 5-4.
SIMOCODE-DP Software.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
DB analyzer utility An overview 1. DB Analyzer An application used to track discrepancies and other reports in Sanchay Post Constantly updated by SDC.
Addition 1’s to 20.
25 seconds left…...
Exponential and Logarithmic Functions
IT Analytics for Symantec Endpoint Protection
Januar MDMDFSSMDMDFSSS
REGISTRATION OF STUDENTS Master Settings STUDENT INFORMATION PRABANDHAK DEFINE FEE STRUCTURE FEE COLLECTION Attendance Management REPORTS Architecture.
Week 1.
Analyzing Genes and Genomes
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Intracellular Compartments and Transport
1 Unit 1 Kinematics Chapter 1 Day
PSSA Preparation.
Essential Cell Biology
Immunobiology: The Immune System in Health & Disease Sixth Edition
CpSc 3220 Designing a Database
© 2007 BST. All rights reserved. Confidential Information. SLU – 1 PDS_139 (0503) L2 Applying Problem- Solving Tools.
Intel® Education Learning in Context: Science Journal Intel Solutions Summit 2015, Dallas, TX.
Presentation transcript:

11 Auto Regression Analysis Shuang He Intel Linux Graphics Validation Team Open Source Technology Center

22 Legal Disclaimer INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL® PRODUCTS. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY RELATING TO SALE AND/OR USE OF INTEL PRODUCTS, INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT, OR OTHER INTELLECTUAL PROPERTY RIGHT. Intel may make changes to specifications, product descriptions, and plans at any time, without notice. Intel may make changes to specifications, product descriptions, and plans at any time, without notice. All dates provided are subject to change without notice. Intel is a trademark of Intel Corporation in the U.S. and other countries. *Other names and brands may be claimed as the property of others. Copyright © , Intel Corporation. All rights are protected.

33 Agenda Overview Architecture Auto Nightly Test Infrastructure Auto Nightly Analysis Plan Reference Catch and analyze every regression!

44 (commits)

55 Background Integrated Test suites: –Intel-gpu-tools (11 cases) –Rendercheck (10 cases) –Piglit (7500+ cases) –Cairo_test (1272 cases) –OpenGL conformance (4565 cases) –OpenGL ES 2.0 conformance (1198 cases) –Webglc (5685 cases)

66 Architecture DATABASE Auto Build Auto Test Auto Analysis Test Result Page gfx-ab-at infrastructure auto_bisect

77 Architecture

88 Information required for analysis Hardware information –GPU, CPU, Memory Build information –Software version Test information –Test case version –Test case result

99 Auto Nightly Build Build & Distribute Xorg components Build & Distribute Kernel package Build & Distribute Test suites Archives –X11R7.*.tgz –Kernel.* package Build info -> DATABASE –Component branch/commit –Infrastructure branch/commit –Test suite branch/commit

10 Auto Nightly Test Run test cases one by one Test log collection –Run time –Output –Dmesg per case test result ->DATABASE Test status watchdog –TIMEOUT -> killed –GPU hang -> reboot -> resume to next case –System hang -> reboot -> resume to next case Pre/post-condition check

11 Auto Nightly Test Process Target Test machine GPU hang check TIMEOUT control Running test case Build/control machine System hang check TIMEOUT control Resume after reboot Auto Test Control Init & control Finish & collect logs

12 Auto Nightly Analysis Track result change –Regression –Improvement Locate culprit component –Xorg component –Infrastructure –Testsuite Locate culprit commit –Xorg component –Infrastructure –Testsuite

13 Auto Nightly Analysis Process Test suite regression analysis Infrastructure regression analysis Kernel regression analysis Auto bisect Component regression analysis package regression analysis

14 Component regression analysis Purpose –Locating culprit component –uncommon component break difficulties –Too many components –Library dependency

15 Locate culprit component

16 Locate culprit component Reduce analysis effort –Only analyze libraries in use –Only analyze changed libraries Reduce dependency –Group related library

17 Locate culprit commit

18 bad branch first algorithm If A is bad commit, and C fixed it, and then F is bad again, A -> B -> C -> D -> E -> F -> G -> H (master) \ \ / O -> P... Q -> R -> S->T (feature 1) Start with H as bad commit, and D as good commit, it's possible git-bisect would jump to Q, and it will lead to wrong direction

19 Bad branch first algorithm EXAPMLE 2: Given this condition: A -> B -> C -> D -> E -> F -> G -> H (master) \ O -> P -> Q -> R -> S / (feature 1) \ X -> Y -> Z/ (feature 2) start with H as bad commit, and A as good commit, if y is the target bad commit.

20

21 Auto Nightly Analysis Arch

22 Auto Nightly Analysis Build machine Test machi ne Regression analysis Engineer s Build&d ist Case 1 Analyze case 1 Analysis report reques t Case 2 All case complete Test result Test report summary Case n Analyze case n Analysis report reques t regression

23 Nightly Test Result Page

24 Analysis enhancement Analysis accuracy –Verification Make sure all parents commit are good Analysis acceleration –Archive built binaries –Analyze regression in batch –Archive testing result

25 Some results Regression auto bisected Improvement auto bisected 2011-Aug Jul Jun May Apr Mar Feb Jan1933

26 Risk Unstable –System may hang –GPU hang –Test case unstable

27 Plan triggered patch test system PRTS (Patch Regression Test Suite) –Select test case set based on code modification Nightly Auto Test –Capture more info when case crashed Auto bisect for kernel/GPU hang Nightly test result page –Single case test result query –Quality trend indicators Pass rate Regression rate …

28 Q&A