dotnet/buildtools

`[Errno 22] Invalid argument` when uploading dumps for hang

danmoseley opened this issue · 6 comments

@Anipik is dumpling getting correctly installed?

2018-04-02 20:48:13,285: INFO: servicebusrepository(97): renew_workitem_lock: renew_workitem_lock Status Code: 200
2018-04-02 20:48:30,898: INFO: proc(23): run_and_log_output: Running: C:\Python\python.exe C:\dumpling\dumpling.py hang --pid 2248 --dbgpath C:\dumpling\dbg\dbg\cdb.exe --outpath C:\cores --logpath C:\cores\dumpling.log
2018-04-02 20:48:30,960: INFO: proc(54): run_and_log_output: Output: C:\Python\python.exe: can't open file 'C:\dumpling\dumpling.py hang --pid 2248 --dbgpath C:\dumpling\dbg\dbg\cdb.exe --outpath C:\cores --logpath C:\cores\dumpling.log': [Errno 22] Invalid argument
2018-04-02 20:48:30,960: INFO: proc(58): run_and_log_output: Exit Code: 2
2018-04-02 20:48:30,960: INFO: job(75): _create_and_upload_dump: Creating Dumps Process Exit Code: 2
2018-04-02 20:48:30,960: INFO: proc(23): run_and_log_output: Running: C:\Python\python.exe C:\dumpling\dumpling.py upload --incpaths C:\cores\cmd.exe.2248 --dumppath C:\cores\cmd.exe.2248\cmd.exe.2248.dmp --displayname cmd.exe.2248 --logpath C:\cores\dumpling.log
2018-04-02 20:48:30,990: INFO: proc(54): run_and_log_output: Output: C:\Python\python.exe: can't open file 'C:\dumpling\dumpling.py upload --incpaths C:\cores\cmd.exe.2248 --dumppath C:\cores\cmd.exe.2248\cmd.exe.2248.dmp --displayname cmd.exe.2248 --logpath C:\cores\dumpling.log': [Errno 22] Invalid argument
2018-04-02 20:48:31,006: INFO: proc(58): run_and_log_output: Exit Code: 2
2018-04-02 20:48:31,006: INFO: job(80): _create_and_upload_dump: Uploading Dumps Process Exit Code: 2
2018-04-02 20:48:31,006: INFO: job(81): _create_and_upload_dump: Dumps Created and Uploaded Successfully
2018-04-02 20:48:31,006: ERROR: job(44): kill: Job running for too long. Killing...

https://mc.dot.net/#/product/netcore/master/source/official~2Fcorefx~2Fmaster~2F/type/test~2Ffunctional~2Fdesktop~2Fcli~2F/build/20180402.05/workItem/System.ServiceProcess.ServiceController.Tests/wilogs

@danmosemsft I think the issue is we need to update the URL everywhere for the dumpling.

Go for it.. 😺

Shouldn't I have seen an error higher up saying wget or curl couldn't get dumpling? Maybe I missed it.

wget or curl succeeds because we are downloading that version of dumpling from GitHub. after downloading this we install dumpling from https://github.com/Anipik/dumpling/blob/master/src/web/Content/client/dumpling.py#L1000 using install command. and I just checked in the helix and we are not checking the output of install.

Will close it if the failure is no longer there

Fixed the issue in the engineering repo. closing this one