Font Size: a A A

Open-source Software Orented Automatic Testing And Defects Positioning Framework Design And Implementation

Posted on:2016-11-20Degree:MasterType:Thesis
Country:ChinaCandidate:J X GuoFull Text:PDF
GTID:2348330503994296Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development of computer technology, the usage of open-source software is also growing, and the open-source development methods are increasingly being accepted by the people. However, the characteristics of open source software determined the testing and debugging are difficult than close-source software, especially the large-scale open-source software projects, which’s developers located all around the world. Highly automated test framework and defect localization framework for open-source software is the better solution. In this paper, According the design and implementation of Intel Linux graphics drivers automation test and defect localization framework, research the feasibility for common open source software framework for automated testing and defect localization.Linux platform Intel graphics driver project, have a mass of code, numerous test cases, and need frequent large-scale repetitive testing. The design and implementation of automated testing and defect localization framework includes following tasks: 1.automated compile for kernel. Because some graphics driver integrated in the Linux kernel, the target kernel needs to be compiled before test. This framework uses a distributed cloud service sub system for kernel compilation. The sub system have one master server to monitor the changes for the code repo, to generate the list of the kernel to be compiled, and have some compile server, which’s number is able to increased or decreased according the frequency of the code change. The compile server get task from the task list, compile it and remove it from task list. The strategy ensure the compilation efficiency, and save the number of the hardware server based on the frequency of the kernel code changes; 2.Kexec kernel fast switching technology. In the kernel tests, the kernel usually replacement frequently. Install kernel for each test will spent much time and have mass of disk space consumption. With Kexec, the test kernel needn’t to install to local disk, can be load into memory during system boot up; 3. Defect localization based on git bisect. Git bisect based defects positioning function can quickly locate the defect, find the patch which lead to the defect. Which can reduce the time testers and developers to analyze defects and provide software development productivity.The automation test and defect localization framework was completed, and was operate more than six months in Intel open source technology center for Linux platform Intel graphics driver testing. The framework used modular design and development. After some slightly modified, the test framework is able to be used for common open-source software automation testing and defect localization. There are far-reaching prospects during open-source software to flourish.
Keywords/Search Tags:Automation, Kexec, Defact location, Git bisect
PDF Full Text Request
Related items