-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extractor Pipeline for ADO has windows-latest for PR Job #496
Comments
|
@corganfuzz - You can change it if you like, either OS should work. That step executes different commands depending the OS. I think we changed it to Do you have a problem with it running on Windows agents, or were you mentioning it just because that job OS is inconsistent with all the other pipeline OSes? |
Not a problem but more of an annoyance in our side. For our current implementation, we were provisioning linux vmss with custom software but we havent done for windows vmss which was a whole big process to go thru. thanks to this switch we can just our old linux vmss we already configured. from the tech point of view , I thought windows vmss were doing something special. Glad thats not the case. thanks for addresing this. |
Hey @waelkdouh so we stress test this extractor job in linux and found a bug with some inconsistent results: The way I recreate the issue is like this: I had my pipeline defaulted as "configuration.extractor.yaml" not "Extract All"
After hours of troubleshooting, I've switched back to windows-latest and everything worked as expected. I dig more into this problem and I found this. I dont know if it's related or not: DownloadPipelineArtifacts issue what gave it away for me was this error I found on that step:
idk if those are the reasons but it definitely pointed me out to the bug. Once I switched back to windows everything worked as intended let me know if you can replicate: this is what im using: sorry if I've caused this, I felt it was my duty to let you know |
Thanks for brining this to our attention. We don't have the bandwidth to test it for now but we will keep a close eye on this in case others raise the same issue as it sounds like ado being idiosyncratic. Let us know if you find anything else. |
I think we might've founded the root cause: in the latest version of Write-Information "Synchronizing artifacts..."
$extractorArtifactsFolderPath = Join-Path "$(Pipeline.Workspace)" "artifacts-from-portal" ${{ parameters.API_MANAGEMENT_SERVICE_OUTPUT_FOLDER_PATH }}
if ("$(Agent.OS)" -like "*win*") {
& robocopy "$extractorArtifactsFolderPath" "$artifactFolderPath" /zb /mir /mt
if ($LASTEXITCODE -gt 7) { throw "Setting $artifactFolderPath to contents of $extractorArtifactsFolderPath failed." }
}
else {
& rsync --verbose --archive --delete --force --recursive "$extractorArtifactsFolderPath/" "$artifactFolderPath/"
if ($LASTEXITCODE -ne 0) { throw "Setting $artifactFolderPath to contents of $extractorArtifactsFolderPath failed." }
} which is the only part of the Creating PR job where the instruction differ from linux to windows. looks to me like that rsync command might be outdated. thoughts ? |
We will take a look and get back to you. |
@waelkdouh I've zeroed in on the problem and found out it only happens in our side. Turns out we are using self hosted vmss that are running The issue does not appear when I switch to the Thanks |
Release version
latest
Question Details
is there any reason why the extractor pipeline for ADO that creates a pull request runs in
windows-latest
?. I've switched mine toubuntu-latest
and it worked fine. I was just wondering so I wont have to create a windows VM on my end.The github extractor pipeline doesnt seem to have this. Both jobs are running on
ubuntu-latest
ADO-Extractor:
Github-Extractor:
Expected behavior
both run fine in ubuntu
Actual behavior
one runs in windows and the other one in ubuntu
Reproduction Steps
run it in ADO
here's the line in question:
ADO EXTRACTOR YAML line
The text was updated successfully, but these errors were encountered: