Confusion about how to change to OS

jon.ronnenberg's Avatar

jon.ronnenberg

Mar 10, 2017 @ 05:32 PM

I need to run [our]( browser based Jasmine test suite on Windows 10, in order to test in MS edge. The default image, Windows Server 2012 R2 (x64), doesn't support UWP based software such as the Edge browser.

I'm using Karma to kick off the tests and act as a server for the test page. Karma uses launchers to start different browsers and I use karma-edge-launcher which in turn uses edge-launcher. You can see that edge-launcher fails to find MicrosoftEdge.exe in our test log.

I've been trying to change to a Windows 10 image by specifying os and image. The documentation says image.

#---------------------------------#
#    environment configuration    #
#---------------------------------#

# Build worker image (VM template)
image: Visual Studio 2015

I've read os on some doc page but I can't find it - perhaps you changed it?

I've read somewhere that using Visual Studio 2015 means that I can run UWP applications and my guess is that it switches me to Windows Server 2016.

But after reading https://github.com/nickmccurdy/karma-edge-launcher/issues/14 and https://github.com/appveyor/ci/issues/1150, I think we need to get bumped up to Windows Server 2016. Is this possible?

Cheers, Jon

  1. 1 Posted by jon.ronnenberg on Mar 10, 2017 @ 05:35 PM

    jon.ronnenberg's Avatar

    I found the page that says to use `os`. https://www.appveyor.com/updates/ Perhaps you should update it.

  2. 2 Posted by jon.ronnenberg on Mar 10, 2017 @ 05:38 PM

    jon.ronnenberg's Avatar
  3. 3 Posted by Ilya Finkelshte... on Mar 10, 2017 @ 08:28 PM

    Ilya Finkelshteyn's Avatar

    Hello Jon,

    Please image: Visual Studio 2017. This is latest image which is based on Windows Server 2016.

    Please note however that build start time will be longer because it runs on Google cloud engine, where VM provisioning takes more time than on our own infrastructure. Will will migrate Visual Studio 2017 to our own infrastructure soon.

    Thanks,
    Ilya.

  4. 4 Posted by jon.ronnenberg on Mar 12, 2017 @ 05:47 PM

    jon.ronnenberg's Avatar

    Thanks Ilya.

    Is there anything in the log that indicate which image it's run on do I just print ps: Write-Host (Get-WmiObject -class Win32_OperatingSystem).Caption?

  5. 5 Posted by jon.ronnenberg on Mar 12, 2017 @ 06:32 PM

    jon.ronnenberg's Avatar

    It seems that Edge is not install on Microsoft Windows Server 2016 Datacenter.

    12 03 2017 18:01:54.602:ERROR [launcher]: Killing Edge process failed.
    Error: Command failed: taskkill /t /f /im MicrosoftEdge.exe
    ERROR: The process "MicrosoftEdge.exe" not found.
    12 03 2017 18:01:54.602:ERROR [launcher]: Cannot start Edge
    

    https://ci.appveyor.com/project/dotnetCarpenter/svg-js

    Can I install it?

  6. 6 Posted by jon.ronnenberg on Mar 12, 2017 @ 08:11 PM

    jon.ronnenberg's Avatar

    Suddenly - appveyor-retry npm install stop working. Is appveyor-retry not available on the Visual Studio 2017 image?

    See https://ci.appveyor.com/project/dotnetCarpenter/svg-js/build/1.0.33

  7. 7 Posted by jon.ronnenberg on Mar 12, 2017 @ 08:27 PM

    jon.ronnenberg's Avatar

    I'm giving up trying to install Microsoft Edge without help. I can not find anywhere I can download it and it doesn't seem to be installed on Windows Server 2016 Datacenter.

    Please advice.

  8. Support Staff 8 Posted by Feodor Fitsner on Mar 12, 2017 @ 09:16 PM

    Feodor Fitsner's Avatar

    Unfortunately, Edge is not available on Windows Server 2016: https://technet.microsoft.com/en-us/itpro/microsoft-edge/hardware-a...

  9. Support Staff 9 Posted by Feodor Fitsner on Mar 13, 2017 @ 05:30 PM

    Feodor Fitsner's Avatar

    By refreshenv you are removing appveyor-retry from PATH.

  10. Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 02:15 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