MinGW build started hanging without output

victor.zverovich's Avatar

victor.zverovich

27 Jun, 2015 03:49 PM

Starting from yesterday, MinGW builds of C++ Format (https://github.com/cppformat/cppformat) started to hang just after CMake version output:

Build started
git clone -q --branch=master git://github.com/cppformat/cppformat.git C:\projects\cppformat
git checkout -qf df0835ac27338f655a025d6c3cc698aa4d5ed413
python support/appveyor-build.py
-- CMake version: 3.1.2

(https://ci.appveyor.com/project/vitaut/cppformat/build/1.0.1089/job/1tu874auhstj9dfg)

although there was no change to build configuration. The builds hang for 40 minutes without any output and then terminated due to timeout. Has anything changed with respect to MinGW on build images?

Thanks,
Victor

  1. Support Staff 1 Posted by Feodor Fitsner on 27 Jun, 2015 06:21 PM

    Feodor Fitsner's Avatar

    Hi Victor,

    This is probably because of your account has been moved to a new faster environment. I can move you back to Azure (for now), but would you like to have a closer look on what might be wrong on a new environment?

    There are MinGW and other stuff. New environment VMs can be accessed by RDP - I can provide instructions.

  2. 2 Posted by victor.zverovic... on 27 Jun, 2015 08:24 PM

    victor.zverovich's Avatar

    Faster sounds good =), so I'll be happy to look into it rather than going back to Azure which was pretty slow indeed. Please send the instructions to my email address [email blocked] and I'll investigate the issue.

    Thanks,
    Victor

  3. Support Staff 3 Posted by Feodor Fitsner on 27 Jun, 2015 10:51 PM

    Feodor Fitsner's Avatar

    Sounds great!

    To see RDP details to current build worker (they are changing all the time) add this line to "install" phase of your build:

    install:
    -ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
    

    If you need to pause the build (let's say to investigate the issue on build finish) while displaying connection details add $blockRdp = $true;:

    on_finish:
    -ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
    

    Your RDP session is limited by overall build time (40 min).

    Let me know what you find.

  4. 4 Posted by tony on 29 Jun, 2015 04:39 AM

    tony's Avatar

    I also see builds seemingly hung without output on my personal account (which looks like it got migrated to the new system, since the other job in this build would have been much slower on azure) at https://ci.appveyor.com/project/tkelman/julia/build/1.0.650/job/kkk.... This is at a much earlier step in the build than previous cases of freezing I've seen which are likely unrelated to appveyor.

  5. 5 Posted by victor.zverovic... on 29 Jun, 2015 02:44 PM

    victor.zverovich's Avatar

    Thanks, Feodor.

    The build was stopping on the error dialog "as.exe - Entry Point Not Found": The procedure entry point __printf__ could not be located in the dynamic link library c:\mingw\bin\..\lib\gcc\mingw32\4.8.1\..\..\..\..\mingw32\bin\as.exe.

    Fixed this by changing the order of search paths putting C:\MinGW\bin before other entries in $PATH, so that the correct version of as.exe from C:\MinGW was picked instead of the one from C:\MinGW\mingw32.

    Cheers,
    Victor

  6. Support Staff 6 Posted by Feodor Fitsner on 29 Jun, 2015 03:17 PM

    Feodor Fitsner's Avatar

    Great, thanks for the update!

  7. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:57 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

27 Oct, 2025 07:53 PM
27 Oct, 2025 03:46 PM
23 Oct, 2025 07:11 AM
16 Oct, 2025 07:14 PM
16 Oct, 2025 04:37 PM
16 Oct, 2025 04:34 PM