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

ungit 1.5.1 #47057

Closed
wants to merge 2 commits into from
Closed

ungit 1.5.1 #47057

wants to merge 2 commits into from

Conversation

chenrui333
Copy link
Member

Created with brew bump-formula-pr.

@chenrui333
Copy link
Member Author

test step only failed on Mojave build

08:33:49 ==> brew test ungit --verbose
08:33:53 ==> FAILED
08:33:53 Testing ungit
08:33:53 /usr/bin/sandbox-exec -f /private/tmp/homebrew20191122-78651-1mdpyhl.sb ruby -W0 -I $LOAD_PATH -- /usr/local/Homebrew/Library/Homebrew/test.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ungit.rb --verbose
08:33:53 Error: ungit: failed
08:33:53 An exception occurred within a child process:
08:33:53 TypeError: no implicit conversion from nil to integer

@chenrui333
Copy link
Member Author

@BrewTestBot test this please

@Bo98
Copy link
Member

Bo98 commented Nov 22, 2019

I think there's another error but the way the test is written made it so we can't see it. I've tweaked it so let's see what the new error is.

@Bo98
Copy link
Member

Bo98 commented Nov 22, 2019

==> brew test ungit --verbose
==> FAILED
Testing ungit
/usr/bin/sandbox-exec -f /private/tmp/homebrew20191122-60797-j1qzry.sb ruby -W0 -I $LOAD_PATH -- /usr/local/Homebrew/Library/Homebrew/test.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ungit.rb --verbose
Error: ungit: failed
An exception occurred within a child process:
  LoadError: cannot load such file -- nokogiri
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ungit.rb:22:in `block in <class:Ungit>'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1740:in `block (3 levels) in run_test'
/usr/local/Homebrew/Library/Homebrew/utils.rb:478:in `with_env'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1739:in `block (2 levels) in run_test'
/usr/local/Homebrew/Library/Homebrew/formula.rb:865:in `with_logging'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1738:in `block in run_test'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1977:in `block in mktemp'
/usr/local/Homebrew/Library/Homebrew/mktemp.rb:57:in `block in run'
/usr/local/Homebrew/Library/Homebrew/mktemp.rb:57:in `chdir'
/usr/local/Homebrew/Library/Homebrew/mktemp.rb:57:in `run'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1976:in `mktemp'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1732:in `run_test'
/usr/local/Homebrew/Library/Homebrew/test.rb:30:in `block in <main>'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/timeout.rb:33:in `block in catch'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/timeout.rb:33:in `catch'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/timeout.rb:33:in `catch'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/timeout.rb:108:in `timeout'
/usr/local/Homebrew/Library/Homebrew/test.rb:29:in `<main>'

@chenrui333 chenrui333 mentioned this pull request Nov 22, 2019
@chenrui333
Copy link
Member Author

chenrui333 commented Nov 23, 2019

Works on my catalina machine:

$ brew test --verbose ungit
Testing ungit
/usr/bin/sandbox-exec -f /private/tmp/homebrew20191122-4380-1gu2xlz.sb ruby -W0 -I $LOAD_PATH -- /usr/local/Homebrew/Library/Homebrew/test.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ungit.rb --verbose
## Ungit started ##

Took 771ms to start server.
==> curl -s 127.0.0.1:56883/
==> ps -o pid,ppid

@Bo98
Copy link
Member

Bo98 commented Nov 23, 2019

nokogiri should be shipped with brew. I'm not sure why it's seen as missing.

@chenrui333
Copy link
Member Author

@Bo98
Copy link
Member

Bo98 commented Nov 24, 2019

Ok so those are only installed on brew audit and brew style - but those should have run at least once on those machines...

Maybe it's better to avoid nokogiri for the tests.

Anyway, I think it's fixed so let's try it again.

@BrewTestBot test this please

@Bo98 Bo98 closed this in 1ed7e2a Nov 24, 2019
@lock lock bot added the outdated PR was locked due to age label Jan 1, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Jan 1, 2020
@chenrui333 chenrui333 deleted the ungit-1.5.1 branch December 18, 2022 04:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants