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

Add -NoProfile to fix suppress "Preparing modules for first use." message #584

Merged
merged 1 commit into from
Feb 2, 2017
Merged

Add -NoProfile to fix suppress "Preparing modules for first use." message #584

merged 1 commit into from
Feb 2, 2017

Conversation

StefanScherer
Copy link
Contributor

Running serverspec tests in AppVeyor does not work at the moment. Every test shows a XML error with Preparing modules for first use..

There is a discussion at http://help.appveyor.com/discussions/problems/5170-progresspreference-not-works-always-shown-preparing-modules-for-first-use-in-stderr how to fix this.

But the workaround with image: Previous Visual Studio 2015 in the appveyor.yml also no longer works.

See also these pull requests

The PR's showed me what is missing. I've added the -NoProfile option to the powershell call and it now works in AppVeyor even with the default image.

I've tested the change with a small patch of the cmd.rb in this build https://ci.appveyor.com/project/StefanScherer/serverspec-on-appveyor/build/14

@mizzy
Copy link
Owner

mizzy commented Sep 23, 2016

Thanks!

@StefanScherer
Copy link
Contributor Author

Strange, AppVeyor builds are still failing with the same error.

@StefanScherer
Copy link
Contributor Author

Hm, I added a group test in my test repo and it still works in AppVeyor with serverspec. Is this specinfra build failing because of going through WinRM?

@mizzy
Copy link
Owner

mizzy commented Sep 23, 2016

Is this specinfra build failing because of going through WinRM?

I think so.

@IlyaFinkelshteyn
Copy link

@mizzy could you please create small hello word example of this issue for me to investigate?

@mizzy
Copy link
Owner

mizzy commented Feb 2, 2017

Sorry I forgot to merge this.

@mizzy mizzy merged commit 5467aeb into mizzy:master Feb 2, 2017
@mizzy
Copy link
Owner

mizzy commented Feb 2, 2017

Released as v2.66.7.

@StefanScherer
Copy link
Contributor Author

Cool, thanks. Will update my Gemfile.lock files.

@StefanScherer StefanScherer deleted the add-noprofile-to-fix-progress branch February 2, 2017 05:24
chaaaaarlotte pushed a commit to chaaaaarlotte/specinfra that referenced this pull request Dec 28, 2022
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

Successfully merging this pull request may close these issues.

3 participants