flavorjones/chromedriver-helper

1.2.0 issue with jruby-9.1.5.0 on Travis

Closed this issue · 4 comments

FWIW our build failed when 1.2.0 was released, see activeadmin/pull_requests #6644 Reverting to 1.1 fixed the build for us.

P.S. You may want to tag your 1.2 release in GitHub.

@varyonic thanks for opening this. I'm a longtime user of Active Admin, big fan.

I'm going to add JRuby to the CI pipeline and we'll see what we see ...

P.S. I forgot to git push --tags, it's been corrected.

The test suite (such as it is) passes on JRuby. Moreover, when I install it under JRuby 9.1.13.0, on an otherwise pristine-ish system, an appropriate binary downloads:

$ ls -lt ~/.chromedriver-helper/2.35/linux64/*
-rwxr-xr-x 1 flavorjones flavorjones 7903592 2018-02-16 22:41 /home/flavorjones/.chromedriver-helper/2.35/linux64/chromedriver*
-rw-r--r-- 1 flavorjones flavorjones 3721349 2018-02-16 22:41 /home/flavorjones/.chromedriver-helper/2.35/linux64/chromedriver_linux64.zip

and I can run chromedriver:

Starting ChromeDriver 2.35.528139 (47ead77cb35ad2a9a83248b292151462a66cd881) on port 9515

Can you help me out with any further information?

Same results with JRuby 9.1.15.0 (which was the version running in the failed travis run):

chromedriver-helper $ rvm install "jruby-9.1.15.0"
Searching for binary rubies, this might take some time.
Found remote file https://s3.amazonaws.com/jruby.org/downloads/9.1.15.0/jruby-bin-9.1.15.0.tar.gz
Checking requirements for mint.
Requirements installation successful.
jruby-9.1.15.0 - #configure
jruby-9.1.15.0 - #download
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 20.0M  100 20.0M    0     0  6417k      0  0:00:03  0:00:03 --:--:-- 6418k
jruby-9.1.15.0 - #validate archive
jruby-9.1.15.0 - #extract
jruby-9.1.15.0 - #validate binary
jruby-9.1.15.0 - #setup
jruby-9.1.15.0 - #gemset created /home/flavorjones/.rvm/gems/jruby-9.1.15.0@global
jruby-9.1.15.0 - #importing gemset /home/flavorjones/.rvm/gemsets/jruby/global.gems..
jruby-9.1.15.0 - #generating global wrappers.......
jruby-9.1.15.0 - #gemset created /home/flavorjones/.rvm/gems/jruby-9.1.15.0
jruby-9.1.15.0 - #importing gemsetfile /home/flavorjones/.rvm/gemsets/default.gems evaluated to empty gem list
jruby-9.1.15.0 - #generating default wrappers.......

curiosity jruby-9.1.15.0 (master)
chromedriver-helper $ ls -lt ~/.chromedriver-helper/2.35/linux64/*
ls: cannot access '/home/flavorjones/.chromedriver-helper/2.35/linux64/*': No such file or directory

curiosity jruby-9.1.15.0 (master)
chromedriver-helper $ ruby -v
jruby 9.1.15.0 (2.3.3) 2017-12-07 929fde8 OpenJDK 64-Bit Server VM 25.151-b12 on 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12 [linux-x86_64]

curiosity jruby-9.1.15.0 (master)
chromedriver-helper $ gem install chromedriver-helper
Fetching: io-like-0.3.0.gem (100%)
Successfully installed io-like-0.3.0
Fetching: archive-zip-0.11.0.gem (100%)
Successfully installed archive-zip-0.11.0
Fetching: nokogiri-1.8.2-java.gem (100%)
Successfully installed nokogiri-1.8.2-java
Successfully installed chromedriver-helper-1.2.0
4 gems installed

curiosity jruby-9.1.15.0 (master)
chromedriver-helper $ ls -lt ~/.chromedriver-helper/2.35/linux64/*
-rwxr-xr-x 1 flavorjones flavorjones 7903592 2018-02-16 22:47 /home/flavorjones/.chromedriver-helper/2.35/linux64/chromedriver*
-rw-r--r-- 1 flavorjones flavorjones 3721349 2018-02-16 22:47 /home/flavorjones/.chromedriver-helper/2.35/linux64/chromedriver_linux64.zip

curiosity jruby-9.1.15.0 (master)
chromedriver-helper $ which chromedriver
/home/flavorjones/.rvm/gems/jruby-9.1.15.0/bin/chromedriver

curiosity jruby-9.1.15.0 (master)
chromedriver-helper $ chromedriver --verbose
Starting ChromeDriver 2.35.528139 (47ead77cb35ad2a9a83248b292151462a66cd881) on port 9515
Only local connections are allowed.

Closing, as the OP did not provide any additional information to assist in reproducing the issue.