Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Bunsen: A smart test system that knows your upstream

July 21, 2025
Frank Eigler
Related topics:
Artificial intelligenceC, C#, C++CI/CDDeveloper productivityDeveloper toolsOpen source
Related products:
Developer ToolsetRed Hat Enterprise Linux

Automated software testing sometimes operates on the code as a black box. The tools build the software, run the test suites, and collect results. At minimum, the tools can report pass/fail numbers. Generally, the tools cannot understand the scores, such as the cause and effect relationships between upstream code changes, environmental factors, and the results. Therefore, a human is tasked with taking manual action, because the testing tools don't grok the upstream.

In this article, we'll look at how Bunsen, a lightweight test suite result repository and analysis engine, addresses this issue.

How Bunsen addresses this issue

Bunsen scales enough to track large and busy upstream projects with millions of unit tests and is still nimble enough to fit onto a single server with practically zero infrastructure. Recently, we have extended Bunsen with upstream analysis capabilities, which has resulted in neat labor-saving and automation, with more coming. 

Our public Bunsen server is fed from a variety of automated builders and testers, including a local installation of buildbot. Hundreds or thousands of builds occur every day. These build and test runs have always collected complete logs, including build and environmental metadata that also identify the processed upstream Git repo/commit. The Bunsen tools have now started processing this upstream metadata and maintaining lightweight (blob-free) clones of upstream Git repos.

Examples 

The first example sounds goofy on first blush. Left to itself, a firehose of test run archives would eventually consume all storage in the universe. We were informed that this is undesirable, so the Bunsen servers are configured to periodically age out data from its archives and index. 

This is based on factors such as age and bulk, saving storage, and the world. However, we may want to keep some data indefinitely, such as tests of those builds that correspond to releases of upstream software. Many projects treat such test suite results—or at least result summaries—as precious artifacts that are useful for quality assurance of future major releases. But automatic aging based on age would clear them out without special treatment. 

With manual input, Bunsen users could mark particular test runs for protection from aging, but now Bunsen knows upstreams. It can find out which builds correspond to tagged commits—those that the upstream community thinks are worthy of note—and protects them. No manual Bunsen side work needed!

The second example is a user convenience. In the Bunsen web interface, each bit of build/environment metadata associated with test runs is represented as plain text. Now, upstream-related metadata fields are rendered as clickable links to point at the upstream Git repo and the particular Git commit, if a gitweb or cgit like system exists for them. This makes manual test run analysis easier (Figure 1).

bunsen decorating outgoing upstream links
Figure 1: Bunsen decorating outgoing upstream links.

But what if we could reduce manual test run analysis? The holy grail of testing is identifying causes of test result effects. While Bunsen cannot know all the possible causes for an errant test, it does know some environmental metadata (like architecture, compiler versions, etc.). 

We've previously added some AI capabilities for metadata/test correlating facilities. But now, Bunsen is also aware of upstream development. Joining the data together, it can also know what environment has changed between any two test runs, and the exact sequence of upstream commits that separate the two. It can also find other test runs for the same or nearby upstream commits. All the tool needs then is some intelligent analysis of those differences. 

Enter AI/LLM. Bunsen now has a tool and a web interface (a brain icon, naturally), for comparing sets of build/test runs. Bunsen can compute the metadata differences between pairs of test runs, enumerate all the upstream commits from one to the other, and formulate an analysis request as a prompt plus context to a large language model (LLM). Given your choice standard OpenAI-style inferencing system URL and apikey, Bunsen can submit the text to the LLM and report the analysis response. Ideally, high likelihood causal factors will be accurately identified. This is shown in Figure 2.

bunsen LLM partial analysis results for testrun/upstream changes
Figure 2: Bunsen LLM partial analysis results for testrun/upstream changes.

Summary

This is just the start. Fully automated regression blaming may become a practical possibility, all because of a single system that can understand both the causes and the effects of test results.

Related Posts

  • Uncover interesting test cases with AI/ML and Bunsen

  • Quickly analyze regression testing results with Bunsen

  • Detecting nondeterministic test cases with Bunsen

  • How Testing Farm makes testing your upstream project easier

Recent Posts

  • Protect data offloaded to GPU-accelerated environments with OpenShift sandboxed containers

  • Case study: Measuring energy efficiency on the x64 platform

  • How to prevent AI inference stack silent failures

  • Preventing GPU waste: A guide to JIT checkpointing with Kubeflow Trainer on OpenShift AI

  • How to manage TLS certificates used by OpenShift GitOps operator

What’s up next?

Download the Advanced Linux Commands cheat sheet. You'll learn to manage applications and executables in a Linux operating system, define search criteria and query audit logs, set and monitor network access, and more.

Get the cheat sheet
Red Hat Developers logo LinkedIn YouTube Twitter Facebook

Platforms

  • Red Hat AI
  • Red Hat Enterprise Linux
  • Red Hat OpenShift
  • Red Hat Ansible Automation Platform
  • See all products

Build

  • Developer Sandbox
  • Developer tools
  • Interactive tutorials
  • API catalog

Quicklinks

  • Learning resources
  • E-books
  • Cheat sheets
  • Blog
  • Events
  • Newsletter

Communicate

  • About us
  • Contact sales
  • Find a partner
  • Report a website issue
  • Site status dashboard
  • Report a security problem

RED HAT DEVELOPER

Build here. Go anywhere.

We serve the builders. The problem solvers who create careers with code.

Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

Sign me up

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2026 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility

Chat Support

Please log in with your Red Hat account to access chat support.