See <http://ci.opensuse.org/job/obs_master_testsuite_api/1673/changes> Changes: [Stephan Kulow] [api] give the group controller a sane structure ------------------------------------------ [...truncated 165190 lines...] [45835c41-b1a9-4cb2-bd63-0058b3831771] [279.38] [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)) [45835c41-b1a9-4cb2-bd63-0058b3831771] [279.38] [1m[36m (0.2ms)[0m [1mSELECT `projects`.`id`, `projects`.`name` FROM `projects` WHERE `projects`.`id` IN (2) AND (projects.id not in (0))[0m [45835c41-b1a9-4cb2-bd63-0058b3831771] [279.38] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"index_project", "project"=>"kde4", "method"=>"GET", "type"=>"response"} [45835c41-b1a9-4cb2-bd63-0058b3831771] [279.38] Validate XML response: #<ActionDispatch::Response:0x0000000696ce08> took 0ms [45835c41-b1a9-4cb2-bd63-0058b3831771] [279.38] Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 1.0ms | Backend: 0.0ms | XML: 0.0ms) [d333f53f-f9e4-497d-9544-0b58247d2571] [279.38] Started GET "/source/kde4/kdebase/_meta" for 127.0.0.1 at 2013-08-05 12:21:33 +0000 [d333f53f-f9e4-497d-9544-0b58247d2571] [279.38] Processing by SourceController#package_meta as XML [d333f53f-f9e4-497d-9544-0b58247d2571] [279.38] Parameters: {"project"=>"kde4", "package"=>"kdebase"} [d333f53f-f9e4-497d-9544-0b58247d2571] [279.38] Validate XML request: #<ActionDispatch::Request:0x00000006ad2b30> [d333f53f-f9e4-497d-9544-0b58247d2571] [279.38] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdebase", "method"=>"GET", "type"=>"request"} [d333f53f-f9e4-497d-9544-0b58247d2571] [279.38] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [d333f53f-f9e4-497d-9544-0b58247d2571] [279.38] USER found: king [d333f53f-f9e4-497d-9544-0b58247d2571] [279.38] User king initialised [d333f53f-f9e4-497d-9544-0b58247d2571] [279.38] 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"} [d333f53f-f9e4-497d-9544-0b58247d2571] [279.39] [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 [d333f53f-f9e4-497d-9544-0b58247d2571] [279.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 [d333f53f-f9e4-497d-9544-0b58247d2571] [279.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 [d333f53f-f9e4-497d-9544-0b58247d2571] [279.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 [d333f53f-f9e4-497d-9544-0b58247d2571] [279.39] ----------------- rendering package kdebase ------------------------ [d333f53f-f9e4-497d-9544-0b58247d2571] [279.39] [1m[36mRelationship Load (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 [d333f53f-f9e4-497d-9544-0b58247d2571] [279.39] [1m[35mRelationship Load (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 [d333f53f-f9e4-497d-9544-0b58247d2571] [279.39] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 2 ORDER BY `flags`.position ASC[0m [d333f53f-f9e4-497d-9544-0b58247d2571] [279.39] ----------------- end rendering package kdebase ------------------------ [d333f53f-f9e4-497d-9544-0b58247d2571] [279.48] Validate XML response: #<ActionDispatch::Response:0x00000006ad2b08> took 88ms [d333f53f-f9e4-497d-9544-0b58247d2571] [279.48] Completed 200 OK in 100ms (Views: 0.2ms | ActiveRecord: 2.0ms | Backend: 0.0ms | XML: 0.2ms) [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.48] Started PUT "/source/kde4/kdebase/_meta" for 127.0.0.1 at 2013-08-05 12:21:33 +0000 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.49] Processing by SourceController#package_meta as XML [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.49] Parameters: {"<package name"=>"\"kdebase\" project=\"kde4\">\n <title>blub</title>\n <description>blub</description>\n</package>\n", "project"=>"kde4", "package"=>"kdebase"} [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.49] Validate XML request: #<ActionDispatch::Request:0x000000035c2940> [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.49] [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.49] USER found: king [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.49] User king initialised [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.49] [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 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.49] [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 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.49] [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 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.50] [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 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.50] 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 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.50] [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 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.50] [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]] [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.50] [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 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.50] [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 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.50] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 2 ORDER BY `flags`.position ASC[0m [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.50] flagcheck: package has default state, checking project [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.50] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.50] disabled_for sourceaccess repo: arch: state:enable [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.50] xml_disabled? X({"name"=>"kdebase", "project"=>"kde4", "title"=>"blub", "description"=>"blub"}) [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.50] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.50] [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]] [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.50] [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]] [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.50] [1m[35mRelationship Load (0.2ms)[0m SELECT `relationships`.* FROM `relationships` WHERE `relationships`.`package_id` = 2 AND (user_id > 0) [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.51] [1m[36mPackage Load (0.2ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1375705293)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1[0m [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.51] update_activity 4.764945356301783e-12 10 2013-08-05 12:21:33 +0000 2002-02-02 03:02:02 UTC 2002-02-02 03:02:02 UTC [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.51] [1m[35mCACHE (0.0ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1375705293)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.51] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`activity_index` = 10.000000000004764 WHERE `packages`.`id` = 2[0m [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.51] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`updated_at` = '2013-08-05 12:21:33' WHERE `packages`.`id` = 2 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.51] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `update_counter` = 1 WHERE `packages`.`id` = 2[0m [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.51] ----------------- rendering package kdebase ------------------------ [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.51] [1m[35mRelationship Load (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`.`package_id` = 2 ORDER BY role_name, login [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.51] [1m[36mRelationship Load (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 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.51] ----------------- end rendering package kdebase ------------------------ [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.51] [backend] PUT: /source/kde4/kdebase/_meta?user=king [271.90] 2013-08-05 12:21:33 [13320]: PUT /source/kde4/kdebase/_meta?user=king [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.53] request took 0.014983123 0.014983123 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.53] [1m[35mRelationship Load (0.5ms)[0m SELECT `relationships`.* FROM `relationships` WHERE `relationships`.`package_id` = 2 AND (group_id > 0) [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.53] [1m[36mPackage Load (0.3ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1375705293)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1[0m [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.53] update_activity 10.0 2.517413209985804e-06 2013-08-05 12:21:33 +0000 2013-08-05 12:21:33 UTC 2013-08-05 12:21:33 UTC [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.53] [1m[35mCACHE (0.0ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1375705293)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.53] [1m[36mSQL (0.3ms)[0m [1mUPDATE `packages` SET `packages`.`activity_index` = 10.00000251741321 WHERE `packages`.`id` = 2[0m [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.53] [1m[35mSQL (0.3ms)[0m UPDATE `packages` SET `packages`.`updated_at` = '2013-08-05 12:21:33' WHERE `packages`.`id` = 2 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.53] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `update_counter` = 2 WHERE `packages`.`id` = 2[0m [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.53] ----------------- rendering package kdebase ------------------------ [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.54] [1m[35mRelationship Load (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` = 2 ORDER BY role_name, login [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.54] [1m[36mRelationship Load (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 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.54] ----------------- end rendering package kdebase ------------------------ [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.54] [backend] PUT: /source/kde4/kdebase/_meta?user=king [271.92] 2013-08-05 12:21:33 [13321]: PUT /source/kde4/kdebase/_meta?user=king [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.55] request took 0.01130817 0.026291293 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.55] [1m[35mPackage Load (0.5ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1375705293)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.55] update_activity 10.00000286102295 2.17824622436806e-06 2013-08-05 12:21:33 +0000 2013-08-05 12:21:33 UTC 2013-08-05 12:21:33 UTC [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.55] [1m[36mCACHE (0.0ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1375705293)/10000000 ) ) as activity_value FROM `packages` WHERE id = 2 LIMIT 1[0m [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.55] [1m[35mSQL (0.3ms)[0m UPDATE `packages` SET `packages`.`activity_index` = 10.000005039269174 WHERE `packages`.`id` = 2 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.55] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`updated_at` = '2013-08-05 12:21:33' WHERE `packages`.`id` = 2[0m [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.55] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `update_counter` = 3 WHERE `packages`.`id` = 2 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.55] ----------------- rendering package kdebase ------------------------ [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.56] [1m[36mRelationship Load (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 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.56] [1m[35mRelationship Load (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 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.56] ----------------- end rendering package kdebase ------------------------ [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.56] [backend] PUT: /source/kde4/kdebase/_meta?user=king [271.94] 2013-08-05 12:21:33 [13322]: PUT /source/kde4/kdebase/_meta?user=king [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.57] request took 0.012015733 0.038307026 [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.57] [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.57] Validate XML response: #<ActionDispatch::Response:0x000000035c28a0> took 0ms [b29d4f63-def7-49f4-9b90-53be50b6d04e] [279.57] Completed 200 OK in 86ms (Views: 0.9ms | ActiveRecord: 9.1ms | Backend: 38.3ms | XML: 0.0ms) [be82b6ea-32a7-4696-b988-8a44ee6901af] [279.57] Started GET "/source/kde4/kdebase/_meta" for 127.0.0.1 at 2013-08-05 12:21:33 +0000 [be82b6ea-32a7-4696-b988-8a44ee6901af] [279.58] Processing by SourceController#package_meta as XML [be82b6ea-32a7-4696-b988-8a44ee6901af] [279.58] Parameters: {"project"=>"kde4", "package"=>"kdebase"} [be82b6ea-32a7-4696-b988-8a44ee6901af] [279.58] Validate XML request: #<ActionDispatch::Request:0x00000005c2c478> [be82b6ea-32a7-4696-b988-8a44ee6901af] [279.58] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdebase", "method"=>"GET", "type"=>"request"} [be82b6ea-32a7-4696-b988-8a44ee6901af] [279.58] [1m[35mUser Load (0.5ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [be82b6ea-32a7-4696-b988-8a44ee6901af] [279.58] USER found: king [be82b6ea-32a7-4696-b988-8a44ee6901af] [279.58] User king initialised [be82b6ea-32a7-4696-b988-8a44ee6901af] [279.58] 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 [be82b6ea-32a7-4696-b988-8a44ee6901af] [279.58] [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 [be82b6ea-32a7-4696-b988-8a44ee6901af] [279.58] [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 [be82b6ea-32a7-4696-b988-8a44ee6901af] [279.58] [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 [be82b6ea-32a7-4696-b988-8a44ee6901af] [279.59] [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 [be82b6ea-32a7-4696-b988-8a44ee6901af] [279.59] [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 [be82b6ea-32a7-4696-b988-8a44ee6901af] [279.59] Validate XML response: #<ActionDispatch::Response:0x00000005c2c360> took 2ms [be82b6ea-32a7-4696-b988-8a44ee6901af] [279.59] Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 1.6ms | Backend: 0.0ms | XML: 0.0ms) [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.59] Started GET "/source/kde4/kdelibs/_meta" for 127.0.0.1 at 2013-08-05 12:21:33 +0000 [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.59] Processing by SourceController#package_meta as XML [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.59] Parameters: {"project"=>"kde4", "package"=>"kdelibs"} [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.59] Validate XML request: #<ActionDispatch::Request:0x00000005e3e018> [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.59] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdelibs", "method"=>"GET", "type"=>"request"} [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.59] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.59] USER found: king [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.59] User king initialised [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.59] 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"} [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.60] [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 [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.60] [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 [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.60] [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 [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.60] [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 [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.60] ----------------- rendering package kdelibs ------------------------ [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.60] [1m[36mPackage Load (0.2ms)[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 [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.60] [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 [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.60] [1m[36mRelationship Load (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 [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.61] [1m[35mRelationship Load (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 [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.61] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 ORDER BY `flags`.position ASC[0m [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.61] ----------------- end rendering package kdelibs ------------------------ [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.61] Validate XML response: #<ActionDispatch::Response:0x00000005e3df28> took 2ms [8985ae8a-ba4e-4820-a65c-f0ee1948b93c] [279.61] Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 2.6ms | Backend: 0.0ms | XML: 0.0ms) [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.61] Started PUT "/source/kde4/kdelibs/_meta" for 127.0.0.1 at 2013-08-05 12:21:33 +0000 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.61] Processing by SourceController#package_meta as XML [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.61] 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"} [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.61] Validate XML request: #<ActionDispatch::Request:0x0000000617d800> [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.61] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.61] USER found: king [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.61] User king initialised [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.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 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.62] [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 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.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 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.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 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.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"} 1 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.62] [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 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.62] [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]] [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.62] [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 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.62] [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 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.63] [1m[36mFlag Load (0.2ms)[0m [1mSELECT `flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 ORDER BY `flags`.position ASC[0m [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.63] flagcheck: package has default state, checking project [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.63] [1m[35mFlag Load (0.2ms)[0m SELECT `flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.63] disabled_for sourceaccess repo: arch: state:enable [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.63] 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"})}) [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.63] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.63] [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]] [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.63] [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]] [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.63] [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 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.63] [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 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.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 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.63] [1m[36mRelationship Load (0.2ms)[0m [1mSELECT `relationships`.* FROM `relationships` WHERE `relationships`.`package_id` = 1 AND (user_id > 0)[0m [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.63] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 4 ORDER BY `users`.`id` ASC LIMIT 1 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.63] [1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 3 ORDER BY `roles`.`id` ASC LIMIT 1[0m [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.64] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`id` = 42 ORDER BY `users`.`id` ASC LIMIT 1 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.64] [1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 6 ORDER BY `roles`.`id` ASC LIMIT 1[0m [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.64] [1m[35mPackage Load (0.2ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1375705293)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.64] update_activity 4.764945356301783e-12 10 2013-08-05 12:21:33 +0000 2002-02-02 03:02:02 UTC 2002-02-02 03:02:02 UTC [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.64] [1m[36mCACHE (0.0ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1375705293)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1[0m [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.64] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`activity_index` = 10.000000000004764 WHERE `packages`.`id` = 1 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.64] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`updated_at` = '2013-08-05 12:21:33' WHERE `packages`.`id` = 1[0m [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.64] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `update_counter` = 1 WHERE `packages`.`id` = 1 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.64] ----------------- rendering package kdelibs ------------------------ [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.64] [1m[36mRelationship Load (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` = 1 ORDER BY role_name, login[0m [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.64] [1m[35mRelationship Load (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 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.64] ----------------- end rendering package kdelibs ------------------------ [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.64] [backend] PUT: /source/kde4/kdelibs/_meta?user=king [272.03] 2013-08-05 12:21:33 [13323]: PUT /source/kde4/kdelibs/_meta?user=king [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.66] request took 0.017630663 0.017630663 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.66] [1m[36mUser Load (0.4ms)[0m [1mSELECT `users`.* FROM `users` WHERE `users`.`login` = 'fredlibs' LIMIT 1[0m [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.66] [1m[35mUser Load (0.2ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'adrian' LIMIT 1 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.66] [1m[36mRelationship Load (0.2ms)[0m [1mSELECT `relationships`.* FROM `relationships` WHERE `relationships`.`package_id` = 1 AND (group_id > 0)[0m [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.67] [1m[35mGroup Load (0.2ms)[0m SELECT `groups`.* FROM `groups` WHERE `groups`.`id` = 99 ORDER BY `groups`.`id` ASC LIMIT 1 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.67] [1m[36mRole Load (0.2ms)[0m [1mSELECT `roles`.* FROM `roles` WHERE `roles`.`id` = 3 ORDER BY `roles`.`id` ASC LIMIT 1[0m [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.67] [1m[35mGroup Load (0.2ms)[0m SELECT `groups`.* FROM `groups` WHERE `groups`.`title` = 'test_group' LIMIT 1 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.67] [1m[36mPackage Load (0.2ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1375705293)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1[0m [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.67] update_activity 10.0 3.41371805579574e-06 2013-08-05 12:21:33 +0000 2013-08-05 12:21:33 UTC 2013-08-05 12:21:33 UTC [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.67] [1m[35mCACHE (0.0ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1375705293)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.67] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`activity_index` = 10.000003413718057 WHERE `packages`.`id` = 1[0m [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.67] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`updated_at` = '2013-08-05 12:21:33' WHERE `packages`.`id` = 1 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.67] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `update_counter` = 2 WHERE `packages`.`id` = 1[0m [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.67] ----------------- rendering package kdelibs ------------------------ [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.67] [1m[35mRelationship Load (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 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.67] [1m[36mRelationship Load (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 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.67] ----------------- end rendering package kdelibs ------------------------ [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.68] [backend] PUT: /source/kde4/kdelibs/_meta?user=king [272.06] 2013-08-05 12:21:33 [13324]: PUT /source/kde4/kdelibs/_meta?user=king [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.68] request took 0.008979292 0.026609955 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.69] [1m[35mPackage Load (0.4ms)[0m SELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1375705293)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.69] update_activity 10.000003814697266 1.7729346398954038e-06 2013-08-05 12:21:33 +0000 2013-08-05 12:21:33 UTC 2013-08-05 12:21:33 UTC [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.69] [1m[36mCACHE (0.0ms)[0m [1mSELECT packages.*, ( packages.activity_index * POWER( 2.3276, (UNIX_TIMESTAMP(packages.updated_at) - 1375705293)/10000000 ) ) as activity_value FROM `packages` WHERE id = 1 LIMIT 1[0m [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.69] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `packages`.`activity_index` = 10.000005587631906 WHERE `packages`.`id` = 1 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.69] [1m[36mSQL (0.2ms)[0m [1mUPDATE `packages` SET `packages`.`updated_at` = '2013-08-05 12:21:33' WHERE `packages`.`id` = 1[0m [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.69] [1m[35mSQL (0.2ms)[0m UPDATE `packages` SET `update_counter` = 3 WHERE `packages`.`id` = 1 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.69] ----------------- rendering package kdelibs ------------------------ [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.70] [1m[36mRelationship Load (7.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 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.70] [1m[35mRelationship Load (0.5ms)[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 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.70] ----------------- end rendering package kdelibs ------------------------ [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.70] [backend] PUT: /source/kde4/kdelibs/_meta?user=king [272.09] 2013-08-05 12:21:33 [13325]: PUT /source/kde4/kdelibs/_meta?user=king [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.71] request took 0.008619968 0.035229923 [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.71] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.71] Validate XML response: #<ActionDispatch::Response:0x0000000617d788> took 0ms [0c39a9d9-d46d-41ff-b7aa-13476551d647] [279.71] Completed 200 OK in 101ms (Views: 0.8ms | ActiveRecord: 18.2ms | Backend: 35.2ms | XML: 0.0ms) [10791279-ab6b-4d3b-93b4-92811c47dcf7] [279.71] Started GET "/source/kde4/kdelibs/_meta" for 127.0.0.1 at 2013-08-05 12:21:33 +0000 [10791279-ab6b-4d3b-93b4-92811c47dcf7] [279.72] Processing by SourceController#package_meta as XML [10791279-ab6b-4d3b-93b4-92811c47dcf7] [279.72] Parameters: {"project"=>"kde4", "package"=>"kdelibs"} [10791279-ab6b-4d3b-93b4-92811c47dcf7] [279.72] Validate XML request: #<ActionDispatch::Request:0x00000006890bd8> [10791279-ab6b-4d3b-93b4-92811c47dcf7] [279.72] no schema found, skipping validation for {"format"=>"xml", "controller"=>"source", "action"=>"package_meta", "project"=>"kde4", "package"=>"kdelibs", "method"=>"GET", "type"=>"request"} [10791279-ab6b-4d3b-93b4-92811c47dcf7] [279.72] [1m[35mUser Load (0.4ms)[0m SELECT `users`.* FROM `users` WHERE `users`.`login` = 'king' ORDER BY `users`.`id` ASC LIMIT 1 [10791279-ab6b-4d3b-93b4-92811c47dcf7] [279.72] USER found: king [10791279-ab6b-4d3b-93b4-92811c47dcf7] [279.72] User king initialised [10791279-ab6b-4d3b-93b4-92811c47dcf7] [279.72] 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 [10791279-ab6b-4d3b-93b4-92811c47dcf7] [279.72] [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 [10791279-ab6b-4d3b-93b4-92811c47dcf7] [279.72] [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 [10791279-ab6b-4d3b-93b4-92811c47dcf7] [279.72] [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 [10791279-ab6b-4d3b-93b4-92811c47dcf7] [279.73] [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 [10791279-ab6b-4d3b-93b4-92811c47dcf7] [279.73] [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 [10791279-ab6b-4d3b-93b4-92811c47dcf7] [279.73] Validate XML response: #<ActionDispatch::Response:0x00000006890bb0> took 2ms [10791279-ab6b-4d3b-93b4-92811c47dcf7] [279.73] Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 1.6ms | Backend: 0.0ms | XML: 0.0ms) [279.74] [1m[35m (13.1ms)[0m ROLLBACK [279.74] kill 6286 + 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.. sh 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