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

os/mac/diagnostic: output non-default Xcode prefix. #5358

Merged
merged 1 commit into from Nov 30, 2018

Conversation

Projects
None yet
2 participants
@MikeMcQuaid
Copy link
Member

MikeMcQuaid commented Nov 28, 2018

This should help people find it when this is a fatal error (and they don't look at brew config).

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew style with your changes locally?
  • Have you successfully run brew tests with your changes locally?

os/mac/diagnostic: output non-default Xcode prefix.
This should help people find it when this is a fatal error (and they
don't look at `brew config`).
@MikeMcQuaid

This comment has been minimized.

Copy link
Member

MikeMcQuaid commented Nov 28, 2018

2018-11-28T16:06:26.3139510Z   1) Cask::Quarantine by default quarantines Cask audits
2018-11-28T16:06:26.3141020Z      Failure/Error: Cask::Cmd::Audit.run("local-transmission", "--download")
2018-11-28T16:06:26.3141640Z 
2018-11-28T16:06:26.3142550Z      Cask::CaskError:
2018-11-28T16:06:26.3143740Z        audit failed for casks: local-transmission
2018-11-28T16:06:26.3144880Z      # ./cask/cmd/audit.rb:17:in `run'
2018-11-28T16:06:26.3146010Z      # ./cask/cmd/abstract_command.rb:34:in `run'
2018-11-28T16:06:26.3147190Z      # ./test/cask/quarantine_spec.rb:32:in `block (3 levels) in <top (required)>'
2018-11-28T16:06:26.3148320Z      # ./test/support/helper/spec/shared_context/homebrew_cask.rb:38:in `block (2 levels) in <top (required)>'
2018-11-28T16:06:26.3149380Z      # ./test/spec_helper.rb:137:in `block (2 levels) in <top (required)>'
2018-11-28T16:06:26.3150430Z      # ./vendor/bundle/ruby/2.3.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
2018-11-28T16:06:26.3151490Z      # ./vendor/bundle/ruby/2.3.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
2018-11-28T16:06:26.3152510Z      # ./vendor/bundle/ruby/2.3.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
2018-11-28T16:06:26.3153560Z      # ./vendor/bundle/ruby/2.3.0/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
2018-11-28T16:06:26.3154620Z      # ./vendor/bundle/ruby/2.3.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
2018-11-28T16:06:26.3155690Z      # ./vendor/bundle/ruby/2.3.0/gems/rspec-wait-0.0.9/lib/rspec/wait.rb:46:in `block (2 levels) in <top (required)>'
2018-11-28T16:06:26.3156410Z 
2018-11-28T16:06:26.3156880Z   2) Cask::Quarantine when disabled does not quarantine Cask audits
2018-11-28T16:06:26.3157900Z      Failure/Error: Cask::Cmd::Audit.run("local-transmission", "--download", "--no-quarantine")
2018-11-28T16:06:26.3158380Z 
2018-11-28T16:06:26.3158820Z      Cask::CaskError:
2018-11-28T16:06:26.3159740Z        audit failed for casks: local-transmission
2018-11-28T16:06:26.3160700Z      # ./cask/cmd/audit.rb:17:in `run'
2018-11-28T16:06:26.3161720Z      # ./cask/cmd/abstract_command.rb:34:in `run'
2018-11-28T16:06:26.3162720Z      # ./test/cask/quarantine_spec.rb:145:in `block (3 levels) in <top (required)>'
2018-11-28T16:06:26.3163770Z      # ./test/support/helper/spec/shared_context/homebrew_cask.rb:38:in `block (2 levels) in <top (required)>'
2018-11-28T16:06:26.3164800Z      # ./test/spec_helper.rb:137:in `block (2 levels) in <top (required)>'
2018-11-28T16:06:26.3165840Z      # ./vendor/bundle/ruby/2.3.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
2018-11-28T16:06:26.3166890Z      # ./vendor/bundle/ruby/2.3.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
2018-11-28T16:06:26.3167910Z      # ./vendor/bundle/ruby/2.3.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
2018-11-28T16:06:26.3168950Z      # ./vendor/bundle/ruby/2.3.0/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
2018-11-28T16:06:26.3170010Z      # ./vendor/bundle/ruby/2.3.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
2018-11-28T16:06:26.3171070Z      # ./vendor/bundle/ruby/2.3.0/gems/rspec-wait-0.0.9/lib/rspec/wait.rb:46:in `block (2 levels) in <top (required)>'

@Homebrew/cask could one of you take a look at this? It seems to be failing pretty consistently.

@claui

This comment has been minimized.

Copy link
Member

claui commented Nov 28, 2018

It seems that the TLS certificate served by https://example.com/ has expired. 😱😛

@MikeMcQuaid

This comment has been minimized.

Copy link
Member

MikeMcQuaid commented Nov 28, 2018

@claui Ouch! Any chance of a PR to update the relevant casks?

@claui claui referenced this pull request Nov 28, 2018

Merged

Use Homebrew-controlled domain for Cask dummy URLs #5359

5 of 6 tasks complete
@claui

This comment has been minimized.

Copy link
Member

claui commented Nov 28, 2018

Ouch! Any chance of a PR to update the relevant casks?

@MikeMcQuaid #5359

@MikeMcQuaid MikeMcQuaid merged commit 5758c93 into Homebrew:master Nov 30, 2018

2 of 3 checks passed

codecov/patch 0% of diff hit (target 71.24%)
Details
codecov/project 71.22% (-0.02%) compared to aed895c
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@MikeMcQuaid

This comment has been minimized.

Copy link
Member

MikeMcQuaid commented Nov 30, 2018

Thanks again for helping unblock this @claui!

@MikeMcQuaid MikeMcQuaid deleted the MikeMcQuaid:diagnostic-xcode-prefix branch Nov 30, 2018

@lock lock bot added the outdated label Dec 30, 2018

@lock lock bot locked as resolved and limited conversation to collaborators Dec 30, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.