Git Product home page Git Product logo

clean-room's People

Contributors

sarowe avatar shalinmangar avatar

Watchers

 avatar  avatar  avatar

clean-room's Issues

Fold support for jenkins failure reports into a filter?

Right now, there are separate scripts and configurations for identifying flaky tests using bare metal beasting and jenkins failure reports. But conceptually both are really just sources of data that must be combined together. For example, if we use jenkins failure reports as the source, we must still run the beasting filters to see if we can reproduce the failure. If the beasting filters cannot reproduce the failure then it is impossible to perform a git bisection. Perhaps we can just fold the use of jenkins failure report as another filter before/after beasting and simplify the code base?

Fix filter process to return separate values for pass, fail and errors

A git bisect requires that we differentiate between a pass, fail, skip and abort. However, the current filters only return a pass or fail value. The fail can mean a real failure or a build failure. This can lead to wrong bisection and must be fixed. The corresponding source files are room_filter.py

Visualize report data for each date on the html report

We should perhaps have a separate html page (either static or JS/dynamic) for each test date so that information specific to each date can be visualized. Examples of such information are room data, promotions, demotions, blame info etc.

Promote tests to clean room only if they can pass all filters

The promote_if_not_failed_days configuration is used to promote tests to the clean room if they haven't failed in the last N days. But promotion should happen only if the test can pass all filters. Otherwise tests which are disabled and not run by the jenkins jobs might also be promoted by mistake.

Blame should save blame data in the report.json

Blame only prints the output on stdout and logs it to a text file. It should modify the given test date's report.json and store blame info so that it can be processed or visualised later by the reporting script.

Run filters on bad commit before blame/bisection

We use the jenkins data to demote tests to detention and each such demotion is to be bisected to find the offending commit. However, for bisection to work we must be able to reproduce the test failure (unless it is a new test, in which case blame is a quick git log). We should run each demoted test against the configured filters and run blame only if the filters fail for this test. If the test passes our filters then we should mark the test somehow and indicate in the report{.json,.html} and skip running blame.

Add support for demoting tests only if they failed on N subsequent days/weeks at least K times

We have support for a promote_if_not_failed_days configuration parameter which is used to promote tests to the clean room provided they have not appeared in the jenkins failure reports for the last N days and can pass all filters. However, we do not have a corresponding feature to demote tests only if they failed in the last N days or weeks or failed K times in a given date interval.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.