[obs-tests] Build failed in Jenkins: obs_master_testsuite_api #885
See <http://ci.opensuse.org/job/obs_master_testsuite_api/885/changes> Changes: [Stephan Kulow] [api] some fixes for calls on remote projects [Stephan Kulow] [webui] fix is_remote? [Stephan Kulow] [webui] do not crash on nil @project (as in project#new) [Stephan Kulow] [webui] readd description wrapper [Stephan Kulow] [webui-testsuite] there is no packages tab any more [Sascha Peilicke] [webui-testsuite] Frontpage now has 'Packages', the tab moved away... [Stephan Kulow] [webui-testsuite] first shoot on getting junit results [Sascha Peilicke] [webui] Typo fix [Sascha Peilicke] [webui-testsuite] More fixes, e.g. redirect to ProjectOverviewPage... [Sascha Peilicke] [webui-testsuite] Redirect to ProjectOverviewPage first and then check [Stephan Kulow] [webui-testsuite] hopefully get more details on jenkins about failures [Sascha Peilicke] [webui] Group table has no 'actions' column [adrian] [api] remove not needed require to boot.rb (was not correct and broke my start) [adrian] [api] move generic backend functions from maintenance test into test_helper ------------------------------------------ [...truncated 117167 lines...] [[0;37mDEBUG[0m|# 4185] [1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 6 LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mGroup Load (0.2ms)[0m SELECT `groups`.* FROM `groups` WHERE (title = BINARY 'test_group') LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mProjectGroupRoleRelationship Load (0.2ms)[0m [1mSELECT `project_group_role_relationships`.* FROM `project_group_role_relationships` WHERE (db_project_id = 2 AND role_id = 7 AND bs_group_id = 99) LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mSQL (0.2ms)[0m INSERT INTO `project_group_role_relationships` (`bs_group_id`, `db_project_id`, `role_id`) VALUES (99, 2, 7) [[0;37mDEBUG[0m|# 4185] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2[0m [[0;37mDEBUG[0m|# 4185] [1m[35mDownload Load (0.2ms)[0m SELECT `downloads`.* FROM `downloads` WHERE `downloads`.`db_project_id` = 2 [[0;37mDEBUG[0m|# 4185] [1m[36mRepository Load (0.2ms)[0m [1mSELECT `repositories`.* FROM `repositories` WHERE `repositories`.`db_project_id` = 2[0m [[0;37mDEBUG[0m|# 4185] ----------------- rendering project kde4 ------------------------ [[0;37mDEBUG[0m|# 4185] [1m[35mDbProjectType Load (0.2ms)[0m SELECT `db_project_types`.* FROM `db_project_types` WHERE `db_project_types`.`id` = 1 LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mCACHE (0.0ms)[0m [1mSELECT `db_project_types`.* FROM `db_project_types` WHERE `db_project_types`.`id` = 1 LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mProjectUserRoleRelationship Load (0.3ms)[0m SELECT users.login as login, roles.title as roletitle FROM `project_user_role_relationships` INNER JOIN `roles` ON `roles`.`id` = `project_user_role_relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `project_user_role_relationships`.`bs_user_id` WHERE `project_user_role_relationships`.`db_project_id` = 2 [[0;37mDEBUG[0m|# 4185] [1m[36mProjectGroupRoleRelationship Load (0.3ms)[0m [1mSELECT groups.title as grouptitle, roles.title as roletitle FROM `project_group_role_relationships` INNER JOIN `roles` ON `roles`.`id` = `project_group_role_relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `project_group_role_relationships`.`bs_group_id` WHERE `project_group_role_relationships`.`db_project_id` = 2[0m [[0;37mDEBUG[0m|# 4185] [1m[35mRepository Load (0.3ms)[0m SELECT `repositories`.* FROM `repositories` WHERE `repositories`.`db_project_id` = 2 AND (ISNULL(remote_project_name)) [[0;37mDEBUG[0m|# 4185] ----------------- end rendering project kde4 ------------------------ [[0;37mDEBUG[0m|# 4185] [backend] PUT: /source/kde4/_meta?user=king [[0;37mDEBUG[0m|# 4190] 2012-04-16 16:03:39 [9150]: PUT /source/kde4/_meta?user=king [[0;37mDEBUG[0m|# 4185] request took 0.025616493 [[0;37mDEBUG[0m|# 4185] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [[32mINFO [0m|# 4185] Completed 200 OK in 88ms (Views: 1.1ms | ActiveRecord: 9.4ms | Backend: 25.6ms | XML: 0.4ms) [[32mINFO [0m|# 4185] Started GET "/source/kde4/_meta" for 127.0.0.1 at 2012-04-16 16:03:39 +0200 [[32mINFO [0m|# 4185] Processing by SourceController#project_meta as XML [[32mINFO [0m|# 4185] Parameters: {"project"=>"kde4"} [[0;37mDEBUG[0m|# 4185] Validate XML request: #<ActionDispatch::Request:0x00000006193920> [[0;37mDEBUG[0m|# 4185] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"project_meta", "project"=>"kde4", "method"=>"GET", "type"=>"request"} [[0;37mDEBUG[0m|# 4185] AUTH: ["Basic", "a2luZzpzdW5mbG93ZXI="] [[0;37mDEBUG[0m|# 4185] [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE (login = 'king') LIMIT 1 [[0;37mDEBUG[0m|# 4185] USER found: king [[0;37mDEBUG[0m|# 4185] User king initialised [[0;37mDEBUG[0m|# 4185] [1m[36mRole Load (0.4ms)[0m [1mSELECT DISTINCT roles.id FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 2 AND `roles`.`title` = 'Admin' LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mDbProject Load (0.2ms)[0m SELECT `db_projects`.* FROM `db_projects` WHERE (name = BINARY 'kde4') LIMIT 1 [[32mINFO [0m|# 4185] Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 1.0ms | Backend: 0.0ms | XML: 0.0ms) [[32mINFO [0m|# 4185] Started GET "/source/kde4" for 127.0.0.1 at 2012-04-16 16:03:39 +0200 [[32mINFO [0m|# 4185] Processing by SourceController#index_project as XML [[32mINFO [0m|# 4185] Parameters: {"project"=>"kde4"} [[0;37mDEBUG[0m|# 4185] Validate XML request: #<ActionDispatch::Request:0x000000065934a8> [[0;37mDEBUG[0m|# 4185] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"index_project", "project"=>"kde4", "method"=>"GET", "type"=>"request"} [[0;37mDEBUG[0m|# 4185] AUTH: ["Basic", "a2luZzpzdW5mbG93ZXI="] [[0;37mDEBUG[0m|# 4185] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE (login = 'king') LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] USER found: king [[0;37mDEBUG[0m|# 4185] User king initialised [[0;37mDEBUG[0m|# 4185] [1m[35mRole Load (0.4ms)[0m SELECT DISTINCT roles.id FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 2 AND `roles`.`title` = 'Admin' LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mDbProject Load (0.2ms)[0m [1mSELECT id,name FROM `db_projects` WHERE (name = BINARY 'kde4') LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mDbPackage Load (0.2ms)[0m SELECT db_packages.name FROM `db_packages` WHERE `db_packages`.`db_project_id` = 2 [[32mINFO [0m|# 4185] Completed 200 OK in 7ms (Views: 0.4ms | ActiveRecord: 1.1ms | Backend: 0.0ms | XML: 0.0ms) [[32mINFO [0m|# 4185] Started GET "/source/kde4/kdebase/_meta" for 127.0.0.1 at 2012-04-16 16:03:39 +0200 [[32mINFO [0m|# 4185] Processing by SourceController#package_meta as XML [[32mINFO [0m|# 4185] Parameters: {"project"=>"kde4", "package"=>"kdebase"} [[0;37mDEBUG[0m|# 4185] Validate XML request: #<ActionDispatch::Request:0x000000064ce630> [[0;37mDEBUG[0m|# 4185] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdebase", "method"=>"GET", "type"=>"request"} [[0;37mDEBUG[0m|# 4185] AUTH: ["Basic", "a2luZzpzdW5mbG93ZXI="] [[0;37mDEBUG[0m|# 4185] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE (login = 'king') LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] USER found: king [[0;37mDEBUG[0m|# 4185] User king initialised [[0;37mDEBUG[0m|# 4185] [1m[35mRole Load (0.4ms)[0m SELECT DISTINCT roles.id FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 2 AND `roles`.`title` = 'Admin' LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mDbProject Load (0.2ms)[0m [1mSELECT `db_projects`.* FROM `db_projects` WHERE (name = BINARY 'kde4') LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mDbPackage Load (0.3ms)[0m SELECT `db_packages`.* FROM `db_packages` WHERE `db_packages`.`db_project_id` = 2 AND (name = BINARY 'kdebase') LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mDbProject Load (0.2ms)[0m [1mSELECT `db_projects`.* FROM `db_projects` WHERE `db_projects`.`id` = 2 LIMIT 1[0m [[32mINFO [0m|# 4185] Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 1.4ms | Backend: 0.0ms | XML: 0.3ms) [[32mINFO [0m|# 4185] Started PUT "/source/kde4/kdebase/_meta" for 127.0.0.1 at 2012-04-16 16:03:39 +0200 [[32mINFO [0m|# 4185] Processing by SourceController#package_meta as XML [[32mINFO [0m|# 4185] Parameters: {"<package name"=>"\"kdebase\" project=\"kde4\">\n <title>blub</title>\n <description>blub</description>\n</package>\n", "project"=>"kde4", "package"=>"kdebase"} [[33mWARN [0m|# 4185] WARNING: Can't verify CSRF token authenticity [[0;37mDEBUG[0m|# 4185] Validate XML request: #<ActionDispatch::Request:0x000000066ed8d0> [[0;37mDEBUG[0m|# 4185] AUTH: ["Basic", "a2luZzpzdW5mbG93ZXI="] [[0;37mDEBUG[0m|# 4185] [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE (login = 'king') LIMIT 1 [[0;37mDEBUG[0m|# 4185] USER found: king [[0;37mDEBUG[0m|# 4185] User king initialised [[0;37mDEBUG[0m|# 4185] [1m[36mRole Load (0.4ms)[0m [1mSELECT DISTINCT roles.id FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 2 AND `roles`.`title` = 'Admin' LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mDbProject Load (0.2ms)[0m SELECT `db_projects`.* FROM `db_projects` WHERE (name = BINARY 'kde4') LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mDbPackage Load (0.3ms)[0m [1mSELECT `db_packages`.* FROM `db_packages` WHERE `db_packages`.`db_project_id` = 2 AND (name = BINARY 'kdebase') LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mDbProject Load (0.2ms)[0m SELECT `db_projects`.* FROM `db_projects` WHERE `db_projects`.`id` = 2 LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mCACHE (0.0ms)[0m [1mSELECT `db_projects`.* FROM `db_projects` WHERE (name = BINARY 'kde4') LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mCACHE (0.0ms)[0m SELECT `db_packages`.* FROM `db_packages` WHERE `db_packages`.`db_project_id` = 2 AND (name = BINARY 'kdebase') LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mCACHE (0.0ms)[0m [1mSELECT `db_projects`.* FROM `db_projects` WHERE `db_projects`.`id` = 2 LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mFlag Load (0.3ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' ORDER BY position LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mFlag Load (0.3ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mCACHE (0.0ms)[0m SELECT DISTINCT roles.id FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 2 AND `roles`.`title` = 'Admin' LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 2 ORDER BY position[0m [[0;37mDEBUG[0m|# 4185] flagcheck: package has default state, checking project [[0;37mDEBUG[0m|# 4185] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 [[0;37mDEBUG[0m|# 4185] disabled_for sourceaccess repo: arch: state:enable [[0;37mDEBUG[0m|# 4185] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mDbPackage Load (0.3ms)[0m SELECT pack.* FROM db_packages pack LEFT OUTER JOIN db_projects pro ON pack.db_project_id = pro.id WHERE pro.name = BINARY 'kde4' AND pack.name = BINARY 'kdebase' [[0;37mDEBUG[0m|# 4185] [1m[36mCACHE (0.0ms)[0m [1mSELECT `db_projects`.* FROM `db_projects` WHERE `db_projects`.`id` = 2 LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mPackageUserRoleRelationship Load (0.2ms)[0m SELECT `package_user_role_relationships`.* FROM `package_user_role_relationships` WHERE `package_user_role_relationships`.`db_package_id` = 2 [[0;37mDEBUG[0m|# 4185] [1m[36mPackageGroupRoleRelationship Load (0.2ms)[0m [1mSELECT `package_group_role_relationships`.* FROM `package_group_role_relationships` WHERE `package_group_role_relationships`.`db_package_id` = 2[0m [[0;37mDEBUG[0m|# 4185] [1m[35mCACHE (0.0ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 2 ORDER BY position [[0;37mDEBUG[0m|# 4185] [1m[36mDbPackage Load (0.3ms)[0m [1mSELECT db_packages.*, ( @activity:=( db_packages.activity_index - POWER( TIME_TO_SEC( TIMEDIFF( NOW(), db_packages.updated_at ))/86400, 1.55 ) /10 ) ) AS act_tmp, IF( @activity<0, 0, @activity ) AS activity_value FROM `db_packages` WHERE id = 2 LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35m (0.3ms)[0m UPDATE `db_packages` SET `activity_index` = 85.3110061353901, `updated_at` = '2012-04-16 14:03:40', `update_counter` = 1 WHERE `db_packages`.`id` = 2 [[0;37mDEBUG[0m|# 4185] ----------------- rendering package kdebase ------------------------ [[0;37mDEBUG[0m|# 4185] [1m[36mPackageUserRoleRelationship Load (0.4ms)[0m [1mSELECT users.login as login, roles.title AS role_name FROM `package_user_role_relationships` INNER JOIN `roles` ON `roles`.`id` = `package_user_role_relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `package_user_role_relationships`.`bs_user_id` WHERE `package_user_role_relationships`.`db_package_id` = 2[0m [[0;37mDEBUG[0m|# 4185] [1m[35mPackageGroupRoleRelationship Load (0.3ms)[0m SELECT groups.title as title, roles.title as role_name FROM `package_group_role_relationships` INNER JOIN `roles` ON `roles`.`id` = `package_group_role_relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `package_group_role_relationships`.`bs_group_id` WHERE `package_group_role_relationships`.`db_package_id` = 2 [[0;37mDEBUG[0m|# 4185] ----------------- end rendering package kdebase ------------------------ [[0;37mDEBUG[0m|# 4185] [backend] PUT: /source/kde4/kdebase/_meta?user=king [[0;37mDEBUG[0m|# 4190] 2012-04-16 16:03:40 [9151]: PUT /source/kde4/kdebase/_meta?user=king [[0;37mDEBUG[0m|# 4185] request took 0.022786068 [[0;37mDEBUG[0m|# 4185] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [[32mINFO [0m|# 4185] Completed 200 OK in 57ms (Views: 1.1ms | ActiveRecord: 4.9ms | Backend: 22.8ms | XML: 0.1ms) [[32mINFO [0m|# 4185] Started GET "/source/kde4/kdebase/_meta" for 127.0.0.1 at 2012-04-16 16:03:40 +0200 [[32mINFO [0m|# 4185] Processing by SourceController#package_meta as XML [[32mINFO [0m|# 4185] Parameters: {"project"=>"kde4", "package"=>"kdebase"} [[0;37mDEBUG[0m|# 4185] Validate XML request: #<ActionDispatch::Request:0x0000000688a5f8> [[0;37mDEBUG[0m|# 4185] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdebase", "method"=>"GET", "type"=>"request"} [[0;37mDEBUG[0m|# 4185] AUTH: ["Basic", "a2luZzpzdW5mbG93ZXI="] [[0;37mDEBUG[0m|# 4185] [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE (login = 'king') LIMIT 1 [[0;37mDEBUG[0m|# 4185] USER found: king [[0;37mDEBUG[0m|# 4185] User king initialised [[0;37mDEBUG[0m|# 4185] [1m[36mRole Load (0.4ms)[0m [1mSELECT DISTINCT roles.id FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 2 AND `roles`.`title` = 'Admin' LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mDbProject Load (0.3ms)[0m SELECT `db_projects`.* FROM `db_projects` WHERE (name = BINARY 'kde4') LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mDbPackage Load (0.3ms)[0m [1mSELECT `db_packages`.* FROM `db_packages` WHERE `db_packages`.`db_project_id` = 2 AND (name = BINARY 'kdebase') LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mDbProject Load (0.2ms)[0m SELECT `db_projects`.* FROM `db_projects` WHERE `db_projects`.`id` = 2 LIMIT 1 [[32mINFO [0m|# 4185] Completed 200 OK in 15ms (Views: 0.7ms | ActiveRecord: 1.7ms | Backend: 0.0ms | XML: 0.0ms) [[32mINFO [0m|# 4185] Started GET "/source/kde4/kdelibs/_meta" for 127.0.0.1 at 2012-04-16 16:03:40 +0200 [[32mINFO [0m|# 4185] Processing by SourceController#package_meta as XML [[32mINFO [0m|# 4185] Parameters: {"project"=>"kde4", "package"=>"kdelibs"} [[0;37mDEBUG[0m|# 4185] Validate XML request: #<ActionDispatch::Request:0x000000069128b8> [[0;37mDEBUG[0m|# 4185] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdelibs", "method"=>"GET", "type"=>"request"} [[0;37mDEBUG[0m|# 4185] AUTH: ["Basic", "a2luZzpzdW5mbG93ZXI="] [[0;37mDEBUG[0m|# 4185] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE (login = 'king') LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] USER found: king [[0;37mDEBUG[0m|# 4185] User king initialised [[0;37mDEBUG[0m|# 4185] [1m[35mRole Load (0.4ms)[0m SELECT DISTINCT roles.id FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 2 AND `roles`.`title` = 'Admin' LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mDbProject Load (0.2ms)[0m [1mSELECT `db_projects`.* FROM `db_projects` WHERE (name = BINARY 'kde4') LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mDbPackage Load (0.3ms)[0m SELECT `db_packages`.* FROM `db_packages` WHERE `db_packages`.`db_project_id` = 2 AND (name = BINARY 'kdelibs') LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mDbProject Load (0.2ms)[0m [1mSELECT `db_projects`.* FROM `db_projects` WHERE `db_projects`.`id` = 2 LIMIT 1[0m [[32mINFO [0m|# 4185] Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 1.3ms | Backend: 0.0ms | XML: 0.0ms) [[32mINFO [0m|# 4185] Started PUT "/source/kde4/kdelibs/_meta" for 127.0.0.1 at 2012-04-16 16:03:40 +0200 [[32mINFO [0m|# 4185] Processing by SourceController#package_meta as XML [[32mINFO [0m|# 4185] Parameters: {"<package name"=>"\"kdelibs\" project=\"kde4\">\n <title>blub</title>\n <description>Changed description</description>\n <devel project=\"home:Iggy\" package=\"TestPack\"/>\n <person userid=\"fredlibs\" role=\"maintainer\"/>\n <person userid=\"adrian\" role=\"reviewer\"/>\n <person userid=\"Iggy\" role=\"maintainer\"/>\n <person userid=\"Iggy\" role=\"bugowner\"/>\n <group groupid=\"test_group\" role=\"maintainer\"/>\n <group groupid=\"test_group\" role=\"reader\"/>\n <build>\n <enable/>\n </build>\n</package>\n", "project"=>"kde4", "package"=>"kdelibs"} [[33mWARN [0m|# 4185] WARNING: Can't verify CSRF token authenticity [[0;37mDEBUG[0m|# 4185] Validate XML request: #<ActionDispatch::Request:0x00000006980ea8> [[0;37mDEBUG[0m|# 4185] AUTH: ["Basic", "a2luZzpzdW5mbG93ZXI="] [[0;37mDEBUG[0m|# 4185] [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE (login = 'king') LIMIT 1 [[0;37mDEBUG[0m|# 4185] USER found: king [[0;37mDEBUG[0m|# 4185] User king initialised [[0;37mDEBUG[0m|# 4185] [1m[36mRole Load (0.4ms)[0m [1mSELECT DISTINCT roles.id FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 2 AND `roles`.`title` = 'Admin' LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mDbProject Load (0.2ms)[0m SELECT `db_projects`.* FROM `db_projects` WHERE (name = BINARY 'kde4') LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mDbPackage Load (0.3ms)[0m [1mSELECT `db_packages`.* FROM `db_packages` WHERE `db_packages`.`db_project_id` = 2 AND (name = BINARY 'kdelibs') LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mDbProject Load (0.2ms)[0m SELECT `db_projects`.* FROM `db_projects` WHERE `db_projects`.`id` = 2 LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mCACHE (0.0ms)[0m [1mSELECT `db_projects`.* FROM `db_projects` WHERE (name = BINARY 'kde4') LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mCACHE (0.0ms)[0m SELECT `db_packages`.* FROM `db_packages` WHERE `db_packages`.`db_project_id` = 2 AND (name = BINARY 'kdelibs') LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mCACHE (0.0ms)[0m [1mSELECT `db_projects`.* FROM `db_projects` WHERE `db_projects`.`id` = 2 LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mFlag Load (0.4ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' ORDER BY position LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mFlag Load (0.3ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mCACHE (0.0ms)[0m SELECT DISTINCT roles.id FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 2 AND `roles`.`title` = 'Admin' LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 ORDER BY position[0m [[0;37mDEBUG[0m|# 4185] flagcheck: package has default state, checking project [[0;37mDEBUG[0m|# 4185] [1m[35mFlag Load (0.3ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 [[0;37mDEBUG[0m|# 4185] disabled_for sourceaccess repo: arch: state:enable [[0;37mDEBUG[0m|# 4185] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mDbPackage Load (0.3ms)[0m SELECT pack.* FROM db_packages pack LEFT OUTER JOIN db_projects pro ON pack.db_project_id = pro.id WHERE pro.name = BINARY 'kde4' AND pack.name = BINARY 'kdelibs' [[0;37mDEBUG[0m|# 4185] [1m[36mCACHE (0.0ms)[0m [1mSELECT `db_projects`.* FROM `db_projects` WHERE `db_projects`.`id` = 2 LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mDbProject Load (0.3ms)[0m SELECT `db_projects`.* FROM `db_projects` WHERE (name = BINARY 'home:Iggy') LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mDbPackage Load (0.4ms)[0m [1mSELECT `db_packages`.* FROM `db_packages` WHERE `db_packages`.`db_project_id` = 502 AND (name = BINARY 'TestPack') LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mDbProject Load (0.3ms)[0m SELECT `db_projects`.* FROM `db_projects` WHERE `db_projects`.`id` = 502 LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mPackageUserRoleRelationship Load (0.2ms)[0m [1mSELECT `package_user_role_relationships`.* FROM `package_user_role_relationships` WHERE `package_user_role_relationships`.`db_package_id` = 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 4 LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 3 LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 42 LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mRole Load (0.4ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 6 LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE (login = BINARY 'Iggy') LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mPackageUserRoleRelationship Load (0.2ms)[0m [1mSELECT `package_user_role_relationships`.* FROM `package_user_role_relationships` WHERE (db_package_id = 1 AND role_id = 3 AND bs_user_id = 267) LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mSQL (0.4ms)[0m INSERT INTO `package_user_role_relationships` (`bs_user_id`, `db_package_id`, `role_id`) VALUES (267, 1, 3) [[0;37mDEBUG[0m|# 4185] [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE (login = BINARY 'Iggy') LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mPackageUserRoleRelationship Load (0.2ms)[0m SELECT `package_user_role_relationships`.* FROM `package_user_role_relationships` WHERE (db_package_id = 1 AND role_id = 4 AND bs_user_id = 267) LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `package_user_role_relationships` (`bs_user_id`, `db_package_id`, `role_id`) VALUES (267, 1, 4)[0m [[0;37mDEBUG[0m|# 4185] [1m[35mPackageGroupRoleRelationship Load (0.2ms)[0m SELECT `package_group_role_relationships`.* FROM `package_group_role_relationships` WHERE `package_group_role_relationships`.`db_package_id` = 1 [[0;37mDEBUG[0m|# 4185] [1m[36mGroup Load (0.2ms)[0m [1mSELECT `groups`.* FROM `groups` WHERE `groups`.`id` = 99 LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 3 LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mGroup Load (0.2ms)[0m [1mSELECT `groups`.* FROM `groups` WHERE `groups`.`title` = 'test_group' LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mPackageGroupRoleRelationship Load (0.2ms)[0m SELECT `package_group_role_relationships`.* FROM `package_group_role_relationships` WHERE (db_package_id = 1 AND role_id = 7 AND bs_group_id = 99) LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `package_group_role_relationships` (`bs_group_id`, `db_package_id`, `role_id`) VALUES (99, 1, 7)[0m [[0;37mDEBUG[0m|# 4185] [1m[35mFlag Load (0.3ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 ORDER BY position [[0;37mDEBUG[0m|# 4185] [1m[36mDbPackage Load (0.2ms)[0m [1mSELECT `db_packages`.* FROM `db_packages` WHERE `db_packages`.`id` = 1 LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35m (0.3ms)[0m SELECT MAX(`flags`.`position`) AS max_id FROM `flags` WHERE `flags`.`db_package_id` = 1 [[0;37mDEBUG[0m|# 4185] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `flags` (`architecture_id`, `db_package_id`, `db_project_id`, `flag`, `position`, `repo`, `status`) VALUES (NULL, 1, NULL, 'build', 1, NULL, 'enable')[0m [[0;37mDEBUG[0m|# 4185] [1m[35mDbPackage Load (0.3ms)[0m SELECT db_packages.*, ( @activity:=( db_packages.activity_index - POWER( TIME_TO_SEC( TIMEDIFF( NOW(), db_packages.updated_at ))/86400, 1.55 ) /10 ) ) AS act_tmp, IF( @activity<0, 0, @activity ) AS activity_value FROM `db_packages` WHERE id = 1 LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36m (0.4ms)[0m [1mUPDATE `db_packages` SET `description` = 'Changed description', `develpackage_id` = 10095, `activity_index` = 85.3110061353901, `updated_at` = '2012-04-16 14:03:40', `update_counter` = 1 WHERE `db_packages`.`id` = 1[0m [[0;37mDEBUG[0m|# 4185] ----------------- rendering package kdelibs ------------------------ [[0;37mDEBUG[0m|# 4185] [1m[35mPackageUserRoleRelationship Load (0.6ms)[0m SELECT users.login as login, roles.title AS role_name FROM `package_user_role_relationships` INNER JOIN `roles` ON `roles`.`id` = `package_user_role_relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `package_user_role_relationships`.`bs_user_id` WHERE `package_user_role_relationships`.`db_package_id` = 1 [[0;37mDEBUG[0m|# 4185] [1m[36mPackageGroupRoleRelationship Load (0.3ms)[0m [1mSELECT groups.title as title, roles.title as role_name FROM `package_group_role_relationships` INNER JOIN `roles` ON `roles`.`id` = `package_group_role_relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `package_group_role_relationships`.`bs_group_id` WHERE `package_group_role_relationships`.`db_package_id` = 1[0m [[0;37mDEBUG[0m|# 4185] ----------------- end rendering package kdelibs ------------------------ [[0;37mDEBUG[0m|# 4185] [backend] PUT: /source/kde4/kdelibs/_meta?user=king [[0;37mDEBUG[0m|# 4190] 2012-04-16 16:03:40 [9152]: PUT /source/kde4/kdelibs/_meta?user=king [[0;37mDEBUG[0m|# 4185] request took 0.019286653 [[0;37mDEBUG[0m|# 4185] [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1 [[32mINFO [0m|# 4185] Completed 200 OK in 87ms (Views: 1.3ms | ActiveRecord: 11.2ms | Backend: 19.3ms | XML: 0.5ms) [[32mINFO [0m|# 4185] Started GET "/source/kde4/kdelibs/_meta" for 127.0.0.1 at 2012-04-16 16:03:40 +0200 [[32mINFO [0m|# 4185] Processing by SourceController#package_meta as XML [[32mINFO [0m|# 4185] Parameters: {"project"=>"kde4", "package"=>"kdelibs"} [[0;37mDEBUG[0m|# 4185] Validate XML request: #<ActionDispatch::Request:0x00000006c46728> [[0;37mDEBUG[0m|# 4185] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdelibs", "method"=>"GET", "type"=>"request"} [[0;37mDEBUG[0m|# 4185] AUTH: ["Basic", "a2luZzpzdW5mbG93ZXI="] [[0;37mDEBUG[0m|# 4185] [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE (login = 'king') LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] USER found: king [[0;37mDEBUG[0m|# 4185] User king initialised [[0;37mDEBUG[0m|# 4185] [1m[35mRole Load (0.4ms)[0m SELECT DISTINCT roles.id FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 2 AND `roles`.`title` = 'Admin' LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mDbProject Load (0.2ms)[0m [1mSELECT `db_projects`.* FROM `db_projects` WHERE (name = BINARY 'kde4') LIMIT 1[0m [[0;37mDEBUG[0m|# 4185] [1m[35mDbPackage Load (0.3ms)[0m SELECT `db_packages`.* FROM `db_packages` WHERE `db_packages`.`db_project_id` = 2 AND (name = BINARY 'kdelibs') LIMIT 1 [[0;37mDEBUG[0m|# 4185] [1m[36mDbProject Load (0.2ms)[0m [1mSELECT `db_projects`.* FROM `db_projects` WHERE `db_projects`.`id` = 2 LIMIT 1[0m [[32mINFO [0m|# 4185] Completed 200 OK in 10ms (Views: 0.5ms | ActiveRecord: 1.6ms | Backend: 0.0ms | XML: 0.0ms) [[0;37mDEBUG[0m|# 4185] [1m[35m (76.8ms)[0m ROLLBACK [[0;37mDEBUG[0m|# 4185] kill 4190 + echo + cleanup + echo 'Killing backend processes' Killing backend processes + fuser -v <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/> + egrep 'perl|ruby' USER PID ACCESS COMMAND <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/>: jenkins ..c.. sh jenkins ..c.. sh jenkins ..c.. egrep + 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/*' src/webui/tmp/cache 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
See <http://ci.opensuse.org/job/obs_master_testsuite_api/886/changes> -- To unsubscribe, e-mail: obs-tests+unsubscribe@opensuse.org To contact the owner, e-mail: obs-tests+owner@opensuse.org
participants (1)
-
admin@opensuse.org