Skip to content

Implement a general test executor for all trace tools #571

Closed

Description

@sywhang

This is an issue to track a broad work item to implement a general test executor to help testing global tools for tracing (dotnet-counters, dotnet-trace) as well as LTTng.

Currently both dotnet-counters and dotnet-trace have tests, but not end-to-end testing. This is because the tests cannot be written in unit-test styles and has to be coordinated across two separate processes (the app being traced + the tool tracing the app). This applies to dotnet-counters, dotnet-trace, as well as LTTng.

Currently dotnet-dump already has SOSRunner, which is specific to SOS. The majority of this work can be reusing some of the components in SOSRunner (like ProcessRunner) and turn it into tracing coordinator.

With this in hand, we'll be able to automate full end-to-end testing for dotnet-counters, dotnet-trace, and LTTng.

Activity

  1. added this to the 5.0 milestone on Oct 18, 2019
  2. self-assigned this
    on Oct 18, 2019
  3. josalem commented on Oct 18, 2019

    @josalem
    Contributor

    This will be a good mechanism for comparing the event equivalence between ETW, EventPipe, and LTTng (when it makes sense). We have the individual components of the IPC mechanisms, event collection, counter collection, etc. covered pretty well, but this will add a unique coherence angle to our testing 👍

  4. modified the milestones: 5.0, 6.0 on Dec 18, 2020
  5. modified the milestones: 6.0.0, 7.0.0 on Jun 21, 2021
  6. modified the milestones: 7.0.0, 8.0.0 on Sep 12, 2022
  7. locked and limited conversation to collaborators on Sep 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

diagnostic global toolingengineeringenhancementtesting

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions