Hello!
I found exactly the same problem here published 2 years ago without answers.
I try to add now additional information.
Probably currently somebody give me the hint.
Problem occurs only on the single build server, on others the same packet is working...
Jenkins Log:
16:07:23 Attestation Submission
16:07:23
16:07:23 > Create Product
16:07:23 * Create JSON
16:07:23 * Submit
16:12:55 Did not find product ID
16:12:55 SurfaceDevCenterManager v1.0.0.0
16:12:55 > Create Option
16:12:55 Unhandled Exception:
16:12:55 System.OperationCanceledException: The operation was canceled.
16:12:55 at System.Net.Http.HttpClient.d__58.MoveNext()
16:12:55 --- End of stack trace from previous location where exception was thrown ---
16:12:55 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
16:12:55 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
16:12:55 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
..............
16:12:55 --- End of stack trace from previous location where exception was thrown ---
16:12:55 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
16:12:55 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
16:12:55 at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
16:12:55 at SurfaceDevCenterManager.Program.Main(String args) in C:\Projects\SDCM\SurfaceDevCenterManager\Program.cs:line 60
16:12:55 Last Command:
16:12:55 ERROR (DevCenterErrorDetails)
The problem occurs inside Microsoft's SDCM Attestation.ps1 file.
Pay attention, please on timeout between "Submit" and "Did not find product ID". It's more then 5 min.!?!
Means, something happened inside the code:
Write-Output " * Submit"
$output = & $SCDM -create CreateAttest.jsonif (-not ([string]$output -match "--- Product: (\d+)")) {
Write-Output "Did not find product ID"
Write-Output $output
return -1
}
Where $SCDM = ".\sdcm.exe" (defined above).
Thank you for help!
Best Regards,
MG.