See http://ci.opensuse.org/job/obs_master_testsuite_webui/752/changes
Changes:
[Stephan Kulow] [webui] test and fix "request role addition"
[Stephan Kulow] [webui] make 100% of apidocs controller covered
[Stephan Kulow] [api] remove unused variable
[Stephan Kulow] [api] fix bug with creating repositories in remote project
[Stephan Kulow] [webui] fix the url for loading of distributions
------------------------------------------
[...truncated 587008 lines...]
[[32mINFO [0m|#13993] Rendered project/_tabs.html.erb (4.9ms)
[[32mINFO [0m|#13993] Rendered shared/_open_requests.html.erb (0.1ms)
[[32mINFO [0m|#13993] Rendered shared/_buildresult_box.html.erb (0.8ms)
[[32mINFO [0m|#13993] Rendered layouts/_watch_and_search.html.erb (1.3ms)
[[32mINFO [0m|#13993] Rendered layouts/_header.html.erb (2.1ms)
[[32mINFO [0m|#13993] Rendered layouts/_personal_navigation.html.erb (1.0ms)
[[32mINFO [0m|#13993] Rendered layouts/_flash.html.erb (0.0ms)
[[32mINFO [0m|#13993] Rendered layouts/_sponsor.html.erb (0.0ms)
[[32mINFO [0m|#13993] Completed 200 OK in 408ms (Views: 19.5ms | ActiveRecord: 0.0ms | API: 381.5ms (XML: 0.0ms , View: 1.3ms , Backend: 0.0ms , DB: 12.6ms , HTTP: 169.2ms) | XML: 1.1ms)
[[32mINFO [0m|#13993] Started GET "/project/buildresult?project=BaseDistro&index=" for 127.0.0.1 at 2012-12-30 14:52:24 +0100
[[32mINFO [0m|#13993] Processing by ProjectController#buildresult as */*
[[32mINFO [0m|#13993] Parameters: {"project"=>"BaseDistro", "index"=>""}
[[0;37mDEBUG[0m|#13993] Setting return_to: "/project/buildresult?project=BaseDistro&index="
[[0;37mDEBUG[0m|#13993] Authenticating with iChain mode: off
[[32mINFO [0m|#13993] Authenticated request to "/project/buildresult?project=BaseDistro&index=" from tom
[[0;37mDEBUG[0m|#13993] free_cache [{:is_current=>"true", :login=>"tom"}] Person_3c475779e8513d9b679039491ed37e83
[[0;37mDEBUG[0m|#13993] [REST] find( Person, [{:is_current=>"true", :login=>"tom"}] )
[[0;37mDEBUG[0m|#13993] params {:is_current=>"true", :login=>"tom"}
[[0;37mDEBUG[0m|#13993] uri is: http://localhost:3203/person/:login
[[0;37mDEBUG[0m|#13993] http_do #1: method: get url: http://localhost:3203/person/tom
[[0;37mDEBUG[0m|#13993] RT http://localhost:3203/person/tom {"view"=>0.576239, "db"=>1.5601439999999998, "backend"=>0, "xml"=>0, :runtime=>14.86, :all=>18.372839}
[[0;37mDEBUG[0m|#13993] returning [{:name=>"BaseDistro"}] from rails cache Project_f726314c8d941efeb9d0b888fe97b37e
[[0;37mDEBUG[0m|#13993] free_cache [{:project=>"BaseDistro", :view=>"summary"}] Buildresult_81f2400bb79dc620ddf8b0bf87e74935
[[0;37mDEBUG[0m|#13993] [REST] find( Buildresult, [{:project=>"BaseDistro", :view=>"summary"}] )
[[0;37mDEBUG[0m|#13993] params {:project=>"BaseDistro", :view=>"summary"}
[[0;37mDEBUG[0m|#13993] uri is: http://localhost:3203/build/:project/_result?:view&:package&:code&:lastbuild&:arch&:repository
[[0;37mDEBUG[0m|#13993] http_do #1: method: get url: http://localhost:3203/build/BaseDistro/_result?view=summary
[[0;37mDEBUG[0m|#13993] RT http://localhost:3203/build/BaseDistro/_result?view=summary {"view"=>nil, "db"=>0.5911899999999999, "backend"=>0, "xml"=>0, :runtime=>35.797000000000004, :all=>77.68924000000001}
[[32mINFO [0m|#13993] Rendered project/_buildstatus.html.erb (0.1ms)
[[32mINFO [0m|#13993] Completed 200 OK in 99ms (Views: 0.7ms | ActiveRecord: 0.0ms | API: 96.1ms (XML: 0.0ms , View: 0.6ms , Backend: 0.0ms , DB: 2.2ms , HTTP: 45.4ms) | XML: 0.2ms)
[[32mINFO [0m|#13993] Started GET "/project/show?project=My%3AMaintenance" for 127.0.0.1 at 2012-12-30 14:52:24 +0100
[[32mINFO [0m|#13993] Processing by ProjectController#show as HTML
[[32mINFO [0m|#13993] Parameters: {"project"=>"My:Maintenance"}
[[0;37mDEBUG[0m|#13993] Setting return_to: "/project/show?project=My%3AMaintenance"
[[0;37mDEBUG[0m|#13993] Authenticating with iChain mode: off
[[32mINFO [0m|#13993] Authenticated request to "/project/show?project=My%3AMaintenance" from tom
[[0;37mDEBUG[0m|#13993] free_cache [{:is_current=>"true", :login=>"tom"}] Person_3c475779e8513d9b679039491ed37e83
[[0;37mDEBUG[0m|#13993] [REST] find( Person, [{:is_current=>"true", :login=>"tom"}] )
[[0;37mDEBUG[0m|#13993] params {:is_current=>"true", :login=>"tom"}
[[0;37mDEBUG[0m|#13993] uri is: http://localhost:3203/person/:login
[[0;37mDEBUG[0m|#13993] http_do #1: method: get url: http://localhost:3203/person/tom
[[0;37mDEBUG[0m|#13993] RT http://localhost:3203/person/tom {"view"=>0.739796, "db"=>1.4157989999999998, "backend"=>0, "xml"=>0, :runtime=>17.662, :all=>21.304920000000003}
[[0;37mDEBUG[0m|#13993] http_do #1: method: get url: http://localhost:3203/webui/person_requests_that_need_work?login=tom
[[0;37mDEBUG[0m|#13993] RT http://localhost:3203/webui/person_requests_that_need_work?login=tom {"view"=>0.26858699999999996, "db"=>3.6919119999999994, "backend"=>0, "xml"=>0, :runtime=>33.184, :all=>102.76384399999999}
[[0;37mDEBUG[0m|#13993] data {
"declined": [
],
"new": [
],
"reviews": [
1000
]
}
[[0;37mDEBUG[0m|#13993] http_do #1: method: get url: http://localhost:3203/webui/project_infos?project=My%3AMaintenance
[[0;37mDEBUG[0m|#13993] RT http://localhost:3203/webui/project_infos?project=My%3AMaintenance {"view"=>0.40345000000000003, "db"=>3.2301550000000003, "backend"=>0, "xml"=>0, :runtime=>33.201, :all=>74.47686300000001}
[[0;37mDEBUG[0m|#13993] data {
"name": "My:Maintenance",
"packages": [
],
"xml": "\n <title>official maintenance space</title>\n <description>official maintenance space, maintained by maintenance ;)</description>\n \n <maintenance>\n \n </maintenance>\n</project>\n",
"incidents": [
],
"maintained_projects": [
"BaseDistro2.0:LinkedUpdateProject"
],
"linking_projects": [
],
"requests": [
],
"nr_of_problem_packages": 0
}
[[0;37mDEBUG[0m|#13993] returning [{:login=>"maintenance_coord"}] from rails cache Person_11966180e3080c963c5f78cfc0951d02
[[32mINFO [0m|#13993] Rendered project/_tabs.html.erb (2.4ms)
[[32mINFO [0m|#13993] Rendered shared/_open_requests.html.erb (0.0ms)
[[32mINFO [0m|#13993] Rendered layouts/_watch_and_search.html.erb (1.4ms)
[[32mINFO [0m|#13993] Rendered layouts/_header.html.erb (2.3ms)
[[32mINFO [0m|#13993] Rendered layouts/_personal_navigation.html.erb (1.0ms)
[[32mINFO [0m|#13993] Rendered layouts/_flash.html.erb (0.0ms)
[[32mINFO [0m|#13993] Rendered layouts/_sponsor.html.erb (0.0ms)
[[32mINFO [0m|#13993] Completed 200 OK in 220ms (Views: 14.9ms | ActiveRecord: 0.0ms | API: 198.5ms (XML: 0.0ms , View: 1.4ms , Backend: 0.0ms , DB: 8.3ms , HTTP: 114.5ms) | XML: 0.7ms)
[[32mINFO [0m|#13993] Started GET "/project/toggle_watch?project=My%3AMaintenance" for 127.0.0.1 at 2012-12-30 14:52:25 +0100
[[32mINFO [0m|#13993] Processing by ProjectController#toggle_watch as HTML
[[32mINFO [0m|#13993] Parameters: {"project"=>"My:Maintenance"}
[[0;37mDEBUG[0m|#13993] Setting return_to: "/project/toggle_watch?project=My%3AMaintenance"
[[0;37mDEBUG[0m|#13993] Authenticating with iChain mode: off
[[32mINFO [0m|#13993] Authenticated request to "/project/toggle_watch?project=My%3AMaintenance" from tom
[[0;37mDEBUG[0m|#13993] free_cache [{:is_current=>"true", :login=>"tom"}] Person_3c475779e8513d9b679039491ed37e83
[[0;37mDEBUG[0m|#13993] [REST] find( Person, [{:is_current=>"true", :login=>"tom"}] )
[[0;37mDEBUG[0m|#13993] params {:is_current=>"true", :login=>"tom"}
[[0;37mDEBUG[0m|#13993] uri is: http://localhost:3203/person/:login
[[0;37mDEBUG[0m|#13993] http_do #1: method: get url: http://localhost:3203/person/tom
[[0;37mDEBUG[0m|#13993] RT http://localhost:3203/person/tom {"view"=>0.6320209999999999, "db"=>1.081883, "backend"=>0, "xml"=>0, :runtime=>14.442, :all=>17.789833}
[[0;37mDEBUG[0m|#13993] http_do #1: method: get url: http://localhost:3203/webui/person_requests_that_need_work?login=tom
[[0;37mDEBUG[0m|#13993] RT http://localhost:3203/webui/person_requests_that_need_work?login=tom {"view"=>0.205903, "db"=>3.0738680000000005, "backend"=>0, "xml"=>0, :runtime=>30.776, :all=>71.935891}
[[0;37mDEBUG[0m|#13993] data {
"declined": [
],
"new": [
],
"reviews": [
1000
]
}
[[0;37mDEBUG[0m|#13993] returning [{:name=>"My:Maintenance"}] from rails cache Project_ce8cfb5ef2a35543461dbbb6b22579cb
[[0;37mDEBUG[0m|#13993] Remove My:Maintenance from watchlist for tom
[[0;37mDEBUG[0m|#13993] user 'tom' removes project 'My:Maintenance' from watchlist
[[0;37mDEBUG[0m|#13993] saving object Person ({:is_current=>"true", :login=>"tom"}) to api:
<person>
<login>tom</login>
<email>tschmidt@suse.de</email>
<realname>Thor</realname>
<watchlist>
</watchlist>
</person>
[[0;37mDEBUG[0m|#13993] http_do #1: method: put url: http://localhost:3203/person/tom
[[0;37mDEBUG[0m|#13993] RT http://localhost:3203/person/tom {"view"=>0.8982359999999999, "db"=>1.8018859999999997, "backend"=>0, "xml"=>0, :runtime=>17.887, :all=>23.588583}
[[0;37mDEBUG[0m|#13993] [REST] find( PersonGroup, [{:login=>"tom"}] )
[[0;37mDEBUG[0m|#13993] params {:login=>"tom"}
[[0;37mDEBUG[0m|#13993] uri is: http://localhost:3203/person/:login/group
[[0;37mDEBUG[0m|#13993] http_do #1: method: get url: http://localhost:3203/person/tom/group
[[0;37mDEBUG[0m|#13993] RT http://localhost:3203/person/tom/group {"view"=>0.49722099999999997, "db"=>0.392156, "backend"=>0, "xml"=>0, :runtime=>7.2490000000000006, :all=>14.189564}
[[0;37mDEBUG[0m|#13993] free_cache [:id, {:what=>"project", :predicate=>"person/@userid='tom'"}] Collection_8c1f4f93580a7c15e1f5fefa4bf90a08
[[0;37mDEBUG[0m|#13993] free_cache [:id, {:what=>"package", :predicate=>"person/@userid='tom'"}] Collection_09c0d884aeab5856e9b6a54d49db8a54
[[32mINFO [0m|#13993] Redirected to http://127.0.0.1:51186/project/show?project=My%3AMaintenance
[[32mINFO [0m|#13993] Completed 302 Found in 133ms (ActiveRecord: 0.0ms | API: 127.5ms (XML: 0.0ms , View: 2.2ms , Backend: 0.0ms , DB: 6.3ms , HTTP: 57.1ms) | XML: 0.3ms)
[[32mINFO [0m|#13993] Started GET "/project/show?project=My%3AMaintenance" for 127.0.0.1 at 2012-12-30 14:52:25 +0100
[[32mINFO [0m|#13993] Processing by ProjectController#show as HTML
[[32mINFO [0m|#13993] Parameters: {"project"=>"My:Maintenance"}
[[0;37mDEBUG[0m|#13993] Setting return_to: "/project/show?project=My%3AMaintenance"
[[0;37mDEBUG[0m|#13993] Authenticating with iChain mode: off
[[32mINFO [0m|#13993] Authenticated request to "/project/show?project=My%3AMaintenance" from tom
[[0;37mDEBUG[0m|#13993] free_cache [{:is_current=>"true", :login=>"tom"}] Person_3c475779e8513d9b679039491ed37e83
[[0;37mDEBUG[0m|#13993] [REST] find( Person, [{:is_current=>"true", :login=>"tom"}] )
[[0;37mDEBUG[0m|#13993] params {:is_current=>"true", :login=>"tom"}
[[0;37mDEBUG[0m|#13993] uri is: http://localhost:3203/person/:login
[[0;37mDEBUG[0m|#13993] http_do #1: method: get url: http://localhost:3203/person/tom
[[0;37mDEBUG[0m|#13993] RT http://localhost:3203/person/tom {"view"=>0.837463, "db"=>1.0116450000000001, "backend"=>0, "xml"=>0, :runtime=>9.203, :all=>50.521425}
[[0;37mDEBUG[0m|#13993] http_do #1: method: get url: http://localhost:3203/webui/person_requests_that_need_work?login=tom
[[0;37mDEBUG[0m|#13993] RT http://localhost:3203/webui/person_requests_that_need_work?login=tom {"view"=>0.310341, "db"=>3.683474, "backend"=>0, "xml"=>0, :runtime=>35.124, :all=>78.83701699999999}
[[0;37mDEBUG[0m|#13993] data {
"declined": [
],
"new": [
],
"reviews": [
1000
]
}
[[0;37mDEBUG[0m|#13993] http_do #1: method: get url: http://localhost:3203/webui/project_infos?project=My%3AMaintenance
[[0;37mDEBUG[0m|#13993] RT http://localhost:3203/webui/project_infos?project=My%3AMaintenance {"view"=>0.396764, "db"=>3.1734229999999997, "backend"=>0, "xml"=>0, :runtime=>102.117, :all=>143.504562}
[[0;37mDEBUG[0m|#13993] data {
"name": "My:Maintenance",
"packages": [
],
"xml": "\n <title>official maintenance space</title>\n <description>official maintenance space, maintained by maintenance ;)</description>\n \n <maintenance>\n \n </maintenance>\n</project>\n",
"incidents": [
],
"maintained_projects": [
"BaseDistro2.0:LinkedUpdateProject"
],
"linking_projects": [
],
"requests": [
],
"nr_of_problem_packages": 0
}
[[0;37mDEBUG[0m|#13993] returning [{:login=>"maintenance_coord"}] from rails cache Person_11966180e3080c963c5f78cfc0951d02
[[32mINFO [0m|#13993] Rendered project/_tabs.html.erb (3.2ms)
[[32mINFO [0m|#13993] Rendered shared/_open_requests.html.erb (0.1ms)
[[32mINFO [0m|#13993] Rendered layouts/_watch_and_search.html.erb (1.0ms)
[[32mINFO [0m|#13993] Rendered layouts/_header.html.erb (1.8ms)
[[32mINFO [0m|#13993] Rendered layouts/_personal_navigation.html.erb (1.0ms)
[[32mINFO [0m|#13993] Rendered layouts/_flash.html.erb (0.0ms)
[[32mINFO [0m|#13993] Rendered layouts/_sponsor.html.erb (0.0ms)
[[32mINFO [0m|#13993] Completed 200 OK in 293ms (Views: 14.7ms | ActiveRecord: 0.0ms | API: 272.9ms (XML: 0.0ms , View: 1.5ms , Backend: 0.0ms , DB: 7.9ms , HTTP: 126.4ms) | XML: 0.8ms)
[[32mINFO [0m|#13993] Started POST "/user/logout" for 127.0.0.1 at 2012-12-30 14:52:25 +0100
[[32mINFO [0m|#13993] Processing by UserController#logout as HTML
[[0;37mDEBUG[0m|#13993] Setting return_to: "/user/logout"
[[0;37mDEBUG[0m|#13993] Authenticating with iChain mode: off
[[32mINFO [0m|#13993] Authenticated request to "/user/logout" from tom
[[32mINFO [0m|#13993] Logging out: tom
[[32mINFO [0m|#13993] Redirected to http://127.0.0.1:51186/
[[0;37mDEBUG[0m|#13993] free_cache [{}] Person_f7754490a4ed0ddff3ff300384cc6faa
[[32mINFO [0m|#13993] Completed 302 Found in 34ms (ActiveRecord: 31.4ms | XML: 0.0ms)
[[32mINFO [0m|#13993] Started GET "/" for 127.0.0.1 at 2012-12-30 14:52:25 +0100
[[32mINFO [0m|#13993] Processing by MainController#index as HTML
[[0;37mDEBUG[0m|#13993] Setting return_to: "/"
[[0;37mDEBUG[0m|#13993] Authenticating with iChain mode: off
[[32mINFO [0m|#13993] Anonymous request to /
[[0;37mDEBUG[0m|#13993] returning [{:conditions=>"deleted_at IS NULL", :order=>"create_at DESC", :limit=>"5"}] from rails cache Statusmessage_753097322d9cc873836d791589547e90
[[0;37mDEBUG[0m|#13993] returning [{:limit=>"6", :shared=>"true"}] from rails cache LatestUpdated_ee34770dc62e51dca62baed2d5258b33
[[32mINFO [0m|#13993] Rendered main/_news.html.erb (0.6ms)
[[32mINFO [0m|#13993] Rendered main/_contact.html.erb (0.1ms)
[[32mINFO [0m|#13993] Rendered main/_latest_updates.erb (6.0ms)
[[32mINFO [0m|#13993] Rendered main/_countdown.html.erb (0.1ms)
[[32mINFO [0m|#13993] Rendered main/_sponsors.html.erb (0.0ms)
[[32mINFO [0m|#13993] Rendered main/_feeds.html.erb (0.0ms)
[[32mINFO [0m|#13993] Rendered layouts/_watch_and_search.html.erb (0.7ms)
[[32mINFO [0m|#13993] Rendered layouts/_header.html.erb (1.4ms)
[[32mINFO [0m|#13993] Rendered layouts/_personal_navigation.html.erb (1.2ms)
[[32mINFO [0m|#13993] Rendered layouts/_flash.html.erb (0.1ms)
[[32mINFO [0m|#13993] Rendered layouts/_sponsor.html.erb (0.0ms)
[[32mINFO [0m|#13993] Completed 200 OK in 22ms (Views: 18.1ms | ActiveRecord: 0.0ms | XML: 0.2ms)
[[32mINFO [0m|#13993] Started GET "/main/systemstatus" for 127.0.0.1 at 2012-12-30 14:52:26 +0100
[[32mINFO [0m|#13993] Processing by MainController#systemstatus as */*
[[0;37mDEBUG[0m|#13993] Setting return_to: "/main/systemstatus"
[[0;37mDEBUG[0m|#13993] Authenticating with iChain mode: off
[[32mINFO [0m|#13993] Anonymous request to /main/systemstatus
[[0;37mDEBUG[0m|#13993] returning [{:shared=>"true"}] from rails cache GlobalCounters_2899b016f456189a42bc9c5c8fc7013a
[[0;37mDEBUG[0m|#13993] returning [:available] from rails cache Architecture_82f3aea44c00f161487e3359eb33cff4
[[32mINFO [0m|#13993] Rendered main/_systemstatus.html.erb (2.0ms)
[[32mINFO [0m|#13993] Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms | XML: 0.5ms)
[[0;37mDEBUG[0m|#13993] http_do #1: method: post url: http://localhost:3203/test/test_end
[[0;37mDEBUG[0m|#13993] RT http://localhost:3203/test/test_end {"view"=>1.602541, "db"=>23.873042, "backend"=>0, "xml"=>0, :runtime=>30.963, :all=>36.499277}
+ echo
+ cleanup
+ echo 'Killing backend processes'
Killing backend processes
+ fuser -v http://ci.opensuse.org/job/obs_master_testsuite_webui/ws/
+ egrep 'perl|ruby'
USER PID ACCESS COMMAND
http://ci.opensuse.org/job/obs_master_testsuite_webui/ws/:
jenkins ..c.. sh
jenkins ..c.. sh
jenkins ..c.. sh
+ echo 'Remove log/tmp files to save disc space'
Remove log/tmp files to save disc space
+ rm -rf src/api/log/backend_access.log src/api/log/test.log src/api/tmp/cache src/api/tmp/pids src/api/tmp/sessions src/api/tmp/sockets src/webui/log/test.log src/webui/tmp/cache src/webui/tmp/capybara src/webui/tmp/pids src/webui/tmp/sessions src/webui/tmp/sockets
+ exit 1
Build step 'Execute shell' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Recording test results
--
To unsubscribe, e-mail: obs-tests+unsubscribe@opensuse.org
To contact the owner, e-mail: obs-tests+owner@opensuse.org