Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
cp config/database.yml.example config/database.yml
cp db/schema.rb.example db/schema.rb
sudo systemctl start mysql
mysql -uroot -proot -e "SET @@global.sql_mode=(SELECT REPLACE(@@global.sql_mode, 'ONLY_FULL_GROUP_BY', ''));"
mysql -uroot -proot -e "CREATE DATABASE plots;"
bundle exec rake db:schema:load db:migrate --trace
# above SET @@global.sql_mode is to address issue in https://github.com/publiclab/plots2/issues/3120
shell: /bin/bash -e {0}
env:
RAILS_ENV: test
DB_PASSWORD: root
DB_PORT: 32768
Warning: arning] Using a password on the command line interface can be insecure.
Warning: arning] Using a password on the command line interface can be insecure.
/home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/ffi-1.14.2/lib/ffi/library.rb:112: [BUG] Illegal instruction at 0x00007fbdac6b76d0
ruby 2.6.6p146 (2020-03-31 revision 67876) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0057 p:---- s:0287 e:000286 CFUNC :open
c:0056 p:0022 s:0281 e:000280 BLOCK /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/ffi-1.14.2/lib/ffi/library.rb:112 [FINISH]
c:0055 p:---- s:0272 e:000271 CFUNC :each
c:0054 p:0113 s:0268 e:000267 BLOCK /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/ffi-1.14.2/lib/ffi/library.rb:109 [FINISH]
c:0053 p:---- s:0261 e:000260 CFUNC :map
c:0052 p:0069 s:0257 e:000256 METHOD /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/ffi-1.14.2/lib/ffi/library.rb:99
c:0051 p:0079 s:0250 e:000249 CLASS /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/sassc-2.2.1/lib/sassc/native.rb:11
c:0050 p:0007 s:0246 e:000245 CLASS /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/sassc-2.2.1/lib/sassc/native.rb:6
c:0049 p:0014 s:0243 e:000242 TOP /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/sassc-2.2.1/lib/sassc/native.rb:5 [FINISH]
c:0048 p:---- s:0240 e:000239 CFUNC :require_relative
c:0047 p:0021 s:0235 e:000234 TOP /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/sassc-2.2.1/lib/sassc.rb:31 [FINISH]
c:0046 p:---- s:0232 e:000231 CFUNC :require
c:0045 p:0006 s:0227 e:000226 METHOD /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/skylight-core-4.3.2/lib/skylight/core/probes.rb:118
c:0044 p:0008 s:0221 e:000220 BLOCK /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291
c:0043 p:0068 s:0218 e:000217 METHOD /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257
c:0042 p:0011 s:0211 e:000210 METHOD /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291
c:0041 p:0013 s:0205 e:000204 TOP /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/sassc/rails.rb:5 [FINISH]
c:0040 p:---- s:0202 e:000201 CFUNC :require_relative
c:0039 p:0006 s:0197 e:000196 TOP /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/sassc-rails-2.1.2/lib/sassc-rails.rb:3 [FINISH]
c:0038 p:---- s:0194 e:000193 CFUNC :require
c:0037 p:0033 s:0189 e:000188 BLOCK /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/bundler-2.2.2/lib/bundler/runtime.rb:66 [FINISH]
c:0036 p:---- s:0184 e:000183 CFUNC :each
c:0035 p:0050 s:0180 e:000179 BLOCK /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/bundler-2.2.2/lib/bundler/runtime.rb:61 [FINISH]
c:0034 p:---- s:0173 e:000172 CFUNC :each
c:0033 p:0030 s:0169 e:000168 METHOD /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/bundler-2.2.2/lib/bundler/runtime.rb:50
c:0032 p:0015 s:0164 e:000163 METHOD /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/bundler-2.2.2/lib/bundler.rb:174
c:0031 p:0062 s:0159 e:000158 TOP /home/runner/work/plots2/plots2/config/application.rb:8 [FINISH]
c:0030 p:---- s:0156 e:000155 CFUNC :require
c:0029 p:0018 s:0151 e:000150 TOP /home/runner/work/plots2/plots2/Rakefile:5 [FINISH]
c:0028 p:---- s:0148 e:000147 CFUNC :load
c:0027 p:0006 s:0143 e:000142 METHOD /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/rake_module.rb:29
c:0026 p:0200 s:0138 e:000137 METHOD /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/application.rb:703
c:0025 p:0005 s:0132 e:000131 BLOCK /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/application.rb:104
c:0024 p:0002 s:0129 e:000128 METHOD /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/application.rb:186
c:0023 p:0005 s:0124 e:000123 METHOD /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/application.rb:103
c:0022 p:0014 s:0120 e:000119 BLOCK /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/application.rb:82
c:0021 p:0002 s:0117 e:000116 METHOD /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/application.rb:186
c:0020 p:0014 s:0112 e:000111 METHOD /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/application.rb:80
c:0019 p:0020 s:0107 e:000106 TOP /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/exe/rake:27 [FINISH]
c:0018 p:---- s:0104 e:000103 CFUNC :load
c:0017 p:0109 s:0099 e:000098 TOP /home/runner/work/plots2/plots2/vendor/bundle/ruby/2.6.0/bin/rake:23 [FINISH]
c:0016 p:---- s:0094 e:000093 CFUNC :load
c:0015 p:0105 s:0089 e:000088 METHOD /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/bundler-2.2.2/lib/bundler/cli/exec.rb:63
c:0014 p:0075 s:0083 e:000082 METHOD /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/bundler-2.2.2/lib/bundler/cli/exec.rb:28
c:0013 p:0026 s:0078 e:000077 METHOD /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/bundler-2.2.2/lib/bundler/cli.rb:497
c:0012 p:0064 s:0073 e:000072 METHOD /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/bundler-2.2.2/lib/bundler/vendor/thor/lib/thor/command.rb:27
c:0011 p:0047 s:0065 e:000064 METHOD /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/bundler-2.2.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:127
c:0010 p:0261 s:0058 e:000057 METHOD /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/bundler-2.2.2/lib/bundler/vendor/thor/lib/thor.rb:392
c:0009 p:0009 s:0045 e:000044 METHOD /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/bundler-2.2.2/lib/bundler/cli.rb:30
c:0008 p:0064 s:0040 e:000039 METHOD /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/bundler-2.2.2/lib/bundler/vendor/thor/lib/thor/base.rb:485
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment