You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With a recent update to the Windows runner images, the PATH variable is no longer acting as expected. With no other changes introduced to our workflow, our Windows jobs are failing because the PATH variable is rearranging itself between steps.
The failure here is innocuous. There are two versions of the executable ipopt on the PATH, one that works as we expect and one that doesn't. We intentionally update the PATH to catch the correct one first, but somehow in the newer image version, the PATH is rearranging between steps.
We expect PATH updates to act the same between Linux, OSX, and Windows, if using the same steps for all OS'. Specifically, we expect the PATH to remain consistent between steps when using the correct mechanism for updating it.
Actual behavior
The PATH updates are happening correctly in Linux and OSX. The PATH updates in Windows when requested but will inexplicably change order in between steps.
For example, inspect the "Install Pyomo" and "Install HiGHS" steps. The PATH is incorrect (wrong order) in the first, but it is correct (right order) in the second. Then it switches back to the wrong order in the next step "Download and install extensions."
The text was updated successfully, but these errors were encountered:
Description
With a recent update to the Windows runner images, the
PATH
variable is no longer acting as expected. With no other changes introduced to our workflow, our Windows jobs are failing because thePATH
variable is rearranging itself between steps.Platforms affected
Runner images affected
Image version and build link
Failed build: https://github.com/Pyomo/pyomo/actions/runs/12397077388
The failure here is innocuous. There are two versions of the executable
ipopt
on thePATH
, one that works as we expect and one that doesn't. We intentionally update thePATH
to catch the correct one first, but somehow in the newer image version, thePATH
is rearranging between steps.Here is a good example of just looking at the
PATH
printouts (they are at the end of each step): https://github.com/mrmundt/pyomo/actions/runs/12673191510/job/35318997883Is it regression?
Yes. Last working version: 20241201.2.0; https://github.com/Pyomo/pyomo/actions/runs/12201613092
Expected behavior
We expect
PATH
updates to act the same between Linux, OSX, and Windows, if using the same steps for all OS'. Specifically, we expect thePATH
to remain consistent between steps when using the correct mechanism for updating it.Actual behavior
The
PATH
updates are happening correctly in Linux and OSX. ThePATH
updates in Windows when requested but will inexplicably change order in between steps.Repro steps
It's unclear exactly how to reproduce this, but I did minimize our workflow to a file that shows the effects happening: https://github.com/mrmundt/pyomo/actions/runs/12673191510/job/35318997883
For example, inspect the "Install Pyomo" and "Install HiGHS" steps. The
PATH
is incorrect (wrong order) in the first, but it is correct (right order) in the second. Then it switches back to the wrong order in the next step "Download and install extensions."The text was updated successfully, but these errors were encountered: