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

roachtest failure: ruby-pg - !!! Installation of ruby 3.1.2 failed! #95004

Closed
smg260 opened this issue Jan 10, 2023 · 3 comments · Fixed by #100764
Closed

roachtest failure: ruby-pg - !!! Installation of ruby 3.1.2 failed! #95004

smg260 opened this issue Jan 10, 2023 · 3 comments · Fixed by #100764
Assignees
Labels
C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. O-roachtest T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)

Comments

@smg260
Copy link
Contributor

smg260 commented Jan 10, 2023

Since Dec 10, 2022 there have been a number (12 so far) of ruby-pg failures. They are categorised as SSH flakes in #90695 but upon closer inspection seem to happen because ruby cannot be installed for a reason unrelated to SSH.

It is not consistently failing, but frequently enough to warrant some investigation

/usr/local/src/ruby-3.1.2/lib/rubygems/installer.rb:272:in `check_executable_overwrite': "erb" from erb conflicts with /usr/local/bin/erb (Gem::InstallError)
	from ./tool/rbinstall.rb:868:in `check_executable_overwrite'
	from /usr/local/src/ruby-3.1.2/lib/rubygems/installer.rb:513:in `block in generate_bin'
	from /usr/local/src/ruby-3.1.2/lib/rubygems/installer.rb:492:in `each'
	from /usr/local/src/ruby-3.1.2/lib/rubygems/installer.rb:492:in `generate_bin'
	from /usr/local/src/ruby-3.1.2/lib/rubygems/installer.rb:333:in `install'
	from ./tool/rbinstall.rb:899:in `block in install'
	from ./tool/rbinstall.rb:713:in `no_write'
	from ./tool/rbinstall.rb:899:in `install'
	from ./tool/rbinstall.rb:1002:in `block in install_default_gem'
	from ./tool/rbinstall.rb:989:in `each'
	from ./tool/rbinstall.rb:989:in `install_default_gem'
	from ./tool/rbinstall.rb:927:in `block in <main>'
	from ./tool/rbinstall.rb:1127:in `block in <main>'
	from ./tool/rbinstall.rb:1124:in `each'
	from ./tool/rbinstall.rb:1124:in `<main>'
make: *** [uncommon.mk:383: do-install-all] Error 1
!!! Installation of ruby 3.1.2 failed!

2 issues:

  • ruby is failing installation
  • this is categorised as an SSH flake

Jira issue: CRDB-23268

@smg260 smg260 added C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. O-roachtest T-testeng TestEng Team labels Jan 10, 2023
@blathers-crl
Copy link

blathers-crl bot commented Jan 10, 2023

cc @cockroachdb/test-eng

@smg260
Copy link
Contributor Author

smg260 commented Mar 21, 2023

@rafiss have you seen this error before? It was happening fairly frequently, though the last time was on March 4th.
(I see #97314 is on your radar already)

@rafiss
Copy link
Collaborator

rafiss commented Mar 21, 2023

I haven't seen, or more accurately, noticed, this type of failure before. I have an idea though. We probably should clean up /usr/local/bin/erb at the beginning of this test, since it looks like gem doesn't like it if you install something that's there already.

@smg260 smg260 assigned smg260 and rafiss and unassigned smg260 Apr 5, 2023
@smg260 smg260 added the T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) label Apr 5, 2023
@smg260 smg260 removed the T-testeng TestEng Team label Apr 5, 2023
@craig craig bot closed this as completed in 15182c7 Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. O-roachtest T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants