Unable to test against JRuby 9.2.7.0

Hi,

I’m trying to test against JRuby 9.2.7.0 but I get the following error:

$ rvm get stable
Downloading https://get.rvm.io
Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc
Verifying /home/travis/.rvm/archives/rvm-installer.asc
gpg: Signature made Sun 30 Dec 2018 10:44:46 AM UTC using RSA key ID 39499BDB
gpg: BAD signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>"
Warning, RVM 1.26.0 introduces signed releases and automated check of signatures when GPG software found. Assuming you trust Michal Papis import the mpapis public key (downloading the signatures).
GPG signature verification failed for '/home/travis/.rvm/archives/rvm-installer' - 'https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc'! Try to install GPG v2 and then fetch the public key:
    gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
or if it fails:
    command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
the key can be compared with:
    https://rvm.io/mpapis.asc
    https://keybase.io/mpapis
NOTE: GPG version 2.1.17 have a bug which cause failures during fetching keys from remote server. Please downgrade or upgrade to newer version (if available) or use the second method described above.
/home/travis/.rvm/scripts/functions/cli: line 243: return: _ret: numeric argument required
The command "rvm get stable" failed and exited with 2 during .
Your build has been stopped.    

Ref: https://travis-ci.org/simi/mongoid_paranoia/jobs/523433289

Is there anything wrong on my side?

Hello, there. Thanks for the report. This appears to be an issue with RVM. I opened

to track it. Thanks again.

The reason for using the stable RVM for JRuby is

The RVM issue should now be fixed.

Thanks!

I’m getting a similar error:

https://travis-ci.org/codegram/hyperclient/jobs/556157382

$ command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
gpg: key D39DC0E3: "Michal Papis (RVM signing) <mpapis@gmail.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
$ command curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import -
gpg: key 39499BDB: public key "Piotr Kuczynski <piotr.kuczynski@gmail.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
Updating RVM
$ rvm get stable
Downloading https://get.rvm.io
Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc
Verifying /home/travis/.rvm/archives/rvm-installer.asc
gpg: Signature made Mon 01 Jul 2019 05:24:59 PM UTC using RSA key ID BF04FF17
gpg: Good signature from "Michal Papis (RVM signing) <mpapis@gmail.com>"
gpg:                 aka "Michal Papis <michal.papis@toptal.com>"
gpg:                 aka "[jpeg image of size 5015]"
gpg: Note: This key has expired!
Primary key fingerprint: 409B 6B17 96C2 7546 2A17  0311 3804 BB82 D39D C0E3
     Subkey fingerprint: 62C9 E5F4 DA30 0D94 AC36  166B E206 C29F BF04 FF17
GPG verified '/home/travis/.rvm/archives/rvm-installer'
curl: (22) The requested URL returned error: 403 Forbidden
curl: (22) The requested URL returned error: 410 Gone
Downloading https://github.com/rvm/rvm/archive/.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
Could not download 'https://github.com/rvm/rvm/archive/.tar.gz'.
  curl returned status '22'.
Downloading https://bitbucket.org/mpapis/rvm/get/.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
Could not download 'https://bitbucket.org/mpapis/rvm/get/.tar.gz'.
  curl returned status '22'.
Could not update RVM, please report to https://github.com/rvm/rvm/issues
The command "rvm get stable" failed and exited with 22 during .

Any idea of what might be happening? Thanks!

Update: In some other jobs, rvm updates correctly:

https://travis-ci.org/codegram/hyperclient/jobs/555823401

The only job I keep getting random failures is the one that’s trying to run it on JRuby 9.2.7.0. Any idea on what might be happening?

I’m having the same issue.

The command “rvm get stable” failed and exited with 2 during .
Your build has been stopped.

docker stop/waiting
docker start/running, process 3699
resolvconf
resolvconf stop/waiting
resolvconf start/running
git.checkout
0.60s$ git clone --depth=50 --branch=master https://github.com/fny/xorcist.git fny/xorcist
Cloning into 'fny/xorcist'...
remote: Enumerating objects: 15, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (14/14), done.
Receiving objects: 100% (213/213), 35.85 KiB | 1.63 MiB/s, done.
remote: Total 213 (delta 3), reused 7 (delta 1), pack-reused 198
Resolving deltas: 100% (94/94), done.
$ cd fny/xorcist
$ git checkout -qf 6604923817bf4661bb695f055ff8ef2c512a6936
0.14s$ command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
gpg: key D39DC0E3: "Michal Papis (RVM signing) <mpapis@gmail.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
0.08s$ command curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import -
gpg: key 39499BDB: public key "Piotr Kuczynski <piotr.kuczynski@gmail.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
Updating RVM
0.84s$ rvm get stable
Downloading https://get.rvm.io
Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc
Verifying /home/travis/.rvm/archives/rvm-installer.asc
gpg: Signature made Fri 12 Jul 2019 09:08:29 AM UTC using RSA key ID 39499BDB
gpg: BAD signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>"
Warning, RVM 1.26.0 introduces signed releases and automated check of signatures when GPG software found. Assuming you trust Michal Papis import the mpapis public key (downloading the signatures).
GPG signature verification failed for '/home/travis/.rvm/archives/rvm-installer' - 'https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc'! Try to install GPG v2 and then fetch the public key:
    gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
or if it fails:
    command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
the key can be compared with:
    https://rvm.io/mpapis.asc
    https://keybase.io/mpapis
NOTE: GPG version 2.1.17 have a bug which cause failures during fetching keys from remote server. Please downgrade or upgrade to newer version (if available) or use the second method described above.
/home/travis/.rvm/scripts/functions/cli: line 243: return: _ret: numeric argument required
The command "rvm get stable" failed and exited with 2 during .
Your build has been stopped.