Skip to content
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

Non-deterministic setup-pixi failure on Windows #19

Open
traversaro opened this issue Nov 18, 2024 · 2 comments
Open

Non-deterministic setup-pixi failure on Windows #19

traversaro opened this issue Nov 18, 2024 · 2 comments

Comments

@traversaro
Copy link
Contributor

No description provided.

@traversaro
Copy link
Contributor Author

Successful job use the Version: 20241021.1.0 GitHub Actions windows-2022 image, while failing jobs are using Version: 20241113.3.0 and fail with:

2024-11-18T09:43:13.1500390Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>call :GetWin10SdkDir 
2024-11-18T09:43:13.1500838Z   �[31m│�[0m 
2024-11-18T09:43:13.1501344Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>call :GetWin10SdkDirHelper
2024-11-18T09:43:13.1501975Z   �[31m│�[0m HKLM\SOFTWARE\Wow6432Node  1>nul 2>&1 
2024-11-18T09:43:13.1502333Z   �[31m│�[0m 
2024-11-18T09:43:13.1502702Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>if errorlevel 1
2024-11-18T09:43:13.1503336Z   �[31m│�[0m call :GetWin10SdkDirHelper HKCU\SOFTWARE\Wow6432Node  1>nul 2>&1 
2024-11-18T09:43:13.1503812Z   �[31m│�[0m 
2024-11-18T09:43:13.1504178Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>if errorlevel 1
2024-11-18T09:43:13.1504734Z   �[31m│�[0m call :GetWin10SdkDirHelper HKLM\SOFTWARE  1>nul 2>&1 
2024-11-18T09:43:13.1505154Z   �[31m│�[0m 
2024-11-18T09:43:13.1505512Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>if errorlevel 1
2024-11-18T09:43:13.1506072Z   �[31m│�[0m call :GetWin10SdkDirHelper HKCU\SOFTWARE  1>nul 2>&1 
2024-11-18T09:43:13.1506494Z   �[31m│�[0m 
2024-11-18T09:43:13.1506903Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>if errorlevel 1 exit /B 1 
2024-11-18T09:43:13.1507372Z   �[31m│�[0m 
2024-11-18T09:43:13.1507723Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>exit /B 0 
2024-11-18T09:43:13.1508129Z   �[31m│�[0m 
2024-11-18T09:43:13.1508592Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>for /F %i in ('dir /ON /B "C:\Program
2024-11-18T09:43:13.1509333Z   �[31m│�[0m Files (x86)\Windows Kits\10\\include\10.*"') DO (SET WindowsSDKVer=%~i ) 
2024-11-18T09:43:13.1509825Z   �[31m│�[0m 
2024-11-18T09:43:13.1510276Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>(SET WindowsSDKVer=10.0.10240.0 ) 
2024-11-18T09:43:13.1510770Z   �[31m│�[0m 
2024-11-18T09:43:13.1511214Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>(SET WindowsSDKVer=10.0.17763.0 ) 
2024-11-18T09:43:13.1511709Z   �[31m│�[0m 
2024-11-18T09:43:13.1512148Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>(SET WindowsSDKVer=10.0.19041.0 ) 
2024-11-18T09:43:13.1512642Z   �[31m│�[0m 
2024-11-18T09:43:13.1513083Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>(SET WindowsSDKVer=10.0.20348.0 ) 
2024-11-18T09:43:13.1513587Z   �[31m│�[0m 
2024-11-18T09:43:13.1514029Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>(SET WindowsSDKVer=10.0.22000.0 ) 
2024-11-18T09:43:13.1514512Z   �[31m│�[0m 
2024-11-18T09:43:13.1514949Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>(SET WindowsSDKVer=10.0.22621.0 ) 
2024-11-18T09:43:13.1515439Z   �[31m│�[0m 
2024-11-18T09:43:13.1515895Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>(SET WindowsSDKVer=10.0.26100.0 ) 
2024-11-18T09:43:13.1516389Z   �[31m│�[0m 
2024-11-18T09:43:13.1516826Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>if errorlevel 1 (echo "Didn't find
2024-11-18T09:43:13.1517581Z   �[31m│�[0m any windows 10 SDK. I'm not sure if things will work, but let's try..." )
2024-11-18T09:43:13.1518229Z   �[31m│�[0m else (echo Windows SDK version found as: "10.0.26100.0" ) 
2024-11-18T09:43:13.1518760Z   �[31m│�[0m Windows SDK version found as: "10.0.26100.0"
2024-11-18T09:43:13.1519142Z   �[31m│�[0m 
2024-11-18T09:43:13.1519538Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>set "CMAKE_PLAT=x64" 
2024-11-18T09:43:13.1519986Z   �[31m│�[0m 
2024-11-18T09:43:13.1520368Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>set "VCVARSBAT=64" 
2024-11-18T09:43:13.1520806Z   �[31m│�[0m 
2024-11-18T09:43:13.1521121Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>set
2024-11-18T09:43:13.1521572Z   �[31m│�[0m "CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release" 
2024-11-18T09:43:13.1521931Z   �[31m│�[0m 
2024-11-18T09:43:13.1522299Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>IF "" == "1" (set
2024-11-18T09:43:13.1522894Z   �[31m│�[0m "CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=
2024-11-18T09:43:13.1523511Z   �[31m│�[0m -DCMAKE_PROGRAM_PATH=\bin;\Scripts;\Library\bin;\bin;\Scripts;
2024-11-18T09:43:13.1523982Z   �[31m│�[0m \Library\bin" ) 
2024-11-18T09:43:13.1524267Z   �[31m│�[0m 
2024-11-18T09:43:13.1524695Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>IF NOT "win-64" == "win-64" (
2024-11-18T09:43:13.1525348Z   �[31m│�[0m set "CONDA_BUILD_CROSS_COMPILATION=1"  
2024-11-18T09:43:13.1525993Z   �[31m│�[0m  set "CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_NAME=Windows
2024-11-18T09:43:13.1526526Z   �[31m│�[0m -DCMAKE_SYSTEM_PROCESSOR=AMD64" 
2024-11-18T09:43:13.1526987Z   �[31m│�[0m )  else (set "CONDA_BUILD_CROSS_COMPILATION=0" ) 
2024-11-18T09:43:13.1527392Z   �[31m│�[0m 
2024-11-18T09:43:13.1527770Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>IF 2022 GEQ 2019 (
2024-11-18T09:43:13.1528281Z   �[31m│�[0m set "CMAKE_GEN=Visual Studio 17 2022"  
2024-11-18T09:43:13.1528705Z   �[31m│�[0m  set "USE_NEW_CMAKE_GEN_SYNTAX=1" 
2024-11-18T09:43:13.1529059Z   �[31m│�[0m )  ELSE (
2024-11-18T09:43:13.1529505Z   �[31m│�[0m IF "win-64" == "win-64" (set "CMAKE_GEN=Visual Studio 17 2022 Win64" )
2024-11-18T09:43:13.1530072Z   �[31m│�[0m else (set "CMAKE_GEN=Visual Studio 17 2022" )  
2024-11-18T09:43:13.1530523Z   �[31m│�[0m  set "USE_NEW_CMAKE_GEN_SYNTAX=0" 
2024-11-18T09:43:13.1530869Z   �[31m│�[0m ) 
2024-11-18T09:43:13.1531103Z   �[31m│�[0m 
2024-11-18T09:43:13.1531548Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>echo "NEWER_VS_WITH_OLDER_VC=0" 
2024-11-18T09:43:13.1532079Z   �[31m│�[0m "NEWER_VS_WITH_OLDER_VC=0"
2024-11-18T09:43:13.1532403Z   �[31m│�[0m 
2024-11-18T09:43:13.1532803Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>set /p LATEST_VS= 0<"C:
2024-11-18T09:43:13.1533412Z   �[31m│�[0m \Program Files\Microsoft Visual Studio\2022\Enterprise\
2024-11-18T09:43:13.1534027Z   �[31m│�[0m \VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt" 
2024-11-18T09:43:13.1534531Z   �[31m│�[0m 
2024-11-18T09:43:13.1534870Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>type "C:
2024-11-18T09:43:13.1535412Z   �[31m│�[0m \Program Files\Microsoft Visual Studio\2022\Enterprise\
2024-11-18T09:43:13.1536013Z   �[31m│�[0m \VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt" 
2024-11-18T09:43:13.1536487Z   �[31m│�[0m 14.42.34433
2024-11-18T09:43:13.1536755Z   �[31m│�[0m 
2024-11-18T09:43:13.1537207Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>dir "C:\Program Files\Microsoft
2024-11-18T09:43:13.1537821Z   �[31m│�[0m Visual Studio\2022\Enterprise\\VC\Redist\MSVC\" 
2024-11-18T09:43:13.1538265Z   �[31m│�[0m  Volume in drive C is Windows
2024-11-18T09:43:13.1538669Z   �[31m│�[0m  Volume Serial Number is 1C8F-7779
2024-11-18T09:43:13.1539016Z   �[31m│�[0m 
2024-11-18T09:43:13.1539356Z   �[31m│�[0m  Directory of C:\Program Files\Microsoft Visual
2024-11-18T09:43:13.1539827Z   �[31m│�[0m Studio\2022\Enterprise\VC\Redist\MSVC
2024-11-18T09:43:13.1540179Z   �[31m│�[0m 
2024-11-18T09:43:13.1540487Z   �[31m│�[0m 11/13/2024  10:11 PM    <DIR>          .
2024-11-18T09:43:13.1540916Z   �[31m│�[0m 11/13/2024  09:48 PM    <DIR>          ..
2024-11-18T09:43:13.1541385Z   �[31m│�[0m 11/13/2024  10:11 PM    <DIR>          14.29.30133
2024-11-18T09:43:13.1541880Z   �[31m│�[0m 11/13/2024  10:19 PM    <DIR>          14.42.34433
2024-11-18T09:43:13.1542346Z   �[31m│�[0m 11/13/2024  10:14 PM    <DIR>          v143
2024-11-18T09:43:13.1542806Z   �[31m│�[0m                0 File(s)              0 bytes
2024-11-18T09:43:13.1543271Z   �[31m│�[0m                5 Dir(s)  93,050,630,144 bytes free
2024-11-18T09:43:13.1543640Z   �[31m│�[0m 
2024-11-18T09:43:13.1544008Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>if "0" == "1" (
2024-11-18T09:43:13.1544446Z   �[31m│�[0m echo "14.42.34433"  
2024-11-18T09:43:13.1544932Z   �[31m│�[0m  if "14.4" == "14.2" (set "CMAKE_GEN=Visual Studio 16 2019" )  else (set
2024-11-18T09:43:13.1545464Z   �[31m│�[0m "CMAKE_GEN=Visual Studio 17 2022" )  
2024-11-18T09:43:13.1545885Z   �[31m│�[0m  set "USE_NEW_CMAKE_GEN_SYNTAX=1" 
2024-11-18T09:43:13.1546231Z   �[31m│�[0m ) 
2024-11-18T09:43:13.1546455Z   �[31m│�[0m 
2024-11-18T09:43:13.1546916Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>IF "Visual Studio 17 2022" == "" SET
2024-11-18T09:43:13.1547511Z   �[31m│�[0m "CMAKE_GENERATOR=Visual Studio 17 2022" 
2024-11-18T09:43:13.1547870Z   �[31m│�[0m 
2024-11-18T09:43:13.1548320Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>IF "1" == "1" (
2024-11-18T09:43:13.1548932Z   �[31m│�[0m IF "x64" == "" SET "CMAKE_GENERATOR_PLATFORM=x64"  
2024-11-18T09:43:13.1549461Z   �[31m│�[0m  IF "v142" == "" SET "CMAKE_GENERATOR_TOOLSET=v143" 
2024-11-18T09:43:13.1549867Z   �[31m│�[0m ) 
2024-11-18T09:43:13.1550097Z   �[31m│�[0m 
2024-11-18T09:43:13.1550544Z   �[31m│�[0m D:\a\qpsolvers-eigen\qpsolvers-eigen>pushd C:\Program Files\Microsoft
2024-11-18T09:43:13.1551093Z   �[31m│�[0m Visual Studio\2022\Enterprise\ 
2024-11-18T09:43:13.1551435Z   �[31m│�[0m 
2024-11-18T09:43:13.1551886Z   �[31m│�[0m C:\Program Files\Microsoft Visual Studio\2022\Enterprise>if "14.42-14.41"
2024-11-18T09:43:13.1552604Z   �[31m│�[0m == "14.40-14.41" (CALL "VC\Auxiliary\Build\vcvars64.bat" -vcvars_ver=14.42
2024-11-18T09:43:13.1553254Z   �[31m│�[0m 10.0.26100.0 )  else (CALL "VC\Auxiliary\Build\vcvars64.bat"
2024-11-18T09:43:13.1553759Z   �[31m│�[0m -vcvars_ver=14.41 10.0.26100.0 ) 
2024-11-18T09:43:13.1554228Z   �[31m│�[0m **********************************************************************
2024-11-18T09:43:13.1554772Z   �[31m│�[0m ** Visual Studio 2022 Developer Command Prompt v17.12.0
2024-11-18T09:43:13.1555288Z   �[31m│�[0m ** Copyright (c) 2022 Microsoft Corporation
2024-11-18T09:43:13.1555771Z   �[31m│�[0m **********************************************************************
2024-11-18T09:43:13.1556367Z   �[31m│�[0m [ERROR:vcvars.bat] Toolset directory for version '14.41' was not found.
2024-11-18T09:43:13.1557070Z   �[31m│�[0m [ERROR:VsDevCmd.bat] *** VsDevCmd.bat encountered errors. Environment may
2024-11-18T09:43:13.1557632Z   �[31m│�[0m be incomplete and/or incorrect. ***
2024-11-18T09:43:13.1558192Z   �[31m│�[0m [ERROR:VsDevCmd.bat] In an uninitialized command prompt, please 'set
2024-11-18T09:43:13.1558740Z   �[31m│�[0m VSCMD_DEBUG=[value]' and then re-run
2024-11-18T09:43:13.1559277Z   �[31m│�[0m [ERROR:VsDevCmd.bat] vsdevcmd.bat [args] for additional details.
2024-11-18T09:43:13.1559823Z   �[31m│�[0m [ERROR:VsDevCmd.bat] Where [value] is:
2024-11-18T09:43:13.1560297Z   �[31m│�[0m [ERROR:VsDevCmd.bat]    1 : basic debug logging
2024-11-18T09:43:13.1560807Z   �[31m│�[0m [ERROR:VsDevCmd.bat]    2 : detailed debug logging
2024-11-18T09:43:13.1561419Z   �[31m│�[0m [ERROR:VsDevCmd.bat]    3 : trace level logging. Redirection of output to
2024-11-18T09:43:13.1562009Z   �[31m│�[0m a file when using this level is recommended.
2024-11-18T09:43:13.1562502Z   �[31m│�[0m [ERROR:VsDevCmd.bat] Example: set VSCMD_DEBUG=3
2024-11-18T09:43:13.1563080Z   �[31m│�[0m [ERROR:VsDevCmd.bat]          vsdevcmd.bat > vsdevcmd.trace.txt 2>&1
2024-11-18T09:43:13.1563685Z   �[31m│�[0m **********************************************************************
2024-11-18T09:43:13.1564215Z   �[31m│�[0m ** Visual Studio 2022 Developer Command Prompt v17.12.0
2024-11-18T09:43:13.1564734Z   �[31m│�[0m ** Copyright (c) 2022 Microsoft Corporation
2024-11-18T09:43:13.1565219Z   �[31m│�[0m **********************************************************************
2024-11-18T09:43:13.1565694Z   �[31m│�[0m . Stderr: The input line is too long.
2024-11-18T09:43:13.1566140Z   �[31m│�[0m The syntax of the command is incorrect.
2024-11-18T09:43:13.1566552Z   �[31m│�[0m . Script: @chcp 65001 > nul
2024-11-18T09:43:13.1566884Z   �[31m│�[0m @SET
2024-11-18T09:43:13.1567182Z   �[31m│�[0m @ECHO ____RATTLER_ENV_START____
2024-11-18T09:43:13.1567517Z   �[31m│�[0m 
2024-11-18T09:43:13.1567958Z   �[31m│�[0m @SET "Path=D:\a\qpsolvers-eigen\qpsolvers-eigen\.pixi\envs\default;D:
2024-11-18T09:43:13.1568667Z   �[31m│�[0m \a\qpsolvers-eigen\qpsolvers-eigen\.pixi\envs\default\Library/mingw-
2024-11-18T09:43:13.1569393Z   �[31m│�[0m w64/bin;D:\a\qpsolvers-eigen\qpsolvers-eigen\.pixi\envs\default\Library/
2024-11-18T09:43:13.1570112Z   �[31m│�[0m usr/bin;D:\a\qpsolvers-eigen\qpsolvers-eigen\.pixi\envs\default\Library/
2024-11-18T09:43:13.1570835Z   �[31m│�[0m bin;D:\a\qpsolvers-eigen\qpsolvers-eigen\.pixi\envs\default\Scripts;D:
2024-11-18T09:43:13.1571607Z   �[31m│�[0m \a\qpsolvers-eigen\qpsolvers-eigen\.pixi\envs\default\bin;%Path%"
2024-11-18T09:43:13.1572914Z   �[31m│�[0m @SET "CONDA_PREFIX=D:\a\qpsolvers-eigen\qpsolvers-
2024-11-18T09:43:13.1573402Z   �[31m│�[0m eigen\.pixi\envs\default"
2024-11-18T09:43:13.1573913Z   �[31m│�[0m @SET "PIXI_PROJECT_ROOT=D:\a\qpsolvers-eigen\qpsolvers-eigen"
2024-11-18T09:43:13.1574458Z   �[31m│�[0m @SET "PIXI_PROJECT_NAME=qpsolvers-eigen"
2024-11-18T09:43:13.1574985Z   �[31m│�[0m @SET "PIXI_PROJECT_MANIFEST=D:\a\qpsolvers-eigen\qpsolvers-
2024-11-18T09:43:13.1575459Z   �[31m│�[0m eigen\pixi.toml"
2024-11-18T09:43:13.1575812Z   �[31m│�[0m @SET "PIXI_PROJECT_VERSION=0.0.0"
2024-11-18T09:43:13.1576304Z   �[31m│�[0m @SET "PIXI_EXE=C:\Users\runneradmin\.pixi\bin\pixi.exe"
2024-11-18T09:43:13.1576769Z   �[31m│�[0m @SET "PIXI_IN_SHELL=1"
2024-11-18T09:43:13.1577173Z   �[31m│�[0m @SET "CONDA_DEFAULT_ENV=qpsolvers-eigen"
2024-11-18T09:43:13.1577603Z   �[31m│�[0m @SET "PIXI_ENVIRONMENT_NAME=default"
2024-11-18T09:43:13.1578184Z   �[31m│�[0m @SET "PIXI_ENVIRONMENT_PLATFORMS=osx-arm64,win-64,linux-aarch64,linux-
2024-11-18T09:43:13.1578697Z   �[31m│�[0m 64,osx-64"
2024-11-18T09:43:13.1579036Z   �[31m│�[0m @SET "PIXI_PROMPT=(qpsolvers-eigen) "
2024-11-18T09:43:13.1579522Z   �[31m│�[0m @SET "CMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library"
2024-11-18T09:43:13.1580011Z   �[31m│�[0m @SET "QPSOLVERSEIGEN_RUN_Valgrind_tests=OFF"
2024-11-18T09:43:13.1580622Z   �[31m│�[0m @CALL "D:\a\qpsolvers-eigen\qpsolvers-eigen\.pixi\envs\default\etc/conda/
2024-11-18T09:43:13.1581195Z   �[31m│�[0m activate.d\libxml2_activate.bat"
2024-11-18T09:43:13.1581772Z   �[31m│�[0m @CALL "D:\a\qpsolvers-eigen\qpsolvers-eigen\.pixi\envs\default\etc/conda/
2024-11-18T09:43:13.1582360Z   �[31m│�[0m activate.d\openssl_activate-win.bat"
2024-11-18T09:43:13.1582938Z   �[31m│�[0m @CALL "D:\a\qpsolvers-eigen\qpsolvers-eigen\.pixi\envs\default\etc/conda/
2024-11-18T09:43:13.1583501Z   �[31m│�[0m activate.d\pkg-config_activate.bat"
2024-11-18T09:43:13.1584095Z   �[31m│�[0m @CALL "D:\a\qpsolvers-eigen\qpsolvers-eigen\.pixi\envs\default\etc/conda/
2024-11-18T09:43:13.1584673Z   �[31m│�[0m activate.d\vs2019_compiler_vars.bat"
2024-11-18T09:43:13.1585257Z   �[31m│�[0m @CALL "D:\a\qpsolvers-eigen\qpsolvers-eigen\.pixi\envs\default\etc/conda/
2024-11-18T09:43:13.1585809Z   �[31m│�[0m activate.d\vs2022_compiler_vars.bat"
2024-11-18T09:43:13.1586204Z   �[31m│�[0m @ECHO ____RATTLER_ENV_START____
2024-11-18T09:43:13.1586552Z   �[31m│�[0m @SET
2024-11-18T09:43:13.1586790Z   �[31m│�[0m 

@traversaro
Copy link
Contributor Author

The non-determinism is due to actions/runner-images#10978 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant