$ rake test mode=all
Running tests for: unit
Cassettes cleared
Running tests for: resources
Cassettes cleared
WARNING: There is already a VCR request matcher registered for
:body_json. Overriding it.
WARNING: There is already a VCR request matcher registered for :params.
Overriding it.
Running tests for: extensions
Cassettes cleared
WARNING: There is already a VCR request matcher registered for
:body_json. Overriding it.
WARNING: There is already a VCR request matcher registered for :params.
Overriding it.
Run options: --seed 46775
Running tests:
URI: https://kt1.local/pulp/api/v2/consumers/integration_test_consumer_support/
URI: https://kt1.local/pulp/api/v2/consumers/integration_test_consumer_support/
/home/mmccune/.gem/ruby/1.9.1/gems/rest-client-1.7.2/lib/restclient/request.rb:446:in rescue in transmit': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (RestClient::SSLCertificateNotVerified) from /home/mmccune/.gem/ruby/1.9.1/gems/rest-client-1.7.2/lib/restclient/request.rb:350:intransmit'
from
/home/mmccune/.gem/ruby/1.9.1/gems/rest-client-1.7.2/lib/restclient/request.rb:176:in
`execute'
it has the right hostname in the URI it is hitting, any thoughts on why
the ssl verification is failing?
Mike
···
--
Mike McCune
mmccune AT redhat.com
Red Hat Engineering | Portland, OR
Systems Management | 650-254-4248
You have to turn off ssl verification although I can't remember how or why you have to do this.
David
···
----- Original Message -----
> From: "Mike McCune"
> To: "foreman-dev"
> Sent: Friday, January 30, 2015 6:25:15 PM
> Subject: [foreman-dev] [katello] Runcible error generating new vcr cassettes
>
> Trying to run all the tests and I get:
>
> $ rake test mode=all
> Running tests for: unit
> Cassettes cleared
> Running tests for: resources
> Cassettes cleared
> WARNING: There is already a VCR request matcher registered for
> :body_json. Overriding it.
> WARNING: There is already a VCR request matcher registered for :params.
> Overriding it.
> Running tests for: extensions
> Cassettes cleared
> WARNING: There is already a VCR request matcher registered for
> :body_json. Overriding it.
> WARNING: There is already a VCR request matcher registered for :params.
> Overriding it.
> Run options: --seed 46775
>
> # Running tests:
>
> URI:
> https://kt1.local/pulp/api/v2/consumers/integration_test_consumer_support/
> URI:
> https://kt1.local/pulp/api/v2/consumers/integration_test_consumer_support/
> /home/mmccune/.gem/ruby/1.9.1/gems/rest-client-1.7.2/lib/restclient/request.rb:446:in
> `rescue in transmit': SSL_connect returned=1 errno=0 state=SSLv3 read
> server certificate B: certificate verify failed
> (RestClient::SSLCertificateNotVerified)
> from
> /home/mmccune/.gem/ruby/1.9.1/gems/rest-client-1.7.2/lib/restclient/request.rb:350:in
> `transmit'
> from
> /home/mmccune/.gem/ruby/1.9.1/gems/rest-client-1.7.2/lib/restclient/request.rb:176:in
> `execute'
>
> it has the right hostname in the URI it is hitting, any thoughts on why
> the ssl verification is failing?
>
> Mike
> --
> Mike McCune
> mmccune AT redhat.com
> Red Hat Engineering | Portland, OR
> Systems Management | 650-254-4248
>
> --
> You received this message because you are subscribed to the Google Groups
> "foreman-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-dev+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
to
client_options[:verify_ssl] = false
before running rake test mode=all
···
----- Original Message -----
> From: "Dai Davis"
> To: foreman-dev@googlegroups.com
> Sent: Saturday, January 31, 2015 9:54:22 AM
> Subject: Re: [foreman-dev] [katello] Runcible error generating new vcr cassettes
>
> You have to turn off ssl verification although I can't remember how or why
> you have to do this.
>
> David
>
>
> ----- Original Message -----
> > From: "Mike McCune"
> > To: "foreman-dev"
> > Sent: Friday, January 30, 2015 6:25:15 PM
> > Subject: [foreman-dev] [katello] Runcible error generating new vcr
> > cassettes
> >
> > Trying to run all the tests and I get:
> >
> > $ rake test mode=all
> > Running tests for: unit
> > Cassettes cleared
> > Running tests for: resources
> > Cassettes cleared
> > WARNING: There is already a VCR request matcher registered for
> > :body_json. Overriding it.
> > WARNING: There is already a VCR request matcher registered for :params.
> > Overriding it.
> > Running tests for: extensions
> > Cassettes cleared
> > WARNING: There is already a VCR request matcher registered for
> > :body_json. Overriding it.
> > WARNING: There is already a VCR request matcher registered for :params.
> > Overriding it.
> > Run options: --seed 46775
> >
> > # Running tests:
> >
> > URI:
> > https://kt1.local/pulp/api/v2/consumers/integration_test_consumer_support/
> > URI:
> > https://kt1.local/pulp/api/v2/consumers/integration_test_consumer_support/
> > /home/mmccune/.gem/ruby/1.9.1/gems/rest-client-1.7.2/lib/restclient/request.rb:446:in
> > `rescue in transmit': SSL_connect returned=1 errno=0 state=SSLv3 read
> > server certificate B: certificate verify failed
> > (RestClient::SSLCertificateNotVerified)
> > from
> > /home/mmccune/.gem/ruby/1.9.1/gems/rest-client-1.7.2/lib/restclient/request.rb:350:in
> > `transmit'
> > from
> > /home/mmccune/.gem/ruby/1.9.1/gems/rest-client-1.7.2/lib/restclient/request.rb:176:in
> > `execute'
> >
> > it has the right hostname in the URI it is hitting, any thoughts on why
> > the ssl verification is failing?
> >
> > Mike
> > --
> > Mike McCune
> > mmccune AT redhat.com
> > Red Hat Engineering | Portland, OR
> > Systems Management | 650-254-4248
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "foreman-dev" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to foreman-dev+unsubscribe@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "foreman-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-dev+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
actually, I hadn't rebased my clone against master in a while, a fresh
rebase and all is well. I noticed something was amiss when the line
below wasn't available.
sorry about the noise, thanks for the assist
···
On 01/31/2015 09:41 AM, Partha Aji wrote:
> Yeh change
> https://github.com/Katello/runcible/blob/master/lib/runcible/base.rb#L66
> to
> client_options[:verify_ssl] = false
> before running rake test mode=all
>
> ----- Original Message -----
>> From: "Dai Davis"
>> To: foreman-dev@googlegroups.com
>> Sent: Saturday, January 31, 2015 9:54:22 AM
>> Subject: Re: [foreman-dev] [katello] Runcible error generating new vcr cassettes
>>
>> You have to turn off ssl verification although I can't remember how or why
>> you have to do this.
>>
>> David
>>
>>
>> ----- Original Message -----
>> > From: "Mike McCune"
>> > To: "foreman-dev"
>> > Sent: Friday, January 30, 2015 6:25:15 PM
>> > Subject: [foreman-dev] [katello] Runcible error generating new vcr
>> > cassettes
>> >
>> > Trying to run all the tests and I get:
>> >
>> > $ rake test mode=all
>> > Running tests for: unit
>> > Cassettes cleared
>> > Running tests for: resources
>> > Cassettes cleared
>> > WARNING: There is already a VCR request matcher registered for
>> > :body_json. Overriding it.
>> > WARNING: There is already a VCR request matcher registered for :params.
>> > Overriding it.
>> > Running tests for: extensions
>> > Cassettes cleared
>> > WARNING: There is already a VCR request matcher registered for
>> > :body_json. Overriding it.
>> > WARNING: There is already a VCR request matcher registered for :params.
>> > Overriding it.
>> > Run options: --seed 46775
>> >
>> > # Running tests:
>> >
>> > URI:
>> > https://kt1.local/pulp/api/v2/consumers/integration_test_consumer_support/
>> > URI:
>> > https://kt1.local/pulp/api/v2/consumers/integration_test_consumer_support/
>> > /home/mmccune/.gem/ruby/1.9.1/gems/rest-client-1.7.2/lib/restclient/request.rb:446:in
>> > `rescue in transmit': SSL_connect returned=1 errno=0 state=SSLv3 read
>> > server certificate B: certificate verify failed
>> > (RestClient::SSLCertificateNotVerified)
>> > from
>> > /home/mmccune/.gem/ruby/1.9.1/gems/rest-client-1.7.2/lib/restclient/request.rb:350:in
>> > `transmit'
>> > from
>> > /home/mmccune/.gem/ruby/1.9.1/gems/rest-client-1.7.2/lib/restclient/request.rb:176:in
>> > `execute'
>> >
>> > it has the right hostname in the URI it is hitting, any thoughts on why
>> > the ssl verification is failing?
>> >
>> > Mike
>> > --
>> > Mike McCune
>> > mmccune AT redhat.com
>> > Red Hat Engineering | Portland, OR
>> > Systems Management | 650-254-4248
>> >
>> > --
>> > You received this message because you are subscribed to the Google Groups
>> > "foreman-dev" group.
>> > To unsubscribe from this group and stop receiving emails from it, send an
>> > email to foreman-dev+unsubscribe@googlegroups.com.
>> > For more options, visit https://groups.google.com/d/optout.
>> >
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "foreman-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to foreman-dev+unsubscribe@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>