Skip to content

Instantly share code, notes, and snippets.

View sdqali's full-sized avatar

Sadique Ali Koothumadan sdqali

View GitHub Profile
From: "MIRA (JIRA)" <mira@blrstdsol02.thoughtworks.com>
To: mira2@blrstdsol01.thoughtworks.com
Subject: [JIRA] Issue Comment Edited: (MITP-14) A not so simple bug
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: bulk
[ http://blrstdsol02.thoughtworks.com:9090/browse/MITP-14?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=100
Date: Fri, 14 May 2010 11:49:07 +0530 (GMT+05:30)
From: "MIRA (JIRA)" <mira@blrstdsol02.thoughtworks.com>
To: mira2@blrstdsol01.thoughtworks.com
Subject: [JIRA] Commented: (MITP-14) A not so simple bug
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: bulk
require 'xmlrpc/client'
handler = XMLRPC::Client.new2('http://localhost/bugzilla3/xmlrpc.cgi')
user = handler.proxy("User")
user.login({'login' => 'mira@localhost.localdomain', 'password' => 'fgffty', 'remember' => 'true'})
bugs = handler.proxy("Bug")
puts bugs.get({'ids' => [1]})
sdqali@sdqali:~/src/sdqali/bugzilla4r$ irb
irb(main):001:0> require 'xmlrpc/client'
=> true
irb(main):002:0> handler = XMLRPC::Client.new2('http://localhost/bugzilla3/xmlrpc.cgi')
=> #<XMLRPC::Client:0xb775d458 @http=#<Net::HTTP localhost:80 open=false>, @proxy_host=nil, @http_last_response=nil, @parser=nil, @timeout=30, @path="/bugzilla3/xmlrpc.cgi", @password=nil, @http_header_extra=nil, @use_ssl=false, @host="localhost", @user=nil, @proxy_port=nil, @auth=nil, @cookie=nil, @create=nil, @port=80>
irb(main):003:0> user = handler.proxy("User")
=> #<XMLRPC::Client::Proxy:0xb7880b50 @meth=:call, @args=[], @prefix="User.", @server=#<XMLRPC::Client:0xb775d458 @http=#<Net::HTTP localhost:80 open=false>, @proxy_host=nil, @http_last_response=nil, @parser=nil, @timeout=30, @path="/bugzilla3/xmlrpc.cgi", @password=nil, @http_header_extra=nil, @use_ssl=false, @host="localhost", @user=nil, @proxy_port=nil, @auth=nil, @cookie=nil, @create=nil, @port=80>>
irb(main):004:0> user.login({'login' => 'mira@localhost.localdomain'
Errno::EPIPE: Broken pipe
from /usr/lib/ruby/1.8/net/protocol.rb:177:in `write'
from /usr/lib/ruby/1.8/net/protocol.rb:177:in `write0'
from /usr/lib/ruby/1.8/net/protocol.rb:153:in `write'
from /usr/lib/ruby/1.8/net/protocol.rb:168:in `writing'
from /usr/lib/ruby/1.8/net/protocol.rb:152:in `write'
from /usr/lib/ruby/1.8/net/http.rb:1544:in `send_request_with_body'
from /usr/lib/ruby/1.8/net/http.rb:1529:in `exec'
from /usr/lib/ruby/1.8/net/http.rb:1048:in `request'
from /usr/lib/ruby/1.8/net/http.rb:992:in `post2'
file:/opt/mira/demo-app/vendor/jars/jruby-complete-1.4.0.jar!/META-INF/jruby.home/lib/ruby/1.8/net/protocol.rb:135:in `rbuf_fill': execution expired (Timeout::Error)
from file:/opt/mira/demo-app/vendor/jars/jruby-complete-1.4.0.jar!/META-INF/jruby.home/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
from file:/opt/mira/demo-app/vendor/jars/jruby-complete-1.4.0.jar!/META-INF/jruby.home/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
from file:/opt/mira/demo-app/vendor/jars/jruby-complete-1.4.0.jar!/META-INF/jruby.home/lib/ruby/1.8/net/protocol.rb:126:in `readline'
from file:/opt/mira/demo-app/vendor/jars/jruby-complete-1.4.0.jar!/META-INF/jruby.home/lib/ruby/1.8/net/http.rb:2020:in `read_status_line'
from file:/opt/mira/demo-app/vendor/jars/jruby-complete-1.4.0.jar!/META-INF/jruby.home/lib/ruby/1.8/net/http.rb:2009:in `read_new'
from file:/opt/mira/demo-app/vendor/jars/jruby-complete-1.4.0.jar!/META-INF/jruby.home/lib/ruby/1.8/net/http.rb:1050:in `request'
sdqali@sdqali:~$ diff /opt/mingle_3_0/MingleServer /opt/mingle_3_1/MingleServer
68,72c68,69
< if [[ "$MINGLE_DATADIR" =~ /$ ]]; then
< MINGLE_CONFIGDIR=$MINGLE_DATADIR"config"
< else
< MINGLE_CONFIGDIR=$MINGLE_DATADIR"/config"
< fi
---
> MINGLE_DATADIR_WITHOUT_ENDING_SLASH=`echo $MINGLE_DATADIR|sed 's/\/$//'`
> MINGLE_CONFIGDIR=$MINGLE_DATADIR_WITHOUT_ENDING_SLASH"/config"
Starting MingleServer
cd -
Waiting for Mingle to start up...
...done.
..F
1)
Selenium::WebDriver::Error::NoSuchElementError in 'Functional Tests after(:all)'
Unable to locate element: {"method":"xpath","selector":"//*[@id='notice' and contains(text(), 'was successfully deleted.')]"}
./spec/ruby/functional/functional_spec.rb:151:in `wait_for_info_box'
sdqali@sdqali:~/src/work/dependency_tracker$ rake functional_tests
(in /home/sdqali/src/work/dependency_tracker)
F.
1)
RuntimeError in 'Functional Tests Adding a dependency to a card.'
timed out
./spec/ruby/functional/functional_spec.rb:207:in `check_timeout'
./spec/ruby/functional/functional_spec.rb:200:in `on'
./spec/ruby/functional/functional_spec.rb:168:in `wait_until'
Finished in 4.612 seconds
118 examples, 0 failures
cruise@blrstdsol01:/var/lib/cruise-agent/pipelines/D-T-Functional-Tests$ rake func
(in /var/lib/cruise-agent/pipelines/D-T-Functional-Tests)
FF
1)
Selenium::WebDriver::Error::WebDriverError in 'Functional Tests before(:all)'
unable to obtain stable firefox connection in 60 seconds