[obs-tests] Build failed in Jenkins: obs_master_testsuite_api #1724
See <http://ci.opensuse.org/job/obs_master_testsuite_api/1724/changes> Changes: [Stephan Kulow] [api] replace rails 2 code with rails 4 code ------------------------------------------ [...truncated 206011 lines...] [522d279b-b97c-488a-8823-8c53f27c1e84] [316.61] Parameters: {"project"=>"kde4"} [522d279b-b97c-488a-8823-8c53f27c1e84] [316.61] Validate XML request: #<ActionDispatch::Request:0x00000007714cb8> [522d279b-b97c-488a-8823-8c53f27c1e84] [316.61] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"show_project", "project"=>"kde4", "method"=>"GET", "type"=>"request"} [522d279b-b97c-488a-8823-8c53f27c1e84] [316.61] [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1[0m [522d279b-b97c-488a-8823-8c53f27c1e84] [316.61] USER found: king [522d279b-b97c-488a-8823-8c53f27c1e84] [316.73] User king initialised [522d279b-b97c-488a-8823-8c53f27c1e84] [316.74] [1m[35mRole Exists (1.4ms)[0m SELECT DISTINCT 1 AS one 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 [522d279b-b97c-488a-8823-8c53f27c1e84] [316.74] [1m[36mProject Load (0.2ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0)) LIMIT 1[0m [522d279b-b97c-488a-8823-8c53f27c1e84] [316.74] [1m[35m (0.2ms)[0m SELECT `packages`.`name`, `packages`.`db_project_id` FROM `packages` WHERE `packages`.`db_project_id` = 2 AND (packages.db_project_id not in (0)) [522d279b-b97c-488a-8823-8c53f27c1e84] [316.74] [1m[36m (0.2ms)[0m [1mSELECT `projects`.`id`, `projects`.`name` FROM `projects` WHERE `projects`.`id` IN (2) AND (projects.id not in (0))[0m [522d279b-b97c-488a-8823-8c53f27c1e84] [316.74] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"show_project", "project"=>"kde4", "method"=>"GET", "type"=>"response"} [522d279b-b97c-488a-8823-8c53f27c1e84] [316.74] Validate XML response: #<ActionDispatch::Response:0x00000007714c90> took 0ms [522d279b-b97c-488a-8823-8c53f27c1e84] [316.74] Completed 200 OK in 126ms (Views: 0.4ms | ActiveRecord: 2.3ms | Backend: 0.0ms | XML: 0.0ms) [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.74] Started GET "/source/kde4/kdebase/_meta" for 127.0.0.1 at 2013-08-30 15:42:13 +0000 [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.74] Processing by SourceController#package_meta as XML [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.74] Parameters: {"project"=>"kde4", "package"=>"kdebase"} [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.74] Validate XML request: #<ActionDispatch::Request:0x00000004129c70> [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.74] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdebase", "method"=>"GET", "type"=>"request"} [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.74] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.74] USER found: king [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.74] User king initialised [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.74] get_by_project_and_name {"get_by_project_and_name"=>1, :package=>"kdebase", :use_source=>false, :follow_project_links=>true, :user=>"users/2-20110729140021000000000", :project=>"kde4"} [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.75] [1m[36mRole Exists (0.2ms)[0m [1mSELECT DISTINCT 1 AS one 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 [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.75] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.75] [1m[36mPackage Load (0.2ms)[0m [1mSELECT `packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND `packages`.`name` = 'kdebase' AND (packages.db_project_id not in (0)) LIMIT 1[0m [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.75] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.75] [1m[36m (0.5ms)[0m [1mSELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`package_id` = 2 ORDER BY role_name, login[0m [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.76] [1m[35m (0.3ms)[0m SELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`package_id` = 2 ORDER BY role_name, title [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.76] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 2 ORDER BY `flags`.position ASC[0m [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.76] Rendered models/_package.xml.builder (5.6ms) [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.76] Validate XML response: #<ActionDispatch::Response:0x00000004129860> took 1ms [ff3bd742-9731-4a98-8f50-ae5b5012d393] [316.76] Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 2.0ms | Backend: 0.0ms | XML: 0.3ms) [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.76] Started PUT "/source/kde4/kdebase/_meta" for 127.0.0.1 at 2013-08-30 15:42:13 +0000 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.76] Processing by SourceController#package_meta as XML [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.76] Parameters: {"<package name"=>"\"kdebase\" project=\"kde4\">\n <title>blub</title>\n <description>blub</description>\n</package>\n", "project"=>"kde4", "package"=>"kdebase"} [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.76] Validate XML request: #<ActionDispatch::Request:0x000000044a0e80> [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.76] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.76] USER found: king [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.76] User king initialised [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.77] [1m[36mRole Exists (0.3ms)[0m [1mSELECT DISTINCT 1 AS one 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 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.77] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.77] [1m[36mPackage Load (0.2ms)[0m [1mSELECT `packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND `packages`.`name` = 'kdebase' AND (packages.db_project_id not in (0)) LIMIT 1[0m [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.77] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.77] get_by_project_and_name {"get_by_project_and_name"=>1, :package=>"kdebase", :use_source=>false, :follow_project_links=>true, :user=>"users/2-20110729140021000000000", :project=>"kde4"} 2 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.77] [1m[36mPackage Load (0.2ms)[0m [1mSELECT `packages`.* FROM `packages` WHERE `packages`.`id` = 2 AND (packages.db_project_id not in (0)) ORDER BY `packages`.`id` ASC LIMIT 1[0m [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.77] [1m[35mCACHE (0.0ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [["id", 2]] [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.78] [1m[36mFlag Load (0.3ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' ORDER BY `flags`.position ASC LIMIT 1[0m [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.78] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.78] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 2 ORDER BY `flags`.position ASC[0m [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.78] flagcheck: package has default state, checking project [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.78] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.78] disabled_for sourceaccess repo: arch: state:enable [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.78] xml_disabled? X({"name"=>"kdebase", "project"=>"kde4", "title"=>"blub", "description"=>"blub"}) [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.78] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.78] [1m[35mCACHE (0.0ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' ORDER BY `flags`.position ASC LIMIT 1 [["db_package_id", 2]] [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.78] [1m[36mCACHE (0.0ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1[0m [["db_project_id", 2]] [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.78] [1m[35mPackage Load (0.2ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377877333)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.78] update_activity 3.966102771401082e-12 10 2013-08-30 15:42:13 +0000 2002-02-02 03:02:02 UTC 2002-02-02 03:02:02 UTC [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.78] [1m[36mCACHE (0.0ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377877333)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1[0m [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.78] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`activity_index` = 10.000000000003967 WHERE `packages`.`id` = 2 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.78] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`updated_at` = '2013-08-30 15:42:13' WHERE `packages`.`id` = 2[0m [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.78] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `update_counter` = 1 WHERE `packages`.`id` = 2 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.79] [1m[36m (0.5ms)[0m [1mSELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`package_id` = 2 ORDER BY role_name, login[0m [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.79] [1m[35m (0.3ms)[0m SELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`package_id` = 2 ORDER BY role_name, title [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.79] Rendered models/_package.xml.builder (3.9ms) [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.79] [backend] PUT: /source/kde4/kdebase/_meta?user=king [307.79] 2013-08-30 15:42:13 [27622]: PUT /source/kde4/kdebase/_meta?user=king [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.80] request took 0.010421844 0.010421844 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.80] [1m[36mRelationship Load (0.3ms)[0m [1mSELECT `relationships`.* FROM `relationships` WHERE `relationships`.`package_id` = 2 AND (user_id > 0)[0m [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.80] [1m[35mRelationship Load (0.2ms)[0m SELECT `relationships`.* FROM `relationships` WHERE `relationships`.`package_id` = 2 AND (group_id > 0) [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.80] [1m[36mPackage Load (0.1ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377877333)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1[0m [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.80] update_activity 10.0 2.4979865109478985e-06 2013-08-30 15:42:13 +0000 2013-08-30 15:42:13 UTC 2013-08-30 15:42:13 UTC [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.80] [1m[35mCACHE (0.0ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377877333)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.81] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`activity_index` = 10.000002497986511 WHERE `packages`.`id` = 2[0m [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.81] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`updated_at` = '2013-08-30 15:42:13' WHERE `packages`.`id` = 2 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.81] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `update_counter` = 2 WHERE `packages`.`id` = 2[0m [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.81] [1m[35m (0.6ms)[0m SELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`package_id` = 2 ORDER BY role_name, login [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.81] [1m[36m (0.3ms)[0m [1mSELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`package_id` = 2 ORDER BY role_name, title[0m [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.81] Rendered models/_package.xml.builder (4.8ms) [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.81] [backend] PUT: /source/kde4/kdebase/_meta?user=king [307.82] 2013-08-30 15:42:13 [27623]: PUT /source/kde4/kdebase/_meta?user=king [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.83] request took 0.016124465 0.026546309 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.83] [1m[35mPackage Load (0.4ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377877333)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.83] update_activity 10.00000286102295 2.9345629391846834e-06 2013-08-30 15:42:13 +0000 2013-08-30 15:42:13 UTC 2013-08-30 15:42:13 UTC [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.83] [1m[36mCACHE (0.0ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377877333)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1[0m [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.83] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`activity_index` = 10.000005795585889 WHERE `packages`.`id` = 2 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.83] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`updated_at` = '2013-08-30 15:42:13' WHERE `packages`.`id` = 2[0m [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.84] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `update_counter` = 3 WHERE `packages`.`id` = 2 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.84] [1m[36m (0.6ms)[0m [1mSELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`package_id` = 2 ORDER BY role_name, login[0m [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.84] [1m[35m (0.3ms)[0m SELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`package_id` = 2 ORDER BY role_name, title [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.84] Rendered models/_package.xml.builder (4.3ms) [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.84] [backend] PUT: /source/kde4/kdebase/_meta?user=king [307.85] 2013-08-30 15:42:13 [27624]: PUT /source/kde4/kdebase/_meta?user=king [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.85] request took 0.009234686 0.035780995 [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.85] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.85] Validate XML response: #<ActionDispatch::Response:0x000000044a0e58> took 0ms [a35335b0-7eb3-4684-8a5b-06f850fb77c6] [316.85] Completed 200 OK in 91ms (Views: 0.9ms | ActiveRecord: 7.9ms | Backend: 35.8ms | XML: 0.0ms) [dfe1ca7b-af9f-4c8b-8336-7d61c23aedb2] [316.85] Started GET "/source/kde4/kdebase/_meta" for 127.0.0.1 at 2013-08-30 15:42:13 +0000 [dfe1ca7b-af9f-4c8b-8336-7d61c23aedb2] [316.86] Processing by SourceController#package_meta as XML [dfe1ca7b-af9f-4c8b-8336-7d61c23aedb2] [316.86] Parameters: {"project"=>"kde4", "package"=>"kdebase"} [dfe1ca7b-af9f-4c8b-8336-7d61c23aedb2] [316.86] Validate XML request: #<ActionDispatch::Request:0x000000069deee0> [dfe1ca7b-af9f-4c8b-8336-7d61c23aedb2] [316.86] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdebase", "method"=>"GET", "type"=>"request"} [dfe1ca7b-af9f-4c8b-8336-7d61c23aedb2] [316.86] [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [dfe1ca7b-af9f-4c8b-8336-7d61c23aedb2] [316.86] USER found: king [dfe1ca7b-af9f-4c8b-8336-7d61c23aedb2] [316.86] User king initialised [dfe1ca7b-af9f-4c8b-8336-7d61c23aedb2] [316.86] get_by_project_and_name {"get_by_project_and_name"=>1, :package=>"kdebase", :use_source=>false, :follow_project_links=>true, :user=>"users/2-20110729140021000000000", :project=>"kde4"} 2 [dfe1ca7b-af9f-4c8b-8336-7d61c23aedb2] [316.86] [1m[36mRole Exists (0.3ms)[0m [1mSELECT DISTINCT 1 AS one 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 [dfe1ca7b-af9f-4c8b-8336-7d61c23aedb2] [316.86] [1m[35mPackage Load (0.3ms)[0m SELECT `packages`.* FROM `packages` WHERE `packages`.`id` = 2 AND (packages.db_project_id not in (0)) ORDER BY `packages`.`id` ASC LIMIT 1 [dfe1ca7b-af9f-4c8b-8336-7d61c23aedb2] [316.86] [1m[36mProject Load (0.2ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [dfe1ca7b-af9f-4c8b-8336-7d61c23aedb2] [316.87] [1m[35mPackage Load (0.2ms)[0m SELECT `packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND `packages`.`name` = 'kdebase' AND (packages.db_project_id not in (0)) LIMIT 1 [dfe1ca7b-af9f-4c8b-8336-7d61c23aedb2] [316.87] [1m[36mProject Load (0.2ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [dfe1ca7b-af9f-4c8b-8336-7d61c23aedb2] [316.87] Validate XML response: #<ActionDispatch::Response:0x000000069dee90> took 2ms [dfe1ca7b-af9f-4c8b-8336-7d61c23aedb2] [316.87] Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 1.5ms | Backend: 0.0ms | XML: 0.0ms) [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.87] Started GET "/source/kde4/kdelibs/_meta" for 127.0.0.1 at 2013-08-30 15:42:13 +0000 [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.87] Processing by SourceController#package_meta as XML [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.87] Parameters: {"project"=>"kde4", "package"=>"kdelibs"} [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.87] Validate XML request: #<ActionDispatch::Request:0x000000072ff060> [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.87] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdelibs", "method"=>"GET", "type"=>"request"} [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.87] [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.87] USER found: king [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.87] User king initialised [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.87] get_by_project_and_name {"get_by_project_and_name"=>1, :package=>"kdelibs", :use_source=>false, :follow_project_links=>true, :user=>"users/2-20110729140021000000000", :project=>"kde4"} [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.88] [1m[36mRole Exists (0.2ms)[0m [1mSELECT DISTINCT 1 AS one 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 [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.88] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.88] [1m[36mPackage Load (0.3ms)[0m [1mSELECT `packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND `packages`.`name` = 'kdelibs' AND (packages.db_project_id not in (0)) LIMIT 1[0m [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.88] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.89] [1m[36mPackage Load (0.4ms)[0m [1mSELECT `packages`.* FROM `packages` WHERE `packages`.`id` = 1234 AND (packages.db_project_id not in (0)) ORDER BY `packages`.`id` ASC LIMIT 1[0m [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.89] [1m[35mProject Load (0.3ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 601 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.89] [1m[36m (0.9ms)[0m [1mSELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`package_id` = 1 ORDER BY role_name, login[0m [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.89] [1m[35m (0.3ms)[0m SELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`package_id` = 1 ORDER BY role_name, title [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.90] [1m[36mFlag Load (0.3ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 ORDER BY `flags`.position ASC[0m [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.90] Rendered models/_package.xml.builder (14.1ms) [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.90] Validate XML response: #<ActionDispatch::Response:0x000000072ff038> took 2ms [4af48a3f-8c41-4354-8b9d-c1cb3e23a529] [316.90] Completed 200 OK in 27ms (Views: 0.4ms | ActiveRecord: 3.4ms | Backend: 0.0ms | XML: 0.0ms) [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.90] Started PUT "/source/kde4/kdelibs/_meta" for 127.0.0.1 at 2013-08-30 15:42:13 +0000 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.90] Processing by SourceController#package_meta as XML [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.90] Parameters: {"<package name"=>"\"kdelibs\" project=\"kde4\">\n <title>blub</title>\n <description>blub</description>\n <devel project=\"home:coolo:test\" package=\"kdelibs_DEVEL_package\"/>\n <person userid=\"fredlibs\" role=\"maintainer\"/>\n <person userid=\"adrian\" role=\"reviewer\"/>\n <group groupid=\"test_group\" role=\"maintainer\"/>\n</package>\n", "project"=>"kde4", "package"=>"kdelibs"} [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.90] Validate XML request: #<ActionDispatch::Request:0x000000075315e0> [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.91] [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.91] USER found: king [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.91] User king initialised [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.91] [1m[36mRole Exists (0.4ms)[0m [1mSELECT DISTINCT 1 AS one 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 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.91] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.91] [1m[36mPackage Load (0.3ms)[0m [1mSELECT `packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND `packages`.`name` = 'kdelibs' AND (packages.db_project_id not in (0)) LIMIT 1[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.91] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.91] get_by_project_and_name {"get_by_project_and_name"=>1, :package=>"kdelibs", :use_source=>false, :follow_project_links=>true, :user=>"users/2-20110729140021000000000", :project=>"kde4"} 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.91] [1m[36mPackage Load (0.2ms)[0m [1mSELECT `packages`.* FROM `packages` WHERE `packages`.`id` = 1 AND (packages.db_project_id not in (0)) ORDER BY `packages`.`id` ASC LIMIT 1[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.91] [1m[35mCACHE (0.0ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [["id", 2]] [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.92] [1m[36mFlag Load (0.3ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' ORDER BY `flags`.position ASC LIMIT 1[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.92] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.92] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 ORDER BY `flags`.position ASC[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.92] flagcheck: package has default state, checking project [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.92] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.92] disabled_for sourceaccess repo: arch: state:enable [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.92] xml_disabled? X({"name"=>"kdelibs", "project"=>"kde4", "title"=>"blub", "description"=>"blub", "devel"=>X({"project"=>"home:coolo:test", "package"=>"kdelibs_DEVEL_package"}), "person"=>[X({"userid"=>"fredlibs", "role"=>"maintainer"}), X({"userid"=>"adrian", "role"=>"reviewer"})], "group"=>X({"groupid"=>"test_group", "role"=>"maintainer"})}) [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.92] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.92] [1m[35mCACHE (0.1ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' ORDER BY `flags`.position ASC LIMIT 1 [["db_package_id", 1]] [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.92] [1m[36mCACHE (0.0ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1[0m [["db_project_id", 2]] [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.92] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'home:coolo:test' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.92] [1m[36mPackage Load (0.1ms)[0m [1mSELECT `packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 601 AND `packages`.`name` = 'kdelibs_DEVEL_package' AND (packages.db_project_id not in (0)) LIMIT 1[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.92] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 601 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.93] [1m[36mPackage Load (0.3ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377877333)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.93] update_activity 3.966102771401082e-12 10 2013-08-30 15:42:13 +0000 2002-02-02 03:02:02 UTC 2002-02-02 03:02:02 UTC [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.93] [1m[35mCACHE (0.0ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377877333)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.93] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`activity_index` = 10.000000000003967 WHERE `packages`.`id` = 1[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.93] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`updated_at` = '2013-08-30 15:42:13' WHERE `packages`.`id` = 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.93] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `update_counter` = 1 WHERE `packages`.`id` = 1[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.93] [1m[35m (0.7ms)[0m SELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`package_id` = 1 ORDER BY role_name, login [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.94] [1m[36m (0.3ms)[0m [1mSELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`package_id` = 1 ORDER BY role_name, title[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.94] Rendered models/_package.xml.builder (5.0ms) [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.94] [backend] PUT: /source/kde4/kdelibs/_meta?user=king [307.94] 2013-08-30 15:42:13 [27625]: PUT /source/kde4/kdelibs/_meta?user=king [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.95] request took 0.01318551 0.01318551 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.95] [1m[35mRelationship Load (0.6ms)[0m SELECT `relationships`.* FROM `relationships` WHERE `relationships`.`package_id` = 1 AND (user_id > 0) [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.95] [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 4 ORDER BY `users`.`id` ASC LIMIT 1[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.96] [1m[35mRole Load (0.3ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 3 ORDER BY `roles`.`id` ASC LIMIT 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.96] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 42 ORDER BY `users`.`id` ASC LIMIT 1[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.96] [1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 6 ORDER BY `roles`.`id` ASC LIMIT 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.96] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'fredlibs' LIMIT 1[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.96] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'adrian' LIMIT 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.96] [1m[36mRelationship Load (0.3ms)[0m [1mSELECT `relationships`.* FROM `relationships` WHERE `relationships`.`package_id` = 1 AND (group_id > 0)[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.96] [1m[35mGroup Load (0.2ms)[0m SELECT `groups`.* FROM `groups` WHERE `groups`.`id` = 99 ORDER BY `groups`.`id` ASC LIMIT 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.96] [1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 3 ORDER BY `roles`.`id` ASC LIMIT 1[0m [["id", 3]] [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.96] [1m[35mGroup Load (0.3ms)[0m SELECT `groups`.* FROM `groups` WHERE `groups`.`title` = 'test_group' LIMIT 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.97] [1m[36mPackage Load (0.3ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377877333)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.97] update_activity 10.0 4.408122212798507e-06 2013-08-30 15:42:13 +0000 2013-08-30 15:42:13 UTC 2013-08-30 15:42:13 UTC [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.97] [1m[35mCACHE (0.0ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377877333)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.97] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`activity_index` = 10.000004408122212 WHERE `packages`.`id` = 1[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.97] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`updated_at` = '2013-08-30 15:42:13' WHERE `packages`.`id` = 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.97] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `update_counter` = 2 WHERE `packages`.`id` = 1[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.97] [1m[35m (0.7ms)[0m SELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`package_id` = 1 ORDER BY role_name, login [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.98] [1m[36m (0.4ms)[0m [1mSELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`package_id` = 1 ORDER BY role_name, title[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.98] Rendered models/_package.xml.builder (5.6ms) [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.98] [backend] PUT: /source/kde4/kdelibs/_meta?user=king [307.98] 2013-08-30 15:42:13 [27626]: PUT /source/kde4/kdelibs/_meta?user=king [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.99] request took 0.011060399 0.024245909 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.99] [1m[35mPackage Load (0.5ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377877333)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.99] update_activity 10.000004768371582 2.4822023179796008e-06 2013-08-30 15:42:13 +0000 2013-08-30 15:42:13 UTC 2013-08-30 15:42:13 UTC [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.99] [1m[36mCACHE (0.0ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377877333)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.99] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`activity_index` = 10.0000072505739 WHERE `packages`.`id` = 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.99] [1m[36mSQL (0.3ms)[0m [1mUPDATE `packages` SET `packages`.`updated_at` = '2013-08-30 15:42:13' WHERE `packages`.`id` = 1[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [316.99] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `update_counter` = 3 WHERE `packages`.`id` = 1 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [317.00] [1m[36m (0.9ms)[0m [1mSELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`package_id` = 1 ORDER BY role_name, login[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [317.00] [1m[35m (0.4ms)[0m SELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`package_id` = 1 ORDER BY role_name, title [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [317.00] Rendered models/_package.xml.builder (5.7ms) [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [317.00] [backend] PUT: /source/kde4/kdelibs/_meta?user=king [308.01] 2013-08-30 15:42:13 [27627]: PUT /source/kde4/kdelibs/_meta?user=king [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [317.01] request took 0.01139581 0.035641719 [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [317.01] [1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [317.02] Validate XML response: #<ActionDispatch::Response:0x00000007531568> took 0ms [b6b8212f-ed3e-4cf3-a6f6-2865eefa376c] [317.02] Completed 200 OK in 113ms (Views: 1.0ms | ActiveRecord: 12.8ms | Backend: 35.6ms | XML: 0.0ms) [75c29f51-30ac-47ae-8dae-639cdbfd662e] [317.02] Started GET "/source/kde4/kdelibs/_meta" for 127.0.0.1 at 2013-08-30 15:42:13 +0000 [75c29f51-30ac-47ae-8dae-639cdbfd662e] [317.02] Processing by SourceController#package_meta as XML [75c29f51-30ac-47ae-8dae-639cdbfd662e] [317.02] Parameters: {"project"=>"kde4", "package"=>"kdelibs"} [75c29f51-30ac-47ae-8dae-639cdbfd662e] [317.02] Validate XML request: #<ActionDispatch::Request:0x0000000772cf70> [75c29f51-30ac-47ae-8dae-639cdbfd662e] [317.02] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdelibs", "method"=>"GET", "type"=>"request"} [75c29f51-30ac-47ae-8dae-639cdbfd662e] [317.02] [1m[35mUser Load (1.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [75c29f51-30ac-47ae-8dae-639cdbfd662e] [317.02] USER found: king [75c29f51-30ac-47ae-8dae-639cdbfd662e] [317.02] User king initialised [75c29f51-30ac-47ae-8dae-639cdbfd662e] [317.02] get_by_project_and_name {"get_by_project_and_name"=>1, :package=>"kdelibs", :use_source=>false, :follow_project_links=>true, :user=>"users/2-20110729140021000000000", :project=>"kde4"} 1 [75c29f51-30ac-47ae-8dae-639cdbfd662e] [317.02] [1m[36mRole Exists (0.4ms)[0m [1mSELECT DISTINCT 1 AS one 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 [75c29f51-30ac-47ae-8dae-639cdbfd662e] [317.03] [1m[35mPackage Load (0.2ms)[0m SELECT `packages`.* FROM `packages` WHERE `packages`.`id` = 1 AND (packages.db_project_id not in (0)) ORDER BY `packages`.`id` ASC LIMIT 1 [75c29f51-30ac-47ae-8dae-639cdbfd662e] [317.03] [1m[36mProject Load (0.2ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [75c29f51-30ac-47ae-8dae-639cdbfd662e] [317.03] [1m[35mPackage Load (0.3ms)[0m SELECT `packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND `packages`.`name` = 'kdelibs' AND (packages.db_project_id not in (0)) LIMIT 1 [75c29f51-30ac-47ae-8dae-639cdbfd662e] [317.03] [1m[36mProject Load (0.2ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [75c29f51-30ac-47ae-8dae-639cdbfd662e] [317.03] Validate XML response: #<ActionDispatch::Response:0x0000000772cf48> took 1ms [75c29f51-30ac-47ae-8dae-639cdbfd662e] [317.03] Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 2.9ms | Backend: 0.0ms | XML: 0.0ms) [317.04] [1m[35m (5.7ms)[0m ROLLBACK [317.04] kill 20401 + 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/>: ci ..c.. sh ci ..c.. sh ci ..c.. egrep ci ..c.. fuser + 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/backend_config src/api/tmp/backend_data src/api/tmp/cache src/api/tmp/pids src/api/tmp/scheduler.done 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 -- 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/1725/changes> Changes: [mls] [backend] route all notifications through the src server's notify() function [mls] [backend] implement lastnotifications streaming service ------------------------------------------ [...truncated 206292 lines...] [36f1223d-d5e8-454f-8a33-151395d065d6] [319.35] Parameters: {"project"=>"kde4"} [36f1223d-d5e8-454f-8a33-151395d065d6] [319.35] Validate XML request: #<ActionDispatch::Request:0x00000007528e18> [36f1223d-d5e8-454f-8a33-151395d065d6] [319.35] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"show_project", "project"=>"kde4", "method"=>"GET", "type"=>"request"} [36f1223d-d5e8-454f-8a33-151395d065d6] [319.35] [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1[0m [36f1223d-d5e8-454f-8a33-151395d065d6] [319.35] USER found: king [36f1223d-d5e8-454f-8a33-151395d065d6] [319.35] User king initialised [36f1223d-d5e8-454f-8a33-151395d065d6] [319.36] [1m[35mRole Exists (0.3ms)[0m SELECT DISTINCT 1 AS one 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 [36f1223d-d5e8-454f-8a33-151395d065d6] [319.36] [1m[36mProject Load (0.2ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0)) LIMIT 1[0m [36f1223d-d5e8-454f-8a33-151395d065d6] [319.36] [1m[35m (0.2ms)[0m SELECT `packages`.`name`, `packages`.`db_project_id` FROM `packages` WHERE `packages`.`db_project_id` = 2 AND (packages.db_project_id not in (0)) [36f1223d-d5e8-454f-8a33-151395d065d6] [319.36] [1m[36m (0.2ms)[0m [1mSELECT `projects`.`id`, `projects`.`name` FROM `projects` WHERE `projects`.`id` IN (2) AND (projects.id not in (0))[0m [36f1223d-d5e8-454f-8a33-151395d065d6] [319.36] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"show_project", "project"=>"kde4", "method"=>"GET", "type"=>"response"} [36f1223d-d5e8-454f-8a33-151395d065d6] [319.36] Validate XML response: #<ActionDispatch::Response:0x00000007528df0> took 0ms [36f1223d-d5e8-454f-8a33-151395d065d6] [319.36] Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.2ms | Backend: 0.0ms | XML: 0.0ms) [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.36] Started GET "/source/kde4/kdebase/_meta" for 127.0.0.1 at 2013-08-30 17:11:50 +0000 [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.36] Processing by SourceController#package_meta as XML [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.36] Parameters: {"project"=>"kde4", "package"=>"kdebase"} [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.36] Validate XML request: #<ActionDispatch::Request:0x0000000759b238> [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.36] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdebase", "method"=>"GET", "type"=>"request"} [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.36] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.36] USER found: king [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.36] User king initialised [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.36] get_by_project_and_name {"get_by_project_and_name"=>1, :package=>"kdebase", :use_source=>false, :follow_project_links=>true, :user=>"users/2-20110729140021000000000", :project=>"kde4"} [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.37] [1m[36mRole Exists (0.3ms)[0m [1mSELECT DISTINCT 1 AS one 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 [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.37] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.37] [1m[36mPackage Load (0.2ms)[0m [1mSELECT `packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND `packages`.`name` = 'kdebase' AND (packages.db_project_id not in (0)) LIMIT 1[0m [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.37] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.37] [1m[36m (0.6ms)[0m [1mSELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`package_id` = 2 ORDER BY role_name, login[0m [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.38] [1m[35m (0.3ms)[0m SELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`package_id` = 2 ORDER BY role_name, title [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.38] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 2 ORDER BY `flags`.position ASC[0m [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.38] Rendered models/_package.xml.builder (6.6ms) [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.38] Validate XML response: #<ActionDispatch::Response:0x0000000759b210> took 2ms [1b6df473-bfc7-430e-aa39-981fd1cbdd54] [319.38] Completed 200 OK in 18ms (Views: 0.4ms | ActiveRecord: 2.5ms | Backend: 0.0ms | XML: 0.3ms) [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.38] Started PUT "/source/kde4/kdebase/_meta" for 127.0.0.1 at 2013-08-30 17:11:50 +0000 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.38] Processing by SourceController#package_meta as XML [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.38] Parameters: {"<package name"=>"\"kdebase\" project=\"kde4\">\n <title>blub</title>\n <description>blub</description>\n</package>\n", "project"=>"kde4", "package"=>"kdebase"} [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.38] Validate XML request: #<ActionDispatch::Request:0x000000076219a0> [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.39] [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.39] USER found: king [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.39] User king initialised [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.39] [1m[36mRole Exists (0.3ms)[0m [1mSELECT DISTINCT 1 AS one 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 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.39] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.39] [1m[36mPackage Load (0.2ms)[0m [1mSELECT `packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND `packages`.`name` = 'kdebase' AND (packages.db_project_id not in (0)) LIMIT 1[0m [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.39] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.39] get_by_project_and_name {"get_by_project_and_name"=>1, :package=>"kdebase", :use_source=>false, :follow_project_links=>true, :user=>"users/2-20110729140021000000000", :project=>"kde4"} 2 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.39] [1m[36mPackage Load (0.2ms)[0m [1mSELECT `packages`.* FROM `packages` WHERE `packages`.`id` = 2 AND (packages.db_project_id not in (0)) ORDER BY `packages`.`id` ASC LIMIT 1[0m [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.40] [1m[35mCACHE (0.0ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [["id", 2]] [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.40] [1m[36mFlag Load (0.3ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' ORDER BY `flags`.position ASC LIMIT 1[0m [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.40] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.40] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 2 ORDER BY `flags`.position ASC[0m [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.40] flagcheck: package has default state, checking project [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.40] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.40] disabled_for sourceaccess repo: arch: state:enable [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.40] xml_disabled? X({"name"=>"kdebase", "project"=>"kde4", "title"=>"blub", "description"=>"blub"}) [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.40] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.40] [1m[35mCACHE (0.0ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' ORDER BY `flags`.position ASC LIMIT 1 [["db_package_id", 2]] [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.40] [1m[36mCACHE (0.0ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1[0m [["db_project_id", 2]] [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.40] [1m[35mPackage Load (0.3ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377882710)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.40] update_activity 3.964301502118692e-12 10 2013-08-30 17:11:50 +0000 2002-02-02 03:02:02 UTC 2002-02-02 03:02:02 UTC [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.40] [1m[36mCACHE (0.0ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377882710)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1[0m [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.40] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`activity_index` = 10.000000000003965 WHERE `packages`.`id` = 2 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.41] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`updated_at` = '2013-08-30 17:11:50' WHERE `packages`.`id` = 2[0m [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.41] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `update_counter` = 1 WHERE `packages`.`id` = 2 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.41] [1m[36m (0.5ms)[0m [1mSELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`package_id` = 2 ORDER BY role_name, login[0m [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.41] [1m[35m (0.3ms)[0m SELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`package_id` = 2 ORDER BY role_name, title [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.41] Rendered models/_package.xml.builder (4.3ms) [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.41] [backend] PUT: /source/kde4/kdebase/_meta?user=king [310.47] 2013-08-30 17:11:50 [15645]: PUT /source/kde4/kdebase/_meta?user=king [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.42] request took 0.010704707 0.010704707 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.42] [1m[36mRelationship Load (0.4ms)[0m [1mSELECT `relationships`.* FROM `relationships` WHERE `relationships`.`package_id` = 2 AND (user_id > 0)[0m [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.43] [1m[35mRelationship Load (0.2ms)[0m SELECT `relationships`.* FROM `relationships` WHERE `relationships`.`package_id` = 2 AND (group_id > 0) [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.43] [1m[36mPackage Load (0.2ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377882710)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1[0m [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.43] update_activity 10.0 2.4844098974157264e-06 2013-08-30 17:11:50 +0000 2013-08-30 17:11:50 UTC 2013-08-30 17:11:50 UTC [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.43] [1m[35mCACHE (0.0ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377882710)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.43] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`activity_index` = 10.000002484409897 WHERE `packages`.`id` = 2[0m [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.43] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`updated_at` = '2013-08-30 17:11:50' WHERE `packages`.`id` = 2 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.43] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `update_counter` = 2 WHERE `packages`.`id` = 2[0m [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.43] [1m[35m (0.6ms)[0m SELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`package_id` = 2 ORDER BY role_name, login [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.43] [1m[36m (0.3ms)[0m [1mSELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`package_id` = 2 ORDER BY role_name, title[0m [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.44] Rendered models/_package.xml.builder (4.2ms) [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.44] [backend] PUT: /source/kde4/kdebase/_meta?user=king [310.49] 2013-08-30 17:11:50 [15646]: PUT /source/kde4/kdebase/_meta?user=king [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.45] request took 0.011306154 0.022010861 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.45] [1m[35mPackage Load (0.4ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377882710)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.45] update_activity 10.00000286102295 2.296682861116197e-06 2013-08-30 17:11:50 +0000 2013-08-30 17:11:50 UTC 2013-08-30 17:11:50 UTC [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.45] [1m[36mCACHE (0.0ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377882710)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1[0m [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.45] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`activity_index` = 10.00000515770581 WHERE `packages`.`id` = 2 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.45] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`updated_at` = '2013-08-30 17:11:50' WHERE `packages`.`id` = 2[0m [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.45] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `update_counter` = 3 WHERE `packages`.`id` = 2 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.46] [1m[36m (0.6ms)[0m [1mSELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`package_id` = 2 ORDER BY role_name, login[0m [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.46] [1m[35m (0.3ms)[0m SELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`package_id` = 2 ORDER BY role_name, title [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.46] Rendered models/_package.xml.builder (4.1ms) [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.46] [backend] PUT: /source/kde4/kdebase/_meta?user=king [310.51] 2013-08-30 17:11:50 [15647]: PUT /source/kde4/kdebase/_meta?user=king [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.47] request took 0.01283153 0.034842391 [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.47] [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.47] Validate XML response: #<ActionDispatch::Response:0x00000007621978> took 0ms [5bf8ece2-e195-4a8f-9895-89c9207943f0] [319.47] Completed 200 OK in 90ms (Views: 0.8ms | ActiveRecord: 8.7ms | Backend: 34.8ms | XML: 0.0ms) [0effe175-06cd-479c-afb4-32f07917fea2] [319.47] Started GET "/source/kde4/kdebase/_meta" for 127.0.0.1 at 2013-08-30 17:11:50 +0000 [0effe175-06cd-479c-afb4-32f07917fea2] [319.48] Processing by SourceController#package_meta as XML [0effe175-06cd-479c-afb4-32f07917fea2] [319.48] Parameters: {"project"=>"kde4", "package"=>"kdebase"} [0effe175-06cd-479c-afb4-32f07917fea2] [319.48] Validate XML request: #<ActionDispatch::Request:0x00000007791858> [0effe175-06cd-479c-afb4-32f07917fea2] [319.48] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdebase", "method"=>"GET", "type"=>"request"} [0effe175-06cd-479c-afb4-32f07917fea2] [319.48] [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [0effe175-06cd-479c-afb4-32f07917fea2] [319.48] USER found: king [0effe175-06cd-479c-afb4-32f07917fea2] [319.48] User king initialised [0effe175-06cd-479c-afb4-32f07917fea2] [319.48] get_by_project_and_name {"get_by_project_and_name"=>1, :package=>"kdebase", :use_source=>false, :follow_project_links=>true, :user=>"users/2-20110729140021000000000", :project=>"kde4"} 2 [0effe175-06cd-479c-afb4-32f07917fea2] [319.48] [1m[36mRole Exists (0.3ms)[0m [1mSELECT DISTINCT 1 AS one 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 [0effe175-06cd-479c-afb4-32f07917fea2] [319.48] [1m[35mPackage Load (0.2ms)[0m SELECT `packages`.* FROM `packages` WHERE `packages`.`id` = 2 AND (packages.db_project_id not in (0)) ORDER BY `packages`.`id` ASC LIMIT 1 [0effe175-06cd-479c-afb4-32f07917fea2] [319.48] [1m[36mProject Load (0.2ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [0effe175-06cd-479c-afb4-32f07917fea2] [319.60] [1m[35mPackage Load (4.9ms)[0m SELECT `packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND `packages`.`name` = 'kdebase' AND (packages.db_project_id not in (0)) LIMIT 1 [0effe175-06cd-479c-afb4-32f07917fea2] [319.61] [1m[36mProject Load (1.1ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [0effe175-06cd-479c-afb4-32f07917fea2] [319.61] Validate XML response: #<ActionDispatch::Response:0x000000077917e0> took 1ms [0effe175-06cd-479c-afb4-32f07917fea2] [319.61] Completed 200 OK in 134ms (Views: 0.4ms | ActiveRecord: 7.1ms | Backend: 0.0ms | XML: 0.0ms) [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.61] Started GET "/source/kde4/kdelibs/_meta" for 127.0.0.1 at 2013-08-30 17:11:50 +0000 [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.61] Processing by SourceController#package_meta as XML [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.61] Parameters: {"project"=>"kde4", "package"=>"kdelibs"} [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.61] Validate XML request: #<ActionDispatch::Request:0x000000040982c0> [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.61] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdelibs", "method"=>"GET", "type"=>"request"} [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.62] [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.62] USER found: king [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.62] User king initialised [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.62] get_by_project_and_name {"get_by_project_and_name"=>1, :package=>"kdelibs", :use_source=>false, :follow_project_links=>true, :user=>"users/2-20110729140021000000000", :project=>"kde4"} [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.62] [1m[36mRole Exists (0.3ms)[0m [1mSELECT DISTINCT 1 AS one 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 [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.62] [1m[35mProject Load (0.3ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.62] [1m[36mPackage Load (0.2ms)[0m [1mSELECT `packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND `packages`.`name` = 'kdelibs' AND (packages.db_project_id not in (0)) LIMIT 1[0m [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.62] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.63] [1m[36mPackage Load (0.3ms)[0m [1mSELECT `packages`.* FROM `packages` WHERE `packages`.`id` = 1234 AND (packages.db_project_id not in (0)) ORDER BY `packages`.`id` ASC LIMIT 1[0m [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.63] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 601 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.63] [1m[36m (0.6ms)[0m [1mSELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`package_id` = 1 ORDER BY role_name, login[0m [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.63] [1m[35m (0.3ms)[0m SELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`package_id` = 1 ORDER BY role_name, title [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.63] [1m[36mFlag Load (0.3ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 ORDER BY `flags`.position ASC[0m [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.63] Rendered models/_package.xml.builder (10.3ms) [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.64] Validate XML response: #<ActionDispatch::Response:0x000000040981d0> took 2ms [6bda9069-bbfd-46ac-b92c-e64b7fd84f2c] [319.64] Completed 200 OK in 23ms (Views: 0.4ms | ActiveRecord: 3.0ms | Backend: 0.0ms | XML: 0.0ms) [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.64] Started PUT "/source/kde4/kdelibs/_meta" for 127.0.0.1 at 2013-08-30 17:11:50 +0000 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.64] Processing by SourceController#package_meta as XML [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.64] Parameters: {"<package name"=>"\"kdelibs\" project=\"kde4\">\n <title>blub</title>\n <description>blub</description>\n <devel project=\"home:coolo:test\" package=\"kdelibs_DEVEL_package\"/>\n <person userid=\"fredlibs\" role=\"maintainer\"/>\n <person userid=\"adrian\" role=\"reviewer\"/>\n <group groupid=\"test_group\" role=\"maintainer\"/>\n</package>\n", "project"=>"kde4", "package"=>"kdelibs"} [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.64] Validate XML request: #<ActionDispatch::Request:0x000000044d8600> [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.64] [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.64] USER found: king [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.64] User king initialised [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.65] [1m[36mRole Exists (0.3ms)[0m [1mSELECT DISTINCT 1 AS one 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 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.65] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.65] [1m[36mPackage Load (0.2ms)[0m [1mSELECT `packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND `packages`.`name` = 'kdelibs' AND (packages.db_project_id not in (0)) LIMIT 1[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.65] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.65] get_by_project_and_name {"get_by_project_and_name"=>1, :package=>"kdelibs", :use_source=>false, :follow_project_links=>true, :user=>"users/2-20110729140021000000000", :project=>"kde4"} 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.65] [1m[36mPackage Load (0.2ms)[0m [1mSELECT `packages`.* FROM `packages` WHERE `packages`.`id` = 1 AND (packages.db_project_id not in (0)) ORDER BY `packages`.`id` ASC LIMIT 1[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.65] [1m[35mCACHE (0.0ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [["id", 2]] [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.65] [1m[36mFlag Load (0.3ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' ORDER BY `flags`.position ASC LIMIT 1[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.66] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.66] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 ORDER BY `flags`.position ASC[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.66] flagcheck: package has default state, checking project [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.66] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.66] disabled_for sourceaccess repo: arch: state:enable [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.66] xml_disabled? X({"name"=>"kdelibs", "project"=>"kde4", "title"=>"blub", "description"=>"blub", "devel"=>X({"project"=>"home:coolo:test", "package"=>"kdelibs_DEVEL_package"}), "person"=>[X({"userid"=>"fredlibs", "role"=>"maintainer"}), X({"userid"=>"adrian", "role"=>"reviewer"})], "group"=>X({"groupid"=>"test_group", "role"=>"maintainer"})}) [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.66] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.66] [1m[35mCACHE (0.0ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' ORDER BY `flags`.position ASC LIMIT 1 [["db_package_id", 1]] [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.66] [1m[36mCACHE (0.0ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1[0m [["db_project_id", 2]] [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.66] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'home:coolo:test' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.66] [1m[36mPackage Load (0.2ms)[0m [1mSELECT `packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 601 AND `packages`.`name` = 'kdelibs_DEVEL_package' AND (packages.db_project_id not in (0)) LIMIT 1[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.66] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 601 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.66] [1m[36mPackage Load (0.3ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377882711)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.66] update_activity 3.964301167199593e-12 10 2013-08-30 17:11:51 +0000 2002-02-02 03:02:02 UTC 2002-02-02 03:02:02 UTC [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.66] [1m[35mCACHE (0.0ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377882711)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.67] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`activity_index` = 10.000000000003965 WHERE `packages`.`id` = 1[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.67] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`updated_at` = '2013-08-30 17:11:51' WHERE `packages`.`id` = 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.67] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `update_counter` = 1 WHERE `packages`.`id` = 1[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.67] [1m[35m (0.8ms)[0m SELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`package_id` = 1 ORDER BY role_name, login [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.67] [1m[36m (0.3ms)[0m [1mSELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`package_id` = 1 ORDER BY role_name, title[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.67] Rendered models/_package.xml.builder (5.1ms) [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.67] [backend] PUT: /source/kde4/kdelibs/_meta?user=king [310.73] 2013-08-30 17:11:51 [15648]: PUT /source/kde4/kdelibs/_meta?user=king [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.69] request took 0.012835089 0.012835089 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.69] [1m[35mRelationship Load (0.4ms)[0m SELECT `relationships`.* FROM `relationships` WHERE `relationships`.`package_id` = 1 AND (user_id > 0) [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.69] [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 4 ORDER BY `users`.`id` ASC LIMIT 1[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.69] [1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 3 ORDER BY `roles`.`id` ASC LIMIT 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.69] [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 42 ORDER BY `users`.`id` ASC LIMIT 1[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.69] [1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 6 ORDER BY `roles`.`id` ASC LIMIT 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.69] [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'fredlibs' LIMIT 1[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.69] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'adrian' LIMIT 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.70] [1m[36mRelationship Load (0.2ms)[0m [1mSELECT `relationships`.* FROM `relationships` WHERE `relationships`.`package_id` = 1 AND (group_id > 0)[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.70] [1m[35mGroup Load (0.2ms)[0m SELECT `groups`.* FROM `groups` WHERE `groups`.`id` = 99 ORDER BY `groups`.`id` ASC LIMIT 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.70] [1m[36mCACHE (0.0ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 3 ORDER BY `roles`.`id` ASC LIMIT 1[0m [["id", 3]] [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.70] [1m[35mGroup Load (0.2ms)[0m SELECT `groups`.* FROM `groups` WHERE `groups`.`title` = 'test_group' LIMIT 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.70] [1m[36mPackage Load (0.2ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377882711)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.70] update_activity 10.0 3.8367730599862556e-06 2013-08-30 17:11:51 +0000 2013-08-30 17:11:51 UTC 2013-08-30 17:11:51 UTC [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.70] [1m[35mCACHE (0.0ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377882711)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.70] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`activity_index` = 10.00000383677306 WHERE `packages`.`id` = 1[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.70] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`updated_at` = '2013-08-30 17:11:51' WHERE `packages`.`id` = 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.70] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `update_counter` = 2 WHERE `packages`.`id` = 1[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.71] [1m[35m (0.6ms)[0m SELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`package_id` = 1 ORDER BY role_name, login [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.71] [1m[36m (0.4ms)[0m [1mSELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`package_id` = 1 ORDER BY role_name, title[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.71] Rendered models/_package.xml.builder (4.6ms) [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.71] [backend] PUT: /source/kde4/kdelibs/_meta?user=king [310.76] 2013-08-30 17:11:51 [15649]: PUT /source/kde4/kdelibs/_meta?user=king [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.72] request took 0.014429089 0.027264178 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.73] [1m[35mPackage Load (0.4ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377882711)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.73] update_activity 10.000003814697266 2.7131703164842394e-06 2013-08-30 17:11:51 +0000 2013-08-30 17:11:51 UTC 2013-08-30 17:11:51 UTC [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.73] [1m[36mCACHE (0.0ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1377882711)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.73] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`activity_index` = 10.000006527867582 WHERE `packages`.`id` = 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.73] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`updated_at` = '2013-08-30 17:11:51' WHERE `packages`.`id` = 1[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.73] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `update_counter` = 3 WHERE `packages`.`id` = 1 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.73] [1m[36m (0.6ms)[0m [1mSELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`package_id` = 1 ORDER BY role_name, login[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.73] [1m[35m (0.3ms)[0m SELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`package_id` = 1 ORDER BY role_name, title [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.73] Rendered models/_package.xml.builder (4.8ms) [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.73] [backend] PUT: /source/kde4/kdelibs/_meta?user=king [310.79] 2013-08-30 17:11:51 [15650]: PUT /source/kde4/kdelibs/_meta?user=king [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.75] request took 0.012002004 0.039266182 [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.75] [1m[36m (4.6ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.75] Validate XML response: #<ActionDispatch::Response:0x000000044d85b0> took 0ms [38a774be-52b0-4a15-8cf8-c27bd121ebce] [319.75] Completed 200 OK in 114ms (Views: 0.9ms | ActiveRecord: 15.7ms | Backend: 39.3ms | XML: 0.0ms) [bc209ff9-f589-4be3-8c80-1e038455f08f] [319.76] Started GET "/source/kde4/kdelibs/_meta" for 127.0.0.1 at 2013-08-30 17:11:51 +0000 [bc209ff9-f589-4be3-8c80-1e038455f08f] [319.76] Processing by SourceController#package_meta as XML [bc209ff9-f589-4be3-8c80-1e038455f08f] [319.76] Parameters: {"project"=>"kde4", "package"=>"kdelibs"} [bc209ff9-f589-4be3-8c80-1e038455f08f] [319.76] Validate XML request: #<ActionDispatch::Request:0x000000072bb2c0> [bc209ff9-f589-4be3-8c80-1e038455f08f] [319.76] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdelibs", "method"=>"GET", "type"=>"request"} [bc209ff9-f589-4be3-8c80-1e038455f08f] [319.76] [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [bc209ff9-f589-4be3-8c80-1e038455f08f] [319.76] USER found: king [bc209ff9-f589-4be3-8c80-1e038455f08f] [319.76] User king initialised [bc209ff9-f589-4be3-8c80-1e038455f08f] [319.76] get_by_project_and_name {"get_by_project_and_name"=>1, :package=>"kdelibs", :use_source=>false, :follow_project_links=>true, :user=>"users/2-20110729140021000000000", :project=>"kde4"} 1 [bc209ff9-f589-4be3-8c80-1e038455f08f] [319.76] [1m[36mRole Exists (0.3ms)[0m [1mSELECT DISTINCT 1 AS one 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 [bc209ff9-f589-4be3-8c80-1e038455f08f] [319.76] [1m[35mPackage Load (0.2ms)[0m SELECT `packages`.* FROM `packages` WHERE `packages`.`id` = 1 AND (packages.db_project_id not in (0)) ORDER BY `packages`.`id` ASC LIMIT 1 [bc209ff9-f589-4be3-8c80-1e038455f08f] [319.77] [1m[36mProject Load (0.2ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [bc209ff9-f589-4be3-8c80-1e038455f08f] [319.77] [1m[35mPackage Load (0.2ms)[0m SELECT `packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND `packages`.`name` = 'kdelibs' AND (packages.db_project_id not in (0)) LIMIT 1 [bc209ff9-f589-4be3-8c80-1e038455f08f] [319.77] [1m[36mProject Load (0.2ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [bc209ff9-f589-4be3-8c80-1e038455f08f] [319.77] Validate XML response: #<ActionDispatch::Response:0x000000072bb298> took 2ms [bc209ff9-f589-4be3-8c80-1e038455f08f] [319.77] Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 1.6ms | Backend: 0.0ms | XML: 0.0ms) [319.78] [1m[35m (5.6ms)[0m ROLLBACK [319.78] kill 8342 + 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/>: ci ..c.. sh ci ..c.. sh ci ..c.. egrep ci ..c.. fuser + 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/backend_config src/api/tmp/backend_data src/api/tmp/cache src/api/tmp/pids src/api/tmp/scheduler.done 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 -- 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/1726/changes> Changes: [Stephan Kulow] [backend] add a route to the backend to notify plugins [Stephan Kulow] [backend] fix notify functions [Stephan Kulow] [api] remove the configuration option for multiaction_notify_support [Stephan Kulow] [api] add a events models - one class per event [Stephan Kulow] [backend] always return from lastnotifications [Stephan Kulow] [api] replace the average check with a black list [Stephan Kulow] [api] create a BranchCommentEvent in the API directly [Stephan Kulow] [api] ignore code outside of functions - it's just how rails works [adrian] [dist] note about notification system move to api ------------------------------------------ [...truncated 70840 lines...] /usr/lib64/ruby/gems/2.0.0/gems/minitest-4.7.4/lib/minitest/unit.rb:1072:in `block in _run' /usr/lib64/ruby/gems/2.0.0/gems/minitest-4.7.4/lib/minitest/unit.rb:1071:in `each' /usr/lib64/ruby/gems/2.0.0/gems/minitest-4.7.4/lib/minitest/unit.rb:1071:in `_run' /usr/lib64/ruby/gems/2.0.0/gems/minitest-4.7.4/lib/minitest/unit.rb:1059:in `run' /usr/lib64/ruby/gems/2.0.0/gems/minitest-4.7.4/lib/minitest/unit.rb:795:in `block in autorun' [1b0afedc-91fa-4d7b-8f83-5561885490a2] [11116.46] Completed 404 Not Found in 9ms (Views: 0.5ms | ActiveRecord: 1.1ms | Backend: 0.0ms | XML: 0.0ms) [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.46] Started GET "/source/kde4/kdelibs/_wizard" for 127.0.0.1 at 2013-09-02 10:41:33 +0000 [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.46] Processing by WizardController#package_wizard as XML [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.46] Parameters: {"project"=>"kde4", "package"=>"kdelibs"} [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.46] Validate XML request: #<ActionDispatch::Request:0x00000007760938> [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.46] no schema found, skipping validation for {"format"=>"xml", "controller"=>"wizard", "action"=>"package_wizard", "project"=>"kde4", "package"=>"kdelibs", "method"=>"GET", "type"=>"request"} [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.46] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'fredlibs' ORDER BY `users`.`id` ASC LIMIT 1 [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.46] USER found: fredlibs [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.46] User fredlibs initialised [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.46] get_by_project_and_name {"get_by_project_and_name"=>1, :package=>"kdelibs", :use_source=>true, :follow_project_links=>true, :user=>"users/4-20110729140021000000000", :project=>"kde4"} [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.46] [1m[36mRole Exists (0.2ms)[0m [1mSELECT DISTINCT 1 AS one FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 4 AND `roles`.`title` = 'Admin' LIMIT 1[0m [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.47] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0,3000,3006)) ORDER BY `projects`.`id` ASC LIMIT 1 [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.47] [1m[36mPackage Load (0.2ms)[0m [1mSELECT `packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND `packages`.`name` = 'kdelibs' AND (packages.db_project_id not in (0,3000,3006)) LIMIT 1[0m [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.47] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0,3000,3006)) ORDER BY `projects`.`id` ASC LIMIT 1 [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.47] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 ORDER BY `flags`.position ASC[0m [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.47] flagcheck: package has default state, checking project [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.47] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.47] disabled_for sourceaccess repo: arch: state:enable [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.47] disabled_for sourceaccess repo: arch: state:enable [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.47] [1m[36mFlag Load (0.3ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' ORDER BY `flags`.position ASC LIMIT 1[0m [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.47] [1m[35mFlag Load (0.3ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1 [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.47] [1m[36mCACHE (0.0ms)[0m [1mSELECT DISTINCT 1 AS one FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 4 AND `roles`.`title` = 'Admin' LIMIT 1[0m [["user_id", 4]] [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.47] has_global_permission? change_package [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.47] [1m[35mRole Load (0.2ms)[0m SELECT DISTINCT `roles`.* FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 4 [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.48] [1m[36mRolesStaticPermission Load (0.2ms)[0m [1mSELECT role_id FROM `roles_static_permissions` INNER JOIN `static_permissions` ON `static_permissions`.`id` = `roles_static_permissions`.`static_permission_id` WHERE `static_permissions`.`title` = 'change_package'[0m [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.48] running local permission check: user fredlibs, package kdelibs, permission 'change_package' [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.48] [1m[35mRelationship Exists (0.2ms)[0m SELECT 1 AS one FROM `relationships` WHERE `relationships`.`package_id` = 1 AND `relationships`.`user_id` = 4 AND (role_id in (1,3)) LIMIT 1 [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.48] package_wizard, {"format"=>"xml", "controller"=>"wizard", "action"=>"package_wizard", "project"=>"kde4", "package"=>"kdelibs", "method"=>"GET", "type"=>"request"} [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.48] --> direct_http url: #<URI::Generic:0x0000000780c530 URL:/source/kde4/kdelibs/wizard.xml> [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.48] http_do #1: method: get url: http://localhost:3200/source/kde4/kdelibs/wizard.xml [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.48] Completed 500 Internal Server Error in 20ms [bfa19cd8-971f-4d1c-952d-1005ef01768b] [11116.49] NoMethodError (undefined method `attributes' for nil:NilClass): app/controllers/application_controller.rb:454:in `block in <class:ApplicationController>' config/initializers/wrap_parameters.rb:39:in `call' test/test_helper.rb:63:in `process' test/functional/wizard_controller_test.rb:21:in `test_wizard' [11116.49] [1m[36m (0.2ms)[0m [1mROLLBACK[0m [11116.49] [1m[35m (0.1ms)[0m BEGIN [11116.49] -------------------------------------------------- [11116.49] ZZZPostConsistency: test_check_maintenance_project [11116.49] -------------------------------------------------- [8601da87-d352-4c30-a49e-d91171a562af] [11116.49] Started GET "/source/My:Maintenance/_meta" for 127.0.0.1 at 2013-09-02 10:41:33 +0000 [8601da87-d352-4c30-a49e-d91171a562af] [11116.49] Processing by SourceController#project_meta as XML [8601da87-d352-4c30-a49e-d91171a562af] [11116.49] Parameters: {"project"=>"My:Maintenance"} [8601da87-d352-4c30-a49e-d91171a562af] [11116.49] Validate XML request: #<ActionDispatch::Request:0x00000007879a40> [8601da87-d352-4c30-a49e-d91171a562af] [11116.49] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"project_meta", "project"=>"My:Maintenance", "method"=>"GET", "type"=>"request"} [8601da87-d352-4c30-a49e-d91171a562af] [11116.50] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1[0m [8601da87-d352-4c30-a49e-d91171a562af] [11116.50] USER found: king [8601da87-d352-4c30-a49e-d91171a562af] [11116.50] User king initialised [8601da87-d352-4c30-a49e-d91171a562af] [11116.50] checking local project My, remote_project Maintenance [8601da87-d352-4c30-a49e-d91171a562af] [11116.50] [1m[35mRelationship Load (0.3ms)[0m SELECT ur.project_id, ur.user_id from flags f, relationships ur where f.flag = 'access' and f.status = 'disable' and ur.project_id = f.db_project_id [8601da87-d352-4c30-a49e-d91171a562af] [11116.50] [1m[36mRole Exists (0.2ms)[0m [1mSELECT DISTINCT 1 AS one 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 [8601da87-d352-4c30-a49e-d91171a562af] [11116.50] [1m[35mProject Load (0.2ms)[0m SELECT id,name,remoteurl FROM `projects` WHERE `projects`.`name` = 'My' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [8601da87-d352-4c30-a49e-d91171a562af] [11116.50] [1m[36mProject Load (0.2ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'My:Maintenance' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [8601da87-d352-4c30-a49e-d91171a562af] [11116.50] [1m[35mDbProjectType Load (0.2ms)[0m SELECT `db_project_types`.* FROM `db_project_types` WHERE `db_project_types`.`id` = 2 LIMIT 1 [8601da87-d352-4c30-a49e-d91171a562af] [11116.51] [1m[36mLinkedProject Load (0.2ms)[0m [1mSELECT `linked_projects`.* FROM `linked_projects` WHERE `linked_projects`.`db_project_id` = 2048 ORDER BY `linked_projects`.position ASC[0m [8601da87-d352-4c30-a49e-d91171a562af] [11116.51] [1m[35m (0.5ms)[0m SELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`project_id` = 2048 ORDER BY role_name, login [8601da87-d352-4c30-a49e-d91171a562af] [11116.51] [1m[36m (0.3ms)[0m [1mSELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`project_id` = 2048 ORDER BY role_name, title[0m [8601da87-d352-4c30-a49e-d91171a562af] [11116.51] [1m[35mDownload Load (0.2ms)[0m SELECT `downloads`.* FROM `downloads` WHERE `downloads`.`db_project_id` = 2048 [8601da87-d352-4c30-a49e-d91171a562af] [11116.51] [1m[36mRepository Load (0.2ms)[0m [1mSELECT `repositories`.* FROM `repositories` WHERE `repositories`.`db_project_id` = 2048 AND `repositories`.`remote_project_name` IS NULL[0m [8601da87-d352-4c30-a49e-d91171a562af] [11116.51] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2048 [8601da87-d352-4c30-a49e-d91171a562af] [11116.51] [1m[36mProject Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `projects` WHERE `projects`.`maintenance_project_id` = 2048 AND (projects.id not in (0)) LIMIT 1[0m [8601da87-d352-4c30-a49e-d91171a562af] [11116.51] [1m[35mProject Load (0.3ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`maintenance_project_id` = 2048 AND (projects.id not in (0)) [8601da87-d352-4c30-a49e-d91171a562af] [11116.51] Rendered models/_project.xml.builder (12.0ms) [8601da87-d352-4c30-a49e-d91171a562af] [11116.62] Validate XML response: #<ActionDispatch::Response:0x00000007879a18> took 103ms [8601da87-d352-4c30-a49e-d91171a562af] [11116.62] Completed 200 OK in 125ms (Views: 0.3ms | ActiveRecord: 3.4ms | Backend: 0.0ms | XML: 0.1ms) [6f980499-c2ec-4701-ac5f-e19f768d9e39] [11116.62] Started GET "/search/project?match=%5Bmaintenance%2Fmaintains%2F%40project%3D%22BaseDistro2.0%3ALinkedUpdateProject%22%5D" for 127.0.0.1 at 2013-09-02 10:41:33 +0000 [6f980499-c2ec-4701-ac5f-e19f768d9e39] [11116.62] Processing by SearchController#project as XML [6f980499-c2ec-4701-ac5f-e19f768d9e39] [11116.62] Parameters: {"match"=>"[maintenance/maintains/@project=\"BaseDistro2.0:LinkedUpdateProject\"]"} [6f980499-c2ec-4701-ac5f-e19f768d9e39] [11116.62] Validate XML request: #<ActionDispatch::Request:0x00000003f11af0> [6f980499-c2ec-4701-ac5f-e19f768d9e39] [11116.62] no schema found, skipping validation for {"match"=>"[maintenance/maintains/@project=\"BaseDistro2.0:LinkedUpdateProject\"]", "format"=>"xml", "controller"=>"search", "action"=>"project", "method"=>"GET", "type"=>"request"} [6f980499-c2ec-4701-ac5f-e19f768d9e39] [11116.62] [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1[0m [6f980499-c2ec-4701-ac5f-e19f768d9e39] [11116.62] USER found: king [6f980499-c2ec-4701-ac5f-e19f768d9e39] [11116.62] User king initialised [6f980499-c2ec-4701-ac5f-e19f768d9e39] [11116.62] searching in projects, predicate: 'maintenance/maintains/@project="BaseDistro2.0:LinkedUpdateProject"' [6f980499-c2ec-4701-ac5f-e19f768d9e39] [11116.63] [1m[35mRole Exists (0.3ms)[0m SELECT DISTINCT 1 AS one 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 [6f980499-c2ec-4701-ac5f-e19f768d9e39] [11116.63] SELECT `projects`.* FROM `projects` WHERE (projects.id not in (0)).find {:joins=>"LEFT JOIN projects AS maintained ON projects.id = maintained.maintenance_project_id", :conditions=>["maintained.name = ?", "BaseDistro2.0:LinkedUpdateProject"]} [6f980499-c2ec-4701-ac5f-e19f768d9e39] [11116.63] [1m[36m (0.2ms)[0m [1mSELECT `projects`.`id` FROM `projects` LEFT JOIN projects AS maintained ON projects.id = maintained.maintenance_project_id WHERE (projects.id not in (0)) AND (maintained.name = 'BaseDistro2.0:LinkedUpdateProject')[0m [6f980499-c2ec-4701-ac5f-e19f768d9e39] [11116.63] [1m[35mSQL (0.2ms)[0m SELECT `projects`.`id` AS t0_r0, `projects`.`name` AS t0_r1, `projects`.`title` AS t0_r2, `projects`.`description` AS t0_r3, `projects`.`created_at` AS t0_r4, `projects`.`updated_at` AS t0_r5, `projects`.`remoteurl` AS t0_r6, `projects`.`remoteproject` AS t0_r7, `projects`.`type_id` AS t0_r8, `projects`.`maintenance_project_id` AS t0_r9, `projects`.`develproject_id` AS t0_r10, `projects`.`delta` AS t0_r11, `repositories`.`id` AS t1_r0, `repositories`.`db_project_id` AS t1_r1, `repositories`.`name` AS t1_r2, `repositories`.`remote_project_name` AS t1_r3, `repositories`.`rebuild` AS t1_r4, `repositories`.`block` AS t1_r5, `repositories`.`linkedbuild` AS t1_r6, `repositories`.`hostsystem_id` AS t1_r7 FROM `projects` LEFT OUTER JOIN `repositories` ON `repositories`.`db_project_id` = `projects`.`id` WHERE 1=0 AND (projects.id not in (0)) [6f980499-c2ec-4701-ac5f-e19f768d9e39] [11116.63] no schema found, skipping validation for {"match"=>"[maintenance/maintains/@project=\"BaseDistro2.0:LinkedUpdateProject\"]", "format"=>"xml", "controller"=>"search", "action"=>"project", "method"=>"GET", "type"=>"response"} [6f980499-c2ec-4701-ac5f-e19f768d9e39] [11116.63] Validate XML response: #<ActionDispatch::Response:0x00000003f116b8> took 0ms [6f980499-c2ec-4701-ac5f-e19f768d9e39] [11116.63] Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 1.1ms | Backend: 0.0ms | XML: 0.1ms) [11116.63] [1m[36m (0.2ms)[0m [1mROLLBACK[0m [11116.64] [1m[35m (0.1ms)[0m BEGIN [11116.64] ------------------------------------------ [11116.64] ZZZPostConsistency: test_resubmit_fixtures [11116.64] ------------------------------------------ [f31819f0-6199-43da-a024-e12d93a57757] [11116.64] Started GET "/source" for 127.0.0.1 at 2013-09-02 10:41:33 +0000 [f31819f0-6199-43da-a024-e12d93a57757] [11116.64] Processing by SourceController#index as XML [f31819f0-6199-43da-a024-e12d93a57757] [11116.64] Validate XML request: #<ActionDispatch::Request:0x0000000434c728> [f31819f0-6199-43da-a024-e12d93a57757] [11116.64] no schema found, skipping validation for {"format"=>"xml", "action"=>"index", "controller"=>"source", "method"=>"GET", "type"=>"request"} [f31819f0-6199-43da-a024-e12d93a57757] [11116.64] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1[0m [f31819f0-6199-43da-a024-e12d93a57757] [11116.64] USER found: king [f31819f0-6199-43da-a024-e12d93a57757] [11116.64] User king initialised [f31819f0-6199-43da-a024-e12d93a57757] [11116.64] [1m[35mRole Exists (0.3ms)[0m SELECT DISTINCT 1 AS one 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 [f31819f0-6199-43da-a024-e12d93a57757] [11116.64] [1m[36mRelationship Load (0.3ms)[0m [1mSELECT ur.project_id, ur.user_id from flags f, relationships ur where f.flag = 'access' and f.status = 'disable' and ur.project_id = f.db_project_id[0m [f31819f0-6199-43da-a024-e12d93a57757] [11116.64] [1m[35m (0.3ms)[0m SELECT `projects`.`name` FROM `projects` WHERE (projects.id not in (0)) [f31819f0-6199-43da-a024-e12d93a57757] [11116.65] Validate XML response: #<ActionDispatch::Response:0x0000000434c5e8> took 1ms [f31819f0-6199-43da-a024-e12d93a57757] [11116.65] Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 1.2ms | Backend: 0.0ms | XML: 0.0ms) [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.65] Started GET "/source/Apache/_meta" for 127.0.0.1 at 2013-09-02 10:41:33 +0000 [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.65] Processing by SourceController#project_meta as XML [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.65] Parameters: {"project"=>"Apache"} [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.65] Validate XML request: #<ActionDispatch::Request:0x0000000442e948> [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.65] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"project_meta", "project"=>"Apache", "method"=>"GET", "type"=>"request"} [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.65] [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1[0m [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.65] USER found: king [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.65] User king initialised [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.65] [1m[35mRole Exists (0.3ms)[0m SELECT DISTINCT 1 AS one 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 [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.65] [1m[36mProject Load (0.2ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'Apache' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.66] [1m[35mLinkedProject Load (0.3ms)[0m SELECT `linked_projects`.* FROM `linked_projects` WHERE `linked_projects`.`db_project_id` = 226 ORDER BY `linked_projects`.position ASC [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.66] [1m[36m (0.5ms)[0m [1mSELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`project_id` = 226 ORDER BY role_name, login[0m [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.66] [1m[35m (0.3ms)[0m SELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`project_id` = 226 ORDER BY role_name, title [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.66] [1m[36mDownload Load (0.2ms)[0m [1mSELECT `downloads`.* FROM `downloads` WHERE `downloads`.`db_project_id` = 226[0m [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.66] [1m[35mRepository Load (0.2ms)[0m SELECT `repositories`.* FROM `repositories` WHERE `repositories`.`db_project_id` = 226 AND `repositories`.`remote_project_name` IS NULL [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.66] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 226[0m [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.66] [1m[35mReleaseTarget Load (0.2ms)[0m SELECT `release_targets`.* FROM `release_targets` WHERE `release_targets`.`repository_id` = 81 [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.66] [1m[36mRepository Load (0.2ms)[0m [1mSELECT `repositories`.* FROM `repositories` WHERE `repositories`.`hostsystem_id` = 81 ORDER BY `repositories`.`id` ASC LIMIT 1[0m [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.67] [1m[35mPathElement Load (0.2ms)[0m SELECT `path_elements`.* FROM `path_elements` WHERE `path_elements`.`parent_id` = 81 ORDER BY position [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.67] [1m[36m (0.2ms)[0m [1mSELECT architectures.name FROM `repository_architectures` INNER JOIN `architectures` ON `architectures`.`id` = `repository_architectures`.`architecture_id` WHERE `repository_architectures`.`repository_id` = 81 ORDER BY position[0m [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.67] [1m[35mReleaseTarget Load (0.2ms)[0m SELECT `release_targets`.* FROM `release_targets` WHERE `release_targets`.`repository_id` = 75 [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.67] [1m[36mRepository Load (0.2ms)[0m [1mSELECT `repositories`.* FROM `repositories` WHERE `repositories`.`hostsystem_id` = 75 ORDER BY `repositories`.`id` ASC LIMIT 1[0m [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.67] [1m[35mPathElement Load (0.2ms)[0m SELECT `path_elements`.* FROM `path_elements` WHERE `path_elements`.`parent_id` = 75 ORDER BY position [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.67] [1m[36m (0.2ms)[0m [1mSELECT architectures.name FROM `repository_architectures` INNER JOIN `architectures` ON `architectures`.`id` = `repository_architectures`.`architecture_id` WHERE `repository_architectures`.`repository_id` = 75 ORDER BY position[0m [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.67] [1m[35mProject Exists (0.2ms)[0m SELECT 1 AS one FROM `projects` WHERE `projects`.`maintenance_project_id` = 226 AND (projects.id not in (0)) LIMIT 1 [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.67] Rendered models/_project.xml.builder (19.9ms) [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.68] Validate XML response: #<ActionDispatch::Response:0x0000000442e920> took 2ms [09b2c698-80eb-4ec6-9cc8-70b9cc14caa7] [11116.68] Completed 200 OK in 28ms (Views: 0.3ms | ActiveRecord: 4.2ms | Backend: 0.0ms | XML: 0.4ms) [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.68] Started PUT "/source/Apache/_meta" for 127.0.0.1 at 2013-09-02 10:41:33 +0000 [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.68] Processing by SourceController#project_meta as XML [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.68] Parameters: {"<project name"=>"\"Apache\">\n <title>Up-to-date Apache packages</title>\n <description>description</description>\n <person userid=\"fred\" role=\"maintainer\"/>\n <person userid=\"fredlibs\" role=\"maintainer\"/>\n <repository name=\"SUSE_Linux_Factory\">\n <arch>i586</arch>\n </repository>\n <repository name=\"SUSE_Linux_10.1\"/>\n</project>\n", "project"=>"Apache"} [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.68] Validate XML request: #<ActionDispatch::Request:0x0000000461c278> [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.68] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.68] USER found: king [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.68] User king initialised [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.68] [1m[35mRole Exists (0.3ms)[0m SELECT DISTINCT 1 AS one 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 [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.69] [1m[36mProject Load (0.2ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'Apache' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.69] Checking permission for the put [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.69] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 226 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1 [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.69] [1m[36mRepository Load (0.2ms)[0m [1mSELECT `repositories`.* FROM `repositories` WHERE `repositories`.`db_project_id` = 226[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.69] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.69] [1m[36mCACHE (0.0ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 226 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1[0m [["db_project_id", 226]] [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.69] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 226 [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.69] disabled_for access repo: arch: state:enable [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.69] xml_disabled? X({"name"=>"Apache", "title"=>"Up-to-date Apache packages", "description"=>"description", "person"=>[X({"userid"=>"fred", "role"=>"maintainer"}), X({"userid"=>"fredlibs", "role"=>"maintainer"})], "repository"=>[X({"name"=>"SUSE_Linux_Factory", "arch"=>"i586"}), X({"name"=>"SUSE_Linux_10.1"})]}) [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.69] disabled_for sourceaccess repo: arch: state:enable [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.69] xml_disabled? X({"name"=>"Apache", "title"=>"Up-to-date Apache packages", "description"=>"description", "person"=>[X({"userid"=>"fred", "role"=>"maintainer"}), X({"userid"=>"fredlibs", "role"=>"maintainer"})], "repository"=>[X({"name"=>"SUSE_Linux_Factory", "arch"=>"i586"}), X({"name"=>"SUSE_Linux_10.1"})]}) [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.69] [1m[36mConfiguration Load (0.2ms)[0m [1mSELECT `configurations`.* FROM `configurations` ORDER BY `configurations`.`id` ASC LIMIT 1[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.69] ### name comparison: self.name -> Apache, project_name -> Apache [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.69] [1m[35mDbProjectType Load (0.2ms)[0m SELECT `db_project_types`.* FROM `db_project_types` WHERE `db_project_types`.`name` = 'standard' LIMIT 1 [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.69] [1m[36mSQL (0.3ms)[0m [1mUPDATE `projects` SET `type_id` = 1, `updated_at` = '2013-09-02 10:41:33' WHERE `projects`.`id` = 226[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.70] [1m[35mLinkedProject Load (0.3ms)[0m SELECT `linked_projects`.* FROM `linked_projects` WHERE `linked_projects`.`db_project_id` = 226 ORDER BY `linked_projects`.position ASC [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.70] [1m[36mProject Load (0.2ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`maintenance_project_id` = 226 AND (projects.id not in (0))[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.70] [1m[35mRelationship Load (0.2ms)[0m SELECT `relationships`.* FROM `relationships` WHERE `relationships`.`project_id` = 226 AND (user_id > 0) [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.70] [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 ORDER BY `users`.`id` ASC LIMIT 1[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.70] [1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 3 ORDER BY `roles`.`id` ASC LIMIT 1 [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.70] [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 4 ORDER BY `users`.`id` ASC LIMIT 1[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.70] [1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 3 ORDER BY `roles`.`id` ASC LIMIT 1 [["id", 3]] [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.70] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'fred' LIMIT 1[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.70] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'fredlibs' LIMIT 1 [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.70] [1m[36mRelationship Load (0.3ms)[0m [1mSELECT `relationships`.* FROM `relationships` WHERE `relationships`.`project_id` = 226 AND (group_id > 0)[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.71] [1m[35mConfiguration Load (0.2ms)[0m SELECT `configurations`.* FROM `configurations` ORDER BY `configurations`.`id` ASC LIMIT 1 [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.71] [1m[36mDownload Load (0.3ms)[0m [1mSELECT `downloads`.* FROM `downloads` WHERE `downloads`.`db_project_id` = 226[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.71] modifying repository 'SUSE_Linux_Factory' [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.71] [1m[35mReleaseTarget Load (0.2ms)[0m SELECT `release_targets`.* FROM `release_targets` WHERE `release_targets`.`repository_id` = 81 [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.71] [1m[36mRepository Load (0.2ms)[0m [1mSELECT `repositories`.* FROM `repositories` WHERE `repositories`.`hostsystem_id` = 81 ORDER BY `repositories`.`id` ASC LIMIT 1[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.71] [1m[35mPathElement Load (0.2ms)[0m SELECT `path_elements`.* FROM `path_elements` WHERE `path_elements`.`parent_id` = 81 ORDER BY position [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.71] [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `architectures` INNER JOIN `repository_architectures` ON `architectures`.`id` = `repository_architectures`.`architecture_id` WHERE `repository_architectures`.`repository_id` = 81[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.71] delete all of 81 [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.71] [1m[35mSQL (0.2ms)[0m DELETE FROM `repository_architectures` WHERE (repository_id = 81) [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.71] [1m[36mArchitecture Load (0.2ms)[0m [1mSELECT `architectures`.* FROM `architectures`[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.72] [1m[35mRepositoryArchitecture Exists (0.2ms)[0m SELECT 1 AS one FROM `repository_architectures` WHERE `repository_architectures`.`repository_id` = 81 AND `repository_architectures`.`architecture_id` = 1 LIMIT 1 [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.72] [1m[36mRepository Load (0.2ms)[0m [1mSELECT `repositories`.* FROM `repositories` WHERE `repositories`.`id` = 81 ORDER BY `repositories`.`id` ASC LIMIT 1[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.72] [1m[35mSQL (0.2ms)[0m INSERT INTO `repository_architectures` (`architecture_id`, `position`, `repository_id`) VALUES (1, 1, 81) [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.72] modifying repository 'SUSE_Linux_10.1' [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.72] [1m[36mReleaseTarget Load (0.2ms)[0m [1mSELECT `release_targets`.* FROM `release_targets` WHERE `release_targets`.`repository_id` = 75[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.72] [1m[35mRepository Load (0.2ms)[0m SELECT `repositories`.* FROM `repositories` WHERE `repositories`.`hostsystem_id` = 75 ORDER BY `repositories`.`id` ASC LIMIT 1 [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.72] [1m[36mPathElement Load (0.2ms)[0m [1mSELECT `path_elements`.* FROM `path_elements` WHERE `path_elements`.`parent_id` = 75 ORDER BY position[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.73] [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `architectures` INNER JOIN `repository_architectures` ON `architectures`.`id` = `repository_architectures`.`architecture_id` WHERE `repository_architectures`.`repository_id` = 75 [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.73] delete all of 75 [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.73] [1m[36mSQL (0.2ms)[0m [1mDELETE FROM `repository_architectures` WHERE (repository_id = 75)[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.73] [1m[35mSQL (0.2ms)[0m UPDATE `projects` SET `updated_at` = '2013-09-02 10:41:33' WHERE `projects`.`id` = 226 [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.73] write_to_backend [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.73] [1m[36mDbProjectType Load (0.2ms)[0m [1mSELECT `db_project_types`.* FROM `db_project_types` WHERE `db_project_types`.`id` = 1 LIMIT 1[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.73] [1m[35m (0.8ms)[0m SELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`project_id` = 226 ORDER BY role_name, login [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.74] [1m[36m (0.3ms)[0m [1mSELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`project_id` = 226 ORDER BY role_name, title[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.74] [1m[35mRepository Load (0.2ms)[0m SELECT `repositories`.* FROM `repositories` WHERE `repositories`.`db_project_id` = 226 AND `repositories`.`remote_project_name` IS NULL [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.74] [1m[36mReleaseTarget Load (0.2ms)[0m [1mSELECT `release_targets`.* FROM `release_targets` WHERE `release_targets`.`repository_id` = 81[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.74] [1m[35mRepository Load (0.2ms)[0m SELECT `repositories`.* FROM `repositories` WHERE `repositories`.`hostsystem_id` = 81 ORDER BY `repositories`.`id` ASC LIMIT 1 [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.74] [1m[36mPathElement Load (0.2ms)[0m [1mSELECT `path_elements`.* FROM `path_elements` WHERE `path_elements`.`parent_id` = 81 ORDER BY position[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.74] [1m[35m (0.2ms)[0m SELECT architectures.name FROM `repository_architectures` INNER JOIN `architectures` ON `architectures`.`id` = `repository_architectures`.`architecture_id` WHERE `repository_architectures`.`repository_id` = 81 ORDER BY position [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.74] [1m[36mReleaseTarget Load (0.2ms)[0m [1mSELECT `release_targets`.* FROM `release_targets` WHERE `release_targets`.`repository_id` = 75[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.74] [1m[35mRepository Load (0.2ms)[0m SELECT `repositories`.* FROM `repositories` WHERE `repositories`.`hostsystem_id` = 75 ORDER BY `repositories`.`id` ASC LIMIT 1 [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.75] [1m[36mPathElement Load (0.2ms)[0m [1mSELECT `path_elements`.* FROM `path_elements` WHERE `path_elements`.`parent_id` = 75 ORDER BY position[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.75] [1m[35m (0.2ms)[0m SELECT architectures.name FROM `repository_architectures` INNER JOIN `architectures` ON `architectures`.`id` = `repository_architectures`.`architecture_id` WHERE `repository_architectures`.`repository_id` = 75 ORDER BY position [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.75] Rendered models/_project.xml.builder (17.7ms) [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.75] [backend] PUT: /source/Apache/_meta?user=king [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.75] [1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.75] Completed 500 Internal Server Error in 73ms [bc3ebdf8-5ce1-469f-96bc-88ddc5b37ced] [11116.76] Errno::ECONNREFUSED (Connection refused - connect(2)): lib/opensuse/backend.rb:84:in `block in put_or_post' lib/opensuse/backend.rb:76:in `put_or_post' lib/opensuse/backend.rb:94:in `put' app/models/project.rb:641:in `write_to_backend' app/models/project.rb:650:in `block in store' app/models/project.rb:648:in `store' app/controllers/source_controller.rb:585:in `block in project_meta' app/controllers/source_controller.rb:575:in `project_meta' config/initializers/wrap_parameters.rb:39:in `call' test/test_helper.rb:63:in `process' test/test_consistency_helper.rb:22:in `block in resubmit_all_fixtures' lib/activexml/node.rb:518:in `call' lib/activexml/node.rb:518:in `block in method_missing' lib/activexml/node.rb:516:in `method_missing' test/test_consistency_helper.rb:17:in `resubmit_all_fixtures' test/functional/zzz_post_consistency_test.rb:7:in `test_resubmit_fixtures' [11116.76] [1m[35m (1.4ms)[0m ROLLBACK + 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/>: ci ..c.. egrep ci ..c.. fuser ci ..c.. sh ci ..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/backend_config 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 -- 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/1727/changes> Changes: [mls] [backend] support view=json in /lastnotifications ------------------------------------------ [...truncated 70840 lines...] /usr/lib64/ruby/gems/2.0.0/gems/minitest-4.7.4/lib/minitest/unit.rb:1072:in `block in _run' /usr/lib64/ruby/gems/2.0.0/gems/minitest-4.7.4/lib/minitest/unit.rb:1071:in `each' /usr/lib64/ruby/gems/2.0.0/gems/minitest-4.7.4/lib/minitest/unit.rb:1071:in `_run' /usr/lib64/ruby/gems/2.0.0/gems/minitest-4.7.4/lib/minitest/unit.rb:1059:in `run' /usr/lib64/ruby/gems/2.0.0/gems/minitest-4.7.4/lib/minitest/unit.rb:795:in `block in autorun' [b748baef-b463-4a71-926d-31d88da6bbf0] [11116.17] Completed 404 Not Found in 9ms (Views: 0.4ms | ActiveRecord: 1.2ms | Backend: 0.0ms | XML: 0.0ms) [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.17] Started GET "/source/kde4/kdelibs/_wizard" for 127.0.0.1 at 2013-09-02 14:01:29 +0000 [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.17] Processing by WizardController#package_wizard as XML [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.17] Parameters: {"project"=>"kde4", "package"=>"kdelibs"} [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.17] Validate XML request: #<ActionDispatch::Request:0x000000076c0f50> [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.17] no schema found, skipping validation for {"format"=>"xml", "controller"=>"wizard", "action"=>"package_wizard", "project"=>"kde4", "package"=>"kdelibs", "method"=>"GET", "type"=>"request"} [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.17] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'fredlibs' ORDER BY `users`.`id` ASC LIMIT 1 [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.17] USER found: fredlibs [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.17] User fredlibs initialised [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.17] get_by_project_and_name {"get_by_project_and_name"=>1, :package=>"kdelibs", :use_source=>true, :follow_project_links=>true, :user=>"users/4-20110729140021000000000", :project=>"kde4"} [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.17] [1m[36mRole Exists (0.2ms)[0m [1mSELECT DISTINCT 1 AS one FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 4 AND `roles`.`title` = 'Admin' LIMIT 1[0m [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.18] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0,3000,3006)) ORDER BY `projects`.`id` ASC LIMIT 1 [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.18] [1m[36mPackage Load (0.3ms)[0m [1mSELECT `packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND `packages`.`name` = 'kdelibs' AND (packages.db_project_id not in (0,3000,3006)) LIMIT 1[0m [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.18] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0,3000,3006)) ORDER BY `projects`.`id` ASC LIMIT 1 [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.18] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 ORDER BY `flags`.position ASC[0m [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.18] flagcheck: package has default state, checking project [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.18] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.18] disabled_for sourceaccess repo: arch: state:enable [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.18] disabled_for sourceaccess repo: arch: state:enable [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.18] [1m[36mFlag Load (0.3ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' ORDER BY `flags`.position ASC LIMIT 1[0m [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.18] [1m[35mFlag Load (0.3ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1 [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.18] [1m[36mCACHE (0.0ms)[0m [1mSELECT DISTINCT 1 AS one FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 4 AND `roles`.`title` = 'Admin' LIMIT 1[0m [["user_id", 4]] [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.18] has_global_permission? change_package [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.18] [1m[35mRole Load (0.3ms)[0m SELECT DISTINCT `roles`.* FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 4 [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.19] [1m[36mRolesStaticPermission Load (0.2ms)[0m [1mSELECT role_id FROM `roles_static_permissions` INNER JOIN `static_permissions` ON `static_permissions`.`id` = `roles_static_permissions`.`static_permission_id` WHERE `static_permissions`.`title` = 'change_package'[0m [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.19] running local permission check: user fredlibs, package kdelibs, permission 'change_package' [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.19] [1m[35mRelationship Exists (0.2ms)[0m SELECT 1 AS one FROM `relationships` WHERE `relationships`.`package_id` = 1 AND `relationships`.`user_id` = 4 AND (role_id in (1,3)) LIMIT 1 [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.19] package_wizard, {"format"=>"xml", "controller"=>"wizard", "action"=>"package_wizard", "project"=>"kde4", "package"=>"kdelibs", "method"=>"GET", "type"=>"request"} [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.19] --> direct_http url: #<URI::Generic:0x00000007713e08 URL:/source/kde4/kdelibs/wizard.xml> [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.19] http_do #1: method: get url: http://localhost:3200/source/kde4/kdelibs/wizard.xml [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.19] Completed 500 Internal Server Error in 20ms [9ff40a7b-54b6-4faa-98e9-4950d7aba6f9] [11116.20] NoMethodError (undefined method `attributes' for nil:NilClass): app/controllers/application_controller.rb:454:in `block in <class:ApplicationController>' config/initializers/wrap_parameters.rb:39:in `call' test/test_helper.rb:63:in `process' test/functional/wizard_controller_test.rb:21:in `test_wizard' [11116.20] [1m[36m (0.2ms)[0m [1mROLLBACK[0m [11116.20] [1m[35m (0.1ms)[0m BEGIN [11116.20] -------------------------------------------------- [11116.20] ZZZPostConsistency: test_check_maintenance_project [11116.20] -------------------------------------------------- [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.20] Started GET "/source/My:Maintenance/_meta" for 127.0.0.1 at 2013-09-02 14:01:29 +0000 [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.20] Processing by SourceController#project_meta as XML [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.20] Parameters: {"project"=>"My:Maintenance"} [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.20] Validate XML request: #<ActionDispatch::Request:0x00000007774a50> [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.20] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"project_meta", "project"=>"My:Maintenance", "method"=>"GET", "type"=>"request"} [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.21] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1[0m [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.21] USER found: king [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.21] User king initialised [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.21] checking local project My, remote_project Maintenance [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.21] [1m[35mRelationship Load (0.3ms)[0m SELECT ur.project_id, ur.user_id from flags f, relationships ur where f.flag = 'access' and f.status = 'disable' and ur.project_id = f.db_project_id [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.33] [1m[36mRole Exists (5.8ms)[0m [1mSELECT DISTINCT 1 AS one 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 [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.33] [1m[35mProject Load (1.0ms)[0m SELECT id,name,remoteurl FROM `projects` WHERE `projects`.`name` = 'My' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1 [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.34] [1m[36mProject Load (0.3ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'My:Maintenance' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.34] [1m[35mDbProjectType Load (0.4ms)[0m SELECT `db_project_types`.* FROM `db_project_types` WHERE `db_project_types`.`id` = 2 LIMIT 1 [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.34] [1m[36mLinkedProject Load (0.3ms)[0m [1mSELECT `linked_projects`.* FROM `linked_projects` WHERE `linked_projects`.`db_project_id` = 2048 ORDER BY `linked_projects`.position ASC[0m [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.34] [1m[35m (0.7ms)[0m SELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`project_id` = 2048 ORDER BY role_name, login [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.35] [1m[36m (0.4ms)[0m [1mSELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`project_id` = 2048 ORDER BY role_name, title[0m [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.35] [1m[35mDownload Load (0.2ms)[0m SELECT `downloads`.* FROM `downloads` WHERE `downloads`.`db_project_id` = 2048 [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.35] [1m[36mRepository Load (0.2ms)[0m [1mSELECT `repositories`.* FROM `repositories` WHERE `repositories`.`db_project_id` = 2048 AND `repositories`.`remote_project_name` IS NULL[0m [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.35] [1m[35mFlag Load (0.3ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2048 [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.35] [1m[36mProject Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `projects` WHERE `projects`.`maintenance_project_id` = 2048 AND (projects.id not in (0)) LIMIT 1[0m [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.35] [1m[35mProject Load (0.3ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`maintenance_project_id` = 2048 AND (projects.id not in (0)) [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.35] Rendered models/_project.xml.builder (15.9ms) [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.36] Validate XML response: #<ActionDispatch::Response:0x00000007774a28> took 2ms [31d859a5-6a54-4600-8c39-c3ef002404a6] [11116.36] Completed 200 OK in 152ms (Views: 0.5ms | ActiveRecord: 10.5ms | Backend: 0.0ms | XML: 0.1ms) [2b111804-77c9-425c-8b58-fc697e5c9557] [11116.36] Started GET "/search/project?match=%5Bmaintenance%2Fmaintains%2F%40project%3D%22BaseDistro2.0%3ALinkedUpdateProject%22%5D" for 127.0.0.1 at 2013-09-02 14:01:29 +0000 [2b111804-77c9-425c-8b58-fc697e5c9557] [11116.36] Processing by SearchController#project as XML [2b111804-77c9-425c-8b58-fc697e5c9557] [11116.36] Parameters: {"match"=>"[maintenance/maintains/@project=\"BaseDistro2.0:LinkedUpdateProject\"]"} [2b111804-77c9-425c-8b58-fc697e5c9557] [11116.36] Validate XML request: #<ActionDispatch::Request:0x000000042f8038> [2b111804-77c9-425c-8b58-fc697e5c9557] [11116.36] no schema found, skipping validation for {"match"=>"[maintenance/maintains/@project=\"BaseDistro2.0:LinkedUpdateProject\"]", "format"=>"xml", "controller"=>"search", "action"=>"project", "method"=>"GET", "type"=>"request"} [2b111804-77c9-425c-8b58-fc697e5c9557] [11116.36] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1[0m [2b111804-77c9-425c-8b58-fc697e5c9557] [11116.36] USER found: king [2b111804-77c9-425c-8b58-fc697e5c9557] [11116.36] User king initialised [2b111804-77c9-425c-8b58-fc697e5c9557] [11116.36] searching in projects, predicate: 'maintenance/maintains/@project="BaseDistro2.0:LinkedUpdateProject"' [2b111804-77c9-425c-8b58-fc697e5c9557] [11116.36] [1m[35mRole Exists (0.4ms)[0m SELECT DISTINCT 1 AS one 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 [2b111804-77c9-425c-8b58-fc697e5c9557] [11116.36] SELECT `projects`.* FROM `projects` WHERE (projects.id not in (0)).find {:joins=>"LEFT JOIN projects AS maintained ON projects.id = maintained.maintenance_project_id", :conditions=>["maintained.name = ?", "BaseDistro2.0:LinkedUpdateProject"]} [2b111804-77c9-425c-8b58-fc697e5c9557] [11116.37] [1m[36m (0.3ms)[0m [1mSELECT `projects`.`id` FROM `projects` LEFT JOIN projects AS maintained ON projects.id = maintained.maintenance_project_id WHERE (projects.id not in (0)) AND (maintained.name = 'BaseDistro2.0:LinkedUpdateProject')[0m [2b111804-77c9-425c-8b58-fc697e5c9557] [11116.37] [1m[35mSQL (0.3ms)[0m SELECT `projects`.`id` AS t0_r0, `projects`.`name` AS t0_r1, `projects`.`title` AS t0_r2, `projects`.`description` AS t0_r3, `projects`.`created_at` AS t0_r4, `projects`.`updated_at` AS t0_r5, `projects`.`remoteurl` AS t0_r6, `projects`.`remoteproject` AS t0_r7, `projects`.`type_id` AS t0_r8, `projects`.`maintenance_project_id` AS t0_r9, `projects`.`develproject_id` AS t0_r10, `projects`.`delta` AS t0_r11, `repositories`.`id` AS t1_r0, `repositories`.`db_project_id` AS t1_r1, `repositories`.`name` AS t1_r2, `repositories`.`remote_project_name` AS t1_r3, `repositories`.`rebuild` AS t1_r4, `repositories`.`block` AS t1_r5, `repositories`.`linkedbuild` AS t1_r6, `repositories`.`hostsystem_id` AS t1_r7 FROM `projects` LEFT OUTER JOIN `repositories` ON `repositories`.`db_project_id` = `projects`.`id` WHERE 1=0 AND (projects.id not in (0)) [2b111804-77c9-425c-8b58-fc697e5c9557] [11116.37] no schema found, skipping validation for {"match"=>"[maintenance/maintains/@project=\"BaseDistro2.0:LinkedUpdateProject\"]", "format"=>"xml", "controller"=>"search", "action"=>"project", "method"=>"GET", "type"=>"response"} [2b111804-77c9-425c-8b58-fc697e5c9557] [11116.37] Validate XML response: #<ActionDispatch::Response:0x000000042fccc8> took 0ms [2b111804-77c9-425c-8b58-fc697e5c9557] [11116.37] Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 1.4ms | Backend: 0.0ms | XML: 0.1ms) [11116.37] [1m[36m (0.1ms)[0m [1mROLLBACK[0m [11116.37] [1m[35m (0.1ms)[0m BEGIN [11116.37] ------------------------------------------ [11116.37] ZZZPostConsistency: test_resubmit_fixtures [11116.37] ------------------------------------------ [2ee095c6-c549-41bb-863a-7b7137403d1f] [11116.38] Started GET "/source" for 127.0.0.1 at 2013-09-02 14:01:29 +0000 [2ee095c6-c549-41bb-863a-7b7137403d1f] [11116.38] Processing by SourceController#index as XML [2ee095c6-c549-41bb-863a-7b7137403d1f] [11116.38] Validate XML request: #<ActionDispatch::Request:0x00000004487b60> [2ee095c6-c549-41bb-863a-7b7137403d1f] [11116.38] no schema found, skipping validation for {"format"=>"xml", "action"=>"index", "controller"=>"source", "method"=>"GET", "type"=>"request"} [2ee095c6-c549-41bb-863a-7b7137403d1f] [11116.38] [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1[0m [2ee095c6-c549-41bb-863a-7b7137403d1f] [11116.38] USER found: king [2ee095c6-c549-41bb-863a-7b7137403d1f] [11116.38] User king initialised [2ee095c6-c549-41bb-863a-7b7137403d1f] [11116.38] [1m[35mRole Exists (0.5ms)[0m SELECT DISTINCT 1 AS one 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 [2ee095c6-c549-41bb-863a-7b7137403d1f] [11116.39] [1m[36mRelationship Load (0.4ms)[0m [1mSELECT ur.project_id, ur.user_id from flags f, relationships ur where f.flag = 'access' and f.status = 'disable' and ur.project_id = f.db_project_id[0m [2ee095c6-c549-41bb-863a-7b7137403d1f] [11116.39] [1m[35m (0.4ms)[0m SELECT `projects`.`name` FROM `projects` WHERE (projects.id not in (0)) [2ee095c6-c549-41bb-863a-7b7137403d1f] [11116.39] Validate XML response: #<ActionDispatch::Response:0x00000004487ae8> took 1ms [2ee095c6-c549-41bb-863a-7b7137403d1f] [11116.39] Completed 200 OK in 13ms (Views: 0.7ms | ActiveRecord: 1.7ms | Backend: 0.0ms | XML: 0.0ms) [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.39] Started GET "/source/Apache/_meta" for 127.0.0.1 at 2013-09-02 14:01:29 +0000 [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.39] Processing by SourceController#project_meta as XML [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.39] Parameters: {"project"=>"Apache"} [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.40] Validate XML request: #<ActionDispatch::Request:0x00000004503120> [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.40] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"project_meta", "project"=>"Apache", "method"=>"GET", "type"=>"request"} [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.40] [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1[0m [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.40] USER found: king [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.40] User king initialised [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.40] [1m[35mRole Exists (0.4ms)[0m SELECT DISTINCT 1 AS one 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 [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.40] [1m[36mProject Load (0.3ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'Apache' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.41] [1m[35mLinkedProject Load (0.4ms)[0m SELECT `linked_projects`.* FROM `linked_projects` WHERE `linked_projects`.`db_project_id` = 226 ORDER BY `linked_projects`.position ASC [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.41] [1m[36m (0.6ms)[0m [1mSELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`project_id` = 226 ORDER BY role_name, login[0m [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.41] [1m[35m (0.3ms)[0m SELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`project_id` = 226 ORDER BY role_name, title [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.41] [1m[36mDownload Load (0.2ms)[0m [1mSELECT `downloads`.* FROM `downloads` WHERE `downloads`.`db_project_id` = 226[0m [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.41] [1m[35mRepository Load (0.2ms)[0m SELECT `repositories`.* FROM `repositories` WHERE `repositories`.`db_project_id` = 226 AND `repositories`.`remote_project_name` IS NULL [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.41] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 226[0m [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.41] [1m[35mReleaseTarget Load (0.2ms)[0m SELECT `release_targets`.* FROM `release_targets` WHERE `release_targets`.`repository_id` = 81 [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.42] [1m[36mRepository Load (0.2ms)[0m [1mSELECT `repositories`.* FROM `repositories` WHERE `repositories`.`hostsystem_id` = 81 ORDER BY `repositories`.`id` ASC LIMIT 1[0m [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.42] [1m[35mPathElement Load (0.2ms)[0m SELECT `path_elements`.* FROM `path_elements` WHERE `path_elements`.`parent_id` = 81 ORDER BY position [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.42] [1m[36m (0.3ms)[0m [1mSELECT architectures.name FROM `repository_architectures` INNER JOIN `architectures` ON `architectures`.`id` = `repository_architectures`.`architecture_id` WHERE `repository_architectures`.`repository_id` = 81 ORDER BY position[0m [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.42] [1m[35mReleaseTarget Load (0.3ms)[0m SELECT `release_targets`.* FROM `release_targets` WHERE `release_targets`.`repository_id` = 75 [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.42] [1m[36mRepository Load (0.2ms)[0m [1mSELECT `repositories`.* FROM `repositories` WHERE `repositories`.`hostsystem_id` = 75 ORDER BY `repositories`.`id` ASC LIMIT 1[0m [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.42] [1m[35mPathElement Load (0.2ms)[0m SELECT `path_elements`.* FROM `path_elements` WHERE `path_elements`.`parent_id` = 75 ORDER BY position [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.42] [1m[36m (0.2ms)[0m [1mSELECT architectures.name FROM `repository_architectures` INNER JOIN `architectures` ON `architectures`.`id` = `repository_architectures`.`architecture_id` WHERE `repository_architectures`.`repository_id` = 75 ORDER BY position[0m [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.43] [1m[35mProject Exists (0.2ms)[0m SELECT 1 AS one FROM `projects` WHERE `projects`.`maintenance_project_id` = 226 AND (projects.id not in (0)) LIMIT 1 [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.43] Rendered models/_project.xml.builder (23.7ms) [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.43] Validate XML response: #<ActionDispatch::Response:0x000000045030f8> took 2ms [36f20cef-8ef5-4c30-b87d-1ae9d00424a0] [11116.43] Completed 200 OK in 34ms (Views: 0.4ms | ActiveRecord: 5.3ms | Backend: 0.0ms | XML: 0.4ms) [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.43] Started PUT "/source/Apache/_meta" for 127.0.0.1 at 2013-09-02 14:01:29 +0000 [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.43] Processing by SourceController#project_meta as XML [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.43] Parameters: {"<project name"=>"\"Apache\">\n <title>Up-to-date Apache packages</title>\n <description>description</description>\n <person userid=\"fred\" role=\"maintainer\"/>\n <person userid=\"fredlibs\" role=\"maintainer\"/>\n <repository name=\"SUSE_Linux_Factory\">\n <arch>i586</arch>\n </repository>\n <repository name=\"SUSE_Linux_10.1\"/>\n</project>\n", "project"=>"Apache"} [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.43] Validate XML request: #<ActionDispatch::Request:0x000000047524d0> [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.44] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.44] USER found: king [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.44] User king initialised [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.44] [1m[35mRole Exists (0.3ms)[0m SELECT DISTINCT 1 AS one 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 [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.44] [1m[36mProject Load (0.2ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'Apache' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.44] Checking permission for the put [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.44] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 226 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1 [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.44] [1m[36mRepository Load (0.3ms)[0m [1mSELECT `repositories`.* FROM `repositories` WHERE `repositories`.`db_project_id` = 226[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.44] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.44] [1m[36mCACHE (0.0ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 226 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1[0m [["db_project_id", 226]] [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.45] [1m[35mFlag Load (0.3ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 226 [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.45] disabled_for access repo: arch: state:enable [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.45] xml_disabled? X({"name"=>"Apache", "title"=>"Up-to-date Apache packages", "description"=>"description", "person"=>[X({"userid"=>"fred", "role"=>"maintainer"}), X({"userid"=>"fredlibs", "role"=>"maintainer"})], "repository"=>[X({"name"=>"SUSE_Linux_Factory", "arch"=>"i586"}), X({"name"=>"SUSE_Linux_10.1"})]}) [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.45] disabled_for sourceaccess repo: arch: state:enable [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.45] xml_disabled? X({"name"=>"Apache", "title"=>"Up-to-date Apache packages", "description"=>"description", "person"=>[X({"userid"=>"fred", "role"=>"maintainer"}), X({"userid"=>"fredlibs", "role"=>"maintainer"})], "repository"=>[X({"name"=>"SUSE_Linux_Factory", "arch"=>"i586"}), X({"name"=>"SUSE_Linux_10.1"})]}) [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.45] [1m[36mConfiguration Load (0.2ms)[0m [1mSELECT `configurations`.* FROM `configurations` ORDER BY `configurations`.`id` ASC LIMIT 1[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.45] ### name comparison: self.name -> Apache, project_name -> Apache [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.45] [1m[35mDbProjectType Load (0.2ms)[0m SELECT `db_project_types`.* FROM `db_project_types` WHERE `db_project_types`.`name` = 'standard' LIMIT 1 [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.45] [1m[36mSQL (0.3ms)[0m [1mUPDATE `projects` SET `type_id` = 1, `updated_at` = '2013-09-02 14:01:29' WHERE `projects`.`id` = 226[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.45] [1m[35mLinkedProject Load (0.3ms)[0m SELECT `linked_projects`.* FROM `linked_projects` WHERE `linked_projects`.`db_project_id` = 226 ORDER BY `linked_projects`.position ASC [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.45] [1m[36mProject Load (0.2ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`maintenance_project_id` = 226 AND (projects.id not in (0))[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.45] [1m[35mRelationship Load (0.2ms)[0m SELECT `relationships`.* FROM `relationships` WHERE `relationships`.`project_id` = 226 AND (user_id > 0) [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.46] [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 1 ORDER BY `users`.`id` ASC LIMIT 1[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.46] [1m[35mRole Load (0.2ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 3 ORDER BY `roles`.`id` ASC LIMIT 1 [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.46] [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 4 ORDER BY `users`.`id` ASC LIMIT 1[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.46] [1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 3 ORDER BY `roles`.`id` ASC LIMIT 1 [["id", 3]] [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.46] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'fred' LIMIT 1[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.46] [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'fredlibs' LIMIT 1 [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.46] [1m[36mRelationship Load (0.3ms)[0m [1mSELECT `relationships`.* FROM `relationships` WHERE `relationships`.`project_id` = 226 AND (group_id > 0)[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.46] [1m[35mConfiguration Load (0.3ms)[0m SELECT `configurations`.* FROM `configurations` ORDER BY `configurations`.`id` ASC LIMIT 1 [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.47] [1m[36mDownload Load (0.3ms)[0m [1mSELECT `downloads`.* FROM `downloads` WHERE `downloads`.`db_project_id` = 226[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.47] modifying repository 'SUSE_Linux_Factory' [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.47] [1m[35mReleaseTarget Load (0.4ms)[0m SELECT `release_targets`.* FROM `release_targets` WHERE `release_targets`.`repository_id` = 81 [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.47] [1m[36mRepository Load (0.3ms)[0m [1mSELECT `repositories`.* FROM `repositories` WHERE `repositories`.`hostsystem_id` = 81 ORDER BY `repositories`.`id` ASC LIMIT 1[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.47] [1m[35mPathElement Load (0.3ms)[0m SELECT `path_elements`.* FROM `path_elements` WHERE `path_elements`.`parent_id` = 81 ORDER BY position [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.47] [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `architectures` INNER JOIN `repository_architectures` ON `architectures`.`id` = `repository_architectures`.`architecture_id` WHERE `repository_architectures`.`repository_id` = 81[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.47] delete all of 81 [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.48] [1m[35mSQL (0.3ms)[0m DELETE FROM `repository_architectures` WHERE (repository_id = 81) [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.48] [1m[36mArchitecture Load (0.3ms)[0m [1mSELECT `architectures`.* FROM `architectures`[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.48] [1m[35mRepositoryArchitecture Exists (0.3ms)[0m SELECT 1 AS one FROM `repository_architectures` WHERE `repository_architectures`.`repository_id` = 81 AND `repository_architectures`.`architecture_id` = 1 LIMIT 1 [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.48] [1m[36mRepository Load (0.2ms)[0m [1mSELECT `repositories`.* FROM `repositories` WHERE `repositories`.`id` = 81 ORDER BY `repositories`.`id` ASC LIMIT 1[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.49] [1m[35mSQL (0.2ms)[0m INSERT INTO `repository_architectures` (`architecture_id`, `position`, `repository_id`) VALUES (1, 1, 81) [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.49] modifying repository 'SUSE_Linux_10.1' [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.49] [1m[36mReleaseTarget Load (0.2ms)[0m [1mSELECT `release_targets`.* FROM `release_targets` WHERE `release_targets`.`repository_id` = 75[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.49] [1m[35mRepository Load (0.2ms)[0m SELECT `repositories`.* FROM `repositories` WHERE `repositories`.`hostsystem_id` = 75 ORDER BY `repositories`.`id` ASC LIMIT 1 [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.49] [1m[36mPathElement Load (0.2ms)[0m [1mSELECT `path_elements`.* FROM `path_elements` WHERE `path_elements`.`parent_id` = 75 ORDER BY position[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.49] [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `architectures` INNER JOIN `repository_architectures` ON `architectures`.`id` = `repository_architectures`.`architecture_id` WHERE `repository_architectures`.`repository_id` = 75 [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.49] delete all of 75 [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.49] [1m[36mSQL (0.2ms)[0m [1mDELETE FROM `repository_architectures` WHERE (repository_id = 75)[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.49] [1m[35mSQL (0.2ms)[0m UPDATE `projects` SET `updated_at` = '2013-09-02 14:01:30' WHERE `projects`.`id` = 226 [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.49] write_to_backend [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.50] [1m[36mDbProjectType Load (0.3ms)[0m [1mSELECT `db_project_types`.* FROM `db_project_types` WHERE `db_project_types`.`id` = 1 LIMIT 1[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.50] [1m[35m (0.7ms)[0m SELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`project_id` = 226 ORDER BY role_name, login [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.50] [1m[36m (0.3ms)[0m [1mSELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`project_id` = 226 ORDER BY role_name, title[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.50] [1m[35mRepository Load (0.3ms)[0m SELECT `repositories`.* FROM `repositories` WHERE `repositories`.`db_project_id` = 226 AND `repositories`.`remote_project_name` IS NULL [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.50] [1m[36mReleaseTarget Load (0.2ms)[0m [1mSELECT `release_targets`.* FROM `release_targets` WHERE `release_targets`.`repository_id` = 81[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.51] [1m[35mRepository Load (0.2ms)[0m SELECT `repositories`.* FROM `repositories` WHERE `repositories`.`hostsystem_id` = 81 ORDER BY `repositories`.`id` ASC LIMIT 1 [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.51] [1m[36mPathElement Load (0.2ms)[0m [1mSELECT `path_elements`.* FROM `path_elements` WHERE `path_elements`.`parent_id` = 81 ORDER BY position[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.51] [1m[35m (0.3ms)[0m SELECT architectures.name FROM `repository_architectures` INNER JOIN `architectures` ON `architectures`.`id` = `repository_architectures`.`architecture_id` WHERE `repository_architectures`.`repository_id` = 81 ORDER BY position [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.51] [1m[36mReleaseTarget Load (0.3ms)[0m [1mSELECT `release_targets`.* FROM `release_targets` WHERE `release_targets`.`repository_id` = 75[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.51] [1m[35mRepository Load (0.2ms)[0m SELECT `repositories`.* FROM `repositories` WHERE `repositories`.`hostsystem_id` = 75 ORDER BY `repositories`.`id` ASC LIMIT 1 [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.51] [1m[36mPathElement Load (0.2ms)[0m [1mSELECT `path_elements`.* FROM `path_elements` WHERE `path_elements`.`parent_id` = 75 ORDER BY position[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.51] [1m[35m (0.2ms)[0m SELECT architectures.name FROM `repository_architectures` INNER JOIN `architectures` ON `architectures`.`id` = `repository_architectures`.`architecture_id` WHERE `repository_architectures`.`repository_id` = 75 ORDER BY position [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.51] Rendered models/_project.xml.builder (19.1ms) [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.51] [backend] PUT: /source/Apache/_meta?user=king [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.52] [1m[36m (0.3ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.52] Completed 500 Internal Server Error in 86ms [d97c1cdb-ac40-4d94-ad9a-6ee23af62a79] [11116.53] Errno::ECONNREFUSED (Connection refused - connect(2)): lib/opensuse/backend.rb:84:in `block in put_or_post' lib/opensuse/backend.rb:76:in `put_or_post' lib/opensuse/backend.rb:94:in `put' app/models/project.rb:641:in `write_to_backend' app/models/project.rb:650:in `block in store' app/models/project.rb:648:in `store' app/controllers/source_controller.rb:585:in `block in project_meta' app/controllers/source_controller.rb:575:in `project_meta' config/initializers/wrap_parameters.rb:39:in `call' test/test_helper.rb:63:in `process' test/test_consistency_helper.rb:22:in `block in resubmit_all_fixtures' lib/activexml/node.rb:518:in `call' lib/activexml/node.rb:518:in `block in method_missing' lib/activexml/node.rb:516:in `method_missing' test/test_consistency_helper.rb:17:in `resubmit_all_fixtures' test/functional/zzz_post_consistency_test.rb:7:in `test_resubmit_fixtures' [11116.53] [1m[35m (2.0ms)[0m ROLLBACK + 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/>: ci ..c.. sh ci ..c.. sh ci ..c.. egrep ci ..c.. fuser + 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/backend_config 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 -- 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/1728/changes> Changes: [mls] [backend] support keys without content in /lastnotifications [adrian] [dist] add backend dependencies to obs-api-deps package [mls] enforce a time in notify events, add back 'block' mode for /lastnotifications [adrian] [api] do right locking when changing request or review states [mls] [backend] lastnotifications: improve 'next' logic [adrian] [dist] sync obs-api-dep spec file, used from now on from git ------------------------------------------ [...truncated 48259 lines...] [e25c03cc-bc03-47ed-8cf0-d9e419cfb218] [5399.80] [1m[36m (0.2ms)[0m [1mSELECT `issues`.`id` FROM `issues` LEFT JOIN issue_trackers ON issues.issue_tracker_id = issue_trackers.id WHERE ((issue_trackers.name = 'bnc' AND issues.name = '123456'))[0m [e25c03cc-bc03-47ed-8cf0-d9e419cfb218] [5399.80] [1m[35mSQL (0.2ms)[0m SELECT `issues`.`id` AS t0_r0, `issues`.`name` AS t0_r1, `issues`.`issue_tracker_id` AS t0_r2, `issues`.`summary` AS t0_r3, `issues`.`owner_id` AS t0_r4, `issues`.`created_at` AS t0_r5, `issues`.`updated_at` AS t0_r6, `issues`.`state` AS t0_r7, `issue_trackers`.`id` AS t1_r0, `issue_trackers`.`name` AS t1_r1, `issue_trackers`.`kind` AS t1_r2, `issue_trackers`.`description` AS t1_r3, `issue_trackers`.`url` AS t1_r4, `issue_trackers`.`show_url` AS t1_r5, `issue_trackers`.`regex` AS t1_r6, `issue_trackers`.`user` AS t1_r7, `issue_trackers`.`password` AS t1_r8, `issue_trackers`.`label` AS t1_r9, `issue_trackers`.`issues_updated` AS t1_r10, `issue_trackers`.`enable_fetch` AS t1_r11 FROM `issues` LEFT OUTER JOIN `issue_trackers` ON `issue_trackers`.`id` = `issues`.`issue_tracker_id` WHERE `issues`.`id` IN (1) [e25c03cc-bc03-47ed-8cf0-d9e419cfb218] [5399.80] no schema found, skipping validation for {"match"=>"[@tracker=\"bnc\" and @name=\"123456\"]", "format"=>"xml", "controller"=>"search", "action"=>"issue", "method"=>"GET", "type"=>"response"} [e25c03cc-bc03-47ed-8cf0-d9e419cfb218] [5399.80] Validate XML response: #<ActionDispatch::Response:0x00000006991168> took 0ms [e25c03cc-bc03-47ed-8cf0-d9e419cfb218] [5399.80] Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.7ms | Backend: 0.0ms | XML: 0.1ms) [40abdd18-ebe9-4ca5-b220-9a5e617bd39b] [5399.80] Started GET "/search/issue?match=%5B%40name%3D%220123456%22+and+%40tracker%3D%22bnc%22%5D" for 127.0.0.1 at 2013-09-02 15:32:03 +0000 [40abdd18-ebe9-4ca5-b220-9a5e617bd39b] [5399.80] Processing by SearchController#issue as XML [40abdd18-ebe9-4ca5-b220-9a5e617bd39b] [5399.80] Parameters: {"match"=>"[@name=\"0123456\" and @tracker=\"bnc\"]"} [40abdd18-ebe9-4ca5-b220-9a5e617bd39b] [5399.80] Validate XML request: #<ActionDispatch::Request:0x00000006ad1cd0> [40abdd18-ebe9-4ca5-b220-9a5e617bd39b] [5399.80] no schema found, skipping validation for {"match"=>"[@name=\"0123456\" and @tracker=\"bnc\"]", "format"=>"xml", "controller"=>"search", "action"=>"issue", "method"=>"GET", "type"=>"request"} [40abdd18-ebe9-4ca5-b220-9a5e617bd39b] [5399.81] [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'Iggy' ORDER BY `users`.`id` ASC LIMIT 1[0m [40abdd18-ebe9-4ca5-b220-9a5e617bd39b] [5399.81] USER found: Iggy [40abdd18-ebe9-4ca5-b220-9a5e617bd39b] [5399.81] User Iggy initialised [40abdd18-ebe9-4ca5-b220-9a5e617bd39b] [5399.81] searching in issues, predicate: '@name="0123456" and @tracker="bnc"' [40abdd18-ebe9-4ca5-b220-9a5e617bd39b] [5399.81] SELECT `issues`.* FROM `issues`.find {:joins=>"LEFT JOIN issue_trackers ON issues.issue_tracker_id = issue_trackers.id", :conditions=>["(issues.name = ? AND issue_trackers.name = ?)", "0123456", "bnc"]} [40abdd18-ebe9-4ca5-b220-9a5e617bd39b] [5399.81] [1m[35m (0.2ms)[0m SELECT `issues`.`id` FROM `issues` LEFT JOIN issue_trackers ON issues.issue_tracker_id = issue_trackers.id WHERE ((issues.name = '0123456' AND issue_trackers.name = 'bnc')) [40abdd18-ebe9-4ca5-b220-9a5e617bd39b] [5399.81] no schema found, skipping validation for {"match"=>"[@name=\"0123456\" and @tracker=\"bnc\"]", "format"=>"xml", "controller"=>"search", "action"=>"issue", "method"=>"GET", "type"=>"response"} [40abdd18-ebe9-4ca5-b220-9a5e617bd39b] [5399.81] Validate XML response: #<ActionDispatch::Response:0x00000006ad1c30> took 0ms [40abdd18-ebe9-4ca5-b220-9a5e617bd39b] [5399.81] Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms | Backend: 0.0ms | XML: 0.1ms) [a424c6e6-5d7b-4aef-983f-d2fbcaa35447] [5399.81] Started GET "/search/issue?match=%5B%40tracker%3D%22bnc%22+and+%28%40name%3D%22123456%22+or+%40name%3D%221234%22%29%5D" for 127.0.0.1 at 2013-09-02 15:32:03 +0000 [a424c6e6-5d7b-4aef-983f-d2fbcaa35447] [5399.81] Processing by SearchController#issue as XML [a424c6e6-5d7b-4aef-983f-d2fbcaa35447] [5399.81] Parameters: {"match"=>"[@tracker=\"bnc\" and (@name=\"123456\" or @name=\"1234\")]"} [a424c6e6-5d7b-4aef-983f-d2fbcaa35447] [5399.81] Validate XML request: #<ActionDispatch::Request:0x00000006bc3b98> [a424c6e6-5d7b-4aef-983f-d2fbcaa35447] [5399.81] no schema found, skipping validation for {"match"=>"[@tracker=\"bnc\" and (@name=\"123456\" or @name=\"1234\")]", "format"=>"xml", "controller"=>"search", "action"=>"issue", "method"=>"GET", "type"=>"request"} [a424c6e6-5d7b-4aef-983f-d2fbcaa35447] [5399.81] [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'Iggy' ORDER BY `users`.`id` ASC LIMIT 1[0m [a424c6e6-5d7b-4aef-983f-d2fbcaa35447] [5399.81] USER found: Iggy [a424c6e6-5d7b-4aef-983f-d2fbcaa35447] [5399.81] User Iggy initialised [a424c6e6-5d7b-4aef-983f-d2fbcaa35447] [5399.81] searching in issues, predicate: '@tracker="bnc" and (@name="123456" or @name="1234")' [a424c6e6-5d7b-4aef-983f-d2fbcaa35447] [5399.81] SELECT `issues`.* FROM `issues`.find {:joins=>"LEFT JOIN issue_trackers ON issues.issue_tracker_id = issue_trackers.id", :conditions=>["(issue_trackers.name = ? AND (issues.name = ? OR issues.name = ?))", "bnc", "123456", "1234"]} [a424c6e6-5d7b-4aef-983f-d2fbcaa35447] [5399.81] [1m[35m (0.2ms)[0m SELECT `issues`.`id` FROM `issues` LEFT JOIN issue_trackers ON issues.issue_tracker_id = issue_trackers.id WHERE ((issue_trackers.name = 'bnc' AND (issues.name = '123456' OR issues.name = '1234'))) [a424c6e6-5d7b-4aef-983f-d2fbcaa35447] [5399.81] [1m[36mSQL (0.3ms)[0m [1mSELECT `issues`.`id` AS t0_r0, `issues`.`name` AS t0_r1, `issues`.`issue_tracker_id` AS t0_r2, `issues`.`summary` AS t0_r3, `issues`.`owner_id` AS t0_r4, `issues`.`created_at` AS t0_r5, `issues`.`updated_at` AS t0_r6, `issues`.`state` AS t0_r7, `issue_trackers`.`id` AS t1_r0, `issue_trackers`.`name` AS t1_r1, `issue_trackers`.`kind` AS t1_r2, `issue_trackers`.`description` AS t1_r3, `issue_trackers`.`url` AS t1_r4, `issue_trackers`.`show_url` AS t1_r5, `issue_trackers`.`regex` AS t1_r6, `issue_trackers`.`user` AS t1_r7, `issue_trackers`.`password` AS t1_r8, `issue_trackers`.`label` AS t1_r9, `issue_trackers`.`issues_updated` AS t1_r10, `issue_trackers`.`enable_fetch` AS t1_r11 FROM `issues` LEFT OUTER JOIN `issue_trackers` ON `issue_trackers`.`id` = `issues`.`issue_tracker_id` WHERE `issues`.`id` IN (2, 1)[0m [a424c6e6-5d7b-4aef-983f-d2fbcaa35447] [5399.82] no schema found, skipping validation for {"match"=>"[@tracker=\"bnc\" and (@name=\"123456\" or @name=\"1234\")]", "format"=>"xml", "controller"=>"search", "action"=>"issue", "method"=>"GET", "type"=>"response"} [a424c6e6-5d7b-4aef-983f-d2fbcaa35447] [5399.82] Validate XML response: #<ActionDispatch::Response:0x00000006bc3b70> took 0ms [a424c6e6-5d7b-4aef-983f-d2fbcaa35447] [5399.82] Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.7ms | Backend: 0.0ms | XML: 0.1ms) [b6797be2-1a00-424c-8ee9-6f27a80533b8] [5399.82] Started GET "/search/issue?match=%5B%40tracker%3D%22bnc%22+and+%28%40name%3D%22123456%22+or+%40name%3D%221234%22%29+and+%40state%3D%22CLOSED%22%5D" for 127.0.0.1 at 2013-09-02 15:32:03 +0000 [b6797be2-1a00-424c-8ee9-6f27a80533b8] [5399.82] Processing by SearchController#issue as XML [b6797be2-1a00-424c-8ee9-6f27a80533b8] [5399.82] Parameters: {"match"=>"[@tracker=\"bnc\" and (@name=\"123456\" or @name=\"1234\") and @state=\"CLOSED\"]"} [b6797be2-1a00-424c-8ee9-6f27a80533b8] [5399.82] Validate XML request: #<ActionDispatch::Request:0x00000006d35b20> [b6797be2-1a00-424c-8ee9-6f27a80533b8] [5399.82] no schema found, skipping validation for {"match"=>"[@tracker=\"bnc\" and (@name=\"123456\" or @name=\"1234\") and @state=\"CLOSED\"]", "format"=>"xml", "controller"=>"search", "action"=>"issue", "method"=>"GET", "type"=>"request"} [b6797be2-1a00-424c-8ee9-6f27a80533b8] [5399.82] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'Iggy' ORDER BY `users`.`id` ASC LIMIT 1 [b6797be2-1a00-424c-8ee9-6f27a80533b8] [5399.82] USER found: Iggy [b6797be2-1a00-424c-8ee9-6f27a80533b8] [5399.82] User Iggy initialised [b6797be2-1a00-424c-8ee9-6f27a80533b8] [5399.82] searching in issues, predicate: '@tracker="bnc" and (@name="123456" or @name="1234") and @state="CLOSED"' [b6797be2-1a00-424c-8ee9-6f27a80533b8] [5399.82] SELECT `issues`.* FROM `issues`.find {:joins=>"LEFT JOIN issue_trackers ON issues.issue_tracker_id = issue_trackers.id", :conditions=>["((issue_trackers.name = ? AND (issues.name = ? OR issues.name = ?)) AND issues.state = ?)", "bnc", "123456", "1234", "CLOSED"]} [b6797be2-1a00-424c-8ee9-6f27a80533b8] [5399.82] [1m[36m (0.2ms)[0m [1mSELECT `issues`.`id` FROM `issues` LEFT JOIN issue_trackers ON issues.issue_tracker_id = issue_trackers.id WHERE (((issue_trackers.name = 'bnc' AND (issues.name = '123456' OR issues.name = '1234')) AND issues.state = 'CLOSED'))[0m [b6797be2-1a00-424c-8ee9-6f27a80533b8] [5399.82] [1m[35mSQL (0.2ms)[0m SELECT `issues`.`id` AS t0_r0, `issues`.`name` AS t0_r1, `issues`.`issue_tracker_id` AS t0_r2, `issues`.`summary` AS t0_r3, `issues`.`owner_id` AS t0_r4, `issues`.`created_at` AS t0_r5, `issues`.`updated_at` AS t0_r6, `issues`.`state` AS t0_r7, `issue_trackers`.`id` AS t1_r0, `issue_trackers`.`name` AS t1_r1, `issue_trackers`.`kind` AS t1_r2, `issue_trackers`.`description` AS t1_r3, `issue_trackers`.`url` AS t1_r4, `issue_trackers`.`show_url` AS t1_r5, `issue_trackers`.`regex` AS t1_r6, `issue_trackers`.`user` AS t1_r7, `issue_trackers`.`password` AS t1_r8, `issue_trackers`.`label` AS t1_r9, `issue_trackers`.`issues_updated` AS t1_r10, `issue_trackers`.`enable_fetch` AS t1_r11 FROM `issues` LEFT OUTER JOIN `issue_trackers` ON `issue_trackers`.`id` = `issues`.`issue_tracker_id` WHERE `issues`.`id` IN (1) [b6797be2-1a00-424c-8ee9-6f27a80533b8] [5399.82] no schema found, skipping validation for {"match"=>"[@tracker=\"bnc\" and (@name=\"123456\" or @name=\"1234\") and @state=\"CLOSED\"]", "format"=>"xml", "controller"=>"search", "action"=>"issue", "method"=>"GET", "type"=>"response"} [b6797be2-1a00-424c-8ee9-6f27a80533b8] [5399.82] Validate XML response: #<ActionDispatch::Response:0x00000006d35ad0> took 0ms [b6797be2-1a00-424c-8ee9-6f27a80533b8] [5399.82] Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.7ms | Backend: 0.0ms | XML: 0.1ms) [a4fc1558-9f5f-48ab-9764-d9e0fcb13394] [5399.83] Started GET "/search/issue?match=%5Bowner%2F%40login%3D%22fred%22%5D" for 127.0.0.1 at 2013-09-02 15:32:03 +0000 [a4fc1558-9f5f-48ab-9764-d9e0fcb13394] [5399.83] Processing by SearchController#issue as XML [a4fc1558-9f5f-48ab-9764-d9e0fcb13394] [5399.83] Parameters: {"match"=>"[owner/@login=\"fred\"]"} [a4fc1558-9f5f-48ab-9764-d9e0fcb13394] [5399.83] Validate XML request: #<ActionDispatch::Request:0x00000006d94468> [a4fc1558-9f5f-48ab-9764-d9e0fcb13394] [5399.83] no schema found, skipping validation for {"match"=>"[owner/@login=\"fred\"]", "format"=>"xml", "controller"=>"search", "action"=>"issue", "method"=>"GET", "type"=>"request"} [a4fc1558-9f5f-48ab-9764-d9e0fcb13394] [5399.83] [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'Iggy' ORDER BY `users`.`id` ASC LIMIT 1[0m [a4fc1558-9f5f-48ab-9764-d9e0fcb13394] [5399.83] USER found: Iggy [a4fc1558-9f5f-48ab-9764-d9e0fcb13394] [5399.83] User Iggy initialised [a4fc1558-9f5f-48ab-9764-d9e0fcb13394] [5399.83] searching in issues, predicate: 'owner/@login="fred"' [a4fc1558-9f5f-48ab-9764-d9e0fcb13394] [5399.83] SELECT `issues`.* FROM `issues`.find {:joins=>"LEFT JOIN users ON users.id = issues.owner_id", :conditions=>["users.login = ?", "fred"]} [a4fc1558-9f5f-48ab-9764-d9e0fcb13394] [5399.83] [1m[35m (0.2ms)[0m SELECT `issues`.`id` FROM `issues` LEFT JOIN users ON users.id = issues.owner_id WHERE (users.login = 'fred') [a4fc1558-9f5f-48ab-9764-d9e0fcb13394] [5399.83] [1m[36mSQL (0.2ms)[0m [1mSELECT `issues`.`id` AS t0_r0, `issues`.`name` AS t0_r1, `issues`.`issue_tracker_id` AS t0_r2, `issues`.`summary` AS t0_r3, `issues`.`owner_id` AS t0_r4, `issues`.`created_at` AS t0_r5, `issues`.`updated_at` AS t0_r6, `issues`.`state` AS t0_r7, `issue_trackers`.`id` AS t1_r0, `issue_trackers`.`name` AS t1_r1, `issue_trackers`.`kind` AS t1_r2, `issue_trackers`.`description` AS t1_r3, `issue_trackers`.`url` AS t1_r4, `issue_trackers`.`show_url` AS t1_r5, `issue_trackers`.`regex` AS t1_r6, `issue_trackers`.`user` AS t1_r7, `issue_trackers`.`password` AS t1_r8, `issue_trackers`.`label` AS t1_r9, `issue_trackers`.`issues_updated` AS t1_r10, `issue_trackers`.`enable_fetch` AS t1_r11 FROM `issues` LEFT OUTER JOIN `issue_trackers` ON `issue_trackers`.`id` = `issues`.`issue_tracker_id` WHERE `issues`.`id` IN (1)[0m [a4fc1558-9f5f-48ab-9764-d9e0fcb13394] [5399.83] no schema found, skipping validation for {"match"=>"[owner/@login=\"fred\"]", "format"=>"xml", "controller"=>"search", "action"=>"issue", "method"=>"GET", "type"=>"response"} [a4fc1558-9f5f-48ab-9764-d9e0fcb13394] [5399.83] Validate XML response: #<ActionDispatch::Response:0x00000006d94418> took 0ms [a4fc1558-9f5f-48ab-9764-d9e0fcb13394] [5399.83] Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.6ms | Backend: 0.0ms | XML: 0.1ms) [578dabe0-d4be-4e7b-928c-bbb5bf8bfdb8] [5399.83] Started GET "/search/issue?match=%5Bowner%2F%40email%3D%22fred%40feuerstein.de%22%5D" for 127.0.0.1 at 2013-09-02 15:32:03 +0000 [578dabe0-d4be-4e7b-928c-bbb5bf8bfdb8] [5399.83] Processing by SearchController#issue as XML [578dabe0-d4be-4e7b-928c-bbb5bf8bfdb8] [5399.83] Parameters: {"match"=>"[owner/@email=\"fred@feuerstein.de\"]"} [578dabe0-d4be-4e7b-928c-bbb5bf8bfdb8] [5399.83] Validate XML request: #<ActionDispatch::Request:0x000000076c7fa8> [578dabe0-d4be-4e7b-928c-bbb5bf8bfdb8] [5399.83] no schema found, skipping validation for {"match"=>"[owner/@email=\"fred@feuerstein.de\"]", "format"=>"xml", "controller"=>"search", "action"=>"issue", "method"=>"GET", "type"=>"request"} [578dabe0-d4be-4e7b-928c-bbb5bf8bfdb8] [5399.83] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'Iggy' ORDER BY `users`.`id` ASC LIMIT 1 [578dabe0-d4be-4e7b-928c-bbb5bf8bfdb8] [5399.83] USER found: Iggy [578dabe0-d4be-4e7b-928c-bbb5bf8bfdb8] [5399.83] User Iggy initialised [578dabe0-d4be-4e7b-928c-bbb5bf8bfdb8] [5399.83] searching in issues, predicate: 'owner/@email="fred@feuerstein.de"' [578dabe0-d4be-4e7b-928c-bbb5bf8bfdb8] [5399.83] SELECT `issues`.* FROM `issues`.find {:joins=>"LEFT JOIN users ON users.id = issues.owner_id", :conditions=>["users.email = ?", "fred@feuerstein.de"]} [578dabe0-d4be-4e7b-928c-bbb5bf8bfdb8] [5399.84] [1m[36m (0.2ms)[0m [1mSELECT `issues`.`id` FROM `issues` LEFT JOIN users ON users.id = issues.owner_id WHERE (users.email = 'fred@feuerstein.de')[0m [578dabe0-d4be-4e7b-928c-bbb5bf8bfdb8] [5399.84] [1m[35mSQL (0.2ms)[0m SELECT `issues`.`id` AS t0_r0, `issues`.`name` AS t0_r1, `issues`.`issue_tracker_id` AS t0_r2, `issues`.`summary` AS t0_r3, `issues`.`owner_id` AS t0_r4, `issues`.`created_at` AS t0_r5, `issues`.`updated_at` AS t0_r6, `issues`.`state` AS t0_r7, `issue_trackers`.`id` AS t1_r0, `issue_trackers`.`name` AS t1_r1, `issue_trackers`.`kind` AS t1_r2, `issue_trackers`.`description` AS t1_r3, `issue_trackers`.`url` AS t1_r4, `issue_trackers`.`show_url` AS t1_r5, `issue_trackers`.`regex` AS t1_r6, `issue_trackers`.`user` AS t1_r7, `issue_trackers`.`password` AS t1_r8, `issue_trackers`.`label` AS t1_r9, `issue_trackers`.`issues_updated` AS t1_r10, `issue_trackers`.`enable_fetch` AS t1_r11 FROM `issues` LEFT OUTER JOIN `issue_trackers` ON `issue_trackers`.`id` = `issues`.`issue_tracker_id` WHERE `issues`.`id` IN (1) [578dabe0-d4be-4e7b-928c-bbb5bf8bfdb8] [5399.84] no schema found, skipping validation for {"match"=>"[owner/@email=\"fred@feuerstein.de\"]", "format"=>"xml", "controller"=>"search", "action"=>"issue", "method"=>"GET", "type"=>"response"} [578dabe0-d4be-4e7b-928c-bbb5bf8bfdb8] [5399.84] Validate XML response: #<ActionDispatch::Response:0x000000076c7f80> took 0ms [578dabe0-d4be-4e7b-928c-bbb5bf8bfdb8] [5399.84] Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.6ms | Backend: 0.0ms | XML: 0.2ms) [5399.84] [1m[36m (0.1ms)[0m [1mROLLBACK[0m [5399.84] [1m[35m (0.0ms)[0m BEGIN [5399.84] -------------------------------------------------------- [5399.84] SearchControllerTest: test_search_one_maintained_package [5399.84] -------------------------------------------------------- [5399.84] Wait for scheduler thread to finish start [b1cd0978-592d-461c-b965-bce264e1de2e] [5449.86] Started GET "/search/attribute?namespace=OBS&name=Maintained" for 127.0.0.1 at 2013-09-02 15:32:54 +0000 [b1cd0978-592d-461c-b965-bce264e1de2e] [5449.86] Processing by SearchController#attribute as XML [b1cd0978-592d-461c-b965-bce264e1de2e] [5449.86] Parameters: {"namespace"=>"OBS", "name"=>"Maintained"} [b1cd0978-592d-461c-b965-bce264e1de2e] [5449.86] Validate XML request: #<ActionDispatch::Request:0x000000077993a0> [b1cd0978-592d-461c-b965-bce264e1de2e] [5449.86] no schema found, skipping validation for {"namespace"=>"OBS", "name"=>"Maintained", "format"=>"xml", "controller"=>"search", "action"=>"attribute", "method"=>"GET", "type"=>"request"} [b1cd0978-592d-461c-b965-bce264e1de2e] [5449.87] [1m[36m (0.4ms)[0m [1mSELECT `configurations`.`anonymous` FROM `configurations` LIMIT 1[0m [b1cd0978-592d-461c-b965-bce264e1de2e] [5449.87] no authentication string was sent [b1cd0978-592d-461c-b965-bce264e1de2e] [5449.87] Filter chain halted as :extract_user rendered or redirected [b1cd0978-592d-461c-b965-bce264e1de2e] [5449.87] Completed 401 Unauthorized in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms | Backend: 0.0ms | XML: 0.1ms) [506a8617-8e74-4ba1-bab0-b51607aa733c] [5449.87] Started GET "/search/attribute?namespace=OBS&name=Maintained" for 127.0.0.1 at 2013-09-02 15:32:54 +0000 [506a8617-8e74-4ba1-bab0-b51607aa733c] [5449.87] Processing by SearchController#attribute as XML [506a8617-8e74-4ba1-bab0-b51607aa733c] [5449.87] Parameters: {"namespace"=>"OBS", "name"=>"Maintained"} [506a8617-8e74-4ba1-bab0-b51607aa733c] [5449.87] Validate XML request: #<ActionDispatch::Request:0x000000077ba370> [506a8617-8e74-4ba1-bab0-b51607aa733c] [5449.87] no schema found, skipping validation for {"namespace"=>"OBS", "name"=>"Maintained", "format"=>"xml", "controller"=>"search", "action"=>"attribute", "method"=>"GET", "type"=>"request"} [506a8617-8e74-4ba1-bab0-b51607aa733c] [5449.87] [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'Iggy' ORDER BY `users`.`id` ASC LIMIT 1 [506a8617-8e74-4ba1-bab0-b51607aa733c] [5449.87] USER found: Iggy [506a8617-8e74-4ba1-bab0-b51607aa733c] [5449.87] User Iggy initialised [506a8617-8e74-4ba1-bab0-b51607aa733c] [5449.87] [1m[36mAttribType Load (0.5ms)[0m [1mSELECT `attrib_types`.* FROM `attrib_types` INNER JOIN `attrib_namespaces` ON `attrib_namespaces`.`id` = `attrib_types`.`attrib_namespace_id` WHERE (attrib_namespaces.name = 'OBS' and attrib_types.name = 'Maintained') ORDER BY `attrib_types`.`id` ASC LIMIT 1[0m [506a8617-8e74-4ba1-bab0-b51607aa733c] [5449.88] [1m[35m (0.3ms)[0m SELECT `attribs`.`id`, `attribs`.`db_package_id` FROM `attribs` WHERE `attribs`.`attrib_type_id` = 58 [506a8617-8e74-4ba1-bab0-b51607aa733c] [5449.88] [1m[36mAttribValue Load (0.2ms)[0m [1mSELECT `attrib_values`.* FROM `attrib_values` WHERE (attrib_id IN (101))[0m [506a8617-8e74-4ba1-bab0-b51607aa733c] [5449.88] [1m[35mRelationship Load (0.3ms)[0m SELECT ur.project_id, ur.user_id from flags f, relationships ur where f.flag = 'access' and f.status = 'disable' and ur.project_id = f.db_project_id [506a8617-8e74-4ba1-bab0-b51607aa733c] [5449.88] [1m[36mRole Exists (0.4ms)[0m [1mSELECT DISTINCT 1 AS one FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 267 AND `roles`.`title` = 'Admin' LIMIT 1[0m [506a8617-8e74-4ba1-bab0-b51607aa733c] [5449.88] [1m[35m (0.3ms)[0m SELECT `packages`.`id`, `packages`.`name`, `packages`.`db_project_id` FROM `packages` WHERE (packages.db_project_id not in (0,3000,3006)) AND (packages.id IN (1355)) [506a8617-8e74-4ba1-bab0-b51607aa733c] [5449.88] [1m[36m (0.3ms)[0m [1mSELECT `projects`.`id`, `projects`.`name` FROM `projects` WHERE `projects`.`id` IN (226) AND (projects.id not in (0,3000,3006))[0m [506a8617-8e74-4ba1-bab0-b51607aa733c] [5449.89] no schema found, skipping validation for {"namespace"=>"OBS", "name"=>"Maintained", "format"=>"xml", "controller"=>"search", "action"=>"attribute", "method"=>"GET", "type"=>"response"} [506a8617-8e74-4ba1-bab0-b51607aa733c] [5449.89] Validate XML response: #<ActionDispatch::Response:0x000000077ba348> took 0ms [506a8617-8e74-4ba1-bab0-b51607aa733c] [5449.89] Completed 200 OK in 17ms (Views: 0.5ms | ActiveRecord: 2.9ms | Backend: 0.0ms | XML: 0.0ms) [5449.89] [1m[35m (0.2ms)[0m ROLLBACK [5449.89] [1m[36m (0.1ms)[0m [1mBEGIN[0m [5449.89] ----------------------------------------------------------------------------- [5449.89] SearchControllerTest: test_search_package_in_hidden_project_as_non_maintainer [5449.89] ----------------------------------------------------------------------------- [5449.89] Wait for scheduler thread to finish start [37b31e2f-e412-41a0-bcc1-baa231bc2c7d] [5499.91] Started GET "/search/package?match=%5B%40name%3D%22pack%22+and+%40project%3D%22HiddenProject%22%5D" for 127.0.0.1 at 2013-09-02 15:33:44 +0000 [37b31e2f-e412-41a0-bcc1-baa231bc2c7d] [5499.91] Processing by SearchController#package as XML [37b31e2f-e412-41a0-bcc1-baa231bc2c7d] [5499.91] Parameters: {"match"=>"[@name=\"pack\" and @project=\"HiddenProject\"]"} [37b31e2f-e412-41a0-bcc1-baa231bc2c7d] [5499.91] Validate XML request: #<ActionDispatch::Request:0x0000000780c058> [37b31e2f-e412-41a0-bcc1-baa231bc2c7d] [5499.91] no schema found, skipping validation for {"match"=>"[@name=\"pack\" and @project=\"HiddenProject\"]", "format"=>"xml", "controller"=>"search", "action"=>"package", "method"=>"GET", "type"=>"request"} [37b31e2f-e412-41a0-bcc1-baa231bc2c7d] [5499.92] [1m[35mUser Load (0.8ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'Iggy' ORDER BY `users`.`id` ASC LIMIT 1 [37b31e2f-e412-41a0-bcc1-baa231bc2c7d] [5499.92] USER found: Iggy [37b31e2f-e412-41a0-bcc1-baa231bc2c7d] [5499.92] User Iggy initialised [37b31e2f-e412-41a0-bcc1-baa231bc2c7d] [5499.92] searching in packages, predicate: '@name="pack" and @project="HiddenProject"' [37b31e2f-e412-41a0-bcc1-baa231bc2c7d] [5499.92] [1m[36mRelationship Load (0.7ms)[0m [1mSELECT ur.project_id, ur.user_id from flags f, relationships ur where f.flag = 'access' and f.status = 'disable' and ur.project_id = f.db_project_id[0m [37b31e2f-e412-41a0-bcc1-baa231bc2c7d] [5499.92] [1m[35mRole Exists (0.3ms)[0m SELECT DISTINCT 1 AS one FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 267 AND `roles`.`title` = 'Admin' LIMIT 1 [37b31e2f-e412-41a0-bcc1-baa231bc2c7d] [5499.92] SELECT `packages`.* FROM `packages` WHERE (packages.db_project_id not in (0,3000,3006)).find {:joins=>"LEFT JOIN projects ON packages.db_project_id=projects.id", :conditions=>["(packages.name = ? AND projects.name = ?)", "pack", "HiddenProject"]} [37b31e2f-e412-41a0-bcc1-baa231bc2c7d] [5499.92] [1m[36m (0.3ms)[0m [1mSELECT `packages`.`id` FROM `packages` LEFT JOIN projects ON packages.db_project_id=projects.id WHERE (packages.db_project_id not in (0,3000,3006)) AND ((packages.name = 'pack' AND projects.name = 'HiddenProject'))[0m [37b31e2f-e412-41a0-bcc1-baa231bc2c7d] [5499.92] no schema found, skipping validation for {"match"=>"[@name=\"pack\" and @project=\"HiddenProject\"]", "format"=>"xml", "controller"=>"search", "action"=>"package", "method"=>"GET", "type"=>"response"} [37b31e2f-e412-41a0-bcc1-baa231bc2c7d] [5499.92] Validate XML response: #<ActionDispatch::Response:0x0000000780c030> took 0ms [37b31e2f-e412-41a0-bcc1-baa231bc2c7d] [5499.92] Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 2.1ms | Backend: 0.0ms | XML: 0.4ms) [749b8456-08b4-472b-b9f9-598597b566b5] [5499.93] Started GET "/search/package?match=%5B%40name%3D%22pack%22%5D" for 127.0.0.1 at 2013-09-02 15:33:44 +0000 [749b8456-08b4-472b-b9f9-598597b566b5] [5499.93] Processing by SearchController#package as XML [749b8456-08b4-472b-b9f9-598597b566b5] [5499.93] Parameters: {"match"=>"[@name=\"pack\"]"} [749b8456-08b4-472b-b9f9-598597b566b5] [5499.93] Validate XML request: #<ActionDispatch::Request:0x00000007842270> [749b8456-08b4-472b-b9f9-598597b566b5] [5499.93] no schema found, skipping validation for {"match"=>"[@name=\"pack\"]", "format"=>"xml", "controller"=>"search", "action"=>"package", "method"=>"GET", "type"=>"request"} [749b8456-08b4-472b-b9f9-598597b566b5] [5499.93] [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'Iggy' ORDER BY `users`.`id` ASC LIMIT 1 [749b8456-08b4-472b-b9f9-598597b566b5] [5499.93] USER found: Iggy [749b8456-08b4-472b-b9f9-598597b566b5] [5499.93] User Iggy initialised [749b8456-08b4-472b-b9f9-598597b566b5] [5499.93] searching in packages, predicate: '@name="pack"' [749b8456-08b4-472b-b9f9-598597b566b5] [5499.93] [1m[36mRole Exists (0.4ms)[0m [1mSELECT DISTINCT 1 AS one FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 267 AND `roles`.`title` = 'Admin' LIMIT 1[0m [749b8456-08b4-472b-b9f9-598597b566b5] [5499.93] SELECT `packages`.* FROM `packages` WHERE (packages.db_project_id not in (0,3000,3006)).find {:joins=>"", :conditions=>["packages.name = ?", "pack"]} [749b8456-08b4-472b-b9f9-598597b566b5] [5499.93] [1m[35m (0.3ms)[0m SELECT `packages`.`id` FROM `packages` WHERE (packages.db_project_id not in (0,3000,3006)) AND (packages.name = 'pack') [749b8456-08b4-472b-b9f9-598597b566b5] [5499.93] [1m[36mSQL (0.3ms)[0m [1mSELECT `packages`.`id` AS t0_r0, `packages`.`db_project_id` AS t0_r1, `packages`.`name` AS t0_r2, `packages`.`title` AS t0_r3, `packages`.`description` AS t0_r4, `packages`.`created_at` AS t0_r5, `packages`.`updated_at` AS t0_r6, `packages`.`url` AS t0_r7, `packages`.`update_counter` AS t0_r8, `packages`.`activity_index` AS t0_r9, `packages`.`bcntsynctag` AS t0_r10, `packages`.`develpackage_id` AS t0_r11, `packages`.`delta` AS t0_r12, `projects`.`id` AS t1_r0, `projects`.`name` AS t1_r1, `projects`.`title` AS t1_r2, `projects`.`description` AS t1_r3, `projects`.`created_at` AS t1_r4, `projects`.`updated_at` AS t1_r5, `projects`.`remoteurl` AS t1_r6, `projects`.`remoteproject` AS t1_r7, `projects`.`type_id` AS t1_r8, `projects`.`maintenance_project_id` AS t1_r9, `projects`.`develproject_id` AS t1_r10, `projects`.`delta` AS t1_r11 FROM `packages` LEFT OUTER JOIN `projects` ON `projects`.`id` = `packages`.`db_project_id` WHERE `packages`.`id` IN (11008) AND (packages.db_project_id not in (0,3000,3006))[0m [749b8456-08b4-472b-b9f9-598597b566b5] [5499.94] [1m[35m (0.6ms)[0m SELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`package_id` = 11008 ORDER BY role_name, login [749b8456-08b4-472b-b9f9-598597b566b5] [5499.94] [1m[36m (0.3ms)[0m [1mSELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`package_id` = 11008 ORDER BY role_name, title[0m [749b8456-08b4-472b-b9f9-598597b566b5] [5499.94] [1m[35mFlag Load (0.3ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 11008 ORDER BY `flags`.position ASC [749b8456-08b4-472b-b9f9-598597b566b5] [5499.94] Rendered models/_package.xml.builder (6.0ms) [749b8456-08b4-472b-b9f9-598597b566b5] [5499.94] no schema found, skipping validation for {"match"=>"[@name=\"pack\"]", "format"=>"xml", "controller"=>"search", "action"=>"package", "method"=>"GET", "type"=>"response"} [749b8456-08b4-472b-b9f9-598597b566b5] [5499.94] Validate XML response: #<ActionDispatch::Response:0x00000007842248> took 0ms [749b8456-08b4-472b-b9f9-598597b566b5] [5499.94] Completed 200 OK in 17ms (Views: 0.4ms | ActiveRecord: 2.5ms | Backend: 0.0ms | XML: 0.1ms) [5499.95] [1m[36m (0.1ms)[0m [1mROLLBACK[0m [5499.95] [1m[35m (0.1ms)[0m BEGIN [5499.95] --------------------------------------------------------------------------- [5499.95] SearchControllerTest: test_search_package_in_hidden_project_with_valid_user [5499.95] --------------------------------------------------------------------------- [5499.95] Wait for scheduler thread to finish start [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.97] Started GET "/search/package?match=%5B%40name%3D%22pack%22+and+%40project%3D%22HiddenProject%22%5D" for 127.0.0.1 at 2013-09-02 15:34:34 +0000 [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.97] Processing by SearchController#package as XML [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.97] Parameters: {"match"=>"[@name=\"pack\" and @project=\"HiddenProject\"]"} [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.97] Validate XML request: #<ActionDispatch::Request:0x000000078a2b48> [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.97] no schema found, skipping validation for {"match"=>"[@name=\"pack\" and @project=\"HiddenProject\"]", "format"=>"xml", "controller"=>"search", "action"=>"package", "method"=>"GET", "type"=>"request"} [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.97] [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'adrian' ORDER BY `users`.`id` ASC LIMIT 1[0m [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.97] USER found: adrian [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.97] User adrian initialised [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.97] searching in packages, predicate: '@name="pack" and @project="HiddenProject"' [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.97] [1m[35mRelationship Load (0.4ms)[0m SELECT ur.project_id, ur.user_id from flags f, relationships ur where f.flag = 'access' and f.status = 'disable' and ur.project_id = f.db_project_id [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.97] [1m[36mRole Exists (0.3ms)[0m [1mSELECT DISTINCT 1 AS one FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 42 AND `roles`.`title` = 'Admin' LIMIT 1[0m [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.98] SELECT `packages`.* FROM `packages` WHERE (packages.db_project_id not in (0,3006)).find {:joins=>"LEFT JOIN projects ON packages.db_project_id=projects.id", :conditions=>["(packages.name = ? AND projects.name = ?)", "pack", "HiddenProject"]} [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.98] [1m[35m (0.3ms)[0m SELECT `packages`.`id` FROM `packages` LEFT JOIN projects ON packages.db_project_id=projects.id WHERE (packages.db_project_id not in (0,3006)) AND ((packages.name = 'pack' AND projects.name = 'HiddenProject')) [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.98] [1m[36mSQL (0.3ms)[0m [1mSELECT `packages`.`id` AS t0_r0, `packages`.`db_project_id` AS t0_r1, `packages`.`name` AS t0_r2, `packages`.`title` AS t0_r3, `packages`.`description` AS t0_r4, `packages`.`created_at` AS t0_r5, `packages`.`updated_at` AS t0_r6, `packages`.`url` AS t0_r7, `packages`.`update_counter` AS t0_r8, `packages`.`activity_index` AS t0_r9, `packages`.`bcntsynctag` AS t0_r10, `packages`.`develpackage_id` AS t0_r11, `packages`.`delta` AS t0_r12, `projects`.`id` AS t1_r0, `projects`.`name` AS t1_r1, `projects`.`title` AS t1_r2, `projects`.`description` AS t1_r3, `projects`.`created_at` AS t1_r4, `projects`.`updated_at` AS t1_r5, `projects`.`remoteurl` AS t1_r6, `projects`.`remoteproject` AS t1_r7, `projects`.`type_id` AS t1_r8, `projects`.`maintenance_project_id` AS t1_r9, `projects`.`develproject_id` AS t1_r10, `projects`.`delta` AS t1_r11 FROM `packages` LEFT OUTER JOIN `projects` ON `projects`.`id` = `packages`.`db_project_id` WHERE `packages`.`id` IN (11000) AND (packages.db_project_id not in (0,3006))[0m [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.98] [1m[35m (0.6ms)[0m SELECT users.login as login, roles.title AS role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `users` ON `users`.`id` = `relationships`.`user_id` WHERE `relationships`.`package_id` = 11000 ORDER BY role_name, login [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.99] [1m[36m (0.3ms)[0m [1mSELECT groups.title as title, roles.title as role_name FROM `relationships` INNER JOIN `roles` ON `roles`.`id` = `relationships`.`role_id` INNER JOIN `groups` ON `groups`.`id` = `relationships`.`group_id` WHERE `relationships`.`package_id` = 11000 ORDER BY role_name, title[0m [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.99] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 11000 ORDER BY `flags`.position ASC [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.99] Rendered models/_package.xml.builder (5.7ms) [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.99] no schema found, skipping validation for {"match"=>"[@name=\"pack\" and @project=\"HiddenProject\"]", "format"=>"xml", "controller"=>"search", "action"=>"package", "method"=>"GET", "type"=>"response"} [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.99] Validate XML response: #<ActionDispatch::Response:0x000000078a2b20> took 0ms [5d50591c-3cc5-439e-921d-970fc9e672ed] [5549.99] Completed 200 OK in 19ms (Views: 0.4ms | ActiveRecord: 2.8ms | Backend: 0.0ms | XML: 0.3ms) [5549.99] [1m[36m (0.1ms)[0m [1mROLLBACK[0m [5549.99] [1m[35m (0.1ms)[0m BEGIN [5549.99] ----------------------------------------------- [5549.99] SearchControllerTest: test_search_repository_id [5549.99] ----------------------------------------------- [5549.99] Wait for scheduler thread to finish start [a642237a-e33d-4a64-9296-bc28dc989568] [5600.01] Started GET "/search/repository/id" for 127.0.0.1 at 2013-09-02 15:35:24 +0000 [a642237a-e33d-4a64-9296-bc28dc989568] [5600.01] Processing by SearchController#repository_id as XML [a642237a-e33d-4a64-9296-bc28dc989568] [5600.01] Validate XML request: #<ActionDispatch::Request:0x000000078f6220> [a642237a-e33d-4a64-9296-bc28dc989568] [5600.01] no schema found, skipping validation for {"format"=>"xml", "controller"=>"search", "action"=>"repository_id", "method"=>"GET", "type"=>"request"} [a642237a-e33d-4a64-9296-bc28dc989568] [5600.02] [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'Iggy' ORDER BY `users`.`id` ASC LIMIT 1[0m [a642237a-e33d-4a64-9296-bc28dc989568] [5600.02] USER found: Iggy [a642237a-e33d-4a64-9296-bc28dc989568] [5600.02] User Iggy initialised [a642237a-e33d-4a64-9296-bc28dc989568] [5600.02] searching in repositorys, predicate: '*' [a642237a-e33d-4a64-9296-bc28dc989568] [5600.02] [1m[35mRelationship Load (0.3ms)[0m SELECT ur.project_id, ur.user_id from flags f, relationships ur where f.flag = 'access' and f.status = 'disable' and ur.project_id = f.db_project_id [a642237a-e33d-4a64-9296-bc28dc989568] [5600.02] [1m[36mRole Exists (0.3ms)[0m [1mSELECT DISTINCT 1 AS one FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` = `roles_users`.`role_id` WHERE `roles_users`.`user_id` = 267 AND `roles`.`title` = 'Admin' LIMIT 1[0m [a642237a-e33d-4a64-9296-bc28dc989568] [5600.02] SELECT `repositories`.* FROM `repositories` WHERE (db_project_id not in (0,3000,3006)).find {:joins=>"", :conditions=>[""]} [a642237a-e33d-4a64-9296-bc28dc989568] [5600.02] [1m[35m (0.3ms)[0m SELECT `repositories`.`id` FROM `repositories` WHERE (db_project_id not in (0,3000,3006)) [a642237a-e33d-4a64-9296-bc28dc989568] [5600.02] [1m[36mSQL (0.5ms)[0m [1mSELECT `repositories`.`id` AS t0_r0, `repositories`.`db_project_id` AS t0_r1, `repositories`.`name` AS t0_r2, `repositories`.`remote_project_name` AS t0_r3, `repositories`.`rebuild` AS t0_r4, `repositories`.`block` AS t0_r5, `repositories`.`linkedbuild` AS t0_r6, `repositories`.`hostsystem_id` AS t0_r7, `projects`.`id` AS t1_r0, `projects`.`name` AS t1_r1, `projects`.`title` AS t1_r2, `projects`.`description` AS t1_r3, `projects`.`created_at` AS t1_r4, `projects`.`updated_at` AS t1_r5, `projects`.`remoteurl` AS t1_r6, `projects`.`remoteproject` AS t1_r7, `projects`.`type_id` AS t1_r8, `projects`.`maintenance_project_id` AS t1_r9, `projects`.`develproject_id` AS t1_r10, `projects`.`delta` AS t1_r11 FROM `repositories` LEFT OUTER JOIN `projects` ON `projects`.`id` = `repositories`.`db_project_id` WHERE `repositories`.`id` IN (75, 81, 85, 82, 83, 211, 142, 144, 141, 91, 95, 92, 86, 93, 96, 90, 94, 87, 88)[0m [a642237a-e33d-4a64-9296-bc28dc989568] [5600.03] no schema found, skipping validation for {"format"=>"xml", "controller"=>"search", "action"=>"repository_id", "method"=>"GET", "type"=>"response"} [a642237a-e33d-4a64-9296-bc28dc989568] [5600.03] Validate XML response: #<ActionDispatch::Response:0x000000078f61f8> took 0ms [a642237a-e33d-4a64-9296-bc28dc989568] [5600.03] Completed 200 OK in 17ms (Views: 0.4ms | ActiveRecord: 1.9ms | Backend: 0.0ms | XML: 0.2ms) [9047e082-1020-4821-8759-451e35f1665d] [5600.03] Started GET "/search/repository/id" for 127.0.0.1 at 2013-09-02 15:35:24 +0000 [9047e082-1020-4821-8759-451e35f1665d] [5600.03] Processing by SearchController#repository_id as XML [9047e082-1020-4821-8759-451e35f1665d] [5600.03] Validate XML request: #<ActionDispatch::Request:0x0000000795dee8> [9047e082-1020-4821-8759-451e35f1665d] [5600.03] no schema found, skipping validation for {"format"=>"xml", "controller"=>"search", "action"=>"repository_id", "method"=>"GET", "type"=>"request"} [9047e082-1020-4821-8759-451e35f1665d] [5600.04] [1m[35mUser Load (0.3ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [9047e082-1020-4821-8759-451e35f1665d] [5600.04] USER found: king [9047e082-1020-4821-8759-451e35f1665d] [5600.04] User king initialised [9047e082-1020-4821-8759-451e35f1665d] [5600.04] searching in repositorys, predicate: '*' [9047e082-1020-4821-8759-451e35f1665d] [5600.04] [1m[36mRole Exists (0.3ms)[0m [1mSELECT DISTINCT 1 AS one 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 [9047e082-1020-4821-8759-451e35f1665d] [5600.04] SELECT `repositories`.* FROM `repositories` WHERE (db_project_id not in (0)).find {:joins=>"", :conditions=>[""]} [9047e082-1020-4821-8759-451e35f1665d] [5600.04] [1m[35m (0.3ms)[0m SELECT `repositories`.`id` FROM `repositories` WHERE (db_project_id not in (0)) [9047e082-1020-4821-8759-451e35f1665d] [5600.04] [1m[36mSQL (0.4ms)[0m [1mSELECT `repositories`.`id` AS t0_r0, `repositories`.`db_project_id` AS t0_r1, `repositories`.`name` AS t0_r2, `repositories`.`remote_project_name` AS t0_r3, `repositories`.`rebuild` AS t0_r4, `repositories`.`block` AS t0_r5, `repositories`.`linkedbuild` AS t0_r6, `repositories`.`hostsystem_id` AS t0_r7, `projects`.`id` AS t1_r0, `projects`.`name` AS t1_r1, `projects`.`title` AS t1_r2, `projects`.`description` AS t1_r3, `projects`.`created_at` AS t1_r4, `projects`.`updated_at` AS t1_r5, `projects`.`remoteurl` AS t1_r6, `projects`.`remoteproject` AS t1_r7, `projects`.`type_id` AS t1_r8, `projects`.`maintenance_project_id` AS t1_r9, `projects`.`develproject_id` AS t1_r10, `projects`.`delta` AS t1_r11 FROM `repositories` LEFT OUTER JOIN `projects` ON `projects`.`id` = `repositories`.`db_project_id` WHERE `repositories`.`id` IN (75, 81, 85, 82, 83, 211, 142, 144, 141, 91, 95, 92, 86, 93, 89, 96, 90, 94, 87, 88)[0m [9047e082-1020-4821-8759-451e35f1665d] [5600.15] no schema found, skipping validation for {"format"=>"xml", "controller"=>"search", "action"=>"repository_id", "method"=>"GET", "type"=>"response"} [9047e082-1020-4821-8759-451e35f1665d] [5600.15] Validate XML response: #<ActionDispatch::Response:0x0000000795dec0> took 0ms [9047e082-1020-4821-8759-451e35f1665d] [5600.16] Completed 200 OK in 121ms (Views: 0.5ms | ActiveRecord: 1.3ms | Backend: 0.0ms | XML: 0.4ms) [5600.16] [1m[35m (0.2ms)[0m ROLLBACK [5600.16] [1m[36m (0.1ms)[0m [1mBEGIN[0m [5600.16] ----------------------------------------- [5600.16] SearchControllerTest: test_search_request [5600.16] ----------------------------------------- [5600.16] Wait for scheduler thread to finish start [5644.20] [1m[35m (0.2ms)[0m ROLLBACK + echo + cleanup + echo 'Killing backend processes' Killing backend processes + egrep 'perl|ruby' + fuser -v <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/> USER PID ACCESS COMMAND <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/>: ci ..c.. sh ci ..c.. sh ci ..c.. egrep ci ..c.. fuser + 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/backend_config 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 -- 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/1729/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