Skip to content

SKIPPED:BUG:MISSINGARG in MsQuic Logs #45

@nibanks

Description

@nibanks

I was just looking at a log generated from the MsQuic CI and I found this line (for an assert):

[0][][04:09:46.617630][ lib] ASSERT, 421:"/home/vsts/work/1/s/src/platform/platform_linux.c"<SKIPPED:BUG:MISSINGARG:arg4:ANSI_String>.

This maps to the following code:

void
QuicPlatformLogAssert(
    _In_z_ const char* File,
    _In_ int Line,
    _In_z_ const char* Expr
    )
{
    QuicTraceEvent(
        LibraryAssert,
        "[ lib] ASSERT, %u:%s - %s.",
        (uint32_t)Line,
        File,
        Expr);
}

That is triggered by this macro:

#define QUIC_FRE_ASSERT(exp) ((exp) ? (void)0 : (QuicPlatformLogAssert(__FILE__, __LINE__, #exp), quic_bugcheck()));

I don't know why clog would claim the arg is missing. I suspect a CLOG bug. The artifacts can be found here (for now): https://dev.azure.com/ms/msquic/_build/results?buildId=99107&view=artifacts&type=publishedArtifacts

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdecodeRelated to converting logs to text

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions