-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Python no longer found on windows-2022 in 20240714.1.0 image release #10327
Comments
Hi @akoeplinger - Thank you for bringing this issue to us. We are looking into this issue and will update you shortly on this issue after investigating. |
Hi @Prabhatkumar59 , we are experiencing similar issue in our runs after 20240714.1.0. How could we prevent these things from happening without any regression? Could we target image version in the YAML? For example, adding another optional parameter say "LKG" or something in the same level with pool name and os to use latest known good version to keep consistency? |
Same issue here. I compared the logged agent runner image version between passing and failing builds, and it did not change, so what ever casued this is likely some tool install after then agent image first starts. I was able to work around the issue be just explicitly selecting a version of Python, and having the task add it back to the system path, rather than depending on the version the agent previously had set in the system path be default.
|
We also met the same issue from last Friday or Saturday and the walkaround @BrianMouncer mentioned can works well. |
Hi @xchen218 @BrianMouncer @gangzhang-ms we are checking on this and will update you shortly, thanks:) |
I just reran the build that was failing and it started working again even though it has the same image version. |
Hi @akoeplinger - Thank you for the update. I’m glad to hear that the build is working now. To ensure smooth operations, you might also consider the following steps:- Monitor for Recurrence: You can keep an eye on the build process to see if the issue reoccurs. If it does, please let us know so we can investigate further. Review Logs: If you experience any further issues, reviewing the build logs might help pinpoint any recurring patterns or anomalies. Retry Mechanism: Implementing retry logic for critical build steps can sometimes help mitigate temporary failures. If you encounter any more issues or have any questions, feel free to reach out. |
@Prabhatkumar59 can you just revert everything & release reverted version asap? it has blocking us for 2 days |
Sadly we were not as lucky as the author. The issue still persists. @Prabhatkumar59 . Could you please provide an ETA to the fix? |
Gently ping on the issue. Are there any updates? @Prabhatkumar59 |
@xchen218 - Thanks for your response:) |
Description
With the latest image release I'm seeing builds break that rely on
python
being in the PATH.Platforms affected
Runner images affected
Image version and build link
20240714.1.0
https://dev.azure.com/dnceng-public/public/_build/results?buildId=750103&view=results
Is it regression?
Yes, it was working in 20240707.1.0
Expected behavior
Python is found in PATH
Actual behavior
Python is not found in PATH
Repro steps
Try calling
python
from a batch script.The text was updated successfully, but these errors were encountered: