Discussion:
tests/core/user_agent_tests.rb
Kyle Rames
2013-02-22 15:25:35 UTC
Permalink
Does anyone have any ideas on why the user agent test is failing? It seems
to consistently happen on Travis CI for all Ruby versions. It works on my
machine with and without mocking.

How can you tell the gem versions that Travis is using?

Fog::Connection (core)

170 <https://travis-ci.org/fog/fog/jobs/4983152#L170> tests/core/user_agent_tests.rb

171 <https://travis-ci.org/fog/fog/jobs/4983152#L171> Fog::Connection (core)

172 <https://travis-ci.org/fog/fog/jobs/4983152#L172> - returns "fog/1.9.0"

173 <https://travis-ci.org/fog/fog/jobs/4983152#L173>

174 <https://travis-ci.org/fog/fog/jobs/4983152#L174> tests/core/user_agent_tests.rb

175 <https://travis-ci.org/fog/fog/jobs/4983152#L175> undefined method `connection' for #<Excon::Connection:0xb657b280> (NoMethodError)

176 <https://travis-ci.org/fog/fog/jobs/4983152#L176> ./tests/core/user_agent_tests.rb:4

177 <https://travis-ci.org/fog/fog/jobs/4983152#L177> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:138:in `instance_eval'

178 <https://travis-ci.org/fog/fog/jobs/4983152#L178> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:138:in `assert'

179 <https://travis-ci.org/fog/fog/jobs/4983152#L179> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:110:in `returns'

180 <https://travis-ci.org/fog/fog/jobs/4983152#L180> ./tests/core/user_agent_tests.rb:2

181 <https://travis-ci.org/fog/fog/jobs/4983152#L181> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:78:in `instance_eval'

182 <https://travis-ci.org/fog/fog/jobs/4983152#L182> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:78:in `tests'

183 <https://travis-ci.org/fog/fog/jobs/4983152#L183> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:37:in `initialize'

184 <https://travis-ci.org/fog/fog/jobs/4983152#L184> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:13:in `new'

185 <https://travis-ci.org/fog/fog/jobs/4983152#L185> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:13:in `tests'

186 <https://travis-ci.org/fog/fog/jobs/4983152#L186> ./tests/core/user_agent_tests.rb:1

187 <https://travis-ci.org/fog/fog/jobs/4983152#L187> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:61:in `load'

188 <https://travis-ci.org/fog/fog/jobs/4983152#L188> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:61:in `run_in_thread'

189 <https://travis-ci.org/fog/fog/jobs/4983152#L189> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:58:in `each'

190 <https://travis-ci.org/fog/fog/jobs/4983152#L190> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:58:in `run_in_thread'

191 <https://travis-ci.org/fog/fog/jobs/4983152#L191> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:49:in `initialize'

192 <https://travis-ci.org/fog/fog/jobs/4983152#L192> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:49:in `new'

193 <https://travis-ci.org/fog/fog/jobs/4983152#L193> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:49:in `run_in_thread'

194 <https://travis-ci.org/fog/fog/jobs/4983152#L194> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:72

195 <https://travis-ci.org/fog/fog/jobs/4983152#L195> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/bin/shindont:4:in `require'

196 <https://travis-ci.org/fog/fog/jobs/4983152#L196> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/bin/shindont:4

197 <https://travis-ci.org/fog/fog/jobs/4983152#L197> /home/travis/.rvm/gems/ruby-1.8.7-p371/bin/shindont:23:in `load'

