Mailinglist Archive: obs-tests (47 mails)

< Previous Next >
[obs-tests] Build failed in Jenkins: obs_master_testsuite_api #1242
  • From: admin@xxxxxxxxxxxx
  • Date: Tue, 4 Dec 2012 14:28:57 +0100 (CET)
  • Message-id: <1550867568.5.1354627737245.JavaMail.jenkins@ci-opensuse>
See <http://ci.opensuse.org/job/obs_master_testsuite_api/1242/changes>

Changes:

[Stephan Kulow] [api] rely on a fixed xmlhash to convert XML into UTF-8

[adrian] [api] fix error code with missing command parameter and fix typo in
generic error code reporting

[adrian] [backend] simple smoke test for support status generation

------------------------------------------
[...truncated 131662 lines...]
[DEBUG|# 1593] 2012-12-04 14:28:53 [7801]: PUT
/source/kde4/_meta?user=king
[DEBUG|# 1588] request took 0.010238301
[DEBUG|# 1588]  (0.1ms) RELEASE SAVEPOINT
active_record_1
[DEBUG|# 1588] Validate XML response:
#<ActionDispatch::Response:0x00000005f715e8> took 1ms
[INFO |# 1588] Completed 200 OK in 60ms (Views: 1.0ms | ActiveRecord:
4.9ms | Backend: 10.2ms | XML: 0.0ms)
[INFO |# 1588] Started GET "/source/kde4/_meta" for 127.0.0.1 at
2012-12-04 14:28:54 +0100
[INFO |# 1588] Processing by SourceController#project_meta as XML
[INFO |# 1588] Parameters: {"project"=>"kde4"}
[DEBUG|# 1588] Validate XML request:
#<ActionDispatch::Request:0x00000006ecadc8>
[DEBUG|# 1588] no schema found, skipping validation for
{"format"=>"xml", "controller"=>"source", "action"=>"project_meta",
"project"=>"kde4", "method"=>"GET", "type"=>"request"}
[DEBUG|# 1588] User Load (0.4ms) SELECT `users`.*
FROM `users` WHERE (login = 'king') LIMIT 1
[DEBUG|# 1588] USER found: king
[DEBUG|# 1588] User king initialised
[DEBUG|# 1588] ProjectUserRoleRelationship Load
(0.2ms) SELECT ur.db_project_id, ur.bs_user_id from flags f,
project_user_role_relationships ur where f.flag = 'access' and
ur.db_project_id = f.db_project_id
[DEBUG|# 1588] Role Load (0.3ms) SELECT DISTINCT
roles.id FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` =
`roles_users`.`role_id` WHERE `roles_users`.`user_id` = 2 AND `roles`.`title` =
'Admin' LIMIT 1
[DEBUG|# 1588] Project Load (0.2ms) SELECT
`projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id
not in (0)) LIMIT 1
[DEBUG|# 1588] Validate XML response:
#<ActionDispatch::Response:0x00000006ecad00> took 3ms
[INFO |# 1588] Completed 200 OK in 11ms (Views: 0.5ms | ActiveRecord:
1.2ms | Backend: 0.0ms | XML: 0.0ms)
[INFO |# 1588] Started GET "/source/kde4" for 127.0.0.1 at 2012-12-04
14:28:54 +0100
[INFO |# 1588] Processing by SourceController#index_project as XML
[INFO |# 1588] Parameters: {"project"=>"kde4"}
[DEBUG|# 1588] Validate XML request:
#<ActionDispatch::Request:0x000000071ef558>
[DEBUG|# 1588] no schema found, skipping validation for
{"format"=>"xml", "controller"=>"source", "action"=>"index_project",
"project"=>"kde4", "method"=>"GET", "type"=>"request"}
[DEBUG|# 1588] User Load (0.4ms) SELECT `users`.*
FROM `users` WHERE (login = 'king') LIMIT 1
[DEBUG|# 1588] USER found: king
[DEBUG|# 1588] User king initialised
[DEBUG|# 1588] Role Load (0.3ms) SELECT DISTINCT
roles.id FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` =
`roles_users`.`role_id` WHERE `roles_users`.`user_id` = 2 AND `roles`.`title` =
'Admin' LIMIT 1
[DEBUG|# 1588] Project Load (0.2ms) SELECT
`projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id
not in (0)) LIMIT 1
[DEBUG|# 1588] Package Load (0.3ms) SELECT
`packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND
(packages.db_project_id not in (0))
[DEBUG|# 1588] no schema found, skipping validation for
{"format"=>"xml", "controller"=>"source", "action"=>"index_project",
"project"=>"kde4", "method"=>"GET", "type"=>"response"}
[DEBUG|# 1588] Validate XML response:
#<ActionDispatch::Response:0x000000071ef508> took 0ms
[INFO |# 1588] Completed 200 OK in 10ms (Views: 0.5ms | ActiveRecord:
1.2ms | Backend: 0.0ms | XML: 0.0ms)
[INFO |# 1588] Started GET "/source/kde4/kdebase/_meta" for 127.0.0.1
at 2012-12-04 14:28:54 +0100
[INFO |# 1588] Processing by SourceController#package_meta as XML
[INFO |# 1588] Parameters: {"project"=>"kde4", "package"=>"kdebase"}
[DEBUG|# 1588] Validate XML request:
#<ActionDispatch::Request:0x000000072de630>
[DEBUG|# 1588] no schema found, skipping validation for
{"format"=>"xml", "controller"=>"source", "action"=>"package_meta",
"project"=>"kde4", "package"=>"kdebase", "method"=>"GET", "type"=>"request"}
[DEBUG|# 1588] User Load (0.3ms) SELECT `users`.*
FROM `users` WHERE (login = 'king') LIMIT 1
[DEBUG|# 1588] USER found: king
[DEBUG|# 1588] User king initialised
[DEBUG|# 1588] get_by_project_and_name {}
[DEBUG|# 1588] Role Load (0.4ms) SELECT DISTINCT
roles.id FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` =
`roles_users`.`role_id` WHERE `roles_users`.`user_id` = 2 AND `roles`.`title` =
'Admin' LIMIT 1
[DEBUG|# 1588] Project Load (0.2ms) SELECT
`projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id
not in (0)) LIMIT 1
[DEBUG|# 1588] Package Load (0.3ms) SELECT
`packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND
`packages`.`name` = 'kdebase' AND (packages.db_project_id not in (0)) LIMIT
1
[DEBUG|# 1588] Project Load (0.2ms) SELECT
`projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in
(0)) LIMIT 1
[DEBUG|# 1588] ----------------- rendering package kdebase
------------------------
[DEBUG|# 1588] PackageUserRoleRelationship Load
(0.2ms) SELECT users.login as login, roles.title AS role_name FROM
`package_user_role_relationships` INNER JOIN `roles` ON `roles`.`id` =
`package_user_role_relationships`.`role_id` INNER JOIN `users` ON `users`.`id`
= `package_user_role_relationships`.`bs_user_id` WHERE
`package_user_role_relationships`.`db_package_id` = 2
[DEBUG|# 1588] PackageGroupRoleRelationship Load
(0.2ms) SELECT groups.title as title, roles.title as role_name FROM
`package_group_role_relationships` INNER JOIN `roles` ON `roles`.`id` =
`package_group_role_relationships`.`role_id` INNER JOIN `groups` ON
`groups`.`id` = `package_group_role_relationships`.`bs_group_id` WHERE
`package_group_role_relationships`.`db_package_id` = 2
[DEBUG|# 1588] Flag Load (0.2ms) SELECT
`flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 2 ORDER BY position
[DEBUG|# 1588] ----------------- end rendering package kdebase
------------------------
[DEBUG|# 1588] Validate XML response:
#<ActionDispatch::Response:0x000000072de590> took 2ms
[INFO |# 1588] Completed 200 OK in 20ms (Views: 0.4ms | ActiveRecord:
2.0ms | Backend: 0.0ms | XML: 0.3ms)
[INFO |# 1588] Started PUT "/source/kde4/kdebase/_meta" for 127.0.0.1
at 2012-12-04 14:28:54 +0100
[INFO |# 1588] Processing by SourceController#package_meta as XML
[INFO |# 1588] Parameters: {"<package name"=>"\"kdebase\"
project=\"kde4\">\n <title>blub</title>\n
<description>blub</description>\n</package>\n", "project"=>"kde4",
"package"=>"kdebase"}
[DEBUG|# 1588] Validate XML request:
#<ActionDispatch::Request:0x00000007575880>
[DEBUG|# 1588] User Load (0.2ms) SELECT `users`.*
FROM `users` WHERE (login = 'king') LIMIT 1
[DEBUG|# 1588] USER found: king
[DEBUG|# 1588] User king initialised
[DEBUG|# 1588] Role Load (0.2ms) SELECT DISTINCT
roles.id FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` =
`roles_users`.`role_id` WHERE `roles_users`.`user_id` = 2 AND `roles`.`title` =
'Admin' LIMIT 1
[DEBUG|# 1588] Project Load (0.2ms) SELECT
`projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id
not in (0)) LIMIT 1
[DEBUG|# 1588] Package Load (0.2ms) SELECT
`packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND
`packages`.`name` = 'kdebase' AND (packages.db_project_id not in (0)) LIMIT
1
[DEBUG|# 1588] Project Load (0.2ms) SELECT
`projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in
(0)) LIMIT 1
[DEBUG|# 1588] get_by_project_and_name {}
[DEBUG|# 1588] CACHE (0.0ms) SELECT `projects`.*
FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0))
LIMIT 1
[DEBUG|# 1588] CACHE (0.0ms) SELECT `packages`.*
FROM `packages` WHERE `packages`.`db_project_id` = 2 AND `packages`.`name` =
'kdebase' AND (packages.db_project_id not in (0)) LIMIT 1
[DEBUG|# 1588] CACHE (0.0ms) SELECT `projects`.*
FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) LIMIT
1
[DEBUG|# 1588] Flag Load (0.2ms) SELECT `flags`.*
FROM `flags` WHERE `flags`.`db_package_id` = 2 AND `flags`.`flag` = 'lock' AND
`flags`.`status` = 'enable' ORDER BY position LIMIT 1
[DEBUG|# 1588] Flag Load (0.2ms) SELECT
`flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 AND `flags`.`flag` =
'lock' AND `flags`.`status` = 'enable' LIMIT 1
[DEBUG|# 1588] Flag Load (0.2ms) SELECT `flags`.*
FROM `flags` WHERE `flags`.`db_package_id` = 2 ORDER BY position
[DEBUG|# 1588] flagcheck: package has default state, checking project
[DEBUG|# 1588] Flag Load (0.1ms) SELECT
`flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2
[DEBUG|# 1588] disabled_for sourceaccess repo: arch: state:enable
[DEBUG|# 1588] xml_disabled? X({"name"=>"kdebase",
"project"=>"kde4", "title"=>"blub", "description"=>"blub"})
[DEBUG|# 1588]  (0.1ms) SAVEPOINT active_record_1
[DEBUG|# 1588] PackageUserRoleRelationship Load
(0.1ms) SELECT `package_user_role_relationships`.* FROM
`package_user_role_relationships` WHERE
`package_user_role_relationships`.`db_package_id` = 2
[DEBUG|# 1588] ----------------- rendering package kdebase
------------------------
[DEBUG|# 1588] PackageUserRoleRelationship Load
(0.2ms) SELECT users.login as login, roles.title AS role_name FROM
`package_user_role_relationships` INNER JOIN `roles` ON `roles`.`id` =
`package_user_role_relationships`.`role_id` INNER JOIN `users` ON `users`.`id`
= `package_user_role_relationships`.`bs_user_id` WHERE
`package_user_role_relationships`.`db_package_id` = 2
[DEBUG|# 1588] PackageGroupRoleRelationship Load
(0.2ms) SELECT groups.title as title, roles.title as role_name FROM
`package_group_role_relationships` INNER JOIN `roles` ON `roles`.`id` =
`package_group_role_relationships`.`role_id` INNER JOIN `groups` ON
`groups`.`id` = `package_group_role_relationships`.`bs_group_id` WHERE
`package_group_role_relationships`.`db_package_id` = 2
[DEBUG|# 1588] ----------------- end rendering package kdebase
------------------------
[DEBUG|# 1588] [backend] PUT: /source/kde4/kdebase/_meta?user=king
[DEBUG|# 1593] 2012-12-04 14:28:54 [7802]: PUT
/source/kde4/kdebase/_meta?user=king
[DEBUG|# 1588] request took 0.009183455
[DEBUG|# 1588] Package Load (0.4ms) SELECT
packages.*, ( @activity:=( packages.activity_index - POWER( TIME_TO_SEC(
TIMEDIFF( NOW(), packages.updated_at ))/86400, 1.55 ) /10 ) ) AS act_tmp,
IF( @activity<0, 0, @activity ) AS activity_value FROM `packages`
WHERE id = 2 LIMIT 1
[DEBUG|# 1588] PackageGroupRoleRelationship Load
(0.2ms) SELECT `package_group_role_relationships`.* FROM
`package_group_role_relationships` WHERE
`package_group_role_relationships`.`db_package_id` = 2
[DEBUG|# 1588] ----------------- rendering package kdebase
------------------------
[DEBUG|# 1588] CACHE (0.0ms) SELECT users.login as
login, roles.title AS role_name FROM `package_user_role_relationships` INNER
JOIN `roles` ON `roles`.`id` = `package_user_role_relationships`.`role_id`
INNER JOIN `users` ON `users`.`id` =
`package_user_role_relationships`.`bs_user_id` WHERE
`package_user_role_relationships`.`db_package_id` = 2
[DEBUG|# 1588] CACHE (0.0ms) SELECT groups.title
as title, roles.title as role_name FROM `package_group_role_relationships`
INNER JOIN `roles` ON `roles`.`id` =
`package_group_role_relationships`.`role_id` INNER JOIN `groups` ON
`groups`.`id` = `package_group_role_relationships`.`bs_group_id` WHERE
`package_group_role_relationships`.`db_package_id` = 2
[DEBUG|# 1588] ----------------- end rendering package kdebase
------------------------
[DEBUG|# 1588] [backend] PUT: /source/kde4/kdebase/_meta?user=king
[DEBUG|# 1593] 2012-12-04 14:28:54 [7803]: PUT
/source/kde4/kdebase/_meta?user=king
[DEBUG|# 1588] request took 0.011901147
[DEBUG|# 1588] CACHE (0.0ms) SELECT packages.*, (
@activity:=( packages.activity_index - POWER( TIME_TO_SEC( TIMEDIFF( NOW(),
packages.updated_at ))/86400, 1.55 ) /10 ) ) AS act_tmp,
IF( @activity<0, 0, @activity ) AS activity_value FROM `packages`
WHERE id = 2 LIMIT 1
[DEBUG|# 1588] ----------------- rendering package kdebase
------------------------
[DEBUG|# 1588] CACHE (0.0ms) SELECT users.login
as login, roles.title AS role_name FROM `package_user_role_relationships` INNER
JOIN `roles` ON `roles`.`id` = `package_user_role_relationships`.`role_id`
INNER JOIN `users` ON `users`.`id` =
`package_user_role_relationships`.`bs_user_id` WHERE
`package_user_role_relationships`.`db_package_id` = 2
[DEBUG|# 1588] CACHE (0.0ms) SELECT groups.title as
title, roles.title as role_name FROM `package_group_role_relationships` INNER
JOIN `roles` ON `roles`.`id` = `package_group_role_relationships`.`role_id`
INNER JOIN `groups` ON `groups`.`id` =
`package_group_role_relationships`.`bs_group_id` WHERE
`package_group_role_relationships`.`db_package_id` = 2
[DEBUG|# 1588] ----------------- end rendering package kdebase
------------------------
[DEBUG|# 1588] [backend] PUT: /source/kde4/kdebase/_meta?user=king
[DEBUG|# 1593] 2012-12-04 14:28:54 [7804]: PUT
/source/kde4/kdebase/_meta?user=king
[DEBUG|# 1588] request took 0.02828494
[DEBUG|# 1588] CACHE (0.0ms) SELECT packages.*,
( @activity:=( packages.activity_index - POWER( TIME_TO_SEC( TIMEDIFF( NOW(),
packages.updated_at ))/86400, 1.55 ) /10 ) ) AS act_tmp,
IF( @activity<0, 0, @activity ) AS activity_value FROM `packages`
WHERE id = 2 LIMIT 1
[DEBUG|# 1588]  (0.3ms) RELEASE SAVEPOINT
active_record_1
[DEBUG|# 1588] Validate XML response:
#<ActionDispatch::Response:0x00000007575858> took 1ms
[INFO |# 1588] Completed 200 OK in 92ms (Views: 1.1ms | ActiveRecord:
3.0ms | Backend: 49.4ms | XML: 0.0ms)
[INFO |# 1588] Started GET "/source/kde4/kdebase/_meta" for 127.0.0.1
at 2012-12-04 14:28:54 +0100
[INFO |# 1588] Processing by SourceController#package_meta as XML
[INFO |# 1588] Parameters: {"project"=>"kde4", "package"=>"kdebase"}
[DEBUG|# 1588] Validate XML request:
#<ActionDispatch::Request:0x0000000795edc0>
[DEBUG|# 1588] no schema found, skipping validation for
{"format"=>"xml", "controller"=>"source", "action"=>"package_meta",
"project"=>"kde4", "package"=>"kdebase", "method"=>"GET", "type"=>"request"}
[DEBUG|# 1588] User Load (9.7ms) SELECT
`users`.* FROM `users` WHERE (login = 'king') LIMIT 1
[DEBUG|# 1588] USER found: king
[DEBUG|# 1588] User king initialised
[DEBUG|# 1588] get_by_project_and_name {}
[DEBUG|# 1588] Role Load (0.5ms) SELECT DISTINCT
roles.id FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` =
`roles_users`.`role_id` WHERE `roles_users`.`user_id` = 2 AND `roles`.`title` =
'Admin' LIMIT 1
[DEBUG|# 1588] Project Load (0.2ms) SELECT
`projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id
not in (0)) LIMIT 1
[DEBUG|# 1588] Package Load (0.3ms) SELECT
`packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND
`packages`.`name` = 'kdebase' AND (packages.db_project_id not in (0)) LIMIT 1
[DEBUG|# 1588] Project Load (0.2ms) SELECT
`projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in
(0)) LIMIT 1
[DEBUG|# 1588] Validate XML response:
#<ActionDispatch::Response:0x0000000795ed98> took 2ms
[INFO |# 1588] Completed 200 OK in 25ms (Views: 0.5ms | ActiveRecord:
10.9ms | Backend: 0.0ms | XML: 0.0ms)
[INFO |# 1588] Started GET "/source/kde4/kdelibs/_meta" for 127.0.0.1
at 2012-12-04 14:28:54 +0100
[INFO |# 1588] Processing by SourceController#package_meta as XML
[INFO |# 1588] Parameters: {"project"=>"kde4", "package"=>"kdelibs"}
[DEBUG|# 1588] Validate XML request:
#<ActionDispatch::Request:0x00000007a05648>
[DEBUG|# 1588] no schema found, skipping validation for
{"format"=>"xml", "controller"=>"source", "action"=>"package_meta",
"project"=>"kde4", "package"=>"kdelibs", "method"=>"GET", "type"=>"request"}
[DEBUG|# 1588] User Load (0.4ms) SELECT `users`.*
FROM `users` WHERE (login = 'king') LIMIT 1
[DEBUG|# 1588] USER found: king
[DEBUG|# 1588] User king initialised
[DEBUG|# 1588] get_by_project_and_name {}
[DEBUG|# 1588] Role Load (0.3ms) SELECT DISTINCT
roles.id FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` =
`roles_users`.`role_id` WHERE `roles_users`.`user_id` = 2 AND `roles`.`title` =
'Admin' LIMIT 1
[DEBUG|# 1588] Project Load (0.2ms) SELECT
`projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id
not in (0)) LIMIT 1
[DEBUG|# 1588] Package Load (0.2ms) SELECT
`packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND
`packages`.`name` = 'kdelibs' AND (packages.db_project_id not in (0)) LIMIT
1
[DEBUG|# 1588] Project Load (0.2ms) SELECT
`projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in
(0)) LIMIT 1
[DEBUG|# 1588] ----------------- rendering package kdelibs
------------------------
[DEBUG|# 1588] Package Load (0.2ms) SELECT
`packages`.* FROM `packages` WHERE `packages`.`id` = 1234 AND
(packages.db_project_id not in (0)) LIMIT 1
[DEBUG|# 1588] Project Load (0.1ms) SELECT
`projects`.* FROM `projects` WHERE `projects`.`id` = 601 AND (projects.id not
in (0)) LIMIT 1
[DEBUG|# 1588] PackageUserRoleRelationship Load
(0.2ms) SELECT users.login as login, roles.title AS role_name FROM
`package_user_role_relationships` INNER JOIN `roles` ON `roles`.`id` =
`package_user_role_relationships`.`role_id` INNER JOIN `users` ON `users`.`id`
= `package_user_role_relationships`.`bs_user_id` WHERE
`package_user_role_relationships`.`db_package_id` = 1
[DEBUG|# 1588] PackageGroupRoleRelationship Load
(0.2ms) SELECT groups.title as title, roles.title as role_name FROM
`package_group_role_relationships` INNER JOIN `roles` ON `roles`.`id` =
`package_group_role_relationships`.`role_id` INNER JOIN `groups` ON
`groups`.`id` = `package_group_role_relationships`.`bs_group_id` WHERE
`package_group_role_relationships`.`db_package_id` = 1
[DEBUG|# 1588] Flag Load (0.2ms) SELECT
`flags`.* FROM `flags` WHERE `flags`.`db_package_id` = 1 ORDER BY position
[DEBUG|# 1588] ----------------- end rendering package kdelibs
------------------------
[DEBUG|# 1588] Validate XML response:
#<ActionDispatch::Response:0x00000007a055a8> took 2ms
[INFO |# 1588] Completed 200 OK in 21ms (Views: 0.4ms | ActiveRecord:
2.1ms | Backend: 0.0ms | XML: 0.0ms)
[INFO |# 1588] Started PUT "/source/kde4/kdelibs/_meta" for 127.0.0.1
at 2012-12-04 14:28:54 +0100
[INFO |# 1588] Processing by SourceController#package_meta as XML
[INFO |# 1588] 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"}
[DEBUG|# 1588] Validate XML request:
#<ActionDispatch::Request:0x00000007bfb628>
[DEBUG|# 1588] User Load (0.2ms) SELECT `users`.*
FROM `users` WHERE (login = 'king') LIMIT 1
[DEBUG|# 1588] USER found: king
[DEBUG|# 1588] User king initialised
[DEBUG|# 1588] Role Load (0.2ms) SELECT DISTINCT
roles.id FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` =
`roles_users`.`role_id` WHERE `roles_users`.`user_id` = 2 AND `roles`.`title` =
'Admin' LIMIT 1
[DEBUG|# 1588] Project Load (0.2ms) SELECT
`projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id
not in (0)) LIMIT 1
[DEBUG|# 1588] Package Load (0.2ms) SELECT
`packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND
`packages`.`name` = 'kdelibs' AND (packages.db_project_id not in (0)) LIMIT
1
[DEBUG|# 1588] Project Load (0.2ms) SELECT
`projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in
(0)) LIMIT 1
[DEBUG|# 1588] get_by_project_and_name {}
[DEBUG|# 1588] CACHE (0.0ms) SELECT `projects`.*
FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id not in (0))
LIMIT 1
[DEBUG|# 1588] CACHE (0.0ms) SELECT `packages`.*
FROM `packages` WHERE `packages`.`db_project_id` = 2 AND `packages`.`name` =
'kdelibs' AND (packages.db_project_id not in (0)) LIMIT 1
[DEBUG|# 1588] CACHE (0.0ms) SELECT `projects`.*
FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in (0)) LIMIT
1
[DEBUG|# 1588] Flag Load (0.2ms) SELECT `flags`.*
FROM `flags` WHERE `flags`.`db_package_id` = 1 AND `flags`.`flag` = 'lock' AND
`flags`.`status` = 'enable' ORDER BY position LIMIT 1
[DEBUG|# 1588] Flag Load (0.2ms) SELECT
`flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2 AND `flags`.`flag` =
'lock' AND `flags`.`status` = 'enable' LIMIT 1
[DEBUG|# 1588] Flag Load (0.2ms) SELECT `flags`.*
FROM `flags` WHERE `flags`.`db_package_id` = 1 ORDER BY position
[DEBUG|# 1588] flagcheck: package has default state, checking project
[DEBUG|# 1588] Flag Load (0.1ms) SELECT
`flags`.* FROM `flags` WHERE `flags`.`db_project_id` = 2
[DEBUG|# 1588] disabled_for sourceaccess repo: arch: state:enable
[DEBUG|# 1588] 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"})})
[DEBUG|# 1588]  (0.1ms) SAVEPOINT active_record_1
[DEBUG|# 1588] Project Load (0.2ms) SELECT
`projects`.* FROM `projects` WHERE `projects`.`name` = 'home:coolo:test' AND
(projects.id not in (0)) LIMIT 1
[DEBUG|# 1588] Package Load (0.2ms) 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
[DEBUG|# 1588] Project Load (0.2ms) SELECT
`projects`.* FROM `projects` WHERE `projects`.`id` = 601 AND (projects.id not
in (0)) LIMIT 1
[DEBUG|# 1588] PackageUserRoleRelationship Load
(0.2ms) SELECT `package_user_role_relationships`.* FROM
`package_user_role_relationships` WHERE
`package_user_role_relationships`.`db_package_id` = 1
[DEBUG|# 1588] User Load (0.1ms) SELECT
`users`.* FROM `users` WHERE `users`.`id` = 4 LIMIT 1
[DEBUG|# 1588] Role Load (0.1ms) SELECT `roles`.*
FROM `roles` WHERE `roles`.`id` = 3 LIMIT 1
[DEBUG|# 1588] User Load (0.2ms) SELECT
`users`.* FROM `users` WHERE `users`.`id` = 42 LIMIT 1
[DEBUG|# 1588] Role Load (0.1ms) SELECT `roles`.*
FROM `roles` WHERE `roles`.`id` = 6 LIMIT 1
[DEBUG|# 1588] ----------------- rendering package kdelibs
------------------------
[DEBUG|# 1588] PackageUserRoleRelationship Load
(0.2ms) SELECT users.login as login, roles.title AS role_name FROM
`package_user_role_relationships` INNER JOIN `roles` ON `roles`.`id` =
`package_user_role_relationships`.`role_id` INNER JOIN `users` ON `users`.`id`
= `package_user_role_relationships`.`bs_user_id` WHERE
`package_user_role_relationships`.`db_package_id` = 1
[DEBUG|# 1588] PackageGroupRoleRelationship Load
(0.2ms) SELECT groups.title as title, roles.title as role_name FROM
`package_group_role_relationships` INNER JOIN `roles` ON `roles`.`id` =
`package_group_role_relationships`.`role_id` INNER JOIN `groups` ON
`groups`.`id` = `package_group_role_relationships`.`bs_group_id` WHERE
`package_group_role_relationships`.`db_package_id` = 1
[DEBUG|# 1588] ----------------- end rendering package kdelibs
------------------------
[DEBUG|# 1588] [backend] PUT: /source/kde4/kdelibs/_meta?user=king
[DEBUG|# 1593] 2012-12-04 14:28:54 [7805]: PUT
/source/kde4/kdelibs/_meta?user=king
[DEBUG|# 1588] request took 0.011611279
[DEBUG|# 1588] Package Load (142.6ms) SELECT
packages.*, ( @activity:=( packages.activity_index - POWER( TIME_TO_SEC(
TIMEDIFF( NOW(), packages.updated_at ))/86400, 1.55 ) /10 ) ) AS act_tmp,
IF( @activity<0, 0, @activity ) AS activity_value FROM `packages`
WHERE id = 1 LIMIT 1
[DEBUG|# 1588] User Load (0.5ms) SELECT `users`.*
FROM `users` WHERE `users`.`login` = 'fredlibs' LIMIT 1
[DEBUG|# 1588] User Load (0.3ms) SELECT
`users`.* FROM `users` WHERE `users`.`login` = 'adrian' LIMIT 1
[DEBUG|# 1588] PackageGroupRoleRelationship Load
(0.2ms) SELECT `package_group_role_relationships`.* FROM
`package_group_role_relationships` WHERE
`package_group_role_relationships`.`db_package_id` = 1
[DEBUG|# 1588] Group Load (0.1ms) SELECT
`groups`.* FROM `groups` WHERE `groups`.`id` = 99 LIMIT 1
[DEBUG|# 1588] CACHE (0.0ms) SELECT `roles`.* FROM
`roles` WHERE `roles`.`id` = 3 LIMIT 1
[DEBUG|# 1588] Group Load (0.2ms) SELECT
`groups`.* FROM `groups` WHERE `groups`.`title` = 'test_group' LIMIT 1
[DEBUG|# 1588] ----------------- rendering package kdelibs
------------------------
[DEBUG|# 1588] CACHE (0.0ms) SELECT users.login as
login, roles.title AS role_name FROM `package_user_role_relationships` INNER
JOIN `roles` ON `roles`.`id` = `package_user_role_relationships`.`role_id`
INNER JOIN `users` ON `users`.`id` =
`package_user_role_relationships`.`bs_user_id` WHERE
`package_user_role_relationships`.`db_package_id` = 1
[DEBUG|# 1588] CACHE (0.0ms) SELECT groups.title
as title, roles.title as role_name FROM `package_group_role_relationships`
INNER JOIN `roles` ON `roles`.`id` =
`package_group_role_relationships`.`role_id` INNER JOIN `groups` ON
`groups`.`id` = `package_group_role_relationships`.`bs_group_id` WHERE
`package_group_role_relationships`.`db_package_id` = 1
[DEBUG|# 1588] ----------------- end rendering package kdelibs
------------------------
[DEBUG|# 1588] [backend] PUT: /source/kde4/kdelibs/_meta?user=king
[DEBUG|# 1593] 2012-12-04 14:28:54 [7806]: PUT
/source/kde4/kdelibs/_meta?user=king
[DEBUG|# 1588] request took 0.010771505
[DEBUG|# 1588] CACHE (0.0ms) SELECT packages.*, (
@activity:=( packages.activity_index - POWER( TIME_TO_SEC( TIMEDIFF( NOW(),
packages.updated_at ))/86400, 1.55 ) /10 ) ) AS act_tmp,
IF( @activity<0, 0, @activity ) AS activity_value FROM `packages`
WHERE id = 1 LIMIT 1
[DEBUG|# 1588] ----------------- rendering package kdelibs
------------------------
[DEBUG|# 1588] CACHE (0.0ms) SELECT users.login
as login, roles.title AS role_name FROM `package_user_role_relationships` INNER
JOIN `roles` ON `roles`.`id` = `package_user_role_relationships`.`role_id`
INNER JOIN `users` ON `users`.`id` =
`package_user_role_relationships`.`bs_user_id` WHERE
`package_user_role_relationships`.`db_package_id` = 1
[DEBUG|# 1588] CACHE (0.0ms) SELECT groups.title as
title, roles.title as role_name FROM `package_group_role_relationships` INNER
JOIN `roles` ON `roles`.`id` = `package_group_role_relationships`.`role_id`
INNER JOIN `groups` ON `groups`.`id` =
`package_group_role_relationships`.`bs_group_id` WHERE
`package_group_role_relationships`.`db_package_id` = 1
[DEBUG|# 1588] ----------------- end rendering package kdelibs
------------------------
[DEBUG|# 1588] [backend] PUT: /source/kde4/kdelibs/_meta?user=king
[DEBUG|# 1593] 2012-12-04 14:28:54 [7807]: PUT
/source/kde4/kdelibs/_meta?user=king
[DEBUG|# 1588] request took 0.011975611
[DEBUG|# 1588] CACHE (0.0ms) SELECT packages.*,
( @activity:=( packages.activity_index - POWER( TIME_TO_SEC( TIMEDIFF( NOW(),
packages.updated_at ))/86400, 1.55 ) /10 ) ) AS act_tmp,
IF( @activity<0, 0, @activity ) AS activity_value FROM `packages`
WHERE id = 1 LIMIT 1
[DEBUG|# 1588]  (0.6ms) RELEASE SAVEPOINT
active_record_1
[DEBUG|# 1588] Validate XML response:
#<ActionDispatch::Response:0x00000007bfb600> took 1ms
[INFO |# 1588] Completed 200 OK in 240ms (Views: 1.0ms | ActiveRecord:
147.8ms | Backend: 34.4ms | XML: 0.0ms)
[INFO |# 1588] Started GET "/source/kde4/kdelibs/_meta" for 127.0.0.1
at 2012-12-04 14:28:54 +0100
[INFO |# 1588] Processing by SourceController#package_meta as XML
[INFO |# 1588] Parameters: {"project"=>"kde4", "package"=>"kdelibs"}
[DEBUG|# 1588] Validate XML request:
#<ActionDispatch::Request:0x00000005615e90>
[DEBUG|# 1588] no schema found, skipping validation for
{"format"=>"xml", "controller"=>"source", "action"=>"package_meta",
"project"=>"kde4", "package"=>"kdelibs", "method"=>"GET", "type"=>"request"}
[DEBUG|# 1588] User Load (0.4ms) SELECT
`users`.* FROM `users` WHERE (login = 'king') LIMIT 1
[DEBUG|# 1588] USER found: king
[DEBUG|# 1588] User king initialised
[DEBUG|# 1588] get_by_project_and_name {}
[DEBUG|# 1588] Role Load (7.1ms) SELECT DISTINCT
roles.id FROM `roles` INNER JOIN `roles_users` ON `roles`.`id` =
`roles_users`.`role_id` WHERE `roles_users`.`user_id` = 2 AND `roles`.`title` =
'Admin' LIMIT 1
[DEBUG|# 1588] Project Load (0.4ms) SELECT
`projects`.* FROM `projects` WHERE `projects`.`name` = 'kde4' AND (projects.id
not in (0)) LIMIT 1
[DEBUG|# 1588] Package Load (0.3ms) SELECT
`packages`.* FROM `packages` WHERE `packages`.`db_project_id` = 2 AND
`packages`.`name` = 'kdelibs' AND (packages.db_project_id not in (0)) LIMIT 1
[DEBUG|# 1588] Project Load (0.2ms) SELECT
`projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.id not in
(0)) LIMIT 1
[DEBUG|# 1588] Validate XML response:
#<ActionDispatch::Response:0x00000005615e68> took 3ms
[INFO |# 1588] Completed 200 OK in 32ms (Views: 0.6ms | ActiveRecord:
8.3ms | Backend: 0.0ms | XML: 0.0ms)
[DEBUG|# 1588]  (6.6ms) ROLLBACK
[DEBUG|# 1588] kill 1593
+ echo

+ cleanup
+ echo 'Killing backend processes'
Killing backend processes
+ fuser -v <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/>
+ egrep 'perl|ruby'
USER PID ACCESS COMMAND
<http://ci.opensuse.org/job/obs_master_testsuite_api/ws/>:
jenkins ..c.. sh
jenkins ..c.. sh
jenkins ..c.. egrep
+ echo 'Remove log/tmp files to save disc space'
Remove log/tmp files to save disc space
+ rm -rf src/api/log/backend_access.log src/api/log/test.log src/api/tmp/cache
src/api/tmp/pids src/api/tmp/sessions src/api/tmp/sockets 'src/webui/log/*'
src/webui/tmp/cache src/webui/tmp/pids src/webui/tmp/sessions
src/webui/tmp/sockets
+ exit 1
Build step 'Execute shell' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Recording test results
--
To unsubscribe, e-mail: obs-tests+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: obs-tests+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups