Confusion about how to change to OS

jon.ronnenberg's Avatar

jon.ronnenberg

10 Mar, 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 10 Mar, 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 10 Mar, 2017 05:38 PM

    jon.ronnenberg's Avatar
  3. Support Staff 3 Posted by Ilya Finkelshte... on 10 Mar, 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 12 Mar, 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 12 Mar, 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 12 Mar, 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 12 Mar, 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 12 Mar, 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 13 Mar, 2017 05:30 PM

    Feodor Fitsner's Avatar

    By refreshenv you are removing appveyor-retry from PATH.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

18 Oct, 2017 08:54 AM
18 Oct, 2017 08:21 AM
18 Oct, 2017 07:42 AM
17 Oct, 2017 07:36 PM
17 Oct, 2017 05:39 PM

 

17 Oct, 2017 04:29 PM
17 Oct, 2017 07:49 AM
16 Oct, 2017 11:38 PM
16 Oct, 2017 10:01 PM
16 Oct, 2017 08:25 AM
16 Oct, 2017 07:58 AM