See <http://ci.opensuse.org/job/obs_master_testsuite_api/1695/changes> Changes: [adrian] [backend] support "accept_at" element in backend request parser (even when not used anymore) [adrian] [api] fix validation of grouplist answer ------------------------------------------ [...truncated 197524 lines...] [9c391537-218c-484a-8bcc-c462344b7938] [320.84] Parameters: {"project"=>"kde4"} [9c391537-218c-484a-8bcc-c462344b7938] [320.84] Validate XML request: #<ActionDispatch::Request:0x00000006c06560> [9c391537-218c-484a-8bcc-c462344b7938] [320.84] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"show_project", "project"=>"kde4", "method"=>"GET", "type"=>"request"} [9c391537-218c-484a-8bcc-c462344b7938] [320.84] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [9c391537-218c-484a-8bcc-c462344b7938] [320.84] USER found: king [9c391537-218c-484a-8bcc-c462344b7938] [320.84] User king initialised [9c391537-218c-484a-8bcc-c462344b7938] [320.84] [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 [9c391537-218c-484a-8bcc-c462344b7938] [320.85] [1m[35mProject Load (0.2ms)[0m SELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0)) LIMIT 1 [9c391537-218c-484a-8bcc-c462344b7938] [320.85] [1m[36m (0.2ms)[0m [1mSELECT `packages`.`name`, `packages`.`db_project_id` FROM `packages` WHERE `packages`.`db_project_id` = 2 AND (packages.db_project_id not in (0))[0m [9c391537-218c-484a-8bcc-c462344b7938] [320.85] [1m[35m (0.3ms)[0m SELECT `projects`.`id`, `projects`.`name` FROM `projects` WHERE `projects`.`id` IN (2) AND (projects.id not in (0)) [9c391537-218c-484a-8bcc-c462344b7938] [320.85] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"show_project", "project"=>"kde4", "method"=>"GET", "type"=>"response"} [9c391537-218c-484a-8bcc-c462344b7938] [320.85] Validate XML response: #<ActionDispatch::Response:0x00000006c06538> took 0ms [9c391537-218c-484a-8bcc-c462344b7938] [320.85] Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 1.3ms | Backend: 0.0ms | XML: 0.0ms) [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.85] Started GET "/source/kde4/kdebase/_meta" for 127.0.0.1 at 2013-08-14 11:52:09 +0000 [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.85] Processing by SourceController#package_meta as XML [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.85] Parameters: {"project"=>"kde4", "package"=>"kdebase"} [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.85] Validate XML request: #<ActionDispatch::Request:0x00000006ca6ab0> [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.85] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdebase", "method"=>"GET", "type"=>"request"} [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.85] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1[0m [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.85] USER found: king [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.85] User king initialised [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.85] 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"} [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.86] [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 [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.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 [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.86] [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 [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.86] [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 [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.86] [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 [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.87] [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 [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.87] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 2 ORDER BY `flags`.position ASC [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.87] Rendered models/_package.xml.builder (5.9ms) [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.87] Validate XML response: #<ActionDispatch::Response:0x00000006ca6a88> took 2ms [fe0f3dd1-d1dd-48e9-9490-a87cbe4589ca] [320.87] Completed 200 OK in 18ms (Views: 0.4ms | ActiveRecord: 2.4ms | Backend: 0.0ms | XML: 0.3ms) [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.87] Started PUT "/source/kde4/kdebase/_meta" for 127.0.0.1 at 2013-08-14 11:52:09 +0000 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.87] Processing by SourceController#package_meta as XML [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.87] Parameters: {"<package name"=>"\"kdebase\" project=\"kde4\">\n <title>blub</title>\n <description>blub</description>\n</package>\n", "project"=>"kde4", "package"=>"kdebase"} [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.87] Validate XML request: #<ActionDispatch::Request:0x00000007299d50> [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.88] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1[0m [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.88] USER found: king [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.88] User king initialised [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.88] [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 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.88] [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 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.88] [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 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.88] [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 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.88] 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 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.88] [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 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.88] [1m[36mCACHE (0.0ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [["id", 2]] [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.89] [1m[35mFlag Load (0.3ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' ORDER BY `flags`.position ASC LIMIT 1 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.89] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1[0m [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.89] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 2 ORDER BY `flags`.position ASC [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.89] flagcheck: package has default state, checking project [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.89] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2[0m [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.89] disabled_for sourceaccess repo: arch: state:enable [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.89] xml_disabled? X({"name"=>"kdebase", "project"=>"kde4", "title"=>"blub", "description"=>"blub"}) [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.89] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.89] [1m[36mCACHE (0.0ms)[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 [["db_package_id", 2]] [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.89] [1m[35mCACHE (0.0ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1 [["db_project_id", 2]] [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.89] [1m[36mPackage Load (0.3ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1376481129)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1[0m [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.89] update_activity 4.46264000202783e-12 10 2013-08-14 11:52:09 +0000 2002-02-02 03:02:02 UTC 2002-02-02 03:02:02 UTC [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.89] [1m[35mCACHE (0.0ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1376481129)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.89] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`activity_index` = 10.000000000004462 WHERE `packages`.`id` = 2[0m [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.89] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`updated_at` = '2013-08-14 11:52:09' WHERE `packages`.`id` = 2 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.89] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `update_counter` = 1 WHERE `packages`.`id` = 2[0m [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.90] [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` = 2 ORDER BY role_name, login [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.90] [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 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.90] Rendered models/_package.xml.builder (5.0ms) [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.90] [backend] PUT: /source/kde4/kdebase/_meta?user=king [311.93] 2013-08-14 11:52:09 [28062]: PUT /source/kde4/kdebase/_meta?user=king [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.91] request took 0.010277559 0.010277559 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.91] [1m[35mRelationship Load (0.6ms)[0m SELECT `relationships`.* FROM `relationships` WHERE `relationships`.`package_id` = 2 AND (user_id > 0) [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.91] [1m[36mRelationship Load (0.2ms)[0m [1mSELECT `relationships`.* FROM `relationships` WHERE `relationships`.`package_id` = 2 AND (group_id > 0)[0m [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.92] [1m[35mPackage Load (0.4ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1376481129)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.92] update_activity 10.0 2.7099693263018573e-06 2013-08-14 11:52:09 +0000 2013-08-14 11:52:09 UTC 2013-08-14 11:52:09 UTC [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.92] [1m[36mCACHE (0.0ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1376481129)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1[0m [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.92] [1m[35mSQL (0.3ms)[0m UPDATE `packages` SET `packages`.`activity_index` = 10.000002709969326 WHERE `packages`.`id` = 2 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.92] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`updated_at` = '2013-08-14 11:52:09' WHERE `packages`.`id` = 2[0m [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.92] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `update_counter` = 2 WHERE `packages`.`id` = 2 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.93] [1m[36m (0.7ms)[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 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.93] [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 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.93] Rendered models/_package.xml.builder (5.1ms) [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.93] [backend] PUT: /source/kde4/kdebase/_meta?user=king [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.94] request took 0.008212885 0.018490444 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.94] [1m[36mPackage Load (0.6ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1376481129)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1[0m [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.94] update_activity 10.00000286102295 2.1315283245510526e-06 2013-08-14 11:52:09 +0000 2013-08-14 11:52:09 UTC 2013-08-14 11:52:09 UTC [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.94] [1m[35mCACHE (0.0ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1376481129)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.94] [1m[36mSQL (0.3ms)[0m [1mUPDATE `packages` SET `packages`.`activity_index` = 10.000004992551274 WHERE `packages`.`id` = 2[0m [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.94] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`updated_at` = '2013-08-14 11:52:09' WHERE `packages`.`id` = 2 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.94] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `update_counter` = 3 WHERE `packages`.`id` = 2[0m [311.97] 2013-08-14 11:52:09 [28063]: PUT /source/kde4/kdebase/_meta?user=king [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.95] [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` = 2 ORDER BY role_name, login [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.95] [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 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.95] Rendered models/_package.xml.builder (4.9ms) [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.95] [backend] PUT: /source/kde4/kdebase/_meta?user=king [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.96] request took 0.007526602 0.026017046000000002 [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.96] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 [311.98] 2013-08-14 11:52:09 [28064]: PUT /source/kde4/kdebase/_meta?user=king [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.96] Validate XML response: #<ActionDispatch::Response:0x00000007299d28> took 0ms [df6db70b-bf4f-43ec-86d8-59b162dbf43b] [320.96] Completed 200 OK in 87ms (Views: 1.0ms | ActiveRecord: 9.9ms | Backend: 26.0ms | XML: 0.0ms) [63c6082d-818a-4230-8bff-b55fc2fed631] [320.96] Started GET "/source/kde4/kdebase/_meta" for 127.0.0.1 at 2013-08-14 11:52:10 +0000 [63c6082d-818a-4230-8bff-b55fc2fed631] [320.96] Processing by SourceController#package_meta as XML [63c6082d-818a-4230-8bff-b55fc2fed631] [320.96] Parameters: {"project"=>"kde4", "package"=>"kdebase"} [63c6082d-818a-4230-8bff-b55fc2fed631] [320.96] Validate XML request: #<ActionDispatch::Request:0x0000000743bdc0> [63c6082d-818a-4230-8bff-b55fc2fed631] [320.96] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdebase", "method"=>"GET", "type"=>"request"} [63c6082d-818a-4230-8bff-b55fc2fed631] [320.97] [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1[0m [63c6082d-818a-4230-8bff-b55fc2fed631] [320.97] USER found: king [63c6082d-818a-4230-8bff-b55fc2fed631] [320.97] User king initialised [63c6082d-818a-4230-8bff-b55fc2fed631] [320.97] 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 [63c6082d-818a-4230-8bff-b55fc2fed631] [320.97] [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 [63c6082d-818a-4230-8bff-b55fc2fed631] [320.97] [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 [63c6082d-818a-4230-8bff-b55fc2fed631] [320.97] [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 [63c6082d-818a-4230-8bff-b55fc2fed631] [320.97] [1m[36mPackage Load (0.3ms)[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 [63c6082d-818a-4230-8bff-b55fc2fed631] [320.97] [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 [63c6082d-818a-4230-8bff-b55fc2fed631] [320.98] Validate XML response: #<ActionDispatch::Response:0x0000000743bd98> took 2ms [63c6082d-818a-4230-8bff-b55fc2fed631] [320.98] Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 1.7ms | Backend: 0.0ms | XML: 0.0ms) [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [320.98] Started GET "/source/kde4/kdelibs/_meta" for 127.0.0.1 at 2013-08-14 11:52:10 +0000 [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [320.98] Processing by SourceController#package_meta as XML [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [320.98] Parameters: {"project"=>"kde4", "package"=>"kdelibs"} [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [320.98] Validate XML request: #<ActionDispatch::Request:0x000000075ba688> [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [320.98] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdelibs", "method"=>"GET", "type"=>"request"} [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [320.98] [1m[36mUser Load (0.3ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1[0m [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [320.98] USER found: king [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [320.98] User king initialised [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [320.98] 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"} [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [320.98] [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 [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [320.98] [1m[36mProject Load (0.3ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [320.99] [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 [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [320.99] [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 [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [320.99] [1m[35mPackage Load (0.3ms)[0m SELECT `packages`.* FROM `packages` WHERE `packages`.`id` = 1234 AND (packages.db_project_id not in (0)) ORDER BY `packages`.`id` ASC LIMIT 1 [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [320.99] [1m[36mProject Load (0.2ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 601 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [320.99] [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 [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [321.00] [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 [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [321.00] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 ORDER BY `flags`.position ASC [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [321.00] Rendered models/_package.xml.builder (9.7ms) [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [321.13] Validate XML response: #<ActionDispatch::Response:0x000000075ba660> took 134ms [ec2173a3-25ef-401d-8a9b-ebb9e85da24d] [321.13] Completed 200 OK in 154ms (Views: 0.4ms | ActiveRecord: 2.8ms | Backend: 0.0ms | XML: 0.0ms) [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.14] Started PUT "/source/kde4/kdelibs/_meta" for 127.0.0.1 at 2013-08-14 11:52:10 +0000 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.14] Processing by SourceController#package_meta as XML [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.14] 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"} [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.14] Validate XML request: #<ActionDispatch::Request:0x00000003ee5950> [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.14] [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1[0m [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.14] USER found: king [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.14] User king initialised [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.14] [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 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.14] [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 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.15] [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 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.15] [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 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.15] 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 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.15] [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 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.15] [1m[36mCACHE (0.0ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [["id", 2]] [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.15] [1m[35mFlag Load (0.4ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' ORDER BY `flags`.position ASC LIMIT 1 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.15] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1[0m [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.15] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 ORDER BY `flags`.position ASC [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.15] flagcheck: package has default state, checking project [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.15] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2[0m [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.15] disabled_for sourceaccess repo: arch: state:enable [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.16] 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"})}) [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.16] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.16] [1m[36mCACHE (0.0ms)[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 [["db_package_id", 1]] [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.16] [1m[35mCACHE (0.0ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 AND `flags`.`flag` = 'lock' AND `flags`.`status` = 'enable' LIMIT 1 [["db_project_id", 2]] [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.16] [1m[36mProject Load (0.2ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`name` = 'home:coolo:test' AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.16] [1m[35mPackage Load (0.2ms)[0m SELECT `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 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.16] [1m[36mProject Load (0.2ms)[0m [1mSELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 601 AND (projects.id not in (0)) ORDER BY `projects`.`id` ASC LIMIT 1[0m [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.16] [1m[35mPackage Load (0.2ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1376481130)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.16] update_activity 4.4626396250072195e-12 10 2013-08-14 11:52:10 +0000 2002-02-02 03:02:02 UTC 2002-02-02 03:02:02 UTC [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.16] [1m[36mCACHE (0.0ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1376481130)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1[0m [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.16] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`activity_index` = 10.000000000004462 WHERE `packages`.`id` = 1 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.16] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`updated_at` = '2013-08-14 11:52:10' WHERE `packages`.`id` = 1[0m [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.17] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `update_counter` = 1 WHERE `packages`.`id` = 1 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.17] [1m[36m (0.8ms)[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 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.17] [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 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.17] Rendered models/_package.xml.builder (5.3ms) [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.17] [backend] PUT: /source/kde4/kdelibs/_meta?user=king [312.20] 2013-08-14 11:52:10 [28065]: PUT /source/kde4/kdelibs/_meta?user=king [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.18] request took 0.008911672 0.008911672 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.18] [1m[36mRelationship Load (0.6ms)[0m [1mSELECT `relationships`.* FROM `relationships` WHERE `relationships`.`package_id` = 1 AND (user_id > 0)[0m [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.18] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 4 ORDER BY `users`.`id` ASC LIMIT 1 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.19] [1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 3 ORDER BY `roles`.`id` ASC LIMIT 1[0m [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.19] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 42 ORDER BY `users`.`id` ASC LIMIT 1 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.19] [1m[36mRole Load (0.3ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 6 ORDER BY `roles`.`id` ASC LIMIT 1[0m [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.19] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'fredlibs' LIMIT 1 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.19] [1m[36mUser Load (0.2ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'adrian' LIMIT 1[0m [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.19] [1m[35mRelationship Load (0.3ms)[0m SELECT `relationships`.* FROM `relationships` WHERE `relationships`.`package_id` = 1 AND (group_id > 0) [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.19] [1m[36mGroup Load (0.2ms)[0m [1mSELECT `groups`.* FROM `groups` WHERE `groups`.`id` = 99 ORDER BY `groups`.`id` ASC LIMIT 1[0m [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.19] [1m[35mCACHE (0.0ms)[0m SELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 3 ORDER BY `roles`.`id` ASC LIMIT 1 [["id", 3]] [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.19] [1m[36mGroup Load (0.2ms)[0m [1mSELECT `groups`.* FROM `groups` WHERE `groups`.`title` = 'test_group' LIMIT 1[0m [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.20] [1m[35mPackage Load (0.3ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1376481130)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.20] update_activity 10.0 3.789889591711539e-06 2013-08-14 11:52:10 +0000 2013-08-14 11:52:10 UTC 2013-08-14 11:52:10 UTC [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.20] [1m[36mCACHE (0.0ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1376481130)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1[0m [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.20] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`activity_index` = 10.000003789889591 WHERE `packages`.`id` = 1 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.20] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`updated_at` = '2013-08-14 11:52:10' WHERE `packages`.`id` = 1[0m [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.20] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `update_counter` = 2 WHERE `packages`.`id` = 1 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.20] [1m[36m (0.8ms)[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 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.21] [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 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.21] Rendered models/_package.xml.builder (4.9ms) [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.21] [backend] PUT: /source/kde4/kdelibs/_meta?user=king [312.23] 2013-08-14 11:52:10 [28066]: PUT /source/kde4/kdelibs/_meta?user=king [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.22] request took 0.011896999 0.020808671 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.22] [1m[36mPackage Load (0.6ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1376481130)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1[0m [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.22] update_activity 10.000003814697266 2.5308794445461696e-06 2013-08-14 11:52:10 +0000 2013-08-14 11:52:10 UTC 2013-08-14 11:52:10 UTC [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.22] [1m[35mCACHE (0.0ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1376481130)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.22] [1m[36mSQL (0.3ms)[0m [1mUPDATE `packages` SET `packages`.`activity_index` = 10.00000634557671 WHERE `packages`.`id` = 1[0m [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.22] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`updated_at` = '2013-08-14 11:52:10' WHERE `packages`.`id` = 1 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.23] [1m[36mSQL (0.3ms)[0m [1mUPDATE `packages` SET `update_counter` = 3 WHERE `packages`.`id` = 1[0m [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.23] [1m[35m (1.0ms)[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 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.23] [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 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.23] Rendered models/_package.xml.builder (5.8ms) [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.23] [backend] PUT: /source/kde4/kdelibs/_meta?user=king [312.26] 2013-08-14 11:52:10 [28067]: PUT /source/kde4/kdelibs/_meta?user=king [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.25] request took 0.01893623 0.039744901 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.25] [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1 [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.26] Validate XML response: #<ActionDispatch::Response:0x00000003ee5798> took 1ms [c8192ff7-97bd-41c6-b8da-16a3f12eea44] [321.26] Completed 200 OK in 118ms (Views: 1.3ms | ActiveRecord: 13.2ms | Backend: 39.7ms | XML: 0.0ms) [2b336166-7688-46e5-afc4-ab7af0079519] [321.26] Started GET "/source/kde4/kdelibs/_meta" for 127.0.0.1 at 2013-08-14 11:52:10 +0000 [2b336166-7688-46e5-afc4-ab7af0079519] [321.26] Processing by SourceController#package_meta as XML [2b336166-7688-46e5-afc4-ab7af0079519] [321.26] Parameters: {"project"=>"kde4", "package"=>"kdelibs"} [2b336166-7688-46e5-afc4-ab7af0079519] [321.26] Validate XML request: #<ActionDispatch::Request:0x00000006a1f670> [2b336166-7688-46e5-afc4-ab7af0079519] [321.26] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdelibs", "method"=>"GET", "type"=>"request"} [2b336166-7688-46e5-afc4-ab7af0079519] [321.26] [1m[36mUser Load (0.5ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1[0m [2b336166-7688-46e5-afc4-ab7af0079519] [321.26] USER found: king [2b336166-7688-46e5-afc4-ab7af0079519] [321.26] User king initialised [2b336166-7688-46e5-afc4-ab7af0079519] [321.26] 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 [2b336166-7688-46e5-afc4-ab7af0079519] [321.26] [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 [2b336166-7688-46e5-afc4-ab7af0079519] [321.27] [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 [2b336166-7688-46e5-afc4-ab7af0079519] [321.27] [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 [2b336166-7688-46e5-afc4-ab7af0079519] [321.27] [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 [2b336166-7688-46e5-afc4-ab7af0079519] [321.27] [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 [2b336166-7688-46e5-afc4-ab7af0079519] [321.27] Validate XML response: #<ActionDispatch::Response:0x00000006a1f5f8> took 2ms [2b336166-7688-46e5-afc4-ab7af0079519] [321.27] Completed 200 OK in 15ms (Views: 0.4ms | ActiveRecord: 1.7ms | Backend: 0.0ms | XML: 0.0ms) [321.29] [1m[36m (16.3ms)[0m [1mROLLBACK[0m [321.29] kill 20624 + 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/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