198 <https://travis-ci.org/fog/fog/jobs/4983152#L198> /home/travis/.rvm/gems/ruby-1.8.7-p371/bin/shindont:23
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
geemus (Wesley Beary)
2013-02-22 15:46:06 UTC
Permalink
Just pushed what I think should be a fix, let me know if it is still broken
and I don't catch it (but I'll keep an eye on travis).
wes
Post by Kyle Rames
Does anyone have any ideas on why the user agent test is failing? It seems
to consistently happen on Travis CI for all Ruby versions. It works on my
machine with and without mocking.
How can you tell the gem versions that Travis is using?
Fog::Connection (core)
170 <https://travis-ci.org/fog/fog/jobs/4983152#L170> tests/core/user_agent_tests.rb
171 <https://travis-ci.org/fog/fog/jobs/4983152#L171> Fog::Connection (core)
172 <https://travis-ci.org/fog/fog/jobs/4983152#L172> - returns "fog/1.9.0"
173 <https://travis-ci.org/fog/fog/jobs/4983152#L173>
174 <https://travis-ci.org/fog/fog/jobs/4983152#L174> tests/core/user_agent_tests.rb
175 <https://travis-ci.org/fog/fog/jobs/4983152#L175> undefined method `connection' for #<Excon::Connection:0xb657b280> (NoMethodError)
176 <https://travis-ci.org/fog/fog/jobs/4983152#L176> ./tests/core/user_agent_tests.rb:4
177 <https://travis-ci.org/fog/fog/jobs/4983152#L177> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:138:in `instance_eval'
178 <https://travis-ci.org/fog/fog/jobs/4983152#L178> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:138:in `assert'
179 <https://travis-ci.org/fog/fog/jobs/4983152#L179> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:110:in `returns'
180 <https://travis-ci.org/fog/fog/jobs/4983152#L180> ./tests/core/user_agent_tests.rb:2
181 <https://travis-ci.org/fog/fog/jobs/4983152#L181> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:78:in `instance_eval'
182 <https://travis-ci.org/fog/fog/jobs/4983152#L182> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:78:in `tests'
183 <https://travis-ci.org/fog/fog/jobs/4983152#L183> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:37:in `initialize'
184 <https://travis-ci.org/fog/fog/jobs/4983152#L184> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:13:in `new'
185 <https://travis-ci.org/fog/fog/jobs/4983152#L185> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:13:in `tests'
186 <https://travis-ci.org/fog/fog/jobs/4983152#L186> ./tests/core/user_agent_tests.rb:1
187 <https://travis-ci.org/fog/fog/jobs/4983152#L187> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:61:in `load'
188 <https://travis-ci.org/fog/fog/jobs/4983152#L188> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:61:in `run_in_thread'
189 <https://travis-ci.org/fog/fog/jobs/4983152#L189> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:58:in `each'
190 <https://travis-ci.org/fog/fog/jobs/4983152#L190> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:58:in `run_in_thread'
191 <https://travis-ci.org/fog/fog/jobs/4983152#L191> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:49:in `initialize'
192 <https://travis-ci.org/fog/fog/jobs/4983152#L192> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:49:in `new'
193 <https://travis-ci.org/fog/fog/jobs/4983152#L193> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:49:in `run_in_thread'
194 <https://travis-ci.org/fog/fog/jobs/4983152#L194> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:72
195 <https://travis-ci.org/fog/fog/jobs/4983152#L195> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/bin/shindont:4:in `require'
196 <https://travis-ci.org/fog/fog/jobs/4983152#L196> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/bin/shindont:4
197 <https://travis-ci.org/fog/fog/jobs/4983152#L197> /home/travis/.rvm/gems/ruby-1.8.7-p371/bin/shindont:23:in `load'
198 <https://travis-ci.org/fog/fog/jobs/4983152#L198> /home/travis/.rvm/gems/ruby-1.8.7-p371/bin/shindont:23
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Kyle Rames
2013-02-22 15:52:32 UTC
Permalink
Thanks geemus! Will do!
Post by geemus (Wesley Beary)
Just pushed what I think should be a fix, let me know if it is still
broken and I don't catch it (but I'll keep an eye on travis).
wes
Post by Kyle Rames
Does anyone have any ideas on why the user agent test is failing? It
seems to consistently happen on Travis CI for all Ruby versions. It
works on my machine with and without mocking.
How can you tell the gem versions that Travis is using?
Fog::Connection (core)
170 <https://travis-ci.org/fog/fog/jobs/4983152#L170> tests/core/user_agent_tests.rb
171 <https://travis-ci.org/fog/fog/jobs/4983152#L171> Fog::Connection (core)
172 <https://travis-ci.org/fog/fog/jobs/4983152#L172> - returns "fog/1.9.0"
173 <https://travis-ci.org/fog/fog/jobs/4983152#L173>
174 <https://travis-ci.org/fog/fog/jobs/4983152#L174> tests/core/user_agent_tests.rb
175 <https://travis-ci.org/fog/fog/jobs/4983152#L175> undefined method `connection' for #<Excon::Connection:0xb657b280> (NoMethodError)
176 <https://travis-ci.org/fog/fog/jobs/4983152#L176> ./tests/core/user_agent_tests.rb:4
177 <https://travis-ci.org/fog/fog/jobs/4983152#L177> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:138:in `instance_eval'
178 <https://travis-ci.org/fog/fog/jobs/4983152#L178> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:138:in `assert'
179 <https://travis-ci.org/fog/fog/jobs/4983152#L179> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:110:in `returns'
180 <https://travis-ci.org/fog/fog/jobs/4983152#L180> ./tests/core/user_agent_tests.rb:2
181 <https://travis-ci.org/fog/fog/jobs/4983152#L181> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:78:in `instance_eval'
182 <https://travis-ci.org/fog/fog/jobs/4983152#L182> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:78:in `tests'
183 <https://travis-ci.org/fog/fog/jobs/4983152#L183> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:37:in `initialize'
184 <https://travis-ci.org/fog/fog/jobs/4983152#L184> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:13:in `new'
185 <https://travis-ci.org/fog/fog/jobs/4983152#L185> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/../shindo.rb:13:in `tests'
186 <https://travis-ci.org/fog/fog/jobs/4983152#L186> ./tests/core/user_agent_tests.rb:1
187 <https://travis-ci.org/fog/fog/jobs/4983152#L187> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:61:in `load'
188 <https://travis-ci.org/fog/fog/jobs/4983152#L188> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:61:in `run_in_thread'
189 <https://travis-ci.org/fog/fog/jobs/4983152#L189> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:58:in `each'
190 <https://travis-ci.org/fog/fog/jobs/4983152#L190> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:58:in `run_in_thread'
191 <https://travis-ci.org/fog/fog/jobs/4983152#L191> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:49:in `initialize'
192 <https://travis-ci.org/fog/fog/jobs/4983152#L192> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:49:in `new'
193 <https://travis-ci.org/fog/fog/jobs/4983152#L193> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:49:in `run_in_thread'
194 <https://travis-ci.org/fog/fog/jobs/4983152#L194> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/lib/shindo/bin.rb:72
195 <https://travis-ci.org/fog/fog/jobs/4983152#L195> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/bin/shindont:4:in `require'
196 <https://travis-ci.org/fog/fog/jobs/4983152#L196> /home/travis/.rvm/gems/ruby-1.8.7-p371/gems/shindo-0.3.5/bin/shindont:4
197 <https://travis-ci.org/fog/fog/jobs/4983152#L197> /home/travis/.rvm/gems/ruby-1.8.7-p371/bin/shindont:23:in `load'
198 <https://travis-ci.org/fog/fog/jobs/4983152#L198> /home/travis/.rvm/gems/ruby-1.8.7-p371/bin/shindont:23
--
You received this message because you are subscribed to the Google Groups
"ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Loading...