VSCodeTriageBot / testissues

Clone of the vscode issue stream.
41 stars 23 forks source link

Can't extract contents of trace logs (vscode-debugadapter-*.json.gz) #386

Open VSCodeTriageBot opened 2 years ago

VSCodeTriageBot commented 2 years ago

Does this issue occur when all extensions are disabled?: Yes

Steps to Reproduce:

  1. Create a launch.json or modify one to include "trace": true
  2. Run the launch config
  3. In a terminal, navigate to where the *.json.gz file is saved
  4. Attempt to extract the file with gunzip/gzip/tar/etc.

Here is my launch config:

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "pwa-chrome",
            "request": "attach",
            "name": "Debug Client",
        "port": 9222,
        "url": "http://localhost:300",
        "webRoot": "${workspaceFolder}/src",
        "trace": true
        }
    ]
}

Expected result: for the extraction to work

Actual results: extraction fails:

>> % gunzip -d vscode-debugadapter-2c6cf698.json.gz 
gunzip: vscode-debugadapter-2c6cf698.json.gz: unexpected end of file
gunzip: vscode-debugadapter-2c6cf698.json.gz: uncompress failed
>> % gzip -d vscode-debugadapter-2c6cf698.json.gz 
gzip: vscode-debugadapter-2c6cf698.json.gz: unexpected end of file
gzip: vscode-debugadapter-2c6cf698.json.gz: uncompress failed
>> % tar -xzvf vscode-debugadapter-2c6cf698.json.gz 
tar: Error opening archive: truncated gzip input

Here's an example file vscode-debugadapter-2c6cf698.json.gz

VSCodeTriageBot commented 2 years ago

confidence for label debug: 0.95. does meet threshold

VSCodeTriageBot commented 2 years ago

confidence for assignee roblourens: 0.75. does meet threshold

VSCodeTriageBot commented 2 years ago

confidence for label debug: 0.95. does meet threshold

VSCodeTriageBot commented 2 years ago

confidence for assignee roblourens: 0.75. does meet threshold

VSCodeTriageBot commented 2 years ago

confidence for label debug: 0.95. does meet threshold

VSCodeTriageBot commented 2 years ago

confidence for assignee roblourens: 0.75. does meet threshold

VSCodeTriageBot commented 2 years ago

confidence for label debug: 0.95. does meet threshold

VSCodeTriageBot commented 2 years ago

confidence for assignee roblourens: 0.75. does meet threshold

VSCodeTriageBot commented 2 years ago

confidence for label debug: 0.95. does meet threshold

VSCodeTriageBot commented 2 years ago

confidence for assignee roblourens: 0.75. does meet threshold

VSCodeTriageBot commented 2 years ago

confidence for label debug: 0.95. does meet threshold

VSCodeTriageBot commented 2 years ago

confidence for assignee roblourens: 0.75. does meet threshold

VSCodeTriageBot commented 2 years ago

confidence for label debug: 0.95. does meet threshold

VSCodeTriageBot commented 2 years ago

confidence for assignee roblourens: 0.75. does meet threshold