summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Skoland <david.skoland@qt.io>2021-03-19 11:03:18 +0100
committerDavid Skoland <david.skoland@qt.io>2021-04-06 07:09:55 +0000
commitfa8945177f6fb313706e854a307566d07cf96317 (patch)
tree1c58a3b969019fde1d32ee5f140e71fde35a97e7
parent8198e15cbd690cdca2f134546f11894804dd6af5 (diff)
Delete unused files
bootstrap has been superseded by coin and qtmetrics has been superseded by Grafana. testresults.qt.io has been moved to: https://git.qt.io/qtqa/testresults.qt.io Task-number: QTQAINFRA-1958 Change-Id: I6341b12c21f3566ae645f31927a6e6848e183b08 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
-rwxr-xr-xbootstrap/centos5_bootstrap_x86.sh100
-rwxr-xr-xbootstrap/centos5_bootstrap_x86_64.sh101
-rwxr-xr-xbootstrap/debian_squeeze_bootstrap.sh101
-rwxr-xr-xbootstrap/mac_106_bootstrap.sh156
-rwxr-xr-xbootstrap/mac_107_bootstrap.sh134
-rw-r--r--bootstrap/mac_108_bootstrap.sh152
-rw-r--r--bootstrap/opensuse123_bootstrap.sh86
-rwxr-xr-xbootstrap/ubuntu1004_bootstrap.sh101
-rwxr-xr-xbootstrap/ubuntu1110_bootstrap.sh86
-rw-r--r--bootstrap/windows_bootstrap.bat156
-rw-r--r--bootstrap/wintools/downloader.ps148
-rw-r--r--bootstrap/wintools/win_bootstrap.pl218
-rw-r--r--non-puppet/README.txt2
-rw-r--r--non-puppet/qtmetrics/ajaxrequest.js172
-rw-r--r--non-puppet/qtmetrics/calendar/calendar.css64
-rw-r--r--non-puppet/qtmetrics/calendar/calendar.js713
-rw-r--r--non-puppet/qtmetrics/calendar/calendar_form.js163
-rw-r--r--non-puppet/qtmetrics/calendar/calendar_form.php599
-rw-r--r--non-puppet/qtmetrics/calendar/change_log.txt154
-rw-r--r--non-puppet/qtmetrics/calendar/classes/tc_calendar.php752
-rw-r--r--non-puppet/qtmetrics/calendar/classes/tc_date.php176
-rw-r--r--non-puppet/qtmetrics/calendar/classes/tc_date_main.php120
-rw-r--r--non-puppet/qtmetrics/calendar/images/btn_next.gifbin165 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics/calendar/images/btn_previous.gifbin166 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics/calendar/images/choose.pngbin2195 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics/calendar/images/close.gifbin64 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics/calendar/images/disable_date_bg.pngbin1533 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics/calendar/images/iconCalendar.gifbin397 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics/ci/calendar/images/iconCalendar.gifbin397 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics/ci/definitions.php130
-rw-r--r--non-puppet/qtmetrics/ci/functions.php162
-rw-r--r--non-puppet/qtmetrics/ci/getautotestvalues.php85
-rw-r--r--non-puppet/qtmetrics/ci/getconfvalues.php87
-rw-r--r--non-puppet/qtmetrics/ci/getdatabasestatus.php138
-rw-r--r--non-puppet/qtmetrics/ci/getfilters.php210
-rw-r--r--non-puppet/qtmetrics/ci/getprojectvalues.php309
-rw-r--r--non-puppet/qtmetrics/ci/graphbuildphases.php591
-rw-r--r--non-puppet/qtmetrics/ci/listbuilds.php209
-rw-r--r--non-puppet/qtmetrics/ci/listconfigurations.php490
-rw-r--r--non-puppet/qtmetrics/ci/listfailingautotests.php209
-rw-r--r--non-puppet/qtmetrics/ci/listgeneraldata.php189
-rw-r--r--non-puppet/qtmetrics/ci/listprojects.php445
-rw-r--r--non-puppet/qtmetrics/ci/metricsboxdefinitions.php78
-rw-r--r--non-puppet/qtmetrics/ci/msgautotestdashboardlevel1.html97
-rw-r--r--non-puppet/qtmetrics/ci/msgautotestdashboardlevel2.html111
-rw-r--r--non-puppet/qtmetrics/ci/msgautotestresultdescription.html54
-rw-r--r--non-puppet/qtmetrics/ci/msgfailuredescription.html51
-rw-r--r--non-puppet/qtmetrics/ci/msgprojectdashboardlevel1.html94
-rw-r--r--non-puppet/qtmetrics/ci/msgprojectdashboardlevel2.html111
-rw-r--r--non-puppet/qtmetrics/ci/msgprojectdashboardlevel3.html95
-rw-r--r--non-puppet/qtmetrics/ci/showautotestdashboard.php2259
-rw-r--r--non-puppet/qtmetrics/ci/showprojectdashboard.php227
-rw-r--r--non-puppet/qtmetrics/commondefinitions.php52
-rw-r--r--non-puppet/qtmetrics/commonfunctions.php189
-rw-r--r--non-puppet/qtmetrics/connect.php70
-rw-r--r--non-puppet/qtmetrics/connectionclose.php56
-rw-r--r--non-puppet/qtmetrics/connectiondefinitions.php71
-rw-r--r--non-puppet/qtmetrics/footer.php48
-rw-r--r--non-puppet/qtmetrics/header.php56
-rw-r--r--non-puppet/qtmetrics/images/Qt_master_logo_CMYK_noback.gifbin3111 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics/images/Thumbs.dbbin8704 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics/images/ajax-loader.gifbin1737 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics/images/favicon.icobin894 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics/images/info.pngbin471 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics/images/open-folder.pngbin195 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics/images/sort-descending.pngbin150 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics/index.php47
-rw-r--r--non-puppet/qtmetrics/menu.php78
-rw-r--r--non-puppet/qtmetrics/metricspageci.php670
-rw-r--r--non-puppet/qtmetrics/metricspagerta.php381
-rw-r--r--non-puppet/qtmetrics/rta/definitions.php79
-rw-r--r--non-puppet/qtmetrics/rta/functions.php231
-rw-r--r--non-puppet/qtmetrics/rta/getdatabasestatus.php81
-rw-r--r--non-puppet/qtmetrics/rta/getfilters.php268
-rw-r--r--non-puppet/qtmetrics/rta/metricsboxdefinitions.php71
-rw-r--r--non-puppet/qtmetrics/rta/msgrtafailures.html93
-rw-r--r--non-puppet/qtmetrics/rta/msgrtahistorylevel1.html109
-rw-r--r--non-puppet/qtmetrics/rta/msgrtahistorylevel2.html112
-rw-r--r--non-puppet/qtmetrics/rta/msgstatuschangesdescription.html71
-rw-r--r--non-puppet/qtmetrics/rta/showrtafailures.php292
-rw-r--r--non-puppet/qtmetrics/rta/showrtahistory.php717
-rw-r--r--non-puppet/qtmetrics/styles.css774
-rw-r--r--non-puppet/qtmetrics/testparser.pl1031
-rw-r--r--non-puppet/qtmetrics2/.htaccess70
-rw-r--r--non-puppet/qtmetrics2/fonts/OpenSans-Regular.ttfbin217360 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics2/images/Qt-logo-small.pngbin2066 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics2/images/favicon.icobin5430 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics2/images/site_map.pngbin98003 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics2/images/site_map.xml2
-rw-r--r--non-puppet/qtmetrics2/images/ui-anim_basic_16x16.gifbin1553 -> 0 bytes
-rw-r--r--non-puppet/qtmetrics2/index.php1179
m---------non-puppet/qtmetrics2/lib/Bootstrap0
m---------non-puppet/qtmetrics2/lib/D30
m---------non-puppet/qtmetrics2/lib/Slim0
m---------non-puppet/qtmetrics2/lib/SlimViews0
m---------non-puppet/qtmetrics2/lib/Twig0
-rw-r--r--non-puppet/qtmetrics2/project_search.php63
-rw-r--r--non-puppet/qtmetrics2/qtmetrics_example.ini86
-rw-r--r--non-puppet/qtmetrics2/scripts/about.js43
-rw-r--r--non-puppet/qtmetrics2/scripts/admin.js137
-rw-r--r--non-puppet/qtmetrics2/scripts/ajax.js184
-rw-r--r--non-puppet/qtmetrics2/scripts/ie10-viewport-bug-workaround.js22
-rw-r--r--non-puppet/qtmetrics2/scripts/loading.js66
-rw-r--r--non-puppet/qtmetrics2/scripts/project_autocomplete.js83
-rw-r--r--non-puppet/qtmetrics2/scripts/reload.js43
-rw-r--r--non-puppet/qtmetrics2/scripts/speedo.js157
-rw-r--r--non-puppet/qtmetrics2/scripts/testset_autocomplete.js83
-rw-r--r--non-puppet/qtmetrics2/scripts/tooltip.js62
-rw-r--r--non-puppet/qtmetrics2/src/Conf.php127
-rw-r--r--non-puppet/qtmetrics2/src/ConfRun.php145
-rw-r--r--non-puppet/qtmetrics2/src/Database.php1868
-rw-r--r--non-puppet/qtmetrics2/src/DatabaseAdmin.php501
-rw-r--r--non-puppet/qtmetrics2/src/Factory.php656
-rw-r--r--non-puppet/qtmetrics2/src/HttpBasicAuth.php109
-rw-r--r--non-puppet/qtmetrics2/src/HttpBasicAuthRoute.php69
-rw-r--r--non-puppet/qtmetrics2/src/Project.php127
-rw-r--r--non-puppet/qtmetrics2/src/ProjectRun.php250
-rw-r--r--non-puppet/qtmetrics2/src/Testfunction.php186
-rw-r--r--non-puppet/qtmetrics2/src/TestfunctionRun.php248
-rw-r--r--non-puppet/qtmetrics2/src/Testrow.php107
-rw-r--r--non-puppet/qtmetrics2/src/TestrowRun.php102
-rw-r--r--non-puppet/qtmetrics2/src/Testset.php184
-rw-r--r--non-puppet/qtmetrics2/src/TestsetRun.php206
-rw-r--r--non-puppet/qtmetrics2/src/test/ConfTest.php90
-rw-r--r--non-puppet/qtmetrics2/src/test/DatabaseAdminTest.php565
-rw-r--r--non-puppet/qtmetrics2/src/test/DatabaseTest.php1472
-rw-r--r--non-puppet/qtmetrics2/src/test/FactoryTest.php632
-rw-r--r--non-puppet/qtmetrics2/src/test/ProjectTest.php90
-rw-r--r--non-puppet/qtmetrics2/src/test/TestfunctionTest.php152
-rw-r--r--non-puppet/qtmetrics2/src/test/TestrowTest.php156
-rw-r--r--non-puppet/qtmetrics2/src/test/TestsetTest.php145
-rw-r--r--non-puppet/qtmetrics2/src/test/qtmetrics_create.sql243
-rw-r--r--non-puppet/qtmetrics2/src/test/qtmetrics_drop.sql75
-rw-r--r--non-puppet/qtmetrics2/src/test/qtmetrics_insert.sql1974
-rw-r--r--non-puppet/qtmetrics2/styles/bootstrap_custom.css158
-rw-r--r--non-puppet/qtmetrics2/styles/qtmetrics.css341
-rw-r--r--non-puppet/qtmetrics2/styles/qtmetrics_svg.css80
-rw-r--r--non-puppet/qtmetrics2/templates/about.html55
-rw-r--r--non-puppet/qtmetrics2/templates/admin.html137
-rw-r--r--non-puppet/qtmetrics2/templates/admin_branches.html234
-rw-r--r--non-puppet/qtmetrics2/templates/admin_data.html202
-rw-r--r--non-puppet/qtmetrics2/templates/build_project.html384
-rw-r--r--non-puppet/qtmetrics2/templates/close.html44
-rw-r--r--non-puppet/qtmetrics2/templates/conf.html628
-rw-r--r--non-puppet/qtmetrics2/templates/dashboard.html219
-rw-r--r--non-puppet/qtmetrics2/templates/empty.html52
-rw-r--r--non-puppet/qtmetrics2/templates/footer.html71
-rw-r--r--non-puppet/qtmetrics2/templates/header.html151
-rw-r--r--non-puppet/qtmetrics2/templates/home.html171
-rw-r--r--non-puppet/qtmetrics2/templates/image.html66
-rw-r--r--non-puppet/qtmetrics2/templates/overview.html233
-rw-r--r--non-puppet/qtmetrics2/templates/testfunction.html299
-rw-r--r--non-puppet/qtmetrics2/templates/testfunctions_bpass.html119
-rw-r--r--non-puppet/qtmetrics2/templates/testfunctions_bpass_data.html239
-rw-r--r--non-puppet/qtmetrics2/templates/testfunctions_duration.html108
-rw-r--r--non-puppet/qtmetrics2/templates/testfunctions_top.html106
-rw-r--r--non-puppet/qtmetrics2/templates/testfunctions_top_data.html130
-rw-r--r--non-puppet/qtmetrics2/templates/testrows_bpass.html111
-rw-r--r--non-puppet/qtmetrics2/templates/testset.html404
-rw-r--r--non-puppet/qtmetrics2/templates/testset_project.html124
-rw-r--r--non-puppet/qtmetrics2/templates/testset_project_data_latest.html136
-rw-r--r--non-puppet/qtmetrics2/templates/testset_project_data_results.html192
-rw-r--r--non-puppet/qtmetrics2/templates/testset_testfunctions.html324
-rw-r--r--non-puppet/qtmetrics2/templates/testsets_duration.html110
-rw-r--r--non-puppet/qtmetrics2/templates/testsets_duration_data.html183
-rw-r--r--non-puppet/qtmetrics2/templates/testsets_flaky.html103
-rw-r--r--non-puppet/qtmetrics2/templates/testsets_flaky_data.html107
-rw-r--r--non-puppet/qtmetrics2/templates/testsets_top.html105
-rw-r--r--non-puppet/qtmetrics2/templates/testsets_top_data.html127
-rw-r--r--non-puppet/qtmetrics2/testparser.pl2177
-rw-r--r--non-puppet/qtmetrics2/testset_search.php65
-rw-r--r--non-puppet/testresults.qt.io/README.txt13
-rwxr-xr-xnon-puppet/testresults.qt.io/cgi-bin/ci-api116
-rw-r--r--non-puppet/testresults.qt.io/ci/.htaccess24
-rw-r--r--non-puppet/testresults.qt.io/ci/status/css/ci-status.css138
-rw-r--r--non-puppet/testresults.qt.io/ci/status/index.html413
-rw-r--r--non-puppet/testresults.qt.io/ci/status/js/jquery.timeago.js152
-rw-r--r--non-puppet/testresults.qt.io/css/qt.css59
-rw-r--r--non-puppet/testresults.qt.io/favicon.icobin5430 -> 0 bytes
-rwxr-xr-xnon-puppet/testresults.qt.io/hooks/post-upload-script6
-rw-r--r--non-puppet/testresults.qt.io/img/bullet.pngbin109 -> 0 bytes
-rw-r--r--non-puppet/testresults.qt.io/img/page_bg.pngbin216 -> 0 bytes
-rw-r--r--non-puppet/testresults.qt.io/img/qt-logo.pngbin3330 -> 0 bytes
-rw-r--r--non-puppet/testresults.qt.io/include/ci-fancy-index-footer.html4
-rw-r--r--non-puppet/testresults.qt.io/include/ci-fancy-index-header.html13
-rw-r--r--non-puppet/testresults.qt.io/index.html30
186 files changed, 0 insertions, 38654 deletions
diff --git a/bootstrap/centos5_bootstrap_x86.sh b/bootstrap/centos5_bootstrap_x86.sh
deleted file mode 100755
index 3b532a2..0000000
--- a/bootstrap/centos5_bootstrap_x86.sh
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-#############################################################################
-##
-## Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-# Bootstrap a clean CentOS 5 system to be managed by puppet.
-
-REPO="$1"
-if [ "x$REPO" = "x" ]; then
- {
- echo "Usage: $(basename $0) git://some/git/repo"
- echo ""
- echo "Set up this machine to be managed using the puppet config in the given"
- echo "git repository (e.g. git://code.qt.io/qtqa/sysadmin.git)"
- } 1>&2
- exit 2
-fi
-
-set -e
-set -x
-
-# Ensure DAG repo is present
-if ! test -f /etc/yum.repos.d/rpmforge.repo; then
-# yes | rpm -Uvh http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
-# yes | rpm -Uvh ftp://ftp.freshrpms.net/pub/dag/redhat/el5/en/x86_64/dag/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
- yes | rpm -Uvh ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/s/project/ss/sspamm/depencies/RHEL5/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
-fi
-# Ensure EPEL repo is present
-if ! test -f /etc/yum.repos.d/epel.repo; then
-# yes | rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
-# yes | rpm -Uvh http://download.fedora.redhat.com/pub/fedora/epel/5/x86_64/epel-release-5-4.noarch.rpm
- yes | rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
-fi
-
-if ! test -e /usr/bin/puppet; then
- echo Installing puppet...
- yum -y install puppet
-else
- echo puppet is already installed
-fi
-
-if ! test -e /usr/bin/git; then
- echo Installing git...
- yum -y install git
-else
- echo git is already installed
-fi
-
-if ! test -d /var/qtqa/sysadmin; then
- echo "Grabbing $REPO ..."
- mkdir -p /var/qtqa
- git clone "$REPO" /var/qtqa/sysadmin
-fi
-
-echo "Configuring this node..."
-/var/qtqa/sysadmin/puppet/nodecfg.pl -interactive
-
-# Run puppet once.
-echo "Running puppet..."
-/var/qtqa/sysadmin/puppet/sync_and_run.pl
-set +x
-echo 'All done :-)'
-
diff --git a/bootstrap/centos5_bootstrap_x86_64.sh b/bootstrap/centos5_bootstrap_x86_64.sh
deleted file mode 100755
index 796cc8e..0000000
--- a/bootstrap/centos5_bootstrap_x86_64.sh
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/sh
-#############################################################################
-##
-## Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-# Bootstrap a clean CentOS 5 system to be managed by puppet.
-
-REPO="$1"
-if [ "x$REPO" = "x" ]; then
- {
- echo "Usage: $(basename $0) git://some/git/repo"
- echo ""
- echo "Set up this machine to be managed using the puppet config in the given"
- echo "git repository (e.g. git://code.qt.io/qtqa/sysadmin.git)"
- } 1>&2
- exit 2
-fi
-
-
-set -e
-set -x
-
-# Ensure DAG repo is present
-if ! test -f /etc/yum.repos.d/rpmforge.repo; then
-# yes | rpm -Uvh http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
-# yes | rpm -Uvh ftp://ftp.freshrpms.net/pub/dag/redhat/el5/en/x86_64/dag/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
- yes | rpm -Uvh ftp://ftp.pbone.net/mirror/ftp.freshrpms.net/pub/freshrpms/pub/dag/redhat/el5/en/x86_64/dag/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
-fi
-# Ensure EPEL repo is present
-if ! test -f /etc/yum.repos.d/epel.repo; then
-# yes | rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
-# yes | rpm -Uvh http://download.fedora.redhat.com/pub/fedora/epel/5/x86_64/epel-release-5-4.noarch.rpm
- yes | rpm -Uvh ftp://ftp.muug.mb.ca/mirror/fedora/epel/5/x86_64/epel-release-5-4.noarch.rpm
-fi
-
-if ! test -e /usr/bin/puppet; then
- echo Installing puppet...
- yum -y install puppet
-else
- echo puppet is already installed
-fi
-
-if ! test -e /usr/bin/git; then
- echo Installing git...
- yum -y install git
-else
- echo git is already installed
-fi
-
-if ! test -d /var/qtqa/sysadmin; then
- echo "Grabbing $REPO ..."
- mkdir -p /var/qtqa
- git clone "$REPO" /var/qtqa/sysadmin
-fi
-
-echo "Configuring this node..."
-/var/qtqa/sysadmin/puppet/nodecfg.pl -interactive
-
-# Run puppet once.
-echo "Running puppet..."
-/var/qtqa/sysadmin/puppet/sync_and_run.pl
-set +x
-echo 'All done :-)'
-
diff --git a/bootstrap/debian_squeeze_bootstrap.sh b/bootstrap/debian_squeeze_bootstrap.sh
deleted file mode 100755
index 6c151f4..0000000
--- a/bootstrap/debian_squeeze_bootstrap.sh
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/bash
-#############################################################################
-##
-## Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-# Bootstrap a clean Debian Squeeze system to be managed by puppet.
-
-REPO="$1"
-if [ "x$REPO" = "x" ]; then
- {
- echo "Usage: $(basename $0) git://some/git/repo"
- echo ""
- echo "Set up this machine to be managed using the puppet config in the given"
- echo "git repository (e.g. git://code.qt.io/qtqa/sysadmin.git)"
- } 1>&2
- exit 2
-fi
-
-set -e
-set -x
-
-if ! test -e /usr/bin/git; then
- echo Installing git...
- apt-get -y -o DPkg::Options::=--force-confnew install git
-else
- echo git is already installed
-fi
-
-BACKPORTS_FILE=/etc/apt/sources.list.d/bootstrap-backports-sources.list
-if ! test -e $BACKPORTS_FILE; then
- echo Setting up backports sources...
- echo 'deb http://backports.debian.org/debian-backports squeeze-backports main' > $BACKPORTS_FILE
- apt-get update
-else
- echo backports sources already exist
-fi
-
-if ! test -e /usr/bin/puppet; then
- echo Installing puppet...
- apt-get -t squeeze-backports -y -o DPkg::Options::=--force-confnew install puppet
-else
- echo puppet is already installed
-fi
-
-if ! test -d /var/qtqa/sysadmin; then
- echo "Grabbing $REPO ..."
- mkdir -p /var/qtqa
- git clone "$REPO" /var/qtqa/sysadmin
-fi
-
-# disable any cdrom sources left over from install
-sed -r -e 's|^deb cdrom:|#deb cdrom:|' -i /etc/apt/sources.list
-
-echo "Configuring this node..."
-/var/qtqa/sysadmin/puppet/nodecfg.pl -interactive
-
-# Run puppet once.
-echo "Running puppet..."
-/var/qtqa/sysadmin/puppet/sync_and_run.pl
-set +x
-echo 'All done :-)'
-
-# remove unneeded temporary backports file
-rm -f $BACKPORTS_FILE
diff --git a/bootstrap/mac_106_bootstrap.sh b/bootstrap/mac_106_bootstrap.sh
deleted file mode 100755
index e20c7db..0000000
--- a/bootstrap/mac_106_bootstrap.sh
+++ /dev/null
@@ -1,156 +0,0 @@
-#!/bin/sh
-#############################################################################
-##
-## Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-# Bootstrap a clean OSX 10.6 system to be managed by puppet.
-# NOTE: because OSX does not ship with a compiler by default, and installing
-# puppet via macports needs a compiler, this script may be a bit prone
-# to failure if you do not install gcc and macports yourself first.
-
-REPO="$1"
-if [ "x$REPO" = "x" ]; then
- {
- echo "Usage: $(basename $0) git://some/git/repo"
- echo ""
- echo "Set up this machine to be managed using the puppet config in the given"
- echo "git repository (e.g. git://code.qt.io/qtqa/sysadmin.git) and optional"
- echo "http location for downloads (e.g., http://ci-files01-hki.ci.local/input/mac)"
- } 1>&2
- exit 2
-fi
-
-INPUT="$2"
-if [ "x$INPUT" = "x" ]; then
- INPUT=http://ci-files01-hki.ci.local/input/mac
-fi
-
-WORKDIR=$HOME/bootstrap_tmp
-OS_VERSION=$(/usr/bin/sw_vers -productVersion)
-INSTALLER_UDPATE=$(pkgutil --pkgs | grep "softwareinstallerupdate.1.0")
-
-set -e
-#set -x
-
-mkdir -p $WORKDIR
-cd $WORKDIR
-
-# Ensures Apple Software Installer Update 1.0 is installed.
-# Required for XCode installation at least on OS X 10.6.8
-if [ $OS_VERSION = "10.6.8" ] && [ "x$INSTALLER_UDPATE" = "x" ]; then
- echo Installing 'Apple Software Installer Update 1.0'...
- curl $INPUT/AppleSoftwareInstallerUpdate.dmg -o installerUpdate.dmg
- hdiutil attach ./installerUpdate.dmg
- installer -pkg /Volumes/Apple\ Software\ Installer\ Update/AppleSoftwareInstallerUpdate.pkg -target /
- hdiutil detach /Volumes/Apple\ Software\ Installer\ Update
- shutdown -r +1 "Rebooting to finish InstallerUpdate. Run the script again after reboot to complete installations."
- exit 1
-else
- echo InstallerUpdate is already installed
-fi
-
-# Ensures xcode is installed.
-# xcode is required for using macports.
-if ! gcc -v > /dev/null 2>&1; then
- echo Installing xcode...
- curl $INPUT/xcode_3.2.6_and_ios_sdk_4.3.dmg -o xcode.dmg
- hdiutil attach ./xcode.dmg
- installer -pkg /Volumes/Xcode\ and\ iOS\ SDK/Xcode\ and\ iOS\ SDK.mpkg -target /
- hdiutil detach /Volumes/Xcode\ and\ iOS\ SDK
-else
- echo xcode is already installed
-fi
-
-# Ensures macports is installed.
-# macports is required for installing puppet.
-if ! test -e /opt/local/bin/port; then
- echo Installing macports...
- curl $INPUT/MacPorts-2.1.2-10.6-SnowLeopard.pkg -o macports.pkg
- installer -pkg ./macports.pkg -target /
- /opt/local/bin/port -v selfupdate
- /opt/local/bin/port sync
-else
- echo macports is already installed
-fi
-
-# Ensures puppet is installed.
-if ! test -e /opt/local/bin/puppet; then
- echo Installing puppet...
- /opt/local/bin/port install puppet
-else
- echo puppet is already installed
-fi
-
-# Encures git is installed
-if ! test -e /opt/local/bin/git; then
- echo Installing git...
- # git was renamed to git-core in macports; allow for either name
- if /opt/local/bin/port info git >/dev/null 2>&1; then
- /opt/local/bin/port install git
- else
- /opt/local/bin/port install git-core
- fi
-else
- echo git is already installed
-fi
-
-# Ensure perl is installed
-if ! test -e /opt/local/bin/perl; then
- echo Installing perl...
- /opt/local/bin/port install perl5
-else
- echo perl is already installed
-fi
-
-if ! test -d /var/qtqa/sysadmin; then
- echo "Grabbing $REPO ..."
- mkdir -p /var/qtqa
- /opt/local/bin/git clone "$REPO" /var/qtqa/sysadmin
-fi
-
-echo "Configuring this node..."
-/usr/bin/env PATH=/opt/local/bin:$PATH /var/qtqa/sysadmin/puppet/nodecfg.pl -interactive
-
-# Run puppet once.
-# From this point on, all setup of this machine is done via puppet.
-echo "Running puppet..."
-/usr/bin/env PATH=/opt/local/bin:$PATH /var/qtqa/sysadmin/puppet/sync_and_run.pl
-set +x
-echo 'All done :-)'
diff --git a/bootstrap/mac_107_bootstrap.sh b/bootstrap/mac_107_bootstrap.sh
deleted file mode 100755
index 3d66f13..0000000
--- a/bootstrap/mac_107_bootstrap.sh
+++ /dev/null
@@ -1,134 +0,0 @@
-#!/bin/sh
-#############################################################################
-##
-## Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-# Bootstrap a clean OSX 10.7 system to be managed by puppet.
-# NOTE: because OSX does not ship with a compiler by default, and installing
-# puppet via macports needs a compiler, this script may be a bit prone
-# to failure if you do not install gcc and macports yourself first.
-
-REPO="$1"
-if [ "x$REPO" = "x" ]; then
- {
- echo "Usage: $(basename $0) git://some/git/repo [http://some/input/location]"
- echo ""
- echo "Set up this machine to be managed using the puppet config in the given"
- echo "git repository (e.g. git://code.qt.io/qtqa/sysadmin.git) and optional"
- echo "http location for downloads (e.g., http://ci-files01-hki.ci.local/input/mac)"
- } 1>&2
- exit 2
-fi
-
-INPUT="$2"
-if [ "x$INPUT" = "x" ]; then
- INPUT=http://ci-files01-hki.ci.local/input/mac
-fi
-
-WORKDIR=$HOME/bootstrap_tmp
-
-set -e
-#set -x
-
-mkdir -p $WORKDIR
-cd $WORKDIR
-
-# Ensures xcode is installed.
-# xcode is required for using macports.
-if ! gcc -v > /dev/null 2>&1; then
- echo Installing xcode...
- curl $INPUT/installxcode_421_lion.dmg -o xcode.dmg
- hdiutil attach ./xcode.dmg
- installer -pkg /Volumes/Install\ Xcode/InstallXcodeLion.pkg -target /
- hdiutil detach /Volumes/Install\ Xcode
- installer -pkg /Applications/Install\ Xcode.app/Contents/Resources/Xcode.mpkg -target /
-else
- echo xcode is already installed
-fi
-
-# Ensures macports is installed.
-# macports is required for installing puppet.
-if ! test -e /opt/local/bin/port; then
- curl $INPUT/MacPorts-2.1.2-10.7-Lion.pkg -o macports.pkg
- installer -pkg ./macports.pkg -target /
- /opt/local/bin/port -v selfupdate
-else
- echo macports is already installed
-fi
-
-# Ensures puppet is installed.
-if ! test -e /opt/local/bin/puppet; then
- echo Installing puppet...
- /opt/local/bin/port install puppet
-else
- echo puppet is already installed
-fi
-
-# Ensures git is installed.
-if ! test -e /opt/local/bin/git; then
- echo Installing git...
- /opt/local/bin/port install git-core
-else
- echo git is already installed
-fi
-
-# Ensures perl is installed.
-if ! test -e /opt/local/bin/perl; then
- echo Installing perl...
- /opt/local/bin/port install perl5
-else
- echo perl is already installed
-fi
-
-if ! test -d /var/qtqa/sysadmin; then
- echo "Grabbing $REPO ..."
- mkdir -p /var/qtqa
- git clone "$REPO" /var/qtqa/sysadmin
-fi
-
-echo "Configuring this node..."
-/usr/bin/env PATH=/opt/local/bin:$PATH /var/qtqa/sysadmin/puppet/nodecfg.pl -interactive
-
-# Run puppet once.
-# From this point on, all setup of this machine is done via puppet.
-echo "Running puppet..."
-/usr/bin/env PATH=/opt/local/bin:$PATH /var/qtqa/sysadmin/puppet/sync_and_run.pl
-set +x
-echo 'All done :-)'
diff --git a/bootstrap/mac_108_bootstrap.sh b/bootstrap/mac_108_bootstrap.sh
deleted file mode 100644
index db217f8..0000000
--- a/bootstrap/mac_108_bootstrap.sh
+++ /dev/null
@@ -1,152 +0,0 @@
-#!/bin/sh
-#############################################################################
-##
-## Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-# Bootstrap a clean OSX 10.8 system to be managed by puppet.
-# NOTE: because OSX does not ship with a compiler by default, and installing
-# puppet via macports needs a compiler, this script may be a bit prone
-# to failure if you do not install gcc and macports yourself first.
-
-REPO="$1"
-if [ "x$REPO" = "x" ]; then
- {
- echo "Usage: $(basename $0) git://some/git/repo [http://some/input/location]"
- echo ""
- echo "Set up this machine to be managed using the puppet config in the given"
- echo "git repository (e.g. git://code.qt.io/qtqa/sysadmin.git) and optional"
- echo "http location for downloads (e.g., http://ci-files01-hki.ci.local/input/mac)"
- } 1>&2
- exit 2
-fi
-
-INPUT="$2"
-if [ "x$INPUT" = "x" ]; then
- INPUT=http://ci-files01-hki.ci.local/input/mac
-fi
-
-WORKDIR=$HOME/bootstrap_tmp
-
-set -e
-#set -x
-
-mkdir -p $WORKDIR
-cd $WORKDIR
-
-# Ensures xcode is installed.
-# xcode is required for using macports.
-if ! test -e /Applications/Xcode.app; then
- echo Installing xcode...
- curl $INPUT/xcode_4.5.2_mountain_lion.dmg -o xcode.dmg
- hdiutil attach ./xcode.dmg
- cp -R /Volumes/Xcode/Xcode.app /Applications/Xcode.app
- # These pkgs are normally installed when you launch XCode first time
- # Install them here to make sure XCode installation is similar as normal users
- installer -pkg /Applications/Xcode.app/Contents/Resources/Packages/MobileDevice.pkg -target /
- installer -pkg /Applications/Xcode.app/Contents/Resources/Packages/MobileDeviceDevelopment.pkg -target /
- hdiutil detach /Volumes/Xcode
-else
- echo xcode is already installed
-fi
-
-# Ensures xcode command line tools are installed.
-if ! gcc -v > /dev/null 2>&1; then
- echo Installing xcode cltools...
- curl $INPUT/xcode_4.5.2_cltools_mountain_lion.dmg -o xcode_cltools.dmg
- hdiutil attach ./xcode_cltools.dmg
- installer -pkg /Volumes/Command\ Line\ Tools\ \(Mountain\ Lion\)/Command\ Line\ Tools\ \(Mountain\ Lion\).mpkg -target /
- hdiutil detach /Volumes/Command\ Line\ Tools\ \(Mountain\ Lion\)
- # User must accept XCode license agreement before macports can be successfully used
- xcodebuild -license
-else
- echo xcode cltools is already installed
-fi
-
-# Ensures macports is installed.
-# macports is required for installing puppet.
-if ! test -e /opt/local/bin/port; then
- echo Installing macports...
- curl $INPUT/MacPorts-2.1.2-10.8-MountainLion.pkg -o macports.pkg
- installer -pkg ./macports.pkg -target /
- /opt/local/bin/port -v selfupdate
- /opt/local/bin/port sync
-else
- echo macports is already installed
-fi
-
-# Ensures puppet is installed.
-if ! test -e /opt/local/bin/puppet; then
- echo Installing puppet...
- /opt/local/bin/port install puppet
-else
- echo puppet is already installed
-fi
-
-# Ensures git is installed.
-if ! test -e /opt/local/bin/git; then
- echo Installing git...
- /opt/local/bin/port install git-core
-else
- echo git is already installed
-fi
-
-# Ensures perl is installed.
-if ! test -e /opt/local/bin/perl; then
- echo Installing perl...
- /opt/local/bin/port install perl5
-else
- echo perl is already installed
-fi
-
-if ! test -d /var/qtqa/sysadmin; then
- echo "Grabbing $REPO ..."
- mkdir -p /var/qtqa
- git clone "$REPO" /var/qtqa/sysadmin
-fi
-
-echo "Configuring this node..."
-/usr/bin/env PATH=/opt/local/bin:$PATH /var/qtqa/sysadmin/puppet/nodecfg.pl -interactive
-
-# Run puppet once.
-# From this point on, all setup of this machine is done via puppet.
-echo "Running puppet..."
-/usr/bin/env PATH=/opt/local/bin:$PATH /var/qtqa/sysadmin/puppet/sync_and_run.pl
-set +x
-echo 'All done :-)'
diff --git a/bootstrap/opensuse123_bootstrap.sh b/bootstrap/opensuse123_bootstrap.sh
deleted file mode 100644
index a357706..0000000
--- a/bootstrap/opensuse123_bootstrap.sh
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/bash
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-# Bootstrap a clean OpenSuSE 12.3 system to be managed by puppet.
-
-REPO="$1"
-if [ "x$REPO" = "x" ]; then
- {
- echo "Usage: $(basename $0) git://some/git/repo"
- echo ""
- echo "Set up this machine to be managed using the puppet config in the given"
- echo "git repository (e.g. git://code.qt.io/qtqa/sysadmin.git)"
- } 1>&2
- exit 2
-fi
-
-set -e
-set -x
-
-if ! test -e /usr/bin/git; then
- echo Installing git...
- zypper install -y git-core
-else
- echo git is already installed
-fi
-
-if ! test -e /usr/bin/puppet; then
- echo Installing puppet...
- zypper install -y puppet
-else
- echo puppet is already installed
-fi
-
-if ! test -d /var/qtqa/sysadmin; then
- echo "Grabbing $REPO ..."
- mkdir -p /var/qtqa
- git clone "$REPO" /var/qtqa/sysadmin
-fi
-
-echo "Configuring this node..."
-/var/qtqa/sysadmin/puppet/nodecfg.pl -interactive
-
-# Run puppet once.
-echo "Running puppet..."
-/var/qtqa/sysadmin/puppet/sync_and_run.pl
-set +x
-echo 'All done :-)'
diff --git a/bootstrap/ubuntu1004_bootstrap.sh b/bootstrap/ubuntu1004_bootstrap.sh
deleted file mode 100755
index 8eda350..0000000
--- a/bootstrap/ubuntu1004_bootstrap.sh
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/bash
-#############################################################################
-##
-## Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-# Bootstrap a clean Ubuntu 10.04 system to be managed by puppet.
-
-REPO="$1"
-if [ "x$REPO" = "x" ]; then
- {
- echo "Usage: $(basename $0) git://some/git/repo"
- echo ""
- echo "Set up this machine to be managed using the puppet config in the given"
- echo "git repository (e.g. git://code.qt.io/qtqa/sysadmin.git)"
- } 1>&2
- exit 2
-fi
-
-set -e
-set -x
-
-if ! test -e /usr/bin/git; then
- echo Installing git...
- apt-get -y -o DPkg::Options::=--force-confnew install git-core
-else
- echo git is already installed
-fi
-
-PUPPETLIST_FILE=/etc/apt/sources.list.d/bootstrap-puppet.list
-if ! test -e $PUPPETLIST_FILE; then
- echo Setting up bootstrap-puppet.list...
- echo 'deb http://apt.puppetlabs.com/ precise main' > $PUPPETLIST_FILE
- echo 'deb-src http://apt.puppetlabs.com/ precise main' >> $PUPPETLIST_FILE
- apt-key adv --keyserver keyserver.ubuntu.com --recv 7F438280EF8D349F
- apt-get update
-else
- echo bootstrap-puppet.list already exist
-fi
-
-
-if ! test -e /usr/bin/puppet; then
- echo Installing puppet...
- apt-get -y -o DPkg::Options::=--force-confnew install puppet
- rm -f $PUPPETLIST_FILE
-else
- echo puppet is already installed
-fi
-
-
-
-if ! test -d /var/qtqa/sysadmin; then
- echo "Grabbing $REPO ..."
- mkdir -p /var/qtqa
- git clone "$REPO" /var/qtqa/sysadmin
-fi
-
-echo "Configuring this node..."
-/var/qtqa/sysadmin/puppet/nodecfg.pl -interactive
-
-# Run puppet once.
-echo "Running puppet..."
-/var/qtqa/sysadmin/puppet/sync_and_run.pl
-set +x
-echo 'All done :-)'
diff --git a/bootstrap/ubuntu1110_bootstrap.sh b/bootstrap/ubuntu1110_bootstrap.sh
deleted file mode 100755
index 5d0be48..0000000
--- a/bootstrap/ubuntu1110_bootstrap.sh
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/bash
-#############################################################################
-##
-## Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-# Bootstrap a clean Ubuntu 11.10 system to be managed by puppet.
-
-REPO="$1"
-if [ "x$REPO" = "x" ]; then
- {
- echo "Usage: $(basename $0) git://some/git/repo"
- echo ""
- echo "Set up this machine to be managed using the puppet config in the given"
- echo "git repository (e.g. git://code.qt.io/qtqa/sysadmin.git)"
- } 1>&2
- exit 2
-fi
-
-set -e
-set -x
-
-if ! test -e /usr/bin/puppet; then
- echo Installing puppet...
- apt-get -y -o DPkg::Options::=--force-confnew install puppet
-else
- echo puppet is already installed
-fi
-
-if ! test -e /usr/bin/git; then
- echo Installing git...
- apt-get -y -o DPkg::Options::=--force-confnew install git-core
-else
- echo git is already installed
-fi
-
-if ! test -d /var/qtqa/sysadmin; then
- echo "Grabbing $REPO ..."
- mkdir -p /var/qtqa
- git clone "$REPO" /var/qtqa/sysadmin
-fi
-
-echo "Configuring this node..."
-/var/qtqa/sysadmin/puppet/nodecfg.pl -interactive
-
-# Run puppet once.
-echo "Running puppet..."
-/var/qtqa/sysadmin/puppet/sync_and_run.pl
-set +x
-echo 'All done :-)'
diff --git a/bootstrap/windows_bootstrap.bat b/bootstrap/windows_bootstrap.bat
deleted file mode 100644
index ccfda74..0000000
--- a/bootstrap/windows_bootstrap.bat
+++ /dev/null
@@ -1,156 +0,0 @@
-:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-::
-:: Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-:: Contact: http://www.qt-project.org/legal
-::
-:: This file is part of the Qt Toolkit.
-::
-:: $QT_BEGIN_LICENSE:LGPL$
-:: Commercial License Usage
-:: Licensees holding valid commercial Qt licenses may use this file in
-:: accordance with the commercial license agreement provided with the
-:: Software or, alternatively, in accordance with the terms contained in
-:: a written agreement between you and Digia. For licensing terms and
-:: conditions see http://qt.digia.com/licensing. For further information
-:: use the contact form at http://qt.digia.com/contact-us.
-::
-:: GNU Lesser General Public License Usage
-:: Alternatively, this file may be used under the terms of the GNU Lesser
-:: General Public License version 2.1 as published by the Free Software
-:: Foundation and appearing in the file LICENSE.LGPL included in the
-:: packaging of this file. Please review the following information to
-:: ensure the GNU Lesser General Public License version 2.1 requirements
-:: will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-::
-:: In addition, as a special exception, Digia gives you certain additional
-:: rights. These rights are described in the Digia Qt LGPL Exception
-:: version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-::
-:: GNU General Public License Usage
-:: Alternatively, this file may be used under the terms of the GNU
-:: General Public License version 3.0 as published by the Free Software
-:: Foundation and appearing in the file LICENSE.GPL included in the
-:: packaging of this file. Please review the following information to
-:: ensure the GNU General Public License version 3.0 requirements will be
-:: met: http://www.gnu.org/copyleft/gpl.html.
-::
-::
-:: $QT_END_LICENSE$
-::
-:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-@echo off
-setlocal
-set CURFILE=%0
-if "%1" == "/?" goto help
-if "%1" == "" goto help
-
-:loop
-if "%1" == "" goto endloop
-set PARAM=%1
-if "%PARAM:~0,3%" == "/g:" (set GITURL=%PARAM:~3%&shift&goto loop)
-if "%PARAM:~0,3%" == "/d:" (set DLURL=%PARAM:~3%&shift&goto loop)
-if "%PARAM:~0,3%" == "/p:" (set PUPPETURL=%PARAM:~3%&shift&goto loop)
-echo Invalid syntax!&goto help
-:endloop
-
-if "%GITURL%" == "" goto help
-if "%DLURL%" == "" set DLURL=http://ci-files01-hki.ci.local/input/
-if "" neq "%PUPPETURL%" set PUPPETURL= --puppet-url %PUPPETURL%
-
-set PORTABLEPERLVERSION=strawberry-perl-5.16.2.2-32bit-portable.zip
-
-echo Downloading Portable Perl to c:\temp
-powershell -ExecutionPolicy Unrestricted -command ".\'wintools\downloader.ps1' -source \"%DLURL%/windows/%PORTABLEPERLVERSION%\" -destination \"c:\temp\%PORTABLEPERLVERSION%\"; Exit $LASTEXITCODE" >c:\temp\windows_bootstrap-get_perl_portable.txt 2>&1
-if NOT %ERRORLEVEL% == 0 goto :error_in_download_perl
-del /q c:\temp\windows_bootstrap-get_perl_portable.txt
-echo OK
-
-echo Downloading Unzip to c:\utils\unzip
-powershell -ExecutionPolicy Unrestricted -command ".\'wintools\downloader.ps1' -source \"%DLURL%/windows/unzip.exe\" -destination \"c:\utils\unzip\unzip.exe\"; Exit $LASTEXITCODE" >c:\temp\windows_bootstrap-get_unzip.txt 2>&1
-if NOT %ERRORLEVEL% == 0 goto :error_in_download_unzip
-del /q c:\temp\windows_bootstrap-get_unzip.txt
-echo OK
-
-echo Unzipping Portable Perl to c:\utils
-c:\utils\unzip\unzip.exe -o c:\temp\%PORTABLEPERLVERSION% -d c:\utils\strawberryperl_portable >nul 2>c:\temp\Portable_Perl_unzip.txt
-if NOT %ERRORLEVEL% == 0 goto :error_in_unzipping_portable_perl
-del /q c:\temp\Portable_Perl_unzip.txt
-echo OK
-
-:: Setting Perl environment variables
-set STRAWBERRYPERL_ROOT=c:\utils\strawberryperl_portable
-set PERL5LIB=
-set PERL_LOCAL_LIB_ROOT=
-set PERL_MB_OPT=
-set PERL_MM_OPT=
-path=%STRAWBERRYPERL_ROOT%\c\bin;%STRAWBERRYPERL_ROOT%\perl\site\bin;%STRAWBERRYPERL_ROOT%\perl\bin;%PATH%
-
-echo Run 'CPAN Win32::Shortcut'
-call c:\utils\strawberryperl_portable\perl\bin\cpan.bat Win32::Shortcut >nul 2>c:\temp\cpan_shortcut_install.txt
-if NOT %ERRORLEVEL% == 0 goto :error_in_cpan_shortcut_install
-del /q c:\temp\cpan_shortcut_install.txt
-echo OK
-
-echo %STRAWBERRYPERL_ROOT%\perl\bin\perl.exe wintools\win_boostrap.pl%PUPPETURL% %GITURL%
-%STRAWBERRYPERL_ROOT%\perl\bin\perl.exe wintools\win_bootstrap.pl%PUPPETURL% %GITURL%
-if NOT %ERRORLEVEL% == 0 goto :error_in_bootstrap_pl
-echo OK
-
-goto end
-
-:help
-echo.
-echo Usage: %CURFILE% /g:^<url^> [/d:^<url^>] [/p:^<url^>]
-echo.
-echo /g:^<url^> Define Git repository where puppet configuration is located.
-echo E.g. git://code.qt.io/qtqa/sysadmin.git
-echo.
-echo OPTIONAL:
-echo /d:^<url^> Define download location where binaries are located.
-echo If omitted 'http://ci-files01-hki.ci.local/input/' is used.
-echo.
-echo /p:^<url^> Pass on Puppet download location. This parameter is passed
-echo on to 'win_boostrap.pl'.
-echo If omitted 'win_Bootstrap.pl' uses it's default value.
-echo.
-echo EXAMPLE:
-echo %CURFILE% /g:git://code.qt.io/qtqa/sysadmin.git /d:http://ci-files01-hki.ci.local/input/ /p:https://downloads.puppetlabs.com/windows/puppet-3.0.0rc2.msi
-echo.
-goto end
-
-:error_in_download_perl
-echo.
-echo Error in getting Portable Perl
-echo.
-type c:\temp\windows_bootstrap-get_perl_portable.txt
-goto end
-
-:error_in_download_unzip
-echo.
-echo Error in getting Unzip
-echo.
-type c:\temp\windows_bootstrap-get_unzip.txt
-goto end
-
-:error_in_unzipping_portable_perl
-echo.
-echo Error in unzipping Portable Perl
-echo.
-type c:\temp\Portable_Perl_unzip.txt
-goto end
-
-:error_in_cpan_shortcut_install.txt
-echo.
-echo Error in installing Win32::Shortcut
-echo.
-type c:\temp\cpan_shortcut_install.txt
-goto end
-
-:error_in_bootstrap_pl
-echo.
-echo Error in running win_bootstrap.pl
-echo.
-goto end
-
-:end
-endlocal
diff --git a/bootstrap/wintools/downloader.ps1 b/bootstrap/wintools/downloader.ps1
deleted file mode 100644
index 2cd3290..0000000
--- a/bootstrap/wintools/downloader.ps1
+++ /dev/null
@@ -1,48 +0,0 @@
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-param([string]$source = "source", [string]$destination = "destination")
-$ErrorActionPreference = "Stop"
-$path = split-path $destination
-if (!(Test-Path $path)) {
- mkdir $path
-}
-$wc = New-Object System.Net.WebClient
-$wc.DownloadFile($source, $destination) \ No newline at end of file
diff --git a/bootstrap/wintools/win_bootstrap.pl b/bootstrap/wintools/win_bootstrap.pl
deleted file mode 100644
index 5101ec6..0000000
--- a/bootstrap/wintools/win_bootstrap.pl
+++ /dev/null
@@ -1,218 +0,0 @@
-#!/usr/bin/env perl
-#############################################################################
-##
-## Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-use strict;
-use warnings;
-
-# Bootstrap a clean-ish Windows system to be managed by puppet.
-# Prereqs:
-# (1) git is installed
-# (2) perl is installed (preferably strawberry perl)
-
-use English qw( -no_match_vars );
-use File::Basename qw( dirname );
-use File::Path qw( mkpath );
-use File::Spec::Functions qw( catfile tmpdir );
-use Getopt::Long;
-use LWP::UserAgent;
-
-sub usage
-{
- my ($exitcode) = @_;
-
- warn <<'END_USAGE';
-Usage: win_bootstrap.pl [options] git://some/git/repo
-
-Set up this machine to be managed using the puppet config in the given
-git repository (e.g. git://code.qt.io/qtqa/sysadmin)
-
-Options:
-
- --puppet-url <url> Use the specified puppet installer (.msi)
-
-END_USAGE
-
- if (defined( $exitcode )) {
- exit $exitcode;
- }
-
- return;
-}
-
-sub system_or_die
-{
- my (@cmd) = @_;
-
- system( @cmd );
- if (my $status = $?) {
- local $LIST_SEPARATOR = '] [';
- die "command exited with status $status: [@cmd]\n";
- }
-
- return;
-}
-
-sub find_puppet
-{
- foreach my $key ('ProgramFiles', 'ProgramFiles(x86)') {
- my $path = $ENV{ $key };
- next unless $path;
-
- my $candidate = "$path\\Puppet Labs\\Puppet\\bin\\puppet.bat";
- if (-f $candidate) {
- return $candidate;
- }
- }
-
- return 'puppet';
-}
-
-sub maybe_install_puppet
-{
- my ($url) = @_;
-
- my $puppet = find_puppet( );
-
- if (0 == system($puppet, '--version')) {
- print "Puppet is already installed :)\n";
- return;
- }
-
- my $ua = LWP::UserAgent->new( );
- my $msi = catfile( tmpdir( ), 'qtqa_puppet.msi' );
-
- print "Fetching $url ...\n";
- my $response = $ua->get( $url, ':content_file' => $msi );
- if (!$response->is_success) {
- die "failed!\n".$response->decoded_content( );
- }
-
- print "Installing $msi ...\n";
- system_or_die(qw(msiexec /qb /i), $msi);
-
- print "Testing puppet ...\n";
- $puppet = find_puppet( );
-
- system_or_die($puppet, '--version');
-
- print "puppet installed OK :)\n";
-
- return;
-}
-
-sub maybe_git_clone
-{
- my ($url) = @_;
-
- my $dest = 'c:\qtqa\sysadmin';
-
- if (-d $dest) {
- print "$dest already exists :)\n";
- return;
- }
-
- my $dest_parent = dirname( $dest );
- if (! -d $dest_parent) {
- mkpath( $dest_parent );
- }
-
- # Avoid usage of git_mirror.pl from bootstrap script
- local $ENV{ HARDGIT_SKIP } = 1;
-
- print "git clone $url ...\n";
- system_or_die( 'git', 'clone', $url, $dest );
-
- print "OK!\n";
-
- return;
-}
-
-sub configure
-{
- print "Configuring this node...\n";
-
- system_or_die( 'perl', 'c:\qtqa\sysadmin\puppet\nodecfg.pl', '-interactive' );
-
- return;
-}
-
-sub run_puppet
-{
- print "Running puppet...\n";
-
- my $script = 'c:\qtqa\sysadmin\puppet\sync_and_run.bat';
-
- system_or_die( $script );
-
- return;
-}
-
-sub run
-{
- my $puppet_url = 'https://downloads.puppetlabs.com/windows/puppet-3.0.0rc2.msi';
-
- GetOptions(
- 'h|help|?' => sub { usage( 1 ) },
- 'puppet-url=s' => \$puppet_url,
- ) || die $!;
-
- if (@ARGV != 1) {
- warn "Wrong number of arguments.\n";
- usage( 2 );
- }
-
- my $repo_url = shift @ARGV;
-
- maybe_install_puppet( $puppet_url );
- maybe_git_clone( $repo_url );
-
- configure( );
- run_puppet( );
-
- print "All done :-)\n";
-
- return;
-}
-
-run( ) unless caller;
-1;
-
diff --git a/non-puppet/README.txt b/non-puppet/README.txt
deleted file mode 100644
index fe56e47..0000000
--- a/non-puppet/README.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Under this directory can be found setup files for hosts which,
-for whatever reason, are not entirely controlled by puppet.
diff --git a/non-puppet/qtmetrics/ajaxrequest.js b/non-puppet/qtmetrics/ajaxrequest.js
deleted file mode 100644
index e699345..0000000
--- a/non-puppet/qtmetrics/ajaxrequest.js
+++ /dev/null
@@ -1,172 +0,0 @@
-/****************************************************************************
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-****************************************************************************/
-
-var metricRequest = new Array();
-var filterRequest;
-
-/* Create metric instance as required by the browser */
-function createMetricRequestObject(id)
-{
- if (window.XMLHttpRequest)
- metricRequest[id] = new XMLHttpRequest(); // for IE7+, Firefox, Chrome, Opera, Safari
- else
- metricRequest[id] = new ActiveXObject("Microsoft.XMLHTTP"); // for IE6 and IE5
-}
-
-/* Create filter instance as required by the browser */
-function createFilterRequestObject()
-{
- if (window.XMLHttpRequest)
- filterRequest = new XMLHttpRequest(); // for IE7+, Firefox, Chrome, Opera, Safari
- else
- filterRequest = new ActiveXObject("Microsoft.XMLHTTP"); // for IE6 and IE5
-}
-
-/* Request metric data (e.g. from database) */
-function getMetricData(metricId, filepath, round, filters)
-{
- if (filters == "") {
- document.getElementById("metricsBox"+metricId).innerHTML = "";
- return;
- }
- filters = encodeURIComponent(filters); // Encode the parameters to follow correct URL encoding (e.g. possible "+" characters)
- createMetricRequestObject(metricId);
- metricRequest[metricId].open("GET",filepath+"?round="+round+"&filters="+filters,true);
- metricRequest[metricId].send();
- metricRequest[metricId].onreadystatechange = function(index)
- {
- return function()
- {
- showMetricData(index);
- };
- } (metricId);
-}
-
-/* Show metric result in the related metrics box (div) */
-function showMetricData(metricId)
-{
- if (metricRequest[metricId].readyState == 4 && metricRequest[metricId].status == 200) {
- var response = metricRequest[metricId].responseText;
- document.getElementById("metricsBox"+metricId).innerHTML = response;
- getMetricDataRequestCompleted(metricId);
- return;
- }
-}
-
-/* Request filters (from database) */
-function getFilters(div, filepath)
-{
- createFilterRequestObject();
- filterRequest.open("GET",filepath,true);
- filterRequest.send();
- filterRequest.onreadystatechange = function(index)
- {
- return function()
- {
- showFilters(index);
- };
- } (div);
-}
-
-/* Show filters in the related div */
-function showFilters(div)
-{
- if (filterRequest.readyState == 4 && filterRequest.status == 200) {
- var response = filterRequest.responseText;
- document.getElementById(div).innerHTML = response;
- getFiltersRequestCompleted();
- return;
- }
-}
-
-/* Request database status (initial loading of the page) */
-function getDatabaseStatusInitial(div, filepath, initial, timeOffset)
-{
- timeOffset = encodeURIComponent(timeOffset); // Encode the parameters to follow correct URL encoding (e.g. possible "+" character in "GMT+0300")
- createFilterRequestObject();
- filterRequest.open("GET",filepath+"?initial="+initial+"&timeoffset="+timeOffset,true);
- filterRequest.send();
- filterRequest.onreadystatechange = function(index)
- {
- return function()
- {
- showDatabaseStatusInitial(index);
- };
- } (div);
-}
-
-/* Request database status (normal use of the page) */
-function getDatabaseStatus(div, filepath, initial, timeOffset)
-{
- timeOffset = encodeURIComponent(timeOffset); // Encode the parameters to follow correct URL encoding (e.g. possible "+" character in "GMT+0300")
- createFilterRequestObject();
- filterRequest.open("GET",filepath+"?initial="+initial+"&timeoffset="+timeOffset,true);
- filterRequest.send();
- filterRequest.onreadystatechange = function(index)
- {
- return function()
- {
- showDatabaseStatus(index);
- };
- } (div);
-}
-
-/* Show database status in the related div (initial loading of the page) */
-function showDatabaseStatusInitial(div)
-{
- if (filterRequest.readyState == 4 && filterRequest.status == 200) {
- var response = filterRequest.responseText;
- document.getElementById(div).innerHTML = response;
- getDatabaseStatusInitialRequestCompleted();
- return;
- }
-}
-
-/* Show database status in the related div (normal use of the page) */
-function showDatabaseStatus(div)
-{
- if (filterRequest.readyState == 4 && filterRequest.status == 200) {
- var response = filterRequest.responseText;
- document.getElementById(div).innerHTML = response;
- getDatabaseStatusRequestCompleted();
- return;
- }
-}
diff --git a/non-puppet/qtmetrics/calendar/calendar.css b/non-puppet/qtmetrics/calendar/calendar.css
deleted file mode 100644
index b109729..0000000
--- a/non-puppet/qtmetrics/calendar/calendar.css
+++ /dev/null
@@ -1,64 +0,0 @@
-.font, .font input select textarea { font-family: tahoma; font-size: 11px; }
-a.tclabel span { text-decoration: none; font-family: tahoma; cursor: pointer; }
-
-#calendar-page { background-color: #6699CC; display: inline-block; }
-
-#calendar-header { padding-top: 2px; }
-#calendar-header .closeme { padding: 0px 3px 2px 0px; }
-
-#calendar-body { padding: 2px 3px 3px 3px; }
-#calendar-body .general { background-color: #FFFFFF; }
-#calendar-body .header { background-color: #6699CC; color: #FFFFFF; font-size: 9px; }
-#calendar-body .othermonth { background-color: #EEEEEE; color: #AAAAAA; }
-#calendar-body .othermonth a:link { text-decoration : none; color: #CCFFCC; }
-#calendar-body .othermonth a:visited { text-decoration : none; color: #CCFFCC; }
-#calendar-body .othermonth a:hover { text-decoration : none; color: #FFFFFF; }
-#calendar-body td div { padding: 3px; width: 15px; white-space: nowrap; }
-#calendar-body td a { display: block; white-space: nowrap; }
-#calendar-body a:link { text-decoration : none; color: #000000; }
-#calendar-body a:visited { text-decoration : none; color: #000000; }
-#calendar-body a:hover { text-decoration : none; color: #FF0000; background-color: #FFFFCC; }
-#calendar-body .disabledate { color: #AAAAAA; background: url(images/disable_date_bg.png) no-repeat center center #EEEEEE; }
-#calendar-body .today { background-color: #CCFFCC; }
-#calendar-body .select div { /*background-color: #FFCC99; border: 1px solid #006600;*/ background: url(images/choose.png) no-repeat center center; }
-#calendar-body .wk-hdr { font-size: 9px; }
-#calendar-body .wk { background-color: #CCCCFF; font-size: 9px; color: #003399; }
-
-#calendar-body .refresh { color: #FFFFFF; padding: 10px 3px 3px; }
-#calendar-body .refresh .txt-container { padding: 25px 10px 10px; height: 50px; }
-
-#calendar-body .mon {}
-#calendar-body .tue {}
-#calendar-body .wed {}
-#calendar-body .thu {}
-#calendar-body .fri {}
-#calendar-body .sat { color: #6666CC; }
-#calendar-body .sat a:link { color: #6666CC; }
-#calendar-body .sun { color: #993300; }
-#calendar-body .sun a:link { color: #993300; }
-
-#calendar-footer { background-color: #CCCCCC; font-size: 9px; overflow: hidden; }
-#calendar-footer .btn { width: 16px; }
-#calendar-footer a.txt { line-height: 19px; }
-#calendar-footer a.txt:link { text-decoration : none; color: #000000; padding: 5px 2px; }
-#calendar-footer a.txt:visited { text-decoration : none; color: #000000; }
-#calendar-footer a.txt:hover { text-decoration : none; color: #FF0000; }
-#calendar-footer a>img { margin-top: 1px; }
-#calendar-footer .links { text-align: center; margin: auto 25px; }
-#calendar-footer .links>div { display: inline; }
-
-#calendar-header, #calendar-body, #calendar-footer { padding-left: 1px; padding-right: 1px; }
-#calendar-container { }
-
-.tcday, .tcmonth, .tcyear { font-size: 11px; z-index: 10; }
-
-.date-tccontainer { border: 1px solid #CCCCCC; background-color: #EFEFEF; padding: 2px; float: left; margin-right: 2px; text-align: center; text-decoration: none; white-space: nowrap; }
-
-#calendarform { margin: 0px; padding: 0px; }
-#calendarform ul { margin: 0px; padding: 0px; list-style: none; }
-#calendarform ul li { display: inline; }
-
-.calendar-border { border: 1px solid #999999; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; overflow: hidden; }
-.div_calendar { width: 10px; height: 10px; }
-
-#calendar-alert { background-color: #CC3300; border: 1px solid #993300; color: #FFFFFF; padding: 3px; margin: 2px; border-radius: 5px 5px 5px 5px; -moz-border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; } \ No newline at end of file
diff --git a/non-puppet/qtmetrics/calendar/calendar.js b/non-puppet/qtmetrics/calendar/calendar.js
deleted file mode 100644
index 948e5c4..0000000
--- a/non-puppet/qtmetrics/calendar/calendar.js
+++ /dev/null
@@ -1,713 +0,0 @@
-/****************************************************************************
-##
-## Copyright
-## Contact: http://www.triconsole.com/php/calendar_datepicker.php
-##
-****************************************************************************/
-
-var hideCalendarTimer = new Array();
-
-function calendarTimer(objname){
- this.objname = objname;
- this.timers = new Array();
-}
-
-function toggleCalendar(objname, auto_hide, hide_timer){
- var div_obj = document.getElementById('div_'+objname);
- if (div_obj != null){
- if (div_obj.style.visibility=="hidden") {
- div_obj.style.visibility = 'visible';
- document.getElementById(objname+'_frame').contentWindow.adjustContainer();
-
- //auto hide if inactivities with calendar after open
- if (auto_hide){
- if (hide_timer < 3000) hide_timer = 3000; //put default 3 secs
- prepareHide(objname, hide_timer);
- }
- }else{
- div_obj.style.visibility = 'hidden';
- }
- }
-}
-
-function showCalendar(objname){
- var div_obj = document.getElementById('div_'+objname);
- if (div_obj != null){
- div_obj.style.visibility = 'visible';
- document.getElementById(objname+'_frame').contentWindow.adjustContainer();
- }
-}
-
-function hideCalendar(objname){
- var div_obj = document.getElementById('div_'+objname);
- if (div_obj != null){
- div_obj.style.visibility = 'hidden';
- }
-}
-
-function prepareHide(objname, timeout){
- cancelHide(objname);
-
- var timer = setTimeout(function(){ hideCalendar(objname) }, timeout);
-
- var found = false;
- for (i=0; i<this.hideCalendarTimer.length; i++){
- if (this.hideCalendarTimer[i].objname == objname){
- found = true;
- this.hideCalendarTimer[i].timers[this.hideCalendarTimer[i].timers.length] = timer;
- }
- }
-
- if (!found){
- var obj = new calendarTimer(objname);
- obj.timers[obj.timers.length] = timer;
-
- this.hideCalendarTimer[this.hideCalendarTimer.length] = obj;
- }
-}
-
-function cancelHide(objname){
- for (i=0; i<this.hideCalendarTimer.length; i++){
- if (this.hideCalendarTimer[i].objname == objname){
- var timers = this.hideCalendarTimer[i].timers;
- for (n=0; n<timers.length; n++){
- clearTimeout(timers[n]);
- }
- this.hideCalendarTimer[i].timers = new Array();
- break;
- }
- }
-}
-
-function setValue(objname, d){
- //compare if value is changed
- var changed = (document.getElementById(objname).value != d) ? true : false;
-
- updateValue(objname, d);
-
-// var dp = document.getElementById(objname+"_dp").value;
-// if (dp) toggleCalendar(objname);
-
- checkPairValue(objname, d);
-
- //calling calendar_onchanged script
- if (document.getElementById(objname+"_och").value != "" && changed) calendar_onchange(objname);
-
- var date_array = document.getElementById(objname).value.split("-");
-
- tc_submitDate(objname, date_array[2], date_array[1], date_array[0]);
-}
-
-function updateValue(objname, d){
- document.getElementById(objname).value = d;
-
- var dp = document.getElementById(objname+"_dp").value;
- if (dp == true){
- var date_array = d.split("-");
-
- var inp = document.getElementById(objname+"_inp").value;
- if (inp == true){
-
- document.getElementById(objname+"_day").value = padString(date_array[2].toString(), 2, "0");
- document.getElementById(objname+"_month").value = padString(date_array[1].toString(), 2, "0");
- document.getElementById(objname+"_year").value = padString(date_array[0].toString(), 4, "0");
-
- //check for valid day
- tc_updateDay(objname, date_array[0], date_array[1], date_array[2]);
-
- }else{
- if (date_array[0] > 0 && date_array[1] > 0 && date_array[2] > 0){
- //update date pane
-
- var myDate = new Date();
- myDate.setFullYear(date_array[0],(date_array[1]-1),date_array[2]);
- var dateFormat = document.getElementById(objname+"_fmt").value;
-
- var dateTxt = myDate.format(dateFormat);
- }else var dateTxt = "Select Date";
-
- document.getElementById("divCalendar_"+objname+"_lbl").innerHTML = dateTxt;
- }
- }
-}
-
-function tc_submitDate(objname, dvalue, mvalue, yvalue){
- var obj = document.getElementById(objname+'_frame');
-
- var year_start = document.getElementById(objname+'_year_start').value;
- var year_end = document.getElementById(objname+'_year_end').value;
- var dp = document.getElementById(objname+'_dp').value;
-
- var da1 = document.getElementById(objname+'_da1').value;
- var da2 = document.getElementById(objname+'_da2').value;
- var sna = document.getElementById(objname+'_sna').value;
- var aut = document.getElementById(objname+'_aut').value;
- var frm = document.getElementById(objname+'_frm').value;
- var tar = document.getElementById(objname+'_tar').value;
- var inp = document.getElementById(objname+'_inp').value;
- var fmt = document.getElementById(objname+'_fmt').value;
- var dis = document.getElementById(objname+'_dis').value;
-
- var pr1 = document.getElementById(objname+'_pr1').value;
- var pr2 = document.getElementById(objname+'_pr2').value;
- var prv = document.getElementById(objname+'_prv').value;
- var path = document.getElementById(objname+'_pth').value;
-
- var spd = document.getElementById(objname+'_spd').value;
- var spt = document.getElementById(objname+'_spt').value;
-
- var och = document.getElementById(objname+'_och').value;
- var str = document.getElementById(objname+'_str').value;
- var rtl = document.getElementById(objname+'_rtl').value;
- var wks = document.getElementById(objname+'_wks').value;
- var int = document.getElementById(objname+'_int').value;
-
- var hid = document.getElementById(objname+'_hid').value;
- var hdt = document.getElementById(objname+'_hdt').value;
-
- obj.src = path+"calendar_form.php?objname="+objname.toString()+"&selected_day="+dvalue+"&selected_month="+mvalue+"&selected_year="+yvalue+"&year_start="+year_start+"&year_end="+year_end+"&dp="+dp+"&da1="+da1+"&da2="+da2+"&sna="+sna+"&aut="+aut+"&frm="+frm+"&tar="+tar+"&inp="+inp+"&fmt="+fmt+"&dis="+dis+"&pr1="+pr1+"&pr2="+pr2+"&prv="+prv+"&spd="+spd+"&spt="+spt+"&och="+och+"&str="+str+"&rtl="+rtl+"&wks="+wks+"&int="+int+"&hid="+hid+"&hdt="+hdt;
-
- obj.contentWindow.submitNow(dvalue, mvalue, yvalue);
-}
-
-function tc_setDMY(objname, dvalue, mvalue, yvalue){
- var obj = document.getElementById(objname);
- obj.value = yvalue + "-" + mvalue + "-" + dvalue;
-
- tc_submitDate(objname, dvalue, mvalue, yvalue);
-}
-
-function tc_setDay(objname, dvalue){
- var obj = document.getElementById(objname);
- var date_array = obj.value.split("-");
-
- //check if date is not allow to select
- if (!isDateAllow(objname, dvalue, date_array[1], date_array[0]) || !checkSpecifyDate(objname, dvalue, date_array[1], date_array[0])){
- //alert("This date is not allow to select");
- restoreDate(objname);
- }else{
- if (isDate(dvalue, date_array[1], date_array[0])){
- tc_setDMY(objname, dvalue, date_array[1], date_array[0]);
- }else document.getElementById(objname+"_day").selectedIndex = date_array[2];
- }
-
- checkPairValue(objname, obj.value);
-
- //compare if value is changed
- var changed = (document.getElementById(objname).value != d) ? true : false;
-
- //calling calendar_onchanged script
- if (document.getElementById(objname+"_och").value != "" && changed) calendar_onchange(objname);
-
-}
-
-function tc_setMonth(objname, mvalue){
- var obj = document.getElementById(objname);
- var date_array = obj.value.split("-");
-
- //check if date is not allow to select
- if (!isDateAllow(objname, date_array[2], mvalue, date_array[0]) || !checkSpecifyDate(objname, date_array[2], mvalue, date_array[0])){
- //alert("This date is not allow to select");
- restoreDate(objname);
- }else{
- if (document.getElementById(objname+'_dp').value && document.getElementById(objname+'_inp').value){
- //update 'day' combo box
- date_array[2] = tc_updateDay(objname, date_array[0], mvalue, date_array[2]);
- }
-
- if (isDate(date_array[2], mvalue, date_array[0])){
- tc_setDMY(objname, date_array[2], mvalue, date_array[0]);
- }else document.getElementById(objname+"_month").selectedIndex = date_array[1];
- }
-
- checkPairValue(objname, obj.value);
-
- //compare if value is changed
- var changed = (document.getElementById(objname).value != d) ? true : false;
-
- //calling calendar_onchanged script
- if (document.getElementById(objname+"_och").value != "" && changed) calendar_onchange(objname);
-}
-
-function tc_setYear(objname, yvalue){
- var obj = document.getElementById(objname);
- var date_array = obj.value.split("-");
-
- //check if date is not allow to select
- if (!isDateAllow(objname, date_array[2], date_array[1], yvalue) || !checkSpecifyDate(objname, date_array[2], date_array[1], yvalue)){
- //alert("This date is not allow to select");
- restoreDate(objname);
- }else{
- if (document.getElementById(objname+'_dp').value && document.getElementById(objname+'_inp').value){
- //update 'day' combo box
- date_array[2] = tc_updateDay(objname, yvalue, date_array[1], date_array[2]);
- }
-
- if (isDate(date_array[2], date_array[1], yvalue)){
- tc_setDMY(objname, date_array[2], date_array[1], yvalue);
- }else document.getElementById(objname+"_year").value = date_array[0];
- }
-
- checkPairValue(objname, obj.value);
-
- //compare if value is changed
- var changed = (document.getElementById(objname).value != d) ? true : false;
-
- //calling calendar_onchanged script
- if (document.getElementById(objname+"_och").value != "" && changed) calendar_onchange(objname);
-}
-
-function yearEnter(e){
- var characterCode;
-
- if (e && e.which){ //if which property of event object is supported (NN4)
- e = e;
- characterCode = e.which; //character code is contained in NN4's which property
- }else{
- e = event;
- characterCode = e.keyCode; //character code is contained in IE's keyCode property
- }
-
- if (characterCode == 13){
- //if Enter is pressed, do nothing
- return true;
- }else return false;
-}
-
-// Declaring valid date character, minimum year and maximum year
-var minYear=1900;
-var maxYear=2100;
-
-function isInteger(s){
- var i;
- for (i = 0; i < s.length; i++){
- // Check that current character is number.
- var c = s.charAt(i);
- if (((c < "0") || (c > "9"))) return false;
- }
- // All characters are numbers.
- return true;
-}
-
-function stripCharsInBag(s, bag){
- var i;
- var returnString = "";
- // Search through string's characters one by one.
- // If character is not in bag, append to returnString.
- for (i = 0; i < s.length; i++){
- var c = s.charAt(i);
- if (bag.indexOf(c) == -1) returnString += c;
- }
- return returnString;
-}
-
-function is_leapYear(year){
- return (year % 4 == 0) ?
- !(year % 100 == 0 && year % 400 != 0) : false;
-}
-
-function daysInMonth(month, year){
- var days = new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
- return (month == 2 && year > 0 && is_leapYear(year)) ? 29 : days[month-1];
-}
-/*
-function DaysArray(n) {
- for (var i = 1; i <= n; i++) {
- this[i] = 31;
- if (i==4 || i==6 || i==9 || i==11) {this[i] = 30}
- if (i==2) {this[i] = 29}
- }
- return this
-}
-*/
-function isDate(strDay, strMonth, strYear){
-/*
- //bypass check date
- strYr=strYear
- if (strDay.charAt(0)=="0" && strDay.length>1) strDay=strDay.substring(1)
- if (strMonth.charAt(0)=="0" && strMonth.length>1) strMonth=strMonth.substring(1)
- for (var i = 1; i <= 3; i++) {
- if (strYr.charAt(0)=="0" && strYr.length>1) strYr=strYr.substring(1)
- }
- month=parseInt(strMonth)
- day=parseInt(strDay)
- year=parseInt(strYr)
- if (strMonth.length<1 || month<1 || month>12){
- alert("Please enter a valid month")
- return false
- }
- if (strDay.length<1 || day<1 || day>31 || day > daysInMonth(month, year)){
- alert("Please enter a valid day")
- return false
- }
- if (strYear.length != 4 || year==0 || year<minYear || year>maxYear){
- alert("Please enter a valid 4 digit year between "+minYear+" and "+maxYear)
- return false
- }*/
- return true
-}
-
-function isDateAllow(objname, strDay, strMonth, strYear){
- var da1 = parseInt(document.getElementById(objname+"_da1").value);
- var da2 = parseInt(document.getElementById(objname+"_da2").value);
-
- var da1_ok = !isNaN(da1);
- var da2_ok = !isNaN(da2);
-
- strDay = parseInt(parseFloat(strDay));
- strMonth = parseInt(parseFloat(strMonth));
- strYear = parseInt(parseFloat(strYear));
-
- if (strDay>0 && strMonth>0 && strYear>0){
- if (da1_ok || da2_ok){
- // calculate the number of seconds since 1/1/1970 for the date (equiv to PHP strtotime())
- var date = new Date(strYear, strMonth-1, strDay);
- da2Set = date.getTime()/1000;
-
- // alert(da1+"\n"+da2+"\n"+strDay+"\n"+strMonth+"\n"+strYear+"\n"+da2Set);
-
- // return true if the date is in range
- if ((!da1_ok || da2Set >= da1) && (!da2_ok || da2Set <= da2)){
- return true;
- }else{
- var dateFormat = document.getElementById(objname+"_fmt").value;
- if (da1_ok){
- date.setTime(da1*1000);
- da1Str = date.format(dateFormat);
- }
- if (da2_ok){
- date.setTime(da2*1000);
- da2Str = date.format(dateFormat);
- }
- if (!da1_ok)
- alert("Please choose a date before " + da2Str);
- else if (!da2_ok)
- alert("Please choose a date after " + da1Str);
- else
- alert("Please choose a date between\n"+ da1Str + " and " + da2Str);
- return false;
- }
- }
- }
-
- return true; //always return true if date not completely set
-}
-
-function restoreDate(objname){
- //get the store value
- var storeValue = document.getElementById(objname).value;
- var storeArr = storeValue.split('-', 3);
-
- //set it
- document.getElementById(objname+'_day').value = storeArr[2];
- document.getElementById(objname+'_month').value = storeArr[1];
- document.getElementById(objname+'_year').value = storeArr[0];
-}
-
-//----------------------------------------------------------------
-//javascript date format function thanks to
-// http://jacwright.com/projects/javascript/date_format
-// updated 2/8/2013 with an addition from Haravikk
-//
-// some modifications to match the calendar script
-//----------------------------------------------------------------
-
-// Simulates PHP's date function
-Date.prototype.format = function(format) {
- var returnStr = '';
- var replace = Date.replaceChars;
-
- for (var i = 0; i < format.length; i++) {
- var curChar = format.charAt(i);
- if (i - 1 >= 0 && format.charAt(i - 1) == "\\") {
- returnStr += curChar;
- }
- else if (replace[curChar]) {
- returnStr += replace[curChar].call(this);
- } else if (curChar != "\\"){
- returnStr += curChar;
- }
- }
- return returnStr;
-};
-
-Date.replaceChars = {
- shortMonths: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
- longMonths: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
- shortDays: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
- longDays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
-
- // Day
- d: function() { return (this.getDate() < 10 ? '0' : '') + this.getDate(); },
- D: function() { return Date.replaceChars.shortDays[this.getDay()]; },
- j: function() { return this.getDate(); },
- l: function() { return Date.replaceChars.longDays[this.getDay()]; },
- N: function() { return this.getDay() + 1; },
- S: function() { return (this.getDate() % 10 == 1 && this.getDate() != 11 ? 'st' : (this.getDate() % 10 == 2 && this.getDate() != 12 ? 'nd' : (this.getDate() % 10 == 3 && this.getDate() != 13 ? 'rd' : 'th'))); },
- w: function() { return this.getDay(); },
- z: function() { var d = new Date(this.getFullYear(),0,1); return Math.ceil((this - d) / 86400000); }, // Fixed now
- // Week
- W: function() { var d = new Date(this.getFullYear(), 0, 1); return Math.ceil((((this - d) / 86400000) + d.getDay() + 1) / 7); }, // Fixed now
- // Month
- F: function() { return Date.replaceChars.longMonths[this.getMonth()]; },
- m: function() { return (this.getMonth() < 9 ? '0' : '') + (this.getMonth() + 1); },
- M: function() { return Date.replaceChars.shortMonths[this.getMonth()]; },
- n: function() { return this.getMonth() + 1; },
- t: function() { var d = new Date(); return new Date(d.getFullYear(), d.getMonth(), 0).getDate() }, // Fixed now, gets #days of date
- // Year
- L: function() { var year = this.getFullYear(); return (year % 400 == 0 || (year % 100 != 0 && year % 4 == 0)); }, // Fixed now
- o: function() { var d = new Date(this.valueOf()); d.setDate(d.getDate() - ((this.getDay() + 6) % 7) + 3); return d.getFullYear();}, //Fixed now
- Y: function() { return this.getFullYear(); },
- y: function() { return ('' + this.getFullYear()).substr(2); },
- // Time
- a: function() { return this.getHours() < 12 ? 'am' : 'pm'; },
- A: function() { return this.getHours() < 12 ? 'AM' : 'PM'; },
- B: function() { return Math.floor((((this.getUTCHours() + 1) % 24) + this.getUTCMinutes() / 60 + this.getUTCSeconds() / 3600) * 1000 / 24); }, // Fixed now
- g: function() { return (this.getHours() % 12) || 12; },
- G: function() { return this.getHours(); },
- h: function() { return ((this.getHours() % 12 || 12) < 10 ? '0' : '') + (this.getHours() % 12 || 12); },
- H: function() { return (this.getHours() < 10 ? '0' : '') + this.getHours(); },
- i: function() { return (this.getMinutes() < 10 ? '0' : '') + this.getMinutes(); },
- s: function() { return (this.getSeconds() < 10 ? '0' : '') + this.getSeconds(); },
- u: function() { var m = this.getMilliseconds(); return (m < 10 ? '00' : (m < 100 ? '0' : '')) + m; },
- // Timezone
- e: function() { return "Not Yet Supported"; },
- I: function() {
- var DST = null;
- for (var i = 0; i < 12; ++i) {
- var d = new Date(this.getFullYear(), i, 1);
- var offset = d.getTimezoneOffset();
-
- if (DST === null) DST = offset;
- else if (offset < DST) { DST = offset; break; }
- else if (offset > DST) break;
- }
- return (this.getTimezoneOffset() == DST) | 0;
- },
- O: function() { return (-this.getTimezoneOffset() < 0 ? '-' : '+') + (Math.abs(this.getTimezoneOffset() / 60) < 10 ? '0' : '') + (Math.abs(this.getTimezoneOffset() / 60)) + '00'; },
- P: function() { return (-this.getTimezoneOffset() < 0 ? '-' : '+') + (Math.abs(this.getTimezoneOffset() / 60) < 10 ? '0' : '') + (Math.abs(this.getTimezoneOffset() / 60)) + ':00'; }, // Fixed now
- T: function() { var m = this.getMonth(); this.setMonth(0); var result = this.toTimeString().replace(/^.+ \(?([^\)]+)\)?$/, '$1'); this.setMonth(m); return result;},
- Z: function() { return -this.getTimezoneOffset() * 60; },
- // Full Date/Time
- c: function() { return this.format("Y-m-d\\TH:i:sP"); }, // Fixed now
- r: function() { return this.toString(); },
- U: function() { return this.getTime() / 1000; }
-};
-
-function padString(stringToPad, padLength, padString) {
- if (stringToPad.length < padLength) {
- while (stringToPad.length < padLength) {
- stringToPad = padString + stringToPad;
- }
- }else {}
-/*
- if (stringToPad.length > padLength) {
- stringToPad = stringToPad.substring((stringToPad.length - padLength), padLength);
- } else {}
-*/
- return stringToPad;
-}
-
-function tc_updateDay(objname, yearNum, monthNum, daySelected){
- //var totalDays = (monthNum > 0) ? daysInMonth(monthNum, yearNum) : 31;
- var totalDays = (monthNum > 0 && yearNum > 0) ? daysInMonth(monthNum, yearNum) : ((monthNum > 0) ? daysInMonth(monthNum, 2008) : 31);
-
- var dayObj = document.getElementById(objname+"_day");
- //var prevSelected = dayObj.value;
-
- if (dayObj.options[0].value == 0 || dayObj.options[0].value == "")
- dayObj.length = 1;
- else dayObj.length = 0;
-
- for (d=1; d<=totalDays; d++){
- var newOption = document.createElement("OPTION");
-
- newOption.text = d;
- newOption.value = d;
-
- dayObj.options[d] = new Option(newOption.text, padString(newOption.value, 2, "0"));
- }
-
- if (daySelected > totalDays)
- dayObj.value = padString(totalDays, 2, "0");
- else dayObj.value = padString(daySelected, 2, "0");
-
- return dayObj.value;
-}
-
-function checkPairValue(objname, d){
- var dp1 = document.getElementById(objname+"_pr1").value;
- var dp2 = document.getElementById(objname+"_pr2").value;
-
- var this_value = document.getElementById(objname).value;
- //var this_time2 = Date.parse(this_value)/1000;
- //var this_time1 = Date.parse(this_value.replace(/-/g,'/'))/1000;
-
- var this_dates = this_value.split('-');
- var this_time = new Date(this_dates[0], this_dates[1]-1, this_dates[2]).getTime()/1000;
-
- //implementing dp2
- if (dp1 != "" && document.getElementById(dp1) != null){ //imply to date_pair1
- //set date pair value to date selected
- document.getElementById(dp1+"_prv").value = d;
-
- var dp1_value = document.getElementById(dp1).value;
- //var dp1_time = Date.parse(dp1_value)/1000;
- //var dp1_time = Date.parse(dp1_value.replace(/-/g,'/'))/1000;
-
- var dp1_dates = dp1_value.split('-');
- var dp1_time = new Date(dp1_dates[0], dp1_dates[1]-1, dp1_dates[2]).getTime()/1000;
-
- if (this_time < dp1_time || this_value == "0000-00-00"){
- //set self date pair value to null
- document.getElementById(objname+"_prv").value = "";
-
- tc_submitDate(dp1, "00", "00", "0000");
- }else{
- //var date_array = document.getElementById(dp1).value.split("-");
- tc_submitDate(dp1, dp1_dates[2], dp1_dates[1], dp1_dates[0]);
- }
- }
-
- //implementing dp1
- if (dp2 != "" && document.getElementById(dp2) != null){ //imply to date_pair2
- //set date pair value to date selected
- document.getElementById(dp2+"_prv").value = d;
-
- var dp2_value = document.getElementById(dp2).value;
- //var dp2_time = Date.parse(dp2_value)/1000;
- //var dp2_time = Date.parse(dp2_value.replace(/-/g,'/'))/1000;
-
- var dp2_dates = dp2_value.split('-');
- var dp2_time = new Date(dp2_dates[0], dp2_dates[1]-1, dp2_dates[2]).getTime()/1000;
-
- if (this_time > dp2_time || this_value == "0000-00-00"){
- //set self date pair value to null
- document.getElementById(objname+"_prv").value = "";
-
- tc_submitDate(dp2, "00", "00", "0000");
- }else{
- //var date_array = document.getElementById(dp2).value.split("-");
- tc_submitDate(dp2, dp2_dates[2], dp2_dates[1], dp2_dates[0]);
- }
- }
-}
-
-function checkSpecifyDate(objname, strDay, strMonth, strYear){
- var spd = document.getElementById(objname+"_spd").value;
- var spt = document.getElementById(objname+"_spt").value;
-
- //alert(spd);
- var sp_dates;
-
- if (typeof(JSON) != "undefined"){
- sp_dates = JSON.parse(spd);
- }else{
- //only array is assume for now
- if (spd != "" && spd.length > 2){
- var tmp_spd = spd.substring(2, spd.length-2);
- //alert(tmp_spd);
- var sp_dates = tmp_spd.split("],[");
- for (i=0; i<sp_dates.length; i++){
- //alert(sp_dates[i]);
- var tmp_str = sp_dates[i]; //.substring(1, sp_dates[i].length-1);
- if (tmp_str == "")
- sp_dates[i] = new Array();
- else sp_dates[i] = tmp_str.split(",");
- }
- }else sp_dates = new Array();
- }
- /*
- for (i=0; i<sp_dates.length; i++){
- for (j=0; j<sp_dates[i].length; j++){
- alert(sp_dates[i][j]);
- }
- }
- */
-
- var found = false;
-
- for (var key in sp_dates[2]) {
- if (sp_dates[2].hasOwnProperty(key)) {
- this_date = new Date(sp_dates[2][key]*1000);
- //alert(sp_dates[2][key]+","+this_date.getDate());
- if (this_date.getDate() == parseInt(parseFloat(strDay)) && (this_date.getMonth()+1) == parseInt(parseFloat(strMonth))){
- found = true;
- break;
- }
- }
- }
-
- if (!found){
- for (var key in sp_dates[1]) {
- if (sp_dates[1].hasOwnProperty(key)) {
- this_date = new Date(sp_dates[1][key]*1000);
- //alert(sp_dates[2][key]+","+this_date.getDate());
- if (this_date.getDate() == parseInt(parseFloat(strDay))){
- found = true;
- break;
- }
- }
- }
- }
-
- if (!found){
- var choose_date = new Date(strYear, strMonth-1, strDay);
- var choose_time = choose_date.getTime()/1000;
-
- for (var key in sp_dates[0]) {
- if (sp_dates[0].hasOwnProperty(key)) {
- //alert(key + " -> " + p[key]);
- if (choose_time == sp_dates[0][key]){
- found = true;
- break;
- }
- }
- }
- }
-
- switch (spt){
- case 0:
- default:
- //date is disabled
- if (found){
- alert("You cannot choose this date");
- return false;
- }
- break;
- case 1:
- //other dates are disabled
- if (!found){
- alert("You cannot choose this date");
- return false;
- }
- break;
- }
-
- return true;
-}
-
-function urldecode (str) {
- return decodeURIComponent((str + '').replace(/\+/g, '%20'));
-}
-
-function calendar_onchange(objname){
- //you can modify or replace the code below
- var fc = document.getElementById(objname+"_och").value;
- //alert("Date has been set to "+obj.value);
- eval(urldecode(fc));
-}
-
-function focusCalendar(objname){
- var obj = document.getElementById("container_"+objname);
- if (obj != null){
- obj.style.zIndex = 999;
- }
-}
-
-function unFocusCalendar(objname, zidx){
- var obj = document.getElementById("container_"+objname);
- if (obj != null){
- obj.style.zIndex = zidx;
- }
-} \ No newline at end of file
diff --git a/non-puppet/qtmetrics/calendar/calendar_form.js b/non-puppet/qtmetrics/calendar/calendar_form.js
deleted file mode 100644
index cf22a25..0000000
--- a/non-puppet/qtmetrics/calendar/calendar_form.js
+++ /dev/null
@@ -1,163 +0,0 @@
-/****************************************************************************
-##
-## Copyright
-## Contact: http://www.triconsole.com/php/calendar_datepicker.php
-##
-****************************************************************************/
-
-// JavaScript Document
-
-var ccWidth = 0;
-var ccHeight = 0;
-
-function setValue(){
- var f = document.calendarform;
- var date_selected = padString(f.selected_year.value, 4, "0") + "-" + padString(f.selected_month.value, 2, "0") + "-" + padString(f.selected_day.value, 2, "0");
-
- //not use for now
- //toggle = typeof(toggle) != 'undefined' ? toggle : true;
-
- window.parent.setValue(f.objname.value, date_selected);
-}
-
-function unsetValue(){
- var f = document.calendarform;
- f.selected_day.value = "00";
- f.selected_month.value = "00";
- f.selected_year.value = "0000";
-
- setValue();
-
- this.loading();
- //f.submit();
-}
-
-function restoreValue(){
- var f = document.calendarform;
- var date_selected = padString(f.selected_year.value, 4, "0") + "-" + padString(f.selected_month.value, 2, "0") + "-" + padString(f.selected_day.value, 2, "0");
-
- window.parent.updateValue(f.objname.value, date_selected);
-}
-
-function selectDay(d){
- var f = document.calendarform;
- f.selected_day.value = d.toString();
- f.selected_month.value = f.m[f.m.selectedIndex].value;
- f.selected_year.value = f.y[f.y.selectedIndex].value;
-
- setValue();
-
- this.loading();
- f.submit();
-
- submitNow(f.selected_day.value, f.selected_month.value, f.selected_year.value);
-}
-
-function hL(E, mo){
- //clear last selected
- if (document.getElementById("select")){
- var selectobj = document.getElementById("select");
- selectobj.Id = "";
- }
-
- while (E.tagName!="TD"){
- E=E.parentElement;
- }
-
- E.Id = "select";
-}
-
-function selectMonth(m){
- var f = document.calendarform;
- f.selected_month.value = m;
-}
-
-function selectYear(y){
- var f = document.calendarform;
- f.selected_year.value = y;
-}
-
-function move(m, y){
- var f = document.calendarform;
- f.m.value = m;
- f.y.value = y;
-
- this.loading();
- f.submit();
-}
-
-function today(){
- var f = document.calendarform;
- f.m.value = this.today_month;
- f.y.value = this.today_year;
-
- this.loading();
- f.submit();
-}
-
-function closeMe(){
- window.parent.toggleCalendar(this.obj_name);
-}
-
-function padString(stringToPad, padLength, padString) {
- if (stringToPad.length < padLength) {
- while (stringToPad.length < padLength) {
- stringToPad = padString + stringToPad;
- }
- }else {}
-/*
- if (stringToPad.length > padLength) {
- stringToPad = stringToPad.substring((stringToPad.length - padLength), padLength);
- } else {}
-*/
- return stringToPad;
-}
-
-function loading(){
- if (this.ccWidth > 0 && this.ccHeight > 0){
- var ccobj = getObject('calendar-container');
-
- ccobj.style.width = this.ccWidth+'px';
- ccobj.style.height = this.ccHeight+'px';
- }
-
- document.getElementById('calendar-container').innerHTML = "<div id=\"calendar-body\"><div class=\"refresh\"><div align=\"center\" class=\"txt-container\">Refreshing Calendar...</div></div></div>";
- adjustContainer();
-}
-
-function submitCalendar(){
- this.loading();
- document.calendarform.submit();
-}
-
-function getObject(item){
- if ( window.mmIsOpera ) return(document.getElementById(item));
- if (document.all) return(document.all[item]);
- if (document.getElementById) return(document.getElementById(item));
- if (document.layers) return(document.layers[item]);
- return(false);
-}
-
-function adjustContainer(){
- var tc_obj = getObject('calendar-page');
- //var tc_obj = frm_obj.contentWindow.getObject('calendar-page');
- if (tc_obj != null){
- var div_obj = window.parent.document.getElementById('div_'+obj_name);
-
- if (tc_obj.offsetWidth > 0 && tc_obj.offsetHeight > 0){
- div_obj.style.width = tc_obj.offsetWidth+'px';
- div_obj.style.height = tc_obj.offsetHeight+'px';
- //alert(div_obj.style.width+','+div_obj.style.height);
-
- var ccsize = getObject('calendar-container');
- this.ccWidth = ccsize.offsetWidth;
- this.ccHeight = ccsize.offsetHeight;
- }
- }
-}
-
-window.onload = function(){
- adjustContainer();
- setTimeout("adjustContainer()", 1000);
- restoreValue();
-}; \ No newline at end of file
diff --git a/non-puppet/qtmetrics/calendar/calendar_form.php b/non-puppet/qtmetrics/calendar/calendar_form.php
deleted file mode 100644
index 6d6965e..0000000
--- a/non-puppet/qtmetrics/calendar/calendar_form.php
+++ /dev/null
@@ -1,599 +0,0 @@
-<?php
-require_once('classes/tc_date.php');
-require_once('classes/tc_calendar.php');
-
-$thispage = $_SERVER['PHP_SELF'];
-
-$cdate = new tc_date();
-$today = $cdate->getDate();
-
-$sld = (isset($_REQUEST["selected_day"])) ? $_REQUEST["selected_day"] : 0;
-$slm = (isset($_REQUEST["selected_month"])) ? (int)$_REQUEST["selected_month"] : 0;
-$sly = (isset($_REQUEST["selected_year"])) ? (int)$_REQUEST["selected_year"] : 0;
-
-$year_start = (isset($_REQUEST["year_start"])) ? $_REQUEST["year_start"] : 0;
-$year_end = (isset($_REQUEST["year_end"])) ? $_REQUEST["year_end"] : 0;
-
-$startDate = (isset($_REQUEST["str"])) ? $_REQUEST["str"] : 0;
-
-$time_allow1 = (isset($_REQUEST["da1"])) ? $_REQUEST["da1"] : "";
-$time_allow2 = (isset($_REQUEST["da2"])) ? $_REQUEST["da2"] : "";
-
-$ta1_set = ($time_allow1 != "") ? true : false;
-$ta2_set = ($time_allow2 != "") ? true : false;
-
-$show_not_allow = (isset($_REQUEST["sna"])) ? $_REQUEST["sna"] : true;
-
-$auto_submit = (isset($_REQUEST["aut"])) ? $_REQUEST["aut"] : false;
-$form_name = (isset($_REQUEST["frm"])) ? $_REQUEST["frm"] : "";
-$target_url = (isset($_REQUEST["tar"])) ? $_REQUEST["tar"] : "";
-
-$show_input = (isset($_REQUEST["inp"])) ? $_REQUEST["inp"] : true;
-$date_format = (isset($_REQUEST["fmt"])) ? $_REQUEST["fmt"] : 'd-M-Y';
-
-$dsb_txt = (isset($_REQUEST["dis"])) ? $_REQUEST["dis"] : "";
-
-$date_pair1 = (isset($_REQUEST["pr1"])) ? $_REQUEST["pr1"] : "";
-$date_pair2 = (isset($_REQUEST["pr2"])) ? $_REQUEST["pr2"] : "";
-
-$date_pair_value = (isset($_REQUEST["prv"])) ? $_REQUEST["prv"] : "";
-$path = (isset($_REQUEST["pth"])) ? $_REQUEST["pth"] : "";
-
-$sp_dates = (isset($_REQUEST["spd"])) ? @tc_calendar::check_json_decode($_REQUEST["spd"]) : array(array(), array(), array());
-$sp_type = (isset($_REQUEST["spt"])) ? $_REQUEST["spt"] : 0;
-
-$tc_onchanged = (isset($_REQUEST["och"])) ? $_REQUEST["och"] : "";
-$rtl = (isset($_REQUEST["rtl"])) ? $_REQUEST["rtl"] : "";
-
-$show_weeks = (isset($_REQUEST["wks"])) ? $_REQUEST["wks"] : false;
-$interval = (isset($_REQUEST["int"])) ? $_REQUEST["int"] : 1;
-
-$auto_hide = (isset($_REQUEST["hid"])) ? $_REQUEST["hid"] : 0;
-$auto_hide_time = (isset($_REQUEST["hdt"])) ? $_REQUEST["hdt"] : 1000;
-
-//check year to be select in case of date_allow is set
-if(!$show_not_allow){
- if ($ta1_set) $year_start = $cdate->getDateFromTimestamp($time_allow1, 'Y');
- if ($ta2_set) $year_end = $cdate->getDateFromTimestamp($time_allow2, 'Y');
-}
-
-if(isset($_REQUEST["m"]))
- $m = $_REQUEST["m"];
-else{
- if($slm){
- $m = $slm;
- }else{
- if($ta2_set && $year_end > 0){
- //compare which one is more
- $year_allow2 = $cdate->getDateFromTimestamp($time_allow2, 'Y');
- if($year_allow2 >= $year_end){
- //use time_allow2
- $m = ($time_allow2 > time()) ? $cdate->getDate("m") : $cdate->getDateFromTimestamp($time_allow2, 'm');
- }else{
- //use year_end
- $m = ($year_end > $cdate->getDate("Y")) ? $cdate->getDate("m") : 12;
- }
- }elseif($ta2_set){
- $m = ($time_allow2 > time()) ? $cdate->getDate("m") : $cdate->getDateFromTimestamp($time_allow2, 'm');
- }elseif($year_end > 0){
- $m = ($year_end > $cdate->getDate("Y")) ? $cdate->getDate("m") : 12; //date('m')
- }else $m = $cdate->getDate("m");
- }
-}
-
-if($m < 1 && $m > 12) $m = $cdate->getDate("m");
-
-$cyr = ($sly) ? true : false;
-if($sly && $sly < $year_start) $sly = $year_start;
-if($sly && $sly > $year_end) $sly = $year_end;
-
-if(isset($_REQUEST["y"]))
- $y = $_REQUEST["y"];
-else
- $y = ($cyr) ? $sly : $cdate->getDate("Y");
-
-if($y <= 0) $y = $cdate->getDate("Y");
-
-// ensure m-y fits date allow range
-if (!$show_not_allow) {
- if ($ta1_set) {
- $m1 = $cdate->getDateFromTimestamp($time_allow1, 'm');
- $y1 = $cdate->getDateFromTimestamp($time_allow1, 'Y');
- if ($y == $y1 && (int)$m < (int)$m1) $m = $m1;
- }
- if ($ta2_set) {
- $m2 = $cdate->getDateFromTimestamp($time_allow1, 'm');
- $y2 = $cdate->getDateFromTimestamp($time_allow1, 'Y');
- if ($y == $y2 && (int)$m > (int)$m2) $m = $m2;
- }
-}
-
-$objname = (isset($_REQUEST["objname"])) ? $_REQUEST["objname"] : "";
-$dp = (isset($_REQUEST["dp"])) ? $_REQUEST["dp"] : "";
-
-
-$cobj = new tc_calendar("");
-$cobj->setDate($sld, $slm, $sly);
-$cobj->startDate($startDate);
-$cobj->dsb_days = explode(",", $dsb_txt);
-$cobj->time_allow1 = $time_allow1;
-$cobj->time_allow2 = $time_allow2;
-
-$cobj->setYearInterval($year_start, $year_end);
-
-//check and show default calendar month and year on valid range of date_allow
-if(!isset($_REQUEST["m"])){
- if($time_allow1 > 0){
- //get date of time allow1
- $date_allow1 = $cdate->getDateFromTimestamp($time_allow1);
-
- //check valid if today is after date_allow1
- if(!$cdate->dateAfter($date_allow1, $today)){
- //reset default calendar display
- $y = $cdate->getDateFromTimestamp($time_allow1, 'Y');
- $m = $cdate->getDateFromTimestamp($time_allow1, 'm');
- }
- }
-}
-
-$year_start = $cobj->year_start;
-$year_end = $cobj->year_end;
-
-//check year display in valid range
-if($y >= $year_end) $y = $year_end;
-if($y <= $year_start) $y = $year_start;
-
-$total_thismonth = $cobj->total_days($m, $y);
-
-if($m == 1){
- $previous_month = 12;
- $previous_year = $y-1;
-}else{
- $previous_month = $m-1;
- $previous_year = $y;
-}
-
-if($m == 12){
- $next_month = 1;
- $next_year = $y+1;
-}else{
- $next_month = $m+1;
- $next_year = $y;
-}
-
-$total_lastmonth = $cobj->total_days($previous_month, $previous_year);
-
-$firstdate = $cdate->getDayOfWeek($y."-".$m."-1"); //first date of month, 0 (for Sunday) through 6 (for Saturday)
-
-if($firstdate == $startDate){
- //skip last month
- $startwrite = $total_lastmonth+1;
-}elseif($firstdate < $startDate){
- $startwrite = $total_lastmonth - (6-($startDate-$firstdate));
-}else{
- $startwrite = $total_lastmonth - ($firstdate - $startDate - 1);
-}
-
-
-//--------------------------------
-//prepare the calendar in array
-//--------------------------------
-$calendar_rows = array();
-$week_rows = array(); //collection for week number, $week_rows[$row][$week_number] = counter
-
-$dayinweek_counter = 0;
-$row_count = 0;
-
-//write previous month
-for($day=$startwrite; $day<=$total_lastmonth; $day++){
- $calendar_rows[$row_count][] = array($day, "", "othermonth", "");
- $dayinweek_counter++;
-
- $prev_m = $m-1;
- $prev_d = $y."-".$prev_m."-".$day;
-
- $wknum = $cdate->getWeekNumber($prev_d);
- if(!isset($week_rows[$row_count][$wknum])){
- $week_rows[$row_count][$wknum] = 1;
- }else $week_rows[$row_count][$wknum] = $week_rows[$row_count][$wknum]+1;
-}
-
-$pvMonthTime = strtotime($previous_year."-".$previous_month."-".$total_lastmonth);
-
-//check lastmonth is on allowed date
-if($ta1_set && !$show_not_allow){
- if($pvMonthTime >= $time_allow1){
- $show_previous = true;
- }else $show_previous = false;
-}else $show_previous = true; //always show when not set
-
-$date_num = $cdate->getDayOfWeek(($previous_year."-".$previous_month."-".$total_lastmonth));
-if(($startDate == 0 && $date_num == 6) || ($startDate > 0 && $date_num == $startDate-1) && $startwrite<$total_lastmonth){
- if(isset($calendar_rows[0])) $row_count++;
-}
-
-$dp_time = ($date_pair_value) ? $date_pair_value : "";
-
-$select_days = array();
-if($sld>0 && $slm>0 && $sly>0){
- $sldate = "$sly-$slm-$sld";
-
- for($i=0; $i<$interval; $i++){
- $this_day = $cdate->addDay("Y-m-d", $i, $sldate);
- $select_days[] = $this_day;
- }
-}
-
-//write current month
-for($day=1; $day<=$total_thismonth; $day++){
- $date_str = $y."-".str_pad($m, 2, "0", STR_PAD_LEFT)."-".str_pad($day, 2, "0", STR_PAD_LEFT);
-
- $date_num = $cdate->getDayOfWeek($date_str);
- $day_txt = $cdate->getDate('D', $date_str);
-
- $currentTime = $cdate->getTimestamp($y."-".$m."-".$day);
- $htmlClass = array();
-
- $is_today = ($cdate->differentDate($date_str) == 0) ? 1 : 0; //$is_today = $currentTime - strtotime($today);
- $htmlClass[] = ($is_today) ? "today" : "general";
-
- $dateLink = true;
-
- //check date allowed
- if($ta1_set && $ta2_set){
- //both date specified
- $dateLink = ($time_allow1 <= $currentTime && $currentTime <= $time_allow2);
- }elseif($ta1_set){
- //only date 1 specified
- $dateLink = ($currentTime >= $time_allow1);
- }elseif($ta2_set){
- //only date 2 specified
- $dateLink = ($currentTime <= $time_allow2);
- }else{
- //no date allow specified, assume show all
- $dateLink = true;
- }
-
- if($dateLink){
- //check for disable days
- if(in_array(strtolower($day_txt), $cobj->dsb_days) !== false){
- $dateLink = false;
- }
- }
-
-
- //check specific date
- if($dateLink){
- if(is_array($sp_dates) && sizeof($sp_dates) > 0){
- //check if it is current date
- $sp_found = false;
-
- //check on yearly recursive
- if(isset($sp_dates[2]) && is_array($sp_dates[2])){
- foreach($sp_dates[2] as $sp_time){
- $sp_time_md = date('md', $sp_time);
- $this_md = date('md', $currentTime);
- if($sp_time_md == $this_md){
- $sp_found = true;
- break;
- }
- }
- }
-
- //check on monthly recursive
- if(isset($sp_dates[1]) && is_array($sp_dates[1]) && !$sp_found){
- foreach($sp_dates[1] as $sp_time){
- if($sp_time != "" && $sp_time > 0){
- $sp_time_d = date('d', $sp_time);
- if($sp_time_d == $day){
- $sp_found = true;
- break;
- }
- }
- }
- }
-
- //check on no recursive
- if(isset($sp_dates[0]) && is_array($sp_dates[0]) && !$sp_found){
- $sp_found = in_array($currentTime, $sp_dates[0]);
- }
-
- switch($sp_type){
- case 0:
- default:
- //disabled specific and enabled others
- $dateLink = ($sp_found) ? false : true;
- break;
- case 1:
- //enabled specific and disabled others
- $dateLink = ($sp_found) ? true : false;
- break;
- }
- }
- }
-
- if($date_pair_value){
- //check date_pair1 & 2
-
- if($date_pair1 && $date_pair_value != "0000-00-00" && $cdate->dateAfter($date_pair_value, $date_str) && (($slm>0 && $sld>0 && $sly>0) && $cdate->dateBefore("$sly-$slm-$sld", $date_str))){ //set date only after date_pair1
- if(!in_array("select", $htmlClass))
- $htmlClass[] = "select";
- }
-
- if($date_pair2 && $date_pair_value != "0000-00-00" && $cdate->dateBefore($date_pair_value, $date_str) && (($slm>0 && $sld>0 && $sly>0) && $cdate->dateAfter("$sly-$slm-$sld", $date_str))){ //set date only before date_pair2
- if(!in_array("select", $htmlClass))
- $htmlClass[] = "select";
- }
- }
-
- $htmlClass[] = strtolower($day_txt);
-
- if($dateLink){
- if(in_array($date_str, $select_days) && !in_array("select", $htmlClass)){
- $htmlClass[] = "select";
- }
-
- //date with link
- $class = implode(" ", $htmlClass);
-
- $calendar_rows[$row_count][] = array($day, "javascript:selectDay('".str_pad($day, 2, "0", STR_PAD_LEFT)."');", $class, "$y".str_pad($m, 2, "0", STR_PAD_LEFT).str_pad($day, 2, "0", STR_PAD_LEFT));
- }else{
- $htmlClass[] = "disabledate";
- $class = implode(" ", $htmlClass);
-
- //date without link
- $calendar_rows[$row_count][] = array($day, "", $class, "$y".str_pad($m, 2, "0", STR_PAD_LEFT).str_pad($day, 2, "0", STR_PAD_LEFT));
- }
- if(($startDate == 0 && $date_num == 6) || ($startDate > 0 && $date_num == $startDate-1)){
- $row_count++;
-
- $dayinweek_counter = 0;
- }else $dayinweek_counter++;
-
-
- $wknum = $cdate->getWeekNumber(($y."-".$m."-".$day));
-
- if(!isset($week_rows[$row_count][$wknum])){
- $week_rows[$row_count][$wknum] = 1;
- }else $week_rows[$row_count][$wknum] = $week_rows[$row_count][$wknum]+1;
-}
-
-//write next other month
-$write_end_days = (6-$dayinweek_counter)+1;
-if($write_end_days > 0){
- for($day=1; $day<=$write_end_days; $day++){
- $calendar_rows[$row_count][] = array($day, "", "othermonth", "");
-
- $wknum = $cdate->getWeekNumber($cdate->addMonth("Y-m-d", 1, ($y."-".$m."-".$day))); //date('W', mktime(0,0,0, $m+1, $day, $y));
- if(!isset($week_rows[$row_count][$wknum])){
- $week_rows[$row_count][$wknum] = 1;
- }else $week_rows[$row_count][$wknum] = $week_rows[$row_count][$wknum]+1;
- }
- $row_count++;
-}
-
-//write fulfil row to 6 rows
-for($day=$row_count; $day<6; $day++){
- $tmpday = $write_end_days+1;
- for($f=$tmpday; $f<=($tmpday+6); $f++){
- $calendar_rows[$row_count][] = array($f, "", "othermonth", "");
-
- $wknum = $cdate->getWeekNumber($cdate->addMonth("Y-m-d", 1, ($y."-".$m."-".$f))); //date('W', mktime(0,0,0, $m+1, $f, $y));
-
- if(!isset($week_rows[$row_count][$wknum])){
- $week_rows[$row_count][$wknum] = 1;
- }else $week_rows[$row_count][$wknum] = $week_rows[$row_count][$wknum]+1;
- }
- $write_end_days += 6;
-}
-
-//check next month is on allowed date
-if($ta2_set && !$show_not_allow){
- $nxMonthTime = strtotime($next_year."-".$next_month."-1");
- if($nxMonthTime <= $time_allow2){
- $show_next = true;
- }else $show_next = false;
-}else $show_next = true; //always show when not set
-?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"<?php if($rtl) echo(" dir=\"rtl\""); ?>>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>TriConsole.com - PHP Calendar Date Picker</title>
-<link href="calendar.css" rel="stylesheet" type="text/css" />
-<script language="javascript">
-<!--
-var today_month = "<?php echo(date('m')); ?>";
-var today_year = "<?php echo(date('Y')); ?>";
-var obj_name = "<?php echo($objname); ?>";
-//-->
-</script>
-<script language="javascript" src="calendar_form.js"></script>
-<script language="javascript">
-<!--
-function submitNow(dvalue, mvalue, yvalue){
- <?php
- //write auto submit script
- if($auto_submit){
- echo("if(yvalue>0 && mvalue>0 && dvalue>0){\n");
- if($form_name){
- //submit value by post form
- echo("window.parent.document.".$form_name.".submit();\n");
- }elseif($target_url){
- //submit value by get method
- echo("var date_selected = yvalue + \"-\" + mvalue + \"-\" + dvalue;\n");
- echo("window.parent.location.href='".$target_url."?".$objname."='+date_selected;\n");
- }
- echo("}\n");
- }
- ?>
-};
-//-->
-</script>
-
-</head>
-
-<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
-<span id="calendar-page" class="font">
- <div id="calendar-header" align="center">
- <?php if($dp && !$auto_hide){ ?>
- <div align="<?php echo($rtl ? "left" : "right"); ?>" class="closeme"><a href="javascript:closeMe();"><img src="images/close.gif" border="0" alt="Close" title="Close" /></a></div>
- <?php } ?>
-
- <?php
- if(sizeof($cobj->warning_msgs)>0){
- echo("<div id=\"calendar-alert\">".implode(", ", $cobj->warning_msgs)."</div>");
- }
- ?>
-
- <form id="calendarform" name="calendarform" method="post" action="<?php echo($thispage);?>">
- <table align="center" cellpadding="1" cellspacing="0">
- <tr>
- <td align="right"><select name="m" onchange="javascript:submitCalendar();" class="font">
- <?php
- $monthnames = $cobj->getMonthNames();
- for($f=1; $f<=sizeof($monthnames); $f++){
- $selected = ($f == (int)$m) ? " selected='selected'" : "";
- echo("<option value=\"".str_pad($f, 2, "0", STR_PAD_LEFT)."\"$selected>".$monthnames[$f-1]."</option>");
- }
- ?>
- </select></td><td align="left"><select name="y" onchange="javascript:submitCalendar();" class="font">
- <?php
- $thisyear = date('Y');
-
- //write year options
- for($year=$year_end; $year>=$year_start; $year--){
- $selected = ($year == $y) ? " selected='selected'" : "";
- echo("<option value=\"".$year."\"$selected>$year</option>");
- }
- ?>
- </select>
- </td>
- </tr>
- </table>
- <input name="selected_day" type="hidden" id="selected_day" value="<?php echo($sld);?>" />
- <input name="selected_month" type="hidden" id="selected_month" value="<?php echo($slm);?>" />
- <input name="selected_year" type="hidden" id="selected_year" value="<?php echo($sly);?>" />
- <input name="year_start" type="hidden" id="year_start" value="<?php echo($cobj->year_start_input);?>" />
- <input name="year_end" type="hidden" id="year_end" value="<?php echo($cobj->year_end_input);?>" />
- <input name="objname" type="hidden" id="objname" value="<?php echo($objname);?>" />
- <input name="dp" type="hidden" id="dp" value="<?php echo($dp);?>" />
-
- <input name="da1" type="hidden" id="da1" value="<?php echo($time_allow1);?>" />
- <input name="da2" type="hidden" id="da2" value="<?php echo($time_allow2);?>" />
- <input name="sna" type="hidden" id="sna" value="<?php echo($show_not_allow);?>" />
- <input name="aut" type="hidden" id="aut" value="<?php echo($auto_submit);?>" />
- <input name="frm" type="hidden" id="frm" value="<?php echo($form_name);?>" />
- <input name="tar" type="hidden" id="tar" value="<?php echo($target_url);?>" />
- <input name="inp" type="hidden" id="inp" value="<?php echo($show_input);?>" />
- <input name="fmt" type="hidden" id="fmt" value="<?php echo($date_format);?>" />
- <input name="dis" type="hidden" id="dis" value="<?php echo($dsb_txt);?>" />
-
- <input name="pr1" type="hidden" id="pr1" value="<?php echo($date_pair1);?>" />
- <input name="pr2" type="hidden" id="pr2" value="<?php echo($date_pair2);?>" />
- <input name="prv" type="hidden" id="prv" value="<?php echo($date_pair_value);?>" />
- <input name="pth" type="hidden" id="pth" value="<?php echo($path);?>" />
-
- <input name="spd" type="hidden" id="spd" value="<?php echo($cobj->check_json_encode($sp_dates));?>" />
- <input name="spt" type="hidden" id="spt" value="<?php echo($sp_type);?>" />
-
- <input name="och" type="hidden" id="och" value="<?php echo(urldecode($tc_onchanged));?>" />
-
- <input name="str" type="hidden" id="str" value="<?php echo($startDate);?>" />
- <input name="rtl" type="hidden" id="rtl" value="<?php echo($rtl);?>" />
- <input name="wks" type="hidden" id="wks" value="<?php echo($show_weeks);?>" />
- <input name="int" type="hidden" id="int" value="<?php echo($interval);?>" />
-
- <input name="hid" type="hidden" id="hid" value="<?php echo($auto_hide);?>" />
- <input name="hdt" type="hidden" id="hdt" value="<?php echo($auto_hide_time);?>" />
- </form>
- </div>
- <div id="calendar-container">
- <div id="calendar-body">
- <table border="0" cellspacing="1" cellpadding="0" align="center" class="font">
- <?php
- $day_headers = array_values($cobj->getDayHeaders());
-
- echo("<tr>");
-
- if ($show_weeks) echo("<td align=\"center\" class=\"header wk-hdr\"><div>".$cobj->week_hdr."</div></td>");
-
- //write calendar day header
- foreach($day_headers as $dh){
- echo("<td align=\"center\" class=\"header\"><div>".$dh."</div></td>");
- }
- echo("</tr>");
-
- for($row=0; $row<sizeof($calendar_rows); $row++){
- echo("<tr>");
-
- if ($show_weeks){
- asort($week_rows[$row]);
-
- //get week number with highest member
- $cw_keys = array_keys($week_rows[$row]);
-
- echo("<td align=\"center\" class=\"wk\"><div>".$cw_keys[(sizeof($cw_keys)-1)]."</div></td>");
- }
-
- foreach($calendar_rows[$row] as $column){
- $this_day = isset($column[0]) ? $column[0] : "";
- $this_link = isset($column[1]) ? $column[1] : "";
- $this_class = isset($column[2]) ? $column[2] : "";
- $this_id = isset($column[3]) ? $column[3] : "";
-
- $id_str = ($this_id) ? " id=\"$this_id\"" : "";
-
- if($this_link){
- echo("<td$id_str align=\"center\" class=\"$this_class\"><a href=\"$this_link\"><div>$this_day</div></a></td>");
- }else{
- echo("<td$id_str align=\"center\" class=\"$this_class\"><div>$this_day</div></td>");
- }
- }
- echo("</tr>");
- }
- ?>
- </table>
- </div>
-
- <?php
- if(($previous_year >= $year_start || $next_year <= $year_end) && ($show_previous || $show_next)){
- ?>
- <div id="calendar-footer">
- <div style="float: <?php echo($rtl ? "right" : "left"); ?>;" class="btn">
- <?php
- if($previous_year >= $year_start && $show_previous){
- ?><a href="javascript:move('<?php echo(str_pad($previous_month, 2, "0", STR_PAD_LEFT));?>', '<?php echo($previous_year);?>');"><img src="images/btn_<?php echo($rtl ? "next" : "previous"); ?>.gif" width="16" height="16" border="0" alt="Previous" title="Previous" /></a>
- <?php
- }else echo("&nbsp;");
- ?>
- </div>
- <div style="float: <?php echo($rtl ? "left" : "right"); ?>;" class="btn">
- <?php
- if($next_year <= $year_end && $show_next){
- ?><a href="javascript:move('<?php echo(str_pad($next_month, 2, "0", STR_PAD_LEFT));?>', '<?php echo($next_year);?>');"><img src="images/btn_<?php echo($rtl ? "previous" : "next"); ?>.gif" width="16" height="16" border="0" alt="Next" title="Next" /></a>
- <?php
- }else echo("&nbsp;");
- ?>
- </div>
- <div class="links">
- <?php
- $footer_links = array();
-
- if($cobj->validTodayDate() && ($m != $cdate->getDate('m') || $y != $cdate->getDate('Y')))
- $footer_links[] = "<a href=\"javascript:today();\" class=\"txt\" alt=\"Today\" title=\"Today\">Today</a>";
-
- if($sld>0 && $slm>0 && $sly>0)
- $footer_links[] = "<a href=\"javascript:unsetValue();\" class=\"txt\" alt=\"Unset\" title=\"Unset\">Unset</a>";
-
- if(sizeof($footer_links)>0){
- echo(implode(" | ", $footer_links));
- }
- ?>
- </div>
- </div>
- <?php } ?>
- </div>
-</span>
-</body>
-</html> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/calendar/change_log.txt b/non-puppet/qtmetrics/calendar/change_log.txt
deleted file mode 100644
index 54fa5d9..0000000
--- a/non-puppet/qtmetrics/calendar/change_log.txt
+++ /dev/null
@@ -1,154 +0,0 @@
-The php calendar component
-written by TJ @triconsole
-
-version 3.69 (21 May 2013)
-
-
-fixed: Incorrect next month display show on 'February 2008'
- - thanks Neeraj Jain for bug report
-
-fixed: Incorrect month comparable on calendar_form.php line 113
- - thanks Djenan Ganic, Ian Parsons, Jesse Davis for bug report
-
-add on: date on calendar form change upon textbox in datepicker mode
-add on: validate date enter from dropdown and textbox
-
-fixed: Calendar path not valid when select date from dropdown
- - thanks yamba for bug report
-
-adjust: add new function setWidth and deprecate getDayNum function
-
-fixed: year combo box display not correct when extend its value
- - thanks Luiz Augusto for bug report
-
-fixed on date and month value return that is not leading by '0'
-
-adjust: change php short open tag (<?=) to normal tag (<?php)
- - thanks Michael Lynch
-
-add on: getMonthNames() function to make custom month names on each language
- - thanks Jean-Francois Harrington
-
-add on: button close on datepicker on the top-right corner of calendar
- - thanks denis
-
-fixed: hide javascript alert when default date not defined
- - thanks jon-b
-
-fixed: incorrect layout when select part of date
- - thanks simonzebu (I just got what you said :) )
-
-fixed: not support date('N') for php version lower 5.0.1 so change to date('w') instead
- - thanks simonzebu, Kamil, greensilver for bug report
- - thanks Paul for the solution
-
-add on: setHeight() function to set the height of iframe container of calendar
- - thanks Nolochemcial
-
-add on: startMonday() function to set calendar display first day of week on Monday - deprecated since 3.61 and replaced by startDate()
-
-fixed: don't display year when not in year interval
-
-fixed: day combobox not update when select date from calendar
- - thanks ciprianmp
-
-add on: disabledDay() function to let the calendar disabled on specified day
- - thanks Jim R.
-
-fixed: total number of days startup incorrect
- - thanks Francois du Toit, ciprianmp
-
-add on: setAlignment() and setDatePair() function
- - thanks ciprianmp and many guys guiding this :)
-
-fixed: the header of calendar looks tight when day's header more than 2 characters, this can be adjusted by increasing width on calendar.css [#calendar-body td div { width: 15px; }]
- - thanks ciprianmp
-
-add on: setSpecificDate() to enable or disable specific date
- - thanks ciprianmp, phillip, and Steve to suggest this
-
-utilizing and cleaning up some codes on tc_calendar.php, calendar_form.php, and calendar.js
- - thanks Peter
-
-added: 2 functions for php version that does not support json
- - thanks Steve
-
-fixed: javascript error on datepair function on v3.50 and 3.51
- - thanks ciprianmp
-
-fixed: writeYear bug from $date_allow1 & 2 must be changed to $time_allow1 & 2
- - thanks ciprianmp again :(
-
-updated: setSpecificDate can be set month, year, and no recursive simultaneously
- - thanks ciprianmp, Steve
-
-add on: setOnChange to handling javascript onChange event
-
-fixed: dateAllow contains error on calendar_form.php
- - thanks matthijs
-
-fixed: error on calendar.js function checkSpecifyDate
- - thanks Todd
-
-fixed: the value of calendar is not restored when using back button on browser
- - thanks Nicolai
-
-add on: add X as background of disabled days
- - thanks SanSar
-
-fixed: 'Day' combobox contain no list dropdown when not call setDate() on initialization
- - thanks Fulin
-
-fixed: Fixed display style still have the default value in case the date is disabled.
- - thanks ciprianmp
-
-fixed: today date color disappear when date is disabled.
- - thanks ciprianmp
-
-fixed: javascript error from IE compatible not support for JSON
- - thanks ciprianmp
-
-adjusted: change the color of today date to green with border
- - thanks ciprianmp
-
-adjusted: rearrange source code on calendar_form.php for future use
-
-add on: showWeeks function
- - thanks Michael
-
-add on: support for RTL (right-to-left output)
- - thanks ciprianmp
-
-add on: startDate function and will be used instead of startMonday
-
-changed: make the DatePair function selectable on any dates. Date-from must be before Date-to, and on the other hand, otherwise it will be reset
- - thanks Chris, Rickard, ciprianmp
-
-fixed: incorrect parameter submited on javascript that caused an invalid date returned
- - thanks ciprianmp
-
-fixed: date selected hilight error
- - thanks John
-
-add on: auto hide calendar
- - thanks Wayne, Chris
-
-add on: auto focus an overlapping calendar to the top
-
-fixed: json checking function return error when server does not support for json
- - thanks strangeplant
-
-fixed: javascript possible error on Date.parse
-fixed: add on-change javascript in dropdown datepicker mode (missing previously)
- - thanks Alex
-
-fixed: 1st and 31st are always disabled when running with php4
- - thanks dl
-
-changed: use DateTime php class for php version >= 5.3.0 to support year 2038 and later
-
-fixed: valid today date checked with date allow
- - thanks ciprianmp
-
-updated: calendar.js on Date.prototype.format
- - thanks Haravikk \ No newline at end of file
diff --git a/non-puppet/qtmetrics/calendar/classes/tc_calendar.php b/non-puppet/qtmetrics/calendar/classes/tc_calendar.php
deleted file mode 100644
index f7d5c33..0000000
--- a/non-puppet/qtmetrics/calendar/classes/tc_calendar.php
+++ /dev/null
@@ -1,752 +0,0 @@
-<?php
-//*********************************************************
-// The php calendar component
-// written by TJ @triconsole
-//
-// version 3.69 (21 May 2013)
-//***************************************************************************
-
-require_once('tc_date.php');
-
-define('L_WARN_2038', 'Calendar does not support for year 2038 and later due to php version lower than 5.3.0!');
-
-class tc_calendar{
- var $icon;
- var $objname;
- var $txt = "Select"; //display when no calendar icon found or set up
- var $date_format = 'd-M-Y'; //format of date shown in panel if $show_input is false
- var $year_display_from_current = 30;
-
- var $date_picker;
- var $path = '';
-
- var $day = 00;
- var $month = 00;
- var $year = 0000;
-
- var $width = 150;
- var $height = 205;
-
- var $year_start;
- var $year_end;
-
- var $year_start_input;
- var $year_end_input;
-
- var $startDate = 0; //0 (for Sunday) through 6 (for Saturday)
-
- var $time_allow1 = false;
- var $time_allow2 = false;
- var $show_not_allow = false;
-
- var $auto_submit = false;
- var $form_container;
- var $target_url;
-
- var $show_input = true;
-
- var $dsb_days = array(); //collection of days to disabled
-
- var $zindex = 1;
-
- var $v_align = "bottom";
- var $h_align = "right";
- var $line_height = 18; //for vertical align offset
-
- var $date_pair1 = "";
- var $date_pair2 = "";
- var $date_pair_value = "";
-
- var $sp_dates = array(array(), array(), array()); //array[0]=no recursive, array[1]=monthly, array[0]=yearly
- var $sp_type = 0; //0=disabled specify date, 1=enabled only specify date
-
- var $tc_onchanged = "";
- var $rtl;
-
- var $show_week = false;
- var $week_hdr = "";
-
- var $interval = 1; //date selected interval, default 1 day
-
- var $auto_hide = 1;
- var $auto_hide_time = 1000;
-
- var $mydate;
- var $warning_msgs = array();
-
- //calendar constructor
- function tc_calendar($objname, $date_picker = false, $show_input = true){
- $this->objname = $objname;
- //$this->year_display_from_current = 50;
- $this->date_picker = $date_picker;
-
- //set default year display from current year
- $thisyear = date('Y');
- $this->year_start = $thisyear-$this->year_display_from_current;
- $this->year_end = $thisyear+$this->year_display_from_current;
-
- $this->show_input = $show_input;
-
- $this->mydate = new tc_date();
- }
-
- //check for leapyear
- function is_leapyear($year){
- return ($year % 4 == 0) ?
- !($year % 100 == 0 && $year % 400 <> 0) : false;
- }
-
- //get the total day of each month in year
- function total_days($month,$year){
- $days = array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
- if($month > 0 && $year > 0){
- return ($month == 2 && $this->is_leapYear($year)) ? 29 : $days[$month-1];
- }else return 31;
- }
-
- //Deprecate since v1.6
- function getDayNum($day){
- $headers = $this->getDayHeaders();
- return isset($headers[$day]) ? $headers[$day] : 0;
- }
-
- //get the day headers start from sunday till saturday
- function getDayHeaders(){
- $rtn_hdrs = array();
- $hdrs = array("0"=>"Su", "1"=>"Mo", "2"=>"Tu", "3"=>"We", "4"=>"Th", "5"=>"Fr", "6"=>"Sa");
-
- $startdate = $this->startDate;
-
- for($i=0; $i<=6; $i++){
- if($startdate >= sizeof($hdrs)) $startdate = 0;
- //if(isset($hdrs[(string)$startdate]))
- $rtn_hdrs[] = $hdrs[(string)$startdate];
-
- $startdate++;
- }
-
- return $rtn_hdrs;
- }
-
- function setIcon($icon){
- $this->icon = $icon;
- }
-
- function setText($txt){
- $this->txt = $txt;
- }
-
- //-----------------------------------------------------------
- //input the date format according to php date format
- // for example: 'd F y' or 'Y-m-d'
- //-----------------------------------------------------------
- function setDateFormat($format){
- $this->date_format = $format;
- }
-
- //set default selected date
- function setDate($day, $month, $year){
- $this->day = $day;
- $this->month = $month;
- $this->year = $year;
- }
-
- function setDateYMD($date){
- list($year, $month, $day) = explode("-", $date, 3);
- $this->day = $day;
- $this->month = $month;
- $this->year = $year;
- }
-
- //specified location of the calendar_form.php
- function setPath($path){
- $last_char = substr($path, strlen($path)-1, strlen($path));
- if($last_char != "/") $path .= "/";
- $this->path = $path;
- }
-
- function writeScript(){
- //check valid default date
- if(!$this->checkDefaultDateValid()){
- //unset default date
- $this->setDate(00, 00, 0000);
- }
-
- $this->writeHidden();
-
- //check whether it is a date picker
- if($this->date_picker){
- echo("<div style=\"position: relative; z-index: ".$this->zindex."; float: left;\" id=\"container_".$this->objname."\" onmouseover=\"javascript:focusCalendar('".$this->objname."');\" onmouseout=\"javascript:unFocusCalendar('".$this->objname."', ".$this->zindex.");\">");
-
- if($this->show_input){
- $this->writeDay();
- $this->writeMonth();
- $this->writeYear();
- }else{
- echo("&nbsp;<a href=\"javascript:toggleCalendar('".$this->objname."', ".$this->auto_hide.", ".$this->auto_hide_time.");\" class=\"tclabel\">");
- $this->writeDateContainer();
- echo("</a>");
- }
-
- echo("<a href=\"javascript:toggleCalendar('".$this->objname."', ".$this->auto_hide.", ".$this->auto_hide_time.");\">");
- if(is_file($this->icon)){
- echo("<img src=\"".$this->icon."\" id=\"tcbtn_".$this->objname."\" name=\"tcbtn_".$this->objname."\" border=\"0\" align=\"absmiddle\" alt=\"".$this->txt."\" title=\"".$this->txt."\" />");
- }else echo($this->txt);
- echo("</a>");
-
- $this->writeCalendarContainer();
-
- echo("</div>");
- }else{
- $this->writeCalendarContainer();
- }
- }
-
- function writeCalendarContainer(){
- $params = array();
- $params[] = "objname=".$this->objname;
- $params[] = "selected_day=".$this->day;
- $params[] = "selected_month=".$this->month;
- $params[] = "selected_year=".$this->year;
- $params[] = "year_start=".$this->year_start_input;
- $params[] = "year_end=".$this->year_end_input;
- $params[] = "dp=".(($this->date_picker) ? 1 : 0);
-
- $params[] = "da1=".$this->time_allow1;
- $params[] = "da2=".$this->time_allow2;
- $params[] = "sna=".$this->show_not_allow;
-
- $params[] = "aut=".$this->auto_submit;
- $params[] = "frm=".$this->form_container;
- $params[] = "tar=".$this->target_url;
-
- $params[] = "inp=".$this->show_input;
- $params[] = "fmt=".$this->date_format;
- $params[] = "dis=".implode(",", $this->dsb_days);
-
- $params[] = "pr1=".$this->date_pair1;
- $params[] = "pr2=".$this->date_pair2;
- $params[] = "prv=".$this->date_pair_value;
- $params[] = "pth=".$this->path;
-
- $params[] = "spd=".$this->check_json_encode($this->sp_dates);
- $params[] = "spt=".$this->sp_type;
-
- $params[] = "och=".urlencode($this->tc_onchanged);
- $params[] = "str=".$this->startDate;
- $params[] = "rtl=".$this->rtl;
-
- $params[] = "wks=".$this->show_week;
- $params[] = "int=".$this->interval;
-
- $params[] = "hid=".$this->auto_hide;
- $params[] = "hdt=".$this->auto_hide_time;
-
- $paramStr = (sizeof($params)>0) ? "?".implode("&", $params) : "";
-
- if($this->date_picker){
- $div_display = "hidden";
- $div_position = "absolute";
-
- $line_height = $this->line_height;
-
- if(is_file($this->icon)){
- $img_attribs = getimagesize($this->icon);
- $line_height = $img_attribs[1]+2;
- }
-
- $div_align = "";
-
- //adjust alignment
- switch($this->v_align){
- case "top":
- $div_align .= "bottom:".$line_height."px;";
- break;
- case "bottom":
- default:
- $div_align .= "top:".$line_height."px;";
-
- }
-
- switch($this->h_align){
- case "left":
- $div_align .= "left:0px;";
- break;
- case "right":
- default:
- $div_align .= "right:0px;";
-
- }
-
- }else{
- $div_display = "visible";
- $div_position = "relative";
- $div_align = "";
- }
-
- $mout_str = ($this->auto_hide && $this->date_picker) ? " onmouseout=\"javascript:prepareHide('".$this->objname."', ".$this->auto_hide_time.");\"" : "";
-
- $mover_str = " onmouseover=\"javascript:cancelHide('".$this->objname."');\"";
-
- //write the calendar container
- echo("<div id=\"div_".$this->objname."\" style=\"position:".$div_position."; visibility:".$div_display."; z-index:100;".$div_align."\" class=\"div_calendar calendar-border\" ".$mout_str.$mover_str.">");
- echo("<IFRAME id=\"".$this->objname."_frame\" src=\"".$this->path."calendar_form.php".$paramStr."\" frameBorder=\"0\" scrolling=\"no\" allowtransparency=\"true\" width=\"100%\" height=\"100%\" style=\"z-index: 100;\"></IFRAME>");
- echo("</div>");
- }
-
- //write the select box of days
- function writeDay(){
- $total_days = $this->total_days($this->month, $this->year);
-
- echo("<select name=\"".$this->objname."_day\" id=\"".$this->objname."_day\" onChange=\"javascript:tc_setDay('".$this->objname."', this[this.selectedIndex].value);\" class=\"tcday\"".($this->rtl ? " dir=\"rtl\"" : "").">");
- echo("<option value=\"00\"".($this->rtl ? " dir=\"rtl\"" : "").">Day</option>");
- for($i=1; $i<=$total_days; $i++){
- $selected = ((int)$this->day == $i) ? " selected='selected'" : "";
- echo("<option value=\"".str_pad($i, 2 , "0", STR_PAD_LEFT)."\"$selected".($this->rtl ? " dir=\"rtl\"" : "").">".$i."</option>");
- }
- echo("</select> ");
- }
-
- //write the select box of months
- function writeMonth(){
- echo("<select name=\"".$this->objname."_month\" id=\"".$this->objname."_month\" onChange=\"javascript:tc_setMonth('".$this->objname."', this[this.selectedIndex].value);\" class=\"tcmonth\"".($this->rtl ? " dir=\"rtl\"" : "").">");
- echo("<option value=\"00\"".($this->rtl ? " dir=\"rtl\"" : "").">Month</option>");
-
- $monthnames = $this->getMonthNames();
- for($i=1; $i<=sizeof($monthnames); $i++){
- $selected = ((int)$this->month == $i) ? " selected='selected'" : "";
- echo("<option value=\"".str_pad($i, 2, "0", STR_PAD_LEFT)."\"$selected".($this->rtl ? " dir=\"rtl\"" : "").">".$monthnames[$i-1]."</option>");
- }
- echo("</select> ");
- }
-
- //write the year textbox
- function writeYear(){
- //echo("<input type=\"textbox\" name=\"".$this->objname."_year\" id=\"".$this->objname."_year\" value=\"$this->year\" maxlength=4 size=5 onBlur=\"javascript:tc_setYear('".$this->objname."', this.value, '$this->path');\" onKeyPress=\"javascript:if(yearEnter(event)){ tc_setYear('".$this->objname."', this.value, '$this->path'); return false; }\"> ");
- echo("<select name=\"".$this->objname."_year\" id=\"".$this->objname."_year\" onChange=\"javascript:tc_setYear('".$this->objname."', this[this.selectedIndex].value);\" class=\"tcyear\"".($this->rtl ? " dir=\"rtl\"" : "").">");
- echo("<option value=\"0000\"".($this->rtl ? " dir=\"rtl\"" : "").">Year</option>");
-
- $year_start = $this->year_start;
- $year_end = $this->year_end;
-
- //check year to be selected in case of time_allow is set
- if(!$this->show_not_allow && ($this->time_allow1 || $this->time_allow2)){
- if($this->time_allow1 && $this->time_allow2){
- $year_start = $this->mydate->getDateFromTimestamp($this->time_allow1, 'Y');
- $year_end = $this->mydate->getDateFromTimestamp($this->time_allow2, 'Y');
- }elseif($this->time_allow1){
- //only date 1 specified
- $year_start = $this->mydate->getDateFromTimestamp($this->time_allow1, 'Y');
- }elseif($this->time_allow2){
- //only date 2 specified
- $year_end = $this->mydate->getDateFromTimestamp($this->time_allow2, 'Y');
- }
- }
-
- for($i=$year_end; $i>=$year_start; $i--){
- $selected = ((int)$this->year == $i) ? " selected='selected'" : "";
- echo("<option value=\"$i\"$selected".($this->rtl ? " dir=\"rtl\"" : "").">".$i."</option>");
- }
- echo("</select> ");
- }
-
- function eHidden($suffix, $value) {
- if($suffix) $suffix = "_".$suffix;
- echo("<input type=\"hidden\" name=\"".$this->objname.$suffix."\" id=\"".$this->objname.$suffix."\" value=\"".$value."\" />");
- }
-
- //write hidden components
- function writeHidden(){
- $this->eHidden('', $this->getDate());
- $this->eHidden('dp', $this->date_picker);
- $this->eHidden('year_start', $this->year_start);
- $this->eHidden('year_end', $this->year_end);
-
- $this->eHidden('da1', $this->time_allow1);
- $this->eHidden('da2', $this->time_allow2);
- $this->eHidden('sna', $this->show_not_allow);
- $this->eHidden('aut', $this->auto_submit);
- $this->eHidden('frm', $this->form_container);
- $this->eHidden('tar', $this->target_url);
- $this->eHidden('inp', $this->show_input);
- $this->eHidden('fmt', $this->date_format);
- $this->eHidden('dis', implode(",", $this->dsb_days));
- $this->eHidden('pr1', $this->date_pair1);
- $this->eHidden('pr2', $this->date_pair2);
- $this->eHidden('prv', $this->date_pair_value);
- $this->eHidden('pth', $this->path);
-
- $this->eHidden('spd', $this->check_json_encode($this->sp_dates));
- $this->eHidden('spt', $this->sp_type);
-
- $this->eHidden('och', urlencode($this->tc_onchanged));
- $this->eHidden('str', $this->startDate);
- $this->eHidden('rtl', $this->rtl);
- $this->eHidden('wks', $this->show_week);
- $this->eHidden('int', $this->interval);
-
- $this->eHidden('hid', $this->auto_hide);
- $this->eHidden('hdt', $this->auto_hide_time);
- }
-
- //set width of calendar
- //---------------------------
- // Deprecated since version 2.9
- // Auto sizing is applied
- //---------------------------
- function setWidth($width){
- if($width) $this->width = $width;
- }
-
- //set height of calendar
- //---------------------------
- // Deprecated since version 2.9
- // Auto sizing is applied
- //---------------------------
- function setHeight($height){
- if($height) $this->height = $height;
- }
-
- function setYearInterval($start, $end){
- $this->year_start_input = $start;
- $this->year_end_input = $end;
-
- if(!$start) $start = $this->year_start;
- if(!$end) $end = $this->year_end;
-
- if($start < $end){
- $this->year_start = $start;
- $this->year_end = $end;
- }else{
- $this->year_start = $end;
- $this->year_end = $start;
- }
-
- //check for supported year
- if($this->year_start < 1900) $this->year_start = 1900;
-
- if(!$this->mydate->compatible && $this->year_end > 2037){
- $this->year_end = 2037;
- $this->warning_msgs[] = L_WARN_2038;
- }
- }
-
- function getMonthNames(){
- return array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
- }
-
- //-------------------------------
- // Deprecated since version 3.61
- // override by startDate()
- //-------------------------------
- function startMonday($flag){
- //$this->startMonday = $flag;
-
- //change it so that it will not cause an error after version 3.61
- if($flag) $this->startDate = 1;
- }
-
- function startDate($num){
- if(is_numeric($num) && $num >= 0 && $num <= 6)
- $this->startDate = $num;
- }
-
- function dateAllow($from = "", $to = "", $show_not_allow = true){
- $time_from = ($from) ? $this->mydate->getTimestamp($from) : 0;
- $time_to = ($to) ? $this->mydate->getTimestamp($to) : 0;
-
- // prior to version 5.1 strtotime returns -1 for bad input
- if (version_compare(PHP_VERSION, '5.1.0') < 0) {
- if ($time_from == -1) $time_from = 0;
- if ($time_to == -1) $time_to = 0;
- }
-
- // sanity check, ensure time_from earlier than time_to
- if($time_from>0 && $time_to>0 && $time_from > $time_to){
- $tmp = $time_from;
- $time_from = $time_to;
- $time_to = $tmp;
- }
-
- if ($time_from>0) {
- $this->time_allow1 = $time_from;
- $y = $this->mydate->getDateFromTimestamp($time_from, 'Y');
- if($this->year_start && $y > $this->year_start) $this->year_start = $y;
-
- //setup year end from year start
- if($time_to<=0 && !$this->year_end) $this->year_end = $this->year_start + $this->year_display_from_current;
- }
-
- if ($time_to>0) {
- $this->time_allow2 = $time_to;
- $y = $this->mydate->getDateFromTimestamp($time_to, 'Y');
- if($this->year_end && $y < $this->year_end) $this->year_end = $y;
-
- //setup year start from year end
- if($time_from<=0 && !$this->year_start) $this->year_start = $this->year_end - $this->year_display_from_current;
- }
-
- $this->show_not_allow = $show_not_allow;
- }
-
- function autoSubmit($auto, $form_name, $target = ""){
- $this->auto_submit = $auto;
- $this->form_container = $form_name;
- $this->target_url = $target;
- }
-
- function getDate(){
- return str_pad($this->year, 4, "0", STR_PAD_LEFT)."-".str_pad($this->month, 2, "0", STR_PAD_LEFT)."-".str_pad($this->day, 2, "0", STR_PAD_LEFT);
- }
-
- function showInput($flag){
- $this->show_input = $flag;
- }
-
- function writeDateContainer(){
- if($this->day && $this->month && $this->year){
- $dd = $this->mydate->getDate($this->date_format, $this->year."-".$this->month."-".$this->day);
- }else $dd = "Select Date";
-
- echo("<span id=\"divCalendar_".$this->objname."_lbl\" class=\"date-tccontainer\"".($this->rtl ? " dir=\"rtl\"" : "").">$dd</span>");
- }
-
- //------------------------------------------------------
- // This function disable day column as specified value
- // day values : Sun, Mon, Tue, Wed, Thu, Fri, Sat
- //------------------------------------------------------
- function disabledDay($day){
- $day = strtolower($day); //make it not case-sensitive
- if(in_array($day, $this->dsb_days) === false)
- $this->dsb_days[] = $day;
- }
-
- function setAlignment($h_align, $v_align){
- $this->h_align = $h_align;
- $this->v_align = $v_align;
- }
-
- function setDatePair($calendar_name1, $calendar_name2, $pair_value = "0000-00-00 00:00:00"){
- if($calendar_name1 != $this->objname){
- $this->date_pair1 = $calendar_name1;
- if($pair_value != "0000-00-00 00:00:00")
- $this->date_pair_value = $pair_value;
- }elseif($calendar_name2 != $this->objname){
- $this->date_pair2 = $calendar_name2;
- if($pair_value != "0000-00-00 00:00:00")
- $this->date_pair_value = $pair_value;
- }
- }
-
- function setSpecificDate($dates, $type=0, $recursive=""){
- if(is_array($dates)){
- $recursive = strtolower($recursive);
-
- //change specific date to time
- foreach($dates as $sp_date){
- $sp_time = $this->mydate->getTimestamp($sp_date);
-
- if($sp_time > 0){
- switch($recursive){
- case "month": //add to monthly
- if(!in_array($sp_time, $this->sp_dates[1]))
- $this->sp_dates[1][] = $sp_time;
- break;
- case "year": //add to yearly
- if(!in_array($sp_time, $this->sp_dates[2]))
- $this->sp_dates[2][] = $sp_time;
- break;
- default: //add to no recursive
- if(!in_array($sp_time, $this->sp_dates[0]))
- $this->sp_dates[0][] = $sp_time;
- }
- }
- }
-
- $this->sp_type = ($type == 1) ? 1 : 0; //control data type for $type
- }
- }
-
- function checkDefaultDateValid($reset = true){
- $date_str = $this->year."-".$this->month."-".$this->day;
- $default_datetime = $this->mydate->getTimestamp($date_str);
-
- //reset year if set to 2038 and later
- if(!$this->mydate->compatible && $this->year >= 2038){
- return false;
- }
-
- //check if set date is in year interval
- $start_interval = $this->year_start."-01-01";
- $end_interval = $this->year_end."-12-31";
-
- //check if set date is before start_interval
- if($this->mydate->dateBefore($start_interval, $date_str)){
- return false;
- }
-
- //check if set date is after end_interval
- if($this->mydate->dateAfter($end_interval, $date_str)){
- return false;
- }
-
- //check with allow date
- if($this->time_allow1 && $this->time_allow2){
- if($default_datetime < $this->time_allow1 || $default_datetime > $this->time_allow2) return false;
- }elseif($this->time_allow1){
- if($default_datetime < $this->time_allow1) return false;
- }elseif($this->time_allow2){
- if($default_datetime > $this->time_allow2) return false;
- }
-
- //check with specific date
- if(is_array($this->sp_dates) && sizeof($this->sp_dates) > 0){
- //check if it is current date
- $sp_found = false;
-
- if(isset($this->sp_dates[2])){
- foreach($this->sp_dates[2] as $sp_time){
- $sp_time_md = $this->mydate->getDateFromTimestamp($sp_time, 'md');
- $this_md = $this->mydate->getDateFromTimestamp($default_datetime, 'md');
- if($sp_time_md == $this_md){
- $sp_found = true;
- break;
- }
- }
- }
-
- if(isset($this->sp_dates[1]) && !$sp_found){
- foreach($this->sp_dates[1] as $sp_time){
- $sp_time_d = $this->mydate->getDateFromTimestamp($sp_time, 'd');
- if($sp_time_d == $this->day){
- $sp_found = true;
- break;
- }
- }
- }
-
- if(isset($this->sp_dates[0]) && !$sp_found){
- $sp_found = in_array($default_datetime, $this->sp_dates[0]);
- }
-
- switch($this->sp_type){
- case 0:
- default:
- //disabled specific and enabled others
- if($sp_found) return false;
- break;
- case 1:
- //enabled specific and disabled others
- if(!$sp_found) return false;
- break;
- }
- }
-
- if(is_array($this->dsb_days) && sizeof($this->dsb_days) > 0){
- $day_txt = $this->mydate->getDateFromTimestamp($default_datetime, 'D');
- if(in_array(strtolower($day_txt), $this->dsb_days) !== false){
- return false;
- }
- }
-
- return true;
- }
-
- function check_json_encode($obj){
- //try customize to get it work, should replace with better solution in the future
-
- if(function_exists("json_encode")){
- return json_encode($obj);
- }else{
- //only array is assumed for now
- if(is_array($obj)){
- $return_arr = array();
- foreach($obj as $arr){
- if(is_array($arr))
- $return_arr[] = "[".implode(",", $arr)."]";
- }
- return "[".implode(",", $return_arr)."]";
- }else return "";
- }
- }
-
- function &check_json_decode($str){
- //should replace with better solution in the future
-
- if(function_exists("json_decode")){
- return json_decode($str);
- }else{
- //only array is assume for now
- $str = trim($str);
- if($str && strlen($str) > 2){
- $str = substr($str, 1, strlen($str)-2);
-
- $return_arr = array();
-
- $offset = 0;
- for($i=0; $i<3; $i++){
- //find first '['
- $start_pos = strpos($str, "[", $offset);
- if($start_pos !== false){
- //find next ']'
- $end_pos = strpos($str, "]", $offset);
- if($end_pos !== false){
- $return_str = substr($str, $start_pos+1, ($end_pos-$start_pos-1));
- $return_arr[] = explode(",", $return_str);
- $offset = $end_pos+1;
- }else $return_arr[] = array();
- }else $return_arr[] = array();
- }
- return $return_arr;
- }else return array();
- }
- }
-
- function setOnChange($value){
- $this->tc_onchanged = $value;
- }
-
- function showWeeks($flag){
- $this->show_week = $flag;
- }
-
- function setAutoHide($auto, $time = ""){
- $this->auto_hide = ($auto) ? 1 : 0;
- if($time != "" && $time >= 0){
- $this->auto_hide_time = $time;
- }
- }
-
- //*****************
- // Validate the today date of calendar
- //*****************
- function validTodayDate(){
- $today = $this->mydate->getDate();
-
- //check if today is year 2038 and later
- if(!$this->mydate->compatible && date('Y') >= 2038){
- return false;
- }
-
- //check if today is in range of date allow
- if($this->time_allow1 > 0){
- //get date of time allow1
- $date_allow1 = $this->mydate->getDateFromTimestamp($this->time_allow1);
-
- //check valid if today is after date_allow1
- if(!$this->mydate->dateAfter($date_allow1, $today))
- return false;
- }
-
- if($this->time_allow2 > 0){
- //get date of time allow2
- $date_allow2 = $this->mydate->getDateFromTimestamp($this->time_allow2);
-
- //check valid if today is before date_allow2
- if(!$this->mydate->dateBefore($date_allow2, $today))
- return false;
- }
- return true;
- }
-}
-?> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/calendar/classes/tc_date.php b/non-puppet/qtmetrics/calendar/classes/tc_date.php
deleted file mode 100644
index 356710a..0000000
--- a/non-puppet/qtmetrics/calendar/classes/tc_date.php
+++ /dev/null
@@ -1,176 +0,0 @@
-<?php
-//*************************************
-// Date handling class for tc_calendar
-// for php version higher than 5.3.0
-// written by TJ @triconsole
-//*************************************
-
-require_once('tc_date_main.php');
-
-class tc_date extends tc_date_main{
- var $compatible;
-
- function tc_date(){
- //check if we should use DateTime that comes with 5.3.0 and later
- if (version_compare(PHP_VERSION, '5.3.0') <= 0) {
- $this->compatible = false;
- }else $this->compatible = true;
-
- if(!$this->compatible){
- $this->tc_date_main();
- }else{
- $this->mydate = new DateTime('now');
- }
- }
-
- function getDayOfWeek($cdate = ""){
- if(!$this->compatible){
- return tc_date_main::getDayOfWeek($cdate);
- }else{
- if(($cdate != "" && $this->validDate($cdate)) || $cdate == ""){
- $tmp_date = ($cdate != "") ? new DateTime($cdate) : $this->mydate;
- return $tmp_date->format('w');
- }else return "";
- }
- }
-
-
- function getWeekNumber($cdate = ""){
- if(!$this->compatible){
- return tc_date_main::getWeekNumber($cdate);
- }else{
- if(($cdate != "" && $this->validDate($cdate)) || $cdate == ""){
- $tmp_date = ($cdate != "") ? new DateTime($cdate) : $this->mydate;
- return $tmp_date->format('W');
- }else return "";
- }
- }
-
- function setDate($sdate){
- if(!$this->compatible){
- tc_date_main::setDate($sdate);
- }else{
- if(tc_date_main::validDate($sdate))
- $this->mydate = new DateTime($sdate);
- }
- }
-
- function getDate($format = "Y-m-d", $cdate = ""){
- if(!$this->compatible){
- return tc_date_main::getDate($format, $cdate);
- }else{
- if(($cdate != "" && $this->validDate($cdate)) || $cdate == ""){
- $tmp_date = ($cdate != "") ? new DateTime($cdate) : $this->mydate;
- return $tmp_date->format($format);
- }else return "";
- }
- }
-
- function setTimestamp($stime){
- if(!$this->compatible){
- tc_date_main::setTimestamp($stime);
- }else{
- $this->mydate->setTimestamp($stime);
- }
- }
-
- function getTimestamp($cdate = ""){
- if(!$this->compatible){
- return tc_date_main::getTimestamp($cdate);
- }else{
- if(($cdate != "" && $this->validDate($cdate)) || $cdate == ""){
- $tmp_date = ($cdate != "") ? new DateTime($cdate) : $this->mydate;
- return $tmp_date->getTimestamp();
- }else return 0;
- }
- }
-
- function getDateFromTimestamp($stime, $format = 'Y-m-d'){
- if(!$this->compatible){
- return tc_date_main::getDateFromTimestamp($stime, $format);
- }else{
- $tmp_date = new DateTime();
- $tmp_date->setTimestamp($stime);
- return $tmp_date->format($format);
- }
- }
-
- function addDay($format = "Y-m-d", $timespan, $cdate = ""){
- if(!$this->compatible){
- return tc_date_main::addDay($format, $timespan, $cdate);
- }else{
- $timespan = "P".$timespan."D";
- return $this->addDate($format, $timespan, $cdate);
- }
- }
-
- function addMonth($format = "Y-m-d", $timespan, $cdate = ""){
- if(!$this->compatible){
- return tc_date_main::addMonth($format, $timespan, $cdate);
- }else{
- $timespan = "P".$timespan."M";
- return $this->addDate($format, $timespan, $cdate);
- }
- }
-
- function addYear($format = "Y-m-d", $timespan, $cdate = ""){
- if(!$this->compatible){
- return tc_date_main::addYear($format, $timespan, $cdate);
- }else{
- $timespan = "P".$timespan."Y";
- return $this->addDate($format, $timespan, $cdate);
- }
- }
-
- function addDate($format = "Y-m-d", $timespan, $cdate = ""){
- if($this->compatible){
- $tmp_date = ($cdate != "") ? new DateTime($cdate) : $this->mydate;
- $tmp_date->add(new DateInterval($timespan));
- return $tmp_date->format($format);
- }else return "0000-00-00";
- }
-
- //return the number of day different between date1 and date2
- //if date1 omitted use set date
- function differentDate($date2, $date1 = ""){
- if(!$this->compatible){
- return tc_date_main::differentDate($date2, $date1);
- }else{
- $date1 = ($date1 != "") ? $date1 : $this->getDate('Y-m-d');
-
- $date1 = new DateTime($date1);
- $date2 = new DateTime($date2);
- $interval = $date1->diff($date2, true);
- return $interval->format('%a');
- }
- }
-
- //check if date1 is before date2
- //if date1 omitted use set date
- function dateBefore($date2, $date1 = "", $equal = true){
- if(!$this->compatible){
- return tc_date_main::dateBefore($date2, $date1, $equal);
- }else{
- $date1 = ($date1 != "") ? $date1 : $this->getDate('Y-m-d');
-
- $date1 = new DateTime($date1);
- $date2 = new DateTime($date2);
- return ($equal) ? $date1<=$date2 : $date1<$date2;
- }
- }
-
- //check if date1 is after date2
- //if date1 omitted use set date
- function dateAfter($date2, $date1 = "", $equal = true){
- if(!$this->compatible){
- return tc_date_main::dateAfter($date2, $date1, $equal);
- }else{
- $date1 = ($date1 != "") ? $date1 : $this->getDate('Y-m-d');
-
- $date1 = new DateTime($date1);
- $date2 = new DateTime($date2);
- return ($equal) ? $date1>=$date2 : $date1>$date2;
- }
- }
-}
-?> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/calendar/classes/tc_date_main.php b/non-puppet/qtmetrics/calendar/classes/tc_date_main.php
deleted file mode 100644
index b972dfe..0000000
--- a/non-puppet/qtmetrics/calendar/classes/tc_date_main.php
+++ /dev/null
@@ -1,120 +0,0 @@
-<?php
-//*************************************
-// Date handling class for tc_calendar
-// for php version lower than 5.3.0
-// written by TJ @triconsole
-//*************************************
-
-class tc_date_main{
- var $mydate;
-
- function tc_date_main(){
- $this->mydate = strtotime(date('Y-m-d'));
- }
-
- function getDayOfWeek($cdate = ""){
- if(($cdate != "" && $this->validDate($cdate)) || $cdate == ""){
- $tmp_date = ($cdate != "") ? strtotime($cdate) : $this->mydate;
- return date('w', $tmp_date);
- }
- }
-
- function getWeekNumber($cdate = ""){
- if(($cdate != "" && $this->validDate($cdate)) || $cdate == ""){
- $tmp_date = ($cdate != "") ? strtotime($cdate) : $this->mydate;
- return date('W', $tmp_date);
- }
- }
-
- function setDate($sdate){
- if($this->validDate($sdate))
- $this->mydate = strtotime($sdate);
- }
-
- function getDate($format = "Y-m-d", $cdate = ""){
- if(($cdate != "" && $this->validDate($cdate)) || $cdate == ""){
- $tmp_date = ($cdate != "") ? strtotime($cdate) : $this->mydate;
- return date($format, $tmp_date);
- }else return "";
- }
-
- function setTimestamp($stime){
- $this->mydate = $stime;
- }
-
- function getTimestamp($cdate = ""){
- if(($cdate != "" && $this->validDate($cdate)) || $cdate == ""){
- $tmp_date = ($cdate != "") ? strtotime($cdate) : $this->mydate;
- return $tmp_date;
- }else return 0;
- }
-
- function getDateFromTimestamp($stime, $format = "Y-m-d"){
- if($stime && $stime > 0){
- return date($format, $stime);
- }else return "0000-00-00";
- }
-
- function addDay($format = "Y-m-d", $timespan, $cdate = ""){
- if(($cdate != "" && $this->validDate($cdate)) || $cdate == ""){
- $tmp_date = ($cdate != "") ? strtotime($cdate) : $this->mydate;
- return date($format, mktime(0,0,0,date('m', $tmp_date),(date('d', $tmp_date)+$timespan),date('Y', $tmp_date)));
- }else return "0000-00-00";
- }
-
- function addMonth($format = "Y-m-d", $timespan, $cdate = ""){
- if(($cdate != "" && $this->validDate($cdate)) || $cdate == ""){
- $tmp_date = ($cdate != "") ? strtotime($cdate) : $this->mydate;
- return date($format, mktime(0,0,0,(date('m', $tmp_date)+$timespan),date('d', $tmp_date),date('Y', $tmp_date)));
- }else return "0000-00-00";
- }
-
- function addYear($format = "Y-m-d", $timespan, $cdate = ""){
- if(($cdate != "" && $this->validDate($cdate)) || $cdate == ""){
- $tmp_date = ($cdate != "") ? strtotime($cdate) : $this->mydate;
- return date($format, mktime(0,0,0,date('m', $tmp_date),date('d', $tmp_date),(date('Y', $tmp_date)+$timespan)));
- }else return "0000-00-00";
- }
-
- //return the number of day different between date1 and date2
- //if date1 omitted use set date
- function differentDate($date2, $date1 = ""){
- if($this->validDate($date2)){
- $date1 = ($date1 != "") ? strtotime($date1) : $this->mydate;
-
- $date_diff = $date1-strtotime($date2);
- return abs($date_diff);
- }else return false;
- }
-
- //check if date1 is before date2
- //if date1 omitted use set date
- function dateBefore($date2, $date1 = "", $equal = true){
- if($this->validDate($date2)){
- $date1 = ($date1 != "") ? strtotime($date1) : $this->mydate;
- $date2 = strtotime($date2);
- return ($equal) ? $date1<=$date2 : $date1<$date2;
- }else return false;
- }
-
- //check if date1 is after date2
- //if date1 omitted use set date
- function dateAfter($date2, $date1 = "", $equal = true){
- if($this->validDate($date2)){
- $date1 = ($date1 != "") ? strtotime($date1) : $this->mydate;
- $date2 = strtotime($date2);
- return ($equal) ? $date1>=$date2 : $date1>$date2;
- }else return false;
- }
-
- function validDate($date_str){
- if($date_str != ""){
- $date_arr = explode("-", $date_str, 3);
-
-// if(isset($date_arr[0]) && is_int($date_arr[0]) && isset($date_arr[1]) && is_int($date_arr[1]) && isset($date_arr[2]) && is_int($date_arr[2])){
- return (checkdate($date_arr[1], $date_arr[2], $date_arr[0])) ? true : false;
-// }else return false;
- }else return false;
- }
-}
-?> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/calendar/images/btn_next.gif b/non-puppet/qtmetrics/calendar/images/btn_next.gif
deleted file mode 100644
index 94a3ba9..0000000
--- a/non-puppet/qtmetrics/calendar/images/btn_next.gif
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics/calendar/images/btn_previous.gif b/non-puppet/qtmetrics/calendar/images/btn_previous.gif
deleted file mode 100644
index 4834673..0000000
--- a/non-puppet/qtmetrics/calendar/images/btn_previous.gif
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics/calendar/images/choose.png b/non-puppet/qtmetrics/calendar/images/choose.png
deleted file mode 100644
index 10ddf78..0000000
--- a/non-puppet/qtmetrics/calendar/images/choose.png
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics/calendar/images/close.gif b/non-puppet/qtmetrics/calendar/images/close.gif
deleted file mode 100644
index 09b61a5..0000000
--- a/non-puppet/qtmetrics/calendar/images/close.gif
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics/calendar/images/disable_date_bg.png b/non-puppet/qtmetrics/calendar/images/disable_date_bg.png
deleted file mode 100644
index b5b5308..0000000
--- a/non-puppet/qtmetrics/calendar/images/disable_date_bg.png
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics/calendar/images/iconCalendar.gif b/non-puppet/qtmetrics/calendar/images/iconCalendar.gif
deleted file mode 100644
index 994905e..0000000
--- a/non-puppet/qtmetrics/calendar/images/iconCalendar.gif
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics/ci/calendar/images/iconCalendar.gif b/non-puppet/qtmetrics/ci/calendar/images/iconCalendar.gif
deleted file mode 100644
index 994905e..0000000
--- a/non-puppet/qtmetrics/ci/calendar/images/iconCalendar.gif
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics/ci/definitions.php b/non-puppet/qtmetrics/ci/definitions.php
deleted file mode 100644
index 950ed70..0000000
--- a/non-puppet/qtmetrics/ci/definitions.php
+++ /dev/null
@@ -1,130 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-/* Platform grouping by Configurations */
-
-$arrayPlatform = array(
- // Platform name String in Configuration
- array( "All", "*" ), // Index 0 reserved for 'not selected'
- array( "Linux all", "*linux*" ),
- array( "Linux OpenSuSE", "*linux*OpenSuSE*" ),
- array( "Linux RHEL", "*linux*RHEL*" ),
- array( "Linux Ubuntu", "*linux*Ubuntu*" ),
- array( "Mac all", "macx*" ),
- array( "Mac OS X 10.6", "macx*OSX_10.6" ),
- array( "Mac OS X 10.7", "macx*OSX_10.7" ),
- array( "Mac OS X 10.8", "macx*OSX_10.8" ),
- array( "Mac OS X 10.9", "macx*OSX_10.9" ),
- array( "Windows all", "*Windows*" ),
- array( "Windows 7", "*Windows_7" ),
- array( "Windows 8", "*Windows_8" ),
- array( "Windows 8.1", "*Windows_81" ),
-);
-
-/* Project dashboard definitions */
-
-if (!defined("HISTORYBUILDCOUNT"))
- define("HISTORYBUILDCOUNT", 20); // Number of builds to be shown in Project and Configuration build history graphs
- // (for consistency it may be reasonable to set this same as AUTOTEST_LATESTBUILDCOUNT)
-
-if (!defined("AUTOTEST_LATESTBUILDCOUNT"))
- define("AUTOTEST_LATESTBUILDCOUNT", 20); // Number of latest builds to be checked for each Project
-
-if (!defined("FLAGON"))
- define("FLAGON", "Yes"); // Flag display tags (e.g. for Configuration force success)
-if (!defined("FLAGOFF"))
- define("FLAGOFF", "-"); // Flag display tags (e.g. for Configuration force success)
-
-/* Build phases in the order of execution */
-define("BUILDMAINPHASEPREFIX", "testing"); // The checked phases appear under this main phase (starting with this string)
-define("PHASEQUICKWITHIDLE", 99999); // Tag phase that was delayed (has an idle time) but was completed in 0s (encode in calculation, decode in printing)
-define("BUILDPHASESID", 0);
-define("BUILDPHASESDISPLAYNAME", 1);
-define("BUILDPHASESFULLNAMEPREFIX", 2);
-$arrayAllBuildPhases = array(
- // Id Displayed name Phase name in database (starting with)
- array( "PHASECLEANINGIDLE", "", "idle" ), // The idle time before starting the next phase
- array( "PHASECLEANING", "cleaning", "cleaning existing target directories" ),
- array( "PHASEGITREPOSIDLE", "", "idle" ),
- array( "PHASEGITREPOS", "git repos", "setting up git repositories" ),
- array( "PHASECONFIGURINGIDLE", "", "idle" ),
- array( "PHASECONFIGURING", "configuring Qt", "configuring Qt" ),
- array( "PHASEQTQATESTS1IDLE", "", "idle" ),
- array( "PHASEQTQATESTS1", "qtqa tests (1)", "running the qtqa tests" ), // Exception: qtqa tests may be run either after 'configuring Qt' or 'running the autotests' *)
- array( "PHASECOMPILINGIDLE", "", "idle" ),
- array( "PHASECOMPILING", "compiling Qt", "compiling Qt" ),
- //array( "PHASECHECKINSTIDLE", "", "idle" ),
- //array( "PHASECHECKINST", "xxx", "checking the installation" ), // Skipped because typically 0s
- array( "PHASEINSTALLINGIDLE", "", "idle" ),
- array( "PHASEINSTALLING", "installing Qt", "installing Qt" ),
- //array( "PHASEMAKINGDOCSIDLE", "", "idle" ),
- //array( "PHASEMAKINGDOCS", "xxx", "making Qt docs" ), // Skipped because typically 0s
- array( "PHASEAUTOTESTSIDLE", "", "idle" ),
- array( "PHASEAUTOTEST", "autotests", "running the autotests" ),
- array( "PHASEQTQATESTS2IDLE", "", "idle" ),
- array( "PHASEQTQATESTS2", "qtqa tests (2)", "running the qtqa tests" ), // *)
-);
-
-/* Autotest dashboard definitions */
-
-if (!defined("ZIPTESTFILENAMEIDENTIFIERS"))
- define("ZIPTESTFILENAMEIDENTIFIERS", "-testresults;.exe-testresults"); // To compare the autotest name "tst_xxx" against the file name in zip "tst_xxx-testresults-00.xml" or "tst_xxx.exe-testresults-00.xml"
-
-if (!defined("CIBUILDDIRECTORYPREFIX"))
- define("CIBUILDDIRECTORYPREFIX", "build_"); // The Projects build directory starts with this (e.g. build_00001 or build_03681)
-
-if (!defined("CITESTRESULTSFILE"))
- define("CITESTRESULTSFILE", "test-logs.zip"); // The autotest result zip file
-
-if (!defined("AUTOTESTFAILUREWARNINGLEVEL"))
- define("AUTOTESTFAILUREWARNINGLEVEL", 80); // Highlight the failure percentage (failures vs all) when higher than this
-
-if (!defined("MAXCIBUILDNUMBER"))
- define("MAXCIBUILDNUMBER", 99999); // The max number used for the builds, used also to check the string length of the plain build number in directory names
-
-if (!defined("CITESTRESULTBUILDCOUNT"))
- define("CITESTRESULTBUILDCOUNT", 1); // The default number of builds to be checked for test results unless time scale filter used (performance issue when scanning and opening the zip files)
-
-?>
diff --git a/non-puppet/qtmetrics/ci/functions.php b/non-puppet/qtmetrics/ci/functions.php
deleted file mode 100644
index 7b7cea6..0000000
--- a/non-puppet/qtmetrics/ci/functions.php
+++ /dev/null
@@ -1,162 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-/* Read the plain Project name from the full Project string
- Input: $project (string) Full Project name (e.g. "QtDeclarative_dev_Integration")
- Return: (string) String till the second-to-last "_" character
-*/
-function getProjectName($project)
-{
- $ciProject = substr($project, 0, strpos($project, "_Integration")); // Cut to e.g. "QtDeclarative_dev"
- $ciProject = substr($ciProject, 0, strrpos($ciProject, "_")); // Cut to e.g. "QtDeclarative"; strrpos used because some Project names may contain "_"
- if ($project == "Qt_4.8_Integration") // Exception
- $ciProject = "Qt_4.8";
- return $ciProject;
-}
-
-/* Read the plain Project branch from the full Project string
- Input: $project (string) Full Project name (e.g. "QtDeclarative_dev_Integration")
- Return: (string) String between the last two "_" characters
-*/
-function getProjectBranch($project)
-{
- $ciBranch = substr($project, 0, strpos($project, "_Integration")); // Cut to e.g. "QtDeclarative_dev"
- $ciBranch = substr($ciBranch, strrpos($ciBranch, "_") + 1); // Cut to e.g. "dev"; strrpos used because some Project names may contain "_"
- if ($project == "Qt_4.8_Integration") // Exception
- $ciBranch = "";
- return $ciBranch;
-}
-
-/* Convert the numeric Build number to a 5 digit string needed for directory links (Example: http://testresults.qt.io/ci/Qt3D_master_Integration/build_00412)
- Input: $buildNumber (integer) Build number (1 - 99999)
- Return: (string) Five character string (00001 - 99999)
-*/
-function createBuildNumberString($buildNumber)
-{
- $buildString = $buildNumber;
- if ($buildNumber < 10000)
- $buildString = '0' . $buildNumber;
- if ($buildNumber < 1000)
- $buildString = '00' . $buildNumber;
- if ($buildNumber < 100)
- $buildString = '000' . $buildNumber;
- if ($buildNumber < 10)
- $buildString = '0000' . $buildNumber;
- return $buildString;
-}
-
-/* Clean the SQL statement with possible errors when combining several WHERE conditions
- Input: $sqlString (string) The SQL statement
- Return: (string)
-*/
-function cleanSqlString($sqlString)
-{
- $sql = $sqlString;
- // Remove multiple spaces
- $sql = preg_replace('/\s+/', ' ', $sql);
- // Replace invalid statements
- $invalid = array("WHERE AND", "AND AND");
- $valid = array("WHERE", "AND");
- $sql = str_replace($invalid, $valid, $sql);
- // Remove empty WHERE statement
- if (strlen($sql) - strlen("WHERE") - 1 == strpos($sql, "WHERE"))
- $sql = str_replace("WHERE", "", $sql);
- return $sql;
-}
-
-/* Identify the Autotest test result from the test case results
- Input: $casesPassed (integer) Number of passed cases for the autotest
- $casesFailed (integer) Number of failed cases for the autotest
- $casesSkipped (integer) Number of skipped cases for the autotest
- Return: (boolean) TRUE if failed
-*/
-function checkAutotestFailed($casesPassed, $casesFailed, $casesSkipped)
-{
- $result = FALSE;
- if (isset($casesFailed) AND $casesFailed > 0) // Failed if failed cases (and not NULL)
- $result = TRUE;
- if (!isset($casesPassed) AND !isset($casesFailed) AND !isset($casesSkipped)) // Crashed (failed) if counts not set (all are NULL)
- $result = TRUE;
- return $result;
-}
-
-/* Check if the fullString includes the findString (wildcard '*' may be used) or all of its strings separated with the wildcard '*'
- Input: $fullString (string) The 'haystack' where searched from
- $findString (string) The 'needle' to be matched
- Return: (boolean)
-*/
-function checkStringMatch($fullString, $findString)
-{
- $arrayFind = array();
- $arrayFind = explode('*', $findString); // Get all strings separated with '*' into an array
- $arrayFind = array_filter($arrayFind); // Remove empty values
- $findCount = count($arrayFind);
- $findMatchCount = 0;
- $booMatch = FALSE;
- foreach ($arrayFind as $key => $find) {
- if (stripos($fullString, $find) !== FALSE)
- $findMatchCount++; // Count all the separate matches
- }
- if ($findCount == $findMatchCount)
- $booMatch = TRUE; // All strings separated with '*' match
- return $booMatch;
-}
-
-/* Calculate percentage so that very low but not quite zero result is rounded to 1 and almost 100% but not quite is rounded to 99
- Input: $numerator (integer) The numerator
- $divider (integer) The divider
- Return: (integer) percentage (0-100)
-*/
-function calculatePercentage($numerator, $divider)
-{
- $percentage = round(100 * ($numerator / $divider)); // Must be rounded to integer for sorting to work
- if ($percentage == 0 AND $numerator > 0) // Not quite 0%
- $percentage = 1;
- if ($percentage == 100 AND $numerator <> $divider) // Not quite 100%
- $percentage = 99;
- return $percentage;
-}
-
-?> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/ci/getautotestvalues.php b/non-puppet/qtmetrics/ci/getautotestvalues.php
deleted file mode 100644
index 1a85c54..0000000
--- a/non-puppet/qtmetrics/ci/getautotestvalues.php
+++ /dev/null
@@ -1,85 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-// (Note: session started in getfilters.php)
-
-/* Get list of project values to session variable xxx (if not done already) */
-if(!isset($_SESSION['arrayAutotestName'])) {
-
- /* Connect to the server */
- require(__DIR__.'/../connect.php');
-
- /* Read all Autotest values from database */
- $sql = "SELECT DISTINCT name FROM test ORDER BY name"; // Read from the complete table to include values for any build
- if ($useMysqli) {
- $result = mysqli_query($conn, $sql);
- $numberOfRows = mysqli_num_rows($result);
- } else {
- $selectdb="USE $db";
- $result = mysql_query($selectdb) or die (mysql_error());
- $result = mysql_query($sql) or die (mysql_error());
- $numberOfRows = mysql_num_rows($result);
- }
-
- /* Store Autotest values to session variable (ref. http://www.phpriot.com/articles/intro-php-sessions/7) */
- $arrayAutotestName = array();
- for ($i=0; $i<$numberOfRows; $i++) { // Loop the Autotests
- if ($useMysqli)
- $resultRow = mysqli_fetch_row($result);
- else
- $resultRow = mysql_fetch_row($result);
- $arrayAutotestName[] = $resultRow[0];
- }
- $_SESSION['arrayAutotestName'] = $arrayAutotestName;
-
- if ($useMysqli)
- mysqli_free_result($result); // Free result set
-
- /* Close connection to the server */
- require(__DIR__.'/../connectionclose.php');
-
-}
-
-?> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/ci/getconfvalues.php b/non-puppet/qtmetrics/ci/getconfvalues.php
deleted file mode 100644
index 80d5177..0000000
--- a/non-puppet/qtmetrics/ci/getconfvalues.php
+++ /dev/null
@@ -1,87 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-// (Note: session started in getfilters.php)
-
-/* Get list of project values to session variable xxx (if not done already) */
-if(!isset($_SESSION['arrayConfName'])) {
-
- /* Connect to the server */
- require(__DIR__.'/../connect.php');
-
- /* Read all Configuration values from database */
- $sql="SELECT DISTINCT cfg FROM cfg ORDER BY cfg;"; // Read from the complete table to include values for any build
- if ($useMysqli) {
- $result = mysqli_query($conn, $sql);
- } else {
- $selectdb="USE $db";
- $result = mysql_query($selectdb) or die (mysql_error());
- $result = mysql_query($sql) or die (mysql_error());
- }
-
- /* Store Configuration values to session variable (ref. http://www.phpriot.com/articles/intro-php-sessions/7) */
- if ($useMysqli)
- $numberOfRows = mysqli_num_rows($result);
- else
- $numberOfRows = mysql_num_rows($result);
- $arrayConfName = array();
- for ($j=0; $j<$numberOfRows; $j++) {
- if ($useMysqli)
- $resultRow = mysqli_fetch_row($result);
- else
- $resultRow = mysql_fetch_row($result);
- $arrayConfName[] = $resultRow[0];
- }
- $_SESSION['arrayConfName'] = $arrayConfName;
-
- if ($useMysqli)
- mysqli_free_result($result); // Free result set
-
- /* Close connection to the server */
- require(__DIR__.'/../connectionclose.php');
-
-}
-
-?> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/ci/getdatabasestatus.php b/non-puppet/qtmetrics/ci/getdatabasestatus.php
deleted file mode 100644
index 8298fdb..0000000
--- a/non-puppet/qtmetrics/ci/getdatabasestatus.php
+++ /dev/null
@@ -1,138 +0,0 @@
-<?php
-session_start();
-?>
-
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-$initial = $_GET["initial"]; // 'true' = initial load of the page, 'false' = normal use of the page
-$timeOffset = $_GET["timeoffset"]; // Use client local time offset taking daylight saving time into account, e.g. "GMT-0600"
-$timeOffset = rawurldecode($timeOffset); // Decode the encoded parameter (encoding in ajaxrequest.js)
-
-include "functions.php";
-include(__DIR__.'/../commonfunctions.php');
-
-/* Connect to the server */
-require(__DIR__.'/../connect.php');
-
-/* Read all Autotest values from database */
-$sql = "SELECT rebuild, date, current, total FROM generic";
-$dbColumnGenericRebuild = 0;
-$dbColumnGenericDate = 1;
-$dbColumnGenericCurrent = 2;
-$dbColumnGenericTotal = 3;
-if ($useMysqli) {
- $result = mysqli_query($conn, $sql);
- $numberOfRows = mysqli_num_rows($result);
-} else {
- $selectdb="USE $db";
- $result = mysql_query($selectdb) or die (mysql_error());
- $result = mysql_query($sql) or die (mysql_error());
- $numberOfRows = mysql_num_rows($result);
-}
-
-/* Store rebuild values to session variables */
-$_SESSION['rebuildStatus'] = 99;
-$_SESSION['rebuildDate'] = "";
-$_SESSION['rebuildCurrent'] = 0;
-$_SESSION['rebuildTotal'] = 0;
-if ($numberOfRows > 0) { // Should be only one match
- if ($useMysqli)
- $resultRow = mysqli_fetch_row($result);
- else
- $resultRow = mysql_fetch_row($result);
- $_SESSION['rebuildStatus'] = $resultRow[$dbColumnGenericRebuild];
- $_SESSION['rebuildDate'] = $resultRow[$dbColumnGenericDate]; // UTC time
- $_SESSION['rebuildCurrent'] = $resultRow[$dbColumnGenericCurrent];
- $_SESSION['rebuildTotal'] = $resultRow[$dbColumnGenericTotal];
-}
-
-if ($useMysqli)
- mysqli_free_result($result); // Free result set
-
-/* Store session start time to compare with rebuild time */
-if (!isset($_SESSION['sessionDate']))
- $_SESSION['sessionDate'] = gmdate("Y-m-d H:i:s"); // UTC time
-
-/* Close connection to the server */
-require(__DIR__.'/../connectionclose.php');
-
-/* Print status */
-echo '<div id="databaseRebuildStatus">';
-if ($timeOffset == "GMT+0000")
- $timeOffsetFormatted = "GMT";
-else
- $timeOffsetFormatted = substr($timeOffset, 0, 6) . ':' . substr($timeOffset, 6, 2); // Add minute separator ':'
-$sessionTime = getLocalTime($_SESSION['sessionDate'], $timeOffset); // Change UTC to local time
-$rebuildTime = getLocalTime($_SESSION['rebuildDate'], $timeOffset); // Change UTC to local time
-if ($initial == 1 AND $_SESSION['rebuildStatus'] == 0) { // Initial loading of the page
- echo '<b>Welcome</b><br/><br/>';
- echo 'Loading data for your session.<br/><br/>';
- echo 'If not ready in one minute, please <a href="javascript:void(0);" onclick="reloadFilters()">reload</a>...';
-}
-if ($initial == 0 AND $_SESSION['rebuildStatus'] == 0) { // Normal case (show update time)
- echo 'Session started:<br/>' . $sessionTime . ' (' . $timeOffsetFormatted . ')<br/><br/>';
- echo 'Database updated:<br/>' . $rebuildTime . ' (' . $timeOffsetFormatted . ')<br/>';
- if ($rebuildTime > $sessionTime) { // Special case 1: Database updated after the user session started
- echo '<div class="fontColorGreen">';
- echo '<b>New data available</b><br/>';
- echo '</div>';
- echo 'please <a href="javascript:void(0);" onclick="reloadFilters()">reload</a>...';
- }
-}
-if ($_SESSION['rebuildStatus'] == 1) { // Special case 2: Database rebuild in progress (shown also with initial load of the page)
- echo 'Session started:<br/>' . $sessionTime . ' (' . $timeOffsetFormatted . ')<br/><br/>';
- echo '<div class="fontColorRed">';
- echo 'Database rebuild started:<br/>';
- echo '</div>';
- echo $rebuildTime . ' (' . $timeOffsetFormatted . ')<br/>';
- $ratio = round(100 * $_SESSION['rebuildCurrent'] / $_SESSION['rebuildTotal'], 0);
- if ($ratio == 100 AND $_SESSION['rebuildCurrent'] < $_SESSION['rebuildTotal'])
- $ratio = 99; // Don't show 100% until all done
- echo 'progress: ' . $_SESSION['rebuildCurrent'] . '/' . $_SESSION['rebuildTotal'] . ' (' . $ratio . '%)' . '<br/>';
- echo '<a href="javascript:void(0);" onclick="loadDatabaseStatus()">refresh</a>';
-}
-echo '</div>';
-
-?> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/ci/getfilters.php b/non-puppet/qtmetrics/ci/getfilters.php
deleted file mode 100644
index f7dda5f..0000000
--- a/non-puppet/qtmetrics/ci/getfilters.php
+++ /dev/null
@@ -1,210 +0,0 @@
-<?php
-session_start();
-?>
-
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-include(__DIR__.'/../commondefinitions.php');
-include "definitions.php";
-include "functions.php";
-
-// Read values from database to session variables (so these are updated only once per session)
-$timeStart = microtime(true);
-include "getprojectvalues.php";
-$timeProjectValues = microtime(true);
-include "getconfvalues.php";
-$timeConfValues = microtime(true);
-include "getautotestvalues.php";
-$timeAutotestValues = microtime(true);
-?>
-
-<div id="filterTitle">
-<b>FILTERS:</b>
-</div>
-
-<div id="filterButtons">
-<button onclick="clearFilters()">Clear selections</button>
-<button onclick="reloadFilters()">Reload</button>
-</div>
-
-<div id="filterFields">
-
-<div id="filterFieldsLeft">
-<form name="form">
-
-<label>Project:</label>
-<select name="ciProject" id="ciProject" onchange="filterCiProject(this.value)">
-<?php
- echo "<option value=\"All\">All</option>";
- foreach ($_SESSION['arrayCiProject'] as $key=>$value)
- echo "<option value=\"$value\">$value</option>";
-?>
-</select>
-<br/>
-
-<label>Branch:</label>
-<select name="ciBranch" id="ciBranch" onchange="filterCiBranch(this.value)">
-<?php
- echo "<option value=\"All\">All</option>";
- foreach ($_SESSION['arrayCiBranch'] as $key=>$value)
- echo "<option value=\"$value\">$value</option>";
-?>
-</select>
-
-<select name="project" id="project" onchange="filterProject(this.value)" class="hiddenElement">
-<?php
-// Note: This filter is hidden, used via project name links in Project dashboard instead
- echo "<option value=\"All\">All</option>";
- foreach ($_SESSION['arrayProjectName'] as $key=>$value)
- echo "<option value=\"$value\">$value</option>";
-?>
-</select>
-
-<select name="build" id="build" onchange="filterBuild(this.value)" class="hiddenElement">
-<?php
-// Note: This filter is hidden, used via build number links in Project dashboard instead
- for ($i=0; $i<HISTORYBUILDCOUNT; $i++)
- echo "<option value=\"$i\">$i</option>";
-?>
-</select>
-
-</div>
-
-<div id="filterFieldsMiddle">
-
-<label>Platform:</label>
-<select name="ciPlatform" id="ciPlatform" onchange="filterCiPlatform(this.value)">
-<?php
- echo "<option value=\"All\">All</option>";
- foreach ($arrayPlatform as $key=>$row) {
- $value = $row[0];
- if ($key > 0) // The default "All" set above
- echo "<option value=\"$key\">$value</option>"; // Note: Filter passes the index values instead of the name
- }
-?>
-</select>
-<br/>
-
-<label>Configuration:</label>
-<select name="conf" id="conf" onchange="filterConf(this.value)">
-<?php
- echo "<option value=\"All\">All</option>";
- foreach ($_SESSION['arrayConfName'] as $key=>$value)
- echo "<option value=\"$value\">$value</option>";
-?>
-</select>
-<br/>
-
-<label>Autotest:</label>
-<select name="autotest" id="autotest" onchange="filterAutotest(this.value)">
-<?php
- echo "<option value=\"All\">All</option>";
- foreach ($_SESSION['arrayAutotestName'] as $key=>$value)
- echo "<option value=\"$value\">$value</option>";
-?>
-</select>
-
-<?php
-// Hidden elements to save data from Autotest dashboard selection fields
-?>
-<input id="autotestSortBy" type="hidden" value="0">
-<input name="autotestShowAll" id="autotestShowAll" type="hidden" value="hide">
-
-</div>
-</form>
-
-<div id="filterFieldsRight">
-
-<label>Timescale:</label>
-<select name="timescale" id="timescale" onchange="filterTimescale(this.value)">
- <option value="All">All</option>
- <option value="Since">Since a date</option>
-</select>
-<br/>
-
-<form name="date" id="date">
-<label>Since date:</label>
-<?php
-/* Date picker calendar from http://www.triconsole.com/php/calendar_datepicker.php */
-require_once(__DIR__.'/../calendar/classes/tc_calendar.php'); // Get class into the page
-$myCalendar = new tc_calendar("since", true, false); // Instantiate class and set properties ("since" = element id, 'true' + 'false' = date picker with no input box)
- $myCalendar->setIcon('calendar/images/iconCalendar.gif'); // (directory under the directory of this Ajax file; this is why the image directory exists here)
- $myCalendar->setDate(substr($_SESSION['maxBuildDate'], 8, 2), substr($_SESSION['maxBuildDate'], 5, 2), substr($_SESSION['maxBuildDate'], 0, 4)); // Last build date as a default value
- $myCalendar->setPath('calendar/'); // (relative from the main directory)
- $myCalendar->setYearInterval(2012, 2015);
- $myCalendar->dateAllow($_SESSION['minBuildDate'], $_SESSION['maxBuildDate']); // Allows only the build dates that are available in the database
- $myCalendar->setDateFormat('Y-m-d');
- $myCalendar->showWeeks(true);
- $myCalendar->startDate(1);
- $myCalendar->setAlignment('left', 'bottom');
- $myCalendar->setOnChange('filterTimescale("Since")');
- $myCalendar->writeScript(); // Write the calendar to the screen
-?>
-</div>
-</form>
-
-</div>
-
-<?php
-/* Elapsed time */
-if ($showElapsedTime) {
- $timeEnd = microtime(true);
- $time1 = round($timeProjectValues - $timeStart, 4);
- $time11 = round($timeProjectValuesStep1 - $timeStart, 4);
- $time12 = round($timeProjectValuesStep2 - $timeProjectValuesStep1, 4);
- $time13 = round($timeProjectValuesStep3 - $timeProjectValuesStep2, 4);
- $time14 = round($timeProjectValuesStep4 - $timeProjectValuesStep3, 4);
- $time15 = round($timeProjectValuesStep5 - $timeProjectValuesStep4, 4);
- $time16 = round($timeProjectValuesStep6 - $timeProjectValuesStep5, 4);
- $time2 = round($timeConfValues - $timeProjectValues, 4);
- $time3 = round($timeAutotestValues - $timeConfValues, 4);
- $time = round($timeEnd - $timeStart, 4);
- echo "<div class=\"elapdedTime\">";
- echo "<ul><li>";
- echo "Total time: $time s (project values: $time1 s ($time11 + $time12 + $time13 + $time14 + $time15 + $time16), conf values: $time2 s, autotest values: $time3 s)";
- echo "</li></ul>";
- echo "</div>";
-}
-?>
diff --git a/non-puppet/qtmetrics/ci/getprojectvalues.php b/non-puppet/qtmetrics/ci/getprojectvalues.php
deleted file mode 100644
index 3d3751c..0000000
--- a/non-puppet/qtmetrics/ci/getprojectvalues.php
+++ /dev/null
@@ -1,309 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-// (Note: session started in getfilters.php)
-
-/* Get list of Project values to session variable xxx (if not done already) */
-if(!isset($_SESSION['arrayProjectName'])) {
-
- /* Connect to the server */
- require(__DIR__.'/../connect.php');
-
- /* Select database */
- if ($useMysqli) {
- // Selected in mysqli_connect() call
- } else {
- $selectdb="USE $db";
- $result = mysql_query($selectdb) or die ("Failure: Unable to use the database !");
- }
-
- /* Step 1: Read name, latest Build number and calculate the Autotest result counting min/max scope for each Project */
- $sql = "SELECT project, build_number, result, timestamp, duration
- FROM ci_latest
- ORDER BY project;";
- $dbColumnCiProject = 0;
- $dbColumnCiBuildNumber = 1;
- $dbColumnCiResult = 2;
- $dbColumnCiTimestamp = 3;
- $dbColumnCiDuration = 4;
- if ($useMysqli) {
- $result = mysqli_query($conn, $sql);
- $numberOfRows = mysqli_num_rows($result);
- } else {
- $result = mysql_query($sql) or die (mysql_error());
- $numberOfRows = mysql_num_rows($result);
- }
- $arrayProjectName = array(); // Full Project name (e.g. "QtDeclarative_dev_Integration")
- $arrayProjectBuildLatest = array();
- $arrayProjectBuildLatestResult = array();
- $arrayProjectBuildLatestTimestamp = array();
- $arrayProjectBuildLatestDuration = array();
- $arrayProjectBuildScopeMin = array();
- $arrayCiProject = array(); // Plain Project name (e.g. "QtDeclarative")
- $arrayCiBranch = array(); // Plain Branch name (e.g. "dev")
- $numberOfProjects = $numberOfRows;
- for ($j=0; $j<$numberOfProjects; $j++) { // Loop the Projects
- if ($useMysqli)
- $resultRow = mysqli_fetch_row($result);
- else
- $resultRow = mysql_fetch_row($result);
- $arrayProjectName[] = $resultRow[$dbColumnCiProject]; // Project name
- $arrayProjectBuildLatest[] = $resultRow[$dbColumnCiBuildNumber]; // Latest Build number for the Project
- $arrayProjectBuildLatestResult[] = $resultRow[$dbColumnCiResult];
- $arrayProjectBuildLatestTimestamp[] = $resultRow[$dbColumnCiTimestamp];
- $arrayProjectBuildLatestDuration[] = $resultRow[$dbColumnCiDuration];
- if ($resultRow[$dbColumnCiBuildNumber] - AUTOTEST_LATESTBUILDCOUNT > 0)
- $arrayProjectBuildScopeMin[] = $resultRow[$dbColumnCiBuildNumber] - AUTOTEST_LATESTBUILDCOUNT + 1; // First Build number in metrics scope
- else
- $arrayProjectBuildScopeMin[] = 1; // Less builds than the scope count
- $arrayCiProject[] = getProjectName($resultRow[$dbColumnCiProject]); // Read the plain Project name
- $arrayCiBranch[] = getProjectBranch($resultRow[$dbColumnCiProject]); // Read the plain Project branch
- }
- $arrayCiProject = array_unique($arrayCiProject); // Remove duplicates
- $arrayCiBranch = array_unique($arrayCiBranch);
- $arrayCiBranch = array_filter($arrayCiBranch); // Remove empty values
- sort($arrayCiProject);
- sort($arrayCiBranch);
- $timeProjectValuesStep1 = microtime(true);
-
- /* Step 2: Read the number of failed significant and insignificant Autotests in latest Build for each Project from the database */
- $arrayProjectBuildLatestSignificantCount = array();
- $arrayProjectBuildLatestInsignificantCount = array();
- for ($i=0; $i<$numberOfProjects; $i++) { // Initialize
- $arrayProjectBuildLatestSignificantCount[$i] = 0;
- $arrayProjectBuildLatestInsignificantCount[$i] = 0;
- }
- $sql = "SELECT project, insignificant
- FROM test_latest";
- $dbColumnTestProject = 0;
- $dbColumnTestInsignificant = 1;
- if ($useMysqli) {
- $result2 = mysqli_query($conn, $sql);
- $numberOfRows2 = mysqli_num_rows($result2);
- } else {
- $result2 = mysql_query($sql) or die (mysql_error());
- $numberOfRows2 = mysql_num_rows($result2);
- }
- for ($j=0; $j<$numberOfRows2; $j++) { // Loop the tests
- if ($useMysqli)
- $resultRow2 = mysqli_fetch_row($result2);
- else
- $resultRow2 = mysql_fetch_row($result2);
- for ($i=0; $i<$numberOfProjects; $i++) { // Loop the Projects (see step 1)
- if ($resultRow2[$dbColumnTestProject] == $arrayProjectName[$i]) {
- if ($resultRow2[$dbColumnTestInsignificant] == 1)
- $arrayProjectBuildLatestInsignificantCount[$i]++;
- else
- $arrayProjectBuildLatestSignificantCount[$i]++;
- }
- }
- }
- $timeProjectValuesStep2 = microtime(true);
-
- /* Step 3: Read the number of Confs (including force success and insignificant) for each Project from the database */
- $arrayProjectBuildLatestConfCount = array();
- $arrayProjectBuildLatestConfCountForceSuccess = array();
- $arrayProjectBuildLatestConfCountInsignificant = array();
- for ($i=0; $i<$numberOfProjects; $i++) { // Initialize
- $arrayProjectBuildLatestConfCount[$i] = 0;
- $arrayProjectBuildLatestConfCountForceSuccess[$i] = 0;
- $arrayProjectBuildLatestConfCountInsignificant[$i] = 0;
- }
- $sql = "SELECT project, forcesuccess, insignificant
- FROM cfg_latest";
- $dbColumnCfgProject = 0;
- $dbColumnCfgForceSuccess = 1;
- $dbColumnCfgInsignificant = 2;
- if ($useMysqli) {
- $result2 = mysqli_query($conn, $sql);
- $numberOfRows2 = mysqli_num_rows($result2);
- } else {
- $result2 = mysql_query($sql) or die (mysql_error());
- $numberOfRows2 = mysql_num_rows($result2);
- }
- for ($j=0; $j<$numberOfRows2; $j++) { // Loop the Confs
- if ($useMysqli)
- $resultRow2 = mysqli_fetch_row($result2);
- else
- $resultRow2 = mysql_fetch_row($result2);
- for ($i=0; $i<$numberOfProjects; $i++) { // Loop the Projects (see step 1)
- if ($resultRow2[$dbColumnCfgProject] == $arrayProjectName[$i]) {
- if ($resultRow2[$dbColumnCfgForceSuccess] == 1)
- $arrayProjectBuildLatestConfCountForceSuccess[$i]++;
- if ($resultRow2[$dbColumnCfgInsignificant] == 1)
- $arrayProjectBuildLatestConfCountInsignificant[$i]++;
- $arrayProjectBuildLatestConfCount[$i]++;
- }
- }
- }
- $timeProjectValuesStep3 = microtime(true);
-
- /* Step 4: Read the number of successful, failed and all Builds for each Project from the database (all must be read separately) */
- $arrayProjectBuildCount = array(); // Note: These must not be initialized because not filled by Projects
- $arrayProjectBuildCountSuccess = array();
- $arrayProjectBuildCountFailure = array();
- for ($i=0; $i<$numberOfProjects; $i++) { // Loop the Projects (see step 1)
- $sql = "SELECT 'SUCCESS', COUNT(result) AS 'count'
- FROM ci
- WHERE project=\"$arrayProjectName[$i]\" AND result=\"SUCCESS\"
- UNION
- SELECT 'FAILURE', COUNT(result) AS 'count'
- FROM ci
- WHERE project=\"$arrayProjectName[$i]\" AND result=\"FAILURE\"
- UNION
- SELECT 'Total', COUNT(result) AS 'count'
- FROM ci
- WHERE project=\"$arrayProjectName[$i]\""; // Will return three rows
- if ($useMysqli) {
- $result2 = mysqli_query($conn, $sql);
- $numberOfRows2 = mysqli_num_rows($result2);
- } else {
- $result2 = mysql_query($sql) or die (mysql_error());
- $numberOfRows2 = mysql_num_rows($result2);
- }
- for ($j=0; $j<$numberOfRows2; $j++) { // Loop the counts
- if ($useMysqli)
- $resultRow2 = mysqli_fetch_row($result2);
- else
- $resultRow2 = mysql_fetch_row($result2);
- if ($resultRow2[0] == "SUCCESS")
- $arrayProjectBuildCountSuccess[] = $resultRow2[1];
- if ($resultRow2[0] == "FAILURE")
- $arrayProjectBuildCountFailure[] = $resultRow2[1];
- if ($resultRow2[0] == "Total")
- $arrayProjectBuildCount[] = $resultRow2[1];
- }
- }
- $timeProjectValuesStep4 = microtime(true);
-
- /* Step 5: Read the min and max dates */
- $sql="SELECT MIN(timestamp), MAX(timestamp)
- FROM ci;";
- if ($useMysqli) {
- $result = mysqli_query($conn, $sql);
- $resultRow = mysqli_fetch_row($result);
- } else {
- $result = mysql_query($sql) or die (mysql_error());
- $resultRow = mysql_fetch_row($result);
- }
- $minBuildDate = substr($resultRow[0], 0, 10);
- $maxBuildDate = substr($resultRow[1], 0, 10);
- $timeProjectValuesStep5 = microtime(true);
-
- /* Step 6: Read the number of all, failed and rerun Autotests (flaky tests) in latest Build for each Project from the database */
- $arrayProjectBuildLatestAutotestCount = array();
- $arrayProjectBuildLatestAutotestFailedCount = array();
- $arrayProjectBuildLatestAutotestRerun = array();
- for ($i=0; $i<$numberOfProjects; $i++) { // Initialize
- $arrayProjectBuildLatestAutotestCount[$i] = 0;
- $arrayProjectBuildLatestAutotestFailedCount[$i] = 0;
- $arrayProjectBuildLatestAutotestRerun[$i] = 0;
- }
- for ($i=0; $i<$numberOfProjects; $i++) { // Loop the Projects (see step 1); Search test results for one Project at a time (to avoid too large return data)
- $projectName = $arrayProjectName[$i];
- $sql = "SELECT passed, failed, skipped, runs
- FROM all_test_latest
- WHERE project=\"$projectName\""; // All tests with details
- $dbColumnTestPassed = 0;
- $dbColumnTestFailed = 1;
- $dbColumnTestSkipped = 2;
- $dbColumnTestRuns = 3;
- if ($useMysqli) {
- $result = mysqli_query($conn, $sql);
- $numberOfRows = mysqli_num_rows($result);
- } else {
- $result = mysql_query($sql) or die (mysql_error());
- $numberOfRows = mysql_num_rows($result);
- }
- for ($j=0; $j<$numberOfRows; $j++) { // Loop the all tests
- if ($useMysqli)
- $resultRow = mysqli_fetch_row($result);
- else
- $resultRow = mysql_fetch_row($result);
- $arrayProjectBuildLatestAutotestCount[$i]++; // a) Count the number of Autotests in a Project
- if (checkAutotestFailed($resultRow[$dbColumnTestPassed],
- $resultRow[$dbColumnTestFailed],
- $resultRow[$dbColumnTestSkipped])) // b) Count the number of failed Autotests in a Project (identified by case results)
- $arrayProjectBuildLatestAutotestFailedCount[$i]++;
- if ($resultRow[$dbColumnTestRuns] > 1) // c) Count the number of rerun Autotests in a Project (not the number of reruns)
- $arrayProjectBuildLatestAutotestRerun[$i]++;
- }
- }
- $timeProjectValuesStep6 = microtime(true);
-
- /* Save session variables */
- $_SESSION['arrayProjectName'] = $arrayProjectName;
- $_SESSION['arrayProjectBuildLatest'] = $arrayProjectBuildLatest;
- $_SESSION['arrayProjectBuildLatestResult'] = $arrayProjectBuildLatestResult;
- $_SESSION['arrayProjectBuildLatestTimestamp'] = $arrayProjectBuildLatestTimestamp;
- $_SESSION['arrayProjectBuildLatestDuration'] = $arrayProjectBuildLatestDuration;
- $_SESSION['arrayProjectBuildScopeMin'] = $arrayProjectBuildScopeMin;
- $_SESSION['arrayProjectBuildLatestSignificantCount'] = $arrayProjectBuildLatestSignificantCount;
- $_SESSION['arrayProjectBuildLatestInsignificantCount'] = $arrayProjectBuildLatestInsignificantCount;
- $_SESSION['arrayProjectBuildLatestConfCount'] = $arrayProjectBuildLatestConfCount;
- $_SESSION['arrayProjectBuildLatestConfCountForceSuccess'] = $arrayProjectBuildLatestConfCountForceSuccess;
- $_SESSION['arrayProjectBuildLatestConfCountInsignificant'] = $arrayProjectBuildLatestConfCountInsignificant;
- $_SESSION['arrayProjectBuildLatestAutotestCount'] = $arrayProjectBuildLatestAutotestCount;
- $_SESSION['arrayProjectBuildLatestAutotestFailedCount'] = $arrayProjectBuildLatestAutotestFailedCount;
- $_SESSION['arrayProjectBuildLatestAutotestRerun'] = $arrayProjectBuildLatestAutotestRerun;
- $_SESSION['arrayProjectBuildCount'] = $arrayProjectBuildCount;
- $_SESSION['arrayProjectBuildCountSuccess'] = $arrayProjectBuildCountSuccess;
- $_SESSION['arrayProjectBuildCountFailure'] = $arrayProjectBuildCountFailure;
- $_SESSION['minBuildDate'] = $minBuildDate;
- $_SESSION['maxBuildDate'] = $maxBuildDate;
- $_SESSION['arrayCiProject'] = $arrayCiProject;
- $_SESSION['arrayCiBranch'] = $arrayCiBranch;
-
- if ($useMysqli) {
- mysqli_free_result($result); // Free result set
- mysqli_free_result($result2); // Free result set
- }
-
- /* Close connection to the server */
- require(__DIR__.'/../connectionclose.php');
-
-}
-
-?> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/ci/graphbuildphases.php b/non-puppet/qtmetrics/ci/graphbuildphases.php
deleted file mode 100644
index f083e55..0000000
--- a/non-puppet/qtmetrics/ci/graphbuildphases.php
+++ /dev/null
@@ -1,591 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-/* Following 'input' variabes must be set prior to including this file */
- // $project
- // $projectFilter
- // $buildNumber (in listgeneraldata.php)
- // $build
- // $round
-
-if ($round > 1) { // Skip on first round to optimize performance
-
- /* Graph as an expand/collapse section */
- echo '<div id="graphBuildPhases" class="graphAccordion">';
- echo '<h3><u>Project Build phases by Configuration</u> <i>(show/hide)</i></h3>';
- echo '<div id="graphBuildPhasesSection">';
-
- $timeStartThis = microtime(true);
- $timeRead = microtime(true);
- $arrayConfName = $_SESSION['arrayConfName']; // Get Configuration names
-
- /* Read Build phases for each Configuration from the database */
- $arrayDbConfBuildStart = array(); // Build start timestamp of each Conf
- $arrayDbConfBuildEnd = array(); // Build end timestamp of each Conf
- $arrayDbConfBuildPhaseName = array(); // Name of each Build phase for each Conf
- $arrayDbConfBuildPhaseStart = array(); // Start timestamp of each Build phase for each Conf
- $arrayDbConfBuildPhaseEnd = array(); // End timestamp of each Build phase for each Conf
- $arrayDbConfBuildPhaseDuration = array(); // Duration of each Build phase for each Conf
- $arrayDbConfPhaseName = array(); // Temporary arrays for calculation
- $arrayDbConfPhaseStart = array(); // -,,-
- $arrayDbConfPhaseEnd = array(); // -,,-
- $arrayDbConfPhaseDuration = array(); // -,,-
- foreach ($arrayConfName as $keyConf => $nameConf) { // Initialize
- foreach ($arrayAllBuildPhases as $keyPhase => $namePhase) {
- $arrayDbConfBuildPhaseDuration[$keyConf][$keyPhase] = 0;
- }
- }
- $prevConf = "";
- $buildStart = "";
- $buildEnd = "";
- if ($build == 0) { // Show the latest build ...
- $sql = cleanSqlString(
- "SELECT cfg, phase, parent, start, end
- FROM phases_latest
- WHERE $projectFilter
- ORDER BY cfg, start, end");
- } else { // ... or the selected build
- $sql = cleanSqlString(
- "SELECT cfg, phase, parent, start, end
- FROM phases
- WHERE $projectFilter AND build_number=$buildNumber
- ORDER BY cfg, start, end");
- }
- $dbColumnPhasesCfg = 0;
- $dbColumnPhasesPhase = 1;
- $dbColumnPhasesParent = 2;
- $dbColumnPhasesStart = 3;
- $dbColumnPhasesEnd = 4;
- if ($useMysqli) {
- $result = mysqli_query($conn, $sql);
- $numberOfRows = mysqli_num_rows($result);
- } else {
- $result = mysql_query($sql) or die (mysql_error());
- $numberOfRows = mysql_num_rows($result);
- }
- for ($j=0; $j<$numberOfRows; $j++) {
- if ($useMysqli)
- $resultRow = mysqli_fetch_row($result);
- else
- $resultRow = mysql_fetch_row($result);
- foreach ($arrayConfName as $key => $name) {
- if ($resultRow[$dbColumnPhasesCfg] == $name) // Find the Conf
- $confId = $key;
- if ($prevConf == $name) // Find the previous Conf
- $prevConfId = $key;
- }
-
- // Find the main phase to be shown in the graph with its subphases
- if ($resultRow[$dbColumnPhasesParent] == "" AND
- strpos($resultRow[$dbColumnPhasesPhase], BUILDMAINPHASEPREFIX) === 0) {
- $arrayDbConfBuildStart[$confId] = $resultRow[$dbColumnPhasesStart]; // Save Build start and end timestamps
- $arrayDbConfBuildEnd[$confId] = $resultRow[$dbColumnPhasesEnd];
- }
- // Save the arrays for each Conf when read (the previous Conf in the loop), and clear for the next one
- if ($confId != $prevConfId AND $prevConf != "") {
- $arrayDbConfBuildPhaseName[$prevConfId] = $arrayDbConfPhaseName;
- $arrayDbConfBuildPhaseStart[$prevConfId] = $arrayDbConfPhaseStart;
- $arrayDbConfBuildPhaseEnd[$prevConfId] = $arrayDbConfPhaseEnd;
- $arrayDbConfBuildPhaseDuration[$prevConfId] = $arrayDbConfPhaseDuration;
- $arrayDbConfPhaseName = array();
- $arrayDbConfPhaseStart = array();
- $arrayDbConfPhaseEnd = array();
- $arrayDbConfPhaseDuration = array();
- }
- // Find the subphases and save the name and timestamps
- if (strpos($resultRow[$dbColumnPhasesParent], BUILDMAINPHASEPREFIX) === 0) {
- if ($resultRow[$dbColumnPhasesEnd] != "0000-00-00 00:00:00") { // Save only the phases completed
- $arrayDbConfPhaseName[] = $resultRow[$dbColumnPhasesPhase];
- $arrayDbConfPhaseStart[] = $resultRow[$dbColumnPhasesStart];
- $arrayDbConfPhaseEnd[] = $resultRow[$dbColumnPhasesEnd];
- $arrayDbConfPhaseDuration[] = timeDiffSeconds($resultRow[$dbColumnPhasesStart], $resultRow[$dbColumnPhasesEnd]);
- if ($arrayDbConfBuildEnd[$confId] < $resultRow[$dbColumnPhasesEnd]) // If a subphase was completed later than the main phase (case when the main phase aborted and shows "0000-00-00 00:00:00")
- $arrayDbConfBuildEnd[$confId] = $resultRow[$dbColumnPhasesEnd]; // ... use the last subphase end as main phase end
- }
- }
- // Save earliest/latest time for the whole Build start/end time
- if ($buildStart == "" OR $buildStart > $resultRow[$dbColumnPhasesStart])
- $buildStart = $resultRow[$dbColumnPhasesStart];
- if ($buildEnd == "" OR $buildEnd < $resultRow[$dbColumnPhasesEnd])
- $buildEnd = $resultRow[$dbColumnPhasesEnd];
-
- $prevConf = $resultRow[$dbColumnPhasesCfg]; // Save to compare on the next loop round
- }
- // Save the arrays for the last Conf
- $arrayDbConfBuildPhaseName[$confId] = $arrayDbConfPhaseName;
- $arrayDbConfBuildPhaseStart[$confId] = $arrayDbConfPhaseStart;
- $arrayDbConfBuildPhaseEnd[$confId] = $arrayDbConfPhaseEnd;
- $arrayDbConfBuildPhaseDuration[$confId] = $arrayDbConfPhaseDuration;
-
- if ($useMysqli)
- mysqli_free_result($result);
-
- /* Print summary data */
- echo '<table>';
- echo '<tr><td>Build started (first phase start):</td><td>' . $buildStart . '</td></tr>';
- echo '<tr><td>Build ended (last phase end):</td><td>' . $buildEnd . '</td></tr>';
- echo '<tr><td>Build total duration:</td><td>' . dateDiff($buildEnd, $buildStart) . '</td></tr>';
- echo '</table><br>';
-
- /* Collect the Configuration phases for the Graphs */
- $phaseCount = 0;
- foreach ($arrayAllBuildPhases as $keyPhase => $namePhase)
- $phaseCount++;
- $arrayGraphBuildPhases = array(); // List of phases (displayed name)
- $arrayGraphBuildConfs = array(); // List of Confs built
- $arrayGraphBuildConfPhaseDuration = array(); // Duration of each phase for each built Configuration
- foreach ($arrayAllBuildPhases as $keyPhase => $namePhase) {
- $arrayGraphBuildPhases[] = $namePhase[BUILDPHASESDISPLAYNAME];
- }
- foreach ($arrayConfName as $keyConf => $nameConf) { // Loop all Confs
- $arrayGraphBuildPhaseDuration = array();
- $arrayGraphBuildPhaseStart = array();
- $arrayGraphBuildPhaseEnd = array();
- foreach ($arrayGraphBuildPhases as $keyPhase => $namePhase) {
- $arrayGraphBuildPhaseDuration[$keyPhase] = 0; // Initialize
- $arrayGraphBuildPhaseStart[$keyPhase] = 0;
- $arrayGraphBuildPhaseEnd[$keyPhase] = 0;
- }
- if ($arrayDbConfBuildStart[$keyConf] != "" AND $arrayDbConfBuildEnd[$keyConf] != "0000-00-00 00:00:00") { // Save only the Builds started and completed
- $arrayGraphBuildConfs[] = $nameConf;
- // Save the executed phases
- foreach ($arrayAllBuildPhases as $keyPhase => $namePhase) { // Loop all phases
- foreach ($arrayDbConfBuildPhaseName[$keyConf] as $keyPhaseDb => $namePhaseDb) { // Loop the executed phases
- if (strpos($namePhaseDb, $namePhase[BUILDPHASESFULLNAMEPREFIX]) === 0) { // Save only the executed phases
- $arrayGraphBuildPhaseDuration[$keyPhase] = $arrayDbConfBuildPhaseDuration[$keyConf][$keyPhaseDb];
- $arrayGraphBuildPhaseStart[$keyPhase] = $arrayDbConfBuildPhaseStart[$keyConf][$keyPhaseDb];
- $arrayGraphBuildPhaseEnd[$keyPhase] = $arrayDbConfBuildPhaseEnd[$keyConf][$keyPhaseDb];
- }
- }
- }
- // Save the idle time between the phases
- $booQtQaTestsAfterConfiguring = FALSE; // For 'running the qtqa tests' phase exception handling
- foreach ($arrayAllBuildPhases as $keyPhase => $namePhase) { // Loop all phases again
- if ($namePhase[BUILDPHASESFULLNAMEPREFIX] == "idle") { // Calculate the idle time between phases
- if ($arrayGraphBuildPhaseStart[$keyPhase + 1] != 0) { // If the next phase was started
- if ($keyPhase == 0) { // If idle of the first phase
- $idleDuration = timeDiffSeconds($buildStart, // ... calculate the idle time from the build start
- $arrayGraphBuildPhaseStart[$keyPhase + 1]);
- $arrayGraphBuildPhaseDuration[$keyPhase] = $idleDuration;
- } else { // If idle of others phases
- $idleDuration = timeDiffSeconds($arrayGraphBuildPhaseEnd[$keyPhase - 1],
- $arrayGraphBuildPhaseStart[$keyPhase + 1]); // ... calculate from previous phase end to next phase start
- // Exception: 'qtqa tests' run after 'configuring Qt' (instead of after 'autotests')
- if ($namePhase[BUILDPHASESID] == "PHASEQTQATESTS1IDLE") {
- if ($idleDuration < 30 AND $arrayGraphBuildPhaseDuration[$keyPhase + 1] > 0) { // If 'qtqa tests' run after 'configuring Qt' (in less than 30 sec) ...
- $booQtQaTestsAfterConfiguring = TRUE; // ... set exception flag
- } else { // ... otherwise it is run after 'autotests', therefore ...
- $idleDuration = 0; // ... clear the duration of the 1st 'qtqa tests' idle
- $arrayGraphBuildPhaseDuration[$keyPhase + 1] = 0; // ... clear the duration of the 1st 'qtqa tests' phase
- }
- }
- if ($namePhase[BUILDPHASESID] == "PHASECOMPILINGIDLE" // If 'compiling' phase normally after 'configuring'
- AND !$booQtQaTestsAfterConfiguring) {
- $idleDuration = timeDiffSeconds($arrayGraphBuildPhaseEnd[$keyPhase - 3],
- $arrayGraphBuildPhaseStart[$keyPhase + 1]); // ... skip the extra 'qtqa tests' exception phase
- }
- if ($namePhase[BUILDPHASESID] == "PHASEQTQATESTS2IDLE" // If 'qtqa tests' run after 'configuring Qt'
- AND $booQtQaTestsAfterConfiguring) {
- $idleDuration = 0; // ... clear the duration of the 2nd 'qtqa tests' idle
- $arrayGraphBuildPhaseDuration[$keyPhase + 1] = 0; // ... clear the duration of the 2nd 'qtqa tests' phase
- }
- $arrayGraphBuildPhaseDuration[$keyPhase] = $idleDuration;
- }
- // Exception: Phase start was delayed (has an idle time) but the phase itself was completed in 0s (i.e. would not appear in the graph)
- if ($idleDuration > 0 AND $arrayGraphBuildPhaseDuration[$keyPhase + 1] == 0) { // Idle more than 0s but phase duration is 0s
- $remainingDuration = 0;
- for ($j=$keyPhase+1; $j<$phaseCount; $j++) // Count the remaining phases (idle times ignored because not yet calculated here)
- $remainingDuration = $remainingDuration + $arrayGraphBuildPhaseDuration[$j];
- if ($remainingDuration == 0) // If the remaining phases are zero as well
- $arrayGraphBuildPhaseDuration[$keyPhase + 1] = PHASEQUICKWITHIDLE; // Tag phase duration to show in the graph
- }
- }
- }
- }
- // Save the array of duration for each phase (for a Conf)
- $arrayGraphBuildConfPhaseDuration[] = $arrayGraphBuildPhaseDuration;
- }
- }
-
- ?>
-
-<!--[if gt IE 9]><!-->
- <div class="tableCellCentered">
- <?php /* Graph title */
- echo '<b>Build phases in the order of execution for ' . $project;
- echo ' Build ' . $buildNumber;
- if ($build == 0)
- echo ' (latest)';
- echo '</b><br>';
- ?>
- </div>
-
- <?php /* Graph */ ?>
- <div class="chart">
- <div id="tooltipBuildPhases" class="graphTooltip hidden">
- <p><span id="valueBuildPhases">100</span></p>
- </div>
- </div>
-<!--<![endif]-->
-
- <?php /* Data (expandable) */ ?>
- <div class="dataAccordion">
- <h3><u>Data and notes</u> <i>(show/hide)</i></h3>
- <div>
- Note 1: The 'qtqa tests' phase is included twice. This is because it can be run either after the 'configuring Qt' or 'autotests' phase.<br>
- Note 2: Duration less than 60 seconds is shown as one minute in the graph to make it visible (actual duration is shown in the data).<br>
- <br>
- Duration of the phases and <i>the idle time between them</i> (in seconds):<br>
- <br>
- <?php
- echo '<table class="fontSmall">';
- echo '<tr class="tableBottomBorder">';
- echo '<td><b>Configuration</b></td>';
- foreach ($arrayAllBuildPhases as $keyPhase => $namePhase) {
- echo '<td class="tableCellCentered"><b>' . $namePhase[BUILDPHASESDISPLAYNAME] . '</b></td>';
- }
- echo '</tr>';
- foreach ($arrayGraphBuildConfs as $keyConf => $nameConf) {
- if ($keyConf % 2 == 0)
- echo '<tr>';
- else
- echo '<tr class="tableBackgroundColored">';
- echo '<td>' . $nameConf . '</td>';
- foreach ($arrayAllBuildPhases as $keyPhase => $namePhase) {
- $duration = $arrayGraphBuildConfPhaseDuration[$keyConf][$keyPhase];
- if ($duration == PHASEQUICKWITHIDLE) // Decode possible tagged value
- $duration = 0;
- if ($namePhase[BUILDPHASESFULLNAMEPREFIX] == "idle")
- echo '<td class="tableCellCentered"><i>' . $duration . '</i></td>';
- else
- echo '<td class="tableCellCentered">' . $duration . '</td>';
- }
- echo '</tr>';
- }
- echo '</table><br>';
- ?>
- </div>
- </div>
-
- <?php
-
- /* Elapsed time */
- if ($showElapsedTime) {
- $timeEnd = microtime(true);
- $timeDbRead = round($timeRead - $timeStartThis, 4);
- $timeCalc = round($timeEnd - $timeRead, 4);
- $time = round($timeEnd - $timeStartThis, 4);
- echo "<div class=\"elapdedTime\">";
- echo "<ul><li>";
- echo "<b>Total time</b> (round $round): $time s (database read time: $timeDbRead s, calculation time: $timeCalc s)";
- echo "</li></ul>";
- echo "</div>";
- } else {
- echo "<br>";
- }
-
- echo "</div>"; // graphBuildPhasesSection
- echo "</div>"; // graphBuildPhases
-
-} // $round > 1
-
-?>
-
-<!--[if gt IE 9]><!-->
-<script id="scriptBuildPhases">
-
- /* Cut the Conf names to fit into graph (by cutting words until desired length reached) */
- var CONFCUTLENGTH = 52;
- function cutConfName(confName)
- {
- var cutName = confName;
- if (cutName.length > CONFCUTLENGTH)
- cutName = cutName.replace("developer-build", "dev...");
- if (cutName.length > CONFCUTLENGTH)
- cutName = cutName.replace("shadow-build", "sha...");
- if (cutName.length > CONFCUTLENGTH)
- cutName = cutName.replace("qtnamespace", "qtnam...");
- if (cutName.length > CONFCUTLENGTH)
- cutName = cutName.replace("qtdeclarative", "qtdec...");
- if (cutName.length > CONFCUTLENGTH)
- cutName = cutName.replace("qtlibinfix", "qtlib...");
- if (cutName.length > CONFCUTLENGTH)
- cutName = cutName.replace("Ubuntu", "U...");
- return cutName;
- }
-
- /* Change seconds to minutes (non-zero value less than 60 s returned as 1 min) */
- var phaseQuickWithIdle = <?php echo PHASEQUICKWITHIDLE; ?>; // Read the tag value
- function secToMin(seconds)
- {
- if (seconds == phaseQuickWithIdle) // Decode possible tagged value
- seconds = 1;
- var mins = Math.round(seconds/60);
- if (seconds > 0 && seconds < 60)
- mins = 1;
- return mins;
- }
-
- /* Read the data from the saved PHP arrays to JavaScript */
- var arrayPhases = new Array();
- arrayPhases = <?php echo json_encode($arrayGraphBuildPhases); ?>; // Read the phase names
- var phaseCount = arrayPhases.length;
- var arrayConfs = new Array();
- arrayConfs = <?php echo json_encode($arrayGraphBuildConfs); ?>; // Read the Conf names
- var confCount = arrayConfs.length;
- for (i=0; i<confCount; i++) {
- arrayConfs[i] = cutConfName(arrayConfs[i]); // Cut the Conf names to fit into graph
- }
- var i,j;
- var arrayConfPhases = new Array();
- arrayConfPhases = <?php echo json_encode($arrayGraphBuildConfPhaseDuration); ?>; // Read the phase durations (copy PHP array into JavaScript)
-
- /* Read the data for the graph from the saved data above */
- var dataset = new Array();
- var datasetName;
- var datasetData = new Array();
- var datasetConfData;
- for (j=0; j<phaseCount; j++) {
- datasetName = arrayPhases[j];
- datasetData = [];
- for (i=0; i<confCount; i++) {
- datasetConfData = {
- conf: arrayConfs[i],
- count: secToMin(arrayConfPhases[i][j])
- };
- datasetData[i] = datasetConfData;
- }
- dataset[j] = {
- name: datasetName,
- data: datasetData
- };
- }
-
- /* Graph size and margins */
- var graphSize = {
- width: 1100, // Graph width
- height: 450 // Graph height
- };
- var xAxisLabelVerticalPosition = 40;
- var margins = { // Graph margins
- top: 12,
- left: 325,
- right: 10,
- bottom: xAxisLabelVerticalPosition + 2 // Reserved space for X axis label
- };
- var marginsLegendPanel = {
- left: 40 // Legent margin from the graph area
- };
- var legendPanel = {
- width: 300 // Legend width
- };
-
- /* Create the horizontal stacked bar graph with a legend */
- var series = dataset.map(function (d) {
- return d.name;
- });
- var dataset = dataset.map(function (d) {
- return d.data.map(function (o, i) {
- // Structure it so that your numeric axis (the stacked amount) is y
- return {
- y: o.count,
- x: o.conf
- };
- });
- });
- var stack = d3.layout.stack();
- stack(dataset);
- var dataset = dataset.map(function (group) {
- return group.map(function (d) {
- // Invert the x and y values, and y0 becomes x0
- return {
- x: d.y,
- y: d.x,
- x0: d.y0
- };
- });
- });
-
- var width = graphSize.width - margins.left - margins.right - legendPanel.width; // Graph bar area width
- var height = graphSize.height - margins.top - margins.bottom; // Graph bar area height
-
- var svg = d3.select('.chart') // Create SVG element
- .append('svg')
- .attr('width', width + margins.left + margins.right + legendPanel.width)
- .attr('height', height + margins.top + margins.bottom)
- .append('g')
- .attr('transform', 'translate(' + margins.left + ',' + margins.top + ')'),
- xMax = d3.max(dataset, function (group) {
- return d3.max(group, function (d) {
- return d.x + d.x0;
- });
- }),
- xScale = d3.scale.linear() // Create X scale for bar graph
- .domain([0, xMax])
- .range([0, width]),
- confs = dataset[0].map(function (d) {
- return d.y;
- }),
- _ = console.log(confs),
- yScale = d3.scale.ordinal() // Create Y scale for bar graph
- .domain(confs)
- .rangeRoundBands([0, height], .1),
- xAxis = d3.svg.axis() // Create X axis
- .scale(xScale)
- .orient('bottom'),
- yAxis = d3.svg.axis() // Create Y axis
- .scale(yScale)
- .orient('left'),
- colors = d3.scale.ordinal() // Series colors (idle times in white)
- .range([
- "#ffffff", "#cdd2da", // cleaning
- "#ffffff", "#7b6888", // git repos
- "#ffffff", "#f0e68c", // configuring Qt
- "#ffffff", "#386cb0", // qtqa tests *) Exception: qtqa tests may be in two places, using the same color
- "#ffffff", "#98abc5", // compiling Qt
- "#ffffff", "#ff8c00", // installing Qt
- "#ffffff", "#a05d56", // autotests
- "#ffffff", "#386cb0", // qtqa tests *)
- "#ffffff", "#abdda4", // (reserved)
- "#ffffff", "#ffff99" // (reserved)
- ]),
- groups = svg.selectAll('g')
- .data(dataset)
- .enter()
- .append('g')
- .style('fill', function (d, i) {
- return colors(i);
- }),
- rects = groups.selectAll('rect')
- .data(function (d) {
- return d;
- })
- .enter()
- .append('rect')
- .attr('x', function (d) {
- return xScale(d.x0);
- })
- .attr('y', function (d, i) {
- return yScale(d.y);
- })
- .attr('height', function (d) {
- return yScale.rangeBand();
- })
- .attr('width', function (d) {
- return xScale(d.x);
- })
- .on('mouseover', function (d) {
- var xPos = parseFloat(d3.select(this).attr('x')) / 2 + width / 2;
- var yPos = parseFloat(d3.select(this).attr('y')) + yScale.rangeBand() / 2;
-
- d3.select('#tooltipBuildPhases')
- .style('left', xPos + 'px')
- .style('top', yPos + 'px')
- .select('#valueBuildPhases')
- .text(d.x);
-
- d3.select('#tooltipBuildPhases').classed('hidden', false);
- })
- .on('mouseout', function () {
- d3.select('#tooltipBuildPhases').classed('hidden', true);
- });
-
- svg.append('g')
- .attr('class', 'axis')
- .attr('transform', 'translate(0,' + height + ')')
- .call(xAxis);
-
- svg.append("text") // Create X axis label
- .attr("class", "x label")
- .attr("text-anchor", "end")
- .attr("x", margins.left)
- .attr("y", height + xAxisLabelVerticalPosition)
- .text("Time from the Build start (in minutes)");
-
- svg.append('g')
- .attr('class', 'axis')
- .call(yAxis);
-
- svg.append('rect') // Legend definitions
- .attr('fill', 'white') // Legend background color
- .attr('stroke', 'black') // Legend border
- .attr('width', 170) // Legend background width (inside the total width)
- .attr('height', 22 * dataset.length) // Legend height
- .attr('x', width + marginsLegendPanel.left)
- .attr('y', 0)
- .attr("rx", 5) // Legend rounded corners
- .attr("ry", 5);
-
- series.forEach(function (s, i) {
- svg.append('text')
- .attr('fill', 'black')
- .attr('x', width + marginsLegendPanel.left + 8)
- .attr('y', i * 20 + 20)
- .text(s);
- svg.append('rect')
- .attr('fill', colors(i))
- .attr('width', 60) // Legend color width
- .attr('height', 20) // Legend color height
- .attr('x', width + marginsLegendPanel.left + 100) // Legent color from the text start
- .attr('y', i * 20 + 5);
- });
-
- /* Expandable section for graph and its data (jQuery accordion) */
- $(function() {
- $( ".graphAccordion" ).accordion({
- collapsible: true,
- heightStyle: "content"
- });
- });
- $(function() {
- $( ".dataAccordion" ).accordion({
- collapsible: true,
- active: false, // Collapsed by default
- heightStyle: "content"
- });
- });
-
-</script>
-<!--<![endif]-->
diff --git a/non-puppet/qtmetrics/ci/listbuilds.php b/non-puppet/qtmetrics/ci/listbuilds.php
deleted file mode 100644
index 5bb46d5..0000000
--- a/non-puppet/qtmetrics/ci/listbuilds.php
+++ /dev/null
@@ -1,209 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-/* Following 'input' variabes must be set prior to including this file */
- // $build
- // $timescaleType
- // $timescaleValue
- // $projectFilter
- // $confFilter
- // $latestBuildNumber (in listgeneraldata.php)
- // $showElapsedTime
- // $timeStart
- // $timeConnect
-
-$timeStartThis = microtime(true);
-
-/* Read data from database */
-if ($project<>"All" AND $conf=="All") { // Print Project Builds
- $sql = cleanSqlString(
- "SELECT build_number, result, timestamp
- FROM ci
- WHERE $projectFilter
- ORDER BY build_number");
-}
-if ($project<>"All" AND $conf<>"All") { // Print Configuration Builds
- $sql = cleanSqlString(
- "SELECT build_number, result, timestamp
- FROM cfg
- WHERE $confFilter AND $projectFilter
- ORDER BY build_number");
-}
-$dbColumnBuildNumber = 0;
-$dbColumnResult = 1;
-$dbColumnTimestamp = 2;
-if ($useMysqli) {
- $result = mysqli_query($conn, $sql);
- $numberOfRows = mysqli_num_rows($result);
-} else {
- $result = mysql_query($sql) or die (mysql_error());
- $numberOfRows = mysql_num_rows($result);
-}
-$timeRead = microtime(true);
-$arrayBuildNumbersRow = array();
-$arrayBuildDatesRow = array();
-$arrayBuildResultsRow = array();
-$arrayBuildLinksRow = array();
-if ($numberOfRows>0) {
- $printedBuildCount = 0;
- for ($i=0; $i<$numberOfRows; $i++) { // Loop the Builds
- $printThisBuild = FALSE;
- if ($useMysqli)
- $resultRow = mysqli_fetch_row($result);
- else
- $resultRow = mysql_fetch_row($result);
- if ($numberOfRows > HISTORYBUILDCOUNT) { // Limit number of Builds printed (the last n ones)
- if ($resultRow[$dbColumnBuildNumber] > $latestBuildNumber - HISTORYBUILDCOUNT)
- $printThisBuild = TRUE;
- } else {
- $printThisBuild = TRUE;
- }
- if ($printThisBuild) {
-
- /* Build number */
- $buildNumberOffset = $latestBuildNumber - $resultRow[$dbColumnBuildNumber];
- if ($buildNumberOffset == $build) { // Highlight the selected build
- $cellColorBuild = '<td class="tableCellCentered tableCellBuildSelected">';
- $filterLink = $resultRow[$dbColumnBuildNumber];
- } else {
- $cellColorBuild = '<td class="tableCellCentered">';
- $filterLink = '<b><a href="javascript:void(0);" onclick="filterBuild(' . $buildNumberOffset . ')">' . $resultRow[$dbColumnBuildNumber] . '</a></b>';
- }
- $arrayBuildNumbersRow[] = $cellColorBuild . $filterLink . '</td>';
-
- /* Build date */
- $date = strstr($resultRow[$dbColumnTimestamp], ' ', TRUE); // 'yyyy-mm-dd hh:mm:ss' -> 'yyyy-mm-dd'
- $cellColor = $cellColorBuild; // By default show like the build number
- if ($timescaleType == "Since" AND $date >= $timescaleValue)
- $cellColor = '<td class="tableCellCentered timescaleSince">'; // Highlight date if inside the selected timescale
- $date = strstr($date, '-', FALSE); // 'yyyy-mm-dd' -> '-mm-dd'
- $date = substr($date,1); // '-mm-dd' -> 'mm-dd'
- $arrayBuildDatesRow[] = $cellColor . $date . '</td>';
-
- /* Build result */
- $cellColor = '<td class="tableSingleBorder">';
- if ($resultRow[$dbColumnResult] == "SUCCESS")
- $cellColor = '<td class="tableSingleBorder tableCellBackgroundGreen">';
- if ($resultRow[$dbColumnResult] == "FAILURE")
- $cellColor = '<td class="tableSingleBorder tableCellBackgroundRed">';
- $arrayBuildResultsRow[] = $cellColor . $resultRow[$dbColumnResult] . '</td>';
- $printedBuildCount++;
-
- /* Build log directory link */
- $buildNumberString = createBuildNumberString($resultRow[$dbColumnBuildNumber]); // Create the link url to build directory...
- $buildLink = '<a href="' . LOGFILEPATHCI . $project . '/build_' . $buildNumberString; // Example: http://testresults.qt.io/ci/Qt3D_master_Integration/build_00412
- if ($conf <> "All")
- $buildLink = $buildLink . '/' . $conf; // Example: http://testresults.qt.io/ci/Qt3D_master_Integration/build_00412/linux-g++-32_Ubuntu_10.04_x86
- $buildLink = $buildLink . '" target="_blank"><img src="images/open-folder.png" alt="open" title="Open the folder for build '
- . $resultRow[$dbColumnBuildNumber] . '"></a>';
- $arrayBuildLinksRow[] = '<td class="tableTopBorder tableBottomBorder tableCellCentered">' . $buildLink . '</td>';
-
- }
- }
-}
-
-if ($useMysqli)
- mysqli_free_result($result); // Free result set
-
-/* Print the data */
-echo '<div class="metricsTitle">';
-if ($project<>"All" AND $conf=="All")
- echo '<b>Project Build history</b> (last ' . HISTORYBUILDCOUNT . ' Builds)';
-if ($project<>"All" AND $conf<>"All")
- echo '<b>Configuration Build history</b> (last ' . HISTORYBUILDCOUNT . ' Builds)';
-echo '</div>';
-if ($printedBuildCount > 0) {
- echo "<table class=\"fontSmall tableSingleBorder\">";
-
- /* Build number */
- echo "<tr>";
- echo "<td class=\"tableSingleBorder\"><b>Build</b></td>";
- for ($i=0; $i<$printedBuildCount; $i++)
- echo $arrayBuildNumbersRow[$i];
- echo "</tr>";
-
- /* Build date */
- echo "<tr>";
- echo "<td class=\"tableSingleBorder\"><b>Date</b></td>";
- for ($i=0; $i<$printedBuildCount; $i++)
- echo $arrayBuildDatesRow[$i];
- echo "</tr>";
-
- /* Build result */
- echo "<tr class=\"tableSingleBorder\">";
- echo "<td class=\"tableSingleBorder\"><b>Result</b></td>";
- for ($i=0; $i<$printedBuildCount; $i++)
- echo $arrayBuildResultsRow[$i];
- echo "</tr>";
-
- /* Build log directory link */
- echo "<tr class=\"tableSingleBorder\">";
- echo "<td class=\"tableSingleBorder\"><b>Log files</b></td>";
- for ($i=0; $i<$printedBuildCount; $i++)
- echo $arrayBuildLinksRow[$i];
- echo "</tr>";
-
- echo "</table>";
-} else {
- echo "(no items)<br/>";
-}
-
-/* Elapsed time */
-if ($showElapsedTime) {
- $timeEnd = microtime(true);
- $timeDbConnect = round($timeConnect - $timeStart, 4);
- $timeDbRead = round($timeRead - $timeStartThis, 4);
- $timeCalc = round($timeEnd - $timeRead, 4);
- $time = round($timeEnd - $timeStartThis, 4);
- echo "<div class=\"elapdedTime\">";
- echo "<ul><li>";
- echo "<b>Total time</b> (round $round): $time s (database read time: $timeDbRead s, calculation time: $timeCalc s); database connect time: $timeDbConnect s";
- echo "</li></ul>";
- echo "</div>";
-} else {
- echo "<br>";
-}
-
-?> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/ci/listconfigurations.php b/non-puppet/qtmetrics/ci/listconfigurations.php
deleted file mode 100644
index b13820e..0000000
--- a/non-puppet/qtmetrics/ci/listconfigurations.php
+++ /dev/null
@@ -1,490 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-/* Following 'input' variabes must be set prior to including this file */
- // $_SESSION['arrayProjectName']
- // $_SESSION['arrayProjectBuildLatest']
- // $project
- // $build
- // $buildNumber (in listgeneraldata.php)
- // $timescaleType
- // $timescaleValue
- // $projectFilter
- // $confFilter
- // $showElapsedTime
- // $timeEnd
- // $round
-
-$timeStartThis = $timeEnd; // Start where previous step ended
-$arrayConfName = $_SESSION['arrayConfName']; // Get Configuration names
-
-/* 1. Read Configurations from database */
-if ($build == 0) { // Show the latest build ...
- $sql = cleanSqlString(
- "SELECT cfg, result, forcesuccess, insignificant
- FROM cfg_latest
- WHERE $confFilter AND $projectFilter
- ORDER BY result, cfg");
-} else { // ... or the selected build
- $sql = cleanSqlString(
- "SELECT cfg, result, forcesuccess, insignificant
- FROM cfg
- WHERE $confFilter AND $projectFilter AND build_number=$buildNumber
- ORDER BY result, cfg");
-}
-$dbColumnCfgCfg = 0;
-$dbColumnCfgResult = 1;
-$dbColumnCfgForceSuccess = 2;
-$dbColumnCfgInsignificant = 3;
-if ($useMysqli) {
- $result = mysqli_query($conn, $sql);
- $numberOfRows = mysqli_num_rows($result);
-} else {
- $result = mysql_query($sql) or die (mysql_error());
- $numberOfRows = mysql_num_rows($result);
-}
-
-/* 2. Read count of significant/insignificant Autotests for each Configuration */
-$arrayConfSignAutotest = array();
-$arrayConfInsignAutotest = array();
-foreach ($arrayConfName as $key => $name) { // Initialize
- $arrayConfSignAutotest[$key] = 0;
- $arrayConfInsignAutotest[$key] = 0;
-}
-if ($build == 0) { // Show the latest build ...
- $sql = cleanSqlString(
- "SELECT cfg, insignificant
- FROM test_latest
- WHERE $projectFilter");
-} else { // ... or the selected build
- $sql = cleanSqlString(
- "SELECT cfg, insignificant
- FROM test
- WHERE $projectFilter AND build_number=$buildNumber");
-}
-$dbColumnTestCfg = 0;
-$dbColumnTestInsignificant = 1;
-if ($useMysqli) {
- $result2 = mysqli_query($conn, $sql);
- $numberOfRows2 = mysqli_num_rows($result2);
-} else {
- $result2 = mysql_query($sql) or die (mysql_error());
- $numberOfRows2 = mysql_num_rows($result2);
-}
-for ($j=0; $j<$numberOfRows2; $j++) {
- if ($useMysqli)
- $resultRow2 = mysqli_fetch_row($result2);
- else
- $resultRow2 = mysql_fetch_row($result2);
- foreach ($arrayConfName as $key => $confName) {
- if ($resultRow2[$dbColumnTestCfg] == $confName) { // Find the Conf
- if ($resultRow2[$dbColumnTestInsignificant] == 1)
- $arrayConfInsignAutotest[$key]++;
- else
- $arrayConfSignAutotest[$key]++;
- break; // Conf found, skip the rest
- }
- }
-}
-if ($useMysqli)
- mysqli_free_result($result2);
-
-/* 3. Read failed Autotest sum and all Autotest total and reruns for each Configuration */
-$arrayConfAutotestTotal = array();
-$arrayConfAutotestFailed = array();
-$arrayConfAutotestRerun = array();
-foreach ($arrayConfName as $key => $name) { // Initialize
- $arrayConfAutotestTotal[$key] = 0;
- $arrayConfAutotestFailed[$key] = 0;
- $arrayConfAutotestRerun[$key] = 0;
-}
-if ($round > 1) { // Skip on first round to optimize performance
- if ($build == 0) { // Show the latest build ...
- $sql = cleanSqlString(
- "SELECT cfg, passed, failed, skipped, runs
- FROM all_test_latest
- WHERE $projectFilter");
- } else { // ... or the selected build
- $sql = cleanSqlString(
- "SELECT cfg, passed, failed, skipped, runs
- FROM all_test
- WHERE $projectFilter AND build_number=$buildNumber");
- }
- $dbColumnTestCfg = 0;
- $dbColumnTestPassed = 1;
- $dbColumnTestFailed = 2;
- $dbColumnTestSkipped = 3;
- $dbColumnTestRuns = 4;
- if ($useMysqli) {
- $result2 = mysqli_query($conn, $sql);
- $numberOfRows2 = mysqli_num_rows($result2);
- } else {
- $result2 = mysql_query($sql) or die (mysql_error());
- $numberOfRows2 = mysql_num_rows($result2);
- }
- for ($j=0; $j<$numberOfRows2; $j++) {
- if ($useMysqli)
- $resultRow2 = mysqli_fetch_row($result2);
- else
- $resultRow2 = mysql_fetch_row($result2);
- foreach ($arrayConfName as $key => $name) {
- if ($resultRow2[$dbColumnTestCfg] == $name) { // Find the Conf
- $arrayConfAutotestTotal[$key]++; // a) Count the number of Autotests
- if (checkAutotestFailed($resultRow2[$dbColumnTestPassed],
- $resultRow2[$dbColumnTestFailed],
- $resultRow2[$dbColumnTestSkipped])) // b) Count the number of failed Autotests in a Project (identified by case results)
- $arrayConfAutotestFailed[$key]++;
- if ($resultRow2[$dbColumnTestRuns] > 1) // c) Count the number of rerun Autotests (not the number of reruns)
- $arrayConfAutotestRerun[$key]++;
- break; // Conf found, skip the rest
- }
- }
- }
- if ($useMysqli)
- mysqli_free_result($result2);
-}
-
-/* Print the Configuration data (continue step 1) */
-if ($numberOfRows > 0) {
-
- /* Counters for printing totals summary row */
- $printedConfs = 0;
- $buildForceSuccessCount = 0;
- $buildInsignCount = 0;
- $buildFailingSignAutotestCount = 0;
- $buildFailingInsignAutotestCount = 0;
- $buildAutotestCount = 0;
- $buildAutotestFailedCount = 0;
- $buildAutotestRerun = 0;
- $allFailureCount = 0;
- $allSuccessCount = 0;
- $allTotalCount = 0;
-
- echo '<div class="metricsTitle">';
- echo '<b>Configurations</b>';
- echo '</div>';
-
- /* Titles */
- echo '<table class="fontSmall">';
- echo '<tr>';
- echo '<th></th>';
- echo '<td colspan="8" class="tableBottomBorder tableSideBorder tableCellCentered tableCellBuildSelected">';
- if ($build == 0) // Show the latest build ...
- echo 'LATEST BUILD';
- else // ... or the selected build
- echo 'BUILD ' . $buildNumber;
- echo '</td>';
- if ($round == 1) {
- if ($timescaleType == "All")
- echo '<td colspan="3" class="tableBottomBorder tableSideBorder tableCellCentered timescaleAll">';
- if ($timescaleType == "Since")
- echo '<td colspan="3" class="tableBottomBorder tableSideBorder tableCellCentered timescaleSince">';
- echo 'Loading All Builds <span class="loading"><span>.</span><span>.</span><span>.</span></span></td>';
- } else {
- if ($timescaleType == "All")
- echo '<td colspan="3" class="tableBottomBorder tableSideBorder tableCellCentered timescaleAll"><b>ALL BUILDS (SINCE ' . $_SESSION['minBuildDate'] . ')</b>';
- if ($timescaleType == "Since")
- echo '<td colspan="3" class="tableBottomBorder tableSideBorder tableCellCentered timescaleSince">ALL BUILDS SINCE ' . $timescaleValue . '</td>';
- }
- echo '</tr>';
- echo '<tr>';
- echo '<th></th>';
- echo '<th colspan="3" class="tableBottomBorder tableSideBorder">Build Info</th>';
- echo '<th colspan="2" class="tableBottomBorder tableLeftBorder">Failed Autotests</th>';
- echo '<th colspan="3" class="tableBottomBorder tableRightBorder">All</th>';
- echo '<th colspan="3" class="tableBottomBorder tableSideBorder">Builds</th>';
- echo '</tr>';
- echo '<tr class="tableBottomBorder">';
- echo '<td></td>';
- echo '<td class="tableLeftBorder tableCellCentered">Result</td>';
- echo '<td class="tableCellCentered">Force success</td>';
- echo '<td class="tableCellCentered">Insignificant</td>';
- echo '<td class="tableLeftBorder tableCellCentered">Significant</td>';
- echo '<td class="tableCellCentered">Insignificant</td>';
- echo '<td class="tableCellCentered">Failed</td>';
- echo '<td class="tableCellCentered">Total</td>';
- echo '<td class="tableCellCentered">Rerun</td>';
- echo '<td class="tableLeftBorder tableCellCentered">Failed</td>';
- echo '<td class="tableCellCentered">Successful</td>';
- echo '<td class="tableRightBorder tableCellCentered">Total</td>';
- echo '</tr>';
-
- for ($i=0; $i<$numberOfRows; $i++) { // Loop to print Confs
- if ($useMysqli)
- $resultRow = mysqli_fetch_row($result);
- else
- $resultRow = mysql_fetch_row($result);
- if ($i % 2 == 0)
- echo '<tr>';
- else
- echo '<tr class="tableBackgroundColored">';
-
- /* Configuration name */
- $confName = $resultRow[$dbColumnCfgCfg];
- echo '<td><a href="javascript:void(0);" onclick="filterConf(\'' . $confName
- . '\')">' . $confName . '</a></td>';
-
- $timeReadLatestStart = microtime(true);
-
- /* Build result */
- $fontColorClass = "fontColorBlack";
- if ($resultRow[$dbColumnCfgResult] == "SUCCESS")
- $fontColorClass = "fontColorGreen";
- if ($resultRow[$dbColumnCfgResult] == "FAILURE")
- $fontColorClass = "fontColorRed";
- echo '<td class="tableLeftBorder tableCellCentered ' . $fontColorClass . '">' . $resultRow[$dbColumnCfgResult] . '</td>';
-
- /* Build force success and Insignificant */
- if ($resultRow[$dbColumnCfgForceSuccess] == 1) {
- echo '<td class="tableCellCentered">' . FLAGON . '</td>';
- $buildForceSuccessCount++;
- } else {
- echo '<td class="tableCellCentered">' . FLAGOFF . '</td>';
- }
- if ($resultRow[$dbColumnCfgInsignificant] == 1) {
- echo '<td class="tableCellCentered">' . FLAGON . '</td>';
- $buildInsignCount++;
- } else {
- echo '<td class="tableCellCentered">' . FLAGOFF . '</td>';
- }
-
- /* Failed significant/insignificant Autotest counts */
- $confSignAutotestCount = 0;
- $confInsignAutotestCount = 0;
- foreach ($arrayConfName as $key => $name) {
- if ($resultRow[$dbColumnCfgCfg] == $name) { // Find the Conf
- $confSignAutotestCount = $arrayConfSignAutotest[$key];
- $confInsignAutotestCount = $arrayConfInsignAutotest[$key];
- break; // Conf found, skip the rest
- }
- }
- if ($confSignAutotestCount > 0)
- echo '<td class="tableLeftBorder tableCellCentered">' . $confSignAutotestCount . '</td>';
- else
- echo '<td class="tableLeftBorder tableCellCentered">-</td>';
- if ($confInsignAutotestCount > 0)
- echo '<td class="tableCellCentered">' . $confInsignAutotestCount . '</td>';
- else
- echo '<td class="tableCellCentered">-</td>';
- $buildFailingSignAutotestCount = $buildFailingSignAutotestCount + $confSignAutotestCount;
- $buildFailingInsignAutotestCount = $buildFailingInsignAutotestCount + $confInsignAutotestCount;
-
- /* Failed Autotest sum and all Autotest total and reruns */
- if ($round == 1) { // Skip on first round to optimize performance
- echo '<td class="tableCellCentered"></td>';
- echo '<td class="tableCellCentered"></td>';
- echo '<td class="tableCellCentered"></td>';
- } else {
- $confAutotestCount = 0;
- $confAutotestFailedCount = 0;
- $confAutotestRerun = 0;
- foreach ($arrayConfName as $key => $name) {
- if ($resultRow[$dbColumnCfgCfg] == $name) { // Find the Conf
- $confAutotestCount = $arrayConfAutotestTotal[$key];
- $confAutotestFailedCount = $arrayConfAutotestFailed[$key];
- $confAutotestRerun = $arrayConfAutotestRerun[$key];
- break; // Conf found, skip the rest
- }
- }
- $ratio = calculatePercentage($confAutotestFailedCount, $confAutotestCount);
- if ($confAutotestCount > 0)
- echo '<td class="tableCellAlignRight">' . $confAutotestFailedCount . ' (' . $ratio . '%)</td>';
- else
- echo '<td class="tableCellCentered">-</td>';
- if ($confAutotestCount > 0)
- echo '<td class="tableCellCentered">' . $confAutotestCount . '</td>';
- else
- echo '<td class="tableCellCentered">-</td>';
- if ($confAutotestRerun > 0)
- echo '<td class="tableCellCentered">' . $confAutotestRerun . '</td>';
- else
- echo '<td class="tableCellCentered">-</td>';
- $buildAutotestCount = $buildAutotestCount + $confAutotestCount;
- $buildAutotestFailedCount = $buildAutotestFailedCount + $confAutotestFailedCount;
- $buildAutotestRerun = $buildAutotestRerun + $confAutotestRerun;
- if ($useMysqli)
- mysqli_free_result($result2);
- }
-
- $timeReadLatestEnd = microtime(true);
- $timeReadLatest = $timeReadLatest + round($timeReadLatestEnd - $timeReadLatestStart, 4);
- $timeReadAllStart = microtime(true);
-
- /* All Builds data */
- if ($round == 1) { // Skip on first round to optimize performance
- $confFailureCount = -1;
- $confSuccessCount = -1;
- $confTotalCount = -1;
- } else {
- $timescopeFilter = "";
- if ($timescaleType == "Since")
- $timescopeFilter = "AND timestamp>=\"$timescaleValue\"";
- $sql = cleanSqlString(
- "SELECT result, COUNT(result) AS count
- FROM cfg
- WHERE cfg=\"$confName\" AND $projectFilter $timescopeFilter
- GROUP BY result
- UNION
- SELECT 'Total', COUNT(cfg) AS count
- FROM cfg
- WHERE cfg=\"$confName\" AND $projectFilter $timescopeFilter"); // Will return up to five rows (results ABORTED,FAILURE,SUCCESS,undef and the Total)
- if ($useMysqli) {
- $result2 = mysqli_query($conn, $sql);
- $numberOfRows2 = mysqli_num_rows($result2);
- } else {
- $result2 = mysql_query($sql) or die (mysql_error());
- $numberOfRows2 = mysql_num_rows($result2);
- }
- $confFailureCount = 0;
- $confSuccessCount = 0;
- $confTotalCount = 0;
- for ($j=0; $j<$numberOfRows2; $j++) { // Loop to print Conf success rate (up to five rows)
- if ($useMysqli)
- $resultRow2 = mysqli_fetch_row($result2);
- else
- $resultRow2 = mysql_fetch_row($result2);
- if ($resultRow2[0] == "FAILURE")
- $confFailureCount = $resultRow2[1];
- if ($resultRow2[0] == "SUCCESS")
- $confSuccessCount = $resultRow2[1];
- if ($resultRow2[0] == "Total")
- $confTotalCount = $resultRow2[1];
- }
- }
- $ratio = calculatePercentage($confFailureCount, $confTotalCount);
- if ($confFailureCount > 0)
- echo '<td class="tableLeftBorder tableCellAlignRight">' . $confFailureCount . ' (' . $ratio . '%)' . '</td>';
- if ($confFailureCount == 0)
- echo '<td class="tableLeftBorder tableCellCentered">-</td>';
- if ($confFailureCount == -1)
- echo '<td class="tableLeftBorder tableCellCentered"></td>';
- $ratio = calculatePercentage($confSuccessCount, $confTotalCount);
- if ($confSuccessCount > 0)
- echo '<td class="tableCellAlignRight">' . $confSuccessCount . ' (' . $ratio . '%)' . '</td>';
- if ($confSuccessCount == 0)
- echo '<td class="tableCellCentered">-</td>';
- if ($confSuccessCount == -1)
- echo '<td class="tableCellCentered"></td>';
- if ($confTotalCount > 0)
- echo '<td class="tableRightBorder tableCellAlignRight">' . $confTotalCount . '</td>';
- if ($confTotalCount == 0)
- echo '<td class="tableRightBorder tableCellCentered">-</td>';
- if ($confTotalCount == -1)
- echo '<td class="tableRightBorder tableCellCentered"></td>';
- $allFailureCount = $allFailureCount + $confFailureCount;
- $allSuccessCount = $allSuccessCount + $confSuccessCount;
- $allTotalCount = $allTotalCount + $confTotalCount;
- $timeReadAllEnd = microtime(true);
- $timeReadAll = $timeReadAll + round($timeReadAllEnd - $timeReadAllStart, 4);
- if ($useMysqli)
- mysqli_free_result($result2);
-
- echo "</tr>";
- }
- $printedConfs = $numberOfRows;
-
- /* Print Totals summary row */
- echo '<tr>';
- echo '<td class="tableRightBorder tableTopBorder">total (' . $printedConfs . ')</td>';
- echo '<td class="tableLeftBorder tableTopBorder"></td>';
- echo '<td class="tableTopBorder tableCellCentered">' . $buildForceSuccessCount . '</td>';
- echo '<td class="tableRightBorder tableTopBorder tableCellCentered">' . $buildInsignCount . '</td>';
- echo '<td class="tableLeftBorder tableTopBorder tableCellCentered">' . $buildFailingSignAutotestCount . '</td>';
- echo '<td class="tableTopBorder tableCellCentered">' . $buildFailingInsignAutotestCount . '</td>';
- if ($round == 1) {
- echo '<td class="tableTopBorder tableCellCentered"></td>';
- echo '<td class="tableTopBorder tableCellCentered"></td>';
- echo '<td class="tableTopBorder tableCellCentered"></td>';
- echo '<td class="tableLeftBorder tableTopBorder tableCellCentered"></td>';
- echo '<td class="tableTopBorder tableCellCentered"></td>';
- echo '<td class="tableRightBorder tableTopBorder tableCellCentered"></td>';
- } else {
- echo '<td class="tableTopBorder tableCellCentered">' . $buildAutotestFailedCount . '</td>';
- echo '<td class="tableTopBorder tableCellCentered">' . $buildAutotestCount . '</td>';
- echo '<td class="tableTopBorder tableCellCentered">' . $buildAutotestRerun . '</td>';
- if ($allFailureCount > 0)
- echo '<td class="tableLeftBorder tableTopBorder tableCellAlignRight">' . $allFailureCount . ' ('
- . calculatePercentage($allFailureCount, $allTotalCount) . '%)</td>';
- else
- echo '<td class="tableLeftBorder tableTopBorder tableCellCentered">-</td>';
- if ($allSuccessCount > 0)
- echo '<td class="tableTopBorder tableCellAlignRight">' . $allSuccessCount . ' ('
- . calculatePercentage($allSuccessCount, $allTotalCount) . '%)</td>';
- else
- echo '<td class="tableTopBorder tableCellCentered">-</td>';
- if ($allTotalCount > 0)
- echo '<td class="tableRightBorder tableTopBorder tableCellAlignRight">' . $allTotalCount . '</td>';
- else
- echo '<td class="tableRightBorder tableTopBorder tableCellCentered">-</td>';
- }
- echo '</tr>';
-
- echo "</table>";
-} else {
- echo "(no items)<br/>";
-}
-$timeRead = microtime(true);
-
-if ($useMysqli)
- mysqli_free_result($result); // Free result set
-
-/* Elapsed time */
-if ($showElapsedTime) {
- $timeEnd = microtime(true);
- $timeDbRead = round($timeRead - $timeStartThis, 4);
- $time = round($timeEnd - $timeStartThis, 4);
- echo "<div class=\"elapdedTime\">";
- echo "<ul><li>";
- echo "<b>Total time:</b>&nbsp $time s (database read and calculation time; round $round)<br>";
- echo "Latest builds: $timeReadLatest s<br>";
- if ($round == 2)
- echo "All builds:&nbsp&nbsp&nbsp&nbsp&nbsp $timeReadAll s<br>";
- echo "</li></ul>";
- echo "</div>";
-} else {
- echo "<br>";
-}
-
-?> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/ci/listfailingautotests.php b/non-puppet/qtmetrics/ci/listfailingautotests.php
deleted file mode 100644
index 8283579..0000000
--- a/non-puppet/qtmetrics/ci/listfailingautotests.php
+++ /dev/null
@@ -1,209 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-/* Following 'input' variabes must be set prior to including this file */
- // $_SESSION['arrayProjectName']
- // $_SESSION['arrayProjectBuildLatest']
- // $_SESSION['arrayProjectBuildScopeMin']
- // $project
- // $build
- // $buildNumber (in listgeneraldata.php)
- // $projectFilter
- // $confFilter
- // $showElapsedTime
- // $timeEnd
-
-$timeStartThis = $timeEnd; // Start where previous step ended
-
-/* Check the blocking (non-insignificant) Configurations (to skip printing significant Autotests for insignificant Configurations) */
-$arrayBlockingConfs = array();
-if ($build == 0) { // Show the latest build ...
- $sql = cleanSqlString(
- "SELECT cfg
- FROM cfg_latest
- WHERE $confFilter AND $projectFilter AND insignificant=0");
-} else { // ... or the selected build
- $sql = cleanSqlString(
- "SELECT cfg
- FROM cfg
- WHERE $confFilter AND $projectFilter AND build_number=$buildNumber AND insignificant=0");
-}
-$dbColumnCfgCfg = 0;
-if ($useMysqli) {
- $result = mysqli_query($conn, $sql);
- $numberOfRows = mysqli_num_rows($result);
-} else {
- $result = mysql_query($sql) or die (mysql_error());
- $numberOfRows = mysql_num_rows($result);
-}
-for ($i=0; $i<$numberOfRows; $i++) { // Loop the Configurations
- if ($useMysqli)
- $resultRow = mysqli_fetch_row($result);
- else
- $resultRow = mysql_fetch_row($result);
- $arrayBlockingConfs[] = $resultRow[$dbColumnCfgCfg];
-}
-
-/* Read Autotest data from database */
-if ($build == 0) { // Show the latest build ...
- $sql = cleanSqlString(
- "SELECT name, project, build_number, cfg
- FROM test_latest
- WHERE $projectFilter AND $confFilter AND insignificant=0
- ORDER BY name, project, build_number DESC");
-} else { // ... or the selected build
- $sql = cleanSqlString(
- "SELECT name, project, build_number, cfg
- FROM test
- WHERE $projectFilter AND build_number=$buildNumber AND $confFilter AND insignificant=0
- ORDER BY name, project, build_number DESC");
-}
-$dbColumnTestName = 0;
-$dbColumnTestProject = 1;
-$dbColumnTestBuild = 2;
-$dbColumnTestCfg = 3;
-if ($useMysqli) {
- $result = mysqli_query($conn, $sql);
- $numberOfRows = mysqli_num_rows($result);
-} else {
- $result = mysql_query($sql) or die (mysql_error());
- $numberOfRows = mysql_num_rows($result);
-}
-$timeRead = microtime(true);
-
-/* Result storages to be printed */
-$arrayAutotestNames = array();
-$arrayAutotestTotals = array();
-$arrayAutotestConfLinks = array();
-
-/* Get the the significant Autotests */
-$j = -1; // Counter for resulting metrics rows (one per each autotest)
-$itemname="empty";
-$failedAutotestCount = 0;
-for ($i=0; $i<$numberOfRows; $i++) { // Loop the rows (each autotest may appears several times i.e. for several Configurations)
- if ($useMysqli)
- $resultRow = mysqli_fetch_row($result);
- else
- $resultRow = mysql_fetch_row($result);
- if($itemname <> "empty" AND $resultRow[$dbColumnTestName] <> $itemname) { // STEP 3: New Autotest name in the list ($resultRow is sorted by autotest name so change in name means new autotest rows will begin)
- // (this means the results of one autotest is now calculated, therefore save the results)
- $arrayAutotestTotals[$j] = $autotestConfCount; // -> Save the calculated totals as a new row for one autotest
- }
- if ($itemname == "empty" OR $resultRow[$dbColumnTestName] <> $itemname) { // STEP 1: First or new Autotest name ($resultRow is sorted by autotest name so change in name means new autotest rows will begin)
- $j++;
- $arrayAutotestNames[$j] = $resultRow[$dbColumnTestName]; // -> Save new name
- $arrayAutotestTotals[$j] = 0; // Initialize
- $autotestConfCount = 0; // Initialize
- $arrayAutotestConfLinks[$j] = ""; // Initialize
- $itemname = $resultRow[$dbColumnTestName];
- }
- foreach($arrayBlockingConfs as $key => $value) { // Loop all blocking Configurations
- if ($resultRow[$dbColumnTestCfg] == $value) { // If the Configuration for this Autotest is a blocking one
- $autotestConfCount++; // STEP 2: Save data for the Autotest
- $failedAutotestCount++;
- $buildNumberString = createBuildNumberString($resultRow[$dbColumnTestBuild]); // Create the link url to build directory...
- $link = '<a href="' . LOGFILEPATHCI . $project . '/build_' . $buildNumberString
- . '/' . $resultRow[$dbColumnTestCfg] . '" target="_blank">' . $resultRow[$dbColumnTestCfg] . '</a>'; // Example: http://testresults.qt.io/ci/Qt3D_master_Integration/build_00412/linux-g++-32_Ubuntu_10.04_x86
- $arrayAutotestConfLinks[$j] = $arrayAutotestConfLinks[$j] . ', ' . $link;
- }
- }
-}
-$arrayAutotestTotals[$j] = $autotestConfCount; // STEP 4: All Autotests checked: Save the calculated totals for the last autotest
-
-if ($useMysqli)
- mysqli_free_result($result); // Free result set
-
-/* Print the data */
-echo '<div class="metricsTitle">';
-echo '<b>Failed Autotests that caused Build failure</b> (significant Autotests in blocking Configurations)';
-echo '</div>';
-if ($failedAutotestCount > 0) {
- echo '<table class="fontSmall">';
- echo '<tr>';
- echo '<th></th>';
- echo '<td class="tableBottomBorder tableSideBorder tableCellCentered tableCellBuildSelected">';
- if ($build == 0) // Show the latest build ...
- echo 'LATEST BUILD</td>';
- else // ... or the selected build
- echo 'BUILD ' . $buildNumber . '</td>';
- echo '</tr>';
- echo '<tr class="tableBottomBorder">';
- echo '<td></td>';
- echo '<td class="tableSideBorder">List of Configurations (link to testresults directory)</td>';
- echo '</tr>';
- $j = 0;
- foreach($arrayAutotestNames as $key => $value) { // Loop to print autotests
- if ($arrayAutotestTotals[$key] > 0) {
- if ($j % 2 == 0)
- echo '<tr>';
- else
- echo '<tr class="tableBackgroundColored">';
- echo '<td>'. $arrayAutotestNames[$key] . '</td>';
- echo '<td class="tableSideBorder">'. substr($arrayAutotestConfLinks[$key],2) . '</td>'; // Skip leading ", "
- echo "</tr>";
- $j++;
- }
- }
- echo "</table>";
-} else {
- echo "(Not any Failed Autotests)<br/>";
-}
-
-/* Elapsed time */
-if ($showElapsedTime) {
- $timeEnd = microtime(true);
- $timeDbRead = round($timeRead - $timeStartThis, 4);
- $timeCalc = round($timeEnd - $timeRead, 4);
- $time = round($timeEnd - $timeStartThis, 4);
- echo "<div class=\"elapdedTime\">";
- echo "<ul><li>";
- echo "<b>Total time</b> (round $round): $time s (database read time: $timeDbRead s, calculation time: $timeCalc s)";
- echo "</li></ul>";
- echo "</div>";
-} else {
- echo "<br>";
-}
-
-?> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/ci/listgeneraldata.php b/non-puppet/qtmetrics/ci/listgeneraldata.php
deleted file mode 100644
index 2d9d3e6..0000000
--- a/non-puppet/qtmetrics/ci/listgeneraldata.php
+++ /dev/null
@@ -1,189 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-/* Following 'input' variables must be set prior to including this file */
- // $_SESSION['arrayProjectName']
- // $_SESSION['arrayProjectBuildLatest']
- // $_SESSION['arrayProjectBuildLatestResult']
- // $ciPlatform
- // $ciPlatformName
- // $project
- // $conf
- // $build
- // $timescaleType
- // $timescaleValue
- // $projectFilter
- // $confFilter
-
-/* Read the Build data */
-foreach ($_SESSION['arrayProjectName'] as $key=>$value) {
- if ($value == $project) {
- $latestBuildNumber = $_SESSION['arrayProjectBuildLatest'][$key];
- $buildNumber = $_SESSION['arrayProjectBuildLatest'][$key];
- $buildResult = $_SESSION['arrayProjectBuildLatestResult'][$key];
- $buildTimestamp = $_SESSION['arrayProjectBuildLatestTimestamp'][$key];
- $buildDuration = $_SESSION['arrayProjectBuildLatestDuration'][$key];
- }
-}
-$buildNumber = $latestBuildNumber - $build; // Selected build
-$buildNumberString = createBuildNumberString($buildNumber);
-$projectConfValid = FALSE; // Can be used to identify if Configuration is available for the latest Project Build (later in other listxxx.php files)
-
-/* Project data */
-if ($conf == "All") {
- if ($build == 0) { // Show the latest build ...
- // Data read above
- } else { // ... or the selected build (read from database)
- $sql = cleanSqlString(
- "SELECT result, timestamp, duration
- FROM ci
- WHERE $projectFilter AND build_number=$buildNumber");
- $dbColumnCiResult = 0;
- $dbColumnCiTimestamp = 1;
- $dbColumnCiDuration = 2;
- if ($useMysqli) {
- $result = mysqli_query($conn, $sql);
- $numberOfRows = mysqli_num_rows($result);
- } else {
- $result = mysql_query($sql) or die (mysql_error());
- $numberOfRows = mysql_num_rows($result);
- }
- if ($numberOfRows > 0) { // Should be only one match
- if ($useMysqli)
- $resultRow = mysqli_fetch_row($result);
- else
- $resultRow = mysql_fetch_row($result);
- $buildResult = $resultRow[$dbColumnCiResult];
- $buildTimestamp = $resultRow[$dbColumnCiTimestamp];
- $buildDuration = $resultRow[$dbColumnCiDuration];
- }
- }
- echo "<table>";
- echo "<tr><td>Project: </td><td class=\"tableCellBackgroundTitle\">$project</td></tr>";
- if ($ciPlatform <> 0) {
- echo '<tr><td>Platform:</td><td class="tableCellBackgroundTitle">' . $ciPlatformName . '</td></tr>';
- echo '<tr><td>Configuration:</td><td class="tableCellBackgroundTitle fontColorGrey">' . $ciPlatformFilter . '</td></tr>';
- }
- if ($timescaleType == "Since")
- echo '<tr><td>Since:</td><td class="timescaleSince">' . $timescaleValue . '</td></tr>';
- echo "<tr><td>Build: </td><td>$buildNumber</td></tr>";
- $fontColorClass = "fontColorBlack";
- if ($buildResult == "SUCCESS")
- $fontColorClass = "fontColorGreen";
- if ($buildResult == "FAILURE")
- $fontColorClass = "fontColorRed";
- echo '<tr><td>Build Result: </td><td class="' . $fontColorClass . '">' . $buildResult . '</td></tr>';
- echo '<tr><td>Build Time: </td><td>' . $buildTimestamp . ' (GMT)</td></tr>';
- echo '<tr><td>Build Duration: </td><td>' . $buildDuration . '</td></tr>';
- echo '<tr><td>Build Log File: </td><td><a href="' . LOGFILEPATHCI . $project
- . '/build_' . $buildNumberString . '/log.txt.gz" target="_blank">log.txt.gz</a></td></tr>';
- // Example: http://testresults.qt.io/ci/Qt3D_master_Integration/build_00412/log.txt.gz
- echo "</table>";
-}
-
-/* Configuration data */
-else {
- if ($build == 0) // Show the latest build ...
- $sql = cleanSqlString(
- "SELECT result, forcesuccess, insignificant, timestamp, duration
- FROM cfg_latest
- WHERE $confFilter AND $projectFilter");
- else // ... or the selected build
- $sql = cleanSqlString(
- "SELECT result, forcesuccess, insignificant, timestamp, duration
- FROM cfg
- WHERE $confFilter AND $projectFilter AND build_number=$buildNumber");
- $dbColumnCfgResult = 0;
- $dbColumnCfgForceSuccess = 1;
- $dbColumnCfgInsignificant = 2;
- $dbColumnCfgTimestamp = 3;
- $dbColumnCfgDuration = 4;
- if ($useMysqli) {
- $result = mysqli_query($conn, $sql);
- $numberOfRows = mysqli_num_rows($result);
- } else {
- $result = mysql_query($sql) or die (mysql_error());
- $numberOfRows = mysql_num_rows($result);
- }
- if ($numberOfRows > 0) { // Should be only one match
- if ($useMysqli)
- $resultRow = mysqli_fetch_row($result);
- else
- $resultRow = mysql_fetch_row($result);
- $buildResult = $resultRow[$dbColumnCfgResult];
- $buildTimestamp = $resultRow[$dbColumnCfgTimestamp];
- $buildDuration = $resultRow[$dbColumnCfgDuration];
- $buildForceSuccess = $resultRow[$dbColumnCfgForceSuccess];
- $buildInsignificant = $resultRow[$dbColumnCfgInsignificant];
- $projectConfValid = TRUE;
- echo "<table>";
- echo "<tr><td>Project: </td><td class=\"tableCellBackgroundTitle\">$project</td></tr>";
- echo "<tr><td>Configuration: </td><td class=\"tableCellBackgroundTitle\">$conf</td></tr>";
- // Note: Timescale filter not shown here because it does not affect this view
- echo "<tr><td>Build: </td><td>$buildNumber</td></tr>";
- $fontColorClass = "fontColorBlack";
- if ($buildResult == "SUCCESS")
- $fontColorClass = "fontColorGreen";
- if ($buildResult == "FAILURE")
- $fontColorClass = "fontColorRed";
- echo '<tr><td>Build Result: </td><td class="' . $fontColorClass . '">' . $buildResult . '</td></tr>';
- echo '<tr><td>Build Time: </td><td>' . $buildTimestamp . ' (GMT)</td></tr>';
- echo '<tr><td>Build Duration: </td><td>' . $buildDuration . '</td></tr>';
- if ($buildForceSuccess == 1)
- echo '<tr><td>Force Success: </td><td>' . FLAGON . '</td></tr>';
- else
- echo '<tr><td>Force Success: </td><td>' . FLAGOFF . '</td></tr>';
- if ($buildInsignificant == 1)
- echo '<tr><td>Insignificant: </td><td>' . FLAGON . '</td></tr>';
- else
- echo '<tr><td>Insignificant: </td><td>' . FLAGOFF . '</td></tr>';
- echo '<tr><td>Build Log File: </td><td><a href="' . LOGFILEPATHCI . $project
- . '/build_' . $buildNumberString . '/' . $conf . '/log.txt.gz" target="_blank">log.txt.gz</a></td></tr>';
- // Example: http://testresults.qt.io/ci/Qt3D_master_Integration/build_00412/linux-g++-32_Ubuntu_10.04_x86/log.txt.gz
- echo "</table>";
- }
-}
-
-?> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/ci/listprojects.php b/non-puppet/qtmetrics/ci/listprojects.php
deleted file mode 100644
index 6d32f9b..0000000
--- a/non-puppet/qtmetrics/ci/listprojects.php
+++ /dev/null
@@ -1,445 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-/* Following 'input' variabes must be set prior to including this file */
- // All Project session variables: $_SESSION['arrayProject...']
- // $ciProject
- // $ciBranch
- // $ciPlatform
- // $ciPlatformFilterSql
- // $conf
- // $timescaleType
- // $timescaleValue
- // $timeStart
- // $timeConnect
- // $round
-
-$i = 0;
-echo '<table class="fontSmall">';
-
-/* Titles */
-echo '<tr>';
-echo '<th></th>';
-if ($timescaleType == "All") {
- echo '<td colspan="11" class="tableBottomBorder tableSideBorder tableCellCentered">';
- echo '<b>LATEST PROJECT BUILDS</b></td>';
- echo '<td colspan="3" class="tableBottomBorder tableSideBorder tableCellCentered timescaleAll">
- <b>ALL BUILDS (SINCE ' . $_SESSION['minBuildDate'] . ')</b></td>';
-}
-if ($timescaleType == "Since") {
- echo '<td colspan="11" class="tableBottomBorder tableSideBorder tableCellCentered">';
- echo '<b>LATEST PROJECT BUILDS SINCE ' . $timescaleValue . '</b></td>';
- if ($round == 1)
- echo '<td colspan="3" class="tableBottomBorder tableSideBorder tableCellCentered timescaleSince">
- Loading All Builds <span class="loading"><span>.</span><span>.</span><span>.</span></span></td>';
- else
- echo '<td colspan="3" class="tableBottomBorder tableSideBorder tableCellCentered timescaleSince">
- ALL BUILDS SINCE ' . $timescaleValue . '</td>';
-}
-echo '</tr>';
-echo '<tr>';
-echo '<th></th>';
-echo '<th colspan="3" class="tableBottomBorder tableSideBorder">Build Info</th>';
-echo '<th colspan="2" class="tableBottomBorder tableLeftBorder">Failed Autotests</th>';
-echo '<th colspan="3" class="tableBottomBorder tableRightBorder">All</th>';
-echo '<th colspan="3" class="tableBottomBorder tableSideBorder">Configurations</th>';
-echo '<th colspan="3" class="tableBottomBorder tableSideBorder">Builds</th>';
-echo '</tr>';
-echo '<tr class="tableBottomBorder">';
-echo '<td></td>';
-echo '<td class="tableLeftBorder tableCellCentered">ID</td>';
-echo '<td class="tableCellCentered">Result</td>';
-echo '<td class="tableCellCentered">Date</td>';
-echo '<td class="tableLeftBorder tableCellCentered">Significant</td>';
-echo '<td class="tableCellCentered">Insignificant</td>';
-echo '<td class="tableCellCentered">Failed</td>';
-echo '<td class="tableCellCentered">Total</td>';
-echo '<td class="tableCellCentered">Rerun</td>';
-echo '<td class="tableLeftBorder tableCellCentered">Force success</td>';
-echo '<td class="tableCellCentered">Insignificant</td>';
-echo '<td class="tableCellCentered">Total</td>';
-echo '<td class="tableLeftBorder tableCellCentered">Failed</td>';
-echo '<td class="tableCellCentered">Successful</td>';
-echo '<td class="tableRightBorder tableCellCentered">Total</td>';
-echo '</tr>';
-
-/* Counters for printing totals summary row */
-$listCutMode = FALSE;
-$printedProjects = 0;
-$latestFailingSignAutotestCount = 0;
-$latestFailingInsignAutotestCount = 0;
-$latestAutotestFailedCount = 0;
-$latestAutotestTotalCount = 0;
-$latestAutotestRerunCount = 0;
-$latestForceSuccessConfCount = 0;
-$latestInsignConfCount = 0;
-$latestTotalConfCount = 0;
-$allFailureCount = 0;
-$allSuccessCount = 0;
-$allTotalCount = 0;
-
-/* Read the Projects that are built for selected Platform or Configuration */
-$arrayProjectConfBuilds = array();
-if ($ciPlatform <> 0 OR $conf <> "All") {
- $confFilter = "";
- $timescaleFilter = "";
- if ($ciPlatform <> 0)
- $confFilter = 'cfg LIKE "' . $ciPlatformFilterSql . '"';
- if ($conf <> "All")
- $confFilter = 'cfg="' . $conf . '"'; // Overwrite the Platform based filter if Conf filtered
- if ($timescaleType == "All") {
- $from = 'cfg_latest';
- } else {
- $from = 'cfg';
- $timescaleFilter = 'AND timestamp>="' . $timescaleValue . '"';
- }
- $sql = cleanSqlString(
- "SELECT DISTINCT project
- FROM $from
- WHERE $confFilter $timescaleFilter");
- $dbColumnCfgProject = 0;
- if ($useMysqli) {
- $result = mysqli_query($conn, $sql);
- $numberOfRows = mysqli_num_rows($result);
- } else {
- $result = mysql_query($sql) or die (mysql_error());
- $numberOfRows = mysql_num_rows($result);
- }
- for ($j=0; $j<$numberOfRows; $j++) {
- if ($useMysqli)
- $resultRow = mysqli_fetch_row($result);
- else
- $resultRow = mysql_fetch_row($result);
- $arrayProjectConfBuilds[] = $resultRow[$dbColumnCfgProject];
- }
-}
-
-/* Read the Build statistics for each Project in filtered Timescope (session variables already include the statistics for all Builds in the database) */
-if ($round == 2 AND $timescaleType == "Since") {
- $arrayProjectBuildSinceCount = array();
- $arrayProjectBuildSinceCountSuccess = array();
- $arrayProjectBuildSinceCountFailure = array();
- foreach ($_SESSION['arrayProjectName'] as $key=>$value) { // Loop the Projects
- $booReadData = TRUE;
- if ($ciProject <> "All")
- if ($ciProject <> getProjectName($value))
- $booReadData = FALSE; // Performance optimization: Read from database only for those projects that are filtered in with $ciProject
- if ($ciBranch <> "All")
- if ($ciBranch <> getProjectBranch($value))
- $booReadData = FALSE; // Performance optimization: Read from database only for those projects that are filtered in with $ciBranch
- if ($ciPlatform <> 0 OR $conf <> "All")
- if (!in_array($value, $arrayProjectConfBuilds))
- $booReadData = FALSE; // Performance optimization: Read from database only for those projects that are filtered in with $ciPlatform or $conf
- if ($booReadData) { // Performance optimization
- $sql = "SELECT 'SUCCESS', COUNT(result) AS 'count'
- FROM ci
- WHERE project=\"$value\" AND result=\"SUCCESS\" AND timestamp>=\"$timescaleValue\"
- UNION
- SELECT 'FAILURE', COUNT(result) AS 'count'
- FROM ci
- WHERE project=\"$value\" AND result=\"FAILURE\" AND timestamp>=\"$timescaleValue\"
- UNION
- SELECT 'Total', COUNT(result) AS 'count'
- FROM ci
- WHERE project=\"$value\" AND timestamp>=\"$timescaleValue\""; // Will return three rows
- if ($useMysqli) {
- $result = mysqli_query($conn, $sql);
- $numberOfRows = mysqli_num_rows($result);
- } else {
- $selectdb="USE $db";
- $result = mysql_query($selectdb) or die (mysql_error());
- $result = mysql_query($sql) or die (mysql_error());
- $numberOfRows = mysql_num_rows($result);
- }
- for ($j=0; $j<$numberOfRows; $j++) { // Loop the counts (three rows)
- if ($useMysqli)
- $resultRow = mysqli_fetch_row($result);
- else
- $resultRow = mysql_fetch_row($result);
- if ($resultRow[0] == "SUCCESS")
- $arrayProjectBuildSinceCountSuccess[] = $resultRow[1];
- if ($resultRow[0] == "FAILURE")
- $arrayProjectBuildSinceCountFailure[] = $resultRow[1];
- if ($resultRow[0] == "Total")
- $arrayProjectBuildSinceCount[] = $resultRow[1];
- }
- } else { // Save empty counts to keep the array indexes correct
- $arrayProjectBuildSinceCountSuccess[] = 0;
- $arrayProjectBuildSinceCountFailure[] = 0;
- $arrayProjectBuildSinceCount[] = 0;
- }
- }
- if ($booReadData AND $useMysqli)
- mysqli_free_result($result); // Free result set
-}
-$timeBuildStats = microtime(true);
-
-/* Print Project data from the session variables */
-foreach ($_SESSION['arrayProjectName'] as $key=>$value) {
-
- /* When Project name, Branch, Platform or Conf filtered, and the Project does not match, skip to the next Project (in the foreach loop) */
- if ($ciProject <> "All")
- if ($ciProject <> getProjectName($value))
- continue;
- if ($ciBranch <> "All")
- if ($ciBranch <> getProjectBranch($value))
- continue;
- if ($ciPlatform <> 0 OR $conf <> "All")
- if (!in_array($value, $arrayProjectConfBuilds))
- continue; // Note: The printing is skipped, the counts are not recalculated for those printed
-
- /* When Timescale filtered, and the latest Build is not within the Timescale skip to the next Project (in the foreach loop) */
- if ($timescaleType == "Since")
- if ($_SESSION['arrayProjectBuildLatestTimestamp'][$key] < $timescaleValue)
- continue;
-
- /* Highlight every other row for better readability */
- if ($i % 2 == 0)
- echo '<tr>';
- else
- echo '<tr class="tableBackgroundColored">';
-
- /* Project name */
- echo '<td><a href="javascript:void(0);" onclick="filterProject(\'' . $value . '\')">' . $value . '</a></td>';
-
- /* Latest Build / Info: id, result, date */
- echo '<td class="tableLeftBorder">' . $_SESSION['arrayProjectBuildLatest'][$key] . '</td>';
- $fontColorClass = "fontColorBlack";
- if ($_SESSION['arrayProjectBuildLatestResult'][$key] == "SUCCESS")
- $fontColorClass = "fontColorGreen";
- if ($_SESSION['arrayProjectBuildLatestResult'][$key] == "FAILURE")
- $fontColorClass = "fontColorRed";
- echo '<td class="' . $fontColorClass . '">' . $_SESSION['arrayProjectBuildLatestResult'][$key] . '</td>';
- $date = strstr($_SESSION['arrayProjectBuildLatestTimestamp'][$key], ' ', TRUE);
- echo '<td>' . $date . '</td>';
-
- /* Latest Build / Failed Autotests: Failed significant/insignificant and sum */
- $count = $_SESSION['arrayProjectBuildLatestSignificantCount'][$key];
- if ($count > 0)
- echo '<td class="tableLeftBorder tableCellCentered">' . $count . '</td>';
- else
- echo '<td class="tableLeftBorder tableCellCentered">-</td>';
- $latestFailingSignAutotestCount = $latestFailingSignAutotestCount + $count;
- $count = $_SESSION['arrayProjectBuildLatestInsignificantCount'][$key];
- if ($count > 0)
- echo '<td class="tableCellCentered">' . $count . '</td>';
- else
- echo '<td class="tableCellCentered">-</td>';
- $latestFailingInsignAutotestCount = $latestFailingInsignAutotestCount + $count;
- $count = $_SESSION['arrayProjectBuildLatestAutotestFailedCount'][$key];
- $ratio = calculatePercentage($count, $_SESSION['arrayProjectBuildLatestAutotestCount'][$key]);
- if ($_SESSION['arrayProjectBuildLatestAutotestCount'][$key] > 0)
- echo '<td class="tableCellAlignRight">' . $count . ' (' . $ratio . '%)</td>';
- else
- echo '<td class="tableCellCentered">-</td>';
- $latestAutotestFailedCount = $latestAutotestFailedCount + $count;
-
- /* Latest Build / All Autotests: Total and rerun count */
- $count = $_SESSION['arrayProjectBuildLatestAutotestCount'][$key];
- if ($count > 0)
- echo '<td class="tableCellCentered">' . $count . '</td>';
- else
- echo '<td class="tableCellCentered">-</td>';
- $latestAutotestTotalCount = $latestAutotestTotalCount + $count;
- $count = $_SESSION['arrayProjectBuildLatestAutotestRerun'][$key];
- if ($count > 0)
- echo '<td class="tableCellCentered">' . $count . '</td>';
- else
- echo '<td class="tableCellCentered">-</td>';
- $latestAutotestRerunCount = $latestAutotestRerunCount + $count;
-
- /* Latest Build / Configurations: Force success and insignificant Configurations vs. All Configurations */
- $count = $_SESSION['arrayProjectBuildLatestConfCountForceSuccess'][$key];
- if ($count > 0)
- echo '<td class="tableLeftBorder tableCellCentered">' . $count . '</td>';
- else
- echo '<td class="tableLeftBorder tableCellCentered">-</td>';
- $latestForceSuccessConfCount = $latestForceSuccessConfCount + $count;
- $count = $_SESSION['arrayProjectBuildLatestConfCountInsignificant'][$key];
- if ($count > 0)
- echo '<td class="tableCellCentered">' . $count . '</td>';
- else
- echo '<td class="tableCellCentered">-</td>';
- $latestInsignConfCount = $latestInsignConfCount + $count;
- $count = $_SESSION['arrayProjectBuildLatestConfCount'][$key];
- if ($count > 0)
- echo '<td class="tableCellCentered">' . $count . '</td>';
- else
- echo '<td class="tableCellCentered">-</td>';
- $latestTotalConfCount = $latestTotalConfCount + $count;
-
- /* All Builds: Failed Build count and ratio */
- if ($timescaleType == "All") { // For all Builds: read from the session variables
- $count = $_SESSION['arrayProjectBuildCountFailure'][$key];
- $ratio = calculatePercentage($count, $_SESSION['arrayProjectBuildCount'][$key]);
- }
- if ($timescaleType == "Since") { // With Timescope: read from the arrays calculated above
- if ($round == 1) {
- $count = -1;
- } else {
- $count = $arrayProjectBuildSinceCountFailure[$key];
- $ratio = calculatePercentage($count, $arrayProjectBuildSinceCount[$key]);
- }
- }
- if ($count > 0)
- echo '<td class="tableLeftBorder tableCellAlignRight">' . $count . ' (' . $ratio . '%)</td>';
- if ($count == 0)
- echo '<td class="tableLeftBorder tableCellCentered">-</td>';
- if ($count == -1)
- echo '<td class="tableLeftBorder tableCellCentered"></td>';
- $allFailureCount = $allFailureCount + $count;
-
- /* All Builds: Successful Build count and ratio */
- if ($timescaleType == "All") { // For all Builds: read from the session variables
- $count = $_SESSION['arrayProjectBuildCountSuccess'][$key];
- $ratio = calculatePercentage($count, $_SESSION['arrayProjectBuildCount'][$key]);
- }
- if ($timescaleType == "Since") { // With Timescope: read from the arrays calculated above
- if ($round == 1) {
- $count = -1;
- } else {
- $count = $arrayProjectBuildSinceCountSuccess[$key];
- $ratio = calculatePercentage($count, $arrayProjectBuildSinceCount[$key]);
- }
- }
- if ($count > 0)
- echo '<td class="tableCellAlignRight">' . $count . ' (' . $ratio . '%)</td>';
- if ($count == 0)
- echo '<td class="tableCellCentered">-</td>';
- if ($count == -1)
- echo '<td class="tableCellCentered"></td>';
- $allSuccessCount = $allSuccessCount + $count;
-
- /* All Builds: Total count */
- if ($timescaleType == "All") // For all Builds: read from the session variables
- $count = $_SESSION['arrayProjectBuildCount'][$key];
- if ($timescaleType == "Since") // With Timescope: read from the arrays calculated above
- if ($round == 1) {
- $count = -1;
- } else {
- $count = $arrayProjectBuildSinceCount[$key];
- }
- if ($count > 0)
- echo '<td class="tableRightBorder tableCellAlignRight">' . $count . '</td>';
- if ($count == 0)
- echo '<td class="tableRightBorder tableCellCentered">-</td>';
- if ($count == -1)
- echo '<td class="tableRightBorder tableCellCentered"></td>';
- $allTotalCount = $allTotalCount + $count;
-
- echo "</tr>";
- $i++;
- if ($i > 12 AND !isset($_SESSION['projectDashboardShowFullList'])) { // List cut mode: By default show only n items in the list to leave room for possible other metrics boxes
- $listCutMode = TRUE;
- break;
- }
-}
-$printedProjects = $i;
-$timeProjectData = microtime(true);
-
-/* Print Totals summary row */
-if ($listCutMode == FALSE) {
- echo '<tr>';
- echo '<td class="tableRightBorder tableTopBorder">total (' . $printedProjects . ')</td>';
- echo '<td class="tableLeftBorder tableTopBorder"></td>';
- echo '<td class="tableTopBorder"></td>';
- echo '<td class="tableRightBorder tableTopBorder"></td>';
- echo '<td class="tableLeftBorder tableTopBorder tableCellCentered">' . $latestFailingSignAutotestCount . '</td>';
- echo '<td class="tableTopBorder tableCellCentered">' . $latestFailingInsignAutotestCount . '</td>';
- echo '<td class="tableTopBorder tableCellAlignRight">' . $latestAutotestFailedCount . ' ('
- . round(100*$latestAutotestFailedCount/$latestAutotestTotalCount,0) . '%)</td>';
- echo '<td class="tableTopBorder tableCellCentered">' . $latestAutotestTotalCount . '</td>';
- echo '<td class="tableTopBorder tableCellCentered">' . $latestAutotestRerunCount . '</td>';
- echo '<td class="tableLeftBorder tableTopBorder tableCellCentered">' . $latestForceSuccessConfCount . '</td>';
- echo '<td class="tableTopBorder tableCellCentered">' . $latestInsignConfCount . '</td>';
- echo '<td class="tableRightBorder tableTopBorder tableCellCentered">' . $latestTotalConfCount . '</td>';
- if ($round == 1) {
- echo '<td class="tableLeftBorder tableTopBorder tableCellCentered"></td>';
- echo '<td class="tableTopBorder tableCellCentered"></td>';
- echo '<td class="tableRightBorder tableTopBorder tableCellCentered"></td>';
- } else {
- if ($allFailureCount > 0) {
- $ratio = calculatePercentage($allFailureCount, $allTotalCount);
- echo '<td class="tableLeftBorder tableTopBorder tableCellAlignRight">' . $allFailureCount . ' (' . $ratio . '%)</td>';
- } else {
- echo '<td class="tableLeftBorder tableTopBorder tableCellCentered">-</td>';
- }
- if ($allSuccessCount > 0) {
- $ratio = calculatePercentage($allSuccessCount, $allTotalCount);
- echo '<td class="tableTopBorder tableCellAlignRight">' . $allSuccessCount . ' (' . $ratio . '%)</td>';
- } else {
- echo '<td class="tableTopBorder tableCellCentered">-</td>';
- }
- if ($allTotalCount > 0)
- echo '<td class="tableRightBorder tableTopBorder tableCellAlignRight">' . $allTotalCount . '</td>';
- else
- echo '<td class="tableRightBorder tableTopBorder tableCellCentered">-</td>';
- }
- echo '</tr>';
-}
-
-echo "</table>";
-
-if ($round == 2 AND !isset($_SESSION['projectDashboardShowFullList'])) {
- echo '<br/><a href="javascript:void(0);" onclick="clearProjectFilters()">Show full list...</a><br/><br/>'; // List cut mode: If only first n items shown, add a link to see all
- $_SESSION['projectDashboardShowFullList'] = TRUE; // List cut mode: After refreshing the metrics box, show all items instead (set below to return the default 'cut mode')
-}
-
-/* Elapsed time */
-if ($showElapsedTime) {
- $timeEnd = microtime(true);
- $timeDbConnect = round($timeConnect - $timeStart, 4);
- $timeBuilds = round($timeBuildStats - $timeConnect, 4);
- $timeProjects = round($timeProjectData - $timeBuildStats, 4);
- $time = round($timeEnd - $timeStart, 4);
- echo "<div class=\"elapdedTime\">";
- echo "<ul><li>";
- echo "<b>Total time:</b>&nbsp $time s (round $round)<br>";
- echo "Database connect time: $timeDbConnect s, read build data: $timeBuilds s, print project data: $timeProjects s";
- echo "</li></ul>";
- echo "</div>";
-}
-
-?> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/ci/metricsboxdefinitions.php b/non-puppet/qtmetrics/ci/metricsboxdefinitions.php
deleted file mode 100644
index b0e674d..0000000
--- a/non-puppet/qtmetrics/ci/metricsboxdefinitions.php
+++ /dev/null
@@ -1,78 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-/* Metrics boxes */
-define("METRICSBOXNAME", 0); // Path and name of the metrics box implementation file
-define("METRICSBOXREPEAT", 1); // How many times the metrics box implementation file is called on each update
-define("METRICSBOXFILTERSAPPLIED", 2); // The metrics box is updated when this filter changes
-define("METRICSBOXFILTERSCLEARED", 3); // The filters to clear when other applied filters change
-define("METRICSBOXSCRIPTS", 4); // The JavaScript scripts for creating the graphs that need to be executed from the Ajax result
-$arrayMetricsBoxes = array (
- // Metrics boxes will appear in the order defined below
- //
- // Possible values (for 'Applied filters' and 'Filters to clear'): All, project, ciProject, ciBranch, ciPlatform, conf, autotest, build, timescale
- //
- // File path and name Repeat Applied filters Filters to clear Scripts
- // --------------------------------------------------------------------------------------------------------------------------------------------------------
- array( "ci/showprojectdashboard.php" ,2 ,"project,ciProject,ciBranch,ciPlatform,conf,build,timescale" ,"" ,"scriptBuildPhases"),
- array( "ci/showautotestdashboard.php" ,2 ,"All" ,"autotest" ,""),
-);
-
-/* Filters */
-define("FILTERSEPARATOR", ";");
-define("FILTERVALUESEPARATOR", ":");
-define("FILTERPROJECT", 0);
-define("FILTERCIPROJECT", 1);
-define("FILTERCIBRANCH", 2);
-define("FILTERCIPLATFORM", 3);
-define("FILTERCONF", 4);
-define("FILTERAUTOTEST", 5);
-define("FILTERBUILD", 6);
-define("FILTERTIMESCALETYPE", 7);
-define("FILTERTIMESCALEVALUE", 8);
-define("FILTERSORTBY", 9);
-define("FILTERSHOWALL", 10);
-
-?> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/ci/msgautotestdashboardlevel1.html b/non-puppet/qtmetrics/ci/msgautotestdashboardlevel1.html
deleted file mode 100644
index 6188f02..0000000
--- a/non-puppet/qtmetrics/ci/msgautotestdashboardlevel1.html
+++ /dev/null
@@ -1,97 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <link rel="stylesheet" type="text/css" href="../styles.css" />
- <link rel="shortcut icon" href="../images/favicon.ico" type="image/x-icon" />
- <title>Qt Metrics Information</title>
- </head>
-
- <body class="messageWindow">
- <img src="../images/info.png" alt="info"><br><br>
-
- <!-- The message or content to be shown on new window -->
- <p><b><u>AUTOTEST DASHBOARD DESCRIPTION:</u></b></p>
- <p><b>Level 1: Show list of failing Autotests</b></p>
- <table>
- <tr>
- <th class="tableCellAlignLeft">GENERAL</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Purpose</th>
- <td class="tableSingleBorder">Improve Continuous Integration (CI) stability, throughput and coverage by fixing Autotests and their test cases, or the code under test</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Question</th>
- <td class="tableSingleBorder">Which Autotests are failing most often within a same project and/or configuration build</td>
- </tr>
- <tr><td>&nbsp;</td><td></td></tr>
- <tr>
- <th class="tableCellAlignLeft">METRIC</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Filters</th>
- <td class="tableSingleBorder">Project, Branch, Platform, Configuration, Autotest, Timescale</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Indicator</th>
- <td class="tableSingleBorder">List of failing Autotests in latest builds by failure category and in all (selected) builds with failed percentage.<br>
- <i>Tip 1: By default, the all builds data is hidden. You can show or hide the list with the show/hide link.</i><br>
- <i>Tip 2: You can sort the list by clicking the desired column title.</i>
- </td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Calculation</th>
- <td class="tableSingleBorder"><b>Failed Autotests:</b> The number of Project Configurations (their latest build) where the Autotest failed (by failure category).<br>
- <b>Detailed Test Results:</b> The number of Project Configurations (their all builds) where the Autotest has failed and run,
- the percentage of the failed ones, and the number of reruns. Calculated for the latest build, or according to the Timescale filter i.e. based on the
- builds done after the selected date.<br>
- </td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Interpretation</th>
- <td class="tableSingleBorder">Higher count means the Autotest is failing in higher number of Configurations, and should therefore be analyzed.<br>
- Failed percentage 100% means the Autotest has failed in every build it has been run.<br>
- Higher number of reruns means the Autotest must be rerun to see if it is flaky, these should be analyzed.
- </td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Target value</th>
- <td class="tableSingleBorder">The failed count or percentage is zero, or the autotest is not listed here i.e. it has not failed.</td>
- </tr>
- <tr><td>&nbsp;</td><td></td></tr>
- <tr>
- <th class="tableCellAlignLeft">DATA</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data items</th>
- <td class="tableSingleBorder"><b>Project:</b> e.g. QtBase_stable_Integration; Project filter uses the name part "QtBase" and Branch filter uses the branch part "stable"<br>
- <b>Build number:</b> several per Project (numeric 1 to n; number is Project specific)<br>
- <b>Configuration:</b> several per Project Build (e.g. linux-g++-32_Ubuntu_10.04_x86); Platform filter uses predefined searches to the Configuration name<br>
- <b>Configuration significance:</b> blocked/insignificant tag (if Configuration is tagged as "insignificant" the build will not
- fail even though some significant Autotests would fail)<br>
- <b>Autotest name:</b> e.g. tst_qftp, several per Project and Configuration<br>
- <b>Autotest result:</b> passed/failed/skipped; name in the list indicates a failure i.e. others are not listed<br>
- <b>Autotest significance:</b> tag "significant" (failure leads to build failure, unless the Configuration set insignificant) /
- "insignificant" (failure does not lead to build failure)<br>
- <b>Autotest runs:</b> number of times the Autotest was run in a build (more than one means it was rerun to see if it is flaky)
- </td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data source</th>
- <td class="tableSingleBorder">Data in SQL database parsed from the log files in http://testresults.qt.io/ci/
- </td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data update cycle</th>
- <td class="tableSingleBorder">New builds are updated to database in real time</td>
- </tr>
- </table>
- <!-- End of message -->
-
- <br><br>
- <button type="button" onclick="window.open('', '_self', ''); window.close();">Close</button>
- <br><br>
-
- </body>
-</html>
diff --git a/non-puppet/qtmetrics/ci/msgautotestdashboardlevel2.html b/non-puppet/qtmetrics/ci/msgautotestdashboardlevel2.html
deleted file mode 100644
index ad72e04..0000000
--- a/non-puppet/qtmetrics/ci/msgautotestdashboardlevel2.html
+++ /dev/null
@@ -1,111 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <link rel="stylesheet" type="text/css" href="../styles.css" />
- <link rel="shortcut icon" href="../images/favicon.ico" type="image/x-icon" />
- <title>Qt Metrics Information</title>
- </head>
-
- <body class="messageWindow">
- <img src="../images/info.png" alt="info"><br><br>
-
- <!-- The message or content to be shown on new window -->
- <p><b><u>AUTOTEST DASHBOARD DESCRIPTION:</u></b></p>
- <p><b>Level 2: Show Autotest and test case failures</b></p>
- <table>
- <tr>
- <th class="tableCellAlignLeft">GENERAL</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Purpose</th>
- <td class="tableSingleBorder">Improve Continuous Integration (CI) stability, throughput and coverage by fixing Autotests and their test cases, or the code under test</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Question</th>
- <td class="tableSingleBorder">In which Projects and Configurations the Autotest is failing, and how often.<br>
- In which Configuration builds the failing Autotest is blocking the build.<br>
- Is the Autotest failing constantly in build history.
- Which are the failing test cases.</td>
- </tr>
- <tr><td>&nbsp;</td><td></td></tr>
- <tr>
- <th class="tableCellAlignLeft">METRIC</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Filters</th>
- <td class="tableSingleBorder">Project, Platform, Configuration, Autotest, Timescale</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Indicator</th>
- <td class="tableSingleBorder"><b>Result history:</b> List of Projects and Configurations (for the last 20 builds) where the Autotest is failing by failure category.
- Autotest and Build details are displayed when moving the mouse over the Build link.
- The Timescale filtered and/or the Build selected in the Project dashboard is indicated.
- <i>For the coloring, see the linked notation description.</i><br>
- <b>Test cases:</b> The number of Project Configuration builds where the test case has failed and run, and percentage of the failed ones.
- Calculated based on all test report files for the latest/selected build, or according to the Timescale filter i.e. based on the builds
- done after the selected date.<br>
- <i>Note 1: This is calculated only when a Project is filtered.</i><br>
- <i>Note 2: Test report files may not be available from all builds. </i></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Calculation</th>
- <td class="tableSingleBorder"><b>Result history:</b> The result, and the failure category in case of failure, in each Project Configuration build based on the Autotest
- failure and its significance, and on build result and its significance.<br>
- <b>Test cases:</b> Calculating the result, or the failure category in case of failure, in each Project Configuration build based on the
- Autotest failure and significance, and build result and significance.</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Interpretation</th>
- <td class="tableSingleBorder">Repeating failures, especially the blocking ones, require corrective actions. <i>See the Failure category description for action details</i>.<br>
- Higher count means the test case is failing in higher number of Configurations, and should therefore be analyzed.<br>
- Failed percentage 100% means the test case has failed in every build it has been run.</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Target value</th>
- <td class="tableSingleBorder">The failed count or percentage is zero</td>
- </tr>
- <tr><td>&nbsp;</td><td></td></tr>
- <tr>
- <th class="tableCellAlignLeft">DATA</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data items</th>
- <td class="tableSingleBorder"><b>Project:</b> e.g. QtBase_stable_Integration; Project filter uses the name part "QtBase" and Branch filter uses the branch part "stable"<br>
- <b>Build number:</b> several per Project (numeric 1 to n; number is Project specific)<br>
- <b>Configuration:</b> several per Project Build (e.g. linux-g++-32_Ubuntu_10.04_x86); Platform filter uses predefined searches to the Configuration name<br>
- <b>Configuration build result:</b> SUCCESS/FAILURE/ABORTED/undef ("undef" means the build was cancelled before it was even started because
- some other Configuration build failed and caused the whole Project build failure)<br>
- <b>Configuration significance:</b> blocked/insignificant tag (if Configuration is tagged as "insignificant" the build will not fail even
- though some significant Autotests would fail)<br>
- <b>Autotest name:</b> e.g. tst_qftp, several per Project and Configuration<br>
- <b>Autotest result:</b> name in the list indicates a failure (i.e. the passed ones are not listed)<br>
- <b>Autotest significance:</b> tag "significant" (failure leads to build failure, unless the Configuration set insignificant) /
- "insignificant" (failure does not lead to build failure)<br>
- <b>Autotest runs:</b> number of times the Autotest was run in a build (more than one means it was rerun to see if it is flaky)<br>
- <b>Autotest result file:</b> if the related test result file (e.g. tst_qftp-testresults-00.xml) exists, the Autotest was run in
- the related Configuration build<br>
- <b>Test case name:</b> e.g. activeMode[WithoutProxy], test case naming structure varies between Autotests<br>
- <b>Test case result:</b> pass/fail/xpass/xfail, note that only the "fail" and "xpass" results are included (both considered as a failure)<br>
- <b>Test case configuration:</b> the Project Configuration directory where the test result files are located, e.g.
- QtBase_stable_Integration/build_03681/macx-ios-clang_OSX_10.8
- </td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data source</th>
- <td class="tableSingleBorder">Test case data is in xml files (zipped) in Project Configuration directories in http://testresults.qt.io/ci/<br>
- All other data is in SQL database parsed from the log files in http://testresults.qt.io/ci/</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data update cycle</th>
- <td class="tableSingleBorder">New builds are updated to database in real time</td>
- </tr>
- </table>
- <!-- End of message -->
-
- <br><br>
- <button type="button" onclick="window.open('', '_self', ''); window.close();">Close</button>
- <br><br>
-
- </body>
-</html>
diff --git a/non-puppet/qtmetrics/ci/msgautotestresultdescription.html b/non-puppet/qtmetrics/ci/msgautotestresultdescription.html
deleted file mode 100644
index 5fa1817..0000000
--- a/non-puppet/qtmetrics/ci/msgautotestresultdescription.html
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <link rel="stylesheet" type="text/css" href="../styles.css" />
- <link rel="shortcut icon" href="../images/favicon.ico" type="image/x-icon" />
- <title>Qt Metrics Information</title>
- </head>
-
- <body class="messageWindow">
- <img src="../images/info.png" alt="info"><br><br>
-
- <!-- The message or content to be shown on new window -->
- <p><b><u>AUTOTEST RESULT HISTORY NOTATION:</u></b></p>
- <table>
- <tr><td><br/><b>Result:</b></td><td></td></tr>
- <tr>
- <td class="tableSingleBorder tableCellCentered tableCellBackgroundRedDark"><b>123</b></td>
- <td>The Autotest resulted a <b>blocking failure</b> in this Build (significant Autotest in blocking Configuration)</td>
- </tr>
- <tr>
- <td class="tableSingleBorder tableCellCentered tableCellBackgroundRed">123</td>
- <td>The Autotest resulted a <b>significant failure</b> in this Build (significant Autotest in insignificant Configuration; regardless of the Build result)</td>
- </tr>
- <tr>
- <td class="tableSingleBorder tableCellCentered tableCellBackgroundRedLight">123</td>
- <td>The Autotest resulted an <b>insignificant failure</b> in this Build (insignificant Autotest; regardless of the Build result)</td>
- </tr>
- <tr>
- <td class="tableSingleBorder tableCellCentered tableCellBackgroundGreen">123</td>
- <td>The Autotest <b>passed</b> in this Build (regardless of the Build result)</td>
- </tr>
- <tr>
- <td class="tableSingleBorder tableCellCentered">123</td>
- <td>Autotest result is <b>not available</b></td>
- </tr>
- <tr><td><br/><b>Timescale:</b></td><td></td></tr>
- <tr>
- <td class="tableSingleBorder tableCellCentered"><a href="#">link</a></td>
- <td>The related Build was done <b>within</b> the filtered Timescale, or Timescale not filtered; <br/>the link opens the related Build log file; for any Autotest result</td>
- </tr>
- <tr>
- <td class="tableSingleBorder tableCellCentered fontColorGrey">grey</td>
- <td>The related Build was done <b>before</b> the filtered Timescale; for any Autotest result</td>
- </tr>
- </table>
- <!-- End of message -->
-
- <br><br>
- <button type="button" onclick="window.open('', '_self', ''); window.close();">Close</button>
- <br><br>
-
- </body>
-</html>
diff --git a/non-puppet/qtmetrics/ci/msgfailuredescription.html b/non-puppet/qtmetrics/ci/msgfailuredescription.html
deleted file mode 100644
index 30108bb..0000000
--- a/non-puppet/qtmetrics/ci/msgfailuredescription.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <link rel="stylesheet" type="text/css" href="../styles.css" />
- <link rel="shortcut icon" href="../images/favicon.ico" type="image/x-icon" />
- <title>Qt Metrics Information</title>
- </head>
-
- <body class="messageWindow">
- <img src="../images/info.png" alt="info"><br><br>
-
- <!-- The message or content to be shown on new window -->
- <p><b><u>FAILURE CATEGORY DESCRIPTION:</u></b></p>
- <br>
- <table>
- <tr><td class="tableCellBackgroundRedDark"><b>1) Failed Significant Autotests in Blocking CI Configurations</b></td></tr>
- <tr><td><br></td></tr>
- <tr><td><b>Description:</b> This Autotest fails and therefore blocks the CI Configuration build.</td></tr>
- <tr><td><br></td></tr>
- <tr><td><b>Corrective action:</b> These Autotests or code under test should be fixed to make CI more stable and to improve CI throughput.</td></tr>
- <tr><td><br></td></tr>
- <tr><td class="tableCellBackgroundRed"><b>2) Failed Significant Autotests in Insignificant CI Configurations</b></td></tr>
- <tr><td><br></td></tr>
- <tr><td><b>Description:</b> This Autotest fails but does not block the CI Configuration build because the CI Configuration is set insignificant
- (possibly failing Autotests will not result to build failure).</td></tr>
- <tr><td><br></td></tr>
- <tr><td><b>Corrective action:</b> These Autotests or code under test should be fixed; or the failed Autotests should be marked individually
- insignificant for relevant configurations to be able to improve CI coverage.</td></tr>
- <tr><td><br></td></tr>
- <tr><td class="tableCellBackgroundRedLight"><b>3) Failed Insignificant Autotests in Blocking CI Configurations</b></td></tr>
- <tr><td><br></td></tr>
- <tr><td><b>Description:</b> This Autotest fails but, because it is set insignificant, this will not block the CI Configuration build.</td></tr>
- <tr><td><br></td></tr>
- <tr><td><b>Corrective action:</b> These Autotests or code under test should be fixed to improve CI coverage.</td></tr>
- <tr><td><br></td></tr>
- <tr><td class="tableCellBackgroundRedLight"><b>4) Failed Insignificant Autotests in Insignificant CI Configurations</b></td></tr>
- <tr><td><br></td></tr>
- <tr><td><b>Description:</b> This Autotest fails but, because both the Autotest and the CI Configuration are set insignificant,
- this will not block the CI Configuration build.</td></tr>
- <tr><td><br></td></tr>
- <tr><td><b>Corrective action:</b> You should first aim to make the CI configuration blocking by fixing 2) and then 3).</td></tr>
- </table>
- <!-- End of message -->
-
- <br><br>
- <button type="button" onclick="window.open('', '_self', ''); window.close();">Close</button>
- <br><br>
-
- </body>
-</html>
diff --git a/non-puppet/qtmetrics/ci/msgprojectdashboardlevel1.html b/non-puppet/qtmetrics/ci/msgprojectdashboardlevel1.html
deleted file mode 100644
index 21a66b6..0000000
--- a/non-puppet/qtmetrics/ci/msgprojectdashboardlevel1.html
+++ /dev/null
@@ -1,94 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <link rel="stylesheet" type="text/css" href="../styles.css" />
- <link rel="shortcut icon" href="../images/favicon.ico" type="image/x-icon" />
- <title>Qt Metrics Information</title>
- </head>
-
- <body class="messageWindow">
- <img src="../images/info.png" alt="info"><br><br>
-
- <!-- The message or content to be shown on new window -->
- <p><b><u>PROJECT DASHBOARD DESCRIPTION:</u></b></p>
- <p><b>Level 1: Show list of Projects</b></p>
- <table>
- <tr>
- <th class="tableCellAlignLeft">GENERAL</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Purpose</th>
- <td class="tableSingleBorder">Improve Continuous Integration (CI) stability, throughput and coverage by fixing Autotests and Configuration builds</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Question</th>
- <td class="tableSingleBorder">Which Project builds are failing recently and most often, and how Autotest and Configuration build settings (force success, significance) affect to results</td>
- </tr>
- <tr><td>&nbsp;</td><td></td></tr>
- <tr>
- <th class="tableCellAlignLeft">METRIC</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Filters</th>
- <td class="tableSingleBorder">Project, Branch, Platform, Configuration, Timescale</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Indicator</th>
- <td class="tableSingleBorder">List of Projects (in alphabetic order) with result, Autotest and Configuration information</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Calculation</th>
- <td class="tableSingleBorder"><b>In latest build:</b> Showing ID, result and date of build,
- the count and ratio of failed Autotests (by their significance tagging) with the number of reruns,
- and the count of Configurations (by their force success and significance tagging compared to total) for each Project<br>
- <b>In all builds:</b> Showing the count and ratio of failed and successful builds compared to total for each Project.
- Calculated either based on all data in the database or according to the Timescale filter i.e. based on the builds done after the selected date.
- </td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Interpretation</th>
- <td class="tableSingleBorder"><b>In latest build:</b> Higher count, ratio or number of reruns of failed Autotests indicates a need for analysis, regardless of the build result.
- Higher count of tagged (force success, insignificant) Configurations indicates a need for analysis, especially in case of failed build.<br>
- <b>In all builds:</b> High ratio of failed builds compared to successful builds indicates a need for analysis.
- <i>Note: The ratio may not be an ideal measure when the total count of builds is low.</i>
- </td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Target value</th>
- <td class="tableSingleBorder">Successful builds with not any failed Autotests and with not any tagged (force success, insignificant) Configurations</td>
- </tr>
- <tr><td>&nbsp;</td><td></td></tr>
- <tr>
- <th class="tableCellAlignLeft">DATA</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data items</th>
- <td class="tableSingleBorder"><b>Project:</b> e.g. QtBase_stable_Integration; Project filter uses the name part "QtBase" and Branch filter uses the branch part "stable"<br>
- <b>Build number:</b> several per Project (numeric 1 to n; number is Project specific)<br>
- <b>Build result:</b> SUCCESS/FAILURE<br>
- <b>Build date:</b> date when build started<br>
- <b>Autotest significance:</b> number of failed Autotests with tagging Significant (failure leads to build failure, unless the Configuration set insignificant) / Insignificant (failure does not lead to build failure)<br>
- <b>Autotest runs:</b> number of times the Autotest was run in a build (more than one means it was rerun to see if it is flaky)<br>
- <b>Configuration:</b> several per Project Build (e.g. linux-g++-32_Ubuntu_10.04_x86); Platform filter uses predefined searches to the Configuration name<br>
- <b>Configuration force success:</b> number of tagged Configurations (if tagged as "force success" the Configuration build is forced to succeed, so that it will not block the whole Project build; this is e.g. in case of a new or immature Configuration when it is not reasonable to let the whole Project build fail because of this specific Configuration)<br>
- <b>Configuration insignificant:</b> number of tagged Configurations (if tagged as "insignificant" the Configuration build will not fail even though some significant Autotests would fail)<br>
- </td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data source</th>
- <td class="tableSingleBorder">Data in SQL database from log files in http://testresults.qt.io/ci/</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data update cycle</th>
- <td class="tableSingleBorder">New builds are updated to database in real time</td>
- </tr>
- </table>
- <!-- End of message -->
-
- <br><br>
- <button type="button" onclick="window.open('', '_self', ''); window.close();">Close</button>
- <br><br>
-
- </body>
-</html> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/ci/msgprojectdashboardlevel2.html b/non-puppet/qtmetrics/ci/msgprojectdashboardlevel2.html
deleted file mode 100644
index bce0469..0000000
--- a/non-puppet/qtmetrics/ci/msgprojectdashboardlevel2.html
+++ /dev/null
@@ -1,111 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <link rel="stylesheet" type="text/css" href="../styles.css" />
- <link rel="shortcut icon" href="../images/favicon.ico" type="image/x-icon" />
- <title>Qt Metrics Information</title>
- </head>
-
- <body class="messageWindow">
- <img src="../images/info.png" alt="info"><br><br>
-
- <!-- The message or content to be shown on new window -->
- <p><b><u>PROJECT DASHBOARD DESCRIPTION:</u></b></p>
- <p><b>Level 2: Show Project build information</b></p>
- <table>
- <tr>
- <th class="tableCellAlignLeft">GENERAL</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Purpose</th>
- <td class="tableSingleBorder">Improve Continuous Integration (CI) stability, throughput and coverage by fixing Autotests and Configuration builds</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Question</th>
- <td class="tableSingleBorder">Is the Project build constantly failing, and how Autotest and Configuration build settings (force success, significance) affect to results.<br>
- How long do the Builds take to execute, and are the different Configurations run effectively in parallel.</td>
- </tr>
- <tr><td>&nbsp;</td><td></td></tr>
- <tr>
- <th class="tableCellAlignLeft">METRIC</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Filters</th>
- <td class="tableSingleBorder">Project, Platform, Configuration, Timescale</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Indicator</th>
- <td class="tableSingleBorder">Project build information, build history, list of Configuration builds, and list of failed Autotests that caused build failure (significant Autotests in blocking Configurations)</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Calculation</th>
- <td class="tableSingleBorder"><b>Build information:</b> Showing data for the build (no calculation)<br>
- <b>Build history:</b> Showing a few last Project builds with date, result and link to source build results directory (no calculation).
- By default, the latest Build data is shown, but any listed Build can be selected by clicking the build number.
- The Timescale filtered and/or the Build selected is indicated.<br>
- <b>Configurations:</b> Showing the Configuration build result and tagging (force success, significance),
- the count and ratio of failed Autotests by significance with the number of reruns for the latest build,
- and the count and ratio of failed and successful builds compared to total for each Configuration
- (either based on all data in the database or according to the Timescale filter i.e. based on the builds done after the selected date).<br>
- <i>Note: The sum of failed and successful builds may not match with the total because, in case some already running Configuration build fails, the possibly waiting builds are cancelled (seen with result "undef" in the list).</i><br>
- <b>Build phases:</b> Showing the Configuration build execution by phases in the order of execution from their start time to end time.<br>
- <b>Failed Autotests:</b> Showing the list of failed significant Autotests in blocking Configurations i.e. the ones that caused the Project build failure (combined list of related failed Autotests from each Configuration build).
- </td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Interpretation</th>
- <td class="tableSingleBorder"><b>Build information:</b> Note that the build duration may show 00:00:00 for failed builds<br>
- <b>Build history:</b> Successive failures or sudden failure after successive successful builds indicate a need for analysis<br>
- <b>Configurations:</b> Builds with force success tagging should be understood.
- Builds with insignificant tagging should be analyzed, especially if there are several failed significant Autotests.
- High count, ratio or number of reruns of failed Autotests indicates a need for analysis.
- High ratio of failed builds compared to successful builds indicates a need for analysis.
- <i>Note: The ratio may not be an ideal measure when the total count of builds is low.</i><br>
- <i>Tip: The Autotest dashboard can be utilized here in parallel with the Project dashboard.</i><br>
- <b>Build phases:</b> The shorter time the better. The less idle time before starting or between the phases the better.<br>
- <b>Failed Autotests:</b> The failed Autotests that caused build failure should be analyzed.<br>
- <i>Tip: The Autotest dashboard can be utilized here in parallel with the Project dashboard.</i>
- </td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Target value</th>
- <td class="tableSingleBorder">Successful builds with not any failed Autotests and with not any tagged (force success, insignificant) Configurations</td>
- </tr>
- <tr><td>&nbsp;</td><td></td></tr>
- <tr>
- <th class="tableCellAlignLeft">DATA</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data items</th>
- <td class="tableSingleBorder"><b>Project:</b> e.g. QtBase_stable_Integration; Project filter uses the name part "QtBase" and Branch filter uses the branch part "stable"<br>
- <b>Build number:</b> several per Project (numeric 1 to n; number is Project specific)<br>
- <b>Build result:</b> SUCCESS/FAILURE/undef ("undef" means the build was cancelled before it was even started because some other Configuration build failed and caused the whole Project build failure)<br>
- <b>Build date:</b> date and time when build started<br>
- <b>Build duration:</b> build duration in hh:mm:ss (may show 00:00:00 for failed builds)<br>
- <b>Build phases:</b> phase name, start timestamp and end timestamp<br>
- <b>Configuration:</b> several per Project Build (e.g. linux-g++-32_Ubuntu_10.04_x86); Platform filter uses predefined searches to the Configuration name<br>
- <b>Configuration force success:</b> Yes/- (if tagged as "force success" the Configuration build is forced to succeed, so that it will not block the whole Project build; this is e.g. in case of a new or immature Configuration when it is not reasonable to let the whole Project build fail because of this specific Configuration)<br>
- <b>Configuration insignificant:</b> Yes/- (if tagged as "insignificant" the Configuration build will not fail even though some significant Autotests would fail)<br>
- <b>Autotest name:</b> several per Configuration (e.g. tst_qftp)<br>
- <b>Autotest significance:</b> number of failed Autotests with tagging Significant (failure leads to build failure, unless the Configuration set insignificant) / Insignificant (failure does not lead to build failure)<br>
- <b>Autotest runs:</b> number of times the Autotest was run in a build (more than one means it was rerun to see if it is flaky)
- </td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data source</th>
- <td class="tableSingleBorder">Data in SQL database from log files in http://testresults.qt.io/ci/</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data update cycle</th>
- <td class="tableSingleBorder">New builds are updated to database in real time</td>
- </tr>
- </table>
- <!-- End of message -->
-
- <br><br>
- <button type="button" onclick="window.open('', '_self', ''); window.close();">Close</button>
- <br><br>
-
- </body>
-</html> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/ci/msgprojectdashboardlevel3.html b/non-puppet/qtmetrics/ci/msgprojectdashboardlevel3.html
deleted file mode 100644
index 7413a32..0000000
--- a/non-puppet/qtmetrics/ci/msgprojectdashboardlevel3.html
+++ /dev/null
@@ -1,95 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <link rel="stylesheet" type="text/css" href="../styles.css" />
- <link rel="shortcut icon" href="../images/favicon.ico" type="image/x-icon" />
- <title>Qt Metrics Information</title>
- </head>
-
- <body class="messageWindow">
- <img src="../images/info.png" alt="info"><br><br>
-
- <!-- The message or content to be shown on new window -->
- <p><b><u>PROJECT DASHBOARD DESCRIPTION:</u></b></p>
- <p><b>Level 3: Show Configuration build information</b></p>
- <table>
- <tr>
- <th class="tableCellAlignLeft">GENERAL</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Purpose</th>
- <td class="tableSingleBorder">Improve Continuous Integration (CI) stability, throughput and coverage by fixing Autotests and Configuration builds</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Question</th>
- <td class="tableSingleBorder">Is the Configuration build constantly failing, and how Autotest and Configuration build settings (force success, significance) affect to results</td>
- </tr>
- <tr><td>&nbsp;</td><td></td></tr>
- <tr>
- <th class="tableCellAlignLeft">METRIC</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Filters</th>
- <td class="tableSingleBorder">Project, Configuration</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Indicator</th>
- <td class="tableSingleBorder">Configuration build information, build history, and list of failed Autotests that caused build failure (significant Autotests in blocking Configurations)</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Calculation</th>
- <td class="tableSingleBorder"><b>Build information:</b> Showing data for the build (no calculation)<br>
- <b>Build history:</b> Showing a few last Configuration builds with date, result and link to source build results directory (no calculation).
- By default, the latest Build data is shown, but any listed Build can be selected by clicking the build number.
- The Timescale filtered and/or the Build selected is indicated.<br>
- <b>Failed Autotests:</b> Showing the list of failed significant Autotests if Configuration is not tagged as insignificant i.e. the ones that caused the Configuration build failure.
- </td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Interpretation</th>
- <td class="tableSingleBorder"><b>Build information:</b> Note that the build duration may show 00:00:00 for failed builds<br>
- <b>Build history:</b> Successive failures or sudden failure after successive successful builds indicate a need for analysis<br>
- <b>Failed Autotests:</b> The failed Autotests that caused build failure should be analyzed.<br>
- <i>Note that the Autotest dashboard can be utilized here in parallel with the Project dashboard.</i>
- </td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Target value</th>
- <td class="tableSingleBorder">Successful builds with not any failed Autotests</td>
- </tr>
- <tr><td>&nbsp;</td><td></td></tr>
- <tr>
- <th class="tableCellAlignLeft">DATA</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data items</th>
- <td class="tableSingleBorder"><b>Project:</b> e.g. QtBase_stable_Integration<br>
- <b>Configuration:</b> several per Project Build (e.g. linux-g++-32_Ubuntu_10.04_x86)<br>
- <b>Build number:</b> several per Project (numeric 1 to n; number is Project specific)<br>
- <b>Build result:</b> SUCCESS/FAILURE/ABORTED/undef ("undef" means the build was cancelled before it was even started because some other Configuration build failed and caused the whole Project build failure)<br>
- <b>Build date:</b> date and time when build started<br>
- <b>Build duration:</b> build duration in hh:mm:ss (may show 00:00:00 for failed builds)<br>
- <b>Force success:</b> Yes/- (if tagged as "force success" the Configuration build is forced to succeed, so that it will not block the whole Project build; this is e.g. in case of a new or immature Configuration when it is not reasonable to let the whole Project build fail because of this specific Configuration)<br>
- <b>Insignificant:</b> Yes/- (if tagged as "insignificant" the Configuration build will not fail even though some significant Autotests would fail)<br>
- <b>Autotest name:</b> several per Configuration (e.g. tst_qftp)<br>
- <b>Autotest significance:</b> Significant (failure leads to build failure, unless the Configuration set insignificant) / Insignificant (failure does not lead to build failure)
- </td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data source</th>
- <td class="tableSingleBorder">Data in SQL database from log files in http://testresults.qt.io/ci/</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data update cycle</th>
- <td class="tableSingleBorder">New builds are updated to database in real time</td>
- </tr>
- </table>
- <!-- End of message -->
-
- <br><br>
- <button type="button" onclick="window.open('', '_self', ''); window.close();">Close</button>
- <br><br>
-
- </body>
-</html>
diff --git a/non-puppet/qtmetrics/ci/showautotestdashboard.php b/non-puppet/qtmetrics/ci/showautotestdashboard.php
deleted file mode 100644
index 74c73ce..0000000
--- a/non-puppet/qtmetrics/ci/showautotestdashboard.php
+++ /dev/null
@@ -1,2259 +0,0 @@
-<?php
-session_start();
-?>
-
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-include "definitions.php";
-include "functions.php";
-include(__DIR__.'/../commonfunctions.php');
-include "metricsboxdefinitions.php";
-
-/* The structure of array $arrayTestcaseConfs */
-define("FAILINGTESTCASECONFNAME", 0);
-define("FAILINGTESTCASECONFFAILED", 1);
-define("FAILINGTESTCASECONFALL", 2);
-
-/* Set the minimum build number to be checked for a project to optimize the performance (by default only to check the latest CITESTRESULTBUILDCOUNT builds)
- Input: $latestBuildNumber (integer) Latest build number in the project
- $minBuildNumberInDatabase (integer) The first build number that is available in the database
- $timescaleType (string) The timescale filter
- Return: (integer) The lowest build number to be checked
-*/
-function setMinBuildNumberToCheck($latestBuildNumber, $minBuildNumberInDatabase, $timescaleType)
-{
- if (($latestBuildNumber - $minBuildNumberInDatabase) > CITESTRESULTBUILDCOUNT) // Read only CITESTRESULTBUILDCOUNT latest builds
- $minBuildNumber = $latestBuildNumber - CITESTRESULTBUILDCOUNT + 1;
- else // ... or the first that is available in the database
- $minBuildNumber = $minBuildNumberInDatabase;
- if ($timescaleType <> "All") // ... but if timescale filter used, use that instead
- $minBuildNumber = $minBuildNumberInDatabase;
- return $minBuildNumber;
-}
-
-/* Set pop-up message to help understanding the shown build scope, and to guide how to change the scope
- Input: $timescaleType (string) The timescale filter
- $timescaleValue (date) The timescale date filter
- Return: (string) Pop-up message
-*/
-function setSeeMoreNote($timescaleType, $timescaleValue)
-{
- $seeMoreNote = '&nbsp;&nbsp;&nbsp;&raquo; <span class="popupMessage">see more'
- . '<span><b>How to see more builds:</b><br>';
- if ($timescaleType == "All") {
- $seeMoreNote = $seeMoreNote . 'By default the list below includes results checked from the latest ';
- if (CITESTRESULTBUILDCOUNT == 1)
- $seeMoreNote = $seeMoreNote . 'or selected build for clarity and to optimize the performance.';
- else
- $seeMoreNote = $seeMoreNote . CITESTRESULTBUILDCOUNT . ' builds to optimize the performance.';
- } else {
- $seeMoreNote = $seeMoreNote . 'The list below includes the results checked from the builds since '
- . $timescaleValue . '.';
- }
- $seeMoreNote = $seeMoreNote . ' You can include more builds with the timescale filter in the filter box on the top of the page.';
- if ($timescaleType <> "All")
- $seeMoreNote = $seeMoreNote . ' To show only the latest or selected build please clear the timescale filter.';
- $seeMoreNote = $seeMoreNote . '</span></span> &raquo;';
- return $seeMoreNote;
-}
-
-/* Scan the test result directory for test result zip files and their xml result files
- Input: $testResultDirectory (string) Full path to the test result directory (containing the project directories)
- $project (string) Project name filtered as in the test result directory and database
- $buildCheckType (const) CHECKBUILDSINCE to check all builds since $buildNumber, CHECKBUILDONE to check only the $buildNumber
- $buildNumber (integer) Minimum build number to be checked
- $conf (string) Configuration name filtered
- $booCheckTestcases (boolean) TRUE to open the test result files in the zip file and check the test cases, FALSE just to scan the test result file names in the zip
- $arrayFailingAutotestNames (array) List of autotest names as in the test result directory and database
- Output: $arrayFailingAutotestAllBuilds (array) The count of builds (in all project configurations and in all builds within the timescale) of each autotest
- The following used only when $booCheckTestcases == TRUE:
- $arrayTestcaseNames (array) The names for test cases (all included)
- $arrayTestcaseFailed (array) The count of fails in different project configuration builds for each test case
- $arrayTestcaseAll (array) The count of different project configuration builds for each test case
- $arrayTestcaseConfs (array of arrays) The names, and failed and total count of builds of each configuration for each test case
- $failingTestcaseCount (integer) The total number of failed test cases in all project configuration builds
- $testcaseCount (integer) The total number of test cases in all project configuration builds (any result)
- $arrayInvalidTestResultFiles (array) List of test results files that couldn't be opened
- Return: (integer) The lowest build where the test result xml files are available, or MAXCIBUILDNUMBER if not any found
- (Note: The zip file may be empty -> save the data only if xml files found from the zip)
-*/
-define("CHECKBUILDSINCE", 0);
-define("CHECKBUILDONE", 1);
-function readProjectTestResultDirectory(
- $testResultDirectory, $project, $buildCheckType, $buildNumber, $conf, $booCheckTestcases, $arrayFailingAutotestNames,
- &$arrayFailingAutotestAllBuilds,
- &$arrayTestcaseNames, &$arrayTestcaseFailed, &$arrayTestcaseAll, &$arrayTestcaseConfs,
- &$failingTestcaseCount, &$testcaseCount, &$arrayInvalidTestResultFiles)
-{
- $arrayFailingTestcaseConfNames = array();
- /* Count the number of autotests */
- $autotestCount = count($arrayFailingAutotestNames);
- /* Check Project directory (structure is e.g. "QtBase_stable_Integration/build_03681/macx-ios-clang_OSX_10.8" */
- $projectTestResultDirectory = $testResultDirectory . $project;
- $minBuildNumberWithTestResults = MAXCIBUILDNUMBER; // For saving the first build where test result xml files are available
- $booTestResultDirectory = FALSE;
- $arrayAllTestcaseNames = array();
- if (file_exists($projectTestResultDirectory)) {
- $booTestResultDirectory = TRUE;
- $directories = new RecursiveIteratorIterator(
- new ParentIterator(
- new RecursiveDirectoryIterator($projectTestResultDirectory)),
- RecursiveIteratorIterator::SELF_FIRST);
- /* Check each build directory */
- foreach ($directories as $directory) { // Check each CI project build history (e.g. "build_00220", "build_00219", "build_00218")
- $dirName = substr($directory, strpos($directory, $project) + strlen($project) + 1); // Cut to e.g. "build_03681/macx-ios-clang_OSX_10.8"
- $buildNumberDirName = CIBUILDDIRECTORYPREFIX . createBuildNumberString($buildNumber); // Convert "220" -> "build_00220"
- if (strlen($dirName) == strlen($buildNumberDirName))
- continue; // Skip the main build directory (to check only the configuration directories under it)
- if ($buildCheckType == CHECKBUILDSINCE) { // Check builds since the requested build ...
- if (strpos($dirName, CIBUILDDIRECTORYPREFIX) === 0 AND $dirName < $buildNumberDirName)
- continue; // Skip to next directory if not inside the build scope (calculated from time scope)
- } else { // ... or the requested build only
- if (strpos($dirName, CIBUILDDIRECTORYPREFIX) === 0 AND strpos($dirName, $buildNumberDirName) === FALSE)
- continue; // Skip to next directory if not the requested build
- }
- /* Continue if build belongs to the time scale */
- $handle = opendir($directory);
- while (($entry = readdir($handle)) !== FALSE) { // Check the results in zip file
- if ($entry == "." || $entry == "..")
- continue;
- $configuration = substr($dirName, strlen($buildNumberDirName) + 1); // Cut to e.g. "macx-ios-clang_OSX_10.8"
- if ($conf <> "All" AND !checkStringMatch($configuration, $conf)) // Skip if not the filtered configuration
- continue;
- $dirNumber = (int)substr($dirName, strlen(CIBUILDDIRECTORYPREFIX), strlen(strval(MAXCIBUILDNUMBER))); // Cut to e.g. "3681"
- if (!in_array($configuration, $arrayFailingTestcaseConfNames)) // If configuration name not listed yet ...
- $arrayFailingTestcaseConfNames[] = $configuration; // ... save it
- $filePath = $directory . '/' . $entry;
- if ($entry == CITESTRESULTSFILE AND is_file($filePath)) {
- $zip = zip_open($filePath);
- /* Check if the autotest has been run for this build */
- while ($zip_entry = zip_read($zip)) { // Check all tst_* xml files in the zip
- $xmlFilePath = zip_entry_name($zip_entry);
- $xmlFile = basename(zip_entry_name($zip_entry));
- for ($k=0; $k<$autotestCount; $k++) { // Loop all failed autotest (Note: The ones that have always passed are excluded)
- $zipTestFileNameIdentifiers = explode(";",ZIPTESTFILENAMEIDENTIFIERS);
- $booTestFileNameMatch = FALSE;
- foreach ($zipTestFileNameIdentifiers as $identifier) { // Check each identified string for a test file name
- if (strpos($xmlFile, $arrayFailingAutotestNames[$k] . $identifier) === 0)
- $booTestFileNameMatch = TRUE;
- }
- if ($booTestFileNameMatch) { // Find the match from the list of failed autotests
- $arrayFailingAutotestAllBuilds[$k]++; // Increase the count for related autotest
- if ($minBuildNumberWithTestResults > $dirNumber)
- $minBuildNumberWithTestResults = $dirNumber; // Save the lowest build where test result xml files are available
- // (Note: The zip file may be empty -> save only if xml files found from the zip)
-
- /* Open the test result xml files to read the test case results ($booCheckTestcases == TRUE) */
- if ($booCheckTestcases) {
- if (!zip_entry_open($zip, $zip_entry))
- die('cannot open zip!');
- $xmlResultFile = 'zip://' . $filePath . '#' . $xmlFilePath;
- if (!($resultFile = simplexml_load_file($xmlResultFile))) { // Collect the invalid test result files that couldn't be opened
- $arrayInvalidTestResultFiles[] = substr($xmlResultFile, strpos($xmlResultFile, $project));
- } else {
- foreach ($resultFile->children() as $testCase) {
- if ($testCase->getName() == "TestFunction") { // e.g. <TestFunction name="initTestCase">
- foreach ($testCase->children() as $result) {
- if ($result->getName() == "Incident") { // e.g. <Incident type="pass" file="" line="0" /> (inside the TestFunction)
- $testTag = "";
- // Detailed test name can be in the DataTag, e.g. <TestFunction name="test_qBinaryFind">
- // <Incident type="pass" file="" line="0">
- // <DataTag><![CDATA[sorted-duplicate]]></DataTag>
- // </Incident>
- // <Incident ...
- foreach ($result->DataTag as $tag) {
- if ($tag <> "")
- $testTag = '[' . $tag . ']';
- }
- $testcaseFullName = $testCase['name'] . $testTag; // e.g. test_qBinaryFind[sorted-duplicate]
- /* Find the configuration (the configuration is always available in the $arrayFailingTestcaseConfNames) */
- foreach ($arrayFailingTestcaseConfNames as $key => $confName) {
- if ($confName == $configuration)
- $confId = $key;
- }
- /* Save testcase data */
- $arrayAllTestcaseNames[] = $testcaseFullName; // Collect all test cases (duplicate names cleared at the end)
- if (!in_array($testcaseFullName, $arrayTestcaseNames)) { // If not yet listed ...
- $arrayTestcaseNames[] = $testcaseFullName; // Testcase name
- $testcaseConfData = array(array());
- $testcaseConfData[$confId][FAILINGTESTCASECONFNAME]
- = $arrayFailingTestcaseConfNames[$confId]; // Configuration name for the testcase
- if ($result['type'] == "fail" OR $result['type'] == "xpass") { // The xpass is considered a fail in the test system
- $arrayTestcaseFailed[]++; // Count the number of fails
- $arrayTestcaseAll[]++; // Count all (any result)
- $testcaseConfData[$confId][FAILINGTESTCASECONFFAILED]++;
- $testcaseConfData[$confId][FAILINGTESTCASECONFALL]++;
- } else { // Reserve the index for possible failures from other builds
- $arrayTestcaseFailed[] = 0;
- $arrayTestcaseAll[] = 1;
- $testcaseConfData[$confId][FAILINGTESTCASECONFFAILED] = 0;
- $testcaseConfData[$confId][FAILINGTESTCASECONFALL] = 1;
- }
- $arrayTestcaseConfs[] = $testcaseConfData; // Save configuration specific data
- } else { // ... or if already listed
- foreach ($arrayTestcaseNames as $key => $testcaseName) {
- if ($testcaseName == $testcaseFullName) {
- $arrayTestcaseConfs[$key][$confId][FAILINGTESTCASECONFNAME]
- = $arrayFailingTestcaseConfNames[$confId]; // Configuration name for the testcase
- if ($result['type'] == "fail" OR $result['type'] == "xpass") { // The xpass is considered a fail in the test system
- $arrayTestcaseFailed[$key]++; // Count the number of fails
- $arrayTestcaseAll[$key]++; // Count all (any result)
- $arrayTestcaseConfs[$key][$confId][FAILINGTESTCASECONFFAILED]++;
- $arrayTestcaseConfs[$key][$confId][FAILINGTESTCASECONFALL]++;
- } else {
- $arrayTestcaseAll[$key]++;
- $arrayTestcaseConfs[$key][$confId][FAILINGTESTCASECONFALL]++;
- }
- }
- }
- }
- }
- }
- }
- } // endif foreach as testCase
- } // endif else simplexml_load_file
- } // endif booCheckTestcases
-
- break; // Match found, break to next file in zip
- }
- }
- }
- zip_close($zip);
- }
- clearstatcache();
- }
- closedir($handle);
- } // endif foreach as directory
-
- /* Calculate/arrange return data */
- $arrayAllTestcaseNames = array_unique($arrayAllTestcaseNames);
- $testcaseCount = count($arrayTestcaseNames);
- foreach ($arrayTestcaseNames as $key => $testcaseName) {
- if ($arrayTestcaseFailed[$key] > 0)
- $failingTestcaseCount++;
- }
- sort($arrayInvalidTestResultFiles);
-
- } // endif file_exists()
- return $minBuildNumberWithTestResults;
-}
-
-/************************************************************/
-/* START */
-/************************************************************/
-
-$timeStart = microtime(true);
-
-/* Get the input parameters */
-$round = $_GET["round"];
-$arrayFilters = array();
-$arrayFilter = array();
-$filters = $_GET["filters"];
-$filters = rawurldecode($filters); // Decode the encoded parameter (encoding in ajaxrequest.js)
-$arrayFilters = explode(FILTERSEPARATOR, $filters);
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERPROJECT]);
-$project = $arrayFilter[1];
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERCIPROJECT]);
-$ciProject = $arrayFilter[1];
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERCIBRANCH]);
-$ciBranch = $arrayFilter[1];
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERCIPLATFORM]);
-$ciPlatform = $arrayFilter[1];
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERCONF]);
-$conf = $arrayFilter[1];
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERAUTOTEST]);
-$autotest = $arrayFilter[1];
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERBUILD]);
-$build = $arrayFilter[1];
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERTIMESCALETYPE]);
-$timescaleType = $arrayFilter[1];
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERTIMESCALEVALUE]);
-$timescaleValue = $arrayFilter[1];
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERSORTBY]);
-$sortBy = $arrayFilter[1];
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERSHOWALL]);
-$showAll = $arrayFilter[1];
-
-/* Sort field definitions */
-define("AUTOTESTSORTBYNOTSET", 0);
-define("AUTOTESTSORTBYSIGNAUTOTESTBLOCKINGCONF", 1);
-define("AUTOTESTSORTBYSIGNAUTOTESTINSIGNCONF", 2);
-define("AUTOTESTSORTBYINSIGNAUTOTESTBLOCKINGCONF", 3);
-define("AUTOTESTSORTBYINSIGNAUTOTESTINSIGNGCONF", 4);
-define("AUTOTESTSORTBYAUTOTESTFAILEDPERCENTAGE", 5);
-
-/* Connect to the server */
-require(__DIR__.'/../connect.php');
-$timeConnect = microtime(true);
-include(__DIR__.'/../commondefinitions.php');
-
-/* Select database */
-if ($useMysqli) {
- // Selected in mysqli_connect() call
-} else {
- $selectdb="USE $db";
- $result = mysql_query($selectdb) or die ("Failure: Unable to use the database !");
-}
-
-/* Platform filter definitions */
-if ($ciPlatform == "All")
- $ciPlatform = 0;
-$ciPlatform = (int)$ciPlatform;
-$ciPlatformName = $arrayPlatform[$ciPlatform][0];
-$ciPlatformFilter = $arrayPlatform[$ciPlatform][1];
-$ciPlatformFilterSql = str_replace('*', '%', $arrayPlatform[$ciPlatform][1]); // Change the format for MySQL (wildcard '*' -> '%')
-
-/* Check the the latest/selected build number for the Project */
-$buildNumber = MAXCIBUILDNUMBER;
-if ($project <> "All") {
- foreach ($_SESSION['arrayProjectName'] as $projectKey => $projectValue) {
- if ($project == $projectValue)
- $latestBuildNumber = $_SESSION['arrayProjectBuildLatest'][$projectKey];
- $minBuildNumberWithTestResults = $latestBuildNumber; // Initialize, to be calculated later from test results
- }
- $buildNumber = $latestBuildNumber - $build; // Selected build
-}
-
-/*************************************************************/
-/* NESTED LEVEL 1: No autotest filtering done (default view) */
-/*************************************************************/
-
-if ($autotest == "All") {
- echo '<div class="metricsBoxHeader">';
- echo '<div class="metricsBoxHeaderIcon">';
- if ($round == 1)
- echo "<img src=\"images/ajax-loader.gif\" alt=\"loading\">&nbsp&nbsp"; // On the first round show the loading icon
- else
- echo '<a href="javascript:void(0);" class="imgLink" onclick="showMessageWindow(\'ci/msgautotestdashboardlevel1.html\')">
- <img src="images/info.png" alt="info"></a>&nbsp&nbsp';
- echo '</div>';
- echo '<div class="metricsBoxHeaderText">';
- echo '<b>AUTOTEST DASHBOARD:</b> Select Autotest';
- echo '</div>';
- echo '</div>';
-
- if (isset($_SESSION['arrayAutotestName'])) {
-
- /* Get all (failing) Autotest names and required Project data */
- $arrayFailingAutotestNames = array();
- $arrayFailingAutotestNames = $_SESSION['arrayAutotestName'];
- $autotestCount = count($arrayFailingAutotestNames);
- $arrayProjectName = $_SESSION['arrayProjectName'];
- $arrayProjectBuildLatest = $_SESSION['arrayProjectBuildLatest'];
- $arrayProjectBuildLatestTimestamp = $_SESSION['arrayProjectBuildLatestTimestamp'];
-
- /* Arrays for number and names Configurations for each Autotest in the latest/selected Build (categorised as significant/insignificant) */
- define("SIGNAUTOTESTBLOCKINGCONF", 0);
- $arrayFailingSignAutotestBlockingConfCount = array(); // Each Conf counted only once (even if in different Project)
- $arrayFailingSignAutotestBlockingConfCountTotal = array(); // Each Conf counted separately for each Project
- $arrayFailingSignAutotestBlockingConfNames = array(); // Each Conf listed only once but with count
- $arrayFailingSignAutotestBlockingConfProjects = array(); // Note: Data inserted into table format <tr><td></td><td></td></tr> without the <table></table>
- define("SIGNAUTOTESTINSIGNCONF", 1);
- $arrayFailingSignAutotestInsignConfCount = array();
- $arrayFailingSignAutotestInsignConfCountTotal = array();
- $arrayFailingSignAutotestInsignConfNames = array();
- $arrayFailingSignAutotestInsignConfProjects = array();
- define("INSIGNAUTOTESTBLOCKINGCONF", 2);
- $arrayFailingInsignAutotestBlockingConfCount = array();
- $arrayFailingInsignAutotestBlockingConfCountTotal = array();
- $arrayFailingInsignAutotestBlockingConfNames = array();
- $arrayFailingInsignAutotestBlockingConfProjects = array();
- define("INSIGNAUTOTESTINSIGNCONF", 3);
- $arrayFailingInsignAutotestInsignConfCount = array();
- $arrayFailingInsignAutotestInsignConfCountTotal = array();
- $arrayFailingInsignAutotestInsignConfNames = array();
- $arrayFailingInsignAutotestInsignConfProjects = array();
-
- /* Step 1: Read failing Autotests for the latest/selected Build (for each Project and Configuration) */
- $timeLatestStart = microtime(true);
- $maxCount = 0; // Max count of Autotests in any category (used for sorting the lists)
- $latestAutotests = 0; // Total count of Autotests in any category (used to identify if any was found)
- $projectFilter = "";
- $projectFilterLatest = "";
- $buildFilter = "";
- $confFilter = "";
- $confFilterLatest = "";
- if ($project <> "All") { // Project filtering
- $projectFilterLatest = "test_latest.project=\"$project\"";
- $projectFilter = "test.project=\"$project\"";
- $buildFilter = "AND test.build_number=$buildNumber";
- } else {
- if ($ciProject <> "All") { // Filter with Project name (starting with it)
- $projectFilterLatest = 'test_latest.project LIKE "' . $ciProject . '_%"';
- $projectFilter = 'test.project LIKE "' . $ciProject . '_%"';
- }
- if ($ciBranch <> "All") { // Filter with Project branch (in the middle)
- $projectFilterLatest = 'test_latest.project LIKE "%_' . $ciBranch . '_%"';
- $projectFilter = 'test.project LIKE "%_' . $ciBranch . '_%"';
- }
- if ($ciProject <> "All" AND $ciBranch <> "All") { // Filter with Project name and branch (starting with it)
- $projectFilterLatest = 'test_latest.project LIKE "' . $ciProject . '_' . $ciBranch . '_%"';
- $projectFilter = 'test.project LIKE "' . $ciProject . '_' . $ciBranch . '_%"';
- }
- }
- if ($ciPlatform <> 0) { // Filter with Platform
- $confFilterLatest = 'AND test_latest.cfg LIKE "' . $ciPlatformFilterSql . '"';
- $confFilter = 'AND test.cfg LIKE "' . $ciPlatformFilterSql . '"';
- }
- if ($conf <> "All") { // Filter with Conf (overwrite possible Platform filter)
- $confFilterLatest = "AND test_latest.cfg=\"$conf\"";
- $confFilter = "AND test.cfg=\"$conf\"";
- }
- if ($build == 0) // Show the latest build ...
- $sql = cleanSqlString(
- "SELECT name, test_latest.project, test_latest.insignificant, test_latest.timestamp, cfg_latest.cfg, cfg_latest.insignificant
- FROM test_latest left join cfg_latest on (test_latest.project = cfg_latest.project AND
- test_latest.cfg = cfg_latest.cfg AND
- test_latest.build_number = cfg_latest.build_number)
- WHERE $projectFilterLatest $confFilterLatest");
- else // ... or the selected build
- $sql = cleanSqlString(
- "SELECT name, test.project, test.insignificant, test.timestamp, cfg.cfg, cfg.insignificant
- FROM test left join cfg on (test.project = cfg.project AND
- test.cfg = cfg.cfg AND
- test.build_number = cfg.build_number)
- WHERE $projectFilter $buildFilter $confFilter");
- $dbColumnTestName = 0;
- $dbColumnTestProject = 1;
- $dbColumnTestInsignificant = 2;
- $dbColumnTestTimestamp = 3;
- $dbColumnCfgCfg = 4;
- $dbColumnCfgInsignificant = 5;
- $timeLatestSelectStart = microtime(true);
- if ($useMysqli) {
- $result = mysqli_query($conn, $sql);
- $numberOfRows = mysqli_num_rows($result);
- } else {
- $result = mysql_query($sql) or die (mysql_error());
- $numberOfRows = mysql_num_rows($result);
- }
- $timeLatestSelectEnd = microtime(true);
- for ($j=0; $j<$numberOfRows; $j++) { // Loop the queried Autotests
- if ($useMysqli)
- $resultRow = mysqli_fetch_row($result);
- else
- $resultRow = mysql_fetch_row($result);
- if ($project == "All" AND $timescaleType == "Since") { // When all Projects shown and Timescale filtered
- if ($resultRow[$dbColumnTestTimestamp] < $timescaleValue) { // ... and this is not within the Timescale ...
- continue; // ... skip to the next Autotest (in the for loop)
- }
- }
- if ($resultRow[$dbColumnCfgInsignificant] == 0) { // Check the Autotest failing category
- if ($resultRow[$dbColumnTestInsignificant] == 0) {
- $autotestFailureCategory = SIGNAUTOTESTBLOCKINGCONF;
- } else {
- $autotestFailureCategory = INSIGNAUTOTESTBLOCKINGCONF;
- }
- } else {
- if ($resultRow[$dbColumnTestInsignificant] == 0) {
- $autotestFailureCategory = SIGNAUTOTESTINSIGNCONF;
- } else {
- $autotestFailureCategory = INSIGNAUTOTESTINSIGNCONF;
- }
- }
- $projectValue = $resultRow[$dbColumnTestProject];
- for ($k=0; $k<$autotestCount; $k++) { // Loop all the available Autotests to collect data per one autotest
- if ($arrayFailingAutotestNames[$k] == $resultRow[$dbColumnTestName]) {
- switch ($autotestFailureCategory) {
- case SIGNAUTOTESTBLOCKINGCONF:
- $arrayFailingSignAutotestBlockingConfCountTotal[$k]++;
- if (!strpos($arrayFailingSignAutotestBlockingConfNames[$k],$resultRow[$dbColumnCfgCfg])) { // Each Conf to be listed only once
- $arrayFailingSignAutotestBlockingConfCount[$k]++;
- $latestAutotests++;
- $arrayFailingSignAutotestBlockingConfNames[$k]
- = $arrayFailingSignAutotestBlockingConfNames[$k] . '<br>' . $resultRow[$dbColumnCfgCfg];
- if ($arrayFailingSignAutotestBlockingConfCount[$k] > $maxCount)
- $maxCount = $arrayFailingSignAutotestBlockingConfCount[$k];
- } else { // Indicate if same Conf in several Projects
- $arrayFailingSignAutotestBlockingConfNames[$k] =
- str_replace($resultRow[$dbColumnCfgCfg],
- $resultRow[$dbColumnCfgCfg] . ' (several)',
- $arrayFailingSignAutotestBlockingConfNames[$k]);
- $arrayFailingSignAutotestBlockingConfNames[$k] =
- str_replace('(several) (several)', '(several)',
- $arrayFailingSignAutotestBlockingConfNames[$k]);
- }
- $arrayFailingSignAutotestBlockingConfProjects[$k]
- = $arrayFailingSignAutotestBlockingConfProjects[$k]
- . '<tr><td>' . $projectValue . '</td><td>' . $resultRow[$dbColumnCfgCfg] . '</td></tr>'; // List Projects for each Conf (i.e. one Project or Conf may appear several times)
- break;
- case SIGNAUTOTESTINSIGNCONF:
- $arrayFailingSignAutotestInsignConfCountTotal[$k]++;
- if (!strpos($arrayFailingSignAutotestInsignConfNames[$k],$resultRow[$dbColumnCfgCfg])) { // Each Conf to be listed only once
- $arrayFailingSignAutotestInsignConfCount[$k]++;
- $latestAutotests++;
- $arrayFailingSignAutotestInsignConfNames[$k]
- = $arrayFailingSignAutotestInsignConfNames[$k] . '<br>' . $resultRow[$dbColumnCfgCfg];
- if ($arrayFailingSignAutotestInsignConfCount[$k] > $maxCount)
- $maxCount = $arrayFailingSignAutotestInsignConfCount[$k];
- } else { // Indicate if same Conf in several Projects
- $arrayFailingSignAutotestInsignConfNames[$k] =
- str_replace($resultRow[$dbColumnCfgCfg],
- $resultRow[$dbColumnCfgCfg] . ' (several)',
- $arrayFailingSignAutotestInsignConfNames[$k]);
- $arrayFailingSignAutotestInsignConfNames[$k] =
- str_replace('(several) (several)', '(several)',
- $arrayFailingSignAutotestInsignConfNames[$k]);
- }
- $arrayFailingSignAutotestInsignConfProjects[$k]
- = $arrayFailingSignAutotestInsignConfProjects[$k]
- . '<tr><td>' . $projectValue . '</td><td>' . $resultRow[$dbColumnCfgCfg] . '</td></tr>'; // List Projects for each Conf (i.e. one Project or Conf may appear several times)
- break;
- case INSIGNAUTOTESTBLOCKINGCONF:
- $arrayFailingInsignAutotestBlockingConfCountTotal[$k]++;
- if (!strpos($arrayFailingInsignAutotestBlockingConfNames[$k],$resultRow[$dbColumnCfgCfg])) { // Each Conf to be listed only once
- $arrayFailingInsignAutotestBlockingConfCount[$k]++;
- $latestAutotests++;
- $arrayFailingInsignAutotestBlockingConfNames[$k]
- = $arrayFailingInsignAutotestBlockingConfNames[$k] . '<br>' . $resultRow[$dbColumnCfgCfg];
- if ($arrayFailingInsignAutotestBlockingConfCount[$k] > $maxCount)
- $maxCount = $arrayFailingInsignAutotestBlockingConfCount[$k];
- } else { // Indicate if same Conf in several Projects
- $arrayFailingInsignAutotestBlockingConfNames[$k] =
- str_replace($resultRow[$dbColumnCfgCfg],
- $resultRow[$dbColumnCfgCfg] . ' (several)',
- $arrayFailingInsignAutotestBlockingConfNames[$k]);
- $arrayFailingInsignAutotestBlockingConfNames[$k] =
- str_replace('(several) (several)', '(several)',
- $arrayFailingInsignAutotestBlockingConfNames[$k]);
- }
- $arrayFailingInsignAutotestBlockingConfProjects[$k]
- = $arrayFailingInsignAutotestBlockingConfProjects[$k]
- . '<tr><td>' . $projectValue . '</td><td>' . $resultRow[$dbColumnCfgCfg] . '</td></tr>'; // List Projects for each Conf (i.e. one Project or Conf may appear several times)
- break;
- case INSIGNAUTOTESTINSIGNCONF:
- $arrayFailingInsignAutotestInsignConfCountTotal[$k]++;
- if (!strpos($arrayFailingInsignAutotestInsignConfNames[$k],$resultRow[$dbColumnCfgCfg])) { // Each Conf to be listed only once
- $arrayFailingInsignAutotestInsignConfCount[$k]++;
- $latestAutotests++;
- $arrayFailingInsignAutotestInsignConfNames[$k]
- = $arrayFailingInsignAutotestInsignConfNames[$k] . '<br>' . $resultRow[$dbColumnCfgCfg];
- if ($arrayFailingInsignAutotestInsignConfCount[$k] > $maxCount)
- $maxCount = $arrayFailingInsignAutotestInsignConfCount[$k];
- } else { // Indicate if same Conf in several Projects
- $arrayFailingInsignAutotestInsignConfNames[$k] =
- str_replace($resultRow[$dbColumnCfgCfg],
- $resultRow[$dbColumnCfgCfg] . ' (several)',
- $arrayFailingInsignAutotestInsignConfNames[$k]);
- $arrayFailingInsignAutotestInsignConfNames[$k] =
- str_replace('(several) (several)', '(several)',
- $arrayFailingInsignAutotestInsignConfNames[$k]);
- }
- $arrayFailingInsignAutotestInsignConfProjects[$k]
- = $arrayFailingInsignAutotestInsignConfProjects[$k]
- . '<tr><td>' . $projectValue . '</td><td>' . $resultRow[$dbColumnCfgCfg] . '</td></tr>'; // List Projects for each Conf (i.e. one Project or Conf may appear several times)
- break;
- }
- break; // Match found, skip the rest
- }
- } // Endfor all available Autotests
- } // Endfor queried Autotests
-
- /* Save data to session variables to be able to use them in nested level 2 below */
- $_SESSION['arrayFailingSignAutotestBlockingConfCount'] = $arrayFailingSignAutotestBlockingConfCount;
- $_SESSION['arrayFailingSignAutotestBlockingConfCountTotal'] = $arrayFailingSignAutotestBlockingConfCountTotal;
- $_SESSION['arrayFailingSignAutotestBlockingConfNames'] = $arrayFailingSignAutotestBlockingConfNames;
- $_SESSION['arrayFailingSignAutotestBlockingConfProjects'] = $arrayFailingSignAutotestBlockingConfProjects;
- $_SESSION['arrayFailingSignAutotestInsignConfCount'] = $arrayFailingSignAutotestInsignConfCount;
- $_SESSION['arrayFailingSignAutotestInsignConfCountTotal'] = $arrayFailingSignAutotestInsignConfCountTotal;
- $_SESSION['arrayFailingSignAutotestInsignConfNames'] = $arrayFailingSignAutotestInsignConfNames;
- $_SESSION['arrayFailingSignAutotestInsignConfProjects'] = $arrayFailingSignAutotestInsignConfProjects;
- $_SESSION['arrayFailingInsignAutotestBlockingConfCount'] = $arrayFailingInsignAutotestBlockingConfCount;
- $_SESSION['arrayFailingInsignAutotestBlockingConfCountTotal'] = $arrayFailingInsignAutotestBlockingConfCountTotal;
- $_SESSION['arrayFailingInsignAutotestBlockingConfNames'] = $arrayFailingInsignAutotestBlockingConfNames;
- $_SESSION['arrayFailingInsignAutotestBlockingConfProjects'] = $arrayFailingInsignAutotestBlockingConfProjects;
- $_SESSION['arrayFailingInsignAutotestInsignConfCount'] = $arrayFailingInsignAutotestInsignConfCount;
- $_SESSION['arrayFailingInsignAutotestInsignConfCountTotal'] = $arrayFailingInsignAutotestInsignConfCountTotal;
- $_SESSION['arrayFailingInsignAutotestInsignConfNames'] = $arrayFailingInsignAutotestInsignConfNames;
- $_SESSION['arrayFailingInsignAutotestInsignConfProjects'] = $arrayFailingInsignAutotestInsignConfProjects;
-
- if ($useMysqli) {
- mysqli_free_result($result);
- }
- $timeLatestEnd = microtime(true);
-
- /* Step 2: Read detailed Autotest result data with possible timescale filtering (ONLY ON SECOND ROUND) */
- $timeAllStart = microtime(true);
- $arrayFailingAutotestFailedBuilds = array();
- $arrayFailingAutotestAllBuilds = array();
- $arrayFailingAutotestRerunBuilds = array();
- $arrayFailingAutotestFailedPercentage = array();
-
- /* Step 2.1: Read all autotests for all Projects (Project not filtered) */
- if ($project == "All") {
- $booPrintDetailedResultsTitle = TRUE; // Titles printed always
- $booPrintDetailedResultsData = FALSE;
- if ($timescaleValue == $_SESSION['maxBuildDate'] AND isset($_SESSION['previousTimescaleValue']))
- unset($_SESSION['previousTimescaleValue']); // Clear the session variable if using the default date (to detect the need to load from database when setting timescale to Since)
- if ($round == 2)
- $booPrintDetailedResultsData = TRUE; // Data printed only on 2nd round
- if ($booPrintDetailedResultsData) {
- $timeAllDbStart = microtime(true);
-
- /* Performance optimization: Check when the test results need to be (re)loaded from the database (which takes time) */
- if (isset($_SESSION['previousCiProject']))
- $previousCiProject = $_SESSION['previousCiProject'];
- else
- $previousCiProject = "NA";
- if (isset($_SESSION['previousCiBranch']))
- $previousCiBranch = $_SESSION['previousCiBranch'];
- else
- $previousCiBranch = "NA";
- if (isset($_SESSION['previousCiPlatform']))
- $previousCiPlatform = $_SESSION['previousCiPlatform'];
- else
- $previousCiPlatform = "NA";
- if (isset($_SESSION['previousConfiguration']))
- $previousConfiguration = $_SESSION['previousConfiguration'];
- else
- $previousConfiguration = "NA";
- if (isset($_SESSION['previousTimescaleType']))
- $previousTimescaleType = $_SESSION['previousTimescaleType'];
- else
- $previousTimescaleType = "NA";
- if (isset($_SESSION['previousTimescaleValue']))
- $previousTimescaleValue = $_SESSION['previousTimescaleValue'];
- else
- $previousTimescaleValue = "NA";
- $booReloadTestResultsAll = FALSE;
- $booReloadTestResultsFiltered = FALSE;
- $projectFilter = "";
- $confFilter = "";
- $timescaleFilter = "";
- $where = "";
- if ($timescaleType == "All")
- $from = "all_test_latest";
- else
- $from = "all_test";
- if ($ciProject == "All" AND $ciBranch == "All" AND $ciPlatform == 0 AND
- $conf == "All" AND $timescaleType == "All") { // If no filters selected (only either of the $booReloadTestResultsAll/Filtered can be TRUE at a time)
- if (!isset($_SESSION['arrayFailingAutotestFailedBuildsAll'])) { // All data loaded only once per session
- $booReloadTestResultsAll = TRUE;
- }
- } else {
- if ($ciProject <> $previousCiProject OR
- $ciBranch <> $previousCiBranch OR
- $ciPlatform <> $previousCiPlatform OR
- $conf <> $previousConfiguration OR
- $timescaleType <> $previousTimescaleType OR
- $timescaleValue <> $previousTimescaleValue) { // Filtered data loaded when Project name or branch or Configuration or Timescale changed
- $booReloadTestResultsFiltered = TRUE;
- $where = "WHERE ";
- if ($timescaleType <> "All")
- $timescaleFilter = " AND timestamp>=\"$timescaleValue\"";
- if ($ciProject <> "All") // Filter with Project name (starting with it)
- $projectFilter = 'project LIKE "' . $ciProject . '_%"';
- if ($ciBranch <> "All") // Filter with Project branch (in the middle)
- $projectFilter = 'project LIKE "%_' . $ciBranch . '_%"';
- if ($ciProject <> "All" AND $ciBranch <> "All") // Filter with Project name and branch (starting with it)
- $projectFilter = 'project LIKE "' . $ciProject . '_' . $ciBranch . '_%"';
- if ($ciPlatform <> 0) // Filter with Platform
- $confFilter = 'AND cfg LIKE "' . $ciPlatformFilterSql . '"';
- if ($conf <> "All") // Filter with Conf (overwrite possible Platform filter)
- $confFilter = "AND cfg=\"$conf\"";
- }
- }
-
- /* Get total and failed build counts for each autotest (only one of all/configuration/timescale loading done at a time) */
- if ($showAll == "show") { // If selected to show the data (performance optimization)
- if ($booReloadTestResultsAll OR $booReloadTestResultsFiltered) { // Load data from the database ...
- $sql = cleanSqlString(
- "SELECT name, passed, failed, skipped, runs
- FROM $from
- $where $projectFilter $confFilter $timescaleFilter"); // Read all data and save to session variables for faster filtering after initial loading
- $dbColumnTestName = 0;
- $dbColumnTestPassed = 1;
- $dbColumnTestFailed = 2;
- $dbColumnTestSkipped = 3;
- $dbColumnTestRuns = 4;
- if ($useMysqli) {
- $result2 = mysqli_query($conn, $sql);
- $numberOfRows2 = mysqli_num_rows($result2);
- } else {
- $result2 = mysql_query($sql) or die (mysql_error());
- $numberOfRows2 = mysql_num_rows($result2);
- }
- for ($j=0; $j<$numberOfRows2; $j++) {
- if ($useMysqli)
- $resultRow2 = mysqli_fetch_row($result2);
- else
- $resultRow2 = mysql_fetch_row($result2);
- for ($k=0; $k<$autotestCount; $k++) { // Loop all the available Autotests to collect data per one autotest
- if ($arrayFailingAutotestNames[$k] == $resultRow2[$dbColumnTestName]) {
- $arrayFailingAutotestAllBuilds[$k]++; // a) Count the number of Autotests
- if (checkAutotestFailed($resultRow2[$dbColumnTestPassed],
- $resultRow2[$dbColumnTestFailed],
- $resultRow2[$dbColumnTestSkipped])) // b) Count the number of failed Autotests in a Project (identified by case results)
- $arrayFailingAutotestFailedBuilds[$k]++;
- if ($resultRow2[$dbColumnTestRuns] > 1) // c) Count the number of rerun Autotests (not the number of reruns)
- $arrayFailingAutotestRerunBuilds[$k]++;
- }
- }
- }
- if ($useMysqli)
- mysqli_free_result($result2);
- } else { // ... otherwise use the session variables
- if ($conf == "All" AND $timescaleType == "All") { // Use the all data when no filters selected
- $arrayFailingAutotestFailedBuilds = $_SESSION['arrayFailingAutotestFailedBuildsAll'];
- $arrayFailingAutotestAllBuilds = $_SESSION['arrayFailingAutotestAllBuildsAll'];
- $arrayFailingAutotestRerunBuilds = $_SESSION['arrayFailingAutotestRerunBuildsAll'];
- } else { // Use the filtered data when a filter used
- $arrayFailingAutotestFailedBuilds = $_SESSION['arrayFailingAutotestFailedBuildsFiltered'];
- $arrayFailingAutotestAllBuilds = $_SESSION['arrayFailingAutotestAllBuildsFiltered'];
- $arrayFailingAutotestRerunBuilds = $_SESSION['arrayFailingAutotestRerunBuildsFiltered'];
- }
- }
- }
-
- /* Save the calculated data for for returning from Level 2 to Level 1 (so that it would not be needed to read the data from database again) */
- if ($showAll == "show") { // Save session variables only if selected to show the data
- if ($booReloadTestResultsAll) {
- $_SESSION['arrayFailingAutotestFailedBuildsAll'] = $arrayFailingAutotestFailedBuilds;
- $_SESSION['arrayFailingAutotestAllBuildsAll'] = $arrayFailingAutotestAllBuilds;
- $_SESSION['arrayFailingAutotestRerunBuildsAll'] = $arrayFailingAutotestRerunBuilds;
- }
- if ($booReloadTestResultsFiltered) {
- $_SESSION['arrayFailingAutotestFailedBuildsFiltered'] = $arrayFailingAutotestFailedBuilds;
- $_SESSION['arrayFailingAutotestAllBuildsFiltered'] = $arrayFailingAutotestAllBuilds;
- $_SESSION['arrayFailingAutotestRerunBuildsFiltered'] = $arrayFailingAutotestRerunBuilds;
- }
- $_SESSION['previousCiProject'] = $ciProject;
- $_SESSION['previousCiBranch'] = $ciBranch;
- $_SESSION['previousCiPlatform'] = $ciPlatform;
- $_SESSION['previousConfiguration'] = $conf;
- $_SESSION['previousTimescaleType'] = $timescaleType;
- $_SESSION['previousTimescaleValue'] = $timescaleValue;
- }
-
- $timeAllDbEnd = microtime(true);
- } // endif $booPrintDetailedResultsData
-
- /* Step 2.2: Read autotests for a filtered Project */
- } else {
- $booPrintDetailedResultsTitle = TRUE; // Titles printed always
- $booPrintDetailedResultsData = FALSE;
- if (isset($_SESSION['previousProject']) AND $project == "All")
- unset($_SESSION['previousProject']); // Clear the session variable if Project filter cleared
- if ($round == 2)
- $booPrintDetailedResultsData = TRUE; // Data printed only on 2nd round
- if ($booPrintDetailedResultsData) {
- $timeAllDbStart = microtime(true);
-
- /* Get the first available build number or the first after the selected time scale */
- $minBuildNumberInDatabase = MAXCIBUILDNUMBER;
- $projectFilter = "project=\"$project\""; // Project is filtered here
- $timescaleFilter = "";
- if ($timescaleType <> "All")
- $timescaleFilter = "AND timestamp>=\"$timescaleValue\"";
- $sql = cleanSqlString(
- "SELECT MIN(build_number)
- FROM ci
- WHERE $projectFilter $timescaleFilter");
- $dbColumnCiBuildNumber = 0;
- if ($useMysqli) {
- $result2 = mysqli_query($conn, $sql);
- $resultRow2 = mysqli_fetch_row($result2);
- } else {
- $result2 = mysql_query($sql) or die (mysql_error());
- $resultRow2 = mysql_fetch_row($result2);
- }
- if ($resultRow2[$dbColumnCiBuildNumber] <> NULL AND $resultRow2[$dbColumnCiBuildNumber] <> "")
- $minBuildNumberInDatabase = $resultRow2[$dbColumnCiBuildNumber];
- if ($useMysqli)
- mysqli_free_result($result2);
- $_SESSION['minBuildNumberInDatabase'] = $minBuildNumberInDatabase; // Save for level 2
-
- /* Get the first build with detailed test result data */
- $projectFilter = ""; // NOTE: The same filters are used also on the step below (therefore calculated here for any filter selections)
- $buildFilter = "";
- $confFilter = "";
- $from = "all_test_latest";
- $projectFilter = "project=\"$project\""; // Project is filtered here
- if ($ciPlatform <> 0) // Filter with Platform
- $confFilter = 'AND cfg LIKE "' . $ciPlatformFilterSql . '"';
- if ($conf <> "All") // Filter with Conf (overwrite possible Platform filter)
- $confFilter = "AND cfg=\"$conf\"";
- if ($timescaleType == "All") { // If timescale not filtered read only the latest/selected build
- $buildFilter = "AND build_number = $buildNumber";
- if ($build > 0) // If other than the latest build
- $from = "all_test";
- } else { // If timescale filtered read all the available builds since the date
- $from = "all_test";
- $buildFilter = "AND build_number >= $minBuildNumberInDatabase";
- }
- $sql = cleanSqlString(
- "SELECT MIN(build_number)
- FROM $from
- WHERE $projectFilter $buildFilter $confFilter");
- $dbColumnTestBuildNumber = 0;
- if ($useMysqli) {
- $result2 = mysqli_query($conn, $sql);
- $resultRow2 = mysqli_fetch_row($result2);
- } else {
- $result2 = mysql_query($sql) or die (mysql_error());
- $numberOfRows2 = mysql_num_rows($result2);
- $resultRow2 = mysql_fetch_row($result2);
- }
- if ($resultRow2[$dbColumnTestBuildNumber] <> NULL AND $resultRow2[$dbColumnTestBuildNumber] <> "")
- $minBuildNumberWithTestResults = $resultRow2[$dbColumnTestBuildNumber]; // Replace the default value set earlier
- if ($useMysqli)
- mysqli_free_result($result2);
-
- /* Get total and failed build counts for each autotest (using the same filters as above) */
- if (isset($_SESSION['previousProject'])) {
- $previousCiProject = $_SESSION['previousCiProject'];
- $previousCiBranch = $_SESSION['previousCiBranch'];
- $previousCiPlatform = $_SESSION['previousCiPlatform'];
- $previousProject = $_SESSION['previousProject'];
- $previousConfiguration = $_SESSION['previousConfiguration'];
- $previousBuild = $_SESSION['previousBuild'];
- $previousTimescaleType = $_SESSION['previousTimescaleType'];
- $previousTimescaleValue = $_SESSION['previousTimescaleValue'];
- } else {
- $previousCiProject = "NA";
- $previousCiBranch = "NA";
- $previousCiPlatform = "NA";
- $previousProject = "NA";
- $previousConfiguration = "NA";
- $previousBuild = "NA";
- $previousTimescaleType = "NA";
- $previousTimescaleValue = "NA";
- }
- $booReloadTestResults = TRUE; // Performance optimization: Check when the test results need to be (re)loaded from the zip files (which takes time)
- if ($ciProject == $previousCiProject AND
- $ciBranch == $previousCiBranch AND
- $ciPlatform == $previousCiPlatform AND
- $project == $previousProject AND
- $conf == $previousConfiguration AND
- $timescaleType == $previousTimescaleType AND
- $timescaleValue == $previousTimescaleValue)
- $booReloadTestResults = FALSE; // No need to reload the test results if project and other filters not changed
- if ($timescaleType == "All" AND $build <> $previousBuild)
- $booReloadTestResults = TRUE; // Reload if build changed when timescale not filtered (then the test results are shown for selected build)
- if (!$booReloadTestResults) { // Use the session variables ...
- $arrayFailingAutotestFailedBuilds = $_SESSION['arrayFailingAutotestFailedBuilds'];
- $arrayFailingAutotestAllBuilds = $_SESSION['arrayFailingAutotestAllBuilds'];
- $arrayFailingAutotestRerunBuilds = $_SESSION['arrayFailingAutotestRerunBuilds'];
- $minBuildNumberWithTestResults = $_SESSION['minBuildNumberWithTestResults'];
- } else { // ... otherwise read the data from the database
- $sql = cleanSqlString(
- "SELECT name, passed, failed, skipped, runs
- FROM $from
- WHERE $projectFilter $buildFilter $confFilter"); // Use the same filters as above
- $dbColumnTestName = 0;
- $dbColumnTestPassed = 1;
- $dbColumnTestFailed = 2;
- $dbColumnTestSkipped = 3;
- $dbColumnTestRuns = 4;
- if ($useMysqli) {
- $result2 = mysqli_query($conn, $sql);
- $numberOfRows2 = mysqli_num_rows($result2);
- } else {
- $result2 = mysql_query($sql) or die (mysql_error());
- $numberOfRows2 = mysql_num_rows($result2);
- }
- for ($j=0; $j<$numberOfRows2; $j++) {
- if ($useMysqli)
- $resultRow2 = mysqli_fetch_row($result2);
- else
- $resultRow2 = mysql_fetch_row($result2);
- for ($k=0; $k<$autotestCount; $k++) { // Loop all the available Autotests to collect data per one autotest
- if ($arrayFailingAutotestNames[$k] == $resultRow2[$dbColumnTestName]) {
- $arrayFailingAutotestAllBuilds[$k]++; // Count the number of Autotests
- if (checkAutotestFailed($resultRow2[$dbColumnTestPassed],
- $resultRow2[$dbColumnTestFailed],
- $resultRow2[$dbColumnTestSkipped])) // b) Count the number of failed Autotests in a Project (identified by case results)
- $arrayFailingAutotestFailedBuilds[$k]++;
- if ($resultRow2[$dbColumnTestRuns] > 1) // Count the number of rerun Autotests (not the number of reruns)
- $arrayFailingAutotestRerunBuilds[$k]++;
- }
- }
- }
- if ($useMysqli)
- mysqli_free_result($result2);
- }
-
- /* Save the calculated data for level 2 and for returning from Level 2 to Level 1 (so that it would not be needed to read the data from database again) */
- $_SESSION['arrayFailingAutotestFailedBuilds'] = $arrayFailingAutotestFailedBuilds;
- $_SESSION['arrayFailingAutotestAllBuilds'] = $arrayFailingAutotestAllBuilds;
- $_SESSION['arrayFailingAutotestRerunBuilds'] = $arrayFailingAutotestRerunBuilds;
- $_SESSION['minBuildNumberWithTestResults'] = $minBuildNumberWithTestResults;
- $_SESSION['previousCiProject'] = $ciProject;
- $_SESSION['previousCiBranch'] = $ciBranch;
- $_SESSION['previousCiPlatform'] = $ciPlatform;
- $_SESSION['previousProject'] = $project;
- $_SESSION['previousConfiguration'] = $conf;
- $_SESSION['previousBuild'] = $build;
- $_SESSION['previousTimescaleType'] = $timescaleType;
- $_SESSION['previousTimescaleValue'] = $timescaleValue;
-
- $timeAllDbEnd = microtime(true);
- } // endif $booPrintDetailedResultsData
-
- /* Read the timestamp of the latest/selected build and the first build with detailed test result data */
- for ($k=0; $k<=1; $k++) { // Run twice: 0 = latest/selected build, 1 = first build with detailed test result data
- $projectFilter = "project = \"$project\""; // Project is filtered here
- if ($k == 0) {
- if ($build == 0) { // Show the latest build ...
- $from = "ci_latest";
- $buildFilter = "";
- } else { // ... or the selected build
- $from = "ci";
- $buildFilter = "AND build_number = $buildNumber";
- }
- } else {
- $from = "ci";
- $buildFilter = "AND build_number = $minBuildNumberWithTestResults";
- }
- $sql = cleanSqlString(
- "SELECT MIN(timestamp)
- FROM $from
- WHERE $projectFilter $buildFilter");
- $dbColumnCiTimestamp = 0;
- if ($useMysqli) {
- $result2 = mysqli_query($conn, $sql);
- $numberOfRows2 = mysqli_num_rows($result2);
- } else {
- $result2 = mysql_query($sql) or die (mysql_error());
- $numberOfRows2 = mysql_num_rows($result2);
- }
- if ($useMysqli)
- $resultRow2 = mysqli_fetch_row($result2);
- else
- $resultRow2 = mysql_fetch_row($result2);
- if ($k == 0)
- $buildTimestamp = $resultRow2[$dbColumnCiTimestamp];
- else
- $minBuildNumberWithTestResultsTimestamp = $resultRow2[$dbColumnCiTimestamp];
- if ($useMysqli)
- mysqli_free_result($result2);
- }
-
- } // End of step 2.2
- $timeAllEnd = microtime(true);
-
- /* Calculate the failure percentage */
- for ($k=0; $k<$autotestCount; $k++)
- $arrayFailingAutotestFailedPercentage[$k]
- = calculatePercentage($arrayFailingAutotestFailedBuilds[$k], $arrayFailingAutotestAllBuilds[$k]); // Must be rounded to integer for sorting to work
-
- /* Print the used filters */
- if ($project <> "All" OR $ciProject <> "All" OR $ciBranch <> "All" OR $ciPlatform <> 0 OR
- $conf <> "All" OR $timescaleType <> "All") {
- echo '<table>';
- if ($project <> "All") {
- echo '<tr><td>Project:</td><td class="tableCellBackgroundTitle">' . $project . '</td></tr>';
- } else {
- if ($ciProject <> "All")
- echo '<tr><td>Project:</td><td class="tableCellBackgroundTitle">' . $ciProject . '</td></tr>';
- if ($ciBranch <> "All")
- echo '<tr><td>Branch:</td><td class="tableCellBackgroundTitle">' . $ciBranch . '</td></tr>';
- }
- if ($ciPlatform <> 0 AND $conf == "All") {
- echo '<tr><td>Platform:</td><td class="tableCellBackgroundTitle">' . $ciPlatformName . '</td></tr>';
- echo '<tr><td>Configuration:</td><td class="tableCellBackgroundTitle fontColorGrey">' . $ciPlatformFilter . '</td></tr>';
- }
- if ($conf <> "All")
- echo '<tr><td>Configuration:</td><td class="tableCellBackgroundTitle">' . $conf . '</td></tr>';
- if ($timescaleType == "Since")
- echo '<tr><td>Since:</td><td class="timescaleSince">' . $timescaleValue . '</td></tr>';
- if ($project <> "All")
- echo '<tr><td>Build:</td><td>' . $buildNumber . ' ('
- . substr($buildTimestamp, 0, strpos($buildTimestamp, " ")) . ')</td></tr>';
- if ($booPrintDetailedResultsData) {
- if ($minBuildNumberWithTestResults == MAXCIBUILDNUMBER) {
- $testResultBuilds = '(not any test result files available)';
- $testResultBuildsSeeMore = '';
- } else {
- $testResultBuilds = $minBuildNumberWithTestResults . ' ('
- . substr($minBuildNumberWithTestResultsTimestamp, 0, strpos($minBuildNumberWithTestResultsTimestamp, " ")) . ')';
- if ($timescaleType == "Since")
- $testResultBuilds = $testResultBuilds . ' onwards';
- $testResultBuildsSeeMore = setSeeMoreNote($timescaleType, $timescaleValue);
- }
- if ($project <> "All")
- echo '<tr><td>Test Results:</td><td>' . $testResultBuilds . $testResultBuildsSeeMore . '</td></tr>';
- }
- echo '</table>';
- }
- echo '<div class="metricsTitle">';
- echo '<b>Failed Autotests</b>';
- echo '</div>';
-
- /* Set the default sorting */
- if ($booPrintDetailedResultsData AND ($showAll == "show" OR $project <> "All")) { // Sort by Failed % on level 1 if results printed or always on level 2
- if ($sortBy == AUTOTESTSORTBYNOTSET) {
- if ($minBuildNumberWithTestResults == MAXCIBUILDNUMBER)
- $sortBy = AUTOTESTSORTBYSIGNAUTOTESTBLOCKINGCONF;
- else
- $sortBy = AUTOTESTSORTBYAUTOTESTFAILEDPERCENTAGE; // Sorting based the Failed % when all builds data available and shown
- }
- } else {
- if ($sortBy == AUTOTESTSORTBYNOTSET)
- $sortBy = AUTOTESTSORTBYSIGNAUTOTESTBLOCKINGCONF; // Default sorting is the significant blocking when only the latest/selected build shown
- }
-
- /* Print the titles */
- echo '<table class="fontSmall">';
- echo '<tr>'; // First row
- echo '<th></th>';
- if ($timescaleType == "All" AND CITESTRESULTBUILDCOUNT == 1) { // Timescale not filtered (and the dashboard is configured to show just the latest build)
- if ($booPrintDetailedResultsTitle)
- echo '<td colspan="8" ';
- else
- echo '<td colspan="4" ';
- if ($project == "All") { // When Project not filtered the list shows latest builds from any date
- echo 'class="tableBottomBorder tableSideBorder tableCellCentered">';
- echo '<b>LATEST PROJECT BUILDS</b></td>';
- } else { // When Project filtered the list shows latest/selected build only
- echo 'class="tableBottomBorder tableSideBorder tableCellCentered tableCellBuildSelected">';
- if ($build == 0)
- echo 'LATEST BUILD</td>';
- else
- echo 'BUILD ' . $buildNumber . '</td>';
- }
- }
- if ($timescaleType == "All" AND CITESTRESULTBUILDCOUNT > 1) { // Timescale not filtered (and the dashboard is configured to show n latest builds)
- echo '<td colspan="4" ';
- if ($project == "All") { // When Project not filtered the list shows latest builds from any date
- echo 'class="tableBottomBorder tableSideBorder tableCellCentered">';
- echo '<b>LATEST PROJECT BUILDS</b></td>';
- } else { // When Project filtered the list shows the latest/selected build only
- echo 'class="tableBottomBorder tableSideBorder tableCellCentered tableCellBuildSelected">';
- if ($build == 0)
- echo 'LATEST BUILD</td>';
- else
- echo 'BUILD ' . $buildNumber . '</td>';
- }
- if ($booPrintDetailedResultsTitle) {
- echo '<td colspan="4" class="tableBottomBorder tableSideBorder tableCellCentered timescaleAll">';
- echo '<b>ALL BUILDS</b></td>';
- }
- }
- if ($timescaleType == "Since") { // Timescale filtered
- echo '<td colspan="4" ';
- if ($project == "All") { // When Project not filtered the list shows latest builds since selected date
- echo 'class="tableBottomBorder tableSideBorder tableCellCentered">';
- echo '<b>LATEST PROJECT BUILDS SINCE ' . $timescaleValue . '</b></td>';
- } else { // When Project filtered the list shows the latest/selected build only
- echo 'class="tableBottomBorder tableSideBorder tableCellCentered tableCellBuildSelected">';
- if ($build == 0)
- echo 'LATEST BUILD</td>';
- else
- echo 'BUILD ' . $buildNumber . '</td>';
- }
- if ($booPrintDetailedResultsTitle) {
- echo '<td colspan="4" class="tableBottomBorder tableSideBorder tableCellCentered timescaleSince">';
- echo 'ALL BUILDS SINCE ' . $timescaleValue . '</td>';
- }
- }
- echo '</tr>';
- echo '<tr>'; // Second row
- echo '<th></th>';
- echo '<th colspan="2" class="tableBottomBorder tableSideBorder">Failed Significant Autotests</th>';
- echo '<th colspan="2" class="tableBottomBorder tableSideBorder">Failed Insignificant Autotests</th>';
- if ($booPrintDetailedResultsTitle) {
- if ($round == 1) {
- $xmlBuildInfo = 'Detailed Test Results <span class="loading"><span>.</span><span>.</span><span>.</span></span>';
- } else {
- if ($minBuildNumberWithTestResults == MAXCIBUILDNUMBER) { // No builds found with all test results
- $xmlBuildInfo = "(not any Builds with test result files)";
- } else {
- if ($project == "All") {
- $showAllLink = '<a href="javascript:void(0);" onclick="toggleAutotestShowAll(\'' . $showAll . '\')" ';
- if ($showAll == "show") { // To select if the all data is shown or not
- $showAllLink = $showAllLink . 'title="Hide displaying the all builds data when project is not filtered. &#10;This may be practical for faster display updates when using the &#10;timescale filter.">hide</a> ';
- $booShowAll = TRUE;
- } else {
- $showAllLink = $showAllLink . 'title="Show the all builds data when project is not filtered. &#10;Note: This may slow down the display updates when &#10;using the timescale filter.">show</a> ';
- $booShowAll = FALSE;
- }
- } else {
- $showAllLink = '';
- $booShowAll = TRUE;
- }
- if ($timescaleType == "All" AND CITESTRESULTBUILDCOUNT == 1)
- $xmlBuildInfo = "Detailed Test Results";
- else
- if ($project == "All")
- $xmlBuildInfo = "Detailed Test Results";
- else
- $xmlBuildInfo = "Detailed Test Results since Build $minBuildNumberWithTestResults";
- }
- }
- echo '<th colspan="4" class="tableBottomBorder tableSideBorder">' . $showAllLink . $xmlBuildInfo . '</th>';
- }
- echo '</tr>';
- echo '<tr class="tableBottomBorder">'; // Third row
- echo '<th class="tableCellAlignRight"><a href="javascript:void(0);" onclick="showMessageWindow(\'ci/msgfailuredescription.html\')"> Failure category</a></th>';
- echo '<td class="sortField tableLeftBorder tableCellCentered tableCellBackgroundRedDark">';
- if ($sortBy == AUTOTESTSORTBYSIGNAUTOTESTBLOCKINGCONF)
- echo '1) Blocking<br>Confs&nbsp;&nbsp;&nbsp;<b>&diams;</b>'; // Identify selected sorting
- else
- echo '<a href="javascript:void(0);" onclick="filterAutotest(\'All\',' . AUTOTESTSORTBYSIGNAUTOTESTBLOCKINGCONF . ')">
- 1) Blocking<br>Confs&nbsp;&nbsp;&nbsp;<b><img src="images/sort-descending.png" alt="Sort" title="sort descending"></b></a>';
- echo '</td>';
- echo '<td class="sortField tableRightBorder tableCellCentered tableCellBackgroundRed">';
- if ($sortBy == AUTOTESTSORTBYSIGNAUTOTESTINSIGNCONF)
- echo '2) Insignificant<br>Confs&nbsp;&nbsp;&nbsp;<b>&diams;</b>'; // Identify selected sorting
- else
- echo '<a href="javascript:void(0);" onclick="filterAutotest(\'All\',' . AUTOTESTSORTBYSIGNAUTOTESTINSIGNCONF . ')">
- 2) Insignificant<br>Confs&nbsp;&nbsp;&nbsp;<b><img src="images/sort-descending.png" alt="Sort" title="sort descending"></b></a>';
- echo '</td>';
- echo '<td class="sortField tableLeftBorder tableCellCentered tableCellBackgroundRedLight">';
- if ($sortBy == AUTOTESTSORTBYINSIGNAUTOTESTBLOCKINGCONF)
- echo '3) Blocking<br>Confs&nbsp;&nbsp;&nbsp;<b>&diams;</b>'; // Identify selected sorting
- else
- echo '<a href="javascript:void(0);" onclick="filterAutotest(\'All\',' . AUTOTESTSORTBYINSIGNAUTOTESTBLOCKINGCONF . ')">
- 3) Blocking<br>Confs&nbsp;&nbsp;&nbsp;<b><img src="images/sort-descending.png" alt="Sort" title="sort descending"></b></a>';
- echo '</td>';
- echo '<td class="sortField tableRightBorder tableCellCentered tableCellBackgroundRedLight">';
- if ($sortBy == AUTOTESTSORTBYINSIGNAUTOTESTINSIGNGCONF)
- echo '4) Insignificant<br>Confs&nbsp;&nbsp;&nbsp;<b>&diams;</b>'; // Identify selected sorting
- else
- echo '<a href="javascript:void(0);" onclick="filterAutotest(\'All\',' . AUTOTESTSORTBYINSIGNAUTOTESTINSIGNGCONF . ')">
- 4) Insignificant<br>Confs&nbsp;&nbsp;&nbsp;<b><img src="images/sort-descending.png" alt="Sort" title="sort descending"></b></a>';
- echo '</td>';
- if ($booPrintDetailedResultsTitle) {
- echo '<td class="tableBottomBorder tableLeftBorder tableCellCentered">Builds where<br>failed</td>';
- echo '<td class="tableBottomBorder tableCellCentered">Builds where<br>run</td>';
- echo '<td class="sortField tableBottomBorder tableCellCentered">';
- if ($sortBy == AUTOTESTSORTBYAUTOTESTFAILEDPERCENTAGE)
- echo 'Failed %<br>&diams;'; // Identify selected sorting
- else
- echo '<a href="javascript:void(0);" onclick="filterAutotest(\'All\',' . AUTOTESTSORTBYAUTOTESTFAILEDPERCENTAGE . ')">
- Failed %<br><img src="images/sort-descending.png" alt="Sort" title="sort descending"></a>';
- echo '</td>';
- echo '<td class="tableBottomBorder tableRightBorder tableCellCentered">Builds where<br>rerun (flaky)</td>';
- }
- echo '</tr>';
-
- /* Print list of Autotests */
- $k = 0;
- $listCutMode = FALSE;
- $failingSignAutotestBlockingConfCount = 0;
- $failingSignAutotestInsignConfCount = 0;
- $failingInsignAutotestBlockingConfCount = 0;
- $failingInsignAutotestInsignConfCount = 0;
- $arrayFailingAutotestFailedBuildsSum = 0;
- $arrayFailingAutotestAllBuildsSum = 0;
- $arrayFailingAutotestRerunBuildsSum = 0;
- $arrayFailingAutotestFailedPercentageSum = 0;
- if ($maxCount < 100)
- $maxCount = 100; // Loop at least the percentage scale
- for ($countOrder=$maxCount; $countOrder>=0; $countOrder--) { // Sort the list by looping from the highest count
- for ($i=0; $i<$autotestCount; $i++) { // Loop the Autotests
- switch ($sortBy) { // Check the next value to print in sorting
- case AUTOTESTSORTBYSIGNAUTOTESTBLOCKINGCONF:
- $sortFieldValue = $arrayFailingSignAutotestBlockingConfCountTotal[$i];
- break;
- case AUTOTESTSORTBYSIGNAUTOTESTINSIGNCONF:
- $sortFieldValue = $arrayFailingSignAutotestInsignConfCountTotal[$i];
- break;
- case AUTOTESTSORTBYINSIGNAUTOTESTBLOCKINGCONF:
- $sortFieldValue = $arrayFailingInsignAutotestBlockingConfCountTotal[$i];
- break;
- case AUTOTESTSORTBYINSIGNAUTOTESTINSIGNGCONF:
- $sortFieldValue = $arrayFailingInsignAutotestInsignConfCountTotal[$i];
- break;
- case AUTOTESTSORTBYAUTOTESTFAILEDPERCENTAGE:
- $sortFieldValue = $arrayFailingAutotestFailedPercentage[$i];
- break;
- }
- if ($sortFieldValue == $countOrder) { // Print the ones that are next in the sorting order
- if ($arrayFailingSignAutotestBlockingConfCountTotal[$i]
- + $arrayFailingSignAutotestInsignConfCountTotal[$i]
- + $arrayFailingInsignAutotestBlockingConfCountTotal[$i]
- + $arrayFailingInsignAutotestInsignConfCountTotal[$i]
- + $arrayFailingAutotestFailedBuilds[$i] > 0) { // Don't print if not any failures in Latest/All Builds
- if ($k % 2 == 0)
- echo '<tr>';
- else
- echo '<tr class="tableBackgroundColored">';
-
- /* Autotest name */
- echo '<td><a href="javascript:void(0);" onclick="filterAutotest(\'' . $arrayFailingAutotestNames[$i]
- . '\')">' . $arrayFailingAutotestNames[$i] . '</a></td>';
-
- /* Latest/Selected Build: Significant Autotests in blocking Configuration (with names as a popup) */
- if ($arrayFailingSignAutotestBlockingConfCountTotal[$i] > 0) {
- echo '<td class="tableLeftBorder tableCellCentered fontColorRed"><span class="popupMessage">'
- . $arrayFailingSignAutotestBlockingConfCountTotal[$i]
- . '<span><b>' . $arrayFailingAutotestNames[$i] . ':</b><br>'
- . substr($arrayFailingSignAutotestBlockingConfNames[$i],strlen('<br>'))
- . '</span></span></td>'; // Skip leading '<br>' set above
- } else {
- echo '<td class="tableLeftBorder tableCellCentered">-</td>';
- }
-
- /* Latest/Selected Build: Significant Autotests in insignificant Configuration (with names as a popup) */
- if ($arrayFailingSignAutotestInsignConfCountTotal[$i] > 0)
- echo '<td class="tableCellCentered"><span class="popupMessage">'
- . $arrayFailingSignAutotestInsignConfCountTotal[$i]
- . '<span><b>' . $arrayFailingAutotestNames[$i] . ':</b><br>'
- . substr($arrayFailingSignAutotestInsignConfNames[$i],strlen('<br>'))
- . '</span></span></td>'; // Skip leading '<br>' set above
- else
- echo '<td class="tableCellCentered">-</td>';
-
- /* Latest/Selected Build: Insignificant Autotests in blocking Configuration (with names as a popup) */
- if ($arrayFailingInsignAutotestBlockingConfCountTotal[$i] > 0)
- echo '<td class="tableLeftBorder tableCellCentered"><span class="popupMessage">'
- . $arrayFailingInsignAutotestBlockingConfCountTotal[$i]
- . '<span><b>' . $arrayFailingAutotestNames[$i] . ':</b><br>'
- . substr($arrayFailingInsignAutotestBlockingConfNames[$i],strlen('<br>'))
- . '</span></span></td>'; // Skip leading '<br>' set above
- else
- echo '<td class="tableLeftBorder tableCellCentered">-</td>';
-
- /* Latest/Selected Build: Insignificant Autotests in insignificant Configuration (with names as a popup) */
- if ($arrayFailingInsignAutotestInsignConfCountTotal[$i] > 0)
- echo '<td class="tableRightBorder tableCellCentered"><span class="popupMessage">'
- . $arrayFailingInsignAutotestInsignConfCountTotal[$i]
- . '<span><b>' . $arrayFailingAutotestNames[$i] . ':</b><br>'
- . substr($arrayFailingInsignAutotestInsignConfNames[$i],strlen('<br>'))
- . '</span></span></td>'; // Skip leading '<br>' set above
- else
- echo '<td class="tableRightBorder tableCellCentered">-</td>';
-
- /* Detailed test results */
- if ($booPrintDetailedResultsTitle) {
- if ($booPrintDetailedResultsData AND $booShowAll) {
-
- /* Detailed test results: Builds where failed */
- if ($arrayFailingAutotestFailedBuilds[$i] > 0)
- echo '<td class="tableLeftBorder tableCellCentered">'
- . $arrayFailingAutotestFailedBuilds[$i] . '</td>';
- else
- echo '<td class="tableLeftBorder tableCellCentered">-</td>';
-
- /* Detailed test results: Builds where run (all) */
- if ($arrayFailingAutotestAllBuilds[$i] > 0)
- echo '<td class="tableCellCentered">'
- . $arrayFailingAutotestAllBuilds[$i] . '</td>';
- else
- if ($booTestResultDirectory)
- echo '<td class="tableCellCentered">-</td>';
- else
- echo '<td class="tableCellCentered">(n/a)</td>';
-
- /* Detailed test results: Failed % */
- if ($arrayFailingAutotestFailedPercentage[$i] > 0) {
- if ($arrayFailingAutotestFailedPercentage[$i] >= AUTOTESTFAILUREWARNINGLEVEL)
- echo '<td class="tableCellCentered fontColorRed">';
- else
- echo '<td class="tableCellCentered">';
- echo $arrayFailingAutotestFailedPercentage[$i] . '%</td>';
- } else {
- echo '<td class="tableCellCentered">-</td>';
- }
-
- /* Detailed test results: Builds where rerun (flaky) */
- if ($arrayFailingAutotestRerunBuilds[$i] > 0)
- echo '<td class="tableRightBorder tableCellCentered">'
- . $arrayFailingAutotestRerunBuilds[$i] . '</td>';
- else
- echo '<td class="tableRightBorder tableCellCentered">-</td>';
-
- } else {
- echo '<td class="tableLeftBorder tableCellCentered"></td>';
- echo '<td class="tableCellCentered"></td>';
- echo '<td class="tableCellCentered"></td>';
- echo '<td class="tableRightBorder tableCellCentered"></td>';
- }
- }
-
- echo '</tr>';
- $k++;
-
- /* Count the totals */
- $failingSignAutotestBlockingConfCount = $failingSignAutotestBlockingConfCount + $arrayFailingSignAutotestBlockingConfCountTotal[$i];
- $failingSignAutotestInsignConfCount = $failingSignAutotestInsignConfCount + $arrayFailingSignAutotestInsignConfCountTotal[$i];
- $failingInsignAutotestBlockingConfCount = $failingInsignAutotestBlockingConfCount + $arrayFailingInsignAutotestBlockingConfCountTotal[$i];
- $failingInsignAutotestInsignConfCount = $failingInsignAutotestInsignConfCount + $arrayFailingInsignAutotestInsignConfCountTotal[$i];
- $arrayFailingAutotestFailedBuildsSum = $arrayFailingAutotestFailedBuildsSum + $arrayFailingAutotestFailedBuilds[$i];
- $arrayFailingAutotestAllBuildsSum = $arrayFailingAutotestAllBuildsSum + $arrayFailingAutotestAllBuilds[$i];
- $arrayFailingAutotestRerunBuildsSum = $arrayFailingAutotestRerunBuildsSum + $arrayFailingAutotestRerunBuilds[$i];
-
- }
- if ($k > 12 AND !isset($_SESSION['failingAutotestsShowFullList'])) { // List cut mode: By default show only n items in the list to leave room for possible other metrics boxes
- $listCutMode = TRUE;
- break;
- }
- } // Endif sorting order
- } // Endfor Autotests
- } // Endfor sorting
- $printedAutotests = $k;
-
- /* Print Totals summary row */
- if ($listCutMode == FALSE) {
- $arrayFailingAutotestFailedPercentageSum = calculatePercentage($arrayFailingAutotestFailedBuildsSum, $arrayFailingAutotestAllBuildsSum);
- echo '<tr>';
- echo '<td class="tableRightBorder tableTopBorder">total (' . $printedAutotests . ')</td>';
- echo '<td class="tableTopBorder tableCellCentered">' . $failingSignAutotestBlockingConfCount . '</td>';
- echo '<td class="tableRightBorder tableTopBorder tableCellCentered">' . $failingSignAutotestInsignConfCount . '</td>';
- echo '<td class="tableTopBorder tableCellCentered">' . $failingInsignAutotestBlockingConfCount . '</td>';
- echo '<td class="tableRightBorder tableTopBorder tableCellCentered">' . $failingInsignAutotestInsignConfCount . '</td>';
- if ($booPrintDetailedResultsTitle) {
- if ($booPrintDetailedResultsData AND $booShowAll) {
- echo '<td class="tableTopBorder tableCellCentered">' . $arrayFailingAutotestFailedBuildsSum . '</td>';
- echo '<td class="tableTopBorder tableCellCentered">' . $arrayFailingAutotestAllBuildsSum . '</td>';
- echo '<td class="tableTopBorder tableCellCentered">' . $arrayFailingAutotestFailedPercentageSum . '%</td>';
- echo '<td class="tableRightBorder tableTopBorder tableCellCentered">' . $arrayFailingAutotestRerunBuildsSum . '</td>';
- } else {
- echo '<td class="tableTopBorder tableCellCentered"></td>';
- echo '<td class="tableTopBorder tableCellCentered"></td>';
- echo '<td class="tableTopBorder tableCellCentered"></td>';
- echo '<td class="tableRightBorder tableTopBorder tableCellCentered"></td>';
- }
- }
- echo '</tr>';
- }
- echo '</table>';
-
- if ($round == 2 AND !isset($_SESSION['failingAutotestsShowFullList'])) {
- echo '<br/><a href="javascript:void(0);" onclick="filterAutotest(\'All\')">Show full list...</a><br/><br/>'; // List cut mode: If only first n items shown, add a link to see all
- $_SESSION['failingAutotestsShowFullList'] = TRUE; // List cut mode: After refreshing the metrics box, show all items instead (set below to return the default 'cut mode')
- }
-
- } else {
- echo '<br/>Filter values not ready or they are expired, please <a href="javascript:void(0);" onclick="reloadFilters()">reload</a> ...';
- }
-
- /* Elapsed time */
- if ($showElapsedTime) {
- $timeEnd = microtime(true);
- $time = round($timeEnd - $timeStart, 4);
- $timeDbConnect = round($timeConnect - $timeStart, 4);
- $timeLatest = round($timeLatestEnd - $timeLatestStart, 4);
- $timeLatestSelect = round($timeLatestSelectEnd - $timeLatestSelectStart, 4);
- $timeLatestCalculation = round($timeLatest - $timeLatestSelect, 4);
- if (isset($timeAllDbEnd)) {
- $timeAll = round($timeAllEnd - $timeAllStart, 4);
- $timeAllSelect = round($timeAllDbEnd - $timeAllDbStart, 4);
- $timeAllCalculation = round($timeAll - $timeAllDb, 4);
- }
- echo "<div class=\"elapdedTime\">";
- echo "<ul><li>";
- echo "<b>Total time:</b>&nbsp $time s (round $round)<br>";
- echo "Latest builds: $timeLatest s
- (database connect time: $timeDbConnect s,
- database read time: $timeLatestSelect s,
- calculation: $timeLatestCalculation s)<br>";
- if (isset($timeAllDbEnd))
- echo "All builds:&nbsp&nbsp&nbsp&nbsp&nbsp $timeAll s
- (database connect time: $timeDbConnect s,
- database read time: $timeAllSelect s,
- calculation: $timeAllCalculation s)<br>";
- echo "</li></ul>";
- echo "</div>";
- }
-
-}
-
-/*************************************************************/
-/* NESTED LEVEL 2: Autotest filtered */
-/*************************************************************/
-
-if ($autotest <> "All") {
- echo '<div class="metricsBoxHeader">';
- echo '<div class="metricsBoxHeaderIcon">';
- if ($round == 1)
- echo "<img src=\"images/ajax-loader.gif\" alt=\"loading\">&nbsp&nbsp"; // On the first round show the loading icon
- else
- echo '<a href="javascript:void(0);" class="imgLink" onclick="showMessageWindow(\'ci/msgautotestdashboardlevel2.html\')">
- <img src="images/info.png" alt="info"></a>&nbsp&nbsp';
- echo '</div>';
- echo '<div class="metricsBoxHeaderText">';
- echo '<b>AUTOTEST DASHBOARD:</b> <a href="javascript:void(0);" onclick="filterAutotest(\'All\')">Select Autotest</a> -> ' . $autotest;
- echo '</div>';
- echo '</div>';
-
- /* Get the data calculated on level 1 */
- $arrayFailingAutotestNames = array();
- $arrayFailingAutotestNames = $_SESSION['arrayAutotestName'];
- $arrayFailingAutotestAllBuilds = array();
- $arrayFailingAutotestAllBuilds = $_SESSION['arrayFailingAutotestAllBuilds'];
- $arrayAutotestName = array();
- $arrayAutotestName[] = $autotest; // Save selected autotest into array for the readProjectTestResultDirectory function call below
- $arrayProjectBuildLatest = array();
- $arrayProjectBuildLatest = $_SESSION['arrayProjectBuildLatest'];
- $arrayFailingSignAutotestBlockingConfProjects = array();
- $arrayFailingSignAutotestInsignConfProjects = array();
- $arrayFailingInsignAutotestBlockingConfProjects = array();
- $arrayFailingInsignAutotestInsignConfProjects = array();
- $arrayFailingSignAutotestBlockingConfProjects = $_SESSION['arrayFailingSignAutotestBlockingConfProjects'];
- $arrayFailingSignAutotestInsignConfProjects = $_SESSION['arrayFailingSignAutotestInsignConfProjects'];
- $arrayFailingInsignAutotestBlockingConfProjects = $_SESSION['arrayFailingInsignAutotestBlockingConfProjects'];
- $arrayFailingInsignAutotestInsignConfProjects = $_SESSION['arrayFailingInsignAutotestInsignConfProjects'];
-
- if (isset($_SESSION['arrayAutotestName'])) {
- foreach ($arrayFailingAutotestNames as $key => $value) {
- /* Selected Autotest */
- if ($autotest == $value) {
- $timeAutotestHistoryStart = microtime(true);
-
- if ($project <> "All") {
- /* Read the timestamp of the latest/selected build */
- $projectFilter = "project = \"$project\""; // Project is filtered here
- if ($build == 0) { // Show the latest build ...
- $from = "ci_latest";
- $buildFilter = "";
- } else { // ... or the selected build
- $from = "ci";
- $buildFilter = "AND build_number = $buildNumber";
- }
- $sql = cleanSqlString(
- "SELECT timestamp
- FROM $from
- WHERE $projectFilter $buildFilter");
- $dbColumnCiTimestamp = 0;
- if ($useMysqli) {
- $result2 = mysqli_query($conn, $sql);
- $resultRow2 = mysqli_fetch_row($result2);
- } else {
- $result2 = mysql_query($sql) or die (mysql_error());
- $resultRow2 = mysql_fetch_row($result2);
- }
- $buildTimestamp = $resultRow2[$dbColumnCiTimestamp];
- if ($useMysqli)
- mysqli_free_result($result2);
- /* Read the timestamp of the first build inside the selected timescale */
- $firstTimescaleBuild = MAXCIBUILDNUMBER;
- if ($timescaleType <> "All") {
- $from = "ci";
- $timescaleFilter = "AND timestamp >= \"$timescaleValue\"";
- $sql = cleanSqlString(
- "SELECT MIN(build_number)
- FROM $from
- WHERE $projectFilter $timescaleFilter");
- $dbColumnCiBuildNumber = 0;
- if ($useMysqli) {
- $result2 = mysqli_query($conn, $sql);
- $resultRow2 = mysqli_fetch_row($result2);
- } else {
- $result2 = mysql_query($sql) or die (mysql_error());
- $resultRow2 = mysql_fetch_row($result2);
- }
- if ($resultRow2[$dbColumnCiBuildNumber] <> NULL AND $resultRow2[$dbColumnCiBuildNumber] <> "")
- $firstTimescaleBuild = $resultRow2[$dbColumnCiBuildNumber];
- if ($useMysqli)
- mysqli_free_result($result2);
- }
- }
-
- /* Print the used filters */
- echo '<table>';
- echo '<tr><td>Autotest:</td><td class="tableCellBackgroundTitle">' . $autotest . '</td></tr>';
- if ($project <> "All") {
- echo '<tr><td>Project:</td><td class="tableCellBackgroundTitle">' . $project . '</td></tr>';
- } else {
- if ($ciProject <> "All")
- echo '<tr><td>Project:</td><td class="tableCellBackgroundTitle">' . $ciProject . '</td></tr>';
- if ($ciBranch <> "All")
- echo '<tr><td>Branch:</td><td class="tableCellBackgroundTitle">' . $ciBranch . '</td></tr>';
- }
- if ($ciPlatform <> 0 AND $conf == "All") {
- echo '<tr><td>Platform:</td><td class="tableCellBackgroundTitle">' . $ciPlatformName . '</td></tr>';
- echo '<tr><td>Configuration:</td><td class="tableCellBackgroundTitle fontColorGrey">' . $ciPlatformFilter . '</td></tr>';
- }
- if ($conf <> "All")
- echo '<tr><td>Configuration:</td><td class="tableCellBackgroundTitle">' . $conf . '</td></tr>';
- if ($timescaleType == "Since")
- echo '<tr><td>Since:</td><td class="timescaleSince">' . $timescaleValue . '</td></tr>';
- if ($project <> "All")
- echo '<tr><td>Build:</td><td>' . $buildNumber . ' ('
- . substr($buildTimestamp, 0, strpos($buildTimestamp, " ")) . ')</td></tr>';
- echo '</table>';
-
- /* 1. Result summary in the latest/selected Build */
-
- echo '<div class="metricsTitle">';
- if ($project == "All") {
- echo '<b>Failure summary in latest Builds</b>';
- } else {
- if ($build == 0)
- echo '<b>Failure summary in latest Build</b>';
- else
- echo '<b>Failure summary in Build ' . $buildNumber . '</b>';
- }
- echo '</div>';
- echo '<table class="fontSmall">';
- echo '<tr><td colspan="2" class="tableCellBackgroundRedDark"><b>1) Significant Autotest in Blocking Configuration</b></td></tr>';
- if ($arrayFailingSignAutotestBlockingConfProjects[$key] <> "")
- echo $arrayFailingSignAutotestBlockingConfProjects[$key];
- else
- echo '<tr><td>-</td><td>-</td></tr>';
- echo '<tr><td colspan="2" class="tableCellBackgroundRed"><b>2) Significant Autotest in Insignificant Configuration</b></td></tr>';
- if ($arrayFailingSignAutotestInsignConfProjects[$key] <> "")
- echo $arrayFailingSignAutotestInsignConfProjects[$key];
- else
- echo '<tr><td>-</td><td>-</td></tr>';
- echo '<tr><td colspan="2" class="tableCellBackgroundRedLight"><b>3) Insignificant Autotest in Blocking Configuration</b></td></tr>';
- if ($arrayFailingInsignAutotestBlockingConfProjects[$key] <> "")
- echo $arrayFailingInsignAutotestBlockingConfProjects[$key];
- else
- echo '<tr><td>-</td><td>-</td></tr>';
- echo '<tr><td colspan="2" class="tableCellBackgroundRedLight"><b>4) Insignificant Autotest in Insignificant Configuration</b></td></tr>';
- if ($arrayFailingInsignAutotestInsignConfProjects[$key] <> "")
- echo $arrayFailingInsignAutotestInsignConfProjects[$key];
- else
- echo '<tr><td>-</td><td>-</td></tr>';
- echo '</table><br/>';
-
- /* 2. Autotest history */
-
- /* Read Autotest history data from the database */
- $projectFilter = "";
- if ($project <> "All") {
- $projectFilter = "AND project=\"$project\"";
- } else {
- if ($ciProject <> "All") // Filter with Project name (starting with it)
- $projectFilter = 'AND project LIKE "' . $ciProject . '_%"';
- if ($ciBranch <> "All") // Filter with Project branch (in the middle)
- $projectFilter = 'AND project LIKE "%_' . $ciBranch . '_%"';
- if ($ciProject <> "All" AND $ciBranch <> "All") // Filter with Project name and branch (starting with it)
- $projectFilter = 'AND project LIKE "' . $ciProject . '_' . $ciBranch . '_%"';
- }
- $confFilter = "";
- if ($ciPlatform <> 0) // Filter with Platform
- $confFilter = 'AND cfg LIKE "' . $ciPlatformFilterSql . '"';
- if ($conf <> "All") // Filter with Conf (overwrite possible Platform filter)
- $confFilter = "AND cfg=\"$conf\"";
- $sql = cleanSqlString(
- "SELECT name, project, build_number, cfg, passed, failed, skipped, runs, insignificant, timestamp
- FROM all_test
- WHERE name=\"$autotest\" $projectFilter $confFilter
- ORDER BY project, build_number, cfg"); // (Note: Timescale filter not used because it is very slow; Timescale checked instead when looping the data)
- $dbColumnTestName = 0;
- $dbColumnTestProject = 1;
- $dbColumnTestBuildNumber = 2;
- $dbColumnTestCfg = 3;
- $dbColumnTestPassed = 4;
- $dbColumnTestFailed = 5;
- $dbColumnTestSkipped = 6;
- $dbColumnTestRuns = 7;
- $dbColumnTestInsignificant = 8;
- $dbColumnTestTimestamp = 9;
- if ($useMysqli) {
- $result = mysqli_query($conn, $sql);
- $numberOfRows = mysqli_num_rows($result);
- } else {
- $result = mysql_query($sql) or die (mysql_error());
- $numberOfRows = mysql_num_rows($result);
- }
-
- /* Save the Project, Conf and Build counts for the Autotest */
- $arrayFailingAutotestProjectNames = array();
- $arrayFailingAutotestProjectNames = $_SESSION['arrayProjectName'];
- $arrayFailingAutotestProjectConfNames = array();
- $arrayFailingAutotestProjectConfBuilds = array();
- $arrayFailingAutotestConfNames = array();
- $arrayFailingAutotestConfBuilds = array();
- $checkedProject = "";
- $checkedProjectCount = 0;
- for ($j=0; $j<$numberOfRows; $j++) {
- if ($useMysqli)
- $resultRow = mysqli_fetch_row($result);
- else
- $resultRow = mysql_fetch_row($result);
- if ($resultRow[$dbColumnTestProject] <> $checkedProject) { // Clear Project specific Conf list when Project changes (the database list is in Project order)
- $arrayFailingAutotestConfNames = array();
- $arrayFailingAutotestConfBuilds = array();
- $checkedProject = $resultRow[$dbColumnTestProject];
- $checkedProjectCount++;
- }
- foreach ($arrayFailingAutotestProjectNames as $projectKey => $projectValue) { // Find the correct Project
- if ($projectValue == $resultRow[$dbColumnTestProject]) {
- foreach ($_SESSION['arrayConfName'] as $confKey => $confValue) { // Find the correct Configuration
- if ($confValue == $resultRow[$dbColumnTestCfg]) {
- $arrayFailingAutotestConfNames[$confKey] = $confValue;
- if (checkAutotestFailed($resultRow[$dbColumnTestPassed],
- $resultRow[$dbColumnTestFailed],
- $resultRow[$dbColumnTestSkipped])) // Failed Autotest identified by case results
- $autotestFailed = 1;
- else
- $autotestFailed = 0;
- $confString = ',' . $resultRow[$dbColumnTestBuildNumber]
- . '-' . $resultRow[$dbColumnTestInsignificant]
- . '-' . $autotestFailed
- . '-' . $resultRow[$dbColumnTestPassed]
- . '-' . $resultRow[$dbColumnTestFailed]
- . '-' . $resultRow[$dbColumnTestSkipped]
- . '-' . $resultRow[$dbColumnTestRuns]
- . '-,'; // Format is ",buildNumber-testInsign-testResultFailed-passed-failed-skipped-runs", where:
- $confStringBuildNumber = 0; // buildNumber
- $confStringInsignificant = 1; // testInsign = 0/1
- $confStringResultFailed = 2; // testResultFailed = 0/1
- $confStringPassed = 3; // passed = number of passed test cases
- $confStringFailed = 4; // failed = number of failed test cases
- $confStringSkipped = 5; // skipped = number of skipped test cases
- $confStringRuns = 6; // runs = number of test runs where >1 means reruns
- $arrayFailingAutotestConfBuilds[$confKey] = $arrayFailingAutotestConfBuilds[$confKey] . $confString;
- break; // Match found, skip the rest
- }
- }
- $arrayFailingAutotestProjectConfNames[$projectKey] = $arrayFailingAutotestConfNames; // Save Project specific Conf list (it uses the Project and Conf ids as saved in the initial loading of the page)
- $arrayFailingAutotestProjectConfBuilds[$projectKey] = $arrayFailingAutotestConfBuilds;
- break; // Match found, skip the rest
- }
- }
- }
-
- if ($useMysqli)
- mysqli_free_result($result);
-
- /* Print Autotest history data */
- echo '<div class="metricsTitle">';
- echo '<b>Result history by Project Configuration</b> in last ' . HISTORYBUILDCOUNT . ' Builds';
- echo '</div>';
- echo '<table class="fontSmall">';
- echo '<tr class="tableCellAlignLeft">';
- echo '<th></th>';
- echo '<th></th>';
- echo '<th colspan="' . HISTORYBUILDCOUNT . '" class="tableSideBorder">&nbsp;';
- if ($project <> "All") {
- echo 'Results in Builds';
- if ($timescaleType == "Since")
- echo ' (since ' . $timescaleValue . ')';
- echo ' - see <a href="javascript:void(0);" onclick="showMessageWindow(\'ci/msgautotestresultdescription.html\')">notation</a>';
- }
- echo '</th>';
- echo '</tr>';
- echo '<tr class="tableCellAlignLeft">';
- echo '<th class="tableBottomBorder">Project';
- if ($project <> "All" AND $checkedProjectCount > 0) // When a project filtered and some data found
- echo ' - <a href="javascript:void(0);" onclick="filterProjectAutotest(\'All\''
- . ',\'' . $autotest . '\')">see all</a>'; // ... add link to filter all projects for this autotest
- echo '</th>';
- echo '<th class="tableBottomBorder">Configuration</th>';
- if ($project == "All") {
- echo '<th colspan="' . HISTORYBUILDCOUNT . '" class="tableBottomBorder tableSideBorder">Results in Builds';
- if ($timescaleType == "Since")
- echo ' (since ' . $timescaleValue . ')';
- echo ' - see <a href="javascript:void(0);" onclick="showMessageWindow(\'ci/msgautotestresultdescription.html\')">notation</a>';
- echo '</th>';
- } else {
- $lastPrintedBuild = $latestBuildNumber;
- $firstPrintedBuild = 1;
- if ($lastPrintedBuild > HISTORYBUILDCOUNT) // Limit number of Builds printed (the last HISTORYBUILDCOUNT ones)
- $firstPrintedBuild = $lastPrintedBuild - HISTORYBUILDCOUNT + 1;
- if ($lastPrintedBuild <= HISTORYBUILDCOUNT) { // If latest Build number is less than the HISTORYBUILDCOUNT ...
- for ($i=1; $i<=HISTORYBUILDCOUNT-$lastPrintedBuild; $i++) {
- if (HISTORYBUILDCOUNT - $lastPrintedBuild >= $i)
- echo '<td class="tableBottomBorder tableSideBorder"></td>'; // ... print empty cells to the left
- }
- }
- for ($i=$firstPrintedBuild; $i<=$lastPrintedBuild; $i++) { // Print the Builds
- $filteredBuild = '<b>' . $i . '</b>';
- $cellColor = '<td class="tableBottomBorder tableSideBorder tableCellCentered">';
- if ($timescaleType == "All") {
- $buildNumberOffset = $latestBuildNumber - $i;
- if ($buildNumberOffset == $build) {
- $filteredBuild = $i;
- $cellColor = '<td class="tableBottomBorder tableSideBorder tableCellCentered tableCellBuildSelected">';
- }
- } else {
- if ($i >= $firstTimescaleBuild)
- $cellColor = '<td class="tableBottomBorder tableSideBorder tableCellCentered timescaleSince">';
- }
- echo $cellColor . $filteredBuild . '</td>';
- }
- }
- echo '</tr>';
- $k = 0;
- $previousProject = "";
- foreach ($arrayFailingAutotestProjectNames as $projectKey => $projectValue) {
- foreach ($_SESSION['arrayConfName'] as $confKey => $confValue) {
- if ($arrayFailingAutotestProjectConfNames[$projectKey][$confKey] <> "") {
- if ($k % 2 == 0)
- echo '<tr>';
- else
- echo '<tr class="tableBackgroundColored">';
- if ($projectValue == $previousProject) { // For better readability print the Project (and a line) only when it changes
- echo '<td></td>';
- echo '<td>' . $confValue . '</td>';
- } else {
- echo '<td class="tableTopBorder"><a href="javascript:void(0);" onclick="filterProjectAutotest(\''
- . $projectValue . '\'' . ',\'' . $autotest . '\')">' . $projectValue . '</a></td>'; // Link to filter the project and autotest
- echo '<td class="tableTopBorder">' . $confValue . '</td>';
- }
- $previousProject = $projectValue;
- $lastPrintedBuild = $arrayProjectBuildLatest[$projectKey];
- $firstPrintedBuild = 1;
- if ($lastPrintedBuild > HISTORYBUILDCOUNT) // Limit number of Builds printed (the last HISTORYBUILDCOUNT ones)
- $firstPrintedBuild = $lastPrintedBuild - HISTORYBUILDCOUNT + 1;
- if ($lastPrintedBuild <= HISTORYBUILDCOUNT) { // If latest Build number is less than the HISTORYBUILDCOUNT ...
- for ($i=1; $i<=HISTORYBUILDCOUNT-$lastPrintedBuild; $i++) {
- if (HISTORYBUILDCOUNT - $lastPrintedBuild >= $i)
- echo '<td class="tableSingleBorder"></td>'; // ... print empty cells to the left
- }
- }
- for ($i=$firstPrintedBuild; $i<=$lastPrintedBuild; $i++) { // Print the Builds
- /* Check Configuration Build result and significance from database (both for failed and successful Autotests) */
- $sql = cleanSqlString(
- "SELECT result, insignificant, timestamp
- FROM cfg
- WHERE cfg=\"$confValue\" AND project=\"$projectValue\" AND build_number=$i"); // Will return one row
- $dbColumnCfgResult = 0;
- $dbColumnCfgInsignificant = 1;
- $dbColumnCfgTimestamp = 2;
- if ($useMysqli) {
- $result2 = mysqli_query($conn, $sql);
- $resultRow2 = mysqli_fetch_row($result2);
- } else {
- $result2 = mysql_query($sql) or die (mysql_error());
- $resultRow2 = mysql_fetch_row($result2);
- }
- $buildResult = $resultRow2[$dbColumnCfgResult];
- $booBuildSign = FALSE;
- if ($resultRow2[$dbColumnCfgInsignificant] == 0)
- $booBuildSign = TRUE;
- $booBuildOutOfTimescale = FALSE;
- if ($timescaleType == "Since")
- if ($resultRow2[$dbColumnCfgTimestamp] < $timescaleValue)
- $booBuildOutOfTimescale = TRUE;
- /* Check Autotest result, significance and test case data from the array saved above */
- $stringAutotestDetails = ',' . $arrayFailingAutotestProjectConfBuilds[$projectKey][$confKey];
- $booAutotest = strpos($stringAutotestDetails, ',' . strval($i) . '-'); // If run
- $booSignAutotest = strpos($stringAutotestDetails, ',' . strval($i) . '-0'); // Significance
- $booFailedAutotest = FALSE; // Result
- if (strpos($stringAutotestDetails, ',' . strval($i) . '-0-1') OR
- strpos($stringAutotestDetails, ',' . strval($i) . '-1-1'))
- $booFailedAutotest = TRUE;
- $buildNumberString = createBuildNumberString($i);
- $buildDetails = '<b>Autotest ' . $autotest . ':</b><br>';
- if ($booAutotest) { // Autotest data available only from all_test table
- $stringAutotestDetails = substr($stringAutotestDetails, strpos($stringAutotestDetails, ',' . strval($i) . '-')); // Find the right Build
- $arrayAutotestDetails = array();
- $arrayAutotestDetails = explode('-', $stringAutotestDetails);
- if ($booFailedAutotest) // Autotest result
- $autotestResult = "FAILED";
- else
- $autotestResult = "PASSED";
- $buildDetails = $buildDetails . 'Result: ' . $autotestResult . '<br>';
- if ($booSignAutotest) // Autotest significance
- $autotestInsignificant = FLAGOFF;
- else
- $autotestInsignificant = FLAGON;
- $buildDetails = $buildDetails . 'Insignificant: ' . $autotestInsignificant . '<br>';
- $buildDetails = $buildDetails . 'Passed cases: ' . $arrayAutotestDetails[$confStringPassed] . '<br>';
- $buildDetails = $buildDetails . 'Failed cases: ' . $arrayAutotestDetails[$confStringFailed] . '<br>';
- $buildDetails = $buildDetails . 'Skipped cases: ' . $arrayAutotestDetails[$confStringSkipped] . '<br>';
- $buildDetails = $buildDetails . 'Runs: ' . $arrayAutotestDetails[$confStringRuns] . '<br>';
- } else {
- $buildDetails = $buildDetails . '(results not available)<br>';
- }
- $buildDetails = $buildDetails . '<br>';
- $buildDetails = $buildDetails . '<b>Build ' . $i . ':</b><br>';
- if ($buildResult <> "") { // Build data available
- $buildDetails = $buildDetails . 'Result: ' . $buildResult . '<br>'; // Build result (Build data available for all)
- $buildDetails = $buildDetails . 'Time: ' . $resultRow2[$dbColumnCfgTimestamp] . '<br>'; // Build time
- if ($booBuildSign) // Build significance
- $buildInsignificant = FLAGOFF;
- else
- $buildInsignificant = FLAGON;
- $buildDetails = $buildDetails . 'Insignificant: ' . $buildInsignificant . '<br>';
- } else {
- $buildDetails = $buildDetails . '(results not available)<br>';
- }
- $buildDetails = $buildDetails . '<i>Click link for the log file</i>';
- /* Print the failed Build */
- if ($booFailedAutotest) {
- if ($booSignAutotest) {
- if ($booBuildSign) {
- if ($booBuildOutOfTimescale) {
- // Dark red background (and bold) to indicate significant failure in blocking Conf, grey font color to indicate out of Timescale
- echo '<td class="tableSingleBorder tableCellCentered tableCellBackgroundRedDark fontColorGrey"><b>' . $i . '</b></td>';
- } else {
- // Dark red background (and bold) to indicate significant failure in blocking Conf; link to log file
- echo '<td class="tableSingleBorder tableCellCentered tableCellBackgroundRedDark"><b>
- <a href="' . LOGFILEPATHCI . $projectValue . '/build_' . $buildNumberString
- . '/' . $confValue . '/log.txt.gz" target="_blank">' . '<span class="popupMessage">'
- . $i . '<span class="fontColorBlack">' . $buildDetails . '</span></span>' . '</a></td>';
- }
- } else {
- if ($booBuildOutOfTimescale) {
- // Red background to indicate significant failure in insignificant Conf, grey font color to indicate out of Timescale
- echo '<td class="tableSingleBorder tableCellCentered tableCellBackgroundRed fontColorGrey">' . $i . '</td>';
- } else {
- // Red background to indicate significant failure in insignificant Conf; link to log file
- echo '<td class="tableSingleBorder tableCellCentered tableCellBackgroundRed">
- <a href="' . LOGFILEPATHCI . $projectValue . '/build_' . $buildNumberString
- . '/' . $confValue . '/log.txt.gz" target="_blank">' . '<span class="popupMessage">'
- . $i . '<span class="fontColorBlack">' . $buildDetails . '</span></span>' . '</a></td>';
- }
- }
- } else {
- if ($booBuildOutOfTimescale) {
- // Light red background to indicate insignificant failure, grey font color to indicate out of Timescale
- echo '<td class="tableSingleBorder tableCellCentered tableCellBackgroundRedLight fontColorGrey">' . $i . '</td>';
- } else {
- // Light red background to indicate insignificant failure; link to log file
- echo '<td class="tableSingleBorder tableCellCentered tableCellBackgroundRedLight">
- <a href="' . LOGFILEPATHCI . $projectValue . '/build_' . $buildNumberString
- . '/' . $confValue . '/log.txt.gz" target="_blank">' . '<span class="popupMessage">'
- . $i . '<span class="fontColorBlack">' . $buildDetails . '</span></span>' . '</a></td>';
- }
- }
- /* Print the successful or not run Build */
- } else {
- // Successful (Autotest run and not failed)
- if ($booAutotest) {
- if ($booBuildOutOfTimescale) {
- // Green background to indicate success, grey font color to indicate out of Timescale
- echo '<td class="tableSingleBorder tableCellCentered tableCellBackgroundGreen fontColorGrey">' . $i . '</td>';
- } else {
- // Green background to indicate success; log file link
- echo '<td class="tableSingleBorder tableCellCentered tableCellBackgroundGreen">
- <a href="' . LOGFILEPATHCI . $projectValue . '/build_' . $buildNumberString
- . '/' . $confValue . '/log.txt.gz" target="_blank">' . '<span class="popupMessage">'
- . $i . '<span class="fontColorBlack">' . $buildDetails . '</span></span>' . '</a></td>';
- }
- // Autotest was not run
- } else {
- if ($booBuildOutOfTimescale) {
- // White background to indicate not a failure, grey font color to indicate out of Timescale
- echo '<td class="tableSingleBorder tableCellCentered fontColorGrey">' . $i . '</td>';
- } else {
- // White background to indicate not a failure; log file link
- echo '<td class="tableSingleBorder tableCellCentered">
- <a href="' . LOGFILEPATHCI . $projectValue . '/build_' . $buildNumberString
- . '/' . $confValue . '/log.txt.gz" target="_blank">' . '<span class="popupMessage">'
- . $i . '<span class="fontColorBlack">' . $buildDetails . '</span></span>' . '</a></td>';
- }
- }
- }
- }
- echo '</tr>';
- $k++;
- }
- }
- }
- echo '<tr class="tableTopBorder"><td></td><td></td><td colspan="' . HISTORYBUILDCOUNT . '"></td></tr>'; // Print bottom line to the end of the table
- echo '</table><br/>';
- if ($useMysqli)
- mysqli_free_result($result2);
- $timeAutotestHistoryEnd = microtime(true);
-
- /* 3. Autotest case data */
-
- $arrayTestcaseNames = array();
- $arrayTestcaseFailed = array();
- $arrayTestcaseAll = array();
- $arrayInvalidTestResultFiles = array();
- $arrayTestcaseConfs = array();
- $failingTestcaseCount = 0;
- $testcaseCount = 0;
- if ($round == 1) {
- echo '<div class="metricsTitle">';
- echo '<b>Test cases <span class="loading"><span>.</span><span>.</span><span>.</span></span> </b>';
- echo '</div>';
- } else {
- echo '<div class="metricsTitle">';
- echo '<b>Test cases</b>'; // Title to be continued below with build details ...
- if ($checkedProjectCount == 1) { // Data shown only for one project for performance reasons
-
- /* Get the latest project build number if not available yet (the combined $ciProject and $ciBranch selection results to one project although $project not selected) */
- if ($buildNumber == MAXCIBUILDNUMBER) {
- foreach ($_SESSION['arrayProjectName'] as $projectKey => $projectValue) {
- if ($checkedProject == $projectValue)
- $buildNumber = $arrayProjectBuildLatest[$projectKey];
- }
- }
-
- /* Get the first available/filtered build in database */
- $minBuildNumberInDatabase = $_SESSION['minBuildNumberInDatabase'];
-
- /* Read the test results from the Project directory (structure is e.g. QtBase_stable_Integration/build_03681/macx-ios-clang_OSX_10.8 */
- if ($timescaleType == "All") { // If timescale not filtered read only the latest/selected build
- $buildCheckType = CHECKBUILDONE;
- $buildNumberToCheck = $buildNumber;
- } else { // If timescale filtered read all the available builds since the date
- $buildCheckType = CHECKBUILDSINCE;
- $buildNumberToCheck = setMinBuildNumberToCheck($latestBuildNumber, $minBuildNumberInDatabase, $timescaleType);
- }
- if ($ciPlatform == 0) // If Platform not filtered, read any Conf
- $confToCheck = "All";
- else // Filter with Platform
- $confToCheck = $ciPlatformFilter;
- if ($conf <> "All") // Filter with Conf (overwrite possible Platform filter)
- $confToCheck = $conf;
- $minBuildNumberWithTestResults = readProjectTestResultDirectory(
- CITESTRESULTSDIRECTORY, $checkedProject, $buildCheckType, $buildNumberToCheck, $confToCheck, TRUE, $arrayAutotestName,
- $arrayFailingAutotestAllBuilds,
- $arrayTestcaseNames, $arrayTestcaseFailed, $arrayTestcaseAll, $arrayTestcaseConfs,
- $failingTestcaseCount, $testcaseCount, $arrayInvalidTestResultFiles); // Returns the first available build number if timescale filtered, otherwise the selected build
-
- /* If test result files found */
- if ($minBuildNumberWithTestResults < MAXCIBUILDNUMBER) {
-
- /* Calculate the failure percentage */
- $maxCount = 0;
- for ($k=0; $k<$testcaseCount; $k++) {
- $arrayTestcaseFailedPercentage[$k] = calculatePercentage($arrayTestcaseFailed[$k], $arrayTestcaseAll[$k]);
- if ($arrayTestcaseFailed[$k] > $maxCount)
- $maxCount = $arrayTestcaseFailed[$k]; // Save maxCount for sorting
- if ($arrayTestcaseAll[$k] > $maxCount)
- $maxCount = $arrayTestcaseAll[$k]; // Save maxCount for sorting
- }
-
- /* Read the timestamp of the first build with detailed test result data */
- if ($project <> "All") {
- $projectFilter = "project = \"$project\""; // Project is filtered here
- $buildFilter = "build_number = $minBuildNumberWithTestResults";
- $from = "ci";
- $sql = "SELECT MIN(timestamp)
- FROM $from
- WHERE $projectFilter AND $buildFilter";
- $dbColumnCiTimestamp = 0;
- if ($useMysqli) {
- $result2 = mysqli_query($conn, $sql);
- $numberOfRows2 = mysqli_num_rows($result2);
- } else {
- $result2 = mysql_query($sql) or die (mysql_error());
- $numberOfRows2 = mysql_num_rows($result2);
- }
- if ($useMysqli)
- $resultRow2 = mysqli_fetch_row($result2);
- else
- $resultRow2 = mysql_fetch_row($result2);
- $minBuildNumberWithTestResultsTimestamp = $resultRow2[$dbColumnCiTimestamp];
- if ($useMysqli)
- mysqli_free_result($result2); // Free result set
- }
-
- /* Print the test report info */
- $buildCount = $latestBuildNumber - $minBuildNumberWithTestResults + 1;
- if ($timescaleType == "All")
- $testResultBuilds = ' from build ';
- else
- $testResultBuilds = ' from ' . $buildCount . ' builds since ';
- $testResultBuilds = $testResultBuilds . $minBuildNumberWithTestResults . ' ('
- . substr($minBuildNumberWithTestResultsTimestamp, 0, strpos($minBuildNumberWithTestResultsTimestamp, " ")) . ')';
- $testResultBuildsSeeMore = setSeeMoreNote($timescaleType, $timescaleValue);
- $failingTestcasePercentage = calculatePercentage($failingTestcaseCount, $testcaseCount);
- echo $testResultBuilds . $testResultBuildsSeeMore . '</div>'; // ... the title closed here
-
- /* Set the default sorting to Failed % when displayed */
- $sortBy = AUTOTESTSORTBYAUTOTESTFAILEDPERCENTAGE;
-
- /* Print the test case table titles */
- echo '<table class="fontSmall">';
- echo '<tr>';
- echo '<th></th>';
- if ($timescaleType == "All" AND CITESTRESULTBUILDCOUNT == 1) {
- $buildData = '<td colspan="3" class="tableBottomBorder tableSideBorder tableCellCentered tableCellBuildSelected">';
- if ($build == 0)
- $buildData = $buildData . 'LATEST BUILD</td>';
- else
- $buildData = $buildData . 'BUILD ' . $buildNumber . '</td>';
- }
- if ($timescaleType == "All" AND CITESTRESULTBUILDCOUNT > 1)
- $buildData = '<td colspan="3" class="tableBottomBorder tableSideBorder tableCellCentered timescaleAll">
- <b>ALL BUILDS (SINCE ' . $_SESSION['minBuildDate'] . ')</b></td>';
- if ($timescaleType == "Since") {
- if ($minBuildNumberWithTestResults == $firstTimescaleBuild) // Data available since the same build as filtered by date
- $buildData = '<td colspan="3" class="tableBottomBorder tableSideBorder tableCellCentered timescaleSince">';
- else // Data available only for certain builds after those filtered by date
- $buildData = '<td colspan="3" class="tableBottomBorder tableSideBorder tableCellCentered timescaleSinceBuild">';
- $buildData = $buildData . 'ALL BUILDS</td>';
- }
- echo $buildData;
- if ($conf == "All") { // Show list of configurations only when not filtered
- echo '<th></th>';
- echo $buildData;
- }
- echo '</tr>';
-
- echo '<tr>';
- echo '<th></th>';
- $xmlBuildInfo = '<th colspan="3" class="tableBottomBorder tableSideBorder">Detailed Test Results';
- if ($timescaleType == "Since" OR CITESTRESULTBUILDCOUNT > 1)
- $xmlBuildInfo = $xmlBuildInfo . ' since Build ' . $minBuildNumberWithTestResults;
- $xmlBuildInfo = $xmlBuildInfo . '</th>';
- echo $xmlBuildInfo;
- if ($conf == "All") { // Show list of configurations only when not filtered
- echo '<th></th>';
- echo $xmlBuildInfo;
- }
- echo '</tr>';
-
- echo '<tr>';
- echo '<th class="tableBottomBorder tableCellAlignLeft">Failed test cases</th>';
- echo '<td class="tableBottomBorder tableLeftBorder tableCellCentered">Failed</td>';
- echo '<td class="tableBottomBorder tableCellCentered">Total</td>';
- echo '<td class="sortField tableBottomBorder tableRightBorder tableCellCentered">';
- if ($sortBy == AUTOTESTSORTBYAUTOTESTFAILEDPERCENTAGE)
- echo 'Failed % &diams;'; // Identify selected sorting
- else
- echo '<a href="javascript:void(0);" onclick="filterAutotest(\'' . $autotest . '\',' . AUTOTESTSORTBYAUTOTESTFAILEDPERCENTAGE . ')">
- Failed % <img src="images/sort-descending.png" alt="Sort" title="sort descending"></a>';
- echo '</td>';
- if ($conf == "All") { // Show list of configurations only when not filtered
- echo '<th class="tableBottomBorder tableCellAlignLeft">';
- echo 'Configuration';
- echo '<td class="tableBottomBorder tableLeftBorder tableCellCentered">Failed</td>';
- echo '<td class="tableBottomBorder tableCellCentered">Total</td>';
- echo '<td class="sortField tableBottomBorder tableRightBorder tableCellCentered">Failed %</td>';
- echo '</th>';
- }
- echo '</tr>';
-
- /* Print list of test cases */
- $k = 0;
- if ($maxCount < 100)
- $maxCount = 100; // Loop at least the percentage scale
- for ($countOrder=$maxCount; $countOrder>=0; $countOrder--) { // Sort the list by looping from the highest count
- for ($i=0; $i<$testcaseCount; $i++) { // Loop the test cases
- if ($sortBy == AUTOTESTSORTBYAUTOTESTFAILEDPERCENTAGE)
- $sortFieldValue = $arrayTestcaseFailedPercentage[$i];
- else
- $sortFieldValue = $arrayTestcaseFailed[$i];
- if ($sortFieldValue == $countOrder) { // Print the ones that are next in the sorting order
- if ($arrayTestcaseFailed[$i]
- + $arrayTestcaseFailedPercentage[$i] > 0) { // Skip if not any failures
- if ($k % 2 == 0)
- echo '<tr>';
- else
- echo '<tr class="tableBackgroundColored">';
-
- /* Test case name */
- echo '<td>' . $arrayTestcaseNames[$i] . '</td>';
-
- /* Test case: Builds where failed */
- echo '<td class="tableLeftBorder tableCellCentered tableWidth2">';
- if ($arrayTestcaseFailed[$i] > 0)
- echo $arrayTestcaseFailed[$i];
- else
- echo '-';
- echo '</td>';
-
- /* Test case: Builds where run (all) */
- echo '<td class="tableCellCentered tableWidth2">';
- if ($arrayTestcaseAll[$i] > 0)
- echo $arrayTestcaseAll[$i];
- else
- echo '-';
- echo '</td>';
-
- /* Test case: Failed % */
- if ($arrayTestcaseFailedPercentage[$i] >= AUTOTESTFAILUREWARNINGLEVEL)
- echo '<td class="tableRightBorder tableCellCentered fontColorRed tableWidth1">';
- else
- echo '<td class="tableRightBorder tableCellCentered tableWidth2">';
- if ($arrayTestcaseFailedPercentage[$i] > 0)
- echo $arrayTestcaseFailedPercentage[$i] . '%';
- else
- echo '-';
- echo '</td>';
-
- /* Configurations */
- if ($conf == "All") { // Show list of configurations only when not filtered
-
- /* Configuration: Name */
- echo '<td class="tableTopBorder tableLeftBorder">';
- echo '<table>';
- $m = 0;
- foreach ($arrayTestcaseConfs[$i] as $confKey => $testcaseConf)
- if ($testcaseConf[FAILINGTESTCASECONFFAILED] > 0) {
- if ($m == 0)
- echo '<tr>';
- else
- echo '<tr class="tableTopBorder">';
- echo '<td>' . $testcaseConf[FAILINGTESTCASECONFNAME] . '</td>';
- echo '</tr>';
- $m++;
- }
- echo '</table>';
- echo '</td>';
-
- /* Configuration: Failed testcases */
- echo '<td class="tableTopBorder tableLeftBorder">';
- echo '<table class="tableWidth2">';
- $m = 0;
- foreach ($arrayTestcaseConfs[$i] as $confKey => $testcaseConf)
- if ($testcaseConf[FAILINGTESTCASECONFFAILED] > 0) {
- if ($m == 0)
- echo '<tr>';
- else
- echo '<tr class="tableTopBorder">';
- echo '<td class="tableCellCentered">' . $testcaseConf[FAILINGTESTCASECONFFAILED] . '</td>';
- echo '</tr>';
- $m++;
- }
- echo '</table>';
- echo '</td>';
-
- /* Configuration: All testcases */
- echo '<td class="tableTopBorder">';
- echo '<table class="tableWidth2">';
- $m = 0;
- foreach ($arrayTestcaseConfs[$i] as $confKey => $testcaseConf)
- if ($testcaseConf[FAILINGTESTCASECONFFAILED] > 0) {
- if ($m == 0)
- echo '<tr>';
- else
- echo '<tr class="tableTopBorder">';
- echo '<td class="tableCellCentered">' . $testcaseConf[FAILINGTESTCASECONFALL] . '</td>';
- echo '</tr>';
- $m++;
- }
- echo '</table>';
- echo '</td>';
-
- /* Configuration: Failed % */
- echo '<td class="tableTopBorder tableRightBorder">';
- echo '<table class="tableWidth2">';
- $m = 0;
- foreach ($arrayTestcaseConfs[$i] as $confKey => $testcaseConf)
- if ($testcaseConf[FAILINGTESTCASECONFFAILED] > 0) {
- if ($m == 0)
- echo '<tr>';
- else
- echo '<tr class="tableTopBorder">';
- $testcaseConfFailedPercentage = calculatePercentage(
- $testcaseConf[FAILINGTESTCASECONFFAILED],
- $testcaseConf[FAILINGTESTCASECONFALL]);
- if ($testcaseConfFailedPercentage >= AUTOTESTFAILUREWARNINGLEVEL)
- echo '<td class="tableCellCentered fontColorRed">';
- else
- echo '<td class="tableCellCentered">';
- echo $testcaseConfFailedPercentage . '%';
- echo '</td>';
- echo '</tr>';
- $m++;
- }
- echo '</table>';
- echo '</td>';
- }
-
- echo '</tr>';
- $k++;
- }
- } // Endif sorting order
- } // Endfor Autotests
- } // Endfor sorting
- $printedTestcases = $k;
-
- /* Print Totals summary row */
- $arrayTestcaseFailedSum = 0;
- $arrayTestcaseAllSum = 0;
- $arrayTestcaseFailedPercentageSum = 0;
- for ($i=0; $i<$testcaseCount; $i++) { // Loop the test cases
- if ($arrayTestcaseFailed[$i] > 0) {
- $arrayTestcaseFailedSum = $arrayTestcaseFailedSum + $arrayTestcaseFailed[$i];
- $arrayTestcaseAllSum = $arrayTestcaseAllSum + $arrayTestcaseAll[$i];
- }
- }
- $arrayTestcaseFailedPercentageSum = calculatePercentage($arrayTestcaseFailedSum, $arrayTestcaseAllSum);
- echo '<tr>';
- echo '<td class="tableTopBorder">total (' . $failingTestcaseCount . ' failed / ' . $testcaseCount
- . ' total = ' . $failingTestcasePercentage . '%)</td>';
- echo '<td class="tableCellCentered tableLeftBorder tableTopBorder">' . $arrayTestcaseFailedSum . '</td>';
- echo '<td class="tableCellCentered tableTopBorder">' . $arrayTestcaseAllSum . '</td>';
- echo '<td class="tableRightBorder tableTopBorder tableCellCentered">' . $arrayTestcaseFailedPercentageSum . '%</td>';
- if ($conf == "All") // Show list of configurations only when not filtered
- echo '<td colspan="4" class="tableRightBorder tableTopBorder tableCellCentered"></td>';
- echo '</tr>';
- echo '</table>';
-
- /* Print the list of files that couldn't be opened */
- if (count($arrayInvalidTestResultFiles) > 0) {
- echo '<br>';
- echo '<table class="fontSmall fontColorGrey">';
- echo '<tr>';
- echo '<th class="tableCellAlignLeft">Total ' . count($arrayInvalidTestResultFiles)
- . ' test result files could not be opened (the xml format may be invalid)</th>';
- echo '</tr>';
- foreach ($arrayInvalidTestResultFiles as $invalidFile) {
- echo '<tr>';
- echo '<td>' . $invalidFile . '</td>';
- echo '</tr>';
- }
- echo '</table>';
- }
-
- } else {
- echo '</div><br/><br/>(not any test result files available)<br/><br/>';
- }
-
- } else {
- echo '</div><br/><br/><i>Please select one of the Projects above to see the test case list...</i><br/><br/>';
- }
- $timeAutotestCaseEnd = microtime(true);
- }
-
- break; // Match found, skip the rest
-
- } // endif Selected Autotest
- } // endif foreach
- } else {
- echo '<br/>Filter values not ready or they are expired, please <a href="javascript:void(0);" onclick="reloadFilters()">reload</a> ...';
- }
-
- /* Elapsed time */
- if ($showElapsedTime) {
- $timeEnd = microtime(true);
- $timeDbConnect = round($timeConnect - $timeStart, 2);
- $timeHistory = round($timeAutotestHistoryEnd - $timeAutotestHistoryStart, 2);
- if (isset($timeAutotestCaseEnd))
- $timeCases = round($timeAutotestCaseEnd - $timeAutotestHistoryEnd, 2);
- $time = round($timeEnd - $timeStart, 2);
- echo "<div class=\"elapdedTime\">";
- echo "<ul><li>";
- echo "Total time: $time s (database connect time: $timeDbConnect s, history list time: $timeHistory s";
- if (isset($timeAutotestCaseEnd))
- echo ", test case list time: $timeCases s";
- echo ")</li></ul>";
- echo "</div>";
- }
-
-}
-
-/* Close connection to the server */
-require(__DIR__.'/../connectionclose.php');
-
-?>
diff --git a/non-puppet/qtmetrics/ci/showprojectdashboard.php b/non-puppet/qtmetrics/ci/showprojectdashboard.php
deleted file mode 100644
index accf91c..0000000
--- a/non-puppet/qtmetrics/ci/showprojectdashboard.php
+++ /dev/null
@@ -1,227 +0,0 @@
-<?php
-session_start();
-?>
-
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-include "definitions.php";
-include "functions.php";
-include(__DIR__.'/../commonfunctions.php');
-include "metricsboxdefinitions.php";
-
-$timeStart = microtime(true);
-
-/* Get the input parameters */
-$round = $_GET["round"];
-$arrayFilters = array();
-$arrayFilter = array();
-$filters = $_GET["filters"];
-$filters = rawurldecode($filters); // Decode the encoded parameter (encoding in ajaxrequest.js)
-$arrayFilters = explode(FILTERSEPARATOR, $filters);
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERPROJECT]);
-$project = $arrayFilter[1];
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERCIPROJECT]);
-$ciProject = $arrayFilter[1];
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERCIBRANCH]);
-$ciBranch = $arrayFilter[1];
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERCIPLATFORM]);
-$ciPlatform = $arrayFilter[1];
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERCONF]);
-$conf = $arrayFilter[1];
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERBUILD]);
-$build = $arrayFilter[1];
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERTIMESCALETYPE]);
-$timescaleType = $arrayFilter[1];
-$arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERTIMESCALEVALUE]);
-$timescaleValue = $arrayFilter[1];
-
-/* Connect to the server */
-require(__DIR__.'/../connect.php');
-$timeConnect = microtime(true);
-include(__DIR__.'/../commondefinitions.php');
-
-/* Select database */
-if ($useMysqli) {
- // Selected in mysqli_connect() call
-} else {
- $selectdb="USE $db";
- $result = mysql_query($selectdb) or die ("Failure: Unable to use the database !");
-}
-
-/* Platform filter definitions */
-if ($ciPlatform == "All")
- $ciPlatform = 0;
-$ciPlatform = (int)$ciPlatform;
-$ciPlatformName = $arrayPlatform[$ciPlatform][0];
-$ciPlatformFilter = $arrayPlatform[$ciPlatform][1];
-$ciPlatformFilterSql = str_replace('*', '%', $arrayPlatform[$ciPlatform][1]); // Change the format for MySQL (wildcard '*' -> '%')
-
-/************************************************************/
-/* NESTED LEVEL 1: No project filtering done (default view) */
-/************************************************************/
-
-if ($project == "All") {
- echo '<div class="metricsBoxHeader">';
- echo '<div class="metricsBoxHeaderIcon">';
- if ($round == 1)
- echo "<img src=\"images/ajax-loader.gif\" alt=\"loading\">&nbsp&nbsp"; // On the first round show the loading icon
- else
- echo '<a href="javascript:void(0);" class="imgLink" onclick="showMessageWindow(\'ci/msgprojectdashboardlevel1.html\')">
- <img src="images/info.png" alt="info"></a>&nbsp&nbsp';
- echo '</div>';
- echo '<div class="metricsBoxHeaderText">';
- echo '<b>PROJECT DASHBOARD:</b> Select Project';
- echo '</div>';
- echo '</div>';
- if (isset($_SESSION['arrayProjectName'])) {
-
- /* Print the used filters */
- if ($ciProject <> "All" OR $ciBranch <> "All" OR $ciPlatform <> 0 OR $conf <> "All" OR $timescaleType <> "All") {
- echo '<table>';
- if ($ciProject <> "All")
- echo '<tr><td>Project:</td><td class="tableCellBackgroundTitle">' . $ciProject . '</td></tr>';
- if ($ciBranch <> "All")
- echo '<tr><td>Branch:</td><td class="tableCellBackgroundTitle">' . $ciBranch . '</td></tr>';
- if ($ciPlatform <> 0 AND $conf == "All") {
- echo '<tr><td>Platform:</td><td class="tableCellBackgroundTitle">' . $ciPlatformName . '</td></tr>';
- echo '<tr><td>Configuration:</td><td class="tableCellBackgroundTitle fontColorGrey">' . $ciPlatformFilter . '</td></tr>';
- }
- if ($conf <> "All")
- echo '<tr><td>Configuration:</td><td class="tableCellBackgroundTitle">' . $conf . '</td></tr>';
- if ($timescaleType == "Since")
- echo '<tr><td>Since:</td><td class="timescaleSince">' . $timescaleValue . '</td></tr>';
- echo '</table>';
- }
- $projectTitle = "<b>Projects</b>";
- if ($ciPlatform <> 0 OR $conf <> "All")
- $projectTitle = "<b>Projects built in selected Configurations</b> (Note: The data is from Project level)";
- echo '<div class="metricsTitle">';
- echo $projectTitle;
- echo '</div>';
-
- /* Show list of Projects (from the session variable that was saved for the filters */
- require('listprojects.php');
-
- } else {
- echo '<br/>Filter values not ready or they are expired, please <a href="javascript:void(0);" onclick="reloadFilters()">reload</a> ...';
- }
-}
-
-/************************************************************/
-/* NESTED LEVEL 2: Project filtered */
-/************************************************************/
-
-if ($project <> "All" AND $conf == "All") {
- echo '<div class="metricsBoxHeader">';
- echo '<div class="metricsBoxHeaderIcon">';
- if ($round == 1)
- echo "<img src=\"images/ajax-loader.gif\" alt=\"loading\">&nbsp&nbsp"; // On the first round show the loading icon
- else
- echo '<a href="javascript:void(0);" class="imgLink" onclick="showMessageWindow(\'ci/msgprojectdashboardlevel2.html\')">
- <img src="images/info.png" alt="info"></a>&nbsp&nbsp';
- echo '</div>';
- echo '<div class="metricsBoxHeaderText">';
- echo '<b>PROJECT DASHBOARD:</b> <a href="javascript:void(0);" onclick="clearProjectFilters()">Select Project</a> -> ' . $project;
- echo '</div>';
- echo '</div>';
- if (isset($_SESSION['arrayProjectName'])) {
- $projectFilter = "project=\"$project\"";
- $confFilter = "";
- if ($ciPlatform <> 0)
- $confFilter = 'cfg LIKE "' . $ciPlatformFilterSql . '"';
- /* Show general data */
- require('listgeneraldata.php');
- /* Show Build history */
- require('listbuilds.php');
- /* Show Configurations for the latest/selected Build */
- require('listconfigurations.php');
- require('graphbuildphases.php'); // Build phases graph
- /* Show Top failing autotests */
- require('listfailingautotests.php');
- } else {
- echo '<br/>Filter values not ready or they are expired, please <a href="javascript:void(0);" onclick="reloadFilters()">reload</a> ...';
- }
-}
-
-/************************************************************/
-/* NESTED LEVEL 3: Project and Configuration filtered */
-/************************************************************/
-
-if ($project <> "All" AND $conf <> "All") {
- echo '<div class="metricsBoxHeader">';
- echo '<div class="metricsBoxHeaderIcon">';
- if ($round == 1)
- echo "<img src=\"images/ajax-loader.gif\" alt=\"loading\">&nbsp&nbsp"; // On the first round show the loading icon
- else
- echo '<a href="javascript:void(0);" class="imgLink" onclick="showMessageWindow(\'ci/msgprojectdashboardlevel3.html\')">
- <img src="images/info.png" alt="info"></a>&nbsp&nbsp';
- echo '</div>';
- echo '<div class="metricsBoxHeaderText">';
- echo '<b>PROJECT DASHBOARD:</b> <a href="javascript:void(0);" onclick="clearProjectFilters()">Select Project</a> ->
- <a href="javascript:void(0);" onclick="filterConf(\'All\')">' . $project . '</a> -> ' . $conf;
- echo '</div>';
- echo '</div>';
- if (isset($_SESSION['arrayProjectName'])) {
- /* Show general data */
- $projectFilter = "project=\"$project\"";
- $confFilter = "cfg=\"$conf\"";
- require('listgeneraldata.php');
- if ($projectConfValid) {
- /* Show Build history */
- require('listbuilds.php');
- /* Show Top failing autotests */
- require('listfailingautotests.php');
- } else {
- echo "<br/>Configuration $conf not built for $project<br/>";
- }
- } else {
- echo '<br/>Filter values not ready or they are expired, please <a href="javascript:void(0);" onclick="reloadFilters()">reload</a> ...';
- }
-}
-
-/* Close connection to the server */
-require(__DIR__.'/../connectionclose.php');
-
-?> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/commondefinitions.php b/non-puppet/qtmetrics/commondefinitions.php
deleted file mode 100644
index faeef28..0000000
--- a/non-puppet/qtmetrics/commondefinitions.php
+++ /dev/null
@@ -1,52 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-if (!defined("LOADINGMESSAGEDELAY"))
- define("LOADINGMESSAGEDELAY", 3000); // The delay (in ms) after which the loading message pop-up will be displayed (set to 0 to disable the pop-up)
-
-/* Set to show or hide elapsed time printing (for testing purposes) */
-$showElapsedTime = FALSE; // Set TRUE to show elapsed database and calculation times (different implementations in different boxes)
-
-?>
diff --git a/non-puppet/qtmetrics/commonfunctions.php b/non-puppet/qtmetrics/commonfunctions.php
deleted file mode 100644
index e79167f..0000000
--- a/non-puppet/qtmetrics/commonfunctions.php
+++ /dev/null
@@ -1,189 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-date_default_timezone_set("UTC"); // Set timezone
-
-/* Converts UTC time to local time based on time offset
- Input: $time is in UTC in format "Y-m-d H:i:s" e.g. "2013-06-07 04:02:06",
- $offset is e.g. "GMT+0300" or "GMT+0000" or "GMT-0600"
- Output: in UTC in format without the seconds (to save display space) "Y-m-d H:i" e.g. "2013-06-07 07:02" */
-function getLocalTime($time, $offset)
-{
- $originalTimestamp = strtotime($time . ' UTC');
- $offsetSign = substr($offset, 3, 1);
- $offsetHour = intval(substr($offset, 4, 2));
- $offsetMinute = intval(substr($offset, 6, 2));
-
- if ($offsetSign == "-") {
- $modifiedTimestamp = mktime(
- intval(date("H",$originalTimestamp)) - $offsetHour,
- intval(date("i",$originalTimestamp)) - $offsetMinute,
- intval(date("s",$originalTimestamp)),
- intval(date("m",$originalTimestamp)),
- intval(date("d",$originalTimestamp)),
- intval(date("Y",$originalTimestamp)));
- } else {
- $modifiedTimestamp = mktime(
- intval(date("H",$originalTimestamp)) + $offsetHour,
- intval(date("i",$originalTimestamp)) + $offsetMinute,
- intval(date("s",$originalTimestamp)),
- intval(date("m",$originalTimestamp)),
- intval(date("d",$originalTimestamp)),
- intval(date("Y",$originalTimestamp)));
- }
-
- $local = date("Y-m-d H:i", $modifiedTimestamp);
- return $local;
-}
-
-/* Checks the time between two timestamps (http://www.if-not-true-then-false.com/2010/php-calculate-real-differences-between-two-dates-or-timestamps/)
- Input: $time1, $time2 in UNIX timestamp format or PHP strtotime compatible strings
- Output: string in format "18 years, 11 months, 30 days, 23 hours, 59 minutes, 59 seconds" */
-function dateDiff($time1, $time2, $precision = 6)
-{
- // If not numeric then convert texts to unix timestamps
- if (!is_int($time1)) {
- $time1 = strtotime($time1);
- }
- if (!is_int($time2)) {
- $time2 = strtotime($time2);
- }
- // If time1 is bigger than time2 then swap time1 and time2
- if ($time1 > $time2) {
- $ttime = $time1;
- $time1 = $time2;
- $time2 = $ttime;
- }
- // Set up intervals and diffs arrays
- $intervals = array('year','month','day','hour','minute','second');
- $diffs = array();
- // Loop thru all intervals
- foreach ($intervals as $interval) {
- // Create temp time from time1 and interval
- $ttime = strtotime('+1 ' . $interval, $time1);
- // Set initial values
- $add = 1;
- $looped = 0;
- // Loop until temp time is smaller than time2
- while ($time2 >= $ttime) {
- // Create new temp time from time1 and interval
- $add++;
- $ttime = strtotime("+" . $add . " " . $interval, $time1);
- $looped++;
- }
-
- $time1 = strtotime("+" . $looped . " " . $interval, $time1);
- $diffs[$interval] = $looped;
- }
- $count = 0;
- $times = array();
- // Loop thru all diffs
- foreach ($diffs as $interval => $value) {
- // Break if we have needed precision
- if ($count >= $precision) {
- break;
- }
- // Add value and interval
- // if value is bigger than 0
- if ($value > 0) {
- // Add s if value is not 1
- if ($value != 1) {
- $interval .= "s";
- }
- // Add value and interval to times array
- $times[] = $value . " " . $interval;
- $count++;
- }
- }
- // Return string with times
- return implode(", ", $times);
-}
-
-/* Checks the time between two timestamps in seconds
- Input: $startTime is the earlier timestamp (2014-06-30 12:30:00)
- $endTime is the later timestamp (2014-06-30 12:45:15)
- Output: integer (seconds) */
-function timeDiffSeconds($startTime, $endTime)
-{
- // If not numeric then convert texts to unix timestamps
- if (!is_int($startTime)) {
- $startTime = strtotime($startTime);
- }
- if (!is_int($endTime)) {
- $endTime = strtotime($endTime);
- }
- // Time difference in seconds
- $difference = abs($endTime - $startTime);
- return $difference;
-}
-
-/* Checks if the code here is run on defined public server
- Input: $publicServer is the defined public server name
- Output: TRUE/FALSE */
-function isPublicServer($publicServer)
-{
- $result = FALSE;
- if ($_SERVER['SERVER_NAME'] == $publicServer)
- $result = TRUE;
- return $result;
-}
-
-/* Checks if client is connecting from a list of internal IP addresses
- Input: $internalIps is the list of internal IP addresses
- Output: TRUE/FALSE */
-function isInternalClient($internalIps)
-{
- $remoteAddress = $_SERVER['REMOTE_ADDR'];
- $result = FALSE;
- foreach($internalIps as $ip) {
- if($remoteAddress == $ip) {
- $result = TRUE;
- break;
- }
- }
- return $result;
-}
-
-?>
diff --git a/non-puppet/qtmetrics/connect.php b/non-puppet/qtmetrics/connect.php
deleted file mode 100644
index 8c31ff8..0000000
--- a/non-puppet/qtmetrics/connect.php
+++ /dev/null
@@ -1,70 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-require "connectiondefinitions.php";
-
-if ($disableErrorMessages)
- error_reporting(E_ERROR); // Hide error messages to prevent e.g. MySQL connection setting to be shown
-
-if ($useMysqli) {
- if ($usePersistentConnection)
- $conn = mysqli_connect("p:".$host, $user, $passwd, $db);
- else
- $conn = mysqli_connect($host, $user, $passwd, $db); // (see http://www.php.net/manual/en/mysqli.construct.php)
- if (mysqli_connect_errno()) { // Check connection
- printf("Connect failed !");
- exit();
- }
-} else {
- if ($usePersistentConnection)
- $conn = mysql_pconnect($host,$user,$passwd)
- or die ("Connect failed to host !"); // Use persistent connection (see http://php.net/manual/en/function.mysql-pconnect.php)
- else
- $conn = mysql_connect($host,$user,$passwd,false,MYSQL_CLIENT_INTERACTIVE)
- or die ("Connect failed to host !"); // Use interactive connection (see http://php.net/manual/en/function.mysql-connect.php or http://notaapit.blogspot.fi/2010/10/handling-mysql-too-many-connections.html)
- mysql_select_db($db,$conn) or die ("Connect failed to database !");
-}
-
-?> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/connectionclose.php b/non-puppet/qtmetrics/connectionclose.php
deleted file mode 100644
index c325fa3..0000000
--- a/non-puppet/qtmetrics/connectionclose.php
+++ /dev/null
@@ -1,56 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-include "connectiondefinitions.php";
-
-/* Close connection to the server */
-/* NOTE: By default the connection will be closed as soon as the script ends, therefore commented out (for possible interactive connection not to close)
-if ($useMysqli)
- mysqli_close($conn);
-else
- $conn=mysql_close($conn);
-*/
-
-?> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/connectiondefinitions.php b/non-puppet/qtmetrics/connectiondefinitions.php
deleted file mode 100644
index a0e3591..0000000
--- a/non-puppet/qtmetrics/connectiondefinitions.php
+++ /dev/null
@@ -1,71 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-/* Include the server specific definitions. Note: Typically only either one on a same server */
-include('/home/qtintegration/connectionconfig.php'); // Read if available, skip otherwise
-include('connectionconfig.php'); // -,,-
-
-/* Local server (local metrics pages are shown from here) */
-if (!defined("LOCALSERVER"))
- define("LOCALSERVER", "");
-
-/* Public server (public metrics pages are shown from here) */
-if (!defined("PUBLICSERVER"))
- define("PUBLICSERVER", "testresults.qt.io");
-
-/* CI log file path */
-if (!defined("LOGFILEPATHCI"))
- define("LOGFILEPATHCI", "http://testresults.qt.io/ci/");
-
-/* Select MySQL API. For more details, see http://php.net/manual/en/mysqlinfo.api.choosing.php */
-$useMysqli = TRUE; // Set TRUE for mysqli extension or FALSE for old mysql extension
-
-/* Select connection type. The 'normal connection will be closed as soon as the script ends */
-$usePersistentConnection = TRUE; // Set TRUE for persistent connection or FALSE for 'normal'
-
-/* Disable MySQL and other error messages (to prevent e.g. MySQL connection settings to be displayed in case of a connection failure) */
-$disableErrorMessages = TRUE; // Set TRUE when using target live server or FALSE in development environment
-
-?>
diff --git a/non-puppet/qtmetrics/footer.php b/non-puppet/qtmetrics/footer.php
deleted file mode 100644
index 2975e8e..0000000
--- a/non-puppet/qtmetrics/footer.php
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<div id="footer">
-<b>Report builder v2.8 30-Jun-2014</b><br/>
-Description, guidance and support:<br/>
-<a href="http://qt-project.org/wiki/Qt_Metrics_Page_Description" target="_blank">http://qt-project.org/wiki/Qt_Metrics_Page_Description</a>
-</div>
diff --git a/non-puppet/qtmetrics/header.php b/non-puppet/qtmetrics/header.php
deleted file mode 100644
index 8bed0ba..0000000
--- a/non-puppet/qtmetrics/header.php
+++ /dev/null
@@ -1,56 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<div id="header">
-<div id="headerImg">
-</div>
-<div id="headerNavi">
-<div id="headerTitle">
-Qt Metrics
-</div>
-<?php include "menu.php";?>
-</div>
-<div id="headerLinks">
-<a href="http://qt-project.org" target="_blank">qt-project.org</a>
-</div>
-</div> \ No newline at end of file
diff --git a/non-puppet/qtmetrics/images/Qt_master_logo_CMYK_noback.gif b/non-puppet/qtmetrics/images/Qt_master_logo_CMYK_noback.gif
deleted file mode 100644
index f954818..0000000
--- a/non-puppet/qtmetrics/images/Qt_master_logo_CMYK_noback.gif
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics/images/Thumbs.db b/non-puppet/qtmetrics/images/Thumbs.db
deleted file mode 100644
index d0fcad8..0000000
--- a/non-puppet/qtmetrics/images/Thumbs.db
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics/images/ajax-loader.gif b/non-puppet/qtmetrics/images/ajax-loader.gif
deleted file mode 100644
index effb9d4..0000000
--- a/non-puppet/qtmetrics/images/ajax-loader.gif
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics/images/favicon.ico b/non-puppet/qtmetrics/images/favicon.ico
deleted file mode 100644
index c9b555e..0000000
--- a/non-puppet/qtmetrics/images/favicon.ico
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics/images/info.png b/non-puppet/qtmetrics/images/info.png
deleted file mode 100644
index 50fb810..0000000
--- a/non-puppet/qtmetrics/images/info.png
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics/images/open-folder.png b/non-puppet/qtmetrics/images/open-folder.png
deleted file mode 100644
index cf170f0..0000000
--- a/non-puppet/qtmetrics/images/open-folder.png
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics/images/sort-descending.png b/non-puppet/qtmetrics/images/sort-descending.png
deleted file mode 100644
index 4d09b78..0000000
--- a/non-puppet/qtmetrics/images/sort-descending.png
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics/index.php b/non-puppet/qtmetrics/index.php
deleted file mode 100644
index f3383ec..0000000
--- a/non-puppet/qtmetrics/index.php
+++ /dev/null
@@ -1,47 +0,0 @@
-<?php
-// Home page redirect to CI metrics page
-header("Location: metricspageci.php");
-?>
-
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
diff --git a/non-puppet/qtmetrics/menu.php b/non-puppet/qtmetrics/menu.php
deleted file mode 100644
index ed25b33..0000000
--- a/non-puppet/qtmetrics/menu.php
+++ /dev/null
@@ -1,78 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-/* The connectiondefinitions.php and commonfunctions.php are needed but they are included in the parent metrics page (metricspage***.php) instead */
-
-/* Main menu ($metricsPage identifies the active page, it is set in the metricspage***.php) */
-echo '<div id="menu">';
-echo '<ul class="mainMenu">';
-
-/* This page is on public Qt Project server */
-if (isPublicServer(PUBLICSERVER)) {
- // CI metrics
- if ($metricsPage == "metricspageci")
- echo '<li class="active"><a href="metricspageci.php">CI Metrics</a></li>';
- else
- echo '<li class="inactive"><a href="metricspageci.php">CI Metrics</a></li>';
- // RTA metrics (redirect to local server; show only if requested from internal Digia network)
- if (isInternalClient($internalIps))
- echo '<li class="inactive"><a href="metricspagerta.php">RTA Metrics</a></li>';
-}
-
-/* This page is on local Digia server */
-else {
- // CI metrics (redirect to public server)
- echo '<li class="inactive"><a href="http://' . PUBLICSERVER . '/qtmetrics/metricspageci.php">CI Metrics</a></li>';
- // RTA metrics
- if ($metricsPage == "metricspagerta")
- echo '<li class="active"><a href="metricspagerta.php">RTA Metrics</a></li>';
- else
- echo '<li class="inactive"><a href="metricspagerta.php">RTA Metrics</a></li>';
-}
-
-echo '</ul>';
-echo '</div>';
-
-?>
diff --git a/non-puppet/qtmetrics/metricspageci.php b/non-puppet/qtmetrics/metricspageci.php
deleted file mode 100644
index 5198c9d..0000000
--- a/non-puppet/qtmetrics/metricspageci.php
+++ /dev/null
@@ -1,670 +0,0 @@
-<?php
-header('Content-type: text/html; charset=utf-8'); // Header information must be the first line in a html/php page
-session_start();
-?>
-
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-include "connectiondefinitions.php";
-include "commonfunctions.php";
-include "commondefinitions.php";
-?>
-
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <script src="ajaxrequest.js"></script>
- <script src="calendar/calendar.js"></script>
- <link href="calendar/calendar.css" type="text/css" rel="stylesheet" />
- <link rel="stylesheet" type="text/css" href="styles.css" />
- <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
-
- <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" />
- <script src="http://code.jquery.com/jquery-1.8.3.js"></script>
- <script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>
- <script src="http://d3js.org/d3.v3.min.js"></script>
-
- <?php include "ci/metricsboxdefinitions.php";?>
-
- <script>
-
- var metricsRequestCount = 0; // The number of metrics box requests in progress
- var loadingMessageTimeout; // Timer to delay showing the loading message
-
- /* With these functions you can control the order of execution when loading the page first time.
- These functions are called from ajaxrequest.js
- Here the boxes are loaded synchoronously in the following order:
- a) Database status (initial loading with welcome text)
- b) Filters
- c) Metrics boxes
- d) Database status (normal use with session and database status) */
- function loadAll() // The starting point
- {
- loadDatabaseStatus(1); // a)
- }
-
- function getMetricDataRequestCompleted(metricId) // Called when a metrics box has been updated
- {
- var file;
- var repeat;
- var round;
- var scripts;
- <?php
- foreach ($arrayMetricsBoxes as $key=>$value) { // Loop all the metrics boxes to find the completed one
- $filepath = $arrayMetricsBoxes[$key][METRICSBOXNAME];
- $scripts = $arrayMetricsBoxes[$key][METRICSBOXSCRIPTS];
- ?>
- i = <?php echo $key ?>; // (transfer php variables to javascript variables)
- if (metricId == i) { // Check the completed metrics box
- file = "<?php echo $filepath ?>";
- scripts = "<?php echo $scripts ?>";
- repeat = document.getElementById("repeatCount"+i).value;
- round = document.getElementById("roundCounter"+i).value;
- if (round < repeat) { // If the box must be repeated
- round++;
- document.getElementById("roundCounter"+i).value = round;
- filterString = createFilterString(document.getElementById("project").value,
- document.getElementById("ciProject").value,
- document.getElementById("ciBranch").value,
- document.getElementById("ciPlatform").value,
- document.getElementById("conf").value,
- document.getElementById("autotest").value,
- document.getElementById("build").value,
- document.getElementById("timescale").value,
- document.getElementById("since").value,
- document.getElementById("autotestSortBy").value,
- document.getElementById("autotestShowAll").value);
- getMetricData(i, file, round, filterString);
- }
- else {
- document.getElementById("roundCounter"+i).value = 1; // Reset the counter
- if (scripts != "") // Check if the metrics box has graph (Note: Only one script per metrics box)
- if (document.getElementById(scripts)) // Check if the graph is visible in this view
- eval(document.getElementById(scripts).innerHTML); // Update the graph created with JavaScript (must be done only once per view)
- loadDatabaseStatus(0); // d) Load the database status every time a metrics box is updated (to keep status updated when user uses the page)
- metricsRequestCount--; // A metrics box completed
- }
- }
- <?php
- }
- ?>
- if (metricsRequestCount <= 0) // When all metrics boxes completed, close the loading window
- closeLoadingWindow();
- }
-
- function getFiltersRequestCompleted() // Called when the filter box has been updated
- {
- loadMetricsBoxes(); // c) Load the metrics boxes next
- }
-
- function getDatabaseStatusInitialRequestCompleted() // Called when the status box has been updated (initial step)
- {
- getFilters("filters", "ci/getfilters.php"); // b) Load the filters next (initial loading of the page)
- }
-
- function getDatabaseStatusRequestCompleted() // Called when the status box has been updated (following steps)
- {
- }
-
- /* Load database status */
- function loadDatabaseStatus(initial)
- {
- if (initial == 1)
- getDatabaseStatusInitial("databaseStatus", "ci/getdatabasestatus.php", initial, getTimeOffset()); // Time offset passed to show the session time and database update time with the same 'timezone'
- else
- getDatabaseStatus("databaseStatus", "ci/getdatabasestatus.php", initial, getTimeOffset()); // Time offset passed to show the session time and database update time with the same 'timezone'
- }
-
- /* Load all metrics boxes */
- function loadMetricsBoxes()
- {
- showMetricsBoxes("All", "All", "All", "All", "All", "All", 0, "All", "hide");
- }
-
- /* Show all metrics boxes the first time */
- function showMetricsBoxes(project, ciProject, ciBranch, ciPlatform, conf, autotest, build, timescale, showAll)
- {
- document.getElementById("project").value = project; // Save default values (not necessarily the first item in the list)
- document.getElementById("ciProject").value = ciProject;
- document.getElementById("ciBranch").value = ciBranch;
- document.getElementById("ciPlatform").value = ciPlatform;
- document.getElementById("conf").value = conf;
- document.getElementById("autotest").value = autotest;
- document.getElementById("build").value = build;
- document.getElementById("timescale").value = timescale;
- document.getElementById("autotestShowAll").value = showAll;
- var i;
- var file;
- var round;
- var updatedMetricsBoxCount = 0;
- var filterString;
- <?php
- $arrayMetricsBoxRepeat = array();
- $arrayMetricsBoxRound = array();
- foreach ($arrayMetricsBoxes as $key=>$value) { // Loop all the metrics boxes and send the Ajax call for each of them
- $filepath = $arrayMetricsBoxes[$key][METRICSBOXNAME];
- ?>
- i = <?php echo $key ?>; // (transfer php variables to javascript variables)
- file = "<?php echo $filepath ?>";
- round = 1; // First round tor this update
- document.getElementById("roundCounter"+i).value = round;
- filterString = createFilterString(project,
- ciProject,
- ciBranch,
- ciPlatform,
- conf,
- autotest,
- build,
- timescale,
- "na",
- "na",
- showAll);
- getMetricData(i, file, round, filterString);
- updatedMetricsBoxCount++;
- <?php
- }
- ?>
- metricsRequestCount = updatedMetricsBoxCount; // Save how many metrics boxes to be updated
- }
-
- /* Update the metrics boxes based on filtering */
- function updateMetricsBoxes(filter, value, sortBy, showAll) // filter = "project" / "ciProject" / "ciBranch" / "ciPlatform" / "conf" / "autotest" / "build" / "timescale"; sortBy and showAll are optional
- {
- document.getElementById(filter).value = value; // Save filtered value
- if (typeof sortBy == "undefined") // sortBy is optional
- var sortBy = document.getElementById("autotestSortBy").value;
- if (typeof showAll == "undefined") // showAll is optional
- var showAll = document.getElementById("autotestShowAll").value;
- document.getElementById("autotestSortBy").value = sortBy;
- document.getElementById("autotestShowAll").value = showAll;
- var i;
- var file;
- var round;
- var updatedMetricsBoxCount = 0;
- var filterString;
- var appliedFilter;
- var clearFilter;
- var timescaleType = document.getElementById("timescale").value; // Type: All/In/Since
- var timescaleValue = document.getElementById("since").value; // In case of type "Since" use date value set in the calendar
- if (timescaleType.search("In") == 0) { // In case of type "In" ...
- timescaleValue = timescaleType.substr(3); // ... set value to month (e.g. "2013-06")
- timescaleType = "In";
- }
- <?php
- foreach ($arrayMetricsBoxes as $key=>$value) { // Loop all the metrics boxes and send the Ajax call for each of them
- $filepath = $arrayMetricsBoxes[$key][METRICSBOXNAME];
- $appliedFilters = $arrayMetricsBoxes[$key][METRICSBOXFILTERSAPPLIED];
- $clearFilters = $arrayMetricsBoxes[$key][METRICSBOXFILTERSCLEARED];
- ?>
- i = "<?php echo $key ?>"; // (transfer php variables to javascript variables)
- file = "<?php echo $filepath ?>";
- round = 1; // First round tor this update
- document.getElementById("roundCounter"+i).value = round;
- appliedFilter = "-<?php echo $appliedFilters ?>";
- clearFilter = "-<?php echo $clearFilters ?>";
- checkClearFilter(appliedFilter, clearFilter, filter);
- if (appliedFilter.search(filter) >= 0 || appliedFilter.search("All") >= 0) { // Check if this filter should update the metrics box
- filterString = createFilterString(document.getElementById("project").value,
- document.getElementById("ciProject").value,
- document.getElementById("ciBranch").value,
- document.getElementById("ciPlatform").value,
- document.getElementById("conf").value,
- document.getElementById("autotest").value,
- document.getElementById("build").value,
- timescaleType,
- timescaleValue,
- sortBy,
- showAll);
- getMetricData(i, file, round, filterString);
- updatedMetricsBoxCount++;
- }
- <?php
- }
- ?>
- metricsRequestCount = updatedMetricsBoxCount; // Save how many metrics boxes to be updated
- showLoadingWindow(); // Show a loading window for long lasting operations
- }
-
- /* Check and clear filters on other filter changes (used with nested metrics boxes to get to 1st level) */
- function checkClearFilter(applied, clear, filter)
- {
- if (clear.search("project") >= 0 && filter != "project") {
- if (applied.search("All") >= 0)
- document.getElementById("project").value = "All";
- if (applied.search("ciProject") >= 0)
- document.getElementById("project").value = "All";
- if (applied.search("ciBranch") >= 0)
- document.getElementById("project").value = "All";
- if (applied.search("ciPlatform") >= 0)
- document.getElementById("project").value = "All";
- if (applied.search("conf") >= 0)
- document.getElementById("project").value = "All";
- if (applied.search("autotest") >= 0)
- document.getElementById("project").value = "All";
- if (applied.search("build") >= 0)
- document.getElementById("project").value = "All";
- if (applied.search("timescale") >= 0)
- document.getElementById("project").value = "All";
- }
- if (clear.search("ciProject") >= 0 && filter != "ciProject") {
- if (applied.search("All") >= 0)
- document.getElementById("ciProject").value = "All";
- if (applied.search("project") >= 0)
- document.getElementById("ciProject").value = "All";
- if (applied.search("ciBranch") >= 0)
- document.getElementById("ciProject").value = "All";
- if (applied.search("ciPlatform") >= 0)
- document.getElementById("ciProject").value = "All";
- if (applied.search("conf") >= 0)
- document.getElementById("ciProject").value = "All";
- if (applied.search("autotest") >= 0)
- document.getElementById("ciProject").value = "All";
- if (applied.search("build") >= 0)
- document.getElementById("ciProject").value = "All";
- if (applied.search("timescale") >= 0)
- document.getElementById("ciProject").value = "All";
- }
- if (clear.search("ciBranch") >= 0 && filter != "ciBranch") {
- if (applied.search("All") >= 0)
- document.getElementById("ciBranch").value = "All";
- if (applied.search("project") >= 0)
- document.getElementById("ciBranch").value = "All";
- if (applied.search("ciProject") >= 0)
- document.getElementById("ciBranch").value = "All";
- if (applied.search("ciPlatform") >= 0)
- document.getElementById("ciBranch").value = "All";
- if (applied.search("conf") >= 0)
- document.getElementById("ciBranch").value = "All";
- if (applied.search("autotest") >= 0)
- document.getElementById("ciBranch").value = "All";
- if (applied.search("build") >= 0)
- document.getElementById("ciBranch").value = "All";
- if (applied.search("timescale") >= 0)
- document.getElementById("ciBranch").value = "All";
- }
- if (clear.search("ciPlatform") >= 0 && filter != "ciPlatform") {
- if (applied.search("All") >= 0)
- document.getElementById("ciPlatform").value = "All";
- if (applied.search("project") >= 0)
- document.getElementById("ciPlatform").value = "All";
- if (applied.search("ciProject") >= 0)
- document.getElementById("ciPlatform").value = "All";
- if (applied.search("ciBranch") >= 0)
- document.getElementById("ciPlatform").value = "All";
- if (applied.search("conf") >= 0)
- document.getElementById("ciPlatform").value = "All";
- if (applied.search("autotest") >= 0)
- document.getElementById("ciPlatform").value = "All";
- if (applied.search("build") >= 0)
- document.getElementById("ciPlatform").value = "All";
- if (applied.search("timescale") >= 0)
- document.getElementById("ciPlatform").value = "All";
- }
- if (clear.search("conf") >= 0 && filter != "conf") {
- if (applied.search("All") >= 0)
- document.getElementById("conf").value = "All";
- if (applied.search("project") >= 0)
- document.getElementById("conf").value = "All";
- if (applied.search("ciProject") >= 0)
- document.getElementById("conf").value = "All";
- if (applied.search("ciBranch") >= 0)
- document.getElementById("conf").value = "All";
- if (applied.search("ciPlatform") >= 0)
- document.getElementById("conf").value = "All";
- if (applied.search("autotest") >= 0)
- document.getElementById("conf").value = "All";
- if (applied.search("build") >= 0)
- document.getElementById("conf").value = "All";
- if (applied.search("timescale") >= 0)
- document.getElementById("conf").value = "All";
- }
- if (clear.search("autotest") >= 0 && filter != "autotest") {
- if (applied.search("All") >= 0)
- document.getElementById("autotest").value = "All";
- if (applied.search("project") >= 0)
- document.getElementById("autotest").value = "All";
- if (applied.search("ciProject") >= 0)
- document.getElementById("autotest").value = "All";
- if (applied.search("ciBranch") >= 0)
- document.getElementById("autotest").value = "All";
- if (applied.search("ciPlatform") >= 0)
- document.getElementById("autotest").value = "All";
- if (applied.search("conf") >= 0)
- document.getElementById("autotest").value = "All";
- if (applied.search("build") >= 0)
- document.getElementById("autotest").value = "All";
- if (applied.search("timescale") >= 0)
- document.getElementById("autotest").value = "All";
- }
- if (clear.search("build") >= 0 && filter != "build") {
- if (applied.search("All") >= 0)
- document.getElementById("build").value = "All";
- if (applied.search("project") >= 0)
- document.getElementById("build").value = "All";
- if (applied.search("ciProject") >= 0)
- document.getElementById("build").value = "All";
- if (applied.search("ciBranch") >= 0)
- document.getElementById("build").value = "All";
- if (applied.search("ciPlatform") >= 0)
- document.getElementById("build").value = "All";
- if (applied.search("conf") >= 0)
- document.getElementById("build").value = "All";
- if (applied.search("autotest") >= 0)
- document.getElementById("build").value = "All";
- if (applied.search("timescale") >= 0)
- document.getElementById("build").value = "All";
- }
- if (clear.search("timescale") >= 0 && filter != "timescale") {
- if (applied.search("All") >= 0)
- document.getElementById("timescale").value = "All";
- if (applied.search("project") >= 0)
- document.getElementById("timescale").value = "All";
- if (applied.search("ciProject") >= 0)
- document.getElementById("timescale").value = "All";
- if (applied.search("ciBranch") >= 0)
- document.getElementById("timescale").value = "All";
- if (applied.search("ciPlatform") >= 0)
- document.getElementById("timescale").value = "All";
- if (applied.search("conf") >= 0)
- document.getElementById("timescale").value = "All";
- if (applied.search("autotest") >= 0)
- document.getElementById("timescale").value = "All";
- if (applied.search("build") >= 0)
- document.getElementById("timescale").value = "All";
- }
- }
-
- /* Create the filter string (as defined in ci/definitions.php) */
- function createFilterString(project, ciProject, ciBranch, ciPlatform, conf, autotest, build, timescaleType, timescaleValue, sortBy, showAll)
- {
- var filterString;
- var filterSeparator = "<?php echo FILTERSEPARATOR ?>"; // (transfer php constant to javascript)
- var filterValueSeparator = "<?php echo FILTERVALUESEPARATOR ?>";
- filterString = "project" + filterValueSeparator + project + filterSeparator
- + "ciProject" + filterValueSeparator + ciProject + filterSeparator
- + "ciBranch" + filterValueSeparator + ciBranch + filterSeparator
- + "ciPlatform" + filterValueSeparator + ciPlatform + filterSeparator
- + "conf" + filterValueSeparator + conf + filterSeparator
- + "autotest" + filterValueSeparator + autotest + filterSeparator
- + "build" + filterValueSeparator + build + filterSeparator
- + "timescaleType" + filterValueSeparator + timescaleType + filterSeparator
- + "timescaleValue" + filterValueSeparator + timescaleValue + filterSeparator
- + "sortBy" + filterValueSeparator + sortBy + filterSeparator
- + "showAll" + filterValueSeparator + showAll + filterSeparator;
- return filterString;
- }
-
- /* Update the metrics boxes when project filter changed */
- function filterProject(value)
- {
- updateMetricsBoxes("project", value);
- filterBuild(0); // Clear Project build filter when Project changed
- }
-
- /* Update the metrics boxes when (plain) project filter changed */
- function filterCiProject(value)
- {
- updateMetricsBoxes("ciProject", value);
- filterConf("All"); // Clear Configuration filter when Project name changed
- filterProject("All"); // Clear Project filter when Project name changed
- }
-
- /* Update the metrics boxes when (plain) branch filter changed */
- function filterCiBranch(value)
- {
- updateMetricsBoxes("ciBranch", value);
- filterConf("All"); // Clear Configuration filter when Project branch changed
- filterProject("All"); // Clear Project filter when Project branch changed
- }
-
- /* Update the metrics boxes when platform filter changed */
- function filterCiPlatform(value)
- {
- updateMetricsBoxes("ciPlatform", value);
- filterConf("All"); // Clear Configuration filter when Platform changed
- filterProject("All"); // Clear Project filter when Platform changed
- }
-
- /* Update the metrics boxes when conf filter changed */
- function filterConf(value)
- {
- updateMetricsBoxes("conf", value);
- }
-
- /* Update the metrics boxes when autotest filter changed; output table can also be sorted */
- function filterAutotest(value, sortBy)
- {
- updateMetricsBoxes("autotest", value, sortBy);
- }
-
- /* Update the metrics boxes when timescale filter changed */
- function filterTimescale(value)
- {
- updateMetricsBoxes("timescale", value);
- if (document.getElementById("timescale").value == "Since") { // Highlight that the timescale filter is active
- document.getElementById("timescale").className = "timescaleSince";
- css('.date-tccontainer', 'background-color', '#FFCC00'); // (Note: This must follow the value defined in style.css)
- } else {
- document.getElementById("timescale").className = "timescaleAll";
- css('.date-tccontainer', 'background-color', 'white'); // (Note: This must follow the value defined in style.css)
- }
- }
-
- /* Update the metrics boxes when build filter changed */
- function filterBuild(value)
- {
- updateMetricsBoxes("build", value);
- }
-
- function filterProjectAutotest(project, autotest)
- {
- filterProject(project);
- filterAutotest(autotest);
- }
-
- /* Set all filters to "All" */
- function clearFilters()
- {
- filterTimescale("All"); // Clear the possible timescale filter styling
- loadMetricsBoxes(); // Note: Using this function will lead to only one Ajax call
- }
-
- /* Set Project filters to "All" */
- function clearProjectFilters()
- {
- filterProject("All"); // Note: Using separate functions will lead to several Ajax calls
- filterConf("All");
- }
-
- /* Clear session variables and reload the page */
- function reloadFilters()
- {
- <?php
- session_unset(); // After clearing the filter session variables they are reloaded from the database
- ?>
- window.location.reload(true);
- }
-
- /* Toggle the show/hide selection for Autotest all builds results */
- function toggleAutotestShowAll(value)
- {
- var newValue;
- if (value=="show")
- newValue = "hide";
- else
- newValue = "show";
- updateMetricsBoxes("autotest", "All", 0, newValue);
- }
-
- /* Open a new window for a message file (html) */
- function showMessageWindow(messageFile)
- {
- myWindow = window.open(messageFile,'','resizable=yes,scrollbars=yes,width=600,height=600,left=500,top=100');
- myWindow.focus();
- }
-
- /* Ajax loading dialog window for long lasting operations (jQuery) */
- $(function()
- {
- $( "#popupDialog" ).dialog({
- autoOpen: false,
- resizable: false,
- minheight:180,
- modal: false,
- dialogClass: 'popupDialog',
- buttons: {
- Ok: function() {
- $( this ).dialog( "close" );
- }
- },
- open: function() {
- $('.ui-dialog-buttonpane').find('button').addClass('popupDialogButton'); // Add a class to be able to define the button style
- },
- close: function() {
- $( this ).dialog( "close" );
- }
- });
- });
- function showLoadingWindow()
- {
- var delay = <?php echo LOADINGMESSAGEDELAY ?>;
- if (delay > 0) { // Loading message not shown at all when delay set to 0
- clearTimeout(loadingMessageTimeout); // Stop possible earlier timer
- loadingMessageTimeout = setTimeout(
- function() {
- $('#popupDialog').dialog('open');
- }
- ,delay); // Show the message with a delay
- }
- }
- function closeLoadingWindow()
- {
- var delay = <?php echo LOADINGMESSAGEDELAY ?>;
- if (delay > 0) {
- clearTimeout(loadingMessageTimeout);
- $('#popupDialog').dialog('close');
- }
- }
-
- /* Get time offset between current time and the GMT/UTC (returned in format "GMT+0300") */
- function getTimeOffset()
- {
- var visitorTime = new Date(); // User client time
- var visitorTimeString = visitorTime.toString(); // e.g. "Fri Jun 07 2013 12:49:38 GMT+0000 (Morocco Standard Time)" or "Fri Jun 07 2013 12:49:38 GMT+0300 (FLE Standard Time)"
- visitorTimeString = visitorTimeString.replace("UTC ","UTC+0000 "); // in IE: "Fri Jun 07 12:49:38 UTC 2013" or ...
- visitorTimeString = visitorTimeString.replace("UTC","GMT"); // ... "Fri Jun 07 12:49:38 UTC+0300 2013"
- var timeOffset;
- var i = visitorTimeString.search("GMT");
- if (i > 0) {
- timeOffset = visitorTimeString.substr(i,8); // "GMT+0300" (here also the xx:30 and xx:45 timezones include)
- } else { // For US timezones the timezone name used instead of "UTC" in IE
- offsetHour = -1 * visitorTime.getTimezoneOffset() / 60; // Create the string based on getTimezoneOffset
- if (offsetHour > 9)
- timeOffset = "GMT+" + offsetHour + "00";
- if (offsetHour >= 0 && offsetHour >= 9)
- timeOffset = "GMT+0" + offsetHour + "00";
- if (offsetHour >= -9 && offsetHour < 0)
- timeOffset = "GMT-0" + Math.abs(offsetHour) + "00";
- if (offsetHour < -9)
- timeOffset = "GMT-" + Math.abs(offsetHour) + "00";
- }
- return timeOffset;
- }
-
- /* Change a css property value for an id or class (provided by w3c http://stackoverflow.com/questions/566203/changing-css-values-with-javascript) */
- function css(selector, property, value) {
- for (var i=0; i<document.styleSheets.length;i++) { //Loop through all styles
- //Try add rule
- try { document.styleSheets[i].insertRule(selector+ ' {'+property+':'+value+'}', document.styleSheets[i].cssRules.length);
- } catch(err) {try { document.styleSheets[i].addRule(selector, property+':'+value);} catch(err) {}}//IE
- }
- }
-
- </script>
-
- <title>Qt Metrics</title>
- </head>
-
- <!-- Initially show all data -->
- <body onload="loadAll()">
- <div id="container">
- <?php include "commondefinitions.php";
- $metricsPage = "metricspageci"; // Filename (without the extension) to identify active page for menu
- include "header.php";
- ?>
-
- <!-- Filters (loaded with Ajax call) -->
- <div id="filters">
- <b>FILTERS:</b><br/><br/>
- <img src="images/ajax-loader.gif" alt="loading"> Loading...<br/>
- </div>
-
- <!-- Database status (loaded with Ajax call) -->
- <div id="databaseStatus">
- <b>Welcome</b>
- </div>
-
- <!-- Metrics boxes -->
- <?php
- foreach ($arrayMetricsBoxes as $key=>$value) { // Loop all the metrics boxes to create a div (and hidden input elements) for each of them
- echo "<div id=\"metricsBox$key\" class=\"metricArea\"><img src=\"images/ajax-loader.gif\" alt=\"loading\"> Loading...</div>"; // Div content when initially opening the page before Ajax call
- $repeat = $arrayMetricsBoxes[$key][METRICSBOXREPEAT];
- echo "<input id=\"repeatCount$key\" type=\"hidden\" value=\"$repeat\">"; // Store repeat count to an input element to be available for JavaScript functions
- echo "<input id=\"roundCounter$key\" type=\"hidden\">"; // Store round counter to an input element to be available for JavaScript functions
- }
- ?>
-
- <?php include "footer.php";?>
-
- <div id="popupDialog" title="Please wait">
- <p><span class="ui-icon ui-icon-alert popupDialogMessage"></span>
- Please wait, loading the data takes a while <span class="loading"><span>.</span><span>.</span><span>.</span></span><br><br>Reload, if not ready in a few minutes.
- </p>
- </div>
-
- </div> <!-- end of container -->
- </body>
-</html>
diff --git a/non-puppet/qtmetrics/metricspagerta.php b/non-puppet/qtmetrics/metricspagerta.php
deleted file mode 100644
index 32888c2..0000000
--- a/non-puppet/qtmetrics/metricspagerta.php
+++ /dev/null
@@ -1,381 +0,0 @@
-<?php
-header('Content-type: text/html; charset=utf-8'); // Header information must be the first line in a html/php page
-session_start();
-?>
-
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-include "connectiondefinitions.php";
-include "commonfunctions.php";
-
-/* Redirect to local server if this page is requested on public server from internal Digia network (so that the public server path
- can be used in delivering the URL to this RTA metrics page instead of the internal one) */
-if (isPublicServer(PUBLICSERVER)) {
- if (isInternalClient($internalIps))
- header('Location: http://' . LOCALSERVER . '/qtmetrics/metricspagerta.php');
-}
-
-?>
-
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <script src="ajaxrequest.js"></script>
- <link rel="stylesheet" type="text/css" href="styles.css" />
- <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
-
- <?php include "rta/metricsboxdefinitions.php";?>
-
- <script>
-
- /* With these functions you can control the order of execution when loading the page first time.
- These functions are called from ajaxrequest.js
- Here the boxes are loaded synchoronously in the following order:
- a) Database status (initial loading with welcome text)
- b) Filters
- c) Metrics boxes
- d) Database status (normal use with session status) */
- function loadAll() // The starting point
- {
- loadDatabaseStatus(1); // a)
- }
-
- function getMetricDataRequestCompleted(metricId) // Called when a metrics box has been updated
- {
- var file;
- var repeat;
- var round;
- <?php
- foreach ($arrayMetricsBoxes as $key=>$value) { // Loop all the metrics boxes to find the completed one
- $filepath = $arrayMetricsBoxes[$key][METRICSBOXNAME];
- ?>
- i = <?php echo $key ?>; // (transfer php variables to javascript variables)
- if (metricId == i) { // Check the completed metrics box
- file = "<?php echo $filepath ?>";
- repeat = document.getElementById("repeatCount"+i).value;
- round = document.getElementById("roundCounter"+i).value;
- if (round < repeat) { // If the box must be repeated
- round++;
- document.getElementById("roundCounter"+i).value = round;
- filterString = createFilterString(document.getElementById("test").value,
- document.getElementById("license").value,
- document.getElementById("platform").value,
- document.getElementById("job").value);
- getMetricData(i, file, round, filterString);
- }
- else {
- document.getElementById("roundCounter"+i).value = 1; // Reset the counter
- // Load the database status every time a metrics box is updated (to keep status updated when user uses the page)
- loadDatabaseStatus(0); // d)
- }
- }
- <?php
- }
- ?>
- window.scrollTo(0,0); // Scroll window focus to the top of the page (selecting a job from history to show level 2 kept the focus vertically without this)
- }
-
- function getFiltersRequestCompleted() // Called when the filter box has been updated
- {
- loadMetricsBoxes(); // c) Load the metrics boxes next
- }
-
- function getDatabaseStatusInitialRequestCompleted() // Called when the status box has been updated (initial step)
- {
- getFilters("filters", "rta/getfilters.php"); // b) Load the filters next (initial loading of the page)
- }
-
- function getDatabaseStatusRequestCompleted() // Called when the status box has been updated (following steps)
- {
- }
-
- /* Load database status */
- function loadDatabaseStatus(initial)
- {
- if (initial == 1)
- getDatabaseStatusInitial("databaseStatus", "rta/getdatabasestatus.php", initial, getTimeOffset()); // Time offset passed to show the session time and database update time with the same 'timezone'
- else
- getDatabaseStatus("databaseStatus", "rta/getdatabasestatus.php", initial, getTimeOffset()); // Time offset passed to show the session time and database update time with the same 'timezone'
- }
-
- /* Load all metrics boxes */
- function loadMetricsBoxes()
- {
- showMetricsBoxes("All", "All", "All", "All");
- }
-
- /* Show all metrics boxes the first time */
- function showMetricsBoxes(test, license, platform, job)
- {
- document.getElementById("test").value = test; // Save default values (not necessarily the first item in the list)
- document.getElementById("license").value = license;
- document.getElementById("platform").value = platform;
- document.getElementById("job").value = job;
- var i;
- var file;
- var round;
- var filterString;
- <?php
- $arrayMetricsBoxRepeat = array();
- $arrayMetricsBoxRound = array();
- foreach ($arrayMetricsBoxes as $key=>$value) { // Loop all the metrics boxes and send the Ajax call for each of them
- $filepath = $arrayMetricsBoxes[$key][METRICSBOXNAME];
- ?>
- i = <?php echo $key ?>; // (transfer php variables to javascript variables)
- file = "<?php echo $filepath ?>";
- round = 1; // First round tor this update
- document.getElementById("roundCounter"+i).value = round;
- filterString = createFilterString(test, license, platform, job);
- getMetricData(i, file, round, filterString);
- <?php
- }
- ?>
- }
-
- /* Update the metrics boxes based on filtering */
- function updateMetricsBoxes(filter, value) // filter = "test" / "license" / "platform" / "job"
- {
- document.getElementById(filter).value = value; // Save filtered value
- var i;
- var file;
- var round;
- var filterString;
- var appliedFilter;
- var clearFilter;
- <?php
- foreach ($arrayMetricsBoxes as $key=>$value) { // Loop all the metrics boxes and send the Ajax call for each of them
- $filepath = $arrayMetricsBoxes[$key][METRICSBOXNAME];
- $appliedFilters = $arrayMetricsBoxes[$key][METRICSBOXFILTERSAPPLIED];
- $clearFilters = $arrayMetricsBoxes[$key][METRICSBOXFILTERSCLEARED];
- ?>
- i = "<?php echo $key ?>"; // (transfer php variables to javascript variables)
- file = "<?php echo $filepath ?>";
- round = 1; // First round tor this update
- document.getElementById("roundCounter"+i).value = round;
- appliedFilter = "-<?php echo $appliedFilters ?>";
- clearFilter = "-<?php echo $clearFilters ?>";
- checkClearFilter(appliedFilter, clearFilter, filter);
- if (appliedFilter.search(filter) >= 0 || appliedFilter.search("All") >= 0) { // Check if this filter should update the metrics box
- filterString = createFilterString(document.getElementById("test").value,
- document.getElementById("license").value,
- document.getElementById("platform").value,
- document.getElementById("job").value);
- getMetricData(i, file, round, filterString);
- }
- <?php
- }
- ?>
- }
-
- /* Check and clear filters on other filter changes (used with nested metrics boxes to get to 1st level) */
- function checkClearFilter(applied, clear, filter)
- {
- if (clear.search("test") >= 0 && filter != "test") {
- if (applied.search("All") >= 0)
- document.getElementById("test").value = "All";
- if (applied.search("license") >= 0)
- document.getElementById("test").value = "All";
- if (applied.search("platform") >= 0)
- document.getElementById("test").value = "All";
- if (applied.search("job") >= 0)
- document.getElementById("test").value = "All";
- }
- if (clear.search("license") >= 0 && filter != "license") {
- if (applied.search("All") >= 0)
- document.getElementById("license").value = "All";
- if (applied.search("test") >= 0)
- document.getElementById("license").value = "All";
- if (applied.search("platform") >= 0)
- document.getElementById("license").value = "All";
- if (applied.search("job") >= 0)
- document.getElementById("license").value = "All";
- }
- if (clear.search("platform") >= 0 && filter != "platform") {
- if (applied.search("All") >= 0)
- document.getElementById("platform").value = "All";
- if (applied.search("test") >= 0)
- document.getElementById("platform").value = "All";
- if (applied.search("license") >= 0)
- document.getElementById("platform").value = "All";
- if (applied.search("job") >= 0)
- document.getElementById("platform").value = "All";
- }
- if (clear.search("job") >= 0 && filter != "job") {
- if (applied.search("All") >= 0)
- document.getElementById("job").value = "All";
- if (applied.search("test") >= 0)
- document.getElementById("job").value = "All";
- if (applied.search("license") >= 0)
- document.getElementById("job").value = "All";
- if (applied.search("platform") >= 0)
- document.getElementById("job").value = "All";
- }
- }
-
- /* Create the filter string */
- function createFilterString(test, license, platform, job)
- {
- var filterString;
- var filterSeparator = "<?php echo FILTERSEPARATOR ?>"; // (transfer php constant to javascript)
- var filterValueSeparator = "<?php echo FILTERVALUESEPARATOR ?>";
- filterString = "test" + filterValueSeparator + test + filterSeparator
- + "license" + filterValueSeparator + license + filterSeparator
- + "platform" + filterValueSeparator + platform + filterSeparator
- + "job" + filterValueSeparator + job + filterSeparator;
- return filterString;
- }
-
- /* Update the metrics boxes when test filter changed */
- function filterTest(value)
- {
- updateMetricsBoxes("test", value);
- }
-
- /* Update the metrics boxes when license filter changed */
- function filterLicense(value)
- {
- updateMetricsBoxes("license", value);
- }
-
- /* Update the metrics boxes when platform filter changed */
- function filterPlatform(value)
- {
- updateMetricsBoxes("platform", value);
- }
-
- /* Update the metrics boxes when job filter changed */
- function filterJob(value)
- {
- updateMetricsBoxes("job", value);
- }
-
- /* Set all filters to "All" */
- function clearFilters()
- {
- loadMetricsBoxes(); // Note: Using this function will lead to only one Ajax call
- }
-
- /* Clear session variables and reload the page */
- function reloadFilters()
- {
- <?php
- session_unset(); // After clearing the filter session variables they are reloaded from the database
- ?>
- window.location.reload(true);
- }
-
- /* Open a new window for a message file (html) */
- function showMessageWindow(messageFile)
- {
- myWindow=window.open(messageFile,'','resizable=yes,scrollbars=yes,width=600,height=600,left=500,top=100');
- myWindow.focus();
- }
-
- /* Get time offset between current time and the GMT/UTC (returned in format "GMT+0300") */
- function getTimeOffset()
- {
- var visitorTime = new Date(); // User client time
- var visitorTimeString = visitorTime.toString(); // e.g. "Fri Jun 07 2013 12:49:38 GMT+0000 (Morocco Standard Time)" or "Fri Jun 07 2013 12:49:38 GMT+0300 (FLE Standard Time)"
- visitorTimeString = visitorTimeString.replace("UTC ","UTC+0000 "); // in IE: "Fri Jun 07 12:49:38 UTC 2013" or ...
- visitorTimeString = visitorTimeString.replace("UTC","GMT"); // ... "Fri Jun 07 12:49:38 UTC+0300 2013"
- var timeOffset;
- var i = visitorTimeString.search("GMT");
- if (i > 0) {
- timeOffset = visitorTimeString.substr(i,8); // "GMT+0300" (here also the xx:30 and xx:45 timezones include)
- } else { // For US timezones the timezone name used instead of "UTC" in IE
- offsetHour = -1 * visitorTime.getTimezoneOffset() / 60; // Create the string based on getTimezoneOffset
- if (offsetHour > 9)
- timeOffset = "GMT+" + offsetHour + "00";
- if (offsetHour >= 0 && offsetHour >= 9)
- timeOffset = "GMT+0" + offsetHour + "00";
- if (offsetHour >= -9 && offsetHour < 0)
- timeOffset = "GMT-0" + Math.abs(offsetHour) + "00";
- if (offsetHour < -9)
- timeOffset = "GMT-" + Math.abs(offsetHour) + "00";
- }
- return timeOffset;
- }
-
- </script>
-
- <title>Qt Metrics</title>
- </head>
-
- <!-- Initially show all data -->
- <body onload="loadAll()">
- <div id="container">
- <?php
- include "commondefinitions.php";
- $metricsPage = "metricspagerta"; // Filename (without the extension) to identify active page for menu
- include "header.php";
- ?>
-
- <!-- Filters (loaded with Ajax call) -->
- <div id="filters">
- <b>FILTERS:</b><br/><br/>
- <img src="images/ajax-loader.gif" alt="loading"> Loading...<br/>
- </div>
-
- <!-- Database status (loaded with Ajax call) -->
- <div id="databaseStatus">
- <b>Welcome</b>
- </div>
-
- <!-- Metrics boxes -->
- <?php
- foreach ($arrayMetricsBoxes as $key=>$value) { // Loop all the metrics boxes to create a div (and hidden input elements) for each of them
- echo "<div id=\"metricsBox$key\" class=\"metricArea\"><img src=\"images/ajax-loader.gif\" alt=\"loading\"> Loading...</div>"; // Div content when initially opening the page before Ajax call
- $repeat = $arrayMetricsBoxes[$key][METRICSBOXREPEAT];
- echo "<input id=\"repeatCount$key\" type=\"hidden\" value=\"$repeat\">"; // Store repeat count to an input element to be available for JavaScript functions
- echo "<input id=\"roundCounter$key\" type=\"hidden\">"; // Store round counter to an input element to be available for JavaScript functions
- }
- ?>
-
- <?php include "footer.php";?>
-
- </div> <!-- end of container -->
- </body>
-</html>
diff --git a/non-puppet/qtmetrics/rta/definitions.php b/non-puppet/qtmetrics/rta/definitions.php
deleted file mode 100644
index 340afcc..0000000
--- a/non-puppet/qtmetrics/rta/definitions.php
+++ /dev/null
@@ -1,79 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-if (!defined("TESTDOWNLOAD"))
- define("TESTDOWNLOAD", "suite_download_qt"); // The fixed test name for test download; results include e.g. installer build number
-
-if (!defined("SUMMARYXMLFILENAME"))
- define("SUMMARYXMLFILENAME", "summary.xml"); // The result summary file name
-
-if (!defined("RESULTXMLFILENAMEPREFIX"))
- define("RESULTXMLFILENAMEPREFIX", "result"); // The result file name starts with this string (e.g. "result_05_22_17.443.xml")
-
-if (!defined("TARFILENAMEEXTENSION"))
- define("TARFILENAMEEXTENSION", ".tar.gz"); // Tar file name extension; tar file name used for configuration name by removing this extension
-
-if (!defined("RTATESTHISTORYNUMBERMAX"))
- define("RTATESTHISTORYNUMBERMAX", 2000000); // The biggest theoretic Jenkins build history number (to check the smallest and biggest number used currently)
-
-if (!defined("TESTTYPESEPARATOR"))
- define("TESTTYPESEPARATOR", "_tests_"); // String to separate the test type and platform (e.g. "Qt5_RTA_opensource_installer_tests_linux_32bit")
-
-if (!defined("LICENSETYPESEPARATOR"))
- define("LICENSETYPESEPARATOR", "_RTA_"); // String to separate the license type (e.g. "Qt5_RTA_opensource_installer_tests_linux_32bit")
-
-if (!defined("BUILDNUMBERTITLE"))
- define("BUILDNUMBERTITLE", "nstaller build number:"); // String to tag the build number; the leading "I" left out on purpose (e.g. "Installer build number: 216")
-
-if (!defined("HISTORYJOBLISTCOUNT"))
- define("HISTORYJOBLISTCOUNT", 13); // The maximum number of test jobs to be shown in the history view
-
-if (!defined("WORDWRAPCHARSNORMAL"))
- define("WORDWRAPCHARSNORMAL", 90); // Word wrapping for long text in failure description (normal style)
-
-if (!defined("WORDWRAPCHARSBOLD"))
- define("WORDWRAPCHARSBOLD", 80); // Word wrapping for long text in failure description (bold style)
-
-?>
diff --git a/non-puppet/qtmetrics/rta/functions.php b/non-puppet/qtmetrics/rta/functions.php
deleted file mode 100644
index b5ae5a4..0000000
--- a/non-puppet/qtmetrics/rta/functions.php
+++ /dev/null
@@ -1,231 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-include "definitions.php";
-
-/* Save the data for a test job from a specific 'download' XML file (identifying the 'download' result file from a 'normal' result file can be
- done only by opening the file)
- NOTE: The reading should be kept at minimum because this is run on page download and may therefore affect the initial delay (called when
- downloading the filters)
- Input: $xmlResultFile (string) file name with complete directory path (and 'phar://' prefix for files in a tar.gz file)
- $buildNumber (integer) installer build number (based on possible previous calls of this function)
- Output: $buildNumber (integer) installer build number
-*/
-function saveDownloadXmlData($xmlResultFile, &$buildNumber)
-{
- if ($buildNumber == 0) {
- $resultFile = simplexml_load_file($xmlResultFile);
- foreach ($resultFile->children() as $test) { // Usually one per each XML result file
- if ($test['name'] == TESTDOWNLOAD) { // Optimization: Check only from the dedicated result file where the installer build number is saved (small size compared to normal files)
- foreach ($test->children() as $testCase) {
- /* Build number (from <message type="LOG"; appears only once per result file, or in one result file in case of several files) */
- foreach ($testCase->message as $message) {
- if ($message['type'] == "LOG") {
- if (strpos($message->description, BUILDNUMBERTITLE) > 0) {
- $buildNumber = substr($message->description, strpos($message->description, ":") + 2);
- break 3; // Build number found, exit the search (3 loops up)
- }
- }
- }
- }
- }
- }
- }
-}
-
-/* Save the failure information for a test job from result_***.xml file or files (in the latter case this function is called several times in a row)
- Listed failures are: ERROR, FATAL, FAIL and UNEXPECTED_PASS (=XPASS)
- Input: $xmlResultFile (string) file name with complete directory path (and 'phar://' prefix for files in a tar.gz file)
- $timestamp (string) start time, the earliest (in case of possible previous calls of this function)
- $buildNumber (integer) installer build number (based on possible previous calls of this function)
- $failureDescription (array) [failure] the list of failures (based on possible previous calls of this function)
- $testJobSummary (array) [type] the number of passes and each failure type (based on possible previous calls of this function)
- Output: $timestamp (string) start time, updated if earlier timestamp found
- $buildNumber (integer) installer build number, updated if not previously found
- $failureDescription (array) [failure] the list of failures, new failures added to the end of list
- $testJobSummary (array) [type] the number of passes and each failure type, previous counts increased
-*/
-/* Failure data items */
-define("TESTERRORCOUNT", 0);
-define("TESTFATALCOUNT", 1);
-define("TESTFAILCOUNT", 2);
-define("TESTXPASSCOUNT", 3);
-define("TESTPASSCOUNT", 4);
-function saveXmlFailures($xmlResultFile, &$timestamp, &$buildNumber, &$failureDescription, &$testJobSummary)
-{
- // This function can be used both to start from zero or to continue from previous search (initialization of $i)
- $i = $testJobSummary[TESTERRORCOUNT] + $testJobSummary[TESTFATALCOUNT] + $testJobSummary[TESTFAILCOUNT] + $testJobSummary[TESTXPASSCOUNT];
- $resultFile = simplexml_load_file($xmlResultFile);
- foreach ($resultFile->children() as $test) { // Usually one per each XML result file
- $timestampNew = str_replace("T", "&nbsp;&nbsp;", $test->prolog['time']); // Just to improve readability
- if ($timestamp == "" OR $timestampNew < $timestamp) // if not saved yet or if earlier than already saved
- $timestamp = $timestampNew;
- foreach ($test->children() as $testCase) {
- $name = $testCase['name'];
- /* ERROR or FATAL (from <message type="ERROR" or "FATAL") */
- foreach ($testCase->message as $message) {
- if ($message['type'] == "ERROR" OR $message['type'] == "FATAL") {
- $failureDescription[$i] = $failureDescription[$i] . '<b>' . $message['type'] . ' in ' . $name . '</b><br>';
- $failureDescription[$i] = $failureDescription[$i] . '<b>(' . wordwrap($message['file'], WORDWRAPCHARSBOLD, "<br>\n", TRUE) .
- ': ' . $message['line'] . ')</b><br>';
- foreach ($message->description as $description) { // Details from each <description> and <description type="DETAILED">
- if ($description <> "")
- $failureDescription[$i] = $failureDescription[$i] . wordwrap($description, WORDWRAPCHARSNORMAL, "<br>\n", TRUE) . '<br>';
- }
- $i++; // Each failure to be separate item in the list
- }
- if ($message['type'] == "ERROR")
- $testJobSummary[TESTERRORCOUNT]++;
- if ($message['type'] == "FATAL")
- $testJobSummary[TESTFATALCOUNT]++;
- if ($buildNumber == 0) { // Check build number if not yet found
- if (strpos($message->description, BUILDNUMBERTITLE) > 0) {
- $buildNumber = substr($message->description, strpos($message->description, ":") + 2);
- }
- }
- }
- /* FAIL or UNEXPECTED_PASS plus the PASS (from <verification ... <result type="FAIL" or "XPASS") */
- foreach ($testCase->verification as $verification) {
- foreach ($verification->result as $result) {
- if ($result['type'] == "FAIL" OR $result['type'] == "XPASS") {
- $failureDescription[$i] = $failureDescription[$i] . '<b>' . $result['type'] . ' in ' . $name . '</b><br>';
- $failureDescription[$i] = $failureDescription[$i] . '<b>(' . wordwrap($verification['file'], WORDWRAPCHARSBOLD, "<br>\n", TRUE) .
- ': ' . $verification['line'] . ')</b><br>';
- foreach ($result->description as $description) { // Details from each <description> and <description type="DETAILED">
- if ($description <> "")
- $failureDescription[$i] = $failureDescription[$i] . wordwrap($description, WORDWRAPCHARSNORMAL, "<br>\n", TRUE) . '<br>';
- }
- $i++; // Each failure to be separate item in the list
- }
- if ($result['type'] == "FAIL")
- $testJobSummary[TESTFAILCOUNT]++;
- if ($result['type'] == "XPASS")
- $testJobSummary[TESTXPASSCOUNT]++;
- if ($result['type'] == "PASS")
- $testJobSummary[TESTPASSCOUNT]++;
- }
- }
- }
- /* There may also be high level messages outside the testCase scope */
- foreach ($test->message as $message) {
- if ($message['type'] == "ERROR" OR $message['type'] == "FATAL" OR $message['type'] == "FAIL" OR $message['type'] == "XPASS") {
- $failureDescription[$i] = $failureDescription[$i] . '<b>' . $message['type'] . ' message</b><br>';
- foreach ($message->description as $description) { // Details from each <description type="DETAILED">
- if ($description['type'] == "DETAILED")
- $failureDescription[$i] = $failureDescription[$i] . wordwrap($description, WORDWRAPCHARSNORMAL, "<br>\n", TRUE) . '<br>';
- }
- $i++; // Each failure to be separate item in the list
- }
- if ($message['type'] == "ERROR")
- $testJobSummary[TESTERRORCOUNT]++;
- if ($message['type'] == "FATAL")
- $testJobSummary[TESTFATALCOUNT]++;
- if ($result['type'] == "FAIL")
- $testJobSummary[TESTFAILCOUNT]++;
- if ($result['type'] == "XPASS")
- $testJobSummary[TESTXPASSCOUNT]++;
- }
- }
- sort($failureDescription); // Sort the failures based on types (first word in description) for better readability
-}
-
-/* Save summary information for a test job from summary.xml files, including the latest and previous available test jobs
- Input: $configuration (string) to check that the configuration tar.gz file is available for each test job run
- $testConfHistory (array) [number] configuration per each history number in the test job
- $xmlDirectory (string) the directory path (and 'phar://' prefix for files in a tar.gz file) prior to the history number
- (with tailing "/")
- $testHistory (array) [number] the test history numbers from latest to older ones (to be used for complete XML file name path
- after the $xmlDirectory)
- $xmlFileName (string) tar.gz file name and the XML file name to be opened (to be used for complete XML file name path after
- each test history number)
- Output: $testJobHistory (array) [type][number] the number of passes and each failure [type] for each test history [number].
- Value "-" used if data is not available for a specific configuration in the related test job run.
-*/
-/* History data items */
-define("HISTORYTESTCASECOUNT", 0);
-define("HISTORYERRORCOUNT", 1);
-define("HISTORYFATALCOUNT", 2);
-define("HISTORYFAILCOUNT", 3);
-define("HISTORYXPASSCOUNT", 4);
-define("HISTORYPASSCOUNT", 5);
-function saveXmlHistory($configuration, $testConfHistory, $xmlDirectory, $testHistory, $xmlFileName, &$testJobHistory)
-{
- $testCaseCount = array();
- $failureTypeErrorCount = array();
- $failureTypeFatalCount = array();
- $failureTypeFailCount = array();
- $failureTypeXpassCount = array();
- $failureTypePassCount = array();
- $i = 0;
- foreach ($testHistory as $test) { // Check each RTA test job history
- if (in_array($configuration, $testConfHistory[$i])) { // Check that the configuration is available for each history
- $resultFile = simplexml_load_file($xmlDirectory . $test . '/' . $xmlFileName);
- foreach ($resultFile->children() as $summary) { // There can be several <summary> tags in the source XML file
- $testCaseCount[$i] = $testCaseCount[$i] + $summary->testCases;
- $failureTypeErrorCount[$i] = $failureTypeErrorCount[$i] + $summary->errors;
- $failureTypeFatalCount[$i] = $failureTypeFatalCount[$i] + $summary->fatals;
- $failureTypeFailCount[$i] = $failureTypeFailCount[$i] + $summary->failures;
- $failureTypeXpassCount[$i] = $failureTypeXpassCount[$i] + $summary->xpasses;
- $failureTypePassCount[$i] = $failureTypePassCount[$i] + $summary->passes;
- }
- } else {
- $testCaseCount[$i] = '-';
- $failureTypeErrorCount[$i] = '-';
- $failureTypeFatalCount[$i] = '-';
- $failureTypeFailCount[$i] = '-';
- $failureTypeXpassCount[$i] = '-';
- $failureTypePassCount[$i] = '-';
- }
- $i++;
- }
- $testJobHistory[HISTORYTESTCASECOUNT] = $testCaseCount;
- $testJobHistory[HISTORYERRORCOUNT] = $failureTypeErrorCount;
- $testJobHistory[HISTORYFATALCOUNT] = $failureTypeFatalCount;
- $testJobHistory[HISTORYFAILCOUNT] = $failureTypeFailCount;
- $testJobHistory[HISTORYXPASSCOUNT] = $failureTypeXpassCount;
- $testJobHistory[HISTORYPASSCOUNT] = $failureTypePassCount;
-}
-
-?>
diff --git a/non-puppet/qtmetrics/rta/getdatabasestatus.php b/non-puppet/qtmetrics/rta/getdatabasestatus.php
deleted file mode 100644
index a95c70e..0000000
--- a/non-puppet/qtmetrics/rta/getdatabasestatus.php
+++ /dev/null
@@ -1,81 +0,0 @@
-<?php
-session_start();
-?>
-
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-$initial = $_GET["initial"]; // 'true' = initial load of the page, 'false' = normal use of the page
-$timeOffset = $_GET["timeoffset"]; // Use client local time offset taking daylight saving time into account, e.g. "GMT-0600"
-$timeOffset = rawurldecode($timeOffset); // Decode the encoded parameter (encoding in ajaxrequest.js)
-
-include(__DIR__.'/../commonfunctions.php');
-include(__DIR__.'/../connectiondefinitions.php');
-
-/* Store session start time */
-if (!isset($_SESSION['sessionDate']))
- $_SESSION['sessionDate'] = gmdate("Y-m-d H:i:s"); // UTC time
-
-/* Print status */
-echo '<div id="sessionStatus">';
-if ($timeOffset == "GMT+0000")
- $timeOffsetFormatted = "GMT";
-else
- $timeOffsetFormatted = substr($timeOffset, 0, 6) . ':' . substr($timeOffset, 6, 2); // Add minute separator ':'
-$sessionTime = getLocalTime($_SESSION['sessionDate'], $timeOffset); // Change UTC to local time
-if ($initial == 1) { // Initial loading of the page
- echo '<b>Welcome to RTA Metrics</b><br/><br/>';
- echo 'Loading data for your session.<br/><br/><br/>';
- if (RTAMETRICSDESCRIPTION != "")
- echo '<span class="fontSmall">See <a href="' . RTAMETRICSDESCRIPTION . '" target="_blank"><b>RTA Metrics Description</b></a> for guidance and support</span>';
-}
-if ($initial == 0) { // Normal case (show session time)
- echo '<b>RTA Metrics</b><br/><br/>';
- echo 'Session started:<br/>' . $sessionTime . ' (' . $timeOffsetFormatted . ')<br/><br/>';
- if (RTAMETRICSDESCRIPTION != "")
- echo '<span class="fontSmall">See <a href="' . RTAMETRICSDESCRIPTION . '" target="_blank"><b>RTA Metrics Description</b></a> for guidance and support</span>';
-}
-echo '</div>';
-
-?>
diff --git a/non-puppet/qtmetrics/rta/getfilters.php b/non-puppet/qtmetrics/rta/getfilters.php
deleted file mode 100644
index c5e27e0..0000000
--- a/non-puppet/qtmetrics/rta/getfilters.php
+++ /dev/null
@@ -1,268 +0,0 @@
-<?php
-session_start();
-?>
-
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-include(__DIR__.'/../commondefinitions.php');
-include(__DIR__.'/../connectiondefinitions.php');
-include "metricsboxdefinitions.php";
-include "definitions.php";
-include "functions.php";
-
-$timeStart = microtime(true);
-
-/* Get filter values only if the source data directory is set */
-$rtaXmlBaseDir = RTAXMLBASEDIRECTORY;
-if ($rtaXmlBaseDir != "") {
-
- /* Loop the directory structure to save basic data for each RTA test job to session variables (so these are updated only once per session) */
- if (!isset($_SESSION['rtaTestJobCount'])) {
- $directories = new RecursiveIteratorIterator(
- new ParentIterator(
- new RecursiveDirectoryIterator($rtaXmlBaseDir)),
- RecursiveIteratorIterator::SELF_FIRST);
-
- /* Step 1. Save the data from the directory structure */
- $i = -1; // Initialize to identify the loop start (increased below to start from 0)
- $rtaTestJobCount = 0;
- $rtaTestJobId = array();
- $rtaTestJobName = array();
- $rtaTestHistoryNumbers = array();
- $rtaTestHistoryMin = array();
- $rtaTestHistoryMax = array();
- foreach ($directories as $directory) {
- $dirName = substr($directory, strripos($directory, "/") + 1); // A) Main level test job directory checked first to initialize the variables ...
- // Step 1.1: Save test job name based on the main level test job directory name
- if (!is_numeric($dirName)) { // Directory name is a job name (not a build number directory name)
- $i++; // Used for table index
- $rtaTestJobId[$i] = $i;
- $rtaTestJobName[$i] = $dirName;
- $rtaTestHistoryNumbers[$i] = array(); // Initialize
- $rtaTestHistoryMin[$i] = RTATESTHISTORYNUMBERMAX; // -,,- (to count down to min)
- $rtaTestHistoryMax[$i] = 0; // -,,- (to count up to max)
- }
- // Step 1.2: Save the first and last Jenkins test history number of each test job based on the subdirectory names
- else { // B) ... and then its history directories
- $rtaTestHistoryNumbers[$i][] = $dirName;
- if ($dirName < $rtaTestHistoryMin[$i])
- $rtaTestHistoryMin[$i] = $dirName;
- if ($dirName > $rtaTestHistoryMax[$i])
- $rtaTestHistoryMax[$i] = $dirName;
- }
- }
- /* Step 2. Save the data from the tar.gz file names and their content (done in a separate loop to optimize the speed of execution) */
- $i = -1; // Initialize to identify the loop start (increased below to start from 0)
- $rtaTestJobLatestBuild = array(); // Latest installer build number
- $rtaTestConfs = array(); // List of configurations per each test job
- $rtaTestConfsHistory = array(); // List of configurations per each test job and its history number
- foreach ($directories as $directory) {
- $dirName = substr($directory, strripos($directory, "/") + 1); // A) Main level test job directory checked first to initialize the variables ...
- if (!is_numeric($dirName)) { // Directory name is a job name (not a build number directory name)
- $i++; // Used for table index
- $j = 0; // Initialize
- $rtaTestJobLatestBuild[$i] = 0; // -,,-
- $rtaTestConfs[$i] = array(); // -,,- (per each test job)
- $rtaTestConfsHistory[$i] = array(); // -,,- (per each test job)
- } else { // B) ... and then its history directories
- // Step 2.1: Save the configuration names of each test job based on the tar.gz file name
- $rtaTestConfsHistory[$i][$j] = array(); // Per each history number in a test job
- $handle = opendir($directory);
- while (($entry = readdir($handle)) !== FALSE) { // Check the results in a tar.gz file (e.g. linux-g++-Ubuntu11.10-x86.tar.gz)
- if ($entry == "." || $entry == "..") {
- continue;
- }
- $buildNumber = 0;
- $configuration = substr($entry, 0, strpos($entry, TARFILENAMEEXTENSION));
- $rtaTestConfs[$i][] = $configuration; // Per each test job
- $rtaTestConfsHistory[$i][$j][] = $configuration; // Per each history number in a test job
- // Step 2.2: Save the installer build number of each test job for the latest test run from the result XML files in the tar.gz files
- if ($dirName == $rtaTestHistoryMax[$i]) { // Check the latest run only
- $filePath = $directory . '/' . $entry;
- if (is_file($filePath)) {
- try { // Open an existing phar
- $archive = new PharData($filePath);
- foreach (new RecursiveIteratorIterator($archive ) as $file) { // The summary and several result files
- if (stripos($file->getFileName(), RESULTXMLFILENAMEPREFIX) === 0) { // Check for the result files (e.g. result_10_08_17.446.xml)
- $filePathPhar = 'phar://' . $directory . '/' . $entry . '/' . $file->getFileName();
- saveDownloadXmlData($filePathPhar, $buildNumber); // Get the installer build number from the 'download' result file
- }
- }
- } catch (Exception $e) {
- echo 'Could not open Phar: ', $e;
- }
- }
- clearstatcache();
- $rtaTestJobLatestBuild[$i] = $buildNumber;
- }
- }
- closedir($handle);
- $j++;
- }
- }
- /* Sort the lists */
- $rtaTestJobCount = $i + 1;
- for ($i=0; $i<$rtaTestJobCount; $i++) { // Check each RTA test job directory (e.g. Qt5_RTA_opensource_installer_tests_linux_32bit) and its test runs (e.g. 220)
- array_multisort($rtaTestHistoryNumbers[$i], SORT_DESC, $rtaTestConfsHistory[$i]); // Sort the history numbers in descending order (and keep the linking via their configurations)
- sort($rtaTestConfs[$i]); // Sort alphabetically
- $rtaTestConfs[$i] = array_unique($rtaTestConfs[$i]); // Remove duplicate values
- }
- array_multisort($rtaTestJobName, $rtaTestJobId); // Sort the test jobs alphabetically (and keep the linking via their Id)
- /* Save the session variables */
- $_SESSION['rtaTestJobCount'] = $rtaTestJobCount;
- $_SESSION['rtaTestJobId'] = $rtaTestJobId;
- $_SESSION['rtaTestJobName'] = $rtaTestJobName;
- $_SESSION['rtaTestJobLatestBuild'] = $rtaTestJobLatestBuild;
- $_SESSION['rtaTestConfs'] = $rtaTestConfs;
- $_SESSION['rtaTestConfsHistory'] = $rtaTestConfsHistory;
- $_SESSION['rtaTestHistoryNumbers'] = $rtaTestHistoryNumbers;
- $_SESSION['rtaTestHistoryMin'] = $rtaTestHistoryMin;
- $_SESSION['rtaTestHistoryMax'] = $rtaTestHistoryMax;
- }
-
- /* Get the filter values from the list of RTA test job names (that were saved above) */
- $filterValuesTest = array(); // Value list for the filter
- $filterValuesLicense = array(); // -,,-
- $filterValuesPlatform = array(); // -,,-
- $allValuesTest = "."; // List to ensure one value appears only once
- $allValuesLicense = "."; // -,,-
- $allValuesPlatform = "."; // -,,-
- foreach ($_SESSION['rtaTestJobName'] as $key=>$value) {
- /* Test type */
- $str = substr($value, 0, stripos($value, TESTTYPESEPARATOR)); // Cut the string after test type
- $str = substr($str, strripos($str, "_") + 1); // Cut the string before test type
- if (stripos($allValuesTest, '.' . $str . '.') === FALSE) // Add only if not yet in the list
- $filterValuesTest[] = $str;
- $allValuesTest = $allValuesTest . $str . '.';
- /* License type */
- $str = substr($value, stripos($value, LICENSETYPESEPARATOR) + strlen(LICENSETYPESEPARATOR)); // Cut the string before license type
- $str = substr($str, 0, stripos($str, "_")); // Cut the string after license type
- if (stripos($allValuesLicense, '.' . $str . '.') === FALSE) // Add only if not yet in the list
- $filterValuesLicense[] = $str;
- $allValuesLicense = $allValuesLicense . $str . '.';
- /* Platform */
- $str = substr($value, stripos($value, TESTTYPESEPARATOR) + strlen(TESTTYPESEPARATOR)); // Cut the string before platform
- $str = substr($str, 0, stripos($str, "_")); // Cut the string after platform
- if (stripos($allValuesPlatform, '.' . $str . '.') === FALSE) // Add only if not yet in the list
- $filterValuesPlatform[] = $str;
- $allValuesPlatform = $allValuesPlatform . $str . '.';
- }
- sort($filterValuesTest);
- sort($filterValuesLicense);
- sort($filterValuesPlatform);
-}
-
-/* Print the buttons */
-echo '<div id="filterTitle">';
-echo '<b>FILTERS:</b>';
-echo '</div>';
-echo '<div id="filterButtons">';
-echo '<button onclick="clearFilters()">Clear selections</button>';
-echo '&nbsp;';
-echo '<button onclick="reloadFilters()">Reload</button>';
-echo '</div>';
-
-/* Print the filters */
-echo '<div id="filterFields">';
-echo '<form name="form">';
-echo '<div id="filterFieldsLeft">';
-echo '<label>Test Type:</label>';
-echo '<select name="test" id="test" onchange="filterTest(this.value)">';
- echo "<option value=\"All\">All</option>";
- if ($rtaXmlBaseDir != "") {
- foreach ($filterValuesTest as $key=>$value)
- echo "<option value=\"$value\">$value</option>";
- }
-echo '</select>';
-echo '<br/>';
-echo '<label>License Type:</label>';
-echo '<select name="license" id="license" onchange="filterLicense(this.value)">';
- echo "<option value=\"All\">All</option>";
- if ($rtaXmlBaseDir != "") {
- foreach ($filterValuesLicense as $key=>$value)
- echo "<option value=\"$value\">$value</option>";
- }
-echo '</select>';
-echo '<br/>';
-echo '<label>Platform:</label>';
-echo '<select name="platform" id="platform" onchange="filterPlatform(this.value)">';
- echo "<option value=\"All\">All</option>";
- if ($rtaXmlBaseDir != "") {
- foreach ($filterValuesPlatform as $key=>$value)
- echo "<option value=\"$value\">$value</option>";
- }
-echo '</select>';
-echo '</div>';
-echo '<div id="filterFieldsMiddle">';
-echo '<select name="job" id="job" onchange="filterJob(this.value)" class="hiddenElement">'; // Note: The filter is hidden, used via history box links instead
- echo "<option value=\"All\">All</option>";
- if ($rtaXmlBaseDir != "") {
- for ($i=0; $i<$rtaTestJobCount; $i++) {
- $j = $rtaTestJobId[$i];
- foreach ($rtaTestConfs[$j] as $key=>$valueConf) {
- $value = $rtaTestJobName[$i] . FILTERSEPARATOR . 'conf'. FILTERVALUESEPARATOR . $valueConf; // Include both job name and configuration
- echo "<option value=\"$value\">$value</option>";
- }
- }
- }
-echo '</select>';
-echo '</div>';
-echo '</form>';
-echo '<div id="filterFieldsRight">';
-echo '</div>';
-echo '</form>';
-echo '</div>';
-
-/* Elapsed time */
-if ($showElapsedTime) {
- $timeEnd = microtime(true);
- $time = round($timeEnd - $timeStart, 2);
- echo "<div class=\"elapdedTime\">";
- echo "<ul><li>";
- echo "Total time: $time s";
- echo "</li></ul>";
- echo "</div>";
-}
-?>
diff --git a/non-puppet/qtmetrics/rta/metricsboxdefinitions.php b/non-puppet/qtmetrics/rta/metricsboxdefinitions.php
deleted file mode 100644
index 0c2dd56..0000000
--- a/non-puppet/qtmetrics/rta/metricsboxdefinitions.php
+++ /dev/null
@@ -1,71 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-
-/* Metrics boxes */
-define("METRICSBOXNAME", 0); // Path and name of the metrics box implementation file
-define("METRICSBOXREPEAT", 1); // How many times the metrics box implementation file is called on each update
-define("METRICSBOXFILTERSAPPLIED", 2); // The metrics box is updated when this filter changes
-define("METRICSBOXFILTERSCLEARED", 3); // The filters to clear when other applied filters change
-$arrayMetricsBoxes = array (
- // Metrics boxes will appear in the order defined below
- //
- // *) Possible values: All, test, license, platform, job
- //
- // File path and name Repeat Applied filters *) Filters to clear *)
- // -------------------------------------------------------------------------------------------------
- array( "rta/showrtahistory.php" ,2 ,"All" ,"job" ),
- array( "rta/showrtafailures.php" ,2 ,"test, license, platform" ,"" ),
-);
-
-/* Filters */
-define("FILTERSEPARATOR", ";");
-define("FILTERVALUESEPARATOR", ":");
-define("FILTERTEST", 0);
-define("FILTERLICENSE", 1);
-define("FILTERPLATFORM", 2);
-define("FILTERTESTJOB", 3);
-define("FILTERTESTCONF", 4);
-
-?>
diff --git a/non-puppet/qtmetrics/rta/msgrtafailures.html b/non-puppet/qtmetrics/rta/msgrtafailures.html
deleted file mode 100644
index 0c133c5..0000000
--- a/non-puppet/qtmetrics/rta/msgrtafailures.html
+++ /dev/null
@@ -1,93 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <link rel="stylesheet" type="text/css" href="../styles.css" />
- <link rel="shortcut icon" href="../images/favicon.ico" type="image/x-icon" />
- <title>Qt Metrics Information</title>
- </head>
-
- <body class="messageWindow">
- <img src="../images/info.png" alt="info"><br><br>
-
- <!-- The message or content to be shown on new window -->
- <p><b><u>LATEST RTA FAILURES DESCRIPTION:</u></b></p>
- <table>
- <tr>
- <th class="tableCellAlignLeft">GENERAL</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Purpose</th>
- <td class="tableSingleBorder">Improve Release Test Automation (RTA) stability by proving a list of failures in latest test jobs
- to be able to start needed corrective actions</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Question</th>
- <td class="tableSingleBorder">What are the failures (types: ERROR, FAIL, FATAL and XPASS i.e. uneXpected PASS) in each test job</td>
- </tr>
- <tr><td>&nbsp;</td><td></td></tr>
- <tr>
- <th class="tableCellAlignLeft">METRIC</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Filters</th>
- <td class="tableSingleBorder">Test type, License type, Platform can be used to filter the list.<br>
- The test job name links in the list can be used to update the <u>RTA history</u> box for detailed
- information about the test job (Note: this list is remains the same).</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Indicator</th>
- <td class="tableSingleBorder">List of failures in each test job</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Calculation</th>
- <td class="tableSingleBorder">Only the failures are listed from the report files, other types (PASS, LOG) are skipped.<br>
- The number of PASSes and each failure type are shown per each test job.</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Interpretation</th>
- <td class="tableSingleBorder">Zero in failure counts means there were not any failures of affected types</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Target value</th>
- <td class="tableSingleBorder">Zero i.e. no failures listed here</td>
- </tr>
- <tr><td>&nbsp;</td><td></td></tr>
- <tr>
- <th class="tableCellAlignLeft">DATA</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data items</th>
- <td class="tableSingleBorder"><b>Test job name:</b> Job name in Packaging Jenkins, e.g. "Qt5_RTA_opensource_installer_tests_linux_32bit",
- where "opensource" is a License type, "installer" is a Test type and "linux" is a Platform
- (as used in the filters)<br>
- <b>Job start time:</b> Date and time when job started (shown as it appears in the source result file)<br>
- <b>Configuration:</b> One or several per test job (e.g. "linux-g++-Ubuntu11.10-x86")<br>
- <b>Installer build number:</b> Number of the offline/online Qt installer under test<br>
- <b>Jenkins build history:</b> Running number of test jobs in Packaging Jenkins<br>
- <b>Failure description:</b> Failure type and test case name, python script name and line number, and
- failure description<br>
- <b>Summary:</b> Number of PASSed and failed tests per each failure type
- </td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data source</th>
- <td class="tableSingleBorder">Data in result XML files (result_***.xml) saved from Packaging Jenkins to
- ci-files02-hki.ci.local/home/bld.qt/squishlogs/.<br>
- Files are located under each test job directory (e.g. "Qt5_RTA_opensource_installer_tests_linux_32bit")
- and their Packaging Jenkins build history number directory (e.g. "220") as configuration specific
- tar.gz files (e.g. "linux-g++-Ubuntu11.10-x86.tar.gz"). </td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data update cycle</th>
- <td class="tableSingleBorder">New test job result files are saved in real time</td>
- </tr>
- </table>
- <!-- End of message -->
-
- <br><br>
- <button type="button" onclick="window.open('', '_self', ''); window.close();">Close</button>
- <br><br>
-
- </body>
-</html>
diff --git a/non-puppet/qtmetrics/rta/msgrtahistorylevel1.html b/non-puppet/qtmetrics/rta/msgrtahistorylevel1.html
deleted file mode 100644
index 6f1f5f2..0000000
--- a/non-puppet/qtmetrics/rta/msgrtahistorylevel1.html
+++ /dev/null
@@ -1,109 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <link rel="stylesheet" type="text/css" href="../styles.css" />
- <link rel="shortcut icon" href="../images/favicon.ico" type="image/x-icon" />
- <title>Qt Metrics Information</title>
- </head>
-
- <body class="messageWindow">
- <img src="../images/info.png" alt="info"><br><br>
-
- <!-- The message or content to be shown on new window -->
- <p><b><u>RTA HISTORY DESCRIPTION:</u></b></p>
- <p><b>Level 1: Show list of test jobs</b></p>
- <table>
- <tr>
- <th class="tableCellAlignLeft">GENERAL</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Purpose</th>
- <td class="tableSingleBorder">Provide visibility to the Release Test Automation (RTA) status and its progress at one glance</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Question</th>
- <td class="tableSingleBorder">What is the number of passes and failures (types: ERROR, FAIL, FATAL and XPASS i.e. uneXpected
- PASS) in each test job, both on the latest and previous test runs.<br>
- What are the changes between the latest and previous test run in terms of number of passes and
- failures.</td>
- </tr>
- <tr><td>&nbsp;</td><td></td></tr>
- <tr>
- <th class="tableCellAlignLeft">METRIC</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Filters</th>
- <td class="tableSingleBorder">Test type, License type, Platform can be used to filter the list.<br>
- The test job name links in the list can be used to dive in into detailed information (level 2 view).</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Indicator</th>
- <td class="tableSingleBorder">List of test jobs with their status, result history and changes</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Calculation</th>
- <td class="tableSingleBorder">The changes are compared only between the latest (last) and previous (last-1) test run, older
- ones are shown just for reference.<br>
- The failure count is a summary of the following types: ERROR, FAIL, FATAL and XPASS i.e.
- uneXpected PASS. Each failure type is compared separately for the change counts. Therefore
- it is possible to identify the cases where failures are decreasing with one type, while
- increasing with some other type.<br>
- See the link in "status & changes" for further details.</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Interpretation</th>
- <td class="tableSingleBorder"><b>Status & changes (Passes):</b> Numbers indicate the change between the latest (last)
- and previous (last-1) test run. Color coding is not used.<br>
- <b>Status & changes (Failures):</b> Red color indicates the failure count is increasing,
- yellow indicates there are failures existing, and green indicates that there are not any
- failures. Numbers indicate the change between the latest (last) and previous (last-1) RTA
- test job run.<br>
- See the link in "status & changes" for further details.</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Target value</th>
- <td class="tableSingleBorder"><b>Status & changes:</b> All tests are passed and there are not any failures i.e. the
- failures show green.</td>
- </tr>
- <tr><td>&nbsp;</td><td></td></tr>
- <tr>
- <th class="tableCellAlignLeft">DATA</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data items</th>
- <td class="tableSingleBorder"><b>Test job name:</b> Job name in Packaging Jenkins, e.g. "Qt5_RTA_opensource_installer_tests_linux_32bit",
- where "opensource" is a License type, "installer" is a Test type and "linux" is a Platform
- (as used in the filters).<br>
- <b>Configuration:</b> One or several per test job (e.g. "linux-g++-Ubuntu11.10-x86").<br>
- <b>Installer build:</b> Number of the offline/online Qt installer under test.<br>
- <b>Status & changes:</b> See the link in "status & changes" for further details.<br>
- <b>last:</b> Number of passes and failures in the latest test run (Packaging Jenkins build
- history number), <u>used in comparison.</u><br>
- <b>last-1:</b> Number of passes and failures in the previous test run, <u>used in comparison.</u>
- The value "-" indicates that the specific configuration in the related test job run was
- not executed, or that the results are otherwise not available.<br>
- <b>last-n:</b> Number of passes and failures in the previous test runs. See above for the
- value "-".</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data source</th>
- <td class="tableSingleBorder">Data in result XML files (summary.xml, and Installer build number from result_***.xml) saved
- from Packaging Jenkins to ci-files02-hki.ci.local/home/bld.qt/squishlogs/.<br>
- Files are located under each test job directory (e.g. "Qt5_RTA_opensource_installer_tests_linux_32bit") and
- their Packaging Jenkins build history number directory (e.g. "220") as configuration specific
- tar.gz files (e.g. "linux-g++-Ubuntu11.10-x86.tar.gz").</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data update cycle</th>
- <td class="tableSingleBorder">New test job result files are saved in real time</td>
- </tr>
- </table>
- <!-- End of message -->
-
- <br><br>
- <button type="button" onclick="window.open('', '_self', ''); window.close();">Close</button>
- <br><br>
-
- </body>
-</html>
diff --git a/non-puppet/qtmetrics/rta/msgrtahistorylevel2.html b/non-puppet/qtmetrics/rta/msgrtahistorylevel2.html
deleted file mode 100644
index 2bcb9e0..0000000
--- a/non-puppet/qtmetrics/rta/msgrtahistorylevel2.html
+++ /dev/null
@@ -1,112 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <link rel="stylesheet" type="text/css" href="../styles.css" />
- <link rel="shortcut icon" href="../images/favicon.ico" type="image/x-icon" />
- <title>Qt Metrics Information</title>
- </head>
-
- <body class="messageWindow">
- <img src="../images/info.png" alt="info"><br><br>
-
- <!-- The message or content to be shown on new window -->
- <p><b><u>RTA HISTORY DESCRIPTION:</u></b></p>
- <p><b>Level 2: Show test job history and comparison</b></p>
- <table>
- <tr>
- <th class="tableCellAlignLeft">GENERAL</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Purpose</th>
- <td class="tableSingleBorder">Provide list of changes in the results of the last two Release Test Automation (RTA) test job
- runs to be able to easily analyze those changes and to start needed corrective actions.</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Question</th>
- <td class="tableSingleBorder">What are the failures (types: ERROR, FAIL, FATAL and XPASS i.e. uneXpected PASS) both on the
- latest and previous test runs.<br>
- What are the changes between the latest and previous test run failure by failure.</td>
- </tr>
- <tr><td>&nbsp;</td><td></td></tr>
- <tr>
- <th class="tableCellAlignLeft">METRIC</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Filters</th>
- <td class="tableSingleBorder">The selected test job and its configuration is shown</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Indicator</th>
- <td class="tableSingleBorder">Test job result history and the changes between the last two test runs</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Calculation</th>
- <td class="tableSingleBorder"><b>Test history:</b> The changes are compared only between the latest (last) and previous (last-1)
- test run, older ones are shown just for reference. See the link in "status & changes" for further
- details.<br>
- <b>Comparison:</b> The summary tables calculate the number of PASSes and each failure type, as well
- as the number of changes between the last two test runs, on count basis. The failures in the latest
- (last) and the previous (last-1) test run are compared as text. The summary of changes table counts
- the failure messages based on are they new, removed or the same in the last two test job runs.</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Interpretation</th>
- <td class="tableSingleBorder"><b>Test history:</b> Numbers and the color in the <u>Status & changes</u> indicate the change
- between the latest (last) and previous (last-1) test run. See the link for further details.<br>
- <b>Comparison:</b> The <u>summary tables</u> show the number of PASSes and each failure type, as
- well as the changes between the last two test runs, on count basis. The <u>failures</u> are listed
- parallel for the latest (last) and the previous (last-1) test run to identify are they new (appear
- only in the 'last' run column), are they the same (appear in both columns), or have they been removed
- (appear only in the 'last-1' column). The <u>summary of changes table</u> show the number of new,
- removed and same failures in the two runs.</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Target value</th>
- <td class="tableSingleBorder"><b>Test history (Status & changes):</b> All tests are passed and there are not any failures i.e.
- the failures show green.<br>
- <b>Comparison:</b> There are not any failures with the latest (last) test job run i.e. the 'last'
- column show either zero (for failure counts) or empty (for failure descriptions).</td>
- </tr>
- <tr><td>&nbsp;</td><td></td></tr>
- <tr>
- <th class="tableCellAlignLeft">DATA</th><td></td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data items</th>
- <td class="tableSingleBorder"><b>Test job name:</b> Job name in Packaging Jenkins, e.g. "Qt5_RTA_opensource_installer_tests_linux_32bit",
- where "opensource" is a License type, "installer" is a Test type and "linux" is a Platform
- (as used in the filters).<br>
- <b>Configuration:</b> One or several per test job (e.g. "linux-g++-Ubuntu11.10-x86").<br>
- <b>Installer build number:</b> Number of the offline/online Qt installer under test.<br>
- <b>Jenkins build history:</b> Running number of test jobs in Packaging Jenkins.
- <u>Note:</u>The squish report link will work only if the report is available in Jenkins.<br>
- <b>Status & changes:</b> See the link in "status & changes" for further details.<br>
- <b>last:</b> Number of passes, failures and the failure description (failure type and test case
- name, python script name and line number, and failure description text) in the latest test run
- (Packaging Jenkins build history number)<br>
- <b>last-1:</b> Number of passes, failures and the failure description in the previous test run.
- Empty or the value "-" indicates that the specific configuration in the related test job run was
- not executed, or that the results are otherwise not available.</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data source</th>
- <td class="tableSingleBorder">Data in result XML files (summary.xml and result_***.xml) saved from Packaging Jenkins to
- ci-files02-hki.ci.local/home/bld.qt/squishlogs/.<br>
- Files are located under each test job directory (e.g. "Qt5_RTA_opensource_installer_tests_linux_32bit") and
- their Packaging Jenkins build history number directory (e.g. "220") as configuration specific
- tar.gz files (e.g. "linux-g++-Ubuntu11.10-x86.tar.gz").</td>
- </tr>
- <tr>
- <th class="tableCellBackgroundTitle tableCellAlignLeft tableSingleBorder">Data update cycle</th>
- <td class="tableSingleBorder">New test job result files are saved in real time</td>
- </tr>
- </table>
- <!-- End of message -->
-
- <br><br>
- <button type="button" onclick="window.open('', '_self', ''); window.close();">Close</button>
- <br><br>
-
- </body>
-</html>
diff --git a/non-puppet/qtmetrics/rta/msgstatuschangesdescription.html b/non-puppet/qtmetrics/rta/msgstatuschangesdescription.html
deleted file mode 100644
index 24db8c0..0000000
--- a/non-puppet/qtmetrics/rta/msgstatuschangesdescription.html
+++ /dev/null
@@ -1,71 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8">
- <link rel="stylesheet" type="text/css" href="../styles.css" />
- <link rel="shortcut icon" href="../images/favicon.ico" type="image/x-icon" />
- <title>Qt Metrics Information</title>
- </head>
-
- <body class="messageWindow">
- <img src="../images/info.png" alt="info"><br><br>
-
- <!-- The message or content to be shown on new window -->
- <p><b><u>RTA RESULTS STATUS & CHANGES NOTATION:</u></b></p>
- <table>
- <tr><td colspan="2"><b>Status:</b></td></tr>
- <tr>
- <td class="tableSingleBorder tableCellCentered tableCellBackgroundRed"></td>
- <td>The latest RTA test job run (last) has <b>new failures</b> compared to the previous (last-1) one.</td>
- </tr>
- <tr>
- <td class="tableSingleBorder tableCellCentered tableCellBackgroundYellow"></td>
- <td>The latest RTA test job run (last) still has <b>failures</b>.</td>
- </tr>
- <tr>
- <td class="tableSingleBorder tableCellCentered tableCellBackgroundGreen"></td>
- <td>The latest RTA test job run (last) does <b>not</b> have <b>any failures</b>.</td>
- </tr>
- <tr>
- <td class="tableSingleBorder tableCellCentered"></td>
- <td>The <b>passed test cases</b> are not color coded.</td>
- </tr>
- <tr>
- <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td></td>
- </tr>
- <tr><td colspan="2"><b>Changes (used with any status color):</b></td></tr>
- <tr>
- <td class="tableSingleBorder tableCellCentered">+2</td>
- <td>The number of passes, or failures of any type (sum of all types), is <b>increasing</b> in the latest RTA
- test job run compared to the previous (last-1) one.</td>
- </tr>
- <tr>
- <td class="tableSingleBorder tableCellCentered">-1</td>
- <td>The number of passes, or failures of any type (sum of all types), is <b>decreasing</b> in the latest RTA
- test job run compared to the previous (last-1) one.</td>
- </tr>
- <tr>
- <td class="tableSingleBorder tableCellCentered">+2 / -1</td>
- <td>There are both <b>increases</b> (sum of all types) and <b>decreases</b> (sum of all types) among the
- different failure types. In practice, failures are increasing with one or several types while decreasing
- with another type or types. Counts are compared between the latest RTA test job run (last) and the previous
- (last-1) one.</td>
- </tr>
- <tr>
- <td class="tableSingleBorder tableCellCentered"></td>
- <td>There are <b>not any changes</b> in passes or in any of the failure types in the latest RTA test job run
- compared to the previous (last-1) one.</td>
- </tr>
- </table>
- <br>
- <p>The failures include the following types: ERROR, FAIL, FATAL and XPASS i.e. uneXpected PASS.
- Each failure type is compared separately for the change counts. Therefore it is possible to
- identify the cases where failures are decreasing with one type, while increasing with some other type.</p>
- <!-- End of message -->
-
- <br><br>
- <button type="button" onclick="window.open('', '_self', ''); window.close();">Close</button>
- <br><br>
-
- </body>
-</html>
diff --git a/non-puppet/qtmetrics/rta/showrtafailures.php b/non-puppet/qtmetrics/rta/showrtafailures.php
deleted file mode 100644
index 8f55a80..0000000
--- a/non-puppet/qtmetrics/rta/showrtafailures.php
+++ /dev/null
@@ -1,292 +0,0 @@
-<?php
-session_start();
-?>
-
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-include(__DIR__.'/../commonfunctions.php');
-include(__DIR__.'/../commondefinitions.php');
-include(__DIR__.'/../connectiondefinitions.php');
-include "metricsboxdefinitions.php";
-include "definitions.php";
-include "functions.php";
-
-/* Print table title row (the same columns to be used in showTestFailuresTableEnd and showTestFailures) */
-function showTestFailuresTableTitle()
-{
- echo '<table class="fontSmall">';
- echo '<tr class="tableBottomBorder">';
- echo '<th>Test Job</th>';
- echo '<th class="tableSideBorder">Failure Description</th>';
- echo '<th class="tableSideBorder">Summary</th>';
- echo '</tr>';
- // Leave the table 'open', to be closed in showTestFailuresTableEnd
-}
-
-/* Close the table */
-function showTestFailuresTableEnd()
-{
- echo '<tr class="tableTopBorder">';
- echo '<td></td>'; // Test Job
- echo '<td></td>'; // Failure Description
- echo '<td></td>'; // Summary
- echo '</tr>';
- echo '</table>';
-}
-
-/* Print failure information for a test job as one row in a table
- Input: $testJobName (string) the main title
- $testConfiguration (string) detailed information shown below the title
- $buildNumber -,,-
- $testHistoryNumber -,,-
- $timestamp -,,-
- $failureDescription (array) [failure] the list of failures with type, test name, file name, line number and failure description itself
- $testJobSummary (array) [type] the number of passes and each failure type
- $rowNumber (integer) a counter how many times this function called, used to separate every other row with a different background color
- Output: (none)
-*/
-function showTestFailures($testJobName, $testConfiguration, $buildNumber, $testHistoryNumber, $timestamp, $failureDescription,
- $testJobSummary, $rowNumber)
-{
- if ($rowNumber % 2 == 0)
- echo '<tr>';
- else
- echo '<tr class="tableBackgroundColored">';
- if (strpos($testJobName, "enterprise") !== FALSE)
- $testHistoryNumberLink = PACKAGINGJENKINSENTERPRISE;
- else
- $testHistoryNumberLink = PACKAGINGJENKINSOPENSOURCE;
- if ($testHistoryNumberLink != "")
- $testHistoryNumberLink = $testHistoryNumberLink . 'job/' . $testJobName . '/' . $testHistoryNumber .
- '/cfg=' . $testConfiguration . '/squishReport/';
- // Link to filter the job which will update the history box to comparison view (level 2). Note that the latest failures list in this box remains the same.
- $selectedJob = $testJobName . FILTERSEPARATOR . 'conf'. FILTERVALUESEPARATOR . $testConfiguration; // Note: The filter values (in getfilters.php) must include all these values
- echo '<td><a href="javascript:void(0);" onclick="filterJob(\'' . $selectedJob . '\')"><b>' . $testJobName . '</b></a><br><br>';
- echo '<table>';
- echo '<tr><td><b>Job start time: </b></td><td>' . $timestamp . '</td></tr>';
- echo '<tr><td><b>Configuration: </b></td><td>' . $testConfiguration . '</td></tr>';
- echo '<tr><td><b>Installer build number: </b></td><td>' . $buildNumber . '</td></tr>';
- echo '<tr><td><b>Jenkins build history: </b></td><td><a href="' . $testHistoryNumberLink .
- '" title="Report opens if available in Jenkins" target="_blank">' . $testHistoryNumber .
- ' (open squish report)</a></td></tr>';
- echo '</table>';
- echo '<br></td>';
- echo '<td class="tableSideBorder">' . implode($failureDescription) . '<br></td>';
- echo '<td class="tableSideBorder">';
- echo '<table>';
- echo '<tr class="fontColorGreen"><td><b>PASSes: </b></td><td>' . $testJobSummary[TESTPASSCOUNT] . '</td></tr>';
- echo '<tr><td><b>ERRORs: </b></td><td>' . $testJobSummary[TESTERRORCOUNT] . '</td></tr>';
- echo '<tr><td><b>FAILs: </b></td><td>' . $testJobSummary[TESTFAILCOUNT] . '</td></tr>';
- echo '<tr><td><b>FATALs: </b></td><td>' . $testJobSummary[TESTFATALCOUNT] . '</td></tr>';
- echo '<tr><td><b>XPASSes: </b></td><td>' . $testJobSummary[TESTXPASSCOUNT] . '</td></tr>';
- echo '</table>';
- echo '</td>';
- echo '</tr>';
-}
-
-/************************************************************/
-/* FLAT VIEW: The latest RTA failures */
-/************************************************************/
-
-$timeStart = microtime(true);
-
-/* Proceed only if the source data directory is set */
-$rtaXmlBaseDir = RTAXMLBASEDIRECTORY;
-if ($rtaXmlBaseDir != "") {
-
- /* Get the input parameters */
- $round = $_GET["round"];
- $arrayFilters = array();
- $arrayFilter = array();
- $filters = $_GET["filters"];
- $filters = rawurldecode($filters); // Decode the encoded parameter (encoding in ajaxrequest.js)
- $arrayFilters = explode(FILTERSEPARATOR, $filters);
- $arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERTEST]);
- $test = $arrayFilter[1];
- $arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERLICENSE]);
- $license = $arrayFilter[1];
- $arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERPLATFORM]);
- $platform = $arrayFilter[1];
-
- /* Print the titles and used filters */
- if ($round == 1)
- echo "<img src=\"images/ajax-loader.gif\" alt=\"loading\">&nbsp&nbsp"; // On the first round show the loading icon
- else
- echo '<a href="javascript:void(0);" class="imgLink" onclick="showMessageWindow(\'rta/msgrtafailures.html\')">
- <img src="images/info.png" alt="info"></a>&nbsp&nbsp';
- echo '<b>LATEST RTA FAILURES:</b><br/><br/>';
- if ($test <> "All" OR $license <> "All" OR $platform <> "All") {
- echo '<table>';
- if ($test <> "All")
- echo '<tr><td>Test Type:</td><td class="tableCellBackgroundTitle">' . $test . '</td></tr>';
- if ($license <> "All")
- echo '<tr><td>License Type:</td><td class="tableCellBackgroundTitle">' . $license . '</td></tr>';
- if ($platform <> "All")
- echo '<tr><td>Platform:</td><td class="tableCellBackgroundTitle">' . $platform . '</td></tr>';
- echo '</table>';
- echo '<br>';
- }
-
- // Get the data on second round
- if ($round > 1) {
-
- if (isset($_SESSION['rtaTestJobCount'])) {
-
- /* Get data from the session variables */
- $rtaTestJobCount = 0;
- $rtaTestJobId = array();
- $rtaTestJobName = array();
- $rtaTestHistoryNumbers = array();
- $rtaTestHistoryMin = array();
- $rtaTestHistoryMax = array();
- $rtaTestJobCount = $_SESSION['rtaTestJobCount'];
- $rtaTestJobId = $_SESSION['rtaTestJobId'];
- $rtaTestJobName = $_SESSION['rtaTestJobName'];
- $rtaTestJobLatestBuild = $_SESSION['rtaTestJobLatestBuild'];
- $rtaTestHistoryNumbers = $_SESSION['rtaTestHistoryNumbers'];
- $rtaTestHistoryMin = $_SESSION['rtaTestHistoryMin'];
- $rtaTestHistoryMax = $_SESSION['rtaTestHistoryMax'];
-
- $testJobSummary = array();
-
- /* Print table titles */
- showTestFailuresTableTitle();
-
- /* Check possible filtering */
- $k = 0;
- if ($test == "All")
- $filterTest = '_'; // Set the string to be found in the test job name (i.e. directory name)
- else
- $filterTest = '_' . $test . '_'; // -,,-
- if ($license == "All")
- $filterLicense = '_'; // -,,-
- else
- $filterLicense = '_' . $license . '_'; // -,,-
- if ($platform == "All")
- $filterPlatform = '_'; // -,,-
- else
- $filterPlatform = '_' . $platform . '_'; // -,,-
- for ($i=0; $i<$rtaTestJobCount; $i++) { // Check each RTA test job directory (e.g. Qt5_RTA_opensource_installer_tests_linux_32bit) and its test runs (e.g. 220)
- if (strpos($rtaTestJobName[$i], $filterTest) > 0 AND
- strpos($rtaTestJobName[$i], $filterLicense) > 0 AND
- strpos($rtaTestJobName[$i], $filterPlatform) > 0) {
-
- /* Loop the directories in sorted order ($rtaTestJobName is sorted, other data linked with the $rtaTestJobId) */
- $j = $rtaTestJobId[$i];
- $rtaTestJobDirectory = $rtaXmlBaseDir . $rtaTestJobName[$i];
- $directories = new RecursiveIteratorIterator(
- new ParentIterator(
- new RecursiveDirectoryIterator($rtaTestJobDirectory)),
- RecursiveIteratorIterator::SELF_FIRST);
- foreach ($directories as $directory) { // Check each RTA test job history (e.g. 220, 219, 218)
- $dirName = substr($directory, strripos($directory, "/") + 1);
- if ($dirName == $rtaTestHistoryMax[$j]) { // Check the latest run only
- $handle = opendir($directory);
- while (($entry = readdir($handle)) !== FALSE) { // Check the results in a tar.gz file (e.g. linux-g++-Ubuntu11.10-x86.tar.gz)
- if ($entry == "." || $entry == "..") {
- continue;
- }
- $timestamp = '';
- $buildNumber = 0;
- $failureDescription = array();
- $testJobSummary[TESTERRORCOUNT] = 0;
- $testJobSummary[TESTFATALCOUNT] = 0;
- $testJobSummary[TESTFAILCOUNT] = 0;
- $testJobSummary[TESTXPASSCOUNT] = 0;
- $testJobSummary[TESTPASSCOUNT] = 0;
- $filePath = $directory . '/' . $entry;
- if (is_file($filePath)) {
- try { // Open an existing phar
- $archive = new PharData($filePath);
- foreach (new RecursiveIteratorIterator($archive ) as $file) {
- if (stripos($file->getFileName(), RESULTXMLFILENAMEPREFIX) === 0) { // Check for the result file (e.g. result_10_08_17.446.xml)
- // Get the failure data (Note: May be several XML files)
- $filePathPhar = 'phar://' . $directory . '/' . $entry . '/' . $file->getFileName();
- saveXmlFailures($filePathPhar, $timestamp, $buildNumber, $failureDescription, $testJobSummary);
- }
- }
- // Print the failure data
- $configuration = substr($entry, 0, strpos($entry, TARFILENAMEEXTENSION));
- showTestFailures($rtaTestJobName[$i], $configuration, $rtaTestJobLatestBuild[$j],
- $dirName, $timestamp, $failureDescription, $testJobSummary, $k);
- $k++;
- } catch (Exception $e) {
- echo 'Could not open Phar: ', $e;
- }
- }
- clearstatcache();
- }
- closedir($handle);
- }
- }
- }
- }
-
- /* Show summary and close the table */
- showTestFailuresTableEnd();
-
- } else {
- echo '<br>Filter values not ready or they are expired, please <a href="javascript:void(0);" onclick="reloadFilters()">reload</a> ...';
- }
-
- }
-
-/* Proceed only if the source data directory is set */
-} else {
- echo '<b>Sorry, the source data is not available here!</b>';
-}
-
-/* Elapsed time */
-if ($showElapsedTime) {
- $timeEnd = microtime(true);
- $time = round($timeEnd - $timeStart, 2);
- echo "<div class=\"elapdedTime\">";
- echo "<ul><li>";
- echo "Total time: $time s";
- echo "</li></ul>";
- echo "</div>";
-}
-
-?>
diff --git a/non-puppet/qtmetrics/rta/showrtahistory.php b/non-puppet/qtmetrics/rta/showrtahistory.php
deleted file mode 100644
index 74a3780..0000000
--- a/non-puppet/qtmetrics/rta/showrtahistory.php
+++ /dev/null
@@ -1,717 +0,0 @@
-<?php
-session_start();
-?>
-
-<?php
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-?>
-
-<?php
-include(__DIR__.'/../commonfunctions.php');
-include(__DIR__.'/../commondefinitions.php');
-include(__DIR__.'/../connectiondefinitions.php');
-include "metricsboxdefinitions.php";
-include "definitions.php";
-include "functions.php";
-
-/* Print table title row (the same columns to be used in showTestHistoryTableEnd and showTestHistory) */
-function showTestHistoryTableTitle()
-{
- echo '<table class="fontSmall">';
- echo '<tr class="tableBottomBorderThick">';
- echo '<th colspan="2"></th>'; // Test Job name, configuration and build number
- echo '<th></th>'; // Passes/Failures
- echo '<th><a href="javascript:void(0);" onclick="showMessageWindow(\'rta/msgstatuschangesdescription.html\')">
- status<br>&<br>changes</a></th>'; // Status and changes between the last and last-1 with traffic lights
- echo '<th class="tableSideBorder">last</th>'; // Last build Pass/Failure counts
- for ($i=1; $i<=HISTORYJOBLISTCOUNT - 1; $i++) { // Last-1 ... last-n
- echo '<th class="tableSideBorder">last -' . $i . '</th>';
- }
- echo '</tr>';
- // Leave the table 'open', to be closed in showTestHistoryTableEnd
-}
-
-/* Close the table */
-function showTestHistoryTableEnd()
-{
- echo '</table>';
-}
-
-/* Print summary information for a test job as one row in a table, including the latest and previous available test jobs
- Input: $testJobName (string) the main title
- $testConfiguration (string) detailed information shown below the title
- $testLatestBuild -,,-
- $testHistory (array) [number] the test history numbers from latest [0] to older ones [1,2,...]
- $testJobHistory (array) [type][number] the number of passes and each failure [type] for each test history number [0 is the latest]
- $rowNumber (integer) a counter how many times this function called, used to separate every other row with a different background color
- $jobFilter (string) to identify if the job has been filtered or not (history view level 1 or 2)
- Output: (none)
-*/
-function showTestHistory($testJobName, $testConfiguration, $testLatestBuild, $testHistory, $testJobHistory, $rowNumber, $jobFilter)
-{
- /* First row: Job name, Passes (title), Passes changes, Passes history */
- if ($rowNumber % 2 == 0)
- echo '<tr>';
- else
- echo '<tr class="tableBackgroundColored">';
- if ($jobFilter == "All") { // Show filter link on level 1 ...
- $selectedJob = $testJobName . FILTERSEPARATOR . 'conf'. FILTERVALUESEPARATOR . $testConfiguration; // Note: The filter values (in getfilters.php) must include all these values
- echo '<td colspan="2"><a href="javascript:void(0);" onclick="filterJob(\'' . $selectedJob . '\')"><b>' . $testJobName . '</b></a></td>';
- } else { // ... but not on level 2
- echo '<td colspan="2"><b>' . $testJobName . '</b></td>';
- }
- echo '<td class="tableSideBorder tableBottomBorder fontColorGreen"><b>Passes</b></td>';
- if (count($testHistory) > 1) { // If history available
- $change = $testJobHistory[HISTORYPASSCOUNT][0] - $testJobHistory[HISTORYPASSCOUNT][1];
- if ($change > 0)
- $changeCount = '+' . $change;
- if ($change < 0)
- $changeCount = $change;
- if ($change == 0)
- $changeCount = '';
- } else { // History not available
- $changeCount = '';
- }
- echo '<td class="tableSideBorder tableBottomBorder tableCellCentered">' . $changeCount . '</td>';
- $i = 0;
- foreach ($testHistory as $test) {
- if ($i <= HISTORYJOBLISTCOUNT - 1) {
- echo '<td class="tableSideBorder tableBottomBorder tableCellCentered fontColorGreen">' . $testJobHistory[HISTORYPASSCOUNT][$i] . '</td>';
- $i++;
- }
- }
- for ($j=$i; $j<=HISTORYJOBLISTCOUNT - 1; $j++) { // Fill the table with empty cells for the unavailable history items
- echo '<td></td>';
- }
- echo '</tr>';
-
- /* Second row: Configuration, Failures (title), Failures changes, Failures history (Failures includes all types: ERROR, FATAL, FAIL, XPASS) */
- if ($rowNumber % 2 == 0)
- echo '<tr>';
- else
- echo '<tr class="tableBackgroundColored">';
- echo '<td class="tableBottomBorderThick">' . $testConfiguration . '</td>';
- echo '<td class="tableBottomBorderThick">Installer build: ' . $testLatestBuild . '</td>';
- echo '<td class="tableBottomBorderThick tableSideBorder fontColorRed"><b>Failures</b></td>';
- if (count($testHistory) > 1) { // If history available
- $changePlus = 0;
- $changeMinus = 0;
- // Check if there are any new or removed failures of any type
- $i = $testJobHistory[HISTORYERRORCOUNT][0] - $testJobHistory[HISTORYERRORCOUNT][1];
- if ($i > 0)
- $changePlus = $changePlus + $i;
- if ($i < 0)
- $changeMinus = $changeMinus + $i;
- $i = $testJobHistory[HISTORYFATALCOUNT][0] - $testJobHistory[HISTORYFATALCOUNT][1];
- if ($i > 0)
- $changePlus = $changePlus + $i;
- if ($i < 0)
- $changeMinus = $changeMinus + $i;
- $i = $testJobHistory[HISTORYFAILCOUNT][0] - $testJobHistory[HISTORYFAILCOUNT][1];
- if ($i > 0)
- $changePlus = $changePlus + $i;
- if ($i < 0)
- $changeMinus = $changeMinus + $i;
- $i = $testJobHistory[HISTORYXPASSCOUNT][0] - $testJobHistory[HISTORYXPASSCOUNT][1];
- if ($i > 0)
- $changePlus = $changePlus + $i;
- if ($i < 0)
- $changeMinus = $changeMinus + $i;
- // Print the changes
- if ($changePlus > 0) {
- if ($changeMinus == 0) // Case 1: Only new failures
- $changeCount = '+' . $changePlus;
- else // Case 2: Both new and removed failures
- $changeCount = '+' . $changePlus . ' / ' . $changeMinus;
- $changeColor = ' tableCellBackgroundRed';
- } else { // Case 3: Only removed failures
- $changeCount = $changeMinus;
- $changeColor = ' tableCellBackgroundYellow';
- }
- if ($changePlus == 0 AND $changeMinus == 0) { // Case 4: No changes
- $changeCount = '';
- $changeColor = '';
- }
- } else { // History not available
- $changeCount = '';
- $changeColor = '';
- }
- $i = $testJobHistory[HISTORYERRORCOUNT][0] + $testJobHistory[HISTORYFATALCOUNT][0]
- + $testJobHistory[HISTORYFAILCOUNT][0] + $testJobHistory[HISTORYXPASSCOUNT][0];
- if ($changeCount == '' AND $i > 0) // Case 5: No changes but still some failures
- $changeColor = ' tableCellBackgroundYellow';
- if ($i == 0) // Case 6: Not any failures
- $changeColor = ' tableCellBackgroundGreen';
- echo '<td class="tableBottomBorderThick tableSideBorder tableCellCentered' . $changeColor . '"><b>' . $changeCount . '</b></td>';
- $i = 0;
- foreach ($testHistory as $test) { // Show each available history item
- if ($i <= HISTORYJOBLISTCOUNT - 1) {
- if ($testJobHistory[HISTORYPASSCOUNT][$i] == '-') // In case the history item is not available (Note: calculation with each failure type results to value '0' instead)
- $testFailureCount = '-';
- else
- $testFailureCount = $testJobHistory[HISTORYERRORCOUNT][$i] + $testJobHistory[HISTORYFATALCOUNT][$i]
- + $testJobHistory[HISTORYFAILCOUNT][$i] + $testJobHistory[HISTORYXPASSCOUNT][$i];
- echo '<td class="tableBottomBorderThick tableSideBorder tableCellCentered fontColorRed">' . $testFailureCount . '</td>';
- $i++;
- }
- }
- for ($j=$i; $j<=HISTORYJOBLISTCOUNT - 1; $j++) { // Fill the table with empty cells for the unavailable history items
- echo '<td class="tableBottomBorderThick"></td>';
- }
- echo '</tr>';
-}
-
-/* Print table title row (the same columns to be used in showTestComparisonTableEnd and showTestComparison) */
-function showTestComparisonTableTitle()
-{
- echo '<table class="fontSmall">';
- echo '<tr class="tableBottomBorder">';
- echo '<th class="tableSideBorder">Last</th>';
- echo '<th class="tableSideBorder">Last-1</th>';
- echo '</tr>';
- // Leave the table 'open', to be closed in showTestHistoryTableEnd
-}
-
-/* Close the table */
-function showTestComparisonTableEnd()
-{
- echo '<tr class="tableTopBorder">';
- echo '<td></td><td></td>';
- echo '</tr>';
- echo '</table>';
-}
-
-/* Show the comparison of two test job runs for a test job configuration
- Input: $testJobName (string) the main title, same for last and previous
- $testConfiguration (string) detailed information shown below the title, same for last and previous
- $buildNumber (array) [number] detailed information shown below the title for last [0] and previous [1] test history number
- $testHistoryNumber -,,-
- $timestamp -,,-
- $testJobSummary (array) [number][type] the number of passes and each failure [type] for last [0] and previous [1] test history [number]
- $failureDescription (array) [number][failure] the list of failures for last [0] and previous [1] test history [number] with type,
- test name, file name, line number and failure description itself for each [failure]
- Output: (none)
-*/
-function showTestComparison($testJobName, $testConfiguration, $buildNumber, $testHistoryNumber, $timestamp, $testJobSummary, $failureDescription)
-{
- // General info: Latest run
- if (strpos($testJobName, "enterprise") !== FALSE)
- $testHistoryNumberLink = PACKAGINGJENKINSENTERPRISE;
- else
- $testHistoryNumberLink = PACKAGINGJENKINSOPENSOURCE;
- if ($testHistoryNumberLink != "")
- $testHistoryNumberLink = $testHistoryNumberLink . 'job/' . $testJobName . '/' . $testHistoryNumber[0] .
- '/cfg=' . $testConfiguration . '/squishReport/';
- echo '<tr class="tableBottomBorder">';
- echo '<td class="tableSideBorder">';
- echo '<b>' . $testJobName . '</b><br><br>';
- echo '<table>';
- echo '<tr><td><b>Job start time: </b></td><td>' . $timestamp[0] . '</td></tr>';
- echo '<tr><td><b>Configuration: </b></td><td>' . $testConfiguration . '</td></tr>';
- echo '<tr><td><b>Installer build number: </b></td><td>' . $buildNumber[0] . '</td></tr>';
- echo '<tr><td><b>Jenkins build history: </b></td><td><a href="' . $testHistoryNumberLink .
- '" title="Report opens if available in Jenkins" target="_blank">' . $testHistoryNumber[0] .
- ' (open squish report)</a></td></tr>';
- echo '</table>';
- echo '</td>';
- // General info: Previous run
- if (count($testHistoryNumber) == 1 OR $testJobSummary[1][TESTPASSCOUNT] == '') // If there are history items for this specific configuration
- $booPreviousAvailable = FALSE;
- else
- $booPreviousAvailable = TRUE;
- if (strpos($testJobName, "enterprise") !== FALSE)
- $testHistoryNumberLink = PACKAGINGJENKINSENTERPRISE;
- else
- $testHistoryNumberLink = PACKAGINGJENKINSOPENSOURCE;
- if ($testHistoryNumberLink != "")
- $testHistoryNumberLink = $testHistoryNumberLink . 'job/' . $testJobName . '/' . $testHistoryNumber[1] .
- '/cfg=' . $testConfiguration . '/squishReport/';
- echo '<td class="tableSideBorder">';
- echo '<b>' . $testJobName . '</b><br><br>';
- if ($booPreviousAvailable) {
- echo '<table>';
- echo '<tr><td><b>Job start time: </b></td><td>' . $timestamp[1] . '</td></tr>';
- echo '<tr><td><b>Configuration: </b></td><td>' . $testConfiguration . '</td></tr>';
- echo '<tr><td><b>Installer build number: </b></td><td>' . $buildNumber[1] . '</td></tr>';
- echo '<tr><td><b>Jenkins build history: </b></td><td><a href="' . $testHistoryNumberLink .
- '" title="Report opens if available in Jenkins" target="_blank">' . $testHistoryNumber[1] .
- ' (open squish report)</a></td></tr>';
- echo '</table>';
- } else {
- echo '(previous run not found)';
- }
- echo '</td>';
- echo '</tr>';
- // Summary data: Latest run
- $latestTotal = 0;
- $previousTotal = 0;
- $changeTotal = 0;
- $change = array();
- $changeCounts = array();
- $j = count($testJobSummary[0]);
- for ($i=0; $i<$j; $i++) { // Calculate the change of each count
- if ($booPreviousAvailable) {
- $change[$i] = $testJobSummary[0][$i] - $testJobSummary[1][$i];
- if ($change[$i] > 0)
- $changeCounts[$i] = '+' . $change[$i];
- if ($change[$i] < 0)
- $changeCounts[$i] = $change[$i];
- if ($change[$i] == 0)
- $changeCounts[$i] = '';
- } else {
- $changeCounts[$i] = '';
- }
- if ($i <> TESTPASSCOUNT) {
- $latestTotal = $latestTotal + $testJobSummary[0][$i];
- $previousTotal = $previousTotal + $testJobSummary[1][$i];
- $changeTotal = $changeTotal + $change[$i];
- }
- }
- if ($changeTotal > 0)
- $changeTotal = '+' . $changeTotal;
- if ($changeTotal == 0)
- $changeTotal = '';
- echo '<tr class="tableBottomBorder">';
- echo '<td class="tableSideBorder"><b>Summary:</b>';
- echo '<table>';
- echo '<tr class="fontColorGreen"><td><b>PASSes: </b></td><td>' . $testJobSummary[0][TESTPASSCOUNT] . '</td><td><i>' . $changeCounts[TESTPASSCOUNT] . '</i></td></tr>';
- echo '<tr><td><b>ERRORs: </b></td><td>' . $testJobSummary[0][TESTERRORCOUNT] . '</td><td><i>' . $changeCounts[TESTERRORCOUNT] . '</i></td></tr>';
- echo '<tr><td><b>FAILs: </b></td><td>' . $testJobSummary[0][TESTFAILCOUNT] . '</td><td><i>' . $changeCounts[TESTFAILCOUNT] . '</i></td></tr>';
- echo '<tr><td><b>FATALs: </b></td><td>' . $testJobSummary[0][TESTFATALCOUNT] . '</td><td><i>' . $changeCounts[TESTFATALCOUNT] . '</i></td></tr>';
- echo '<tr><td><b>XPASSes: </b></td><td>' . $testJobSummary[0][TESTXPASSCOUNT] . '</td><td><i>' . $changeCounts[TESTXPASSCOUNT] . '</i></td></tr>';
- echo '<tr class="tableTopBorder"><td><b>All Failures: </b></td><td>' . $latestTotal . '</td><td><i>' . $changeTotal . '</i></td></tr>';
- echo '</table>';
- echo '</td>';
- // Summary data: Previous run
- echo '<td class="tableSideBorder"><b>Summary:</b>';
- if ($booPreviousAvailable) {
- echo '<table>';
- echo '<tr class="fontColorGreen"><td><b>PASSes: </b></td><td>' . $testJobSummary[1][TESTPASSCOUNT] . '</td></tr>';
- echo '<tr><td><b>ERRORs: </b></td><td>' . $testJobSummary[1][TESTERRORCOUNT] . '</td></tr>';
- echo '<tr><td><b>FAILs: </b></td><td>' . $testJobSummary[1][TESTFAILCOUNT] . '</td></tr>';
- echo '<tr><td><b>FATALs: </b></td><td>' . $testJobSummary[1][TESTFATALCOUNT] . '</td></tr>';
- echo '<tr><td><b>XPASSes: </b></td><td>' . $testJobSummary[1][TESTXPASSCOUNT] . '</td></tr>';
- echo '<tr class="tableTopBorder"><td><b>All Failures: </b></td><td>' . $previousTotal . '</td></tr>';
- echo '</table>';
- }
- echo '</td>';
- echo '</tr>';
- // Failure list: Latest run
- $k = 0;
- $failureCountSame = 0;
- $failureCountAdded = 0;
- $failureCountRemoved = 0;
- foreach ($failureDescription[0] as $failureLatest) { // First list by the latest failures
- if ($k % 2 == 0)
- echo '<tr>';
- else
- echo '<tr class="tableBackgroundColored">';
- echo '<td class="tableSideBorder">'; // Latest failure
- echo $failureLatest;
- echo '</td>';
- echo '<td class="tableSideBorder">'; // Previous failure
- if ($booPreviousAvailable) {
- $m = 0;
- for ($m=0; $m<count($failureDescription[1]); $m++) { // Check the previous failures ...
- if ($failureLatest == $failureDescription[1][$m]) { // ... and if same failure listed ...
- echo $failureDescription[1][$m]; // ... list it ...
- $failureDescription[1][$m] = '-'; // ... clear it not to print it twice
- $failureCountSame++;
- }
- }
- }
- echo '</td>';
- echo '</tr>';
- $k++;
- }
- $failureCountAdded = $k - $failureCountSame;
- if ($booPreviousAvailable) {
- foreach ($failureDescription[1] as $failurePrevious) { // Then list the previous removed failures (those not yet listed above)
- if ($failurePrevious <> '-') { // If not yet listed above ...
- if ($k % 2 == 0)
- echo '<tr>';
- else
- echo '<tr class="tableBackgroundColored">';
- echo '<td class="tableSideBorder">'; // Latest failure
- echo '</td>';
- echo '<td class="tableSideBorder">'; // Previous failure
- echo $failurePrevious; // ... list it ...
- $failureCountRemoved++;
- echo '</td>';
- echo '</tr>';
- $k++;
- }
- }
- }
- // Change summary
- if ($booPreviousAvailable) {
- echo '<tr class="tableSideBorder tableTopBorder">';
- echo '<td><b>Summary of changes:</b>';
- echo '<table>';
- echo '<tr><td><b>Same: </b></td><td>' . $failureCountSame . '</td></tr>';
- echo '<tr><td><b>Added: </b></td><td>' . $failureCountAdded . '</td></tr>';
- echo '<tr><td><b>Removed: </b></td><td>' . $failureCountRemoved . '</td></tr>';
- echo '</table>';
- echo '</td>';
- echo '<td>';
- echo '</td>';
- echo '</tr>';
- }
-}
-
-/************************************************************/
-/* START */
-/************************************************************/
-
-$timeStart = microtime(true);
-
-/* Proceed only if the source data directory is set */
-$rtaXmlBaseDir = RTAXMLBASEDIRECTORY;
-if ($rtaXmlBaseDir != "") {
-
- /* Get the input parameters */
- $round = $_GET["round"];
- $arrayFilters = array();
- $arrayFilter = array();
- $filters = $_GET["filters"];
- $filters = rawurldecode($filters); // Decode the encoded parameter (encoding in ajaxrequest.js)
- $arrayFilters = explode(FILTERSEPARATOR, $filters);
- $arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERTEST]);
- $test = $arrayFilter[1];
- $arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERLICENSE]);
- $license = $arrayFilter[1];
- $arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERPLATFORM]);
- $platform = $arrayFilter[1];
- $arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERTESTJOB]);
- $job = $arrayFilter[1];
- $arrayFilter = explode(FILTERVALUESEPARATOR, $arrayFilters[FILTERTESTCONF]);
- $conf = $arrayFilter[1];
-
- /* Get data from the session variables */
- if (isset($_SESSION['rtaTestJobCount'])) {
- $rtaTestJobId = array();
- $rtaTestJobName = array();
- $rtaTestHistoryNumbers = array();
- $rtaTestHistoryMin = array();
- $rtaTestHistoryMax = array();
- $rtaTestJobCount = $_SESSION['rtaTestJobCount'];
- $rtaTestJobId = $_SESSION['rtaTestJobId'];
- $rtaTestJobName = $_SESSION['rtaTestJobName'];
- $rtaTestJobLatestBuild = $_SESSION['rtaTestJobLatestBuild'];
- $rtaTestConfs = $_SESSION['rtaTestConfs'];
- $rtaTestConfsHistory = $_SESSION['rtaTestConfsHistory'];
- $rtaTestHistoryNumbers = $_SESSION['rtaTestHistoryNumbers'];
- $rtaTestHistoryMin = $_SESSION['rtaTestHistoryMin'];
- $rtaTestHistoryMax = $_SESSION['rtaTestHistoryMax'];
- }
-
-/*************************************************************************/
-/* NESTED LEVEL 1: The default history view (partly common with level 2) */
-/*************************************************************************/
-
- /* Level 1 titles and used filters */
- if ($job == "All") {
- if ($round == 1)
- echo "<img src=\"images/ajax-loader.gif\" alt=\"loading\">&nbsp&nbsp"; // On the first round show the loading icon
- else
- echo '<a href="javascript:void(0);" class="imgLink" onclick="showMessageWindow(\'rta/msgrtahistorylevel1.html\')">
- <img src="images/info.png" alt="info"></a>&nbsp&nbsp';
- echo '<b>RTA HISTORY:</b><br><br>';
- if ($test <> "All" OR $license <> "All" OR $platform <> "All") {
- echo '<table>';
- if ($test <> "All")
- echo '<tr><td>Test Type:</td><td class="tableCellBackgroundTitle">' . $test . '</td></tr>';
- if ($license <> "All")
- echo '<tr><td>License Type:</td><td class="tableCellBackgroundTitle">' . $license . '</td></tr>';
- if ($platform <> "All")
- echo '<tr><td>Platform:</td><td class="tableCellBackgroundTitle">' . $platform . '</td></tr>';
- echo '</table>';
- echo '<br>';
- }
- }
- /* Level 2 titles and used filters */
- else {
- if ($round == 1)
- echo "<img src=\"images/ajax-loader.gif\" alt=\"loading\">&nbsp&nbsp"; // On the first round show the loading icon
- else
- echo '<a href="javascript:void(0);" class="imgLink" onclick="showMessageWindow(\'rta/msgrtahistorylevel2.html\')">
- <img src="images/info.png" alt="info"></a>&nbsp&nbsp';
- echo '<b>RTA HISTORY:</b> <a href="javascript:void(0);" onclick="filterJob(\'All\')">Select Job</a> -> ' .
- $job . ' (' . $conf . ')' . '<br><br>';
- echo '<table>';
- echo '<tr><td>Test Job:</td><td class="tableCellBackgroundTitle">' . $job . '</td></tr>';
- echo '<tr><td>Configuration:</td><td class="tableCellBackgroundTitle">' . $conf . '</td></tr>';
- echo '</table>';
- echo '<br>';
- echo '<br><b>Test history</b><br>';
- }
-
- // Get the data on second round
- if ($round > 1) {
-
- // The following applies to level 1 (all or filtered rows), and to level 2 where separately noted (the selected job and configuration row only)
- if (isset($_SESSION['rtaTestJobCount'])) {
-
- $testJobHistory = array();
-
- /* Print table titles */
- showTestHistoryTableTitle();
-
- /* Loop each RTA test job and its test history in sorted order ($rtaTestJobName is sorted, other data linked with the $rtaTestJobId) */
- $k = 0;
- if ($test == "All")
- $filterTest = '_'; // Filtering: Set the string to be found in the test job name (i.e. directory name)
- else
- $filterTest = '_' . $test . '_'; // -,,-
- if ($license == "All")
- $filterLicense = '_'; // -,,-
- else
- $filterLicense = '_' . $license . '_'; // -,,-
- if ($platform == "All")
- $filterPlatform = '_'; // -,,-
- else
- $filterPlatform = '_' . $platform . '_'; // -,,-
- if ($job <> "All") { // Level 2 view: Show the history row for selected job and configuration
- $filterTest = '';
- $filterLicense = '';
- $filterPlatform = '';
- }
- for ($i=0; $i<$rtaTestJobCount; $i++) { // Check each RTA test job directory (e.g. Qt5_RTA_opensource_installer_tests_linux_32bit) and its test runs (e.g. 220)
- if ((strpos($rtaTestJobName[$i], $filterTest) > 0 AND // Check possible filtering
- strpos($rtaTestJobName[$i], $filterLicense) > 0 AND
- strpos($rtaTestJobName[$i], $filterPlatform) > 0) OR
- $rtaTestJobName[$i] == $job) { // Level 2 view: Check the job name
- $j = $rtaTestJobId[$i];
- $rtaTestJobDirectory = $rtaXmlBaseDir . $rtaTestJobName[$i]; // Set pointer to the related test job directory
- $directories = new RecursiveIteratorIterator(
- new ParentIterator(
- new RecursiveDirectoryIterator($rtaTestJobDirectory)),
- RecursiveIteratorIterator::SELF_FIRST);
- foreach ($directories as $directory) { // Check each RTA test job history (e.g. 220, 219, 218)
- $dirName = substr($directory, strripos($directory, "/") + 1);
- if ($dirName == $rtaTestHistoryMax[$j]) { // Show the history based on the latest run only
- $handle = opendir($directory);
- while (($entry = readdir($handle)) !== FALSE) { // Check the results in a tar.gz file (e.g. linux-g++-Ubuntu11.10-x86.tar.gz)
- if ($entry == "." || $entry == "..")
- continue;
- $configuration = substr($entry, 0, strpos($entry, TARFILENAMEEXTENSION));
- if ($job <> "All" AND $configuration <> $conf) // Level 2 view: Check only the filtered configuration
- continue;
- $filePath = $directory . '/' . $entry;
- if (is_file($filePath)) {
- try { // Open an existing phar
- $archive = new PharData($filePath);
- foreach (new RecursiveIteratorIterator($archive ) as $file) {
- if ($file->getFileName() == SUMMARYXMLFILENAME) { // Check for the summary file
- // Get the history data
- $filePathPhar = 'phar://' . substr($directory, 0, strripos($directory, "/") + 1);
- $fileName = $entry . '/' . $file->getFileName();
- saveXmlHistory($configuration, $rtaTestConfsHistory[$j], $filePathPhar,
- $rtaTestHistoryNumbers[$j], $fileName, $testJobHistory);
- // Print the history data
- showTestHistory($rtaTestJobName[$i], $configuration, $rtaTestJobLatestBuild[$j],
- $rtaTestHistoryNumbers[$j], $testJobHistory, $k, $job);
- $k++;
- }
- }
- } catch (Exception $e) {
- echo 'Could not open Phar: ', $e;
- }
- }
- clearstatcache();
- }
- closedir($handle);
- }
- }
- }
- }
-
- /* Close the table */
- showTestHistoryTableEnd();
-
- } else {
- echo '<br>Filter values not ready or they are expired, please <a href="javascript:void(0);" onclick="reloadFilters()">reload</a> ...';
- }
-
- }
-
-/************************************************************/
-/* NESTED LEVEL 2: The comparison view */
-/************************************************************/
-
- // Get the data on second round
- if ($round > 1) {
-
- if ($job <> "All") {
- echo '<br><br><b>Comparison of the last two test runs</b><br><br>';
- if (isset($_SESSION['rtaTestJobCount'])) {
-
- $testJobSummary = array();
- $timestamp = array();
- $buildNumber = array();
- $failureDescription = array();
-
- /* Print table titles */
- showTestComparisonTableTitle();
-
- /* Loop each RTA test job and its test history in sorted order ($rtaTestJobName is sorted, other data linked with the $rtaTestJobId) */
- for ($i=0; $i<$rtaTestJobCount; $i++) { // Check each RTA test job directory (e.g. Qt5_RTA_opensource_installer_tests_linux_32bit) ...
- if ($job == $rtaTestJobName[$i]) { // ... to find the selected one
- $j = $rtaTestJobId[$i];
- $rtaTestJobDirectory = $rtaXmlBaseDir . $rtaTestJobName[$i]; // Set pointer to the related test job directory
- $directories = new RecursiveIteratorIterator(
- new ParentIterator(
- new RecursiveDirectoryIterator($rtaTestJobDirectory)),
- RecursiveIteratorIterator::SELF_FIRST);
- foreach ($directories as $directory) { // Check each RTA test job history (e.g. 220, 219, 218)
- $dirName = substr($directory, strripos($directory, "/") + 1);
- // Check the latest run
- if ($dirName == $rtaTestHistoryNumbers[$j][0]) {
- $handle = opendir($directory);
- while (($entry = readdir($handle)) !== FALSE) { // Check the results in a tar.gz file (e.g. linux-g++-Ubuntu11.10-x86.tar.gz)
- if ($entry == "." || $entry == "..")
- continue;
- $configuration = substr($entry, 0, strpos($entry, TARFILENAMEEXTENSION));
- if ($conf == $configuration) { // If this is the selected configuration
- $timestamp[0] = '';
- $buildNumber[0] = 0;
- $failureDescription[0] = array();
- $testJobSummary[0] = array();
- $testJobSummary[0][TESTERRORCOUNT] = 0;
- $testJobSummary[0][TESTFATALCOUNT] = 0;
- $testJobSummary[0][TESTFAILCOUNT] = 0;
- $testJobSummary[0][TESTXPASSCOUNT] = 0;
- $testJobSummary[0][TESTPASSCOUNT] = 0;
- $filePath = $directory . '/' . $entry;
- if (is_file($filePath)) {
- try { // Open an existing phar
- $archive = new PharData($filePath);
- foreach (new RecursiveIteratorIterator($archive ) as $file) {
- if (stripos($file->getFileName(), RESULTXMLFILENAMEPREFIX) === 0) { // Check for the result file (e.g. result_10_08_17.446.xml)
- // Get the data from latest test run
- $filePathPhar = 'phar://' . $directory . '/' . $entry . '/' . $file->getFileName();
- saveXmlFailures($filePathPhar, $timestamp[0], $buildNumber[0], $failureDescription[0],
- $testJobSummary[0]);
- }
- }
- } catch (Exception $e) {
- echo 'Could not open Phar: ', $e;
- }
- }
- clearstatcache();
- }
- }
- closedir($handle);
- }
- // Check the previous run
- if ($dirName == $rtaTestHistoryNumbers[$j][1]) {
- $handle = opendir($directory);
- while (($entry = readdir($handle)) !== FALSE) { // Check the results in a tar.gz file (e.g. linux-g++-Ubuntu11.10-x86.tar.gz)
- if ($entry == "." || $entry == "..") {
- continue;
- }
- $configuration = substr($entry, 0, strpos($entry, TARFILENAMEEXTENSION));
- if ($conf == $configuration) { // If this is the selected configuration
- $timestamp[1] = '';
- $buildNumber[1] = 0;
- $failureDescription[1] = array();
- $testJobSummary[1] = array();
- $testJobSummary[1][TESTERRORCOUNT] = 0;
- $testJobSummary[1][TESTFATALCOUNT] = 0;
- $testJobSummary[1][TESTFAILCOUNT] = 0;
- $testJobSummary[1][TESTXPASSCOUNT] = 0;
- $testJobSummary[1][TESTPASSCOUNT] = 0;
- $filePath = $directory . '/' . $entry;
- if (is_file($filePath)) {
- try { // Open an existing phar
- $archive = new PharData($filePath);
- foreach (new RecursiveIteratorIterator($archive ) as $file) {
- if (stripos($file->getFileName(), RESULTXMLFILENAMEPREFIX) === 0) { // Check for the result file (e.g. result_10_08_17.446.xml)
- // Get the data from latest test run
- $filePathPhar = 'phar://' . $directory . '/' . $entry . '/' . $file->getFileName();
- saveXmlFailures($filePathPhar, $timestamp[1], $buildNumber[1], $failureDescription[1],
- $testJobSummary[1]);
- }
- }
- } catch (Exception $e) {
- echo 'Could not open Phar: ', $e;
- }
- }
- clearstatcache();
- }
- }
- closedir($handle);
- }
- }
- }
- }
-
- /* Print the comparison */
- showTestComparison($job, $conf, $buildNumber, $rtaTestHistoryNumbers[$j], $timestamp, $testJobSummary, $failureDescription);
-
- /* Close the table */
- showTestComparisonTableEnd();
-
- } else {
- echo '<br>Filter values not ready or they are expired, please <a href="javascript:void(0);" onclick="reloadFilters()">reload</a> ...';
- }
- }
-
- }
-
-/* Proceed only if the source data directory is set */
-} else {
- echo '<b>Sorry, the source data is not available here!</b>';
-}
-
-/* Elapsed time */
-if ($showElapsedTime) {
- $timeEnd = microtime(true);
- $time = round($timeEnd - $timeStart, 2);
- echo "<div class=\"elapdedTime\">";
- echo "<ul><li>";
- echo "Total time: $time s";
- echo "</li></ul>";
- echo "</div>";
-}
-
-?>
diff --git a/non-puppet/qtmetrics/styles.css b/non-puppet/qtmetrics/styles.css
deleted file mode 100644
index 843f340..0000000
--- a/non-puppet/qtmetrics/styles.css
+++ /dev/null
@@ -1,774 +0,0 @@
-/****************************************************************************
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-****************************************************************************/
-
-/* Color codes used:
- - main green color: #44A51C (Qt green; RGB = R:68, G:165, B:28)
- - body background: #EDEDED
-*/
-
-body {
- background: #EDEDED;
-}
-
-#container {
- width: 1152px;
- margin: auto; /* to place the stuff horizontally to the middle */
- position: relative;
- font-family: Tahoma, Arial, Verdana, Geneva, sans-serif;
- font-size: 12px;
-/* border: 1px solid blue; /* for testing the divs */
-}
-
-/*** Header ***/
-
-#header {
- text-align:left;
- clear: both;
- height: 100px;
- width: 100%;
- padding-left: 10px;
- background: #fff;
- border-radius: 5px;
- box-shadow: 5px 5px 5px #888888;
-}
-
-#headerImg {
- text-align:left;
- float: left;
- height: 80px;
- width: 80px;
- margin-top: 10px;
- margin-left: 10px;
- background-image: url('images/Qt_master_logo_CMYK_noback.gif');
- background-repeat: no-repeat;
-}
-
-#headerNavi {
- float: left;
-}
-
-#headerTitle {
- text-align:left;
- float: left;
- height: 40px;
- margin-top: 10px;
- margin-left: 45px;
- color: #44a51c;
- font-size: 32px;
- font-weight: bold;
-}
-
-#headerLinks {
- text-align:left;
- float: right;
- margin-top: 10px;
- margin-right: 20px;
-}
-
-#headerLinks a:link,
-#headerLinks a:hover,
-#headerLinks a:visited,
-#headerLinks a:active {
- text-decoration: none;
- color: #44a51c;
-}
-
-/*** Main menu ***/
-
-#menu {
- margin-top: 65px;
-}
-
-ul.mainMenu {
- list-style-type: none;
-}
-
-.active {
- height: 20px;
- width: 125px;
- float: left;
- margin-left: 10px;
- padding-top: 3px;
- text-align: center;
- font-weight: bold;
- background: #44a51c;
- border: 1px solid #44a51c;
- -webkit-animation: animationMenuActive 1s; /* Safari and Chrome */
- animation: animationMenuActive 1s;
-}
-
-/* Animation to highlight the selected item */
-@-webkit-keyframes animationMenuActive { /* Safari and Chrome */
- 0% {
- background: #fff;
- margin-top: 0px;
- }
- 50% {
- margin-top: -3px;
- }
- 100% {
- background: #44a51c;
- margin-top: 0px;
- }
-}
-@keyframes animationMenuActive {
- 0% {
- background: #fff;
- margin-top: 0px;
- }
- 50% {
- margin-top: -3px;
- }
- 100% {
- background: #44a51c;
- margin-top: 0px;
- }
-}
-
-.inactive {
- height: 20px;
- width: 125px;
- float: left;
- margin-left: 10px;
- padding-top: 3px;
- text-align: center;
- font-weight: bold;
- background: #fff;
- border: 1px solid #44a51c;
-}
-
-.active a:link,
-.inactive a:link {
- display: block;
- text-decoration: none;
- color: #000;
-}
-.active a:visited,
-.inactive a:visited {
- display: block;
- text-decoration: none;
- color: #000;
-}
-.active a:hover {
- display: block;
- text-decoration: none;
- color: #000;
-}
-.inactive a:hover {
- display: block;
- text-decoration: none;
- color: #44a51c;
-}
-.active a:active,
-.inactive a:active {
- display: block;
- text-decoration: none;
- color: #000;
-}
-
-/*** The content boxes ***/
-
-#filters,
-#databaseStatus,
-.metricArea { /* Common definitions for all boxes */
- margin-top: 10px;
- padding-top: 10px;
- padding-bottom: 10px;
- padding-left: 10px;
- padding-right: 10px;
- background: #fff;
- border-radius: 5px;
- box-shadow: 5px 5px 5px #888888;
-}
-
-#filters { /* Filter box specific definitions */
- width: 930px;
- min-height: 110px;
- float: left;
-}
-
-#databaseStatus { /* Database status box specific definitions */
- width: 180px;
- min-height: 110px;
- float: right;
- margin-right: -10px;
-}
-
-.metricArea { /* Metrics box specific definitions */
- width: 1142px; /* Container width 1152px - padding-right 10px */
- float: left;
-}
-
-.metricsBoxHeader{
- overflow: hidden;
- margin-top: 0px;
- margin-bottom: 20px;
-}
-
-.metricsBoxHeaderIcon {
- min-height: 15px;
- vertical-align: middle;
- float: left;
- padding: 5px 0px 5px 0px;
-}
-
-.metricsBoxHeaderText {
- min-width: 300px;
- min-height: 15px;
- vertical-align: middle;
- float: left;
- padding: 5px 10px 5px 10px;
- border-radius: 3px;
- box-shadow: 2px 2px 2px #888888;
- background: linear-gradient(to bottom, #EEF7EB 0%, #C7E4BB 50%, #EEF7EB 100%);
-}
-
-.metricsTitle {
- width: 1130px;
- min-height: 15px;
- float: left;
- margin-top: 20px;
- margin-bottom: 20px;
- padding: 2px 5px 2px 5px;
- border-radius: 3px;
- background: linear-gradient(to bottom, #FFFFFF 0%, #F2F2F2 100%);
-}
-
-/*** Filters ***/
-
-#filterTitle {
- float: left;
-}
-
-#filterButtons {
- margin-top: -5px;
- padding-left: 100px;
- float: left;
- width: 300px; /* Set close to width of one button (see below) if you want to place buttons one above each other */
-}
-
-#filterFields {
- margin-top: 10px;
- margin-bottom: 5px;
- float: left;
- clear: both;
-}
-
-#filterFields label { /* This can be used to align all filter fields to start at same 'column' */
- display:block;
- width: 80px;
- float:left;
- margin-top: 4px; /* This can be used to align the filter title vertically against the selection box */
-}
-
-#filterFields select { /* This can be used to set all filter fields with same width */
- width: 350px; /* Note: This must be adjusted when adding filters to the right hand side as well (works with 2*350px) */
- margin-top: 3px;
-}
-
-#filterFieldsLeft,
-#filterFieldsMiddle,
-#filterFieldsRight {
- float: left;
-}
-
-#filterFieldsRight { /* Move right filter area more right */
- margin-left: 30px;
-}
-
-#filterFieldsLeft label { /* Title text width of the filter area (overwrite the common definitions for #filterFields label) */
- width: 50px;
-}
-
-#filterFieldsRight label { /* Title text width of the filter area (overwrite the common definitions for #filterFields label) */
- width: 70px;
-}
-
-#filterFieldsLeft select { /* Selection box width of the filter area (overwrite the common definitions for #filterFields select) */
- width: 180px;
-}
-
-#filterFieldsMiddle select { /* Selection box width of the filter area (overwrite the common definitions for #filterFields select) */
- width: 330px;
-}
-
-#filterFieldsRight select { /* Selection box width of the filter area (overwrite the common definitions for #filterFields select) */
- width: 110px;
-}
-
-#filterFieldsRight span { /* Adjust calendar date selection box vertically */
- margin-top: 3px;
-}
-
-#filterFieldsRight img { /* Adjust calendar icon vertically */
- margin-top: 6px;
-}
-
-.timescaleAll { /* Styling for filter box and data tables when All selected */
- background-color: white; /* (Note: If this is changed, the related definition in metricspageci.php must be changed as well) */
-}
-
-.timescaleSince { /* Styling for filter box and data tables when Since selected */
- background-color: #FFCC00; /* (Note: If this is changed, the related definition in metricspageci.php must be changed as well) */
-}
-
-.timescaleSinceBuild { /* Styling for filter box and data tables when Since selected but the builds do not match */
- background-color: #FFEB99;
-}
-
-.date-tccontainer { /* Overwrite calendar CSS definitions to adjust the colors of date selection box with other selection boxes */
- border: 1px solid #959595;
- background-color: white;
- padding-left: 4px;
- padding-right: 4px;
-}
-
-select {
- margin-right: 20px;
-}
-
-button {
- width: 120px;
-}
-
-.hiddenElement { /* Can be used e.g. to hide filters that are not shown as selection lists */
- display: none;
-}
-
-/*** Metrics box content using tables ***/
-
-table {
- border-collapse:collapse;
-}
-
-th {
- padding-left: 7px;
- padding-right: 7px;
- vertical-align: top;
-}
-
-td {
- padding-left: 4px;
- padding-right: 4px;
- vertical-align: top;
-}
-
-.fontColorBlack {
- color: black;
- font-weight: normal;
-}
-
-.fontColorGrey {
- color: grey;
-}
-
-.fontColorGreen { /* This can be used to highlight successful results */
- color: green;
-}
-
-.fontColorRed { /* This can be used to highlight failed results */
- color: red;
- font-weight: bold;
-}
-
-.fontSmall {
- font-size: 11px;
-}
-
-.tableSingleBorder {
- border: 1px solid black;
-}
-
-.tableTopBorder {
- border-top: 1px solid black;
-}
-
-.tableBottomBorder {
- border-bottom: 1px solid black;
-}
-
-.tableBottomBorderThick {
- border-bottom: 2px solid black;
-}
-
-.tableLeftBorder {
- border-left: 1px solid black;
-}
-
-.tableRightBorder {
- border-right: 1px solid black;
-}
-.tableSideBorder {
- border-left: 1px solid black;
- border-right: 1px solid black;
-}
-
-.tableBackgroundNormal {
- background-color: white;
-}
-
-.tableBackgroundColored { /* This can be used to highlight every other row in lists for better readability */
- background-color: #F0F0F0;
-}
-
-.tableCellBackgroundTitle {
- background-color: #8FC977;
-}
-
-td.tableCellBackgroundTitle {
- border-top: 1px solid white;
- border-bottom: 1px solid white;
-}
-
-.tableCellBackgroundGreen { /* This can be used to highlight successful results */
- background-color: #73B873;
-}
-
-.tableCellBackgroundRedDark { /* This can be used to highlight failed results (most severe) */
- background-color: #B23636;
-}
-
-.tableCellBackgroundRed { /* This can be used to highlight failed results */
- background-color: #FF4D4D;
-}
-
-.tableCellBackgroundRedLight { /* This can be used to highlight failed results (least severe) */
- background-color: #FF9D5C;
-}
-
-.tableCellBackgroundYellow { /* This can be used to highlight warnings or yellow in traffic lights */
- background-color: #FFFF33;
-}
-
-.tableCellBuildSelected { /* This can be used to highlight a selected build in a table */
- color: white;
- background-color: #5C85FF;
-}
-
-.tableCellCentered {
- text-align: center;
-}
-
-.tableCellAlignLeft {
- text-align: left;
-}
-
-.tableCellAlignRight {
- text-align: right;
-}
-
-.tableWidth1 {
- width: 45px;
-}
-
-.tableWidth2 {
- width: 75px;
-}
-
-/*** Elapsed time print in metrics boxes ***/
-
-.elapdedTime {
- font-size: 10px;
- clear: both;
-}
-
-.elapdedTime ul {
- list-style-type: none;
-}
-
-
-td a {
- width: 100%;
- display: block;
-}
-
-td.sortField a:link {
- text-decoration: none;
- color: #000;
-}
-
-td.sortField a:visited {
- text-decoration: none;
- color: #000;
-}
-
-td.sortField a:hover {
- text-decoration: none;
- color: #44A51C;
-}
-
-td.sortField a:active {
- text-decoration: none;
- color: #000;
-}
-
-
-/*** Mouse over popup message (from http://www.scientificpsychic.com/etc/css-mouseover.html) ***/
-
-span.popupMessage {
- border-bottom: thin dotted;
-}
-
-span.popupMessage:hover,
-span.popupMessageImg:hover {
- text-decoration: none;
- background: #FFFFFF;
- z-index: 100;
-}
-
-span.popupMessage span,
-span.popupMessageImg span {
- text-align: left;
- position: absolute;
- left: -9999px;
- margin: 20px 0px 0px 0px;
- padding: 3px 3px 3px 3px;
- border-style: solid;
- border-color: #44A51C;
- border-width: 1px;
- border-radius: 3px;
- box-shadow: 2px 2px 2px #888888;
- z-index: 100;
-}
-
-span.popupMessage:hover span,
-span.popupMessageImg:hover span {
- left: 2%;
- background: #FFFFFF;
- margin: 20px 0px 0px 80px; /* Left margin (the last value) can be used to adjust the message box horizontally */
- width: 450px;
- z-index:100;
-}
-
-/*** Pop-up dialog (jQuery) ***/
-
-.ui-dialog.popupDialog {
- font-family: Tahoma, Arial, Verdana, Geneva, sans-serif;
- font-size: 12px;
- background: #FFFFFF;
- border-color: #44A51C;
- box-shadow: 4px 4px 4px #888888;
-}
-
-.ui-dialog.popupDialog .ui-widget-header {
- background: #44A51C;
- border: 0;
- color: #fff;
- font-weight: bold;
-}
-
-.popupDialogMessage {
- float: left;
- margin: 0 7px 20px 0;
-}
-
-.popupDialogButton {
- width: 50px;
-}
-
-/*** Message window ***/
-
-.messageWindow {
- font-family: Tahoma, Arial, Verdana, Geneva, sans-serif;
- font-size: 12px;
- background: #FFFFFF;
-}
-
-/*** Expandable section (jQuery) ***/
-
-.graphAccordion .ui-accordion-header.ui-state-default,
-.dataAccordion .ui-accordion-header.ui-state-default {
- font-family: Tahoma, Arial, Verdana, Geneva, sans-serif;
- background-color: #ffffff;
- background-image: none;
- border: 0px;
-}
-
-.graphAccordion .ui-accordion-content {
- font-family: Tahoma, Arial, Verdana, Geneva, sans-serif;
- width: 1080px;
- border: 0px;
-}
-
-.dataAccordion .ui-accordion-content {
- width: 1000px;
- border: 0px;
-}
-
-/*** Graphs (D3) ***/
-
-.axis path, .axis line {
- fill: none;
- stroke: black;
- shape-rendering: crispEdges;
-}
-
-.axis text {
- font-family: Tahoma, Arial, Verdana, Geneva, sans-serif;
- font-size: 11px;
-}
-
-.graphTooltip {
- position: absolute;
- text-align: center;
- width: 40px;
- height: auto;
- padding: 10px;
- background-color: white;
- -webkit-border-radius: 10px;
- -moz-border-radius: 10px;
- border-radius: 10px;
- -webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
- -moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
- box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
- pointer-events: none;
-}
-
-.graphTooltip.hidden {
- display: none;
-}
-
-.graphTooltip p {
- margin: 0;
- font-family: Tahoma, Arial, Verdana, Geneva, sans-serif;
- font-size: 12px;
- line-height: 24px;
-}
-
-/*** Images and image links ***/
-
-img {
- border: 0px;
-}
-
-.imgLink img:link {
- text-decoration: none;
-}
-
-.imgLink img:visited {
- text-decoration: none;
-}
-
-.imgLink img:hover {
- -ms-transform: scale(1.05);
- -webkit-transform: scale(1.05);
- transform: scale(1.05);
-}
-
-.imgLink img:active {
- text-decoration: none;
-}
-
-/*** Text links ***/
-
-a:link {
- text-decoration: none;
-}
-
-a:visited {
- text-decoration: none;
-}
-
-a:hover {
- color: #44A51C;
-}
-
-a:active {
- text-decoration: none;
-}
-
-/*** Loading dots animation (from http://css-tricks.com/loading-dots-plugin/) ***/
-
-@-webkit-keyframes opacity {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
-}
-@-moz-keyframes opacity {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
-}
-
-.loading {
- text-align: center;
- margin: 100px 0 0 0;
-}
-
-.loading span {
- -webkit-animation-name: opacity;
- -webkit-animation-duration: 1s;
- -webkit-animation-iteration-count: infinite;
- -moz-animation-name: opacity;
- -moz-animation-duration: 1s;
- -moz-animation-iteration-count: infinite;
-}
-
-.loading span:nth-child(2) {
- -webkit-animation-delay: 100ms;
- -moz-animation-delay: 100ms;
-}
-
-.loading span:nth-child(3) {
- -webkit-animation-delay: 300ms;
- -moz-animation-delay: 300ms;
-}
-
-/*** Footer ***/
-
-#footer {
- width: 100%;
- height: 40px;
- text-align: center;
- clear: both;
- margin-top: 10px;
- padding-top: 20px;
- padding-left: 10px;
- padding-bottom: 20px;
- font-size: 10px;
- color: #404044;
-}
diff --git a/non-puppet/qtmetrics/testparser.pl b/non-puppet/qtmetrics/testparser.pl
deleted file mode 100644
index 6836167..0000000
--- a/non-puppet/qtmetrics/testparser.pl
+++ /dev/null
@@ -1,1031 +0,0 @@
-#!/usr/bin/env perl
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-=head1 NAME
-
-testparser.pl - Qt CI system, Gather metrics from build logs to SQL database
-
-=head1 SYNOPSIS
-
-$ ./testparser.pl -method <single|catchup|full> workdir [-delete ] [-verbose] [-sqloutput <file>] [-reload] [-limit <DATE>]
-
-Scan through logs for one or several builds in one go.
-
-=head2 OPTIONS
-
-=over
-
-=item -method <method>
-
-Method used in scanning the directories
-See L<METHOD> for more information.
-
-=item -delete
-
-Deletes the old database before inserting new data.
-
-=item workdir
-
-Directory from which the scan will initiate. This can vary from the top level
-directory to the build specific directory, depending on the method of scan.
-See L<METHOD> for more information.
-
-=item -verbose
-
-Prints a lot more information of what the script does.
-
-=item -sqloutput <file>
-
-Define a file into which table injection commands are written to.
-This requires -verbose to be used as well or nothing will be printed
-to the file.
-
-=item -reload
-
-Possible to use when using 'single' as L<METHOD>. Reloads information
-for given build into database by removing the old data matching
-the project and project number currently read.
-
-=item -limit <DATE>
-
-Possible to use when using 'full' as L<METHOD>. Skips folders that
-have time stamps older than given date. Enter the date in format: "YYYYMMDD".
-
-=back
-
-=head1 METHOD
-
-The method parameter tells the script how you wish to scan the logs.
-The script provides three different ways of working:
-
-=over
-
-=item B<SINGLE> (default)
-
-With SINGLE the script scans through one given build directory and
-adds the results to the SQL database. Therefore the path given as the
-workdir must be pointed directly to the build folder itself.
-E.g. C</var/results/Qt5_stable_Integration/build_00404>
-
-=item B<CATCHUP>
-
-With CATCHUP the script brings the database up to date with the
-latest builds results. If looks for new build folders for existing
-projects and also looks if there are new projects in the given
-workdir. Thus the workdir must be pointed to the top level of the
-hierarchy.
-E.g. C</var/results>
-
-=item B<FULL>
-
-With FULL the script goes through all the build folders and
-creates a new database. As with CATCHUP, the workdir should
-point to the top level of the hierarchy.
-E.g. C</var/results>
-
-=back
-
-=head1 EXAMPLES OF USAGE
-
-C<testparser.pl -m catchup c:\work\results>
-
-C<testparser.pl -method full -d /var/ci-results/logs>
-
-C<testparser.pl -m single /var/ci-results/logs/Qt5_stable_Integration/Build_01234>
-
-=cut
-
-use strict;
-use warnings;
-use File::Spec::Functions;
-use File::Slurp qw(read_dir);
-use JSON;
-use CGI;
-use IO::Uncompress::Gunzip qw(gunzip $GunzipError) ;
-use Date::Parse;
-use DateTime;
-use Time::Piece;
-use Getopt::Long qw( GetOptionsFromArray );
-use DBI();
-use Pod::Usage;
-
-my $BUILDSTATEFILE = "state.json.gz";
-my $BUILDLOGFILE = "log.txt.gz";
-my $VERBOSE = 0;
-
-sub process_arguments
-{
- my (@args) = @_;
- my %options;
- $options{method} = 'single';
- GetOptionsFromArray( \@args,
- 'method=s' => \$options{method},
- 'delete' => \$options{delete},
- 'sqloutput=s' => \$options{sqloutput},
- 'verbose' => \$options{verbose},
- 'reload' => \$options{reload},
- 'limit=s' => \$options{datelimit},
- 'h|help|?' => sub { pod2usage(1) },
- ) || die;
- if ($#args < 0) {
- print "Workpath not defined.\n";
- exit 1;
- }
-
- $options{method} = lc($options{method});
- if ($options{method} !~ m/^(full|catchup|single)$/) {
- print "Unknown method.\n";
- exit 1;
- }
-
- $options{workpath} = pop(@args);
- if (! -d $options{workpath}) {
- print "Workpath \"$options{workpath}\" not found.\n";
- exit 1;
- }
-
- if (defined $options{delete}) {
- print "Warning: Deleting of current database before new indexing selected.\n";
- print "You have 5 seconds to abort.\n";
- sleep(5);
- }
-
- if (defined $options{reload}) {
- if ($options{method} !~ m/^single$/) {
- print "Can only use -reload with 'single' method.\n";
- exit 1;
- }
- }
-
- if (defined $options{datelimit}) {
- my $format = '%Y%m%d';
- my $tp = Time::Piece->strptime($options{datelimit}, $format);
- my $dt = DateTime->new(
- year => $tp->year(),
- month => $tp->mon(),
- day => $tp->mday(),
- );
- $options{datelimit} = $dt;
- print "Date limit set to: $dt\n";
- }
-
- $VERBOSE = 1 if defined $options{verbose};
-
- return %options;
-}
-
-sub uncompress_to_scalar
-{
- my $input = shift;
- return "" if !$input;
- my $gzoutput;
-
- if (check_exists_and_openable($input)) {
- use Archive::Extract;
- my $ae = Archive::Extract->new( archive => $input ) or warn ("Can't create archive object.");
- if ($ae->is_gz) {
- #print "Gzip compressed\n";
- local $/;
- gunzip $input => \$gzoutput or warn "gunzip filed: $GunzipError\n";
- } else{
- print "warning: Inputfile $input is not a .gz file\n";
- }
- return $gzoutput;
- }
- else {
- print "Scalar being return is null\n";
- return;
- }
-}
-
-sub read_json
-{
- my $raw_input = shift;
- my $ret;
- eval {$ret = decode_json($raw_input);};
- return $ret;
-}
-
-sub if_defined
-{
- my $value = shift;
- return $value ? $value : "";
-}
-
-#convert epoch time with milliseconds to ISO time
-sub epoch_ms_to_iso
-{
- my $epochtime = shift;
- my $time = "";
- if (defined $epochtime) {
- $epochtime /= 1000;
- $time = DateTime->from_epoch( epoch => $epochtime);
- }
- return $time;
-}
-
-sub epoch_s_to_iso
-{
- my $epochtime = shift;
- my $time = "";
- if (defined $epochtime) {
- $time = DateTime->from_epoch( epoch => $epochtime);
- }
- return $time;
-}
-
-sub ms_to_hms
-{
- my $in_seconds = shift;
- if (defined $in_seconds) {
- $in_seconds /= 1000;
- my ($days,$hours,$minutes,$seconds) = (gmtime $in_seconds)[7,2,1,0];
- $hours += $days * 24;
- return "$hours:$minutes:$seconds";
- }
- return "";
-}
-
-sub read_build_data
-{
- my $statehash = shift;
- my $inputfolder = shift;
- my %data;
- my $backup_time;
-
- print "Getting data of $inputfolder.\n";
-
- # the 'result' data might get redefined later, if one of the configurations has failed
- $data{RESULT} = if_defined($statehash->{build}->{result});
- $data{FULLDISPLAYNAME} = if_defined($statehash->{build}->{fullDisplayName});
- $data{FULLDISPLAYNAME} =~ s/\s#\d+$//;
- $data{BUILD_NUMBER} = if_defined($statehash->{build}->{number});
- $data{ABORTEDBYINTEGRATOR} = if_defined($statehash->{build}->{aborted_by_integrator});
- $data{TIMESTAMP} = epoch_ms_to_iso($statehash->{build}->{timestamp});
- $data{DURATION} = ms_to_hms($statehash->{build}->{duration});
- $data{URL} = if_defined($statehash->{build}->{url});
-
- #loop through all the runs (an array)
- foreach my $runhash (@{$statehash->{build}->{runs}}) {
-
- my $result = if_defined($runhash->{result});
- my $number = if_defined($runhash->{number});
-
- my $cfg = if_defined($runhash->{url});
- $cfg =~ s{^.*?cfg=(.*)/\d+/}{$1};
- print "cfg = $cfg\n";
-
- if (defined $cfg and defined $data{NUMBER}) {
- if ($number ne $data{NUMBER}) {
- #TODO: $data{url} and $data{BUILD_NUMBER} might be undef
- print "ALARM! In $data{URL} $cfg\'s build number $number does not match main number $data{BUILD_NUMBER}\n";
- print " Marking this configuration as \"CANCELLED\"\n";
- $result = "CANCELLED";
- last;
- }
- }
-
- if (defined $result and $result =~ m/SUCCESS/) {
- $data{cfg}{$cfg}{builddata}{RESULT} = "SUCCESS";
- } elsif (defined $result and $result =~ m/FAILURE/) {
- $data{cfg}{$cfg}{builddata}{RESULT} = "FAILURE";
- # If one of the configurations has failed, the ABORTED is true, but it's due to something failing.
- # Thus we change the overall status to FAILURE to represent the status more clearly.
- $data{RESULT} = "FAILURE";
- } elsif (defined $result and $result =~ m/ABORTED/) {
- $data{cfg}{$cfg}{builddata}{RESULT} = "ABORTED";
- } else {
- $data{cfg}{$cfg}{builddata}{RESULT} = "undef";
- }
-
- if (check_exists_and_openable(catfile($inputfolder,$cfg,$BUILDLOGFILE))) {
- my @content_in_array = split("\n",uncompress_to_scalar(catfile($inputfolder,$cfg,$BUILDLOGFILE)));
- $data{cfg}{$cfg}{logdata} = get_log_data(@content_in_array);
- $data{cfg}{$cfg}{testresults} = get_test_results(@content_in_array);
- $data{cfg}{$cfg}{phases} = get_phase_times(@content_in_array);
- $backup_time = epoch_s_to_iso(get_modify_time(catfile($inputfolder,$cfg,$BUILDLOGFILE)));
- }
-
- my $cfg_timestamp = epoch_ms_to_iso($runhash->{timestamp});
- $data{cfg}{$cfg}{builddata}{TIMESTAMP} = $cfg_timestamp ? $cfg_timestamp : $backup_time;
- $data{cfg}{$cfg}{builddata}{DURATION} = ms_to_hms($runhash->{duration});
-
- }
- return \%data;
-}
-
-sub get_modify_time
-{
- my $file = shift;
- my $date = (stat $file )[9];
- return $date;
-}
-
-sub getdata
-{
- my @logarray = @{(shift)};
- my $regexp = shift;
-
- foreach my $line (@logarray) {
- $line =~ s/[\n|\r]$//g;
- return $1 if ($line =~ m/$regexp/);
- }
- return;
-}
-
-sub exists_in_array
-{
- my @arr = @{(shift)};
- my $regexp = shift;
- foreach my $line (@arr) {
- $line =~ s/[\n|\r]$//g;
- return 1 if ($line =~ m/$regexp/);
- }
- return 0;
-}
-
-sub get_log_data
-{
- print "Getting general data from log files.\n";
- my @filecontent = @_;
- my %logdata;
- $logdata{project} = getdata(\@filecontent, qr/^Started by upstream project "(.*)" build number \d+$/);
- $logdata{build_number} = getdata(\@filecontent, qr/^Started by upstream project ".*" build number (\d+)$/);
- $logdata{build_node} = getdata(\@filecontent, qr/^Building remotely on (.*) in workspace .*$/);
- $logdata{node_labels} = getdata(\@filecontent, qr/^NODE_LABELS=(.*)$/);
- $logdata{jenkins_url} = getdata(\@filecontent, qr/^JENKINS_URL=(.*)$/);
- $logdata{build_id} = getdata(\@filecontent, qr/^BUILD_ID=(.*)$/);
- $logdata{build_url} = getdata(\@filecontent, qr/^BUILD_URL=(.*)$/);
- $logdata{build_tag} = getdata(\@filecontent, qr/^BUILD_TAG=(.*)$/);
- $logdata{job_name} = getdata(\@filecontent, qr/^JOB_NAME=(.*)$/);
- $logdata{job_url} = getdata(\@filecontent, qr/^JOB_URL=(.*)$/);
- $logdata{cfg} = getdata(\@filecontent, qr/^cfg='(.*)'$/);
- $logdata{qtqa_qt_configure_args} = getdata(\@filecontent, qr/^set QTQA_QT_CONFIGURE_ARGS=(.*)$/);
- $logdata{qtqa_qt_configure_extra_args} = getdata(\@filecontent, qr/^set QTQA_QT_CONFIGURE_EXTRA_ARGS=(.*)$/);
- $logdata{FORCESUCCESS} = exists_in_array(\@filecontent, qr/^Normally I would now fail. However, `forcesuccess' was set in/);
- $logdata{FORCESUCCESS} |= exists_in_array(\@filecontent, qr/^Note: forcesuccess is set, but the test script succeeded./);
- $logdata{INSIGNIFICANT} = exists_in_array(\@filecontent, qr/^This is a warning, not an error, because the `qt.tests.insignificant' option was used./);
- $logdata{INSIGNIFICANT} |= exists_in_array(\@filecontent, qr/^Note: qt.tests.insignificant is set, but the tests succeeded./);
- return (\%logdata);
-}
-
-sub get_test_results
-{
- print "Getting test results.\n";
- my @filecontent = @_;
-
- my $RESULTPARTSTR = qr/=== Timing: =================== TEST RUN COMPLETED! ============================/;
- my $RESULTPARTSTR2 = qr/=== Failures: ==================================================================/;
- my $RESULTPARTSTR3 = qr/=== Totals: .*=/;
-
- my $phase = 0;
- my $autotest = 0;
- my %testresults;
- my $total_autotests = 0;
- foreach my $line (@filecontent) {
- $line =~ s/[\n|\r]$//g;
- $phase = 1 if ($line =~ m/^$RESULTPARTSTR$/);
- $phase = 2 if ($line =~ m/^$RESULTPARTSTR2$/);
- $autotest = 1 if ($line =~ m/#=#.*?#=#\s\>(.*)$/);
- $autotest = 0 if ($line =~ m/#=#.*?#=#\s\<(.*)\s#=# Elapsed (\d+) second\(s\).$/);
-
- if (1 == $autotest) {
- $total_autotests++ if ($line =~ m/^Testing\s(.*)$/);
- }
-
- if (2 == $phase) {
- if ($line =~ m/^\s{2}(.*?)\s*(\[insignificant\])*$/) {
- print "Found test case '$1'\n" if $VERBOSE;
- if (!defined $2) {
- push (@{$testresults{failed_tests}}, $1);
- } elsif ("[insignificant]" eq $2) {
- push (@{$testresults{insignificant_failed_tests}}, $1);
- } else {
- push (@{$testresults{unspecified_tests}}, $1);
- }
- }
- else { last if ($line =~ m/^$RESULTPARTSTR3$/); }
- }
- }
- $testresults{TOTAL_AUTOTESTS} = $total_autotests;
- return (\%testresults);
-}
-
-sub get_phase_times
-{
- print "Getting times for different phases.\n";
- my @filecontent = @_;
-
- my $TIMESTR = qr/\w{3}\s\w{3}\s+\d+\s\d{2}:\d{2}:\d{2}\s\d{4}/;
-
- my %phasedata;
- my @phases;
- foreach my $line (@filecontent) {
- next if ($line !~ m/#=#/);
- $line =~ s/[\n|\r]$//g;
- my $parent = "";
- my ($timestr) = $line =~ m/#=# ($TIMESTR)/;
- my $time = DateTime->from_epoch( epoch => str2time($timestr), time_zone => 'local');
-
- if ($line =~ m/#=#.*?#=#\s\>(.*)$/) {
- push (@phases, $1);
- print "Entering phase '$phases[-1]' in time $time.\n" if $VERBOSE;
- $parent = $phases[-2] || "";
-
- $phasedata{$phases[-1]}{start} = $time;
- $phasedata{$phases[-1]}{parent} = $parent;
- }
- if ($line =~ m/#=#.*?#=#\s\<(.*)\s#=# Elapsed (\d+) second\(s\).$/) {
- my $returningphase = $1;
- my $duration = $2;
- my $stackphase = pop (@phases);
- if ($returningphase ne $stackphase) {
- print "Odd order in phases. Returning '$returningphase' doesn't match phase in stack '$stackphase'.\n";
- }
- print "Exiting phase '$returningphase' in time $time. Duration: $duration.\n" if $VERBOSE;
-
- $phasedata{$returningphase}{end} = $time;
- }
- }
- return (\%phasedata);
-}
-
-sub sql_connect
-{
- my $dbh;
- print "Connecting to MySQL...\n";
- $ENV{HOME} = $ENV{HOMEPATH} if ($^O =~ m/mswin32/i);
-
- # Connect to the database.
- die "Can't access SQL configuration" if (!check_exists_and_openable ("$ENV{HOME}/.my.cnf"));
- my $dsn = "DBI:mysql:;mysql_read_default_file=$ENV{HOME}/.my.cnf";
- eval {
- $dbh = DBI->connect($dsn, undef, undef, {'RaiseError' => 1});
- };
- if ($@) {
- die("Connection to SQL failed because $@");
- }
- return $dbh;
-}
-
-sub sql_disconnect
-{
- print "Disconnecting from MySQL...\n";
- my $dbh = shift;
- eval {
- $dbh->disconnect();
- };
- if ($@) {
- die("Disconnection from SQL failed because $@");
- }
-}
-
-sub sql_drop_table
-{
- my $dbh = shift;
- my $table = shift;
- eval {
- $dbh->do ("DROP TABLE IF EXISTS $table");
- };
- if ($@) {
- die("Removal of table '$table' failed because $@");
- }
-
-}
-
-sub sql_drop_tables
-{
- my $dbh = shift;
-
- print "Dropping old tables.\n";
- sql_drop_table($dbh, "generic");
- sql_drop_table($dbh, "ci");
- sql_drop_table($dbh, "cfg");
- sql_drop_table($dbh, "test");
- sql_drop_table($dbh, "phases");
-
-}
-
-sub sql_create_tables
-{
- my $dbh = shift;
- print "Creating new tables.\n";
-
- $dbh->{AutoCommit} = 0; # enable transactions, if possible
- $dbh->{RaiseError} = 1;
-
- eval {
- $dbh->do ("CREATE TABLE IF NOT EXISTS generic (name VARCHAR(10),
- rebuild BOOLEAN,
- date TIMESTAMP NULL,
- current INTEGER,
- total INTEGER)
- ");
-
- # gives the table initial values, since only one row is used in this table
- if ("0E0" eq $dbh->do ("SELECT * FROM generic")) {
- $dbh->do ("INSERT IGNORE INTO generic (name, rebuild, date, current, total) values ('qt', 0, NULL, 0, 0);");
- }
-
- foreach my $tablename (qw(ci ci_latest)) {
- $dbh->do ("CREATE TABLE IF NOT EXISTS $tablename (project VARCHAR(50),
- build_number INTEGER,
- result VARCHAR(10),
- timestamp TIMESTAMP NULL,
- duration TIME NULL,
- PRIMARY KEY (`project`, `build_number`)
- )
- ");
- }
-
- foreach my $tablename (qw(cfg cfg_latest)) {
- $dbh->do ("CREATE TABLE IF NOT EXISTS $tablename (cfg VARCHAR(100),
- project VARCHAR(50),
- build_number INTEGER,
- result VARCHAR(10),
- forcesuccess BOOLEAN,
- insignificant BOOLEAN,
- total_autotests INTEGER,
- timestamp TIMESTAMP NULL,
- duration TIME NULL,
- PRIMARY KEY (`cfg`, `project`, `build_number`)
- )
- ");
- }
-
- foreach my $tablename (qw(test test_latest)) {
- $dbh->do ("CREATE TABLE IF NOT EXISTS $tablename (name VARCHAR(50),
- project VARCHAR(50),
- build_number INTEGER,
- cfg VARCHAR(100),
- insignificant BOOLEAN,
- timestamp TIMESTAMP NULL,
- PRIMARY KEY (`name`, `project`, `build_number`, `cfg`)
- )
- ");
- }
-
- foreach my $tablename (qw(phases phases_latest)) {
- $dbh->do ("CREATE TABLE IF NOT EXISTS $tablename (project VARCHAR(50),
- build_number INTEGER,
- cfg VARCHAR(100),
- phase VARCHAR(100),
- parent VARCHAR(100),
- start TIMESTAMP NULL,
- end TIMESTAMP NULL,
- PRIMARY KEY (`project`, `build_number`, `cfg`, `phase`)
- )
- ");
- }
- $dbh->commit; # commit the changes if we get this far
- };
- if ($@) {
- print "Transaction aborted because $@";
- print "This will leave current data out from the database. Look for this in logs and figure out the problem.\n";
- eval { $dbh->rollback };
- } else {
- print "Tables created.\n";
- }
- $dbh->{AutoCommit} = 1; # disable transactions, if possible
-}
-
-sub sql
-{
- my $dbh = shift;
- my %options = %{(shift)};
- my %datahash = %{(shift)};
- my $output = $options{sqloutput};
-
- open(OUTPUT, ($output ? ">>$output" : ">&STDOUT"));
-
- $dbh->{AutoCommit} = 0; # enable transactions, if possible
- $dbh->{RaiseError} = 1;
- if (defined $options{reload}) {
- eval {
- # if 'reload' is defined in options, remove possible data from sql database before storing new data
- print "Deleting old data from database.\n";
- print "DELETE from ci where project=\"$datahash{FULLDISPLAYNAME}\" and build_number=$datahash{BUILD_NUMBER}\n" if $VERBOSE or $output;
- $dbh->do ("DELETE from ci where project=\"$datahash{FULLDISPLAYNAME}\" and build_number=$datahash{BUILD_NUMBER}") or print "removal of old data in ci failed: $!\n" if !$output;
- $dbh->do ("DELETE from cfg where project=\"$datahash{FULLDISPLAYNAME}\" and build_number=$datahash{BUILD_NUMBER}") or print "removal of old data in cfg failed: $!\n" if !$output;
- $dbh->do ("DELETE from test where project=\"$datahash{FULLDISPLAYNAME}\" and build_number=$datahash{BUILD_NUMBER}") or print "removal of old data in test failed: $!\n" if !$output;
- $dbh->do ("DELETE from phases where project=\"$datahash{FULLDISPLAYNAME}\" and build_number=$datahash{BUILD_NUMBER}") or print "removal of old data in phases failed: $!\n" if !$output;
- $dbh->commit; # commit the changes if we get this far
- };
- if ($@) {
- warn "Transaction aborted because $@";
- eval { $dbh->rollback };
- } else {
- print "Data deleted.\n";
- }
- }
-
- print "Storing data to sql.\n";
-
- eval {
- # Have to store quotes in scalar, as printing can't have those if we want to have the possibility to print NULL.
- my $timestamp = $datahash{TIMESTAMP} ? "\"$datahash{TIMESTAMP}\"" : "NULL";
- my $duration = $datahash{DURATION} ? "\"$datahash{DURATION}\"" : "NULL";
- # delete the contents from the *_latest databases where the project name matches. Only latest data is stored.
- $dbh->do ("DELETE from ci_latest where project=\"$datahash{FULLDISPLAYNAME}\"
- ") or print "delete of keys from ci_latest failed: $!\n" if !$output;
- $dbh->do ("DELETE from cfg_latest where project=\"$datahash{FULLDISPLAYNAME}\"
- ") or print "delete of keys from cfg_latest failed: $!\n" if !$output;
- $dbh->do ("DELETE from test_latest where project=\"$datahash{FULLDISPLAYNAME}\"
- ") or print "delete of keys from test_latest failed: $!\n" if !$output;
- $dbh->do ("DELETE from phases_latest where project=\"$datahash{FULLDISPLAYNAME}\"
- ") or print "delete of keys from phases_latest failed: $!\n" if !$output;
-
- foreach my $tablename (qw(ci ci_latest)) {
- print OUTPUT "INSERT INTO $tablename VALUES (\"$datahash{FULLDISPLAYNAME}\",
- $datahash{BUILD_NUMBER},
- \"$datahash{RESULT}\",
- $timestamp,
- $duration)\n" if $VERBOSE or $output;
- $dbh->do ("INSERT INTO $tablename VALUES (\"$datahash{FULLDISPLAYNAME}\",
- $datahash{BUILD_NUMBER},
- \"$datahash{RESULT}\",
- $timestamp,
- $duration)
- ") or print "insert of keys into $tablename failed: $!\n" if !$output;
- }
-
- #insert data for configuration
- foreach my $cfg (keys %{$datahash{cfg}}) {
- my $forcesuccess_cfg = $datahash{cfg}{$cfg}{logdata}{FORCESUCCESS} ? $datahash{cfg}{$cfg}{logdata}{FORCESUCCESS} : 0;
- my $insignificant_cfg = $datahash{cfg}{$cfg}{logdata}{INSIGNIFICANT} ? $datahash{cfg}{$cfg}{logdata}{INSIGNIFICANT} : 0;
- my $total_autotests = $datahash{cfg}{$cfg}{testresults}{TOTAL_AUTOTESTS} ? $datahash{cfg}{$cfg}{testresults}{TOTAL_AUTOTESTS} : 0;
- my $timestamp_cfg = $datahash{cfg}{$cfg}{builddata}{TIMESTAMP} ? "\"$datahash{cfg}{$cfg}{builddata}{TIMESTAMP}\"" : "NULL";
- my $duration_cfg = $datahash{cfg}{$cfg}{builddata}{DURATION} ? "\"$datahash{cfg}{$cfg}{builddata}{DURATION}\"" : "NULL";
- foreach my $tablename (qw(cfg cfg_latest)) {
- print OUTPUT "INSERT INTO $tablename VALUES (\"$cfg\",
- \"$datahash{FULLDISPLAYNAME}\",
- $datahash{BUILD_NUMBER},
- \"$datahash{cfg}{$cfg}{builddata}{RESULT}\",
- $forcesuccess_cfg,
- $insignificant_cfg,
- $total_autotests,
- $timestamp_cfg,
- $duration_cfg)\n" if $VERBOSE or $output;
- $dbh->do ("INSERT INTO $tablename VALUES (\"$cfg\",
- \"$datahash{FULLDISPLAYNAME}\",
- $datahash{BUILD_NUMBER},
- \"$datahash{cfg}{$cfg}{builddata}{RESULT}\",
- $forcesuccess_cfg,
- $insignificant_cfg,
- $total_autotests,
- $timestamp_cfg,
- $duration_cfg)
- ") or print "insert of keys into $tablename failed: $!\n" if !$output;
- }
-
-
- if (defined $datahash{cfg}{$cfg}{testresults}{insignificant_failed_tests}) {
- my $timestamp_cfg = $datahash{cfg}{$cfg}{builddata}{TIMESTAMP} ? "\"$datahash{cfg}{$cfg}{builddata}{TIMESTAMP}\"" : "NULL";
- foreach my $test (@{$datahash{cfg}{$cfg}{testresults}{insignificant_failed_tests}}) {
- print "$cfg - $test (insignificant)\n" if $VERBOSE;
- foreach my $tablename (qw(test test_latest)) {
- print OUTPUT "INSERT INTO $tablename VALUES (\"$test\",
- \"$datahash{FULLDISPLAYNAME}\",
- $datahash{BUILD_NUMBER},
- \"$cfg\",
- 1,
- $timestamp_cfg)\n" if $VERBOSE or $output;
- $dbh->do ("INSERT INTO $tablename VALUES (\"$test\",
- \"$datahash{FULLDISPLAYNAME}\",
- $datahash{BUILD_NUMBER},
- \"$cfg\",
- 1,
- $timestamp_cfg)
- ") or print "insert of keys into $tablename failed: $!\n" if !$output;
- }
- }
- }
- if (defined $datahash{cfg}{$cfg}{testresults}{failed_tests}) {
- my $timestamp_cfg = $datahash{cfg}{$cfg}{builddata}{TIMESTAMP} ? "\"$datahash{cfg}{$cfg}{builddata}{TIMESTAMP}\"" : "NULL";
- foreach my $test (@{$datahash{cfg}{$cfg}{testresults}{failed_tests}}) {
- print "$cfg - $test\n" if $VERBOSE;
- foreach my $tablename (qw(test test_latest)) {
- print OUTPUT "INSERT INTO $tablename VALUES (\"$test\",
- \"$datahash{FULLDISPLAYNAME}\",
- $datahash{BUILD_NUMBER},
- \"$cfg\",
- 0,
- $timestamp_cfg)\n" if $VERBOSE or $output;
- $dbh->do ("INSERT INTO $tablename VALUES (\"$test\",
- \"$datahash{FULLDISPLAYNAME}\",
- $datahash{BUILD_NUMBER},
- \"$cfg\",
- 0,
- $timestamp_cfg)
- ") or print "insert of keys into $tablename failed: $!\n" if !$output;
- }
- }
- }
- if (defined $datahash{cfg}{$cfg}{phases}) {
- foreach my $phase (keys(%{$datahash{cfg}{$cfg}{phases}})) {
- print "$cfg - $phase\n" if $VERBOSE;
- my $parent = $datahash{cfg}{$cfg}{phases}{$phase}{parent} ? $datahash{cfg}{$cfg}{phases}{$phase}{parent} : "";
- my $start = $datahash{cfg}{$cfg}{phases}{$phase}{start} ? $datahash{cfg}{$cfg}{phases}{$phase}{start} : "";
- my $end = $datahash{cfg}{$cfg}{phases}{$phase}{end} ? $datahash{cfg}{$cfg}{phases}{$phase}{end} : "";
- foreach my $tablename (qw(phases phases_latest)) {
- print OUTPUT "INSERT INTO $tablename VALUES (\"$datahash{FULLDISPLAYNAME}\",
- $datahash{BUILD_NUMBER},
- \"$cfg\",
- \"$phase\",
- \"$parent\",
- \"$start\",
- \"$end\")\n" if $VERBOSE or $output;
- $dbh->do ("INSERT INTO $tablename VALUES (\"$datahash{FULLDISPLAYNAME}\",
- $datahash{BUILD_NUMBER},
- \"$cfg\",
- \"$phase\",
- \"$parent\",
- \"$start\",
- \"$end\")
- ") or print "insert of keys into $tablename failed: $!\n" if !$output;
- }
- }
- }
-
- }
- $dbh->commit; # commit the changes if we get this far
- };
- if ($@) {
- warn "Transaction aborted because $@";
- # now rollback to undo the incomplete changes
- # but do it in an eval{} as it may also fail
- eval { $dbh->rollback };
- # add other application on-error-clean-up code here
- } else {
- print "Data committed to database.\n";
- }
- $dbh->{AutoCommit} = 1; # disable transactions, if possible
-
- close OUTPUT;
-}
-
-sub check_exists_and_openable
-{
- my $file = shift;
- open my $fh, "<", $file or do {
- print "$0: open $file: $!\n";
- return 0;
- };
- close $fh or print "$0: close $file: $!\n";
- return 1;
-}
-
-sub get_all_folders
-{
- my $workdir = shift;
- my $timelimit = shift;
- my @folders;
-
- for my $dir (grep { -d catdir($workdir,$_) } read_dir($workdir)) {
- for my $dir2 (grep { -d catdir($workdir,$dir,$_) } read_dir(catdir($workdir,$dir))) {
- my $finaldir = catdir($workdir,$dir,$dir2);
- print "$finaldir\n";
- if ($finaldir !~ m/(latest-success|latest)/) {
- next if (folder_too_old($finaldir, $timelimit));
- push(@folders, $finaldir);
- }
- }
- }
- return \@folders;
-}
-
-sub sql_get_distinct
-{
- my $dbh = shift;
- my $query = shift;
- my $table = shift;
- my @distincts;
-
- # Now retrieve data from the table.
- my $sth = $dbh->prepare("SELECT DISTINCT $query FROM $table");
- $sth->execute();
- while (my $ref = $sth->fetchrow_hashref()) {
- print "Found a row: project = $ref->{$query}\n" if $VERBOSE;
- push (@distincts, $ref->{$query});
- }
- $sth->finish();
-
- return @distincts;
-}
-
-sub sql_get_max
-{
- my $dbh = shift;
- my $max = shift;
- my $where = shift;
- my $table = shift;
- my $highest;
-
- # Now retrieve data from the table.
- # select max(build_number) as article from ci where project='QtBase_stable_Integration';
-
- my $sth = $dbh->prepare("SELECT MAX($max) as $max from $table where $where");
- $sth->execute();
- while (my $ref = $sth->fetchrow_hashref()) {
- print "Found a row: $where: $ref->{$max}\n";
- $highest = $ref->{$max};
- }
- $sth->finish();
-
- return $highest;
-}
-
-sub get_catchup_folders
-{
- my $workdir = shift;
- my $timelimit = shift;
- my @folders;
- my @distincts;
- my %distmaxno;
-
- my $dbh = sql_connect();
- @distincts = sql_get_distinct($dbh, "project", "ci");
- foreach (@distincts) {
- $distmaxno{$_} = sql_get_max($dbh, "build_number", "project='$_'", "ci");
- }
- sql_disconnect($dbh);
-
- # go through all projects in database and look for matching folder and compare build numbers
- print "Comparing projects in database against projects in log folder.\n";
- foreach my $proj (keys (%distmaxno)) {
- my $projdir = catdir($workdir,$proj);
- if (-d $projdir) {
- for my $dir (grep { -d catdir($projdir,$_) } read_dir($projdir)) {
- my $builddir = catdir($projdir,$dir);
- next if ($builddir !~ m/build_(\d+)/);
- next if (folder_too_old($builddir, $timelimit));
- my $builddir_nmbr = $1;
- if ($builddir_nmbr > $distmaxno{$proj}) {
- print "Build dir '$builddir' has greater build number than $distmaxno{$proj} found for $proj\n";
- push (@folders, $builddir);
- }
- }
- } else {
- print "Can't find $projdir\n";
- }
- }
- # go through all folders and compare project names to the ones in the database and see if database is missing a project entirely
-
- print "Comparing projects in log folder against projects in database.\n";
- for my $dir (grep { -d catdir($workdir,$_) } read_dir($workdir)) {
- # skip directory if it's already
- next if (exists $distmaxno{$dir});
- print "Found project '$dir' that's not in the database.\n";
- for my $dir2 (grep { -d catdir($workdir,$dir,$_) } read_dir(catdir($workdir,$dir))) {
- my $finaldir = catdir($workdir,$dir,$dir2);
- next if ($finaldir =~ m/(latest-success|latest)/);
- next if (folder_too_old($finaldir, $timelimit));
- push(@folders, $finaldir);
- }
- }
- return \@folders;
-}
-
-sub folder_too_old
-{
- my $folder = shift;
- my $timelimit = shift;
-
- if (defined $timelimit) {
- my $modify_time = epoch_s_to_iso(get_modify_time($folder));
- if ($modify_time < $timelimit) {
- print "$folder older than specified time limit ($timelimit)\n" if $VERBOSE;
- return 1;
- }
- }
- return 0;
-}
-
-sub check_single_folder
-{
- my $workdir = shift;
- my @folders = ();
-
- push (@folders, $workdir) if (-d $workdir);
- return \@folders;
-}
-
-sub sql_set_rebuild
-{
- my $dbh = shift;
- my $rebuild = shift;
- my $timestamp = shift;
-
-}
-
-sub sql_update_progress
-{
- my $dbh = shift;
- my %table = %{(shift)};
-
- $dbh->do ("UPDATE generic SET name=\"qt\", rebuild=$table{rebuild}, date=\"$table{date}\", current=$table{current}, total=$table{total};");
-}
-
-sub run
-{
- my %options = process_arguments(@ARGV);
-
- my @inputfolders;
-
- if ($options{method} =~ m/^full$/) {
- @inputfolders = @{(get_all_folders($options{workpath}, $options{datelimit}))};
- }
- elsif ($options{method} =~ m/^catchup$/) {
- @inputfolders = @{(get_catchup_folders($options{workpath}, $options{datelimit}))};
- }
- elsif ($options{method} =~ m/^single$/) {
- @inputfolders = @{(check_single_folder($options{workpath}))};
- }
-
- my $dbh = sql_connect();
-
- sql_drop_tables($dbh) if (defined $options{delete});
- sql_create_tables($dbh);
-
- my %generic_table = (
- rebuild => 1,
- date => DateTime->now(),
- current => 0,
- total => 0,
- );
-
- #loop through each build folder one by one
- for my $index (0 .. $#inputfolders) {
- my $inputfolder = $inputfolders[$index];
- $generic_table{current} = $index+1;
- $generic_table{total} = $#inputfolders+1;
-
- print "Processing $inputfolder...\n";
- sql_update_progress($dbh, \%generic_table);
- my $statefile = catfile($inputfolder, $BUILDSTATEFILE);
- my $mainlogfile = catfile($inputfolder, $BUILDLOGFILE);
-
- next if (!check_exists_and_openable ($statefile));
- next if (!check_exists_and_openable ($mainlogfile));
-
- print "Needed main log files exists.\n";
-
- my $modify_time = epoch_s_to_iso(get_modify_time($statefile));
- my $statehash = read_json(uncompress_to_scalar($statefile));
- my $logcontent = uncompress_to_scalar($mainlogfile);
-
- my %datahash = %{read_build_data($statehash, $inputfolder)};
- $datahash{TIMESTAMP} = $modify_time if ($datahash{TIMESTAMP} eq "");
-
- print "Build Summary:\n";
- print "Name: $datahash{FULLDISPLAYNAME}\n";
- print "Build number: $datahash{BUILD_NUMBER}\n";
- print "Result: $datahash{RESULT}\n";
- print "Build date: $datahash{TIMESTAMP}\n";
- sql($dbh, \%options, \%datahash);
- print "$inputfolder processed.\n\n";
- }
- $generic_table{rebuild} = 0;
- sql_update_progress($dbh, \%generic_table);
- sql_disconnect($dbh);
- return;
-}
-run( @ARGV ) unless caller;
diff --git a/non-puppet/qtmetrics2/.htaccess b/non-puppet/qtmetrics2/.htaccess
deleted file mode 100644
index 7f6aa46..0000000
--- a/non-puppet/qtmetrics2/.htaccess
+++ /dev/null
@@ -1,70 +0,0 @@
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-# Qt Metrics configuration
-# @since 09-07-2015
-# @author Juha Sippola
-
-# Turn on the rewriting engine
-RewriteEngine On
-
-# Set security headers
-<IfModule mod_headers.c>
- # Apply Content Security Policy
- Header set Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline'; img-src *"
- # Provide protection against MIME type confusion attacks
- Header set X-Content-Type-Options "nosniff"
- # Provide protection against clickjacking
- Header set X-Frame-Options "SAMEORIGIN"
- # Provide protection against Cross-Site Scripting
- Header set X-XSS-Protection "1; mode=block"
-</IfModule>
-
-# Compress all output labeled with one of the following media types
-<IfModule mod_deflate.c>
- <IfModule mod_filter.c>
- AddOutputFilterByType DEFLATE \
- "application/javascript" \
- "application/json" \
- "application/xml" \
- "text/css" \
- "text/html" \
- "text/javascript" \
- "text/plain" \
- "text/xml"
- </IfModule>
-</IfModule>
-
-# If the requested file does not exist, show link to index.php
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteRule ^ index.php [QSA,L]
diff --git a/non-puppet/qtmetrics2/fonts/OpenSans-Regular.ttf b/non-puppet/qtmetrics2/fonts/OpenSans-Regular.ttf
deleted file mode 100644
index db43334..0000000
--- a/non-puppet/qtmetrics2/fonts/OpenSans-Regular.ttf
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics2/images/Qt-logo-small.png b/non-puppet/qtmetrics2/images/Qt-logo-small.png
deleted file mode 100644
index d6fb192..0000000
--- a/non-puppet/qtmetrics2/images/Qt-logo-small.png
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics2/images/favicon.ico b/non-puppet/qtmetrics2/images/favicon.ico
deleted file mode 100644
index 47f5619..0000000
--- a/non-puppet/qtmetrics2/images/favicon.ico
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics2/images/site_map.png b/non-puppet/qtmetrics2/images/site_map.png
deleted file mode 100644
index c9259ac..0000000
--- a/non-puppet/qtmetrics2/images/site_map.png
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics2/images/site_map.xml b/non-puppet/qtmetrics2/images/site_map.xml
deleted file mode 100644
index adb8c72..0000000
--- a/non-puppet/qtmetrics2/images/site_map.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<mxGraphModel dx="1434" dy="736" grid="0" gridSize="10" guides="1" tooltips="1" connect="0" fold="1" page="1" pageScale="1.5" pageWidth="826" pageHeight="1169" background="none" math="0"><root><mxCell id="0" style=";html=1;"/><mxCell id="1" style=";html=1;" parent="0"/><mxCell id="153" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" edge="1" parent="1" source="78" target="143"><mxGeometry x="1051" y="433" width="50" height="50" as="geometry"><mxPoint x="1051" y="540" as="sourcePoint"/><mxPoint x="1051" y="433" as="targetPoint"/><Array as="points"><mxPoint x="943" y="431"/></Array></mxGeometry></mxCell><mxCell id="141" value="" style="whiteSpace=wrap;html=1;labelBorderColor=none;labelBackgroundColor=none;fontColor=#999999;strokeColor=#999999;fillColor=none;" parent="1" vertex="1"><mxGeometry x="172" y="633" width="108" height="78" as="geometry"/></mxCell><mxCell id="68" value="Overview&lt;div&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;Qt5 state&lt;/span&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;blue;fontStyle=1" parent="1" vertex="1"><mxGeometry x="360" y="266" width="120" height="60" as="geometry"/></mxCell><mxCell id="72" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" target="68" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="474" y="175" as="sourcePoint"/><mxPoint x="326" y="254" as="targetPoint"/><Array as="points"><mxPoint x="420" y="175"/></Array></mxGeometry></mxCell><mxCell id="73" value="&amp;nbsp;overview&amp;nbsp;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=#0066CC;fontSize=12;fontColor=#FFFFFF;labelBorderColor=#0066CC;" parent="72" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="-19" y="53" as="offset"/></mxGeometry></mxCell><mxCell id="75" value="Testset Project&lt;div&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;e.g. QtBase&lt;/span&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;blue;fontStyle=1" parent="1" vertex="1"><mxGeometry x="455" y="394" width="120" height="60" as="geometry"/></mxCell><mxCell id="76" value="Dashboard&lt;div&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;Qt5 state&lt;/span&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;blue;fontStyle=1" parent="1" vertex="1"><mxGeometry x="175" y="266" width="120" height="60" as="geometry"/></mxCell><mxCell id="78" value="Testset&lt;div&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;(configurations)&lt;/span&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;blue;fontStyle=1" parent="1" vertex="1"><mxGeometry x="688" y="394" width="120" height="60" as="geometry"/></mxCell><mxCell id="80" value="Flaky&lt;div&gt;Testsets&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;blue;fontStyle=1" parent="1" vertex="1"><mxGeometry x="688" y="266" width="120" height="60" as="geometry"/></mxCell><mxCell id="81" value="Build Project&lt;div&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;Qt5&lt;/span&gt;&amp;nbsp;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;blue;fontStyle=1" parent="1" vertex="1"><mxGeometry x="272" y="393" width="120" height="60" as="geometry"/></mxCell><mxCell id="82" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" target="172" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="474" y="175" as="sourcePoint"/><mxPoint x="184" y="266" as="targetPoint"/><Array as="points"><mxPoint x="136" y="175"/></Array></mxGeometry></mxCell><mxCell id="83" value="&amp;nbsp;e.g. linux&amp;nbsp;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=#0066CC;fontSize=12;fontColor=#FFFFFF;labelBorderColor=#0066CC;" parent="82" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="-205" y="54" as="offset"/></mxGeometry></mxCell><mxCell id="88" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="81" target="172" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="292" y="424" as="sourcePoint"/><mxPoint x="102" y="624" as="targetPoint"/><Array as="points"/></mxGeometry></mxCell><mxCell id="89" value="&amp;nbsp;e.g. linux&amp;nbsp;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=#0066CC;fontSize=12;fontColor=#FFFFFF;labelBorderColor=#0066CC;rotation=0;spacingLeft=0;spacingBottom=0;spacingRight=0;spacingTop=0;spacing=2;" parent="88" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="-15" y="-5" as="offset"/></mxGeometry></mxCell><mxCell id="90" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="68" target="81" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="398" y="326" as="sourcePoint"/><mxPoint x="301" y="394" as="targetPoint"/><Array as="points"><mxPoint x="420" y="366"/><mxPoint x="332" y="366"/></Array></mxGeometry></mxCell><mxCell id="91" value="Qt5" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=none;fontSize=12;fontColor=#0066CC;" parent="90" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="-22" y="-22" as="offset"/></mxGeometry></mxCell><mxCell id="92" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="68" target="75" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="478" y="334" as="sourcePoint"/><mxPoint x="497" y="394" as="targetPoint"/><Array as="points"><mxPoint x="420" y="366"/><mxPoint x="515" y="366"/></Array></mxGeometry></mxCell><mxCell id="93" value="e.g. QtBase" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=none;fontSize=12;fontColor=#0066CC;" parent="92" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="35" y="-24" as="offset"/></mxGeometry></mxCell><mxCell id="94" value="Configuration&lt;div&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;for build project&lt;/span&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;blue;fontStyle=1" parent="1" vertex="1"><mxGeometry x="272" y="512" width="120" height="60" as="geometry"/></mxCell><mxCell id="95" value="Configuration&lt;div&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;for testset project&lt;/span&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;blue;fontStyle=1" parent="1" vertex="1"><mxGeometry x="455" y="513" width="120" height="60" as="geometry"/></mxCell><mxCell id="96" value="" style="endArrow=classic;html=1;fontSize=12;" parent="1" source="81" target="94" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="411" y="424" as="sourcePoint"/><mxPoint x="411" y="482" as="targetPoint"/></mxGeometry></mxCell><mxCell id="100" value="" style="endArrow=classic;html=1;fontSize=12;" parent="1" source="75" target="95" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="636" y="479" as="sourcePoint"/><mxPoint x="686" y="429" as="targetPoint"/></mxGeometry></mxCell><mxCell id="101" value="configuration" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;fontSize=12;fontColor=#0066CC;" parent="1" vertex="1"><mxGeometry x="335" y="460" width="81" height="20" as="geometry"/></mxCell><mxCell id="102" value="configuration" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;fontSize=12;fontColor=#0066CC;" parent="1" vertex="1"><mxGeometry x="520" y="461" width="81" height="20" as="geometry"/></mxCell><mxCell id="103" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="95" target="75" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="565" y="543" as="sourcePoint"/><mxPoint x="565" y="436" as="targetPoint"/><Array as="points"><mxPoint x="624" y="543"/><mxPoint x="624" y="424"/></Array></mxGeometry></mxCell><mxCell id="104" value="project" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;fontSize=12;fontColor=#0066CC;" parent="1" vertex="1"><mxGeometry x="574" y="543" width="56" height="20" as="geometry"/></mxCell><mxCell id="106" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="95" target="135" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="671" y="619" as="sourcePoint"/><mxPoint x="721" y="569" as="targetPoint"/><Array as="points"><mxPoint x="515" y="602"/><mxPoint x="658" y="602"/><mxPoint x="658" y="540"/></Array></mxGeometry></mxCell><mxCell id="107" value="testset" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;fontSize=12;fontColor=#0066CC;" parent="1" vertex="1"><mxGeometry x="516" y="578" width="56" height="20" as="geometry"/></mxCell><mxCell id="108" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="94" target="75" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="370" y="644" as="sourcePoint"/><mxPoint x="474" y="424" as="targetPoint"/><Array as="points"><mxPoint x="434" y="543"/><mxPoint x="434" y="424"/></Array></mxGeometry></mxCell><mxCell id="109" value="project" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;fontSize=12;fontColor=#0066CC;" parent="1" vertex="1"><mxGeometry x="390" y="542" width="56" height="20" as="geometry"/></mxCell><mxCell id="110" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="94" target="135" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="573" y="610" as="sourcePoint"/><mxPoint x="707" y="481" as="targetPoint"/><Array as="points"><mxPoint x="322" y="602"/><mxPoint x="658" y="602"/><mxPoint x="658" y="540"/></Array></mxGeometry></mxCell><mxCell id="111" value="testset" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;fontSize=12;fontColor=#0066CC;" parent="1" vertex="1"><mxGeometry x="331" y="577" width="56" height="20" as="geometry"/></mxCell><mxCell id="112" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" edge="1" target="75" source="78"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="688" y="414" as="sourcePoint"/><mxPoint x="575" y="414" as="targetPoint"/><Array as="points"><mxPoint x="640" y="424"/><mxPoint x="640" y="424"/></Array></mxGeometry></mxCell><mxCell id="113" value="project" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;fontSize=12;fontColor=#0066CC;" parent="1" vertex="1"><mxGeometry x="633" y="400" width="56" height="20" as="geometry"/></mxCell><mxCell id="114" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="78" target="135" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="713" y="600" as="sourcePoint"/><mxPoint x="743" y="544" as="targetPoint"/><Array as="points"/></mxGeometry></mxCell><mxCell id="115" value="configuration" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;fontSize=12;fontColor=#0066CC;" parent="1" vertex="1"><mxGeometry x="666" y="461" width="81" height="20" as="geometry"/></mxCell><mxCell id="116" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="66" target="79" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="560" y="187" as="sourcePoint"/><mxPoint x="634" y="266" as="targetPoint"/><Array as="points"><mxPoint x="608" y="176"/></Array></mxGeometry></mxCell><mxCell id="118" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="66" target="80" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="550" y="164" as="sourcePoint"/><mxPoint x="864" y="266" as="targetPoint"/><Array as="points"><mxPoint x="748" y="176"/></Array></mxGeometry></mxCell><mxCell id="119" value="&amp;nbsp;top testsets&amp;nbsp;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=#0066CC;fontSize=12;fontColor=#FFFFFF;labelBorderColor=#0066CC;" parent="118" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="-43" y="61" as="offset"/></mxGeometry></mxCell><mxCell id="121" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="79" target="78" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="688" y="296" as="sourcePoint"/><mxPoint x="758" y="313" as="targetPoint"/><Array as="points"><mxPoint x="608" y="367"/><mxPoint x="748" y="367"/></Array></mxGeometry></mxCell><mxCell id="122" value="&lt;span style=&quot;line-height: 14.3999996185303px&quot;&gt;testset&lt;/span&gt;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=none;fontSize=12;fontColor=#0066CC;" parent="121" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="159" y="-23" as="offset"/></mxGeometry></mxCell><mxCell id="123" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="80" target="78" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="748" y="296" as="sourcePoint"/><mxPoint x="779" y="394" as="targetPoint"/><Array as="points"><mxPoint x="748" y="381"/><mxPoint x="748" y="381"/></Array></mxGeometry></mxCell><mxCell id="124" value="&lt;span style=&quot;line-height: 14.3999996185303px&quot;&gt;testset&lt;/span&gt;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=none;fontSize=12;fontStyle=0;fontColor=#0066CC;" parent="123" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="-117" y="-2" as="offset"/></mxGeometry></mxCell><mxCell id="125" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="172" target="94" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="214" y="481" as="sourcePoint"/><mxPoint x="272" y="543" as="targetPoint"/><Array as="points"><mxPoint x="136" y="543"/></Array></mxGeometry></mxCell><mxCell id="126" value="configuration" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=none;fontSize=12;fontColor=#0066CC;" parent="125" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="39" y="-34" as="offset"/></mxGeometry></mxCell><mxCell id="127" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="66" target="75" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="486" y="316" as="sourcePoint"/><mxPoint x="556" y="384" as="targetPoint"/><Array as="points"><mxPoint x="515" y="345"/><mxPoint x="515" y="345"/></Array></mxGeometry></mxCell><mxCell id="128" value="&amp;nbsp;project name&amp;nbsp;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=#ffffff;fontSize=12;labelBorderColor=#999999;fontColor=#999999;" parent="127" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="-4" y="-18" as="offset"/></mxGeometry></mxCell><mxCell id="129" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="66" target="78" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="983" y="114" as="sourcePoint"/><mxPoint x="1121" y="333" as="targetPoint"/><Array as="points"><mxPoint x="679" y="175"/><mxPoint x="679" y="367"/><mxPoint x="748" y="367"/></Array></mxGeometry></mxCell><mxCell id="130" value="&lt;span style=&quot;line-height: 14.3999996185303px&quot;&gt;&amp;nbsp;testset name&amp;nbsp;&lt;/span&gt;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=#ffffff;fontSize=12;labelBorderColor=#999999;fontColor=#999999;" parent="129" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="12" y="62" as="offset"/></mxGeometry></mxCell><mxCell id="131" value="&amp;nbsp;button&amp;nbsp;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=#0066CC;fontSize=12;fontColor=#FFFFFF;labelBorderColor=#0066CC;" parent="1" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="227" y="653" as="offset"/></mxGeometry></mxCell><mxCell id="132" value="&amp;nbsp;selection list&amp;nbsp;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=#ffffff;fontSize=12;labelBorderColor=#999999;fontColor=#999999;" parent="1" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="227" y="675" as="offset"/></mxGeometry></mxCell><mxCell id="133" value="&lt;span style=&quot;line-height: 14.3999996185303px&quot;&gt;link&lt;/span&gt;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=none;fontSize=12;fontStyle=0;fontColor=#0066CC;" parent="1" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="227" y="694" as="offset"/></mxGeometry></mxCell><mxCell id="134" value="&lt;span style=&quot;line-height: 14.3999996185303px&quot;&gt;&amp;nbsp;flaky testsets&amp;nbsp;&lt;/span&gt;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=#0066CC;fontSize=12;fontColor=#FFFFFF;labelBorderColor=#0066CC;" parent="1" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="768" y="233" as="offset"/></mxGeometry></mxCell><mxCell id="135" value="&lt;div&gt;Testset&lt;/div&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;(test functions)&lt;/span&gt;" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;blue;fontStyle=1" parent="1" vertex="1"><mxGeometry x="688" y="510" width="120" height="60" as="geometry"/></mxCell><mxCell id="136" value="&lt;div&gt;Test Function&lt;/div&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;(test rows)&lt;/span&gt;" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;blue;fontStyle=1" parent="1" vertex="1"><mxGeometry x="688" y="626" width="120" height="60" as="geometry"/></mxCell><mxCell id="139" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="135" target="136" edge="1"><mxGeometry x="758" y="464" width="50" height="50" as="geometry"><mxPoint x="758" y="464" as="sourcePoint"/><mxPoint x="625" y="679" as="targetPoint"/><Array as="points"><mxPoint x="748" y="598"/><mxPoint x="748" y="598"/></Array></mxGeometry></mxCell><mxCell id="140" value="test function" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;fontSize=12;fontColor=#0066CC;" parent="1" vertex="1"><mxGeometry x="751" y="578" width="81" height="20" as="geometry"/></mxCell><mxCell id="142" value="Top&lt;div&gt;Test Function&lt;div&gt;Failures&lt;/div&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;blue;fontStyle=1" parent="1" vertex="1"><mxGeometry x="828" y="266" width="120" height="60" as="geometry"/></mxCell><mxCell id="66" value="Home" style="rounded=1;whiteSpace=wrap;html=1;blue;arcSize=14;fontSize=12;fontStyle=1" parent="1" vertex="1"><mxGeometry x="455" y="145" width="120" height="60" as="geometry"/></mxCell><mxCell id="79" value="Top&lt;div&gt;Testset&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;line-height: 1.2&quot;&gt;Failures&lt;/span&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;blue;fontStyle=1" parent="1" vertex="1"><mxGeometry x="548" y="266" width="120" height="60" as="geometry"/></mxCell><mxCell id="143" value="Test Function&lt;div&gt;Blacklisted&lt;/div&gt;&lt;div&gt;Passes&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;blue;fontStyle=1" parent="1" vertex="1"><mxGeometry x="909" y="510" width="120" height="60" as="geometry"/></mxCell><mxCell id="144" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="142" target="78" edge="1"><mxGeometry x="895" y="336" width="50" height="50" as="geometry"><mxPoint x="1010" y="336" as="sourcePoint"/><mxPoint x="895" y="404" as="targetPoint"/><Array as="points"><mxPoint x="888" y="367"/><mxPoint x="748" y="367"/></Array></mxGeometry></mxCell><mxCell id="145" value="&lt;span style=&quot;line-height: 14.3999996185303px&quot;&gt;testset&lt;/span&gt;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=none;fontSize=12;fontStyle=0;fontColor=#0066CC;" parent="144" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="37" y="-31" as="offset"/></mxGeometry></mxCell><mxCell id="146" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="143" target="135" edge="1"><mxGeometry x="1042" y="336" width="50" height="50" as="geometry"><mxPoint x="1145" y="326" as="sourcePoint"/><mxPoint x="955" y="424" as="targetPoint"/><Array as="points"/></mxGeometry></mxCell><mxCell id="147" value="&lt;span style=&quot;line-height: 14.3999996185303px&quot;&gt;testset&lt;/span&gt;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=none;fontSize=12;fontStyle=0;fontColor=#0066CC;" parent="146" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="1" y="-16" as="offset"/></mxGeometry></mxCell><mxCell id="148" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="66" target="142" edge="1"><mxGeometry x="803" y="114" width="50" height="50" as="geometry"><mxPoint x="803" y="114" as="sourcePoint"/><mxPoint x="1092" y="205" as="targetPoint"/><Array as="points"><mxPoint x="888" y="176"/></Array></mxGeometry></mxCell><mxCell id="149" value="&amp;nbsp;top test functions&amp;nbsp;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=#0066CC;fontSize=12;fontColor=#FFFFFF;labelBorderColor=#0066CC;" parent="148" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="215" y="61" as="offset"/></mxGeometry></mxCell><mxCell id="150" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" parent="1" source="66" target="143" edge="1"><mxGeometry x="1015" y="84" width="50" height="50" as="geometry"><mxPoint x="787" y="145" as="sourcePoint"/><mxPoint x="1210" y="236" as="targetPoint"/><Array as="points"><mxPoint x="970" y="176"/></Array></mxGeometry></mxCell><mxCell id="151" value="&amp;nbsp;blacklisted&amp;nbsp;&lt;div&gt;&amp;nbsp;test functions&amp;nbsp;&lt;/div&gt;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=#0066CC;fontSize=12;fontColor=#FFFFFF;labelBorderColor=#0066CC;" parent="150" connectable="0" vertex="1"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="205" y="303" as="offset"/></mxGeometry></mxCell><mxCell id="152" value="Test Row&lt;div&gt;Blacklisted&lt;/div&gt;&lt;div&gt;Passes&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;blue;fontStyle=1" vertex="1" parent="1"><mxGeometry x="828" y="627" width="120" height="60" as="geometry"/></mxCell><mxCell id="157" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" edge="1" parent="1" source="78" target="152"><mxGeometry x="1067" y="390" width="50" height="50" as="geometry"><mxPoint x="1067" y="390" as="sourcePoint"/><mxPoint x="1100" y="481" as="targetPoint"/><Array as="points"><mxPoint x="860" y="431"/></Array></mxGeometry></mxCell><mxCell id="158" value="&amp;nbsp;blacklisted&amp;nbsp;&lt;div&gt;&amp;nbsp;test rows&amp;nbsp;&lt;/div&gt;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=#0066CC;fontSize=12;fontColor=#FFFFFF;labelBorderColor=#0066CC;" connectable="0" vertex="1" parent="1"><mxGeometry x="903" y="413" as="geometry"><mxPoint x="-43" y="61" as="offset"/></mxGeometry></mxCell><mxCell id="159" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" edge="1" parent="1" source="152" target="136"><mxGeometry x="775" y="741" width="50" height="50" as="geometry"><mxPoint x="775" y="848" as="sourcePoint"/><mxPoint x="775" y="741" as="targetPoint"/><Array as="points"><mxPoint x="888" y="717"/><mxPoint x="748" y="717"/></Array></mxGeometry></mxCell><mxCell id="160" value="test function" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;fontSize=12;fontColor=#0066CC;" vertex="1" parent="1"><mxGeometry x="890" y="692" width="81" height="20" as="geometry"/></mxCell><mxCell id="161" value="Top&lt;div&gt;Testset&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;line-height: 1.2&quot;&gt;Duration&lt;/span&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;blue;fontStyle=1" vertex="1" parent="1"><mxGeometry x="992" y="266" width="120" height="60" as="geometry"/></mxCell><mxCell id="162" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" edge="1" parent="1" source="66" target="161"><mxGeometry x="813" y="124" width="50" height="50" as="geometry"><mxPoint x="585" y="185" as="sourcePoint"/><mxPoint x="898" y="276" as="targetPoint"/><Array as="points"><mxPoint x="1052" y="175"/></Array></mxGeometry></mxCell><mxCell id="163" value="&amp;nbsp;top duration&amp;nbsp;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=#0066CC;fontSize=12;fontColor=#FFFFFF;labelBorderColor=#0066CC;" connectable="0" vertex="1" parent="162"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="339" y="61" as="offset"/></mxGeometry></mxCell><mxCell id="164" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" edge="1" parent="1" source="161" target="78"><mxGeometry x="905" y="346" width="50" height="50" as="geometry"><mxPoint x="898" y="336" as="sourcePoint"/><mxPoint x="775" y="404" as="targetPoint"/><Array as="points"><mxPoint x="1052" y="367"/><mxPoint x="748" y="367"/></Array></mxGeometry></mxCell><mxCell id="165" value="&lt;span style=&quot;line-height: 14.3999996185303px&quot;&gt;testset&lt;/span&gt;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=none;fontSize=12;fontStyle=0;fontColor=#0066CC;" connectable="0" vertex="1" parent="164"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="76" y="-31" as="offset"/></mxGeometry></mxCell><mxCell id="166" value="Top&lt;div&gt;Test Function&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;line-height: 1.2&quot;&gt;Duration&lt;/span&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;blue;fontStyle=1" vertex="1" parent="1"><mxGeometry x="992" y="394" width="120" height="60" as="geometry"/></mxCell><mxCell id="167" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" edge="1" parent="1" source="78" target="166"><mxGeometry x="758" y="464" width="50" height="50" as="geometry"><mxPoint x="758" y="464" as="sourcePoint"/><mxPoint x="758" y="520" as="targetPoint"/><Array as="points"><mxPoint x="905" y="414"/><mxPoint x="905" y="414"/></Array></mxGeometry></mxCell><mxCell id="169" value="&amp;nbsp;top duration&amp;nbsp;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=#0066CC;fontSize=12;fontColor=#FFFFFF;labelBorderColor=#0066CC;" connectable="0" vertex="1" parent="1"><mxGeometry x="945" y="351" as="geometry"><mxPoint x="-43" y="61" as="offset"/></mxGeometry></mxCell><mxCell id="172" value="Platform&lt;div&gt;&lt;span style=&quot;font-weight: normal&quot;&gt;Qt5&lt;/span&gt;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;blue;fontStyle=1" vertex="1" parent="1"><mxGeometry x="76" y="394" width="120" height="60" as="geometry"/></mxCell><mxCell id="173" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" edge="1" parent="1" source="66" target="76"><mxGeometry x="322" y="188" width="50" height="50" as="geometry"><mxPoint x="376" y="188" as="sourcePoint"/><mxPoint x="322" y="279" as="targetPoint"/><Array as="points"><mxPoint x="235" y="175"/></Array></mxGeometry></mxCell><mxCell id="174" value="&amp;nbsp;dashboard&amp;nbsp;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=#0066CC;fontSize=12;fontColor=#FFFFFF;labelBorderColor=#0066CC;" connectable="0" vertex="1" parent="173"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="-147" y="53" as="offset"/></mxGeometry></mxCell><mxCell id="175" value="" style="edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;fontSize=12;" edge="1" parent="1" source="76" target="81"><mxGeometry x="172" y="344" width="50" height="50" as="geometry"><mxPoint x="260" y="344" as="sourcePoint"/><mxPoint x="172" y="411" as="targetPoint"/><Array as="points"><mxPoint x="235" y="366"/><mxPoint x="332" y="366"/></Array></mxGeometry></mxCell><mxCell id="176" value="build status" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=none;fontSize=12;fontColor=#0066CC;" connectable="0" vertex="1" parent="175"><mxGeometry x="-0.5163" y="4" relative="1" as="geometry"><mxPoint x="39" y="-22" as="offset"/></mxGeometry></mxCell><mxCell id="177" value="" style="endArrow=classic;html=1;" edge="1" parent="1" source="76" target="68"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="10" y="160" as="sourcePoint"/><mxPoint x="60" y="110" as="targetPoint"/></mxGeometry></mxCell><mxCell id="178" value="testing&lt;div&gt;status&lt;/div&gt;" style="text;html=1;resizable=0;;align=center;verticalAlign=middle;labelBackgroundColor=none;fontSize=12;fontColor=#0066CC;" connectable="0" vertex="1" parent="1"><mxGeometry x="289" y="298" as="geometry"><mxPoint x="39" y="-22" as="offset"/></mxGeometry></mxCell></root></mxGraphModel>
diff --git a/non-puppet/qtmetrics2/images/ui-anim_basic_16x16.gif b/non-puppet/qtmetrics2/images/ui-anim_basic_16x16.gif
deleted file mode 100644
index 085ccae..0000000
--- a/non-puppet/qtmetrics2/images/ui-anim_basic_16x16.gif
+++ /dev/null
Binary files differ
diff --git a/non-puppet/qtmetrics2/index.php b/non-puppet/qtmetrics2/index.php
deleted file mode 100644
index 0413112..0000000
--- a/non-puppet/qtmetrics2/index.php
+++ /dev/null
@@ -1,1179 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Qt Metrics API
- * @since 29-09-2015
- * @author Juha Sippola
- */
-
-require_once 'lib/Slim/Slim/Slim.php';
-require_once 'lib/Slim/Slim/View.php';
-require_once 'lib/Slim/Slim/Middleware.php';
-require_once 'lib/SlimViews/Twig.php';
-require_once 'lib/Twig/lib/Twig/Autoloader.php';
-require_once 'src/Factory.php';
-require_once 'src/HttpBasicAuth.php';
-require_once 'src/HttpBasicAuthRoute.php';
-
-\Slim\Slim::registerAutoloader();
-Twig_Autoloader::register();
-
-$app = new Slim\Slim(array(
- 'view' => new Slim\Views\Twig(),
- 'templates.path' => 'templates'
-));
-
-/**
- * UI route: / (GET)
- */
-
-$app->get('/', function() use($app)
-{
- $ini = Factory::conf();
- $dbStatus = Factory::db()->getDbRefreshStatus();
- $buildProjectPlatformRoute = str_replace('/:targetOs', '', Slim\Slim::getInstance()->urlFor('buildproject_platform'));
- $app->render('home.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'overviewRoute' => Slim\Slim::getInstance()->urlFor('overview'),
- 'dashboardRoute' => Slim\Slim::getInstance()->urlFor('dashboard'),
- 'platformRoute' => $buildProjectPlatformRoute,
- 'topRoute' => Slim\Slim::getInstance()->urlFor('top'),
- 'flakyRoute' => Slim\Slim::getInstance()->urlFor('flaky'),
- 'topTestfunctionsRoute' => Slim\Slim::getInstance()->urlFor('toptestfunctions'),
- 'durationTestsetsRoute' => Slim\Slim::getInstance()->urlFor('durationTestsets'),
- 'bpassedTestfunctionsRoute' => Slim\Slim::getInstance()->urlFor('bpassed'),
- 'masterProject' => $ini['master_build_project'],
- 'masterState' => $ini['master_build_state'],
- 'branches' => Factory::db()->getBranches(),
- 'platforms' => Factory::db()->getTargetPlatformOs()
- ));
-})->name('root');
-
-/**
- * UI route: /dashboard (GET)
- */
-
-$app->get('/dashboard', function() use($app)
-{
- $ini = Factory::conf();
- $dbStatus = Factory::db()->getDbRefreshStatus();
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root'))
- );
- $overviewRoute = Slim\Slim::getInstance()->urlFor('overview');
- $buildProjectRoute = Slim\Slim::getInstance()->urlFor('buildproject');
- $app->render('dashboard.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'breadcrumb' => $breadcrumb,
- 'overviewRoute' => $overviewRoute,
- 'buildProjectRoute' => $buildProjectRoute,
- 'masterProject' => $ini['master_build_project'],
- 'masterState' => $ini['master_build_state'],
- 'latestConfRuns' => Factory::db()->getLatestConfBranchBuildResultsSum(
- $ini['master_build_project'],
- $ini['master_build_state']),
- 'latestTestsetRuns' => Factory::db()->getLatestProjectBranchTestsetResultsSum(
- $ini['master_build_project'],
- $ini['master_build_state'])
- ));
-})->name('dashboard');
-
-/**
- * UI route: /overview (GET)
- */
-
-$app->get('/overview', function() use($app)
-{
- $ini = Factory::conf();
- $dbStatus = Factory::db()->getDbRefreshStatus();
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root'))
- );
- $buildProjectRoute = Slim\Slim::getInstance()->urlFor('buildproject');
- $testsetProjectRoute = str_replace('/:project', '', Slim\Slim::getInstance()->urlFor('testsetproject'));
- $app->render('overview.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'breadcrumb' => $breadcrumb,
- 'buildProjectRoute' => $buildProjectRoute,
- 'testsetProjectRoute' => $testsetProjectRoute,
- 'masterProject' => $ini['master_build_project'],
- 'masterState' => $ini['master_build_state'],
- 'latestProjectRuns' => Factory::db()->getLatestProjectBranchBuildResults(
- $ini['master_build_project'],
- $ini['master_build_state']),
- 'latestTestsetRuns' => Factory::db()->getLatestProjectBranchTestsetResults(
- $ini['master_build_project'],
- $ini['master_build_state'])
- ));
-})->name('overview');
-
-/**
- * UI route: /buildproject (GET)
- */
-
-$app->get('/buildproject', function() use($app)
-{
- $ini = Factory::conf();
- $dbStatus = Factory::db()->getDbRefreshStatus();
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root')),
- array('name' => 'overview', 'link' => Slim\Slim::getInstance()->urlFor('overview'))
- );
- $buildProjectPlatformRoute = str_replace('/:targetOs', '', Slim\Slim::getInstance()->urlFor('buildproject_platform'));
- $confRoute = str_replace('/:conf', '', Slim\Slim::getInstance()->urlFor('conf'));
- $app->render('build_project.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'breadcrumb' => $breadcrumb,
- 'buildPlatformRoute' => $buildProjectPlatformRoute,
- 'confRoute' => $confRoute,
- 'masterProject' => $ini['master_build_project'],
- 'masterState' => $ini['master_build_state'],
- 'platforms' => Factory::db()->getTargetPlatformOs(),
- 'targetOs' => '',
- 'latestProjectRuns' => Factory::db()->getLatestProjectBranchBuildResults(
- $ini['master_build_project'],
- $ini['master_build_state']),
- 'projectRuns' => Factory::createProjectRuns(
- $ini['master_build_project'],
- $ini['master_build_state']), // managed as objects
- 'project' => Factory::createProject(
- $ini['master_build_project'],
- $ini['master_build_project'],
- $ini['master_build_state']), // managed as object
- 'confRuns' => Factory::createConfRuns(
- $ini['master_build_project'],
- $ini['master_build_state'],
- '',
- '') // managed as objects
- ));
-})->name('buildproject');
-
-/**
- * UI route: /buildproject/:project/platform (GET)
- * Similar to /buildproject but filtered with os
- */
-
-$app->get('/buildproject/platform/:targetOs', function($targetOs) use($app)
-{
- $targetOs = strip_tags($targetOs);
- $ini = Factory::conf();
- $dbStatus = Factory::db()->getDbRefreshStatus();
- $buildProjectRoute = str_replace('/:project', '', Slim\Slim::getInstance()->urlFor('buildproject'));
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root')),
- array('name' => 'overview', 'link' => Slim\Slim::getInstance()->urlFor('overview')),
- array('name' => $ini['master_build_project'], 'link' => $buildProjectRoute)
- );
- $buildProjectPlatformRoute = str_replace('/:targetOs', '', Slim\Slim::getInstance()->urlFor('buildproject_platform'));
- $confRoute = str_replace('/:conf', '', Slim\Slim::getInstance()->urlFor('conf'));
- $app->render('build_project.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'breadcrumb' => $breadcrumb,
- 'buildProjectRoute' => $buildProjectRoute,
- 'buildPlatformRoute' => $buildProjectPlatformRoute,
- 'confRoute' => $confRoute,
- 'masterProject' => $ini['master_build_project'],
- 'masterState' => $ini['master_build_state'],
- 'platforms' => Factory::db()->getTargetPlatformOs(),
- 'targetOs' => $targetOs,
- 'latestProjectRuns' => null, // not used
- 'projectRuns' => Factory::createProjectRuns(
- $ini['master_build_project'],
- $ini['master_build_state']), // managed as objects
- 'project' => Factory::createProject(
- $ini['master_build_project'],
- $ini['master_build_project'],
- $ini['master_build_state']), // managed as object
- 'confRuns' => Factory::createConfRuns(
- $ini['master_build_project'],
- $ini['master_build_state'],
- $targetOs,
- '') // managed as objects
- ));
-})->name('buildproject_platform');
-
-/**
- * UI route: /testsetproject (GET)
- */
-
-$app->get('/testsetproject/:project', function($project) use($app)
-{
- $project = strip_tags($project);
- $ini = Factory::conf();
- $dbStatus = Factory::db()->getDbRefreshStatus();
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root')),
- array('name' => 'overview', 'link' => Slim\Slim::getInstance()->urlFor('overview'))
- );
- $app->render('testset_project.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'breadcrumb' => $breadcrumb,
- 'masterProject' => $ini['master_build_project'],
- 'masterState' => $ini['master_build_state'],
- 'project' => $project
- ));
-})->name('testsetproject');
-
-$app->get('/data/testsetproject/latest/:project', function($project) use($app)
-{
-$project = strip_tags($project);
- $ini = Factory::conf();
- $app->render('testset_project_data_latest.html', array(
- 'project' => $project,
- 'latestTestsetRuns' => Factory::db()->getLatestTestsetProjectBranchTestsetResults(
- $project,
- $ini['master_build_project'],
- $ini['master_build_state'])
- ));
-});
-
-$app->get('/data/testsetproject/results/:project', function($project) use($app)
-{
-$project = strip_tags($project);
- $ini = Factory::conf();
- $confRoute = str_replace('/:conf', '', Slim\Slim::getInstance()->urlFor('conf'));
- $app->render('testset_project_data_results.html', array(
- 'confRoute' => $confRoute,
- 'project' => $project,
- 'projectRuns' => Factory::createProjectRuns(
- $ini['master_build_project'],
- $ini['master_build_state']), // managed as objects
- 'confBuilds' => Factory::db()->getTestsetProjectResultsByBranchConf(
- $project,
- $ini['master_build_project'],
- $ini['master_build_state'])
- ));
-});
-
-/**
- * UI route: /conf/:conf (GET)
- */
-
-$app->get('/conf/:conf', function($conf) use($app)
-{
- $conf = strip_tags($conf);
- $ini = Factory::conf();
- $dbStatus = Factory::db()->getDbRefreshStatus();
- $buildProjectRoute = str_replace('/:project', '', Slim\Slim::getInstance()->urlFor('buildproject'));
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root')),
- array('name' => 'overview', 'link' => Slim\Slim::getInstance()->urlFor('overview')),
- array('name' => $ini['master_build_project'], 'link' => $buildProjectRoute)
- );
- $testsetTestfunctionsRoute = str_replace('/:testset/:project/:conf', '', Slim\Slim::getInstance()->urlFor('testset_testfunctions'));
- $testsetProjectRoute = str_replace('/:project', '', Slim\Slim::getInstance()->urlFor('testsetproject'));
- $app->render('conf.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'breadcrumb' => $breadcrumb,
- 'testsetTestfunctionsRoute' => $testsetTestfunctionsRoute,
- 'testsetProjectRoute' => $testsetProjectRoute,
- 'masterProject' => $ini['master_build_project'],
- 'masterState' => $ini['master_build_state'],
- 'testsetProject' => '',
- 'latestConfRuns' => Factory::db()->getLatestConfBranchBuildResults(
- $conf,
- $ini['master_build_project'],
- $ini['master_build_state']),
- 'projectRuns' => Factory::createProjectRuns(
- $ini['master_build_project'],
- $ini['master_build_state']), // managed as objects
- 'conf' => Factory::createConf(
- $conf,
- $ini['master_build_project'],
- $ini['master_build_state']), // managed as object
- 'confRuns' => Factory::createConfRuns(
- $ini['master_build_project'],
- $ini['master_build_state'],
- '',
- $conf), // managed as objects
- 'testsetRuns' => Factory::createTestsetRunsInConf(
- $conf,
- '',
- $ini['master_build_project'],
- $ini['master_build_state']) // managed as objects
- ));
-})->name('conf');
-
-/**
- * UI route: /conf/:conf/:testsetproject (GET)
- */
-
-$app->get('/conf/:conf/:testsetproject', function($conf, $testsetProject) use($app)
-{
- $conf = strip_tags($conf);
- $testsetProject = strip_tags($testsetProject);
- $ini = Factory::conf();
- $dbStatus = Factory::db()->getDbRefreshStatus();
- $testsetProjectRoute = str_replace('/:project', '', Slim\Slim::getInstance()->urlFor('testsetproject'));
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root')),
- array('name' => 'overview', 'link' => Slim\Slim::getInstance()->urlFor('overview')),
- array('name' => $testsetProject, 'link' => $testsetProjectRoute . '/' . $testsetProject)
- );
- $testsetTestfunctionsRoute = str_replace('/:testset/:project/:conf', '', Slim\Slim::getInstance()->urlFor('testset_testfunctions'));
- $app->render('conf.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'breadcrumb' => $breadcrumb,
- 'testsetTestfunctionsRoute' => $testsetTestfunctionsRoute,
- 'testsetProjectRoute' => $testsetProjectRoute,
- 'masterProject' => $ini['master_build_project'],
- 'masterState' => $ini['master_build_state'],
- 'testsetProject' => $testsetProject,
- 'latestConfRuns' => null, // not used
- 'projectRuns' => Factory::createProjectRuns(
- $ini['master_build_project'],
- $ini['master_build_state']), // managed as objects
- 'conf' => Factory::createConf(
- $conf,
- $ini['master_build_project'],
- $ini['master_build_state']), // managed as object
- 'confRuns' => Factory::createConfRuns(
- $ini['master_build_project'],
- $ini['master_build_state'],
- '',
- $conf), // managed as objects
- 'testsetRuns' => Factory::createTestsetRunsInConf(
- $conf,
- $testsetProject,
- $ini['master_build_project'],
- $ini['master_build_state']) // managed as objects
- ));
-})->name('conf_testsetproject');
-
-/**
- * UI route: /test/top (GET)
- */
-
-$app->get('/test/top', function() use($app)
-{
- $ini = Factory::conf();
- $dbStatus = Factory::db()->getDbRefreshStatus();
- $days = intval($ini['top_failures_last_days']) - 1;
- $since = Factory::getSinceDate($days);
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root'))
- );
- $app->render('testsets_top.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'breadcrumb' => $breadcrumb,
- 'topN' => $ini['top_failures_n'],
- 'lastDays' => $ini['top_failures_last_days'],
- 'sinceDate' => $since,
- 'masterProject' => $ini['master_build_project'],
- 'masterState' => $ini['master_build_state']
- ));
-})->name('top');
-
-$app->get('/data/test/top', function() use($app)
-{
- $ini = Factory::conf();
- $days = intval($ini['top_failures_last_days']) - 1;
- $since = Factory::getSinceDate($days);
- $app->render('testsets_top_data.html', array(
- 'testsetRoute' => Slim\Slim::getInstance()->urlFor('root') . 'testset',
- 'lastDays' => $ini['top_failures_last_days'],
- 'sinceDate' => $since,
- 'testsets' => Factory::createTestsets(
- Factory::LIST_FAILURES,
- $ini['master_build_project'],
- $ini['master_build_state']) // managed as objects
- ));
-});
-
-/**
- * UI route: /test/flaky (GET)
- */
-
-$app->get('/test/flaky', function() use($app)
-{
- $ini = Factory::conf();
- $dbStatus = Factory::db()->getDbRefreshStatus();
- $days = intval($ini['flaky_testsets_last_days']) - 1;
- $since = Factory::getSinceDate($days);
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root'))
- );
- $app->render('testsets_flaky.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'breadcrumb' => $breadcrumb,
- 'topN' => $ini['flaky_testsets_n'],
- 'lastDays' => $ini['flaky_testsets_last_days'],
- 'sinceDate' => $since
- ));
-})->name('flaky');
-
-$app->get('/data/test/flaky', function() use($app)
-{
- $ini = Factory::conf();
- $days = intval($ini['flaky_testsets_last_days']) - 1;
- $since = Factory::getSinceDate($days);
- $app->render('testsets_flaky_data.html', array(
- 'testsetRoute' => Slim\Slim::getInstance()->urlFor('root') . 'testset',
- 'lastDays' => $ini['flaky_testsets_last_days'],
- 'sinceDate' => $since,
- 'testsets' => Factory::createTestsets(
- Factory::LIST_FLAKY,
- null,
- null) // managed as objects
- ));
-});
-
-/**
- * UI route: /test/top/testfunctions (GET)
- */
-
-$app->get('/test/top/testfunctions', function() use($app)
-{
- $ini = Factory::conf();
- $dbStatus = Factory::db()->getDbRefreshStatus();
- $days = intval($ini['top_failures_last_days']) - 1;
- $since = Factory::getSinceDate($days);
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root'))
- );
- $app->render('testfunctions_top.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'breadcrumb' => $breadcrumb,
- 'topN' => $ini['top_failures_n'],
- 'lastDays' => $ini['top_failures_last_days'],
- 'sinceDate' => $since,
- 'masterProject' => $ini['master_build_project'],
- 'masterState' => $ini['master_build_state']
- ));
-})->name('toptestfunctions');
-
-$app->get('/data/test/top/testfunctions', function() use($app)
-{
- $ini = Factory::conf();
- $days = intval($ini['top_failures_last_days']) - 1;
- $since = Factory::getSinceDate($days);
- $app->render('testfunctions_top_data.html', array(
- 'testsetRoute' => Slim\Slim::getInstance()->urlFor('root') . 'testset',
- 'lastDays' => $ini['top_failures_last_days'],
- 'sinceDate' => $since,
- 'testfunctions' => Factory::createTestfunctions(
- Factory::LIST_FAILURES,
- '',
- '',
- $ini['master_build_project'],
- $ini['master_build_state']) // managed as objects
- ));
-});
-
-/**
- * UI route: /test/bpassed (GET)
- */
-
-$app->get('/test/bpassed', function() use($app)
-{
- $ini = Factory::conf();
- $dbStatus = Factory::db()->getDbRefreshStatus();
- $days = intval($ini['blacklisted_pass_last_days']) - 1;
- $since = Factory::getSinceDate($days);
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root'))
- );
- $app->render('testfunctions_bpass.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'breadcrumb' => $breadcrumb,
- 'lastDays' => $ini['blacklisted_pass_last_days'],
- 'sinceDate' => $since,
- 'testset' => '',
- 'project' => '',
- 'masterProject' => $ini['master_build_project'],
- 'masterState' => $ini['master_build_state']
- ));
-})->name('bpassed');
-
-$app->get('/data/test/bpassed', function() use($app)
-{
- $ini = Factory::conf();
- $days = intval($ini['blacklisted_pass_last_days']) - 1;
- $since = Factory::getSinceDate($days);
- $app->render('testfunctions_bpass_data.html', array(
- 'testsetRoute' => Slim\Slim::getInstance()->urlFor('root') . 'testset',
- 'lastDays' => $ini['blacklisted_pass_last_days'],
- 'sinceDate' => $since,
- 'list' => 'functions',
- 'testset' => '',
- 'project' => '',
- 'tests' => Factory::createTestfunctions(
- Factory::LIST_BPASSES,
- '',
- '',
- $ini['master_build_project'],
- $ini['master_build_state']) // managed as objects
- ));
-});
-
-/**
- * UI route: /test/bpassed/:testset/:project (GET)
- */
-
-$app->get('/test/bpassed/:testset/:project', function($testset, $project) use($app)
-{
- $ini = Factory::conf();
- $dbStatus = Factory::db()->getDbRefreshStatus();
- if (Factory::checkTestset($testset)) {
- $days = intval($ini['blacklisted_pass_last_days']) - 1;
- $since = Factory::getSinceDate($days);
- $testsetRoute = str_replace('/:testset/:project', '', Slim\Slim::getInstance()->urlFor('testset'));
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root')),
- array('name' => $testset, 'link' => $testsetRoute . '/' . $testset . '/' . $project)
- );
- $app->render('testfunctions_bpass.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'breadcrumb' => $breadcrumb,
- 'lastDays' => $ini['blacklisted_pass_last_days'],
- 'sinceDate' => $since,
- 'testset' => $testset,
- 'project' => $project,
- 'masterProject' => $ini['master_build_project'],
- 'masterState' => $ini['master_build_state']
- ));
- } else {
- $app->render('empty.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'message' => '404 Not Found'
- ));
- $app->response()->status(404);
- }
-})->name('bpassedtestset');
-
-$app->get('/data/test/bpassed/:testset/:project', function($testset, $project) use($app)
-{
- $ini = Factory::conf();
- $days = intval($ini['blacklisted_pass_last_days']) - 1;
- $since = Factory::getSinceDate($days);
- $testsetRoute = str_replace('/:testset/:project', '', Slim\Slim::getInstance()->urlFor('testset'));
- $app->render('testfunctions_bpass_data.html', array(
- 'testsetRoute' => $testsetRoute,
- 'lastDays' => $ini['blacklisted_pass_last_days'],
- 'sinceDate' => $since,
- 'list' => 'functions',
- 'testset' => $testset,
- 'project' => $project,
- 'tests' => Factory::createTestfunctions(
- Factory::LIST_BPASSES,
- $testset,
- $project,
- $ini['master_build_project'],
- $ini['master_build_state']) // managed as objects
- ));
-});
-
-/**
- * UI route: /test/bpassed/testrows/:testset/:project (GET)
- */
-
-$app->get('/test/bpassed/testrows/:testset/:project', function($testset, $project) use($app)
-{
- $ini = Factory::conf();
- $dbStatus = Factory::db()->getDbRefreshStatus();
- if (Factory::checkTestset($testset)) {
- $days = intval($ini['blacklisted_pass_last_days']) - 1;
- $since = Factory::getSinceDate($days);
- $testsetRoute = str_replace('/:testset/:project', '', Slim\Slim::getInstance()->urlFor('testset'));
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root')),
- array('name' => $testset, 'link' => $testsetRoute . '/' . $testset . '/' . $project)
- );
- $app->render('testrows_bpass.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'breadcrumb' => $breadcrumb,
- 'lastDays' => $ini['blacklisted_pass_last_days'],
- 'sinceDate' => $since,
- 'testset' => $testset,
- 'project' => $project,
- 'masterProject' => $ini['master_build_project'],
- 'masterState' => $ini['master_build_state']
- ));
- } else {
- $app->render('empty.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'message' => '404 Not Found'
- ));
- $app->response()->status(404);
- }
-})->name('bpassedtestsetTestrows');
-
-$app->get('/data/test/bpassed/testrows/:testset/:project', function($testset, $project) use($app)
-{
- $ini = Factory::conf();
- $days = intval($ini['blacklisted_pass_last_days']) - 1;
- $since = Factory::getSinceDate($days);
- $testfunctionRoute = str_replace('/:testfunction/:testset/:project/:conf', '', Slim\Slim::getInstance()->urlFor('testfunction'));
- $app->render('testfunctions_bpass_data.html', array(
- 'testfunctionRoute' => $testfunctionRoute,
- 'lastDays' => $ini['blacklisted_pass_last_days'],
- 'sinceDate' => $since,
- 'list' => 'rows',
- 'testset' => $testset,
- 'project' => $project,
- 'tests' => Factory::createTestrows(
- $testset,
- $project,
- $ini['master_build_project'],
- $ini['master_build_state']) // managed as objects
- ));
-});
-
-/**
- * UI route: /test/duration/testsets (GET)
- */
-
-$app->get('/test/duration/testsets', function() use($app)
-{
- $ini = Factory::conf();
- $dbStatus = Factory::db()->getDbRefreshStatus();
- $days = intval($ini['top_duration_last_days']) - 1;
- $since = Factory::getSinceDate($days);
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root'))
- );
- $app->render('testsets_duration.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'breadcrumb' => $breadcrumb,
- 'lastDays' => $ini['top_duration_last_days'],
- 'sinceDate' => $since,
- 'durationLimitSec' => $ini['testset_top_duration_limit_sec'],
- 'masterProject' => $ini['master_build_project'],
- 'masterState' => $ini['master_build_state']
- ));
-})->name('durationTestsets');
-
-$app->get('/data/test/duration/testsets', function() use($app)
-{
- $ini = Factory::conf();
- $days = intval($ini['top_duration_last_days']) - 1;
- $since = Factory::getSinceDate($days);
- $app->render('testsets_duration_data.html', array(
- 'testsetRoute' => Slim\Slim::getInstance()->urlFor('root') . 'testset',
- 'lastDays' => $ini['top_duration_last_days'],
- 'sinceDate' => $since,
- 'durationLimitSec' => $ini['testset_top_duration_limit_sec'],
- 'list' => 'testsets',
- 'testset' => '',
- 'project' => '',
- 'runs' => Factory::createTestsetRunsMaxDuration(
- $ini['master_build_project'],
- $ini['master_build_state']) // managed as objects
- ));
-});
-
-/**
- * UI route: /test/duration/testfunctions/:testset/:project (GET)
- */
-
-$app->get('/test/duration/testfunctions/:testset/:project', function($testset, $project) use($app)
-{
- $ini = Factory::conf();
- $dbStatus = Factory::db()->getDbRefreshStatus();
- if (Factory::checkTestset($testset)) {
- $days = intval($ini['top_duration_last_days']) - 1;
- $since = Factory::getSinceDate($days);
- $testsetRoute = str_replace('/:testset/:project', '', Slim\Slim::getInstance()->urlFor('testset'));
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root')),
- array('name' => $testset, 'link' => $testsetRoute . '/' . $testset . '/' . $project)
- );
- $app->render('testfunctions_duration.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'breadcrumb' => $breadcrumb,
- 'lastDays' => $ini['top_duration_last_days'],
- 'sinceDate' => $since,
- 'durationLimitSec' => $ini['testfunction_top_duration_limit_sec'],
- 'testset' => $testset,
- 'project' => $project,
- 'masterProject' => $ini['master_build_project'],
- 'masterState' => $ini['master_build_state']
- ));
- } else {
- $app->render('empty.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'message' => '404 Not Found'
- ));
- $app->response()->status(404);
- }
-})->name('durationTestfunctions');
-
-$app->get('/data/test/duration/testfunctions/:testset/:project', function($testset, $project) use($app)
-{
- $ini = Factory::conf();
- $days = intval($ini['top_duration_last_days']) - 1;
- $since = Factory::getSinceDate($days);
- $testsetTestfunctionsRoute = str_replace('/:testset/:project/:conf', '', Slim\Slim::getInstance()->urlFor('testset_testfunctions'));
- $app->render('testsets_duration_data.html', array(
- 'testsetRoute' => Slim\Slim::getInstance()->urlFor('root') . 'testset',
- 'testsetTestfunctionsRoute' => $testsetTestfunctionsRoute,
- 'lastDays' => $ini['top_duration_last_days'],
- 'sinceDate' => $since,
- 'durationLimitSec' => $ini['testfunction_top_duration_limit_sec'],
- 'list' => 'testfunctions',
- 'testset' => $testset,
- 'project' => $project,
- 'runs' => Factory::createTestfunctionRunsMaxDuration(
- $testset,
- $project,
- $ini['master_build_project'],
- $ini['master_build_state']) // managed as objects
- ));
-});
-
-/**
- * UI route: /testset/:testset/:project (GET)
- */
-
-$app->get('/testset/:testset/:project', function($testset, $project) use($app)
-{
- $testset = strip_tags($testset);
- $project = strip_tags($project);
- $dbStatus = Factory::db()->getDbRefreshStatus();
- if (Factory::checkTestset($testset)) {
- $ini = Factory::conf();
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root'))
- );
- $testsetTestfunctionsRoute = str_replace('/:testset/:project/:conf', '', Slim\Slim::getInstance()->urlFor('testset_testfunctions'));
- $testsetProjectRoute = str_replace('/:project', '', Slim\Slim::getInstance()->urlFor('testsetproject'));
- $bpassedTestsetRoute = str_replace('/:testset/:project', '', Slim\Slim::getInstance()->urlFor('bpassedtestset'));
- $bpassedtestsetTestrowsRoute = str_replace('/:testset/:project', '', Slim\Slim::getInstance()->urlFor('bpassedtestsetTestrows'));
- $durationTestfunctionsRoute = str_replace('/:testset/:project', '', Slim\Slim::getInstance()->urlFor('durationTestfunctions'));
- $app->render('testset.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'breadcrumb' => $breadcrumb,
- 'testsetTestfunctionsRoute' => $testsetTestfunctionsRoute,
- 'testsetProjectRoute' => $testsetProjectRoute,
- 'bpassedTestsetRoute' => $bpassedTestsetRoute,
- 'bpassedtestsetTestrowsRoute' => $bpassedtestsetTestrowsRoute,
- 'durationTestfunctionsRoute' => $durationTestfunctionsRoute,
- 'lastDaysFailures' => $ini['top_failures_last_days'],
- 'lastDaysFlaky' => $ini['flaky_testsets_last_days'],
- 'sinceDateFailures' => Factory::getSinceDate(intval($ini['top_failures_last_days']) - 1),
- 'sinceDateFlaky' => Factory::getSinceDate(intval($ini['flaky_testsets_last_days']) - 1),
- 'masterProject' => $ini['master_build_project'],
- 'masterState' => $ini['master_build_state'],
- 'projectRuns' => Factory::createProjectRuns(
- $ini['master_build_project'],
- $ini['master_build_state']), // managed as objects
- 'testset' => Factory::createTestset(
- $testset,
- $project,
- $ini['master_build_project'],
- $ini['master_build_state']), // managed as object
- 'testsetRuns' => Factory::createTestsetRuns(
- $testset,
- $project,
- $ini['master_build_project'],
- $ini['master_build_state']) // managed as objects
- ));
- } else {
- $app->render('empty.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'message' => '404 Not Found'
- ));
- $app->response()->status(404);
- }
-})->name('testset');
-
-/**
- * UI route: /testset/:testset/:project/:conf (GET)
- */
-
-$app->get('/testset/:testset/:project/:conf', function($testset, $project, $conf) use($app)
-{
- $testset = strip_tags($testset);
- $project = strip_tags($project);
- $conf = strip_tags($conf);
- $dbStatus = Factory::db()->getDbRefreshStatus();
- if (Factory::checkTestset($testset)) {
- $testsetRoute = str_replace('/:testset/:project', '', Slim\Slim::getInstance()->urlFor('testset'));
- $testsetProjectRoute = str_replace('/:project', '', Slim\Slim::getInstance()->urlFor('testsetproject'));
- $confProjectRoute = str_replace('/:conf/:testsetproject', '', Slim\Slim::getInstance()->urlFor('conf_testsetproject'));
- $ini = Factory::conf();
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root')),
- array('name' => 'overview', 'link' => Slim\Slim::getInstance()->urlFor('overview')),
- array('name' => $project, 'link' => $testsetProjectRoute . '/' . $project),
- array('name' => $conf, 'link' => $confProjectRoute . '/' . urlencode($conf) . '/' . $project)
- );
- $testfunctionRoute = str_replace('/:testfunction/:testset/:project/:conf', '', Slim\Slim::getInstance()->urlFor('testfunction'));
- $app->render('testset_testfunctions.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'breadcrumb' => $breadcrumb,
- 'testfunctionRoute' => $testfunctionRoute,
- 'masterProject' => $ini['master_build_project'],
- 'masterState' => $ini['master_build_state'],
- 'conf' => $conf,
- 'projectRuns' => Factory::createProjectRuns(
- $ini['master_build_project'],
- $ini['master_build_state']), // managed as objects
- 'testset' => Factory::createTestset(
- $testset,
- $project,
- $ini['master_build_project'],
- $ini['master_build_state']), // managed as object
- 'testfunctionRuns' => Factory::createTestfunctionRunsInConf(
- $testset,
- $project,
- $conf,
- $ini['master_build_project'],
- $ini['master_build_state']) // managed as objects
- ));
- } else {
- $app->render('empty.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'message' => '404 Not Found'
- ));
- $app->response()->status(404);
- }
-})->name('testset_testfunctions');
-
-/**
- * UI route: /testfunction/:testfunction/:testset/:project/:conf (GET)
- */
-
-$app->get('/testfunction/:testfunction/:testset/:project/:conf', function($testfunction, $testset, $project, $conf) use($app)
-{
- $testfunction = strip_tags($testfunction);
- $testset = strip_tags($testset);
- $project = strip_tags($project);
- $conf = strip_tags($conf);
- $dbStatus = Factory::db()->getDbRefreshStatus();
- if (Factory::checkTestset($testset)) {
- $testsetTestfunctionRoute = str_replace('/:testset/:project/:conf', '', Slim\Slim::getInstance()->urlFor('testset_testfunctions'));
- $testsetRoute = str_replace('/:testset/:project', '', Slim\Slim::getInstance()->urlFor('testset'));
- $testsetProjectRoute = str_replace('/:project', '', Slim\Slim::getInstance()->urlFor('testsetproject'));
- $confProjectRoute = str_replace('/:conf/:testsetproject', '', Slim\Slim::getInstance()->urlFor('conf_testsetproject'));
- $ini = Factory::conf();
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root')),
- array('name' => 'overview', 'link' => Slim\Slim::getInstance()->urlFor('overview')),
- array('name' => $project, 'link' => $testsetProjectRoute . '/' . $project),
- array('name' => $conf, 'link' => $confProjectRoute . '/' . urlencode($conf) . '/' . $project),
- array('name' => $testset, 'link' => $testsetTestfunctionRoute . '/' . $testset . '/' . $project . '/' . urlencode($conf))
- );
- $app->render('testfunction.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'refreshed' => $dbStatus['refreshed'] . ' (GMT)',
- 'breadcrumb' => $breadcrumb,
- 'masterProject' => $ini['master_build_project'],
- 'masterState' => $ini['master_build_state'],
- 'conf' => $conf,
- 'testset' => $testset,
- 'testfunction' => $testfunction,
- 'projectRuns' => Factory::createProjectRuns(
- $ini['master_build_project'],
- $ini['master_build_state']), // managed as objects
- 'testrowRuns' => Factory::createTestrowRunsInConf(
- $testfunction,
- $testset,
- $project,
- $conf,
- $ini['master_build_project'],
- $ini['master_build_state']) // managed as objects
- ));
- } else {
- $app->render('empty.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'message' => '404 Not Found'
- ));
- $app->response()->status(404);
- }
-})->name('testfunction');
-
-/**
- * UI route: /sitemap (GET)
- */
-
-$app->get('/sitemap', function() use($app)
-{
- $dbStatus = Factory::db()->getDbRefreshStatus();
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root'))
- );
- $app->render('image.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'breadcrumb' => $breadcrumb,
- 'title' => 'Site Map',
- 'navi_title' => 'site map',
- 'image' => 'images/site_map.png'
- ));
-})->name('sitemap');
-
-/**
- * UI route: /admin (GET) - authenticated
- */
-
-$app->add(new HttpBasicAuthRoute('Protected Area', 'admin'));
-$app->get('/admin', function() use($app)
-{
- $dbStatus = Factory::db()->getDbRefreshStatus();
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root'))
- );
- $app->render('admin.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'breadcrumb' => $breadcrumb,
- 'adminRoute' => Slim\Slim::getInstance()->urlFor('admin'),
- 'adminBranchesRoute' => Slim\Slim::getInstance()->urlFor('admin_branches'),
- 'adminDataRoute' => Slim\Slim::getInstance()->urlFor('admin_data'),
- 'tables' => Factory::dbAdmin()->getTablesStatistics()
- ));
-})->name('admin');
-
-/**
- * UI route: /admin/branches (GET) - authenticated
- */
-
-$app->add(new HttpBasicAuthRoute('Protected Area', 'admin/branches'));
-$app->get('/admin/branches', function() use($app)
-{
- $dbStatus = Factory::db()->getDbRefreshStatus();
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root')),
- array('name' => 'admin', 'link' => Slim\Slim::getInstance()->urlFor('admin'))
- );
- $app->render('admin_branches.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'breadcrumb' => $breadcrumb,
- 'adminRoute' => Slim\Slim::getInstance()->urlFor('admin'),
- 'adminBranchesRoute' => Slim\Slim::getInstance()->urlFor('admin_branches'),
- 'adminDataRoute' => Slim\Slim::getInstance()->urlFor('admin_data'),
- 'branches' => Factory::dbAdmin()->getBranchesStatistics()
- ));
-})->name('admin_branches');
-
-/**
- * UI route: /admin/data (GET) - authenticated
- */
-
-$app->add(new HttpBasicAuthRoute('Protected Area', 'admin/data'));
-$app->get('/admin/data', function() use($app)
-{
- $dbStatus = Factory::db()->getDbRefreshStatus();
- $breadcrumb = array(
- array('name' => 'home', 'link' => Slim\Slim::getInstance()->urlFor('root')),
- array('name' => 'admin', 'link' => Slim\Slim::getInstance()->urlFor('admin'))
- );
- $app->render('admin_data.html', array(
- 'root' => Slim\Slim::getInstance()->urlFor('root'),
- 'dbStatus' => $dbStatus,
- 'breadcrumb' => $breadcrumb,
- 'adminRoute' => Slim\Slim::getInstance()->urlFor('admin'),
- 'adminBranchesRoute' => Slim\Slim::getInstance()->urlFor('admin_branches'),
- 'adminDataRoute' => Slim\Slim::getInstance()->urlFor('admin_data'),
- 'projectRuns' => Factory::dbAdmin()->getProjectRunsStatistics()
- ));
-})->name('admin_data');
-
-/**
- * API route: /api/branch (DELETE) - authenticated
- */
-
-$app->add(new HttpBasicAuthRoute('Protected Area', 'api/branch'));
-$app->delete('/api/branch/:branch', function($branch) use($app)
-{
- $branch = strip_tags($branch);
- $branches = array();
- $query = Factory::db()->getBranches();
- foreach($query as $item) {
- $branches[] = $item['name'];
- }
- if (in_array($branch, $branches)) {
- $result = Factory::dbAdmin()->deleteBranch($branch);
- if ($result)
- $app->response()->status(200);
- else
- $app->response()->status(404);
- } else {
- $app->response()->status(404);
- }
-})->name('delete_branch');
-
-/**
- * API route: /api/branch/archive (PUT) - authenticated
- */
-
-$app->add(new HttpBasicAuthRoute('Protected Area', 'api/branch/archive'));
-$app->put('/api/branch/archive/:branch', function($branch) use($app)
-{
- $branch = strip_tags($branch);
- $branches = array();
- $query = Factory::db()->getBranches();
- foreach($query as $item) {
- $branches[] = $item['name'];
- }
- if (in_array($branch, $branches)) {
- $result = Factory::dbAdmin()->archiveBranch($branch);
- if ($result)
- $app->response()->status(200);
- else
- $app->response()->status(404);
- } else {
- $app->response()->status(404);
- }
-})->name('archive_branch');
-
-/**
- * API route: /api/branch/restore (PUT) - authenticated
- */
-
-$app->add(new HttpBasicAuthRoute('Protected Area', 'api/branch/restore'));
-$app->put('/api/branch/restore/:branch', function($branch) use($app)
-{
- $branch = strip_tags($branch);
- $branches = array();
- $query = Factory::db()->getBranches();
- foreach($query as $item) {
- $branches[] = $item['name'];
- }
- if (in_array($branch, $branches)) {
- $result = Factory::dbAdmin()->restoreBranch($branch);
- if ($result)
- $app->response()->status(200);
- else
- $app->response()->status(404);
- } else {
- $app->response()->status(404);
- }
-})->name('restore_branch');
-
-/**
- * API route: /api/data (DELETE) - authenticated
- */
-
-$app->add(new HttpBasicAuthRoute('Protected Area', 'api/data'));
-$app->delete('/api/data/:state/:date', function($state, $date) use($app)
-{
- $state = strip_tags($state);
- $date = strip_tags($date);
- $result = Factory::dbAdmin()->deleteRunsData($state, $date);
- if ($result)
- $app->response()->status(200);
- else
- $app->response()->status(404);
-})->name('delete_data');
-
-
-/**
- * Start Slim
- */
-
-$app->run();
-
-
-/**
- * Handle the project name input selection on home page and redirect to testset project page
- */
-
-if (isset($_POST["projectInputSubmit"])) {
- if (empty($_POST["projectInputValue"])) {
- header('Location: ' . Slim\Slim::getInstance()->urlFor('root'));
- exit();
- }
- if (isset($_POST["projectInputValue"])) {
- $project = htmlspecialchars($_POST['projectInputValue']);
- header('Location: ' . Slim\Slim::getInstance()->urlFor('root') . 'testsetproject/' . urlencode($project));
- exit();
- }
-}
-
-/**
- * Handle the testset name input selection on home page and redirect to testset page
- */
-
-if (isset($_POST["testsetInputSubmit"])) {
- if (empty($_POST["testsetInputValue"])) {
- header('Location: ' . Slim\Slim::getInstance()->urlFor('root'));
- exit();
- }
- if (isset($_POST["testsetInputValue"])) {
- $string = explode(' (in ', htmlspecialchars($_POST['testsetInputValue'])); // the separator must match with that used in testset_search.php
- $testset = $string[0];
- $project = str_replace(')', '', $string[1]);
- header('Location: ' . Slim\Slim::getInstance()->urlFor('root') . 'testset/' . urlencode($testset) . '/' . urlencode($project));
- exit();
- }
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/lib/Bootstrap b/non-puppet/qtmetrics2/lib/Bootstrap
deleted file mode 160000
-Subproject a10eb60bc0b07b747fa0c4ebd8821eb7307bd07
diff --git a/non-puppet/qtmetrics2/lib/D3 b/non-puppet/qtmetrics2/lib/D3
deleted file mode 160000
-Subproject a40a611d6b9fc4ff3815ca830d86b6c00d13099
diff --git a/non-puppet/qtmetrics2/lib/Slim b/non-puppet/qtmetrics2/lib/Slim
deleted file mode 160000
-Subproject 20a02782f76830b67ae56a5c08eb1f563c351a3
diff --git a/non-puppet/qtmetrics2/lib/SlimViews b/non-puppet/qtmetrics2/lib/SlimViews
deleted file mode 160000
-Subproject 8561c785e55a39df6cb6f95c3aba3281a60ed5b
diff --git a/non-puppet/qtmetrics2/lib/Twig b/non-puppet/qtmetrics2/lib/Twig
deleted file mode 160000
-Subproject e8e6575abf6102af53ec283f7f14b89e304fa60
diff --git a/non-puppet/qtmetrics2/project_search.php b/non-puppet/qtmetrics2/project_search.php
deleted file mode 100644
index b66dced..0000000
--- a/non-puppet/qtmetrics2/project_search.php
+++ /dev/null
@@ -1,63 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Project autocomplete search
- * @since 30-06-2015
- * @author Juha Sippola
- */
-
-header('Content-Type: application/json');
-require 'src/Factory.php';
-
-// Get the filter and make database search
-if (isset($_GET['term'])) {
- $list = array();
- $rows = Factory::getProjectsFiltered($_GET['term']);
- foreach ($rows as $row) {
- foreach ($row as $key => $value) {
- if ($key === 'name')
- $name = $value;
- }
- $list[] = $name;
- }
- // Return list as json string
- echo json_encode($list);
-
-// Return empty string if filter not set
-} else {
- echo json_encode([]);
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/qtmetrics_example.ini b/non-puppet/qtmetrics2/qtmetrics_example.ini
deleted file mode 100644
index 4a0dd00..0000000
--- a/non-puppet/qtmetrics2/qtmetrics_example.ini
+++ /dev/null
@@ -1,86 +0,0 @@
-;#############################################################################
-;##
-;## Copyright (C) 2015 The Qt Company Ltd.
-;## Contact: http://www.qt.io/licensing/
-;##
-;## This file is part of the Quality Assurance module of the Qt Toolkit.
-;##
-;## $QT_BEGIN_LICENSE:LGPL21$
-;## Commercial License Usage
-;## Licensees holding valid commercial Qt licenses may use this file in
-;## accordance with the commercial license agreement provided with the
-;## Software or, alternatively, in accordance with the terms contained in
-;## a written agreement between you and The Qt Company. For licensing terms
-;## and conditions see http://www.qt.io/terms-conditions. For further
-;## information use the contact form at http://www.qt.io/contact-us.
-;##
-;## GNU Lesser General Public License Usage
-;## Alternatively, this file may be used under the terms of the GNU Lesser
-;## General Public License version 2.1 or version 3 as published by the Free
-;## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-;## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-;## following information to ensure the GNU Lesser General Public License
-;## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-;## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-;##
-;## As a special exception, The Qt Company gives you certain additional
-;## rights. These rights are described in The Qt Company LGPL Exception
-;## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-;##
-;## $QT_END_LICENSE$
-;##
-;#############################################################################
-
-; Qt Metrics initialization template (example)
-; @since 24-09-2015
-; @author Juha Sippola
-
-
-[Database]
-
-; Database connection data exactly like it is to be given to PDO.
-; Password not to be put in version control!
-dsn = ""
-username = ""
-password = ""
-username_admin = ""
-password_admin = ""
-
-
-[Lists]
-
-; Number of last days to be included into top failures / flaky testsets / blacklisted list
-top_failures_last_days = 7
-flaky_testsets_last_days = 7
-blacklisted_pass_last_days = 5
-
-; Number of testsets to be included into top failures / flaky testsets list
-top_failures_n = 20
-flaky_testsets_n = 50
-
-; Number of last days to be included into top duration list
-top_duration_last_days = 2
-
-; Duration limit (seconds) for top duration list (only the higher are listed)
-testset_top_duration_limit_sec = 300
-testfunction_top_duration_limit_sec = 3
-
-
-[Master_build]
-
-; Project and state of the builds where the testset results are read and shown
-master_build_project = "Qt5"
-master_build_state = "state"
-
-
-[Paths]
-
-; Logs from the Qt Continuous Integration system
-ci_log_path = "http://testresults.qt.io/ci/"
-
-
-[HttpBasicAuth]
-
-; admin credentials
-admin_username = ""
-admin_password = ""
diff --git a/non-puppet/qtmetrics2/scripts/about.js b/non-puppet/qtmetrics2/scripts/about.js
deleted file mode 100644
index 5c61bc5..0000000
--- a/non-puppet/qtmetrics2/scripts/about.js
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Show About window
- * @since 18-06-2015
- * @author Juha Sippola
- */
-
-$(function(){
- $("#about").load("templates/about.html");
-});
diff --git a/non-puppet/qtmetrics2/scripts/admin.js b/non-puppet/qtmetrics2/scripts/admin.js
deleted file mode 100644
index 589294b..0000000
--- a/non-puppet/qtmetrics2/scripts/admin.js
+++ /dev/null
@@ -1,137 +0,0 @@
-/*
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Admin functions
- * @since 17-09-2015
- * @author Juha Sippola
- */
-
-// Catch action confirmation from the modal
-$('.modal .modal-footer button').on('click', function (e) {
- var branchTag;
- var branchName;
- var removeButtonDiv;
- var archiveButtonDiv;
- var $target = $(e.target);
- $(this).closest('.modal').on('hidden.bs.modal', function (e) {
-
- // Remove branch
- if ($target[0].id.search("confirm_branch_remove") === 0) {
- branchTag = $target[0].id.substring($target[0].id.lastIndexOf('_') + 1);
- branchName = $target[0].name;
- removeButtonDiv = '#' + branchTag + 'RemoveButton';
- archiveButtonDiv = '#' + branchTag + 'ArchiveButton';
- $(removeButtonDiv).html("Removing...");
- // Send request and handle the response
- $.ajax({
- url: "api/branch/" + branchName,
- type: 'DELETE',
- success: function(result) {
- console.log(this.type + ": " + this.url + " done");
- $(removeButtonDiv).html("Removed");
- $(archiveButtonDiv).html("");
- },
- error: function (request, status, error) {
- console.log(this.type + ": " + this.url + " error (" + error + ")");
- $(removeButtonDiv).html("Error!");
- }
- });
- }
-
- // Archive branch
- if ($target[0].id.search("confirm_branch_archive") === 0) {
- branchTag = $target[0].id.substring($target[0].id.lastIndexOf('_') + 1);
- branchName = $target[0].name;
- archiveButtonDiv = '#' + branchTag + 'ArchiveButton';
- $(archiveButtonDiv).html("Archiving...");
- // Send request and handle the response
- $.ajax({
- url: "api/branch/archive/" + branchName,
- type: 'PUT',
- success: function(result) {
- console.log(this.type + ": " + this.url + " done");
- $(archiveButtonDiv).html("Archived");
- },
- error: function (request, status, error) {
- console.log(this.type + ": " + this.url + " error (" + error + ")");
- $(archiveButtonDiv).html("Error!");
- }
- });
- }
-
- // Restore branch
- if ($target[0].id.search("confirm_branch_restore") === 0) {
- branchTag = $target[0].id.substring($target[0].id.lastIndexOf('_') + 1);
- branchName = $target[0].name;
- archiveButtonDiv = '#' + branchTag + 'ArchiveButton';
- $(archiveButtonDiv).html("Restoring...");
- // Send request and handle the response
- $.ajax({
- url: "api/branch/restore/" + branchName,
- type: 'PUT',
- success: function(result) {
- console.log(this.type + ": " + this.url + " done");
- $(archiveButtonDiv).html("Restored");
- },
- error: function (request, status, error) {
- console.log(this.type + ": " + this.url + " error (" + error + ")");
- $(archiveButtonDiv).html("Error!");
- }
- });
- }
-
- // Remove data
- if ($target[0].id.search("confirm_data_remove") === 0) {
- var dataDate = $target[0].id.substring($target[0].id.lastIndexOf('_') + 1);
- var dataState = $target[0].name;
- removeButtonDiv = '#' + dataState + '-' + dataDate + 'Button';
- $(removeButtonDiv).html("Removing...");
- // Send delete request and handle the response
- $.ajax({
- url: "api/data/" + dataState + "/" + dataDate,
- type: 'DELETE',
- success: function(result) {
- console.log(this.type + ": " + this.url + " done");
- $(removeButtonDiv).html("Removed");
- },
- error: function (request, status, error) {
- console.log(this.type + ": " + this.url + " error (" + error + ")");
- $(removeButtonDiv).html("Error!");
- }
- });
- }
-
- });
-});
diff --git a/non-puppet/qtmetrics2/scripts/ajax.js b/non-puppet/qtmetrics2/scripts/ajax.js
deleted file mode 100644
index f63695e..0000000
--- a/non-puppet/qtmetrics2/scripts/ajax.js
+++ /dev/null
@@ -1,184 +0,0 @@
-/*
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Ajax route calls
- * @since 24-09-2015
- * @author Juha Sippola
- */
-
-$(function () {
-
- var div;
- var divs = [];
- var project;
- var testset;
- var url;
-
- // Get all div ids on a page to call correct routes
- $(".container-fluid").find("div").each(function(){ divs.push(this.id); });
-
- // Testset project / latest status
- if ($.inArray('testset_project_data_latest', divs) > -1) {
- project = $('#project').html();
- $.ajax({
- url: "data/testsetproject/latest/" + project,
- dataType: "html",
- cache: true
- })
- .done(function( html ) {
- console.log(this.url + " done");
- $('#testset_project_data_latest').html(html);
- });
- }
-
- // Testset project / results in branches
- if ($.inArray('testset_project_data_results', divs) > -1) {
- project = $('#project').html();
- $.ajax({
- url: "data/testsetproject/results/" + project,
- dataType: "html",
- cache: true
- })
- .done(function( html ) {
- console.log(this.url + " done");
- $('#testset_project_data_results').html(html);
- });
- }
-
- // Top testset failures
- if ($.inArray('testsets_top_data', divs) > -1) {
- $.ajax({
- url: "data/test/top",
- dataType: "html",
- cache: true
- })
- .done(function( html ) {
- console.log(this.url + " done");
- $('#testsets_top_data').html(html);
- });
- }
-
- // Flaky testsets
- if ($.inArray('flaky_testsets_data', divs) > -1) {
- $.ajax({
- url: "data/test/flaky",
- dataType: "html",
- cache: true
- })
- .done(function( html ) {
- console.log(this.url + " done");
- $('#flaky_testsets_data').html(html);
- });
- }
-
- // Top testfunction failures
- if ($.inArray('testfunctions_top_data', divs) > -1) {
- $.ajax({
- url: "data/test/top/testfunctions",
- dataType: "html",
- cache: true
- })
- .done(function( html ) {
- console.log(this.url + " done");
- $('#testfunctions_top_data').html(html);
- });
- }
-
- // Blacklisted passed testfunctions
- if ($.inArray('testfunctions_blacklisted_passed_data', divs) > -1) {
- testset = $('#testset').html();
- project = $('#project').html();
- if (testset === '') {
- url = "data/test/bpassed";
- } else {
- url = "data/test/bpassed/" + testset + "/" + project;
- }
- $.ajax({
- url: url,
- dataType: "html",
- cache: true
- })
- .done(function( html ) {
- console.log(this.url + " done");
- $('#testfunctions_blacklisted_passed_data').html(html);
- });
- }
-
- // Blacklisted passed testrows
- if ($.inArray('testrows_blacklisted_passed_data', divs) > -1) {
- testset = $('#testset').html();
- project = $('#project').html();
- url = "data/test/bpassed/testrows/" + testset + "/" + project;
- $.ajax({
- url: url,
- dataType: "html",
- cache: true
- })
- .done(function( html ) {
- console.log(this.url + " done");
- $('#testrows_blacklisted_passed_data').html(html);
- });
- }
-
- // Top testset duration
- if ($.inArray('testsets_duration', divs) > -1) {
- $.ajax({
- url: "data/test/duration/testsets",
- dataType: "html",
- cache: true
- })
- .done(function( html ) {
- console.log(this.url + " done");
- $('#testsets_duration').html(html);
- });
- }
-
- // Top testfunction duration
- if ($.inArray('testfunctions_duration', divs) > -1) {
- testset = $('#testset').html();
- project = $('#project').html();
- url = "data/test/duration/testfunctions/" + testset + "/" + project;
- $.ajax({
- url: url,
- dataType: "html",
- cache: true
- })
- .done(function( html ) {
- console.log(this.url + " done");
- $('#testfunctions_duration').html(html);
- });
- }
-
-});
diff --git a/non-puppet/qtmetrics2/scripts/ie10-viewport-bug-workaround.js b/non-puppet/qtmetrics2/scripts/ie10-viewport-bug-workaround.js
deleted file mode 100644
index 346636d..0000000
--- a/non-puppet/qtmetrics2/scripts/ie10-viewport-bug-workaround.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * IE10 viewport hack for Surface/desktop Windows 8 bug
- * Copyright 2014 Twitter, Inc.
- * Licensed under the Creative Commons Attribution 3.0 Unported License. For
- * details, see http://creativecommons.org/licenses/by/3.0/.
- */
-
-// See the Getting Started docs for more information:
-// http://getbootstrap.com/getting-started/#support-ie10-width
-
-(function () {
- 'use strict';
- if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
- var msViewportStyle = document.createElement('style')
- msViewportStyle.appendChild(
- document.createTextNode(
- '@-ms-viewport{width:auto!important}'
- )
- )
- document.querySelector('head').appendChild(msViewportStyle)
- }
-})();
diff --git a/non-puppet/qtmetrics2/scripts/loading.js b/non-puppet/qtmetrics2/scripts/loading.js
deleted file mode 100644
index 0c05568..0000000
--- a/non-puppet/qtmetrics2/scripts/loading.js
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Show loading progress bar
- * @since 08-07-2015
- * @author Juha Sippola
- */
-
-// Hide the progress bar when page loaded
-$(window).load(function() {
- $('#link_loading').hide();
-});
-
-// Show the progress bar when reloading the page (this also hides the progress bar when pressing back/forward button)
-$(window).on('beforeunload', function() {
- setTimeout(function() {
- $('#link_loading').fadeIn();
- }, 1000); // wait for 1s
-});
-
-// Show the progress bar when internal link clicked
-$(function(){
- $('a').on('click', function(e) {
- if ( $(this).attr('target') !== '_blank' && $(this).attr('href') !== "" && $(this).attr('href') !== "#") {
- setTimeout(function() {
- $('#link_loading').fadeIn();
- }, 1000); // wait for 1s
- }
- // Fallback: hide after a timeout so that never left on by accident (e.g. due to browser differences)
- setTimeout(function() {
- $('#link_loading').fadeOut();
- }, 10000); // wait for 10s
- });
-});
diff --git a/non-puppet/qtmetrics2/scripts/project_autocomplete.js b/non-puppet/qtmetrics2/scripts/project_autocomplete.js
deleted file mode 100644
index 7ab9490..0000000
--- a/non-puppet/qtmetrics2/scripts/project_autocomplete.js
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Project autocomplete
- * @since 30-06-2015
- * @author Juha Sippola
- */
-
-$(function() {
- var cache = {};
- $( "#projectInput" ).autocomplete({
- minLength: 2,
-
- // get the filtered list (cached)
- source: function( request, response ) {
- var term = request.term;
- if ( term in cache ) {
- response( cache[ term ] );
- return;
- }
- $.getJSON( "project_search.php", request, function( data, status, xhr ) {
- cache[ term ] = data;
- response( data );
- });
- },
-
- // detect the case without any matches
- response: function (event, ui) {
- if (ui.content.length === 0) {
- ui.content.push({
- 'label': '(no match)',
- 'value': ''
- });
- }
- }
- })
-
- // fill the list
- .data("ui-autocomplete")._renderItem = function (ul, item) {
- if (item.value === '') {
- // 'no match' case
- return $('<li class="ui-state-disabled">'+item.label+'</li>')
- .appendTo(ul);
- } else {
- // list of matches
- return $("<li>")
- .append("<a>" + item.label + "</a>")
- .appendTo(ul);
- }
- };
-});
diff --git a/non-puppet/qtmetrics2/scripts/reload.js b/non-puppet/qtmetrics2/scripts/reload.js
deleted file mode 100644
index 1b6b353..0000000
--- a/non-puppet/qtmetrics2/scripts/reload.js
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Show About window
- * @since 15-09-2015
- * @author Juha Sippola
- */
-
-$('.reload_page').click(function(e){
- window.location.reload();
-});
diff --git a/non-puppet/qtmetrics2/scripts/speedo.js b/non-puppet/qtmetrics2/scripts/speedo.js
deleted file mode 100644
index 92b1acc..0000000
--- a/non-puppet/qtmetrics2/scripts/speedo.js
+++ /dev/null
@@ -1,157 +0,0 @@
-/*
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Speedo chart functions
- * @since 27-09-2015
- * @author Juha Sippola
- */
-
-$(function () {
-
- // Get all div ids on a page
- var divs = [];
- $(".chartSpeedo").find("div").each(function(){ divs.push(this.id); });
-
- // Draw the charts
- jQuery.each( divs, function( i, val ) {
- var percent = Math.round(($("#" + val + "Value").html()/100) * 100) / 100;
- drawSpeedo("#" + val, percent);
- });
-
-});
-
-function drawSpeedo(divId, percent) {
-
- var Needle, arc, arcEndRad, arcStartRad, barWidth, chart, chartInset,
- degToRad, el, endPadRad, height, margin, needle, numSections, padRad,
- percToDeg, percToRad, radius, sectionIndx, sectionPerc, startPadRad,
- svg, totalPercent, width, _i;
-
- console.log(divId + ": " + percent);
-
- barWidth = 30;
- numSections = 10;
- sectionPerc = 1 / numSections / 2;
- padRad = 0.05;
- chartInset = 0;
- totalPercent = 0.75;
-
- el = d3.select(divId);
-
- margin = {
- top: 90,
- right: 0,
- bottom: 0,
- left: 0
- };
-
- // width = el[0][0].offsetWidth + margin.left;
- // height = el[0][0].offsetWidth + margin.top;
- // radius = Math.min(width, height) / 2;
- width = 150;
- height = 150;
- radius = 75;
-
- percToDeg = function(perc) {
- return perc * 360;
- };
-
- percToRad = function(perc) {
- return degToRad(percToDeg(perc));
- };
-
- degToRad = function(deg) {
- return deg * Math.PI / 180;
- };
-
- svg = el.append('svg').attr('width', width + margin.left + margin.right).attr('height', height);
- chart = svg.append('g').attr('transform', "translate(" + ((width / 2) + margin.left) + ", " + margin.top + ")");
- for (sectionIndx = _i = 1; 1 <= numSections ? _i <= numSections : _i >= numSections; sectionIndx = 1 <= numSections ? ++_i : --_i) {
- arcStartRad = percToRad(totalPercent);
- arcEndRad = arcStartRad + percToRad(sectionPerc);
- totalPercent += sectionPerc;
- startPadRad = sectionIndx === 0 ? 0 : padRad / 2;
- endPadRad = sectionIndx === numSections ? 0 : padRad / 2;
- arc = d3.svg.arc().outerRadius(radius - chartInset).innerRadius(radius - chartInset - barWidth).startAngle(arcStartRad + startPadRad).endAngle(arcEndRad - endPadRad);
- chart.append('path').attr('class', "arc chart-color" + sectionIndx).attr('d', arc);
- }
-
- Needle = (function() {
-
- function Needle(len, radius) {
- this.len = len;
- this.radius = radius;
- }
-
- Needle.prototype.drawOn = function(el, perc) {
- el.append('circle').attr('class', 'needle-center').attr('cx', 0).attr('cy', 0).attr('r', this.radius);
- return el.append('path').attr('class', 'needle').attr('d', this.mkCmd(perc));
- };
-
- Needle.prototype.animateOn = function(el, perc) {
- var self;
- self = this;
- return el.transition().delay(500).ease('elastic').duration(4000).selectAll('.needle').tween('progress', function() {
- return function(percentOfPercent) {
- var progress;
- progress = percentOfPercent * perc;
- return d3.select(this).attr('d', self.mkCmd(progress));
- };
- });
- };
-
- Needle.prototype.mkCmd = function(perc) {
- var centerX, centerY, leftX, leftY, rightX, rightY, thetaRad, topX, topY;
- thetaRad = percToRad(perc / 2);
- centerX = 0;
- centerY = 0;
- topX = centerX - this.len * Math.cos(thetaRad);
- topY = centerY - this.len * Math.sin(thetaRad);
- leftX = centerX - this.radius * Math.cos(thetaRad - Math.PI / 2);
- leftY = centerY - this.radius * Math.sin(thetaRad - Math.PI / 2);
- rightX = centerX - this.radius * Math.cos(thetaRad + Math.PI / 2);
- rightY = centerY - this.radius * Math.sin(thetaRad + Math.PI / 2);
- return "M " + leftX + " " + leftY + " L " + topX + " " + topY + " L " + rightX + " " + rightY;
- };
-
- return Needle;
-
- })();
-
- needle = new Needle(85, 8);
- needle.drawOn(chart, 0);
- needle.animateOn(chart, percent);
-
-}
diff --git a/non-puppet/qtmetrics2/scripts/testset_autocomplete.js b/non-puppet/qtmetrics2/scripts/testset_autocomplete.js
deleted file mode 100644
index 6912020..0000000
--- a/non-puppet/qtmetrics2/scripts/testset_autocomplete.js
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Testset autocomplete
- * @since 05-05-2015
- * @author Juha Sippola
- */
-
-$(function() {
- var cache = {};
- $( "#testsetInput" ).autocomplete({
- minLength: 2,
-
- // get the filtered list (cached)
- source: function( request, response ) {
- var term = request.term;
- if ( term in cache ) {
- response( cache[ term ] );
- return;
- }
- $.getJSON( "testset_search.php", request, function( data, status, xhr ) {
- cache[ term ] = data;
- response( data );
- });
- },
-
- // detect the case without any matches
- response: function (event, ui) {
- if (ui.content.length === 0) {
- ui.content.push({
- 'label': '(no match)',
- 'value': ''
- });
- }
- }
- })
-
- // fill the list
- .data("ui-autocomplete")._renderItem = function (ul, item) {
- if (item.value === '') {
- // 'no match' case
- return $('<li class="ui-state-disabled">'+item.label+'</li>')
- .appendTo(ul);
- } else {
- // list of matches
- return $("<li>")
- .append("<a>" + item.label + "</a>")
- .appendTo(ul);
- }
- };
-});
diff --git a/non-puppet/qtmetrics2/scripts/tooltip.js b/non-puppet/qtmetrics2/scripts/tooltip.js
deleted file mode 100644
index 27004c2..0000000
--- a/non-puppet/qtmetrics2/scripts/tooltip.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Initialize Bootstrap tooltips
- * @since 26-06-2015
- * @author Juha Sippola
- */
-
-$(function () {
-
- // Set tooltip activation to click on touch devices (and hover on others)
- var is_touch_device = ("ontouchstart" in window) || window.DocumentTouch && document instanceof DocumentTouch;
- $(".clickOnTouch").tooltip({
- trigger: is_touch_device ? "click" : "hover"
- });
-
- // Bootstrap tooltip
- $('[data-toggle="tooltip"]').tooltip();
-
- // Hide clicked tooltip
- $('body').on('click', function (e) {
- $('[data-toggle="tooltip"]').each(function () {
- //the 'is' for element that triggered the tooltip
- if (!$(this).is(e.target) && $(this).has(e.target).length === 0) {
- $(this).tooltip('hide');
- }
- });
- });
-
-});
diff --git a/non-puppet/qtmetrics2/src/Conf.php b/non-puppet/qtmetrics2/src/Conf.php
deleted file mode 100644
index 51598fa..0000000
--- a/non-puppet/qtmetrics2/src/Conf.php
+++ /dev/null
@@ -1,127 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Configuration class
- * @since 30-09-2015
- * @author Juha Sippola
- */
-
-class Conf {
-
- /**
- * Conf status (starting from ok case and most fatal the last i.e. latter overwrites earlier)
- */
- const STATUS_EMPTY = 0;
- const STATUS_SUCCESS = 1;
- const STATUS_UNDEF = 2;
- const STATUS_ABORTED = 3;
- const STATUS_FAILURE = 4;
-
- /**
- * Configuration name.
- * @var string
- */
- private $name;
-
- /**
- * Configuration status calculated from the latest branch build results (in state builds only).
- * @var int
- */
- private $status;
-
- /**
- * Configuration constructor.
- * Configuration indicates the status in its latest runs in state builds in all branches
- * @param string $name
- */
- public function __construct($name)
- {
- $this->name = $name;
- $this->status = ConfRun::RESULT_EMPTY; // not initially set
- }
-
- /**
- * Get name of the configuration.
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Get status of the configuration calculated from the latest branch build results.
- * @return string
- */
- public function getStatus()
- {
- return $this->status;
- }
-
- /**
- * Set status of the configuration calculated from the testset results in the latest branch builds (in specified builds only).
- * @param string $runProject
- * @param string $runState
- */
- public function setStatus($runProject, $runState)
- {
- $status = self::STATUS_EMPTY;
- $statusText = ConfRun::RESULT_EMPTY;
- $builds = Factory::db()->getLatestConfBranchBuildResults( $this->name, $runProject, $runState);
- foreach ($builds as $build) {
- if ($build['result'] === ConfRun::RESULT_SUCCESS AND $status <= self::STATUS_SUCCESS) {
- $status = self::STATUS_SUCCESS;
- $statusText = ConfRun::RESULT_SUCCESS;
- }
- if ($build['result'] === ConfRun::RESULT_FAILURE AND $status <= self::STATUS_FAILURE) {
- $status = self::STATUS_FAILURE;
- $statusText = ConfRun::RESULT_FAILURE;
- }
- if ($build['result'] === ConfRun::RESULT_ABORTED AND $status <= self::STATUS_ABORTED) {
- $status = self::STATUS_ABORTED;
- $statusText = ConfRun::RESULT_ABORTED;
- }
- if ($build['result'] === ConfRun::RESULT_UNDEF AND $status <= self::STATUS_UNDEF) {
- $status = self::STATUS_UNDEF;
- $statusText = ConfRun::RESULT_UNDEF;
- }
- }
- $this->status = $statusText;
- return;
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/ConfRun.php b/non-puppet/qtmetrics2/src/ConfRun.php
deleted file mode 100644
index 513a182..0000000
--- a/non-puppet/qtmetrics2/src/ConfRun.php
+++ /dev/null
@@ -1,145 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * ConfRun class
- * @since 30-09-2015
- * @author Juha Sippola
- */
-
-class ConfRun extends ProjectRun {
-
- /**
- * Conf build results (these must follow the enumeration in the database)
- */
- const RESULT_NOT_SET = NULL;
- const RESULT_EMPTY = "";
- const RESULT_SUCCESS = "SUCCESS";
- const RESULT_FAILURE = "FAILURE";
- const RESULT_ABORTED = "ABORTED";
- const RESULT_UNDEF = "undef";
-
- /**
- * Conf name.
- * @var string
- */
- private $name;
-
- /**
- * Forcesuccess flag (true = forcesuccess on).
- * @var bool
- */
- private $forcesuccess;
-
- /**
- * Insignificance flag (true = insignificant).
- * @var bool
- */
- private $insignificant;
-
- /**
- * ConfRun constructor.
- * @param string $name
- * @param string $projectName
- * @param string $branchName
- * @param string $stateName
- * @param int $buildKey
- * @param string $result
- * @param bool $forcesuccess (true = forcesuccess on)
- * @param bool $insignificant (true = insignificant)
- * @param string $timestamp
- * @param int $duration
- */
- public function __construct($name, $projectName, $branchName, $stateName, $buildKey, $result, $forcesuccess, $insignificant, $timestamp, $duration) {
- parent::__construct($projectName, $branchName, $stateName, $buildKey, $result, $timestamp, $duration);
- $this->name = $name;
- $this->forcesuccess = $forcesuccess;
- $this->insignificant = $insignificant;
- }
-
- /**
- * Get name of the conf.
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Get forcesuccess flag.
- * @return bool (true = forcesuccess on)
- */
- public function getForcesuccess()
- {
- return $this->forcesuccess;
- }
-
- /**
- * Get insignificance flag.
- * @return bool (true = insignificant)
- */
- public function getInsignificant()
- {
- return $this->insignificant;
- }
-
- /**
- * Get build directory link.
- * @return string
- */
- public function getBuildLink()
- {
- return Factory::getCiLogPath()
- . urlencode(parent::getFullProjectName())
- . '/build_' . parent::getBuildKeyString()
- . '/' . urlencode($this->name);
- }
-
- /**
- * Get log file link.
- * @return string
- */
- public function getLogLink()
- {
- return Factory::getCiLogPath()
- . urlencode(parent::getFullProjectName())
- . '/build_' . parent::getBuildKeyString()
- . '/' . urlencode($this->name)
- . '/log.txt.gz';
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/Database.php b/non-puppet/qtmetrics2/src/Database.php
deleted file mode 100644
index e621ca8..0000000
--- a/non-puppet/qtmetrics2/src/Database.php
+++ /dev/null
@@ -1,1868 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Database class
- * @since 27-09-2015
- * @author Juha Sippola
- */
-
-class Database {
-
- /**
- * Database instance
- * @var PDO
- */
- private $db;
-
- /**
- * Database constructor
- */
- public function __construct()
- {
- $ini = Factory::conf();
- $this->db = new PDO(
- $ini['dsn'],
- $ini['username'],
- $ini['password']
- );
- }
-
- /**
- * Get list of projects
- * @return array (string name)
- */
- public function getProjects()
- {
- $result = array();
- $query = $this->db->prepare("SELECT name FROM project ORDER BY name");
- $query->execute(array());
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array('name' => $row['name']);
- }
- return $result;
- }
-
- /**
- * Get list of branches
- * @return array (string name, bool archived)
- */
- public function getBranches()
- {
- $result = array();
- $query = $this->db->prepare("SELECT name, archived FROM branch ORDER BY name DESC");
- $query->execute(array());
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'name' => $row['name'],
- 'archived' => $row['archived']
- );
- }
- return $result;
- }
-
- /**
- * Get list of states
- * @return array (string name)
- */
- public function getStates()
- {
- $result = array();
- $query = $this->db->prepare("SELECT name FROM state ORDER BY name");
- $query->execute(array());
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array('name' => $row['name']);
- }
- return $result;
- }
-
- /**
- * Get list of projects matching the filter string.
- * @param string $filter
- * @return array (string name)
- */
- public function getProjectsFiltered($filter)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT name
- FROM project
- WHERE name LIKE ?
- ORDER BY name;
- ");
- $query->execute(array(
- '%' . $filter . '%'
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'name' => $row['name']
- );
- }
- return $result;
- }
-
- /**
- * Get list of testsets.
- * @return array (int id, string name, string project)
- */
- public function getTestsets()
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT testset.id AS id, testset.name AS testset, project.name AS project
- FROM testset
- INNER JOIN project ON testset.project_id = project.id
- ORDER BY testset.name;
- ");
- $query->execute(array());
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'id' => $row['id'],
- 'name' => $row['testset'],
- 'project' => $row['project']
- );
- }
- return $result;
- }
-
- /**
- * Get list of testsets matching the filter string.
- * @param string $filter
- * @return array (string name, string project)
- */
- public function getTestsetsFiltered($filter)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT testset.name AS testset, project.name AS project
- FROM testset
- INNER JOIN project ON testset.project_id = project.id
- WHERE testset.name LIKE ?
- ORDER BY testset.name;
- ");
- $query->execute(array(
- '%' . $filter . '%'
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'name' => $row['testset'],
- 'project' => $row['project']
- );
- }
- return $result;
- }
-
- /**
- * Get the project(s) of testset
- * If several testsets found with the same name in different projects, all are listed
- * @param string $testset
- * @return array (string name, string project)
- */
- public function getTestsetProject($testset)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT testset.name AS testset, project.name AS project
- FROM testset
- INNER JOIN project ON testset.project_id = project.id
- WHERE testset.name = ?
- ORDER BY project.name;
- ");
- $query->execute(array(
- $testset
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'name' => $row['testset'],
- 'project' => $row['project']
- );
- }
- return $result;
- }
-
- /**
- * Get list of testfunctions for a testset
- * @param string $testset
- * @param string $project
- * @return array (int id, int testsetId, string name)
- */
- public function getTestfunctionsTestset($testset, $project)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT testfunction.id AS id, testfunction.testset_id AS testset_id, testfunction.name AS testset
- FROM testfunction
- WHERE testfunction.testset_id =
- (SELECT testset.id
- FROM testset INNER JOIN project ON testset.project_id = project.id
- WHERE testset.name = ? AND project.name = ?)
- ORDER BY testfunction.name;
- ");
- $query->execute(array(
- $testset,
- $project
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'id' => $row['id'],
- 'testsetId' => $row['testset_id'],
- 'name' => $row['testset']
- );
- }
- return $result;
- }
-
- /**
- * Get list of target platform os's
- * @return array (string os)
- */
- public function getTargetPlatformOs()
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT DISTINCT platform.os
- FROM conf
- INNER JOIN platform ON conf.target_id = platform.id
- ORDER BY platform.os;
- ");
- $query->execute(array());
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'os' => $row['os']
- );
- }
- return $result;
- }
-
- /**
- * Get the latest build key for given project, branch and state
- * @param string $runProject
- * @param string $runBranch
- * @param string $runState
- * @return string
- */
- public function getLatestProjectBranchBuildKey($runProject, $runBranch, $runState)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT build_key AS latest_build
- FROM project_run
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- project_id = (SELECT id FROM project WHERE name = ?) AND
- branch_id = (SELECT id FROM branch WHERE name = ?) AND
- state_id = (SELECT id FROM state WHERE name = ?) AND
- branch.archived = 0
- ORDER BY timestamp DESC
- LIMIT 1
- ");
- $query->execute(array(
- $runProject,
- $runBranch,
- $runState
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result= $row['latest_build'];
- }
- return $result;
- }
-
- /**
- * Get the latest build keys by branch for given project and state
- * @param string $runProject
- * @param string $runState
- * @return array (string name, string key)
- */
- public function getLatestProjectBranchBuildKeys($runProject, $runState)
- {
- $result = array();
-
- $branches = self::getBranches();
- foreach ($branches as $branch) {
- $key = self::getLatestProjectBranchBuildKey($runProject, $branch['name'], $runState);
- if ($key) {
- $result[] = array(
- 'name' => $branch['name'],
- 'key' => $key
- );
- }
- }
- return $result;
- }
-
- /**
- * Get the latest build result by branch for given project and state
- * @param string $runProject
- * @param string $runState
- * @return array (string name, string result, int buildKey, string timestamp, string duration)
- */
- public function getLatestProjectBranchBuildResults($runProject, $runState)
- {
- $result = array();
- $builds = self::getLatestProjectBranchBuildKeys($runProject, $runState);
- foreach ($builds as $build) {
- $query = $this->db->prepare("
- SELECT
- branch.name,
- project_run.result,
- project_run.build_key,
- project_run.timestamp,
- project_run.duration
- FROM project_run
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- project_id = (SELECT id FROM project WHERE name = ?) AND
- state_id = (SELECT id FROM state WHERE name = ?) AND
- branch_id = (SELECT id FROM branch WHERE name = ?) AND
- build_key = ? AND
- branch.archived = 0;
- ");
- $query->execute(array(
- $runProject,
- $runState,
- $build['name'],
- $build['key']
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'name' => $row['name'],
- 'result' => $row['result'],
- 'buildKey' => $row['build_key'],
- 'timestamp' => $row['timestamp'],
- 'duration' => $row['duration']
- );
- }
- }
- return $result;
- }
-
- /**
- * Get the latest configuration build result by branch for given project and state
- * @param string $conf
- * @param string $runProject
- * @param string $runState
- * @return array (string name, string result, int buildKey, string timestamp, string duration)
- */
- public function getLatestConfBranchBuildResults($conf, $runProject, $runState)
- {
- $result = array();
- $builds = self::getLatestProjectBranchBuildKeys($runProject, $runState);
- foreach ($builds as $build) {
- $query = $this->db->prepare("
- SELECT
- branch.name,
- conf_run.result,
- project_run.build_key,
- conf_run.forcesuccess,
- conf_run.insignificant,
- conf_run.timestamp,
- conf_run.duration
- FROM conf_run
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- conf.name = ? AND
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- project_run.branch_id = (SELECT id from branch WHERE name = ?) AND
- project_run.build_key = ? AND
- branch.archived = 0;
- ");
- $query->execute(array(
- $conf,
-
- $runProject,
- $runState,
- $build['name'],
- $build['key']
- ));
-
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'name' => $row['name'],
- 'result' => $row['result'],
- 'buildKey' => $row['build_key'],
- 'forcesuccess' => $row['forcesuccess'],
- 'insignificant' => $row['insignificant'],
- 'timestamp' => $row['timestamp'],
- 'duration' => $row['duration']
- );
- }
- }
- return $result;
- }
-
- /**
- * Get the latest configuration result sum by branch for given project and state
- * Similar to getLatestProjectBranchTestsetResultsSum but for configurations.
- * @param string $runProject
- * @param string $runState
- * @return array (string branch, int buildKey, string timestamp, int passed, int failed, int aborted, int undef)
- */
- public function getLatestConfBranchBuildResultsSum($runProject, $runState)
- {
- $result = array();
- $builds = self::getLatestProjectBranchBuildKeys($runProject, $runState);
- foreach ($builds as $build) {
- $query = $this->db->prepare("
- SELECT
- branch.name AS branch,
- project_run.build_key,
- project_run.timestamp,
- COUNT(CASE WHEN conf_run.result = 'SUCCESS' THEN conf_run.result END) AS passed,
- COUNT(CASE WHEN conf_run.result = 'FAILURE' THEN conf_run.result END) AS failed,
- COUNT(CASE WHEN conf_run.result = 'ABORTED' THEN conf_run.result END) AS aborted,
- COUNT(CASE WHEN conf_run.result = 'undef' THEN conf_run.result END) AS undef
- FROM conf_run
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- project_run.branch_id = (SELECT id from branch WHERE name = ?) AND
- project_run.build_key = ? AND
- branch.archived = 0;
- ");
- $query->execute(array(
- $runProject,
- $runState,
- $build['name'],
- $build['key']
- ));
-
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'branch' => $row['branch'],
- 'buildKey' => $row['build_key'],
- 'timestamp' => $row['timestamp'],
- 'passed' => $row['passed'],
- 'failed' => $row['failed'],
- 'aborted' => $row['aborted'],
- 'undef' => $row['undef']
- );
- }
- }
- return $result;
- }
-
- /**
- * Get the latest testset result by branch for given project and state
- * @param string $runProject
- * @param string $runState
- * @return array (string project, string branch, int buildKey, string timestamp, int passed, int failed)
- */
- public function getLatestProjectBranchTestsetResults($runProject, $runState)
- {
- $result = array();
- $builds = self::getLatestProjectBranchBuildKeys($runProject, $runState);
- foreach ($builds as $build) {
- $query = $this->db->prepare("
- SELECT
- project.name AS project,
- branch.name AS branch,
- project_run.build_key,
- project_run.timestamp,
- COUNT(CASE WHEN testset_run.result LIKE '%passed' THEN testset_run.result END) AS passed,
- COUNT(CASE WHEN testset_run.result LIKE '%failed' THEN testset_run.result END) AS failed
- FROM testset_run
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- project_run.branch_id = (SELECT id from branch WHERE name = ?) AND
- project_run.build_key = ? AND
- branch.archived = 0
- GROUP BY project.name;
- ");
- $query->execute(array(
- $runProject,
- $runState,
- $build['name'],
- $build['key']
- ));
-
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'project' => $row['project'],
- 'branch' => $row['branch'],
- 'buildKey' => $row['build_key'],
- 'timestamp' => $row['timestamp'],
- 'passed' => $row['passed'],
- 'failed' => $row['failed']
- );
- }
- }
- return $result;
- }
-
- /**
- * Get the latest testset result sum by branch for given project and state
- * Similar to getLatestProjectBranchTestsetResults but without testset project grouping.
- * @param string $runProject
- * @param string $runState
- * @return array (string branch, int buildKey, string timestamp, int passed, int failed)
- */
- public function getLatestProjectBranchTestsetResultsSum($runProject, $runState)
- {
- $result = array();
- $builds = self::getLatestProjectBranchBuildKeys($runProject, $runState);
- foreach ($builds as $build) {
- $query = $this->db->prepare("
- SELECT
- branch.name AS branch,
- project_run.build_key,
- project_run.timestamp,
- COUNT(CASE WHEN testset_run.result LIKE '%passed' THEN testset_run.result END) AS passed,
- COUNT(CASE WHEN testset_run.result LIKE '%failed' THEN testset_run.result END) AS failed
- FROM testset_run
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- project_run.branch_id = (SELECT id from branch WHERE name = ?) AND
- project_run.build_key = ? AND
- branch.archived = 0;
- ");
- $query->execute(array(
- $runProject,
- $runState,
- $build['name'],
- $build['key']
- ));
-
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'branch' => $row['branch'],
- 'buildKey' => $row['build_key'],
- 'timestamp' => $row['timestamp'],
- 'passed' => $row['passed'],
- 'failed' => $row['failed']
- );
- }
- }
- return $result;
- }
-
- /**
- * Get the latest testset result by branch for given project and state, for selected testset project.
- * Similar to getLatestProjectBranchTestsetResults but listing only the selected testset project.
- * @param string $testsetProject
- * @param string $runProject
- * @param string $runState
- * @return array (string project, string branch, int buildKey, string timestamp, int passed, int failed)
- */
- public function getLatestTestsetProjectBranchTestsetResults($testsetProject, $runProject, $runState)
- {
- $result = array();
- $builds = self::getLatestProjectBranchBuildKeys($runProject, $runState);
- foreach ($builds as $build) {
- $query = $this->db->prepare("
- SELECT
- project.name AS project,
- branch.name AS branch,
- project_run.build_key,
- project_run.timestamp,
- COUNT(CASE WHEN testset_run.result LIKE '%passed' THEN testset_run.result END) AS passed,
- COUNT(CASE WHEN testset_run.result LIKE '%failed' THEN testset_run.result END) AS failed
- FROM testset_run
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- project.name = ? AND
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- project_run.branch_id = (SELECT id from branch WHERE name = ?) AND
- project_run.build_key = ? AND
- branch.archived = 0
- GROUP BY project.name;
- ");
- $query->execute(array(
- $testsetProject,
- $runProject,
- $runState,
- $build['name'],
- $build['key']
- ));
-
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'project' => $row['project'],
- 'branch' => $row['branch'],
- 'buildKey' => $row['build_key'],
- 'timestamp' => $row['timestamp'],
- 'passed' => $row['passed'],
- 'failed' => $row['failed']
- );
- }
- }
- return $result;
- }
-
- /**
- * Get the latest build result by configuration and branch for given project and state
- * @param string $testset
- * @param string $testsetProject
- * @param string $runProject
- * @param string $runState
- * @return array (string name, string branch, string result)
- */
- public function getLatestTestsetConfBuildResults($testset, $testsetProject, $runProject, $runState)
- {
- $result = array();
- $builds = self::getLatestProjectBranchBuildKeys($runProject, $runState);
- foreach ($builds as $build) {
- $query = $this->db->prepare("
- SELECT
- conf.name AS conf,
- branch.name AS branch,
- testset_run.result
- FROM testset_run
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- testset_run.testset_id = (SELECT testset.id FROM testset INNER JOIN project ON testset.project_id = project.id WHERE testset.name = ? AND project.name = ?) AND
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- project_run.branch_id = (SELECT id from branch WHERE name = ?) AND
- project_run.build_key = ? AND
- branch.archived = 0;
- ");
- $query->execute(array(
- $testset,
-
- $testsetProject,
- $runProject,
- $runState,
- $build['name'],
- $build['key']
- ));
-
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'name' => $row['conf'],
- 'branch' => $row['branch'],
- 'result' => $row['result']
- );
- }
- }
- return $result;
- }
-
- /**
- * Get counts of all passed and failed runs by testset in specified builds since specified date (list length limited)
- * Only the testsets that have failed since the specified date are listed
- * @param string $runProject
- * @param string $runState
- * @param string $date
- * @param int $limit
- * @return array (string name, string project, int passed, int failed)
- */
- public function getTestsetsResultCounts($runProject, $runState, $date, $limit)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- testset.name AS testset,
- project.name AS project,
- COUNT(CASE WHEN testset_run.result LIKE '%passed' THEN testset_run.result END) AS passed,
- COUNT(CASE WHEN testset_run.result LIKE '%failed' THEN testset_run.result END) AS failed
- FROM testset_run
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- INNER JOIN state ON project_run.state_id = state.id
- WHERE
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- project_run.timestamp >= ? AND
- branch.archived = 0
- GROUP BY testset.name
- ORDER BY failed DESC, testset.name ASC
- LIMIT ?;
- ");
- $query->bindParam(1, $runProject);
- $query->bindParam(2, $runState);
- $query->bindParam(3, $date);
- $query->bindParam(4, $limit, PDO::PARAM_INT); // int data type must be separately set
- $query->execute();
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- if ($row['failed'] > 0) { // return only those where failures identified
- $result[] = array(
- 'name' => $row['testset'],
- 'project' => $row['project'],
- 'passed' => $row['passed'],
- 'failed' => $row['failed']
- );
- }
- }
- return $result;
- }
-
- /**
- * Get counts of all passed and failed runs for a testset in specified builds since specified date
- * @param string $testset
- * @param string $testsetProject
- * @param string $runProject
- * @param string $runState
- * @param string $date
- * @return array (string name, string project, int passed, int failed)
- */
- public function getTestsetResultCounts($testset, $testsetProject, $runProject, $runState, $date)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- testset.name AS testset,
- project.name AS project,
- COUNT(CASE WHEN testset_run.result LIKE '%passed' THEN testset_run.result END) AS passed,
- COUNT(CASE WHEN testset_run.result LIKE '%failed' THEN testset_run.result END) AS failed
- FROM testset_run
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- INNER JOIN state ON project_run.state_id = state.id
- WHERE
- project.name = ? AND
- testset.name = ? AND
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- project_run.timestamp >= ? AND
- branch.archived = 0
- GROUP BY testset.name
- ORDER BY project.name;
- ");
- $query->execute(array(
- $testsetProject,
- $testset,
- $runProject,
- $runState,
- $date
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'name' => $row['testset'],
- 'project' => $row['project'],
- 'passed' => $row['passed'],
- 'failed' => $row['failed']
- );
- }
- return $result;
- }
-
- /**
- * Get counts of flaky runs by testset since specified date (list length limited)
- * Only the testsets that are flaky since the specified date are listed
- * Scope is all builds (state and any)
- * @param string $date
- * @param int $limit
- * @return array (string name, string project, int flaky, int total)
- */
- public function getTestsetsFlakyCounts($date, $limit)
- {
- $result = array();
- // Get all flaky test runs
- $query = $this->db->prepare("
- SELECT
- testset.name AS testset,
- project.name AS project
- FROM testset_run
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- project_run.timestamp >= ? AND
- testset_run.run > 1 AND
- testset_run.result LIKE '%passed' AND
- branch.archived = 0
- ORDER BY project.name, testset.name;
- ");
- $query->execute(array(
- $date
- ));
- // Calculate flaky count per testset (calculated here instead of in the query above for performance reasons)
- $testset = '';
- $testsets = array();
- $projects = array();
- $counts = array();
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- if ($testset === '') { // Initialize
- $key = 0;
- $flaky = 0;
- $testset = $row['testset'];
- $project = $row['project'];
- }
- if ($row['testset'] !== $testset OR $row['project'] !== $project) { // New testset
- $key++;
- $flaky = 0;
- $testset = $row['testset'];
- $project = $row['project'];
- }
- $flaky++;
- $testsets[$key] = $row['testset'];
- $projects[$key] = $row['project'];
- $counts[$key] = $flaky;
- }
- // List top n flaky testsets
- arsort($counts);
- $i = 0;
- foreach ($counts as $key => $value) {
- $data = self::getTestsetFlakyCounts($testsets[$key], $projects[$key], $date);
- foreach($data as $row) {
- $total = $row['total'];
- }
- $result[] = array(
- 'name' => $testsets[$key],
- 'project' => $projects[$key],
- 'flaky' => $value,
- 'total' => $total
- );
- $i++;
- if ($i >= $limit)
- break;
- }
- return $result;
- }
-
- /**
- * Get counts of flaky runs for a testset since specified date
- * Scope is all builds (state and any)
- * @param string $testset
- * @param string $testsetProject
- * @param string $date
- * @return array (string name, string project, int flaky, int total)
- */
- public function getTestsetFlakyCounts($testset, $testsetProject, $date)
- {
- $result = array();
- $query = $this->db->prepare('
- SELECT
- testset.name AS testset,
- project.name AS project,
- COUNT(CASE WHEN testset_run.run > 1 AND (testset_run.result = "passed" OR testset_run.result = "ipassed") THEN testset_run.run END) AS flaky,
- COUNT(testset_run.id) AS total
- FROM testset_run
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- project.name = ? AND
- testset.name = ? AND
- project_run.timestamp >= ? AND
- branch.archived = 0
- GROUP BY testset.name
- ORDER BY project.name;
- ');
- $query->execute(array(
- $testsetProject,
- $testset,
- $date
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'name' => $row['testset'],
- 'project' => $row['project'],
- 'flaky' => $row['flaky'],
- 'total' => $row['total']
- );
- }
- return $result;
- }
-
- /**
- * Get the longest testset run duration in specified builds since specified date
- * @param string $runProject
- * @param string $runState
- * @param string $date
- * @param string $durationLimitSec
- * @return array (string testset, string project, string branch, string conf, int buildKey, string timestamp, string result, int duration)
- */
- public function getTestsetMaxDuration($testsetId, $runProject, $runState, $date, $durationLimitSec)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- testset.name AS testset,
- project.name AS project,
- branch.name AS branch,
- conf.name AS conf,
- project_run.build_key,
- project_run.timestamp,
- testset_run.result,
- testset_run.duration
- FROM testset_run
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- INNER JOIN state ON project_run.state_id = state.id
- WHERE
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- project_run.timestamp >= ? AND
- testset_run.testset_id = ? AND
- testset_run.duration >= ?
- ORDER BY testset_run.duration DESC
- LIMIT 1;
- ");
- $durationLimitDsec = $durationLimitSec * 10; // duration is in deciseconds in the database
- $query->bindParam(1, $runProject);
- $query->bindParam(2, $runState);
- $query->bindParam(3, $date);
- $query->bindParam(4, $testsetId, PDO::PARAM_INT); // int data type must be separately set
- $query->bindParam(5, $durationLimitDsec, PDO::PARAM_INT);
- $query->execute();
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'testset' => $row['testset'],
- 'project' => $row['project'],
- 'branch' => $row['branch'],
- 'conf' => $row['conf'],
- 'buildKey' => $row['build_key'],
- 'timestamp' => $row['timestamp'],
- 'result' => $row['result'],
- 'duration' => round($row['duration']/10, 1) // convert deciseconds to seconds
- );
- }
- return $result;
- }
-
- /**
- * Get the longest testfunction run duration in specified builds since specified date
- * @param string $runProject
- * @param string $runState
- * @param string $date
- * @param string $durationLimitSec
- * @return array (string testfunction, string testset, string project, string branch, string conf, int buildKey, string timestamp, string result, int duration)
- */
- public function getTestfunctionMaxDuration($testfunctionId, $testsetId, $runProject, $runState, $date, $durationLimitSec)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- testfunction.name AS testfunction,
- testset.name AS testset,
- project.name AS project,
- branch.name AS branch,
- conf.name AS conf,
- project_run.build_key,
- project_run.timestamp,
- testfunction_run.result,
- testfunction_run.duration
- FROM testfunction_run
- INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id
- INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- INNER JOIN state ON project_run.state_id = state.id
- WHERE
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- project_run.timestamp >= ? AND
- testset_run.testset_id = ? AND
- testfunction_run.testfunction_id = ? AND
- testfunction_run.duration >= ?
- ORDER BY testfunction_run.duration DESC
- LIMIT 1;
- ");
- $durationLimitDsec = $durationLimitSec * 10; // duration is in deciseconds in the database
- $query->bindParam(1, $runProject);
- $query->bindParam(2, $runState);
- $query->bindParam(3, $date);
- $query->bindParam(4, $testsetId, PDO::PARAM_INT); // int data type must be separately set
- $query->bindParam(5, $testfunctionId, PDO::PARAM_INT); // int data type must be separately set
- $query->bindParam(6, $durationLimitDsec, PDO::PARAM_INT);
- $query->execute();
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'testfunction' => $row['testfunction'],
- 'testset' => $row['testset'],
- 'project' => $row['project'],
- 'branch' => $row['branch'],
- 'conf' => $row['conf'],
- 'buildKey' => $row['build_key'],
- 'timestamp' => $row['timestamp'],
- 'result' => $row['result'],
- 'duration' => round($row['duration']/10, 1) // convert deciseconds to seconds
- );
- }
- return $result;
- }
-
- /**
- * Get counts of all passed, failed and skipped runs by testfunction in specified builds since specified date (list length limited)
- * Only the testfunctions that have failed since the specified date are listed
- * @param string $runProject
- * @param string $runState
- * @param string $date
- * @param int $limit
- * @return array (string name, string testset, string project, int passed, int failed, int skipped)
- */
- public function getTestfunctionsResultCounts($runProject, $runState, $date, $limit)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- testfunction.name AS testfunction,
- testset.name AS testset,
- project.name AS project,
- COUNT(CASE WHEN testfunction_run.result IN ('pass', 'xfail', 'bpass', 'bxfail', 'tr_pass') THEN testfunction_run.result END) AS passed,
- COUNT(CASE WHEN testfunction_run.result IN ('fail', 'xpass', 'bfail', 'bxpass', 'tr_fail') THEN testfunction_run.result END) AS failed,
- COUNT(CASE WHEN testfunction_run.result LIKE '%skip' THEN testfunction_run.result END) AS skipped
- FROM testfunction_run
- INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id
- INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- INNER JOIN state ON project_run.state_id = state.id
- WHERE
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- project_run.timestamp >= ? AND
- branch.archived = 0
- GROUP BY testfunction.name, testset.name
- ORDER BY failed DESC, testfunction.name ASC
- LIMIT ?;
- ");
- $query->bindParam(1, $runProject);
- $query->bindParam(2, $runState);
- $query->bindParam(3, $date);
- $query->bindParam(4, $limit, PDO::PARAM_INT); // int data type must be separately set
- $query->execute();
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- if ($row['failed'] > 0) { // return only those where failures identified
- $result[] = array(
- 'name' => $row['testfunction'],
- 'testset' => $row['testset'],
- 'project' => $row['project'],
- 'passed' => $row['passed'],
- 'failed' => $row['failed'],
- 'skipped' => $row['skipped']
- );
- }
- }
- return $result;
- }
-
- /**
- * Get counts of blacklisted passed testfunctions in specified builds since specified date
- * Only the testfunctions that are blacklisted, are only passed and have been run since the specified date are listed
- * @param string $runProject
- * @param string $runState
- * @param string $date
- * @return array (string name, string testset, string project, string conf, int bpassed, int btotal)
- */
- public function getTestfunctionsBlacklistedPassedCounts($runProject, $runState, $date)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- testfunction.name AS testfunction,
- testset.name AS testset,
- project.name AS project,
- conf.name AS conf,
- COUNT(CASE WHEN testfunction_run.result IN ('bpass', 'bxfail') THEN testfunction_run.result END) AS bpassed,
- COUNT(CASE WHEN testfunction_run.result LIKE '%' THEN testfunction_run.result END) AS btotal
- FROM testfunction_run
- INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id
- INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- INNER JOIN state ON project_run.state_id = state.id
- WHERE
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- project_run.timestamp >= ? AND
- branch.archived = 0
- GROUP BY testfunction.name, testset.name, project.name, conf.name
- ORDER BY project.name, testset.name, testfunction.name, conf.name;
- ");
- $query->bindParam(1, $runProject);
- $query->bindParam(2, $runState);
- $query->bindParam(3, $date);
- $query->execute();
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- if ($row['bpassed'] === $row['btotal']) { // return only those where only bpasses
- $result[] = array(
- 'name' => $row['testfunction'],
- 'testset' => $row['testset'],
- 'project' => $row['project'],
- 'conf' => $row['conf'],
- 'bpassed' => $row['bpassed'],
- 'btotal' => $row['btotal']
- );
- }
- }
- return $result;
- }
-
- /**
- * Get counts of blacklisted passed testfunctions for a testset in specified builds since specified date
- * Only the testfunctions that are blacklisted, are only passed and have been run since the specified date are listed
- * @param string $testset
- * @param string $project
- * @param string $runProject
- * @param string $runState
- * @param string $date
- * @return array (string name, string testset, string project, string conf, int bpassed, int btotal)
- */
- public function getTestfunctionsBlacklistedPassedCountsTestset($testset, $project, $runProject, $runState, $date)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- testfunction.name AS testfunction,
- testset.name AS testset,
- project.name AS project,
- conf.name AS conf,
- COUNT(CASE WHEN testfunction_run.result IN ('bpass', 'bxfail') THEN testfunction_run.result END) AS bpassed,
- COUNT(CASE WHEN testfunction_run.result LIKE '%' THEN testfunction_run.result END) AS btotal
- FROM testfunction_run
- INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id
- INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- INNER JOIN state ON project_run.state_id = state.id
- WHERE
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- testset.name = ? AND
- project.name = ? AND
- project_run.timestamp >= ? AND
- branch.archived = 0
- GROUP BY testfunction.name, testset.name, project.name, conf.name
- ORDER BY project.name, testset.name, testfunction.name, conf.name;
- ");
- $query->bindParam(1, $runProject);
- $query->bindParam(2, $runState);
- $query->bindParam(3, $testset);
- $query->bindParam(4, $project);
- $query->bindParam(5, $date);
- $query->execute();
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- if ($row['bpassed'] === $row['btotal']) { // return only those where only bpasses
- $result[] = array(
- 'name' => $row['testfunction'],
- 'testset' => $row['testset'],
- 'project' => $row['project'],
- 'conf' => $row['conf'],
- 'bpassed' => $row['bpassed'],
- 'btotal' => $row['btotal']
- );
- }
- }
- return $result;
- }
-
- /**
- * Get counts of blacklisted passed testrows for a testset in specified builds since specified date
- * Only the testfunctions that are blacklisted, are only passed and have been run since the specified date are listed
- * @param string $testset
- * @param string $project
- * @param string $runProject
- * @param string $runState
- * @param string $date
- * @return array (string name, string testfunction, string testset, string project, string conf, int bpassed, int btotal)
- */
- public function getTestrowsBlacklistedPassedCountsTestset($testset, $project, $runProject, $runState, $date)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- testrow.name AS testrow,
- testfunction.name AS testfunction,
- testset.name AS testset,
- project.name AS project,
- conf.name AS conf,
- COUNT(CASE WHEN testrow_run.result IN ('bpass', 'bxfail') THEN testrow_run.result END) AS bpassed,
- COUNT(CASE WHEN testrow_run.result LIKE '%' THEN testrow_run.result END) AS btotal
- FROM testrow_run
- INNER JOIN testrow ON testrow_run.testrow_id = testrow.id
- INNER JOIN testfunction_run ON testrow_run.testfunction_run_id = testfunction_run.id
- INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id
- INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- INNER JOIN state ON project_run.state_id = state.id
- WHERE
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- testset.name = ? AND
- project.name = ? AND
- project_run.timestamp >= ? AND
- branch.archived = 0
- GROUP BY testrow.name, testfunction.name, testset.name, project.name, conf.name
- ORDER BY project.name, testset.name, testfunction.name, testrow.name, conf.name;
- ");
- $query->bindParam(1, $runProject);
- $query->bindParam(2, $runState);
- $query->bindParam(3, $testset);
- $query->bindParam(4, $project);
- $query->bindParam(5, $date);
- $query->execute();
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- if ($row['bpassed'] === $row['btotal']) { // return only those where only bpasses
- $result[] = array(
- 'name' => $row['testrow'],
- 'testfunction' => $row['testfunction'],
- 'testset' => $row['testset'],
- 'project' => $row['project'],
- 'conf' => $row['conf'],
- 'bpassed' => $row['bpassed'],
- 'btotal' => $row['btotal']
- );
- }
- }
- return $result;
- }
-
- /**
- * Get project run data by branch
- * @param string $runProject
- * @param string $runState
- * @return array (string branch, int buildKey, string timestamp)
- */
- public function getProjectBuildsByBranch($runProject, $runState)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- branch.name AS branch,
- project_run.build_key,
- project_run.timestamp
- FROM project_run
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- branch.archived = 0
- ORDER BY branch.name DESC, project_run.timestamp DESC;
- ");
- $query->execute(array(
- $runProject,
- $runState
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'branch' => $row['branch'],
- 'buildKey' => $row['build_key'],
- 'timestamp' => $row['timestamp']
- );
- }
- return $result;
- }
-
- /**
- * Get conf run data by branch
- * @param string $runProject
- * @param string $runState
- * @return array (string branch, string conf, int buildKey, bool forcesuccess, bool insignificant, string result, string timestamp, string duration)
- */
- public function getConfBuildsByBranch($runProject, $runState)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- branch.name AS branch,
- conf.name AS conf,
- project_run.build_key,
- conf_run.forcesuccess,
- conf_run.insignificant,
- conf_run.result,
- conf_run.timestamp,
- conf_run.duration
- FROM conf_run
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- branch.archived = 0
- ORDER BY branch.name DESC, conf, project_run.timestamp DESC;
- ");
- $query->execute(array(
- $runProject,
- $runState
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'branch' => $row['branch'],
- 'conf' => $row['conf'],
- 'buildKey' => $row['build_key'],
- 'forcesuccess' => $row['forcesuccess'],
- 'insignificant' => $row['insignificant'],
- 'result' => $row['result'],
- 'timestamp' => $row['timestamp'],
- 'duration' => $row['duration']
- );
- }
- return $result;
- }
-
- /**
- * Get conf run data for selected target os by branch
- * @param string $runProject
- * @param string $runState
- * @param string $targetOs
- * @return array (string branch, string conf, int buildKey, bool forcesuccess, bool insignificant, string result, string timestamp, string duration)
- */
- public function getConfOsBuildsByBranch($runProject, $runState, $targetOs)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- branch.name AS branch,
- conf.name AS conf,
- project_run.build_key,
- conf_run.forcesuccess,
- conf_run.insignificant,
- conf_run.result,
- conf_run.timestamp,
- conf_run.duration
- FROM conf_run
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- conf.target_id IN (SELECT id FROM platform WHERE os = ?) AND
- branch.archived = 0
- ORDER BY branch.name DESC, conf, project_run.timestamp DESC;
- ");
- $query->execute(array(
- $runProject,
- $runState,
- $targetOs
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'branch' => $row['branch'],
- 'conf' => $row['conf'],
- 'buildKey' => $row['build_key'],
- 'forcesuccess' => $row['forcesuccess'],
- 'insignificant' => $row['insignificant'],
- 'result' => $row['result'],
- 'timestamp' => $row['timestamp'],
- 'duration' => $row['duration']
- );
- }
- return $result;
- }
-
- /**
- * Get conf run data for selected conf by branch
- * @param string $runProject
- * @param string $runState
- * @param string $conf
- * @return array (string branch, string conf, int buildKey, bool forcesuccess, bool insignificant, string result, string timestamp, string duration)
- */
- public function getConfBuildByBranch($runProject, $runState, $conf)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- branch.name AS branch,
- conf.name AS conf,
- project_run.build_key,
- conf_run.forcesuccess,
- conf_run.insignificant,
- conf_run.result,
- conf_run.timestamp,
- conf_run.duration
- FROM conf_run
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- conf.name = ? AND
- branch.archived = 0
- ORDER BY branch.name DESC, conf, project_run.timestamp DESC;
- ");
- $query->execute(array(
- $runProject,
- $runState,
- $conf
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'branch' => $row['branch'],
- 'conf' => $row['conf'],
- 'buildKey' => $row['build_key'],
- 'forcesuccess' => $row['forcesuccess'],
- 'insignificant' => $row['insignificant'],
- 'result' => $row['result'],
- 'timestamp' => $row['timestamp'],
- 'duration' => $row['duration']
- );
- }
- return $result;
- }
-
- /**
- * Get run results for a testset in specified builds by branch and configuration
- * @param string $testset
- * @param string $testsetProject
- * @param string $runProject
- * @param string $runState
- * @return array (string branch, string conf, int buildKey, string result, string timestamp, string duration, int run)
- */
- public function getTestsetResultsByBranchConf($testset, $testsetProject, $runProject, $runState)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- branch.name AS branch,
- conf.name AS conf,
- project_run.build_key,
- testset_run.result,
- project_run.timestamp,
- testset_run.duration,
- testset_run.run
- FROM testset_run
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- testset.name = ? AND
- project.name = ? AND
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- branch.archived = 0
- ORDER BY branch.name DESC, conf.name, project_run.timestamp DESC;
- ");
- $query->execute(array(
- $testset,
- $testsetProject,
- $runProject,
- $runState
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'branch' => $row['branch'],
- 'conf' => $row['conf'],
- 'buildKey' => $row['build_key'],
- 'result' => $row['result'],
- 'timestamp' => $row['timestamp'],
- 'duration' => round($row['duration']/10, 1), // convert deciseconds to seconds
- 'run' => $row['run']
- );
- }
- return $result;
- }
-
- /**
- * Get result counts for a testset project in specified builds by branch and configuration
- * @param string $testsetProject
- * @param string $runProject
- * @param string $runState
- * @return array (string branch, string conf, int buildKey, int passed, int ipassed, int failed, int ifailed)
- */
- public function getTestsetProjectResultsByBranchConf($testsetProject, $runProject, $runState)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- branch.name AS branch,
- conf.name AS conf,
- project_run.build_key,
- COUNT(CASE WHEN testset_run.result = 'passed' THEN testset_run.result END) AS passed,
- COUNT(CASE WHEN testset_run.result = 'ipassed' THEN testset_run.result END) AS ipassed,
- COUNT(CASE WHEN testset_run.result = 'failed' THEN testset_run.result END) AS failed,
- COUNT(CASE WHEN testset_run.result = 'ifailed' THEN testset_run.result END) AS ifailed
- FROM testset_run
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- project.name = ? AND
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- branch.archived = 0
- GROUP BY branch.name, project_run.build_key, conf.name
- ORDER BY branch.name DESC, conf.name, project_run.build_key DESC;
- ");
- $query->execute(array(
- $testsetProject,
- $runProject,
- $runState
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'branch' => $row['branch'],
- 'conf' => $row['conf'],
- 'buildKey' => $row['build_key'],
- 'passed' => $row['passed'],
- 'ipassed' => $row['ipassed'],
- 'failed' => $row['failed'],
- 'ifailed' => $row['ifailed']
- );
- }
- return $result;
- }
-
- /**
- * Get results for failed testsets in specified configuration builds by branch
- * Only the failures are listed
- * @param string $conf
- * @param string $runProject
- * @param string $runState
- * @return array (string branch, int buildKey, string testset, string project, string result, string timestamp, string duration, int run)
- */
- public function getTestsetConfResultsByBranch($conf, $runProject, $runState)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- branch.name AS branch,
- project_run.build_key,
- testset.name AS testset,
- project.name AS project,
- testset_run.result,
- project_run.timestamp,
- testset_run.duration,
- testset_run.run
- FROM testset_run
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- testset_run.result LIKE '%failed' AND
- conf.name = ? AND
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- branch.archived = 0
- ORDER BY branch.name DESC, project.name, testset.name, project_run.build_key DESC;
- ");
- $query->execute(array(
- $conf,
- $runProject,
- $runState
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'branch' => $row['branch'],
- 'buildKey' => $row['build_key'],
- 'testset' => $row['testset'],
- 'project' => $row['project'],
- 'result' => $row['result'],
- 'timestamp' => $row['timestamp'],
- 'duration' => round($row['duration']/10, 1), // convert deciseconds to seconds
- 'run' => $row['run']
- );
- }
- return $result;
- }
-
- /**
- * Get results for failed testsets in specified configuration builds and project by branch
- * Only the failures are listed
- * @param string $conf
- * @param string $testsetProject
- * @param string $runProject
- * @param string $runState
- * @return array (string branch, int buildKey, string testset, string project, string result, string timestamp, string duration, int run)
- */
- public function getTestsetConfProjectResultsByBranch($conf, $testsetProject, $runProject, $runState)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- branch.name AS branch,
- project_run.build_key,
- testset.name AS testset,
- project.name AS project,
- testset_run.result,
- project_run.timestamp,
- testset_run.duration,
- testset_run.run
- FROM testset_run
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- testset_run.result LIKE '%failed' AND
- project.name = ? AND
- conf.name = ? AND
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- branch.archived = 0
- ORDER BY branch.name DESC, testset.name, project_run.build_key DESC;
- ");
- $query->execute(array(
- $testsetProject,
- $conf,
- $runProject,
- $runState
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'branch' => $row['branch'],
- 'buildKey' => $row['build_key'],
- 'testset' => $row['testset'],
- 'project' => $row['project'],
- 'result' => $row['result'],
- 'timestamp' => $row['timestamp'],
- 'duration' => round($row['duration']/10, 1), // convert deciseconds to seconds
- 'run' => $row['run']
- );
- }
- return $result;
- }
-
- /**
- * Get results for failed and skipped testfunctions in specified configuration builds and project by branch
- * Only the fail/skip and xpass/xfail and bpass results are listed
- * @param string $testset
- * @param string $testsetProject
- * @param string $conf
- * @param string $runProject
- * @param string $runState
- * @return array (string branch, int buildKey, string testfunction, string result, string timestamp, string duration)
- */
- public function getTestfunctionConfResultsByBranch($testset, $testsetProject, $conf, $runProject, $runState)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- branch.name AS branch,
- project_run.build_key,
- testfunction.name AS testfunction,
- testfunction_run.result,
- project_run.timestamp,
- testfunction_run.duration
- FROM testfunction_run
- INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id
- INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- (testfunction_run.result LIKE '%fail' OR testfunction_run.result LIKE '%skip' OR testfunction_run.result LIKE '%x%' OR testfunction_run.result LIKE 'b%') AND
- testset.name = ? AND
- project.name = ? AND
- conf.name = ? AND
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- branch.archived = 0
- ORDER BY branch.name DESC, testfunction.name, project_run.build_key DESC;
- ");
- $query->execute(array(
- $testset,
- $testsetProject,
- $conf,
- $runProject,
- $runState
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'branch' => $row['branch'],
- 'buildKey' => $row['build_key'],
- 'testfunction' => $row['testfunction'],
- 'result' => $row['result'],
- 'timestamp' => $row['timestamp'],
- 'duration' => round($row['duration']/10, 1) // convert deciseconds to seconds
- );
- }
- return $result;
- }
-
- /**
- * Get results for failed and skipped testrows in specified configuration builds and project by branch
- * Only the fail/skip and xpass/xfail results are listed
- * @param string $testfunction
- * @param string $testset
- * @param string $testsetProject
- * @param string $conf
- * @param string $runProject
- * @param string $runState
- * @return array (string branch, int buildKey, string testrow, string result, string timestamp)
- */
- public function getTestrowConfResultsByBranch($testfunction, $testset, $testsetProject, $conf, $runProject, $runState)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- branch.name AS branch,
- project_run.build_key,
- testrow.name AS testrow,
- testrow_run.result,
- project_run.timestamp
- FROM testrow_run
- INNER JOIN testrow ON testrow_run.testrow_id = testrow.id
- INNER JOIN testfunction_run ON testrow_run.testfunction_run_id = testfunction_run.id
- INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id
- INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id
- INNER JOIN testset ON testset_run.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id
- INNER JOIN conf ON conf_run.conf_id = conf.id
- INNER JOIN project_run ON conf_run.project_run_id = project_run.id
- INNER JOIN branch ON project_run.branch_id = branch.id
- WHERE
- (testrow_run.result LIKE '%fail' OR testrow_run.result LIKE '%skip' OR testrow_run.result LIKE '%x%' OR testrow_run.result LIKE 'b%') AND
- testfunction.name = ? AND
- testset.name = ? AND
- project.name = ? AND
- conf.name = ? AND
- project_run.project_id = (SELECT id FROM project WHERE name = ?) AND
- project_run.state_id = (SELECT id FROM state WHERE name = ?) AND
- branch.archived = 0
- ORDER BY branch.name DESC, testrow.name, project_run.build_key DESC;
- ");
- $query->execute(array(
- $testfunction,
- $testset,
- $testsetProject,
- $conf,
- $runProject,
- $runState
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'branch' => $row['branch'],
- 'buildKey' => $row['build_key'],
- 'testrow' => $row['testrow'],
- 'result' => $row['result'],
- 'timestamp' => $row['timestamp']
- );
- }
- return $result;
- }
-
- /**
- * Get the timestamp when database last refreshed
- * @return string (timestamp)
- */
- public function getDbRefreshed()
- {
- $query = $this->db->prepare("
- SELECT refreshed
- FROM db_status
- ORDER BY refreshed DESC LIMIT 1");
- $query->execute(array());
- $row = $query->fetch(PDO::FETCH_ASSOC);
- $timestamp = $row['refreshed'];
- return $timestamp;
- }
-
- /**
- * Get the database refresh status
- * @return array (bool in_progress, int current, int total)
- */
- public function getDbRefreshStatus()
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT refreshed, refresh_in_progress, logs_current, logs_total
- FROM db_status
- ORDER BY refreshed DESC LIMIT 1;
- ");
- $query->execute(array());
- $row = $query->fetch(PDO::FETCH_ASSOC);
- $result = array(
- 'refreshed' => $row['refreshed'],
- 'in_progress' => $row['refresh_in_progress'],
- 'current' => $row['logs_current'],
- 'total' => $row['logs_total']
- );
- return $result;
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/DatabaseAdmin.php b/non-puppet/qtmetrics2/src/DatabaseAdmin.php
deleted file mode 100644
index 30ababb..0000000
--- a/non-puppet/qtmetrics2/src/DatabaseAdmin.php
+++ /dev/null
@@ -1,501 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * DatabaseAdmin class
- * @since 17-09-2015
- * @author Juha Sippola
- */
-
-class DatabaseAdmin {
-
- /**
- * Database instance
- * @var PDO
- */
- private $db;
-
- /**
- * Database constructor
- */
- public function __construct()
- {
- $ini = Factory::conf();
- $this->db = new PDO(
- $ini['dsn'],
- $ini['username_admin'],
- $ini['password_admin']
- );
- }
-
- /**
- * Get list of tables with statistics
- * @return array (string name, int rowCount)
- */
- public function getTablesStatistics()
- {
- $result = array();
- // Tables to check (listed manually because database may contain additional tables)
- $tables = array();
- $tables[] = 'branch';
- $tables[] = 'compiler';
- $tables[] = 'conf';
- $tables[] = 'conf_run';
- $tables[] = 'db_status';
- $tables[] = 'phase';
- $tables[] = 'phase_run';
- $tables[] = 'platform';
- $tables[] = 'project';
- $tables[] = 'project_run';
- $tables[] = 'state';
- $tables[] = 'testfunction';
- $tables[] = 'testfunction_run';
- $tables[] = 'testrow';
- $tables[] = 'testrow_run';
- $tables[] = 'testset';
- $tables[] = 'testset_run';
- // Row counts
- foreach ($tables as $table) {
- $query = $this->db->prepare("SELECT COUNT(*) AS rowCount FROM $table");
- $query->execute(array());
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'name' => $table,
- 'rowCount' => $row['rowCount']
- );
- }
- }
- // Sort
- $count = array();
- foreach ($result as $key => $row)
- {
- $count[$key] = $row['rowCount'];
- }
- array_multisort($count, SORT_DESC, $result);
- return $result;
- }
-
- /**
- * Get list of branches with statistics
- * @return array (string name, int runCount, timestamp latestRun)
- */
- public function getBranchesStatistics()
- {
- $result = array();
- $branches = Factory::db()->getBranches();
- foreach ($branches as $branch) {
- $query = $this->db->prepare("
- SELECT
- COUNT(*) AS runCount,
- MAX(timestamp) AS latestRun
- FROM project_run
- WHERE
- branch_id = (SELECT id FROM branch WHERE name = ?);
- ");
- $query->execute(array(
- $branch['name']
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'name' => $branch['name'],
- 'archived' => $branch['archived'],
- 'runCount' => $row['runCount'],
- 'latestRun' => $row['latestRun']
- );
- }
- }
- // Sort
- $date = array();
- foreach ($result as $key => $row)
- {
- $date[$key] = $row['latestRun'];
- }
- array_multisort($date, SORT_DESC, $result);
- return $result;
- }
-
- /**
- * Get project_run statistics
- * @return array (string state, int year, int month, int day, int runCount)
- */
- public function getProjectRunsStatistics()
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT
- state.name as state,
- Year(timestamp) AS year,
- Month(timestamp) AS month,
- Day(timestamp) AS day,
- Count(*) as runCount
- FROM project_run
- INNER JOIN state ON project_run.state_id = state.id
- GROUP BY state, year, month, day
- ORDER BY state, year DESC, month DESC, day DESC;
- ");
- $query->execute(array());
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'state' => $row['state'],
- 'year' => $row['year'],
- 'month' => $row['month'],
- 'day' => $row['day'],
- 'runCount' => $row['runCount']
- );
- }
- return $result;
- }
-
- /**
- * Get project_runs for branch
- * @param string $branch
- * @return array (int id)
- */
- public function getProjectRunIdsBranch($branch)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT id FROM project_run WHERE branch_id = (SELECT id FROM branch WHERE name = ?);
- ");
- $query->execute(array(
- $branch
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'id' => $row['id']
- );
- }
- return $result;
- }
-
- /**
- * Get project_runs for state on a date
- * @param string $month
- * @return array (int id)
- */
- public function getProjectRunIdsDate($state, $date)
- {
- $result = array();
- $year = substr($date, 0, strpos($date, '-'));
- $month = substr($date, strpos($date, '-') + 1);
- $day = substr($month, strpos($month, '-') + 1);
- $month = substr($month, 0, strpos($month, '-'));
- $query = $this->db->prepare("
- SELECT project_run.id
- FROM project_run INNER JOIN state ON project_run.state_id = state.id
- WHERE state.name = ? AND Year(timestamp) = ? AND Month(timestamp) = ? AND Day(timestamp) = ?;
- ");
- $query->execute(array(
- $state,
- $year,
- $month,
- $day
- ));
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'id' => $row['id']
- );
- }
- return $result;
- }
-
- /**
- * Get conf_runs for project_run
- * @param int $projectRunId
- * @return array (int id)
- */
- public function getConfRunIds($projectRunId)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT id FROM conf_run WHERE project_run_id = ?;
- ");
- $query->bindParam(1, $projectRunId, PDO::PARAM_INT);
- $query->execute();
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'id' => $row['id']
- );
- }
- return $result;
- }
-
- /**
- * Get testset_runs for conf_run
- * @param int $confRunId
- * @return array (int id)
- */
- public function getTestsetRunIds($confRunId)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT id FROM testset_run WHERE conf_run_id = ?;
- ");
- $query->bindParam(1, $confRunId, PDO::PARAM_INT);
- $query->execute();
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'id' => $row['id']
- );
- }
- return $result;
- }
-
- /**
- * Get testfunction_runs for testset_run
- * @param int $testsetRunId
- * @return array (int id)
- */
- public function getTestfunctionRunIds($testsetRunId)
- {
- $result = array();
- $query = $this->db->prepare("
- SELECT id FROM testfunction_run WHERE testset_run_id = ?;
- ");
- $query->bindParam(1, $testsetRunId, PDO::PARAM_INT);
- $query->execute();
- while($row = $query->fetch(PDO::FETCH_ASSOC)) {
- $result[] = array(
- 'id' => $row['id']
- );
- }
- return $result;
- }
-
- /**
- * Delete project_run
- * @param int $projectRunId
- * @return bool
- */
- public function deleteProjectRun($projectRunId)
- {
- $query = $this->db->prepare("
- DELETE FROM project_run WHERE id = ?;
- ");
- $query->bindParam(1, $projectRunId, PDO::PARAM_INT);
- $result = $query->execute();
- return $result;
- }
-
- /**
- * Delete conf_runs for project_run
- * @param int $projectRunId
- * @return bool
- */
- public function deleteConfRuns($projectRunId)
- {
- $query = $this->db->prepare("
- DELETE FROM conf_run WHERE project_run_id = ?;
- ");
- $query->bindParam(1, $projectRunId, PDO::PARAM_INT);
- $result = $query->execute();
- return $result;
- }
-
- /**
- * Delete phase_runs for conf_run
- * @param int $confRunId
- * @return bool
- */
- public function deletePhaseRuns($confRunId)
- {
- $query = $this->db->prepare("
- DELETE FROM phase_run WHERE conf_run_id = ?;
- ");
- $query->bindParam(1, $confRunId, PDO::PARAM_INT);
- $result = $query->execute();
- return $result;
- }
-
- /**
- * Delete testset_runs for conf_run
- * @param int $confRunId
- * @return bool
- */
- public function deleteTestsetRuns($confRunId)
- {
- $query = $this->db->prepare("
- DELETE FROM testset_run WHERE conf_run_id = ?;
- ");
- $query->bindParam(1, $confRunId, PDO::PARAM_INT);
- $result = $query->execute();
- return $result;
- }
-
- /**
- * Delete testfunction_runs for testset_run
- * @param int $testsetRunId
- * @return bool
- */
- public function deleteTestfunctionRuns($testsetRunId)
- {
- $query = $this->db->prepare("
- DELETE FROM testfunction_run WHERE testset_run_id = ?;
- ");
- $query->bindParam(1, $testsetRunId, PDO::PARAM_INT);
- $result = $query->execute();
- return $result;
- }
-
- /**
- * Delete testrow_runs for testfunction_run
- * @param int $testfunctionRunId
- * @return bool
- */
- public function deleteTestrowRuns($testfunctionRunId)
- {
- $query = $this->db->prepare("
- DELETE FROM testrow_run WHERE testfunction_run_id = ?;
- ");
- $query->bindParam(1, $testfunctionRunId, PDO::PARAM_INT);
- $result = $query->execute();
- return $result;
- }
-
- /**
- * Delete project_run and all its linked data
- * @param int $projectRunId
- * @return bool
- */
- public function deleteProjectRunData($projectRunId)
- {
- $result = true;
- $confRuns = self::getConfRunIds($projectRunId);
- foreach ($confRuns as $confRun) {
- $testsetRuns = self::getTestsetRunIds($confRun['id']);
- foreach ($testsetRuns as $testsetRun) {
- $testfunctionRuns = self::getTestfunctionRunIds($testsetRun['id']);
- foreach ($testfunctionRuns as $testfunctionRun) {
- // Delete related testrow_runs
- if (!self::deleteTestrowRuns($testfunctionRun['id']))
- $result = false;
- }
- // Delete related testfunction_runs
- if (!self::deleteTestfunctionRuns($testsetRun['id']))
- $result = false;
- }
- // Delete related testset_runs
- if (!self::deleteTestsetRuns($confRun['id']))
- $result = false;
- // Delete related phase_runs
- if (!self::deletePhaseRuns($confRun['id']))
- $result = false;
- }
- // Delete related conf_runs
- if (!self::deleteConfRuns($projectRunId))
- $result = false;
- // Delete project_run
- if (!self::deleteProjectRun($projectRunId))
- $result = false;
- return $result;
- }
-
- /**
- * Delete branch and all its linked data
- * @param string $branch
- * @return bool
- */
- public function deleteBranch($branch)
- {
- $result = true;
- // Delete data from xxx_run tables
- $projectRuns = self::getProjectRunIdsBranch($branch);
- foreach ($projectRuns as $projectRun) {
- if (!self::deleteProjectRunData($projectRun['id']))
- $result = false;
- }
- // Delete branch
- $query = $this->db->prepare("
- DELETE FROM branch WHERE name = ?
- ");
- $result2 = $query->execute(array(
- $branch
- ));
- if (!$result2)
- $result = false;
- return $result;
- }
-
- /**
- * Set archived flag for the branch
- * @param string $branch
- * @return bool
- */
- public function archiveBranch($branch)
- {
- $query = $this->db->prepare("
- UPDATE branch SET archived = 1 WHERE name = ?
- ");
- $result = $query->execute(array(
- $branch
- ));
- return $result;
- }
-
- /**
- * Clear archived flag for the branch
- * @param string $branch
- * @return bool
- */
- public function restoreBranch($branch)
- {
- $query = $this->db->prepare("
- UPDATE branch SET archived = 0 WHERE name = ?
- ");
- $result = $query->execute(array(
- $branch
- ));
- return $result;
- }
-
- /**
- * Delete all build runs from selected date in selected state
- * @param string $state
- * @param string $date
- * @return bool
- */
- public function deleteRunsData($state, $date)
- {
- $result = true;
- $projectRuns = self::getProjectRunIdsDate($state, $date);
- foreach ($projectRuns as $projectRun) {
- if (!self::deleteProjectRunData($projectRun['id']))
- $result = false;
- }
- return $result;
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/Factory.php b/non-puppet/qtmetrics2/src/Factory.php
deleted file mode 100644
index fedf90b..0000000
--- a/non-puppet/qtmetrics2/src/Factory.php
+++ /dev/null
@@ -1,656 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Factory class
- * @since 24-09-2015
- * @author Juha Sippola
- */
-
-require_once 'Database.php';
-require_once 'DatabaseAdmin.php';
-require_once 'Project.php';
-require_once 'ProjectRun.php';
-require_once 'Conf.php';
-require_once 'ConfRun.php';
-require_once 'Testset.php';
-require_once 'TestsetRun.php';
-require_once 'Testfunction.php';
-require_once 'TestfunctionRun.php';
-require_once 'Testrow.php';
-require_once 'TestrowRun.php';
-
-class Factory {
-
- /**
- * Testset lists
- */
- const LIST_FAILURES = 1;
- const LIST_FLAKY = 2;
- const LIST_BPASSES = 3;
-
- /**
- * Configuration settings as specified in the ini file.
- * @var array
- */
- private $ini;
-
- /**
- * Database instance.
- * @var Database
- */
- private $db;
-
- /**
- * DatabaseAdmin instance.
- * @var DatabaseAdmin
- */
- private $dbAdmin;
-
- /**
- * Create Factory instance
- * @return Factory
- */
- private static function singleton()
- {
- static $instance = null;
- if (!$instance)
- $instance = new Factory();
- return $instance;
- }
-
- /**
- * Read configuration settings
- * @return array
- */
- public static function conf()
- {
- $instance = self::singleton();
- if (!$instance->ini)
- $instance->ini = parse_ini_file('qtmetrics.ini');
- return $instance->ini;
- }
-
- /**
- * Get database instance
- * @return Database
- */
- public static function db()
- {
- $instance = self::singleton();
- if (!$instance->db) {
- $instance->db = new Database;
- }
- return $instance->db;
- }
-
- /**
- * Get databaseAdmin instance
- * @return DatabaseAdmin
- */
- public static function dbAdmin()
- {
- $instance = self::singleton();
- if (!$instance->dbAdmin) {
- $instance->dbAdmin = new DatabaseAdmin;
- }
- return $instance->dbAdmin;
- }
-
- /**
- * Manipulate configuration settings runtime (for unit testing purposes)
- * @param string $key
- * @param string $value
- */
- public static function setRuntimeConf($key, $value)
- {
- self::conf();
- self::singleton()->ini[$key] = $value;
- }
-
- /**
- * Get the CI log path.
- * @return string
- */
- public static function getCiLogPath()
- {
- $ini = self::conf();
- return $ini['ci_log_path'];
- }
-
- /**
- * Check if the testset exists in the database
- * @param string $name
- * @return boolean
- */
- public static function checkTestset($name)
- {
- $dbEntries = self::db()->getTestsetProject($name);
- return (count($dbEntries) > 0) ? true : false;
- }
-
- /**
- * Get list of projects matching the filter string.
- * @param string $filter
- * @return array (string name)
- */
- public static function getProjectsFiltered($filter)
- {
- $result = Factory::db()->getProjectsFiltered($filter);
- return $result;
- }
-
- /**
- * Get list of testsets matching the filter string.
- * @param string $filter
- * @return array (string name)
- */
- public static function getTestsetsFiltered($filter)
- {
- $result = Factory::db()->getTestsetsFiltered($filter);
- return $result;
- }
-
- /**
- * Create Project object for that in database
- * @param string $project
- * @param string $runProject
- * @param string $runState
- * @return array Project object
- */
- public static function createProject($project, $runProject, $runState)
- {
- $obj = new Project($project);
- $obj->setStatus($runProject, $runState);
- return $obj;
- }
-
- /**
- * Create Configuration object for that in database
- * @param string $conf
- * @param string $runProject
- * @param string $runState
- * @return array Conf object
- */
- public static function createConf($conf, $runProject, $runState)
- {
- $obj = new Conf($conf);
- $obj->setStatus($runProject, $runState);
- return $obj;
- }
-
- /**
- * Create Testset objects for those in database (with either result or flaky counts)
- * List is limited by date (since) and length, failure result list and counts for specified builds only
- * @param int $listType
- * @param string $runProject
- * @param string $runState
- * @return array Testset objects
- */
- public static function createTestsets($listType, $runProject, $runState)
- {
- $objects = array();
- $ini = self::conf();
- // Failure result list (from specified builds only)
- if ($listType === self::LIST_FAILURES) {
- $days = intval($ini['top_failures_last_days']) - 1;
- $since = self::getSinceDate($days);
- $limit = intval($ini['top_failures_n']);
- $dbEntries = self::db()->getTestsetsResultCounts($runProject, $runState, $since, $limit);
- foreach($dbEntries as $entry) {
- $obj = new Testset($entry['name'], $entry['project']);
- $obj->setStatus($runProject, $runState);
- $obj->setTestsetResultCounts($entry['passed'], $entry['failed']);
- $objects[] = $obj;
- }
- }
- // Flaky list (all builds)
- if ($listType === self::LIST_FLAKY) {
- $days = intval($ini['flaky_testsets_last_days']) - 1;
- $since = self::getSinceDate($days);
- $limit = intval($ini['flaky_testsets_n']);
- $dbEntries = self::db()->getTestsetsFlakyCounts($since, $limit);
- foreach($dbEntries as $entry) {
- $obj = new Testset($entry['name'], $entry['project']);
- $obj->setTestsetFlakyCounts($entry['flaky'], $entry['total']);
- $objects[] = $obj;
- }
- }
- return $objects;
- }
-
- /**
- * Create Testset object for that in database
- * Counts are limited by date (since) and length, failure result counts for specified builds only
- * @param string $name
- * @param string $testsetProject
- * @param string $runProject
- * @param string $runState
- * @return array Testset object(s)
- */
- public static function createTestset($name, $testsetProject, $runProject, $runState)
- {
- $ini = self::conf();
- $obj = new Testset($name, $testsetProject);
- $obj->setStatus($runProject, $runState);
- // Failure result counts (from specified builds only)
- $days = intval($ini['top_failures_last_days']) - 1;
- $since = self::getSinceDate($days);
- $dbTestsetDetails = self::db()->getTestsetResultCounts($name, $testsetProject, $runProject, $runState, $since);
- foreach($dbTestsetDetails as $detail) {
- $obj->setTestsetResultCounts($detail['passed'], $detail['failed']);
- }
- // Flaky counts (all builds)
- $days = intval($ini['flaky_testsets_last_days']) - 1;
- $since = self::getSinceDate($days);
- $dbTestsetDetails = self::db()->getTestsetFlakyCounts($name, $testsetProject, $since);
- foreach($dbTestsetDetails as $detail) {
- $obj->setTestsetFlakyCounts($detail['flaky'], $detail['total']);
- }
- return $obj;
- }
-
- /**
- * Create Testfunction objects for those in database (with either failed or bpassed counts)
- * List is limited by date (since) and length, and for specified builds only
- * @param int $listType
- * @param string $testset
- * @param string $project
- * @param string $runProject
- * @param string $runState
- * @return array Testfunction objects
- */
- public static function createTestfunctions($listType, $testset, $project, $runProject, $runState)
- {
- $objects = array();
- $ini = self::conf();
- // Failure result list (from specified builds only)
- if ($listType === self::LIST_FAILURES) {
- $days = intval($ini['top_failures_last_days']) - 1;
- $since = self::getSinceDate($days);
- $limit = intval($ini['top_failures_n']);
- $dbEntries = self::db()->getTestfunctionsResultCounts($runProject, $runState, $since, $limit);
- foreach($dbEntries as $entry) {
- $obj = new Testfunction($entry['name'], $entry['testset'], $entry['project'], null);
- $obj->setResultCounts($entry['passed'], $entry['failed'], $entry['skipped']);
- $objects[] = $obj;
- }
- }
- // Blacklisted passed list (from specified builds only)
- if ($listType === self::LIST_BPASSES) {
- $days = intval($ini['blacklisted_pass_last_days']) - 1;
- $since = self::getSinceDate($days);
- if (empty($testset))
- $dbEntries = self::db()->getTestfunctionsBlacklistedPassedCounts($runProject, $runState, $since);
- else
- $dbEntries = self::db()->getTestfunctionsBlacklistedPassedCountsTestset($testset, $project, $runProject, $runState, $since);
- foreach($dbEntries as $entry) {
- $obj = new Testfunction($entry['name'], $entry['testset'], $entry['project'], $entry['conf']);
- $obj->setBlacklistedCounts($entry['bpassed'], $entry['btotal']);
- $objects[] = $obj;
- }
- }
- return $objects;
- }
-
- /**
- * Create Testrow objects for those in database (with bpassed counts)
- * List is limited by date (since) and length, and for specified builds only
- * @param string $testset
- * @param string $project
- * @param string $runProject
- * @param string $runState
- * @return array Testfunction objects
- */
- public static function createTestrows($testset, $project, $runProject, $runState)
- {
- $objects = array();
- $ini = self::conf();
- // Blacklisted passed list (from specified builds only)
- $days = intval($ini['blacklisted_pass_last_days']) - 1;
- $since = self::getSinceDate($days);
- $dbEntries = self::db()->getTestrowsBlacklistedPassedCountsTestset($testset, $project, $runProject, $runState, $since);
- foreach($dbEntries as $entry) {
- $obj = new Testrow($entry['name'], $entry['testfunction'], $entry['testset'], $entry['project'], $entry['conf']);
- $obj->setBlacklistedCounts($entry['bpassed'], $entry['btotal']);
- $objects[] = $obj;
- }
- return $objects;
- }
-
- /**
- * Create ProjectRun objects for those in database
- * @param string $runProject
- * @param string $runState
- * @return array ProjectRun objects
- */
- public static function createProjectRuns($runProject, $runState)
- {
- $objects = array();
- $dbEntries = self::db()->getProjectBuildsByBranch($runProject, $runState);
- foreach($dbEntries as $entry) {
- $obj = new ProjectRun(
- $runProject,
- $entry['branch'],
- $runState,
- $entry['buildKey'],
- null,
- $entry['timestamp'],
- null
- );
- $objects[] = $obj;
- }
- return $objects;
- }
-
- /**
- * Create ConfRun objects for those in database
- * @param string $runProject
- * @param string $runState
- * @param string $targetOs
- * @param string $conf
- * @return array ConfRun objects
- */
- public static function createConfRuns($runProject, $runState, $targetOs, $conf)
- {
- $objects = array();
- if (empty($targetOs) and empty($conf))
- $dbEntries = self::db()->getConfBuildsByBranch($runProject, $runState);
- else if (!empty($targetOs))
- $dbEntries = self::db()->getConfOsBuildsByBranch($runProject, $runState, $targetOs);
- else
- $dbEntries = self::db()->getConfBuildByBranch($runProject, $runState, $conf);
- foreach($dbEntries as $entry) {
- $obj = new ConfRun(
- $entry['conf'],
- $runProject,
- $entry['branch'],
- $runState,
- $entry['buildKey'],
- $entry['result'],
- $entry['forcesuccess'],
- $entry['insignificant'],
- $entry['timestamp'],
- $entry['duration']
- );
- $objects[] = $obj;
- }
- return $objects;
- }
-
- /**
- * Create TestsetRun objects for those in database
- * @param string $testset
- * @param string $testsetProject
- * @param string $runProject
- * @param string $runState
- * @return array TestsetRun objects
- */
- public static function createTestsetRuns($testset, $testsetProject, $runProject, $runState)
- {
- $objects = array();
- $dbEntries = self::db()->getTestsetResultsByBranchConf($testset, $testsetProject, $runProject, $runState);
- foreach($dbEntries as $entry) {
- $obj = new TestsetRun(
- $testset,
- $testsetProject,
- $runProject,
- $entry['branch'],
- $runState,
- $entry['buildKey'],
- $entry['conf'],
- $entry['run'],
- TestsetRun::stripResult($entry['result']),
- TestsetRun::isInsignificant($entry['result']),
- $entry['timestamp'],
- $entry['duration']
- );
- $objects[] = $obj;
- }
- return $objects;
- }
-
- /**
- * Create TestsetRun objects in a configuration for those in database
- * @param string $conf
- * @param string $testsetProject
- * @param string $runProject
- * @param string $runState
- * @return array TestsetRun objects
- */
- public static function createTestsetRunsInConf($conf, $testsetProject, $runProject, $runState)
- {
- $objects = array();
- if (empty($testsetProject))
- $dbEntries = self::db()->getTestsetConfResultsByBranch($conf, $runProject, $runState);
- else
- $dbEntries = self::db()->getTestsetConfProjectResultsByBranch($conf, $testsetProject, $runProject, $runState);
- foreach($dbEntries as $entry) {
- $obj = new TestsetRun(
- $entry['testset'],
- $entry['project'],
- $runProject,
- $entry['branch'],
- $runState,
- $entry['buildKey'],
- $conf,
- $entry['run'],
- TestsetRun::stripResult($entry['result']),
- TestsetRun::isInsignificant($entry['result']),
- $entry['timestamp'],
- $entry['duration']
- );
- $objects[] = $obj;
- }
- return $objects;
- }
-
- /**
- * Create TestsetRun objects with the longest duration for each testset
- * Object list is sorted descending by duration
- * @param string $runProject
- * @param string $runState
- * @return array TestsetRun objects
- */
- public static function createTestsetRunsMaxDuration($runProject, $runState)
- {
- $objects = array();
- $ini = self::conf();
- $days = intval($ini['top_duration_last_days']) - 1;
- $since = self::getSinceDate($days);
- $durationLimitSec = intval($ini['testset_top_duration_limit_sec']);
- $testsets = self::db()->getTestsets();
- foreach($testsets as $testset) {
- $dbEntries = self::db()->getTestsetMaxDuration($testset['id'], $runProject, $runState, $since, $durationLimitSec);
- foreach($dbEntries as $entry) {
- $obj = new TestsetRun(
- $entry['testset'],
- $entry['project'],
- $runProject,
- $entry['branch'],
- $runState,
- $entry['buildKey'],
- $entry['conf'],
- 0,
- TestsetRun::stripResult($entry['result']),
- TestsetRun::isInsignificant($entry['result']),
- $entry['timestamp'],
- $entry['duration']
- );
- $objects[] = $obj;
- }
- }
- // Sort descending by duration
- usort($objects, function($a, $b)
- {
- if ($a->getDuration() === $b->getDuration())
- return 0;
- else
- return ($a->getDuration() > $b->getDuration() ? -1 : 1);
- });
- return $objects;
- }
-
- /**
- * Create TestfunctionRun objects with the longest duration for each testfunction
- * Object list is sorted descending by duration
- * @param string $testset
- * @param string $testsetProject
- * @param string $runProject
- * @param string $runState
- * @return array TestfunctionRun objects
- */
- public static function createTestfunctionRunsMaxDuration($testset, $project, $runProject, $runState)
- {
- $objects = array();
- $ini = self::conf();
- $days = intval($ini['top_duration_last_days']) - 1;
- $since = self::getSinceDate($days);
- $durationLimitSec = intval($ini['testfunction_top_duration_limit_sec']);
- $testfunctions = self::db()->getTestfunctionsTestset($testset, $project);
- foreach($testfunctions as $testfunction) {
- $dbEntries = self::db()->getTestfunctionMaxDuration($testfunction['id'], $testfunction['testsetId'], $runProject, $runState, $since, $durationLimitSec);
- foreach($dbEntries as $entry) {
- $obj = new TestfunctionRun(
- $entry['testfunction'],
- $entry['testset'],
- $entry['project'],
- $runProject,
- $entry['branch'],
- $runState,
- $entry['buildKey'],
- $entry['conf'],
- TestfunctionRun::stripResult($entry['result']),
- TestfunctionRun::isBlacklisted($entry['result']),
- TestfunctionRun::hasChildren($entry['result']),
- $entry['timestamp'],
- $entry['duration']
- );
- $objects[] = $obj;
- }
- }
- // Sort descending by duration
- usort($objects, function($a, $b)
- {
- if ($a->getDuration() === $b->getDuration())
- return 0;
- else
- return ($a->getDuration() > $b->getDuration() ? -1 : 1);
- });
- return $objects;
- }
-
- /**
- * Create TestfunctionRun objects in a configuration for those in database
- * @param string $testset
- * @param string $testsetProject
- * @param string $conf
- * @param string $runProject
- * @param string $runState
- * @return array TestfunctionRun objects
- */
- public static function createTestfunctionRunsInConf($testset, $testsetProject, $conf, $runProject, $runState)
- {
- $objects = array();
- $dbEntries = self::db()->getTestfunctionConfResultsByBranch($testset, $testsetProject, $conf, $runProject, $runState);
- foreach($dbEntries as $entry) {
- $obj = new TestfunctionRun(
- $entry['testfunction'],
- $testset,
- $testsetProject,
- $runProject,
- $entry['branch'],
- $runState,
- $entry['buildKey'],
- $conf,
- TestfunctionRun::stripResult($entry['result']),
- TestfunctionRun::isBlacklisted($entry['result']),
- TestfunctionRun::hasChildren($entry['result']),
- $entry['timestamp'],
- $entry['duration']
- );
- $objects[] = $obj;
- }
- return $objects;
- }
-
- /**
- * Create TestrowRun objects in a configuration for those in database
- * @param string $testfunction
- * @param string $testset
- * @param string $testsetProject
- * @param string $conf
- * @param string $runProject
- * @param string $runState
- * @return array TestfunctionRun objects
- */
- public static function createTestrowRunsInConf($testfunction, $testset, $testsetProject, $conf, $runProject, $runState)
- {
- $objects = array();
- $dbEntries = self::db()->getTestrowConfResultsByBranch($testfunction, $testset, $testsetProject, $conf, $runProject, $runState);
- foreach($dbEntries as $entry) {
- $obj = new TestrowRun(
- $entry['testrow'],
- $testfunction,
- $testset,
- $testsetProject,
- $runProject,
- $entry['branch'],
- $runState,
- $entry['buildKey'],
- $conf,
- TestrowRun::stripResult($entry['result']),
- TestrowRun::isBlacklisted($entry['result']),
- $entry['timestamp']
- );
- $objects[] = $obj;
- }
- return $objects;
- }
-
- /**
- * Get the date that was n days before the last database refresh date.
- * @param int $days
- * @return string (date in unix date format)
- */
- public static function getSinceDate($days)
- {
- $last = strtotime(self::db()->getDbRefreshed());
- $since = date('Y-m-d', strtotime('-' . $days . ' day', $last));
- return $since;
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/HttpBasicAuth.php b/non-puppet/qtmetrics2/src/HttpBasicAuth.php
deleted file mode 100644
index fbbfae8..0000000
--- a/non-puppet/qtmetrics2/src/HttpBasicAuth.php
+++ /dev/null
@@ -1,109 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Basic HTTP authentication
- * @since 30-09-2015
- * @author Juha Sippola
- */
-
-class HttpBasicAuth extends \Slim\Middleware
-{
- /**
- * @var string
- */
- protected $realm;
-
- /**
- * Constructor
- * @param string $realm The HTTP Authentication realm
- */
- public function __construct($realm = 'Protected Area')
- {
- $this->realm = $realm;
- }
-
- /**
- * Deny Access
- */
- public function deny_access() {
- $res = $this->app->response();
- $res->status(401);
- $res->header('WWW-Authenticate', sprintf('Basic realm="%s"', $this->realm));
- }
-
- /**
- * Authenticate
- * @param string $username The HTTP Authentication username
- * @param string $password The HTTP Authentication password
- */
- public function authenticate($username, $password) {
- $ini = Factory::conf();
-
- // The username must be alphanumeric
- if(!ctype_alnum($username))
- return false;
-
- // Check username and password
- if(isset($username) && isset($password)) {
- if (($username === $ini['admin_username'] AND $password === $ini['admin_password'])) {
- return true;
- } else {
- return false;
- }
- } else {
- return false;
- }
- }
-
- /**
- * Call
- * This method will check the HTTP request headers for previous authentication. If
- * the request has already authenticated, the next middleware is called. Otherwise,
- * a 401 Authentication Required response is returned to the client.
- */
- public function call()
- {
- $req = $this->app->request();
- $res = $this->app->response();
- $authUser = strip_tags($req->headers('PHP_AUTH_USER'));
- $authPass = strip_tags($req->headers('PHP_AUTH_PW'));
-
- if ($this->authenticate($authUser, $authPass)) {
- $this->next->call();
- } else {
- $this->deny_access();
- }
- }
-}
diff --git a/non-puppet/qtmetrics2/src/HttpBasicAuthRoute.php b/non-puppet/qtmetrics2/src/HttpBasicAuthRoute.php
deleted file mode 100644
index 5974e53..0000000
--- a/non-puppet/qtmetrics2/src/HttpBasicAuthRoute.php
+++ /dev/null
@@ -1,69 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Basic HTTP authentication for a route
- * @since 06-08-2015
- * @author Juha Sippola
- */
-
-class HttpBasicAuthRoute extends HttpBasicAuth {
-
- /**
- * @var string
- */
- protected $route;
-
- /**
- * Constructor
- * @param string $realm The HTTP Authentication realm
- * @param string route The route for authentication
- */
- public function __construct($realm = 'Protected Area', $route = '') {
- $this->route = $route;
- parent::__construct($realm);
- }
-
- /**
- * Call
- * This method will check if the requested route needs authentication.
- */
- public function call() {
- if(strpos($this->app->request()->getPathInfo(), $this->route) !== false) {
- parent::call();
- return;
- }
- $this->next->call();
- }
-}
diff --git a/non-puppet/qtmetrics2/src/Project.php b/non-puppet/qtmetrics2/src/Project.php
deleted file mode 100644
index 2ed0ae0..0000000
--- a/non-puppet/qtmetrics2/src/Project.php
+++ /dev/null
@@ -1,127 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Project class
- * @since 30-09-2015
- * @author Juha Sippola
- */
-
-class Project {
-
- /**
- * Project status (starting from ok case and most fatal the last i.e. latter overwrites earlier)
- */
- const STATUS_EMPTY = 0;
- const STATUS_SUCCESS = 1;
- const STATUS_ABORTED = 2;
- const STATUS_FAILURE = 3;
-
- /**
- * Project name.
- * @var string
- */
- private $name;
-
- /**
- * Project status calculated from the latest branch build results (in state builds only).
- * @var int
- */
- private $status;
-
- /**
- * Project constructor.
- * Project indicates the status in its latest runs in state builds in all branches
- * @param string $name
- */
- public function __construct($name)
- {
- $this->name = $name;
- $this->status = ProjectRun::RESULT_EMPTY; // not initially set
- }
-
- /**
- * Get name of the project.
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Get status of the project calculated from the latest branch build results.
- * @return string
- */
- public function getStatus()
- {
- return $this->status;
- }
-
- /**
- * Set status of the project calculated from the testset results in the latest branch builds (in specified builds only).
- * @param string $runProject
- * @param string $runState
- */
- public function setStatus($runProject, $runState)
- {
- $status = self::STATUS_EMPTY;
- $statusText = ProjectRun::RESULT_EMPTY;
- // Status for project with project_run
- if ($this->name === $runProject) {
- $builds = Factory::db()->getLatestProjectBranchBuildResults($runProject, $runState);
- foreach ($builds as $build) {
- if ($build['result'] === ProjectRun::RESULT_SUCCESS AND $status <= self::STATUS_SUCCESS) {
- $status = self::STATUS_SUCCESS;
- $statusText = ProjectRun::RESULT_SUCCESS;
- }
- if ($build['result'] === ProjectRun::RESULT_FAILURE AND $status <= self::STATUS_FAILURE) {
- $status = self::STATUS_FAILURE;
- $statusText = ProjectRun::RESULT_FAILURE;
- }
- if ($build['result'] === ProjectRun::RESULT_ABORTED AND $status <= self::STATUS_ABORTED) {
- $status = self::STATUS_ABORTED;
- $statusText = ProjectRun::RESULT_ABORTED;
- }
- }
- }
- // Status based on testset results not implemented yet
-
- $this->status = $statusText;
- return;
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/ProjectRun.php b/non-puppet/qtmetrics2/src/ProjectRun.php
deleted file mode 100644
index 593b966..0000000
--- a/non-puppet/qtmetrics2/src/ProjectRun.php
+++ /dev/null
@@ -1,250 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * ProjectRun class
- * @since 30-09-2015
- * @author Juha Sippola
- */
-
-class ProjectRun {
-
- /**
- * Project build results (these must follow the enumeration in the database)
- */
- const RESULT_NOT_SET = NULL;
- const RESULT_EMPTY = "";
- const RESULT_SUCCESS = "SUCCESS";
- const RESULT_FAILURE = "FAILURE";
- const RESULT_ABORTED = "ABORTED";
-
- /**
- * If the build key is long, a shorter version of the key can be requested
- */
- const SHORT_BUILDKEY_LENGTH = 6;
-
- /**
- * Project name.
- * @var string
- */
- private $projectName;
-
- /**
- * Branch name.
- * @var string
- */
- private $branchName;
-
- /**
- * State name.
- * @var string
- */
- private $stateName;
-
- /**
- * Build key.
- * @var string
- */
- private $buildKey;
-
- /**
- * Build result.
- * @var string
- */
- private $result;
-
- /**
- * Timestamp (Unix timestamp).
- * @var int
- */
- private $timestamp;
-
- /**
- * Duration (seconds).
- * @var int
- */
- private $duration;
-
- /**
- * ProjectRun constructor.
- * ProjectRun include the result of the project build
- * @param string $projectName
- * @param string $branchName
- * @param string $stateName
- * @param int $buildKey
- * @param string $result
- * @param string $timestamp
- * @param int $duration
- */
- public function __construct($projectName, $branchName, $stateName, $buildKey, $result, $timestamp, $duration)
- {
- $this->projectName = $projectName;
- $this->branchName = $branchName;
- $this->stateName = $stateName;
- $this->buildKey = $buildKey;
- $this->result = $result;
- $this->timestamp = $timestamp;
- $this->duration = $duration;
- }
-
- /**
- * Get name of the project.
- * @return string
- */
- public function getProjectName()
- {
- return $this->projectName;
- }
-
- /**
- * Get name of the branch.
- * @return string
- */
- public function getBranchName()
- {
- return $this->branchName;
- }
-
- /**
- * Get name of the state.
- * @return string
- */
- public function getStateName()
- {
- return $this->stateName;
- }
-
- /**
- * Get full name of the project build as used in CI.
- * @return string
- */
- public function getFullProjectName()
- {
- return $this->projectName . '_' . $this->branchName . '_' . $this->stateName;
- }
-
- /**
- * Get build key.
- * @return string
- */
- public function getBuildKey()
- {
- return $this->buildKey;
- }
-
- /**
- * Get build key short version.
- * @return string
- */
- public function getShortBuildKey()
- {
- if (strlen($this->buildKey) > self::SHORT_BUILDKEY_LENGTH)
- return substr($this->buildKey, 0, self::SHORT_BUILDKEY_LENGTH - 2) . '...';
- else
- return $this->buildKey;
- }
-
- /**
- * Get result (plain result without any possible flags).
- * @return string
- */
- public function getResult()
- {
- return $this->result;
- }
-
- /**
- * Get build timestamp.
- * @return int
- */
- public function getTimestamp()
- {
- return $this->timestamp;
- }
-
- /**
- * Get build duration.
- * @return int
- */
- public function getDuration()
- {
- return $this->duration;
- }
-
- /**
- * Convert the numeric build key to a five digit string needed for directory links (e.g. 123 to 00123)
- * @return string
- */
- public function getBuildKeyString()
- {
- $buildString = $this->buildKey;
- if (is_numeric($buildString)) {
- if ($this->buildKey < 10000)
- $buildString = '0' . $this->buildKey;
- if ($this->buildKey < 1000)
- $buildString = '00' . $this->buildKey;
- if ($this->buildKey < 100)
- $buildString = '000' . $this->buildKey;
- if ($this->buildKey < 10)
- $buildString = '0000' . $this->buildKey;
- }
- return $buildString;
- }
-
- /**
- * Get build directory link.
- * @return string
- */
- public function getBuildLink()
- {
- return Factory::getCiLogPath()
- . urlencode(self::getFullProjectName())
- . '/build_' . self::getBuildKeyString();
- }
-
- /**
- * Get log file link.
- * @return string
- */
- public function getLogLink()
- {
- return Factory::getCiLogPath()
- . urlencode(self::getFullProjectName())
- . '/build_' . self::getBuildKeyString()
- . '/log.txt.gz';
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/Testfunction.php b/non-puppet/qtmetrics2/src/Testfunction.php
deleted file mode 100644
index 8dc167b..0000000
--- a/non-puppet/qtmetrics2/src/Testfunction.php
+++ /dev/null
@@ -1,186 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Test function class
- * @since 21-09-2015
- * @author Juha Sippola
- */
-
-class Testfunction {
-
- /**
- * If the testfunction name long, a shorter version of the name can be requested
- */
- const SHORT_NAME_LENGTH = 50;
-
- /**
- * Testfunction name.
- * @var string
- */
- private $name;
-
- /**
- * Testset name the testfunction belongs to.
- * @var string
- */
- private $testsetName;
-
- /**
- * Project name the testset belongs to.
- * @var string
- */
- private $testsetProjectName;
-
- /**
- * Configuration name.
- * @var string
- */
- private $confName;
-
- /**
- * Count of testfunction results in the Project builds run since the last n days (all configurations).
- * @var array (int passed, int failed, int skipped)
- */
- private $resultCounts;
-
- /**
- * Count of testfunction blacklisted results in the Project builds run since the last n days (all configurations).
- * @var array (int bpassed, int btotal)
- */
- private $blacklistedCounts;
-
- /**
- * Testfunction constructor.
- * @param string $name
- * @param string $testsetName
- * @param string $testsetProjectName
- */
- public function __construct($name, $testsetName, $testsetProjectName, $confName)
- {
- $this->name = $name;
- $this->testsetName = $testsetName;
- $this->testsetProjectName = $testsetProjectName;
- $this->confName = $confName;
- $this->resultCounts = array('passed' => null, 'failed' => null, 'skipped' => null); // not initially set
- $this->blacklistedCounts = array('bpassed' => null, 'btotal' => null); // not initially set
- }
-
- /**
- * Get name of the testfunction.
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Get short name of the testfunction.
- * @return string
- */
- public function getShortName()
- {
- if (strlen($this->name) > self::SHORT_NAME_LENGTH)
- return substr($this->name, 0, self::SHORT_NAME_LENGTH - 10) . '...' . substr($this->name, -7);
- else
- return $this->name;
- }
-
- /**
- * Get testset name of the testfunction.
- * @return string
- */
- public function getTestsetName()
- {
- return $this->testsetName;
- }
-
- /**
- * Get project name of the testset.
- * @return string
- */
- public function getTestsetProjectName()
- {
- return $this->testsetProjectName;
- }
-
- /**
- * Get conf name.
- * @return string
- */
- public function getConfName()
- {
- return $this->confName;
- }
-
- /**
- * Get count of testfunction results in latest Project builds (all configurations, specified builds only).
- * @return array (int passed, int failed, int skipped)
- */
- public function getResultCounts()
- {
- return $this->resultCounts;
- }
-
- /**
- * Set count of testfunction results in latest Project builds (all configurations, specified builds only).
- */
- public function setResultCounts($passed, $failed, $skipped)
- {
- $this->resultCounts = array('passed' => $passed, 'failed' => $failed, 'skipped' => $skipped);
- return;
- }
-
- /**
- * Get count of testfunction blacklisted results in latest Project builds (all configurations, specified builds only).
- * @return array (int bpassed, int btotal)
- */
- public function getBlacklistedCounts()
- {
- return $this->blacklistedCounts;
- }
-
- /**
- * Set count of testfunction blacklisted results in latest Project builds (all configurations, specified builds only).
- */
- public function setBlacklistedCounts($bpassed, $btotal)
- {
- $this->blacklistedCounts = array('bpassed' => $bpassed, 'btotal' => $btotal);
- return;
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/TestfunctionRun.php b/non-puppet/qtmetrics2/src/TestfunctionRun.php
deleted file mode 100644
index 4c4619e..0000000
--- a/non-puppet/qtmetrics2/src/TestfunctionRun.php
+++ /dev/null
@@ -1,248 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * TestfunctionRun class
- * @since 17-09-2015
- * @author Juha Sippola
- */
-
-class TestfunctionRun extends ProjectRun {
-
- /**
- * Testfunction results (these must follow the enumeration in the database; excluding the blacklisted flag)
- */
- const RESULT_NOT_SET = NULL;
- const RESULT_EMPTY = "";
- const RESULT_NA = "na";
- const RESULT_SUCCESS = "pass";
- const RESULT_SUCCESS_UNEXPECTED = "xpass";
- const RESULT_FAILURE = "fail";
- const RESULT_FAILURE_EXPECTED = "xfail";
- const RESULT_SKIP = "skip";
- const RESULT_TESTROW_SUCCESS = "tr_pass";
- const RESULT_TESTROW_FAILURE = "tr_fail";
- const RESULT_TESTROW_SKIP = "tr_skip";
-
- /**
- * If the testfunction name long, a shorter version of the name can be requested
- */
- const SHORT_NAME_LENGTH = 50;
-
- /**
- * Testfunction name.
- * @var string
- */
- private $name;
-
- /**
- * Testset name.
- * @var string
- */
- private $testsetName;
-
- /**
- * Testset project name.
- * @var string
- */
- private $testsetProjectName;
-
- /**
- * Configuration name.
- * @var string
- */
- private $confName;
-
- /**
- * Blacklisted flag (true = blacklisted).
- * @var bool
- */
- private $blacklisted;
-
- /**
- * Children (true = has children).
- * @var bool
- */
- private $children;
-
- /**
- * TestfunctionRun constructor.
- * @param string $name
- * @param string $testsetName
- * @param string $testsetProjectName
- * @param string $projectName
- * @param string $branchName
- * @param string $stateName
- * @param int $buildKey
- * @param string $confName
- * @param string $result (plain result without any possible flags)
- * @param bool $blacklisted (true = blacklisted)
- * @param bool $children (true = has children)
- * @param string $timestamp
- * @param int $duration (in deciseconds)
- */
- public function __construct($name, $testsetName, $testsetProjectName, $projectName, $branchName, $stateName, $buildKey, $confName, $result, $blacklisted, $children, $timestamp, $duration) {
- parent::__construct($projectName, $branchName, $stateName, $buildKey, $result, $timestamp, $duration);
- $this->name = $name;
- $this->testsetName = $testsetName;
- $this->testsetProjectName = $testsetProjectName;
- $this->confName = $confName;
- $this->blacklisted = $blacklisted;
- $this->children = $children;
- }
-
- /**
- * Get name of the testfunction.
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Get short name of the testfunction.
- * @return string
- */
- public function getShortName()
- {
- if (strlen($this->name) > self::SHORT_NAME_LENGTH)
- return substr($this->name, 0, self::SHORT_NAME_LENGTH - 10) . '...' . substr($this->name, -7);
- else
- return $this->name;
- }
-
- /**
- * Get name of the testset project.
- * @return string
- */
- public function getTestsetProjectName()
- {
- return $this->testsetProjectName;
- }
-
- /**
- * Get name of the testset.
- * @return string
- */
- public function getTestsetName()
- {
- return $this->testsetName;
- }
-
- /**
- * Get configuration name.
- * @return string
- */
- public function getConfName()
- {
- return $this->confName;
- }
-
- /**
- * Get blacklisted flag.
- * @return bool (true = blacklisted)
- */
- public function getBlacklisted()
- {
- return $this->blacklisted;
- }
-
- /**
- * Get indication if children exist.
- * @return bool (true = has $children)
- */
- public function getChildren()
- {
- return $this->children;
- }
-
- /**
- * Strip the result in database from the combined blacklisted-result string or testrow-result string
- * @param string $resultString
- * @return string
- */
- public static function stripResult($resultString)
- {
- $resultString = str_replace('bpass', 'pass', $resultString); // remove the possible blacklisted flag
- $resultString = str_replace('bfail', 'fail', $resultString); // remove the possible blacklisted flag
- $resultString = str_replace('bx', 'x', $resultString); // remove the possible blacklisted flag
- $resultString = str_replace('bskip', 'skip', $resultString); // remove the possible blacklisted flag
- $resultString = str_replace('tr_pass', 'pass', $resultString); // replace the possible calculated testrow result
- $resultString = str_replace('tr_fail', 'fail', $resultString); // replace the possible calculated testrow result
- $resultString = str_replace('tr_skip', 'skip', $resultString); // replace the possible calculated testrow result
- return $resultString;
- }
-
- /**
- * Check the blacklisted flag from the combined blacklisted-result string
- * @param string $resultString
- * @return bool (true = blacklisted)
- */
- public static function isBlacklisted($resultString)
- {
- $flag = false;
- if (strpos($resultString, 'b') === 0) // begins with 'b'
- $flag = true;
- return $flag;
- }
-
- /**
- * Check if the testfunction has children (testrows)
- * @param string $resultString
- * @return bool (true = has children)
- */
- public static function hasChildren($resultString)
- {
- $flag = false;
- if (strpos($resultString, 'tr_') === 0) // calculated testrow results begin with 'tr_'
- $flag = true;
- return $flag;
- }
-
- /**
- * Get build directory link.
- * @return string
- */
- public function getBuildLink()
- {
- return Factory::getCiLogPath()
- . urlencode(parent::getFullProjectName())
- . '/build_' . parent::getBuildKeyString()
- . '/' . urlencode($this->confName);
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/Testrow.php b/non-puppet/qtmetrics2/src/Testrow.php
deleted file mode 100644
index 39f69c3..0000000
--- a/non-puppet/qtmetrics2/src/Testrow.php
+++ /dev/null
@@ -1,107 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Testrow class
- * @since 23-09-2015
- * @author Juha Sippola
- */
-
-class Testrow extends Testfunction {
-
- /**
- * Testfunction name.
- * @var string
- */
- private $testfunctionName;
-
- /**
- * Testrow constructor.
- * @param string $name
- * @param string $testfunctionName
- * @param string $testsetName
- * @param string $testsetProjectName
- * @param string $confName
- */
- public function __construct($name, $testfunctionName, $testsetName, $testsetProjectName, $confName) {
- parent::__construct($testfunctionName, $testsetName, $testsetProjectName, $confName);
- $this->name = $name;
- $this->testfunctionName = $testfunctionName;
- }
-
- /**
- * Get name of the testrow.
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Get short name of the testrow.
- * @return string
- */
- public function getShortName()
- {
- if (strlen($this->name) > parent::SHORT_NAME_LENGTH)
- return substr($this->name, 0, parent::SHORT_NAME_LENGTH - 10) . '...' . substr($this->name, -7);
- else
- return $this->name;
- }
-
- /**
- * Get name of the testfunction.
- * @return string
- */
- public function getTestfunctionName()
- {
- return $this->testfunctionName;
- }
-
- /**
- * Get short name of the testfunction.
- * @return string
- */
- public function getTestfunctionShortName()
- {
- if (strlen($this->testfunctionName) > parent::SHORT_NAME_LENGTH)
- return substr($this->testfunctionName, 0, parent::SHORT_NAME_LENGTH - 10) . '...' . substr($this->testfunctionName, -7);
- else
- return $this->testfunctionName;
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/TestrowRun.php b/non-puppet/qtmetrics2/src/TestrowRun.php
deleted file mode 100644
index 87d4c89..0000000
--- a/non-puppet/qtmetrics2/src/TestrowRun.php
+++ /dev/null
@@ -1,102 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * TestrowRun class
- * @since 16-09-2015
- * @author Juha Sippola
- */
-
-class TestrowRun extends TestfunctionRun {
-
- /**
- * Testfunction name.
- * @var string
- */
- private $testfunctionName;
-
- /**
- * TestrowRun constructor.
- * @param string $name
- * @param string $testfunctionName
- * @param string $testsetName
- * @param string $testsetProjectName
- * @param string $projectName
- * @param string $branchName
- * @param string $stateName
- * @param int $buildKey
- * @param string $confName
- * @param string $result (plain result without any possible flags)
- * @param bool $blacklisted (true = blacklisted)
- * @param string $timestamp
- */
- public function __construct($name, $testfunctionName, $testsetName, $testsetProjectName, $projectName, $branchName, $stateName, $buildKey, $confName, $result, $blacklisted, $timestamp) {
- parent::__construct($testfunctionName, $testsetName, $testsetProjectName, $projectName, $branchName, $stateName, $buildKey, $confName, $result, $blacklisted, false, $timestamp, 0);
- $this->name = $name;
- $this->testfunctionName = $testfunctionName;
- }
-
- /**
- * Get name of the testrow.
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Get short name of the testfunction.
- * @return string
- */
- public function getShortName()
- {
- if (strlen($this->name) > parent::SHORT_NAME_LENGTH)
- return substr($this->name, 0, parent::SHORT_NAME_LENGTH - 10) . '...' . substr($this->name, -7);
- else
- return $this->name;
- }
-
- /**
- * Get name of the testfunction.
- * @return string
- */
- public function getTestfunctionName()
- {
- return $this->testfunctionName;
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/Testset.php b/non-puppet/qtmetrics2/src/Testset.php
deleted file mode 100644
index 745da3b..0000000
--- a/non-puppet/qtmetrics2/src/Testset.php
+++ /dev/null
@@ -1,184 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Testset class
- * @since 30-09-2015
- * @author Juha Sippola
- */
-
-class Testset {
-
- /**
- * Testset status (starting from ok case and most fatal the last i.e. latter overwrites earlier)
- */
- const STATUS_EMPTY = 0;
- const STATUS_SUCCESS = 1;
- const STATUS_FAILURE = 2;
-
- /**
- * Testset name.
- * @var string
- */
- private $name;
-
- /**
- * Project name the testset belongs to.
- * @var string
- */
- private $projectName;
-
- /**
- * Testset status calculated from the latest configuration build results.
- * @var int
- */
- private $status;
-
- /**
- * Count of testset results in the Project builds run since the last n days (all configurations).
- * @var array (int passed, int failed)
- */
- private $testsetResultCounts;
-
- /**
- * Count of flaky testsets in the Project builds run since the last n days (all configurations).
- * @var array (int flaky, int total)
- */
- private $testsetFlakyCounts;
-
- /**
- * Testset constructor.
- * Testset indicates the status in its latest runs in state configuration in all branches
- * @param string $name
- * @param string $projectName
- */
- public function __construct($name, $projectName)
- {
- $this->name = $name;
- $this->projectName = $projectName;
- $this->status = TestsetRun::RESULT_EMPTY; // not initially set
- $this->testsetResultCounts = array('passed' => null, 'failed' => null); // not initially set
- $this->testsetFlakyCounts = array('flaky' => null, 'total' => null); // not initially set
- }
-
- /**
- * Get name of the testset.
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Get project name of the testset.
- * @return string
- */
- public function getProjectName()
- {
- return $this->projectName;
- }
-
- /**
- * Get status of the testset calculated from the latest configuration build results.
- * @return string
- */
- public function getStatus()
- {
- return $this->status;
- }
-
- /**
- * Set status of the testset calculated from the latest configuration build results (in specified builds only).
- * @param string $runProject
- * @param string $runState
- */
- public function setStatus($runProject, $runState)
- {
- $builds = Factory::db()->getLatestTestsetConfBuildResults($this->name, $this->projectName, $runProject, $runState);
- $status = self::STATUS_EMPTY;
- $statusText = TestsetRun::RESULT_EMPTY;
- foreach ($builds as $build) {
- if (TestsetRun::stripResult($build['result']) === TestsetRun::RESULT_SUCCESS AND $status <= self::STATUS_SUCCESS) {
- $status = self::STATUS_SUCCESS;
- $statusText = TestsetRun::RESULT_SUCCESS;
- }
- if (TestsetRun::stripResult($build['result']) === TestsetRun::RESULT_FAILURE AND $status <= self::STATUS_FAILURE) {
- $status = self::STATUS_FAILURE;
- $statusText = TestsetRun::RESULT_FAILURE;
- }
- }
- $this->status = $statusText;
- return;
- }
-
- /**
- * Get count of testset results in latest Project builds (all configurations, specified builds only).
- * @return array (int passed, int failed)
- */
- public function getTestsetResultCounts()
- {
- return $this->testsetResultCounts;
- }
-
- /**
- * Set count of testset results in latest Project builds (all configurations, specified builds only).
- */
- public function setTestsetResultCounts($passed, $failed)
- {
- $this->testsetResultCounts = array('passed' => $passed, 'failed' => $failed);
- return;
- }
-
- /**
- * Get count of flaky testsets in latest Project builds (all configurations, all builds).
- * @return array (int passed, int failed)
- */
- public function getTestsetFlakyCounts()
- {
- return $this->testsetFlakyCounts;
- }
-
- /**
- * Set count of flaky testsets in latest Project builds (all configurations, all builds).
- */
- public function setTestsetFlakyCounts($flaky, $total)
- {
- $this->testsetFlakyCounts = array('flaky' => $flaky, 'total' => $total);
- return;
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/TestsetRun.php b/non-puppet/qtmetrics2/src/TestsetRun.php
deleted file mode 100644
index 354682f..0000000
--- a/non-puppet/qtmetrics2/src/TestsetRun.php
+++ /dev/null
@@ -1,206 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * TestsetRun class
- * @since 30-09-2015
- * @author Juha Sippola
- */
-
-class TestsetRun extends ProjectRun {
-
- /**
- * Testset build results (these must follow the enumeration in the database; excluding the insignificance flag)
- */
- const RESULT_NOT_SET = NULL;
- const RESULT_EMPTY = "";
- const RESULT_SUCCESS = "passed";
- const RESULT_FAILURE = "failed";
-
- /**
- * If the tesset name is long, a shorter version of the name can be requested
- */
- const SHORT_NAME_LENGTH = 25;
-
- /**
- * Testset name.
- * @var string
- */
- private $name;
-
- /**
- * Testset project name.
- * @var string
- */
- private $testsetProjectName;
-
- /**
- * Configuration name.
- * @var string
- */
- private $confName;
-
- /**
- * Run number (a failed test is repeated).
- * @var int
- */
- private $run;
-
- /**
- * Insignificance flag (true = insignificant).
- * @var bool
- */
- private $insignificant;
-
- /**
- * TestsetRun constructor.
- * @param string $name
- * @param string $testsetProjectName
- * @param string $projectName
- * @param string $branchName
- * @param string $stateName
- * @param int $buildKey
- * @param string $confName
- * @param int $run (ordinal number)
- * @param string $result (plain result without any possible flags)
- * @param bool $insignificant (true = insignificant)
- * @param string $timestamp
- * @param int $duration (in deciseconds)
- */
- public function __construct($name, $testsetProjectName, $projectName, $branchName, $stateName, $buildKey, $confName, $run, $result, $insignificant, $timestamp, $duration) {
- parent::__construct($projectName, $branchName, $stateName, $buildKey, $result, $timestamp, $duration);
- $this->name = $name;
- $this->testsetProjectName = $testsetProjectName;
- $this->confName = $confName;
- $this->run = $run;
- $this->insignificant = $insignificant;
- }
-
- /**
- * Get name of the testset.
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Get short name.
- * @return string
- */
- public function getShortName()
- {
- if (strlen($this->name) > self::SHORT_NAME_LENGTH)
- return substr($this->name, 0, self::SHORT_NAME_LENGTH - 10) . '...' . substr($this->name, -7);
- else
- return $this->name;
- }
-
- /**
- * Get name of the testset project.
- * @return string
- */
- public function getTestsetProjectName()
- {
- return $this->testsetProjectName;
- }
-
- /**
- * Get configuration name.
- * @return string
- */
- public function getConfName()
- {
- return $this->confName;
- }
-
- /**
- * Get run number.
- * @return int
- */
- public function getRun()
- {
- return $this->run;
- }
-
- /**
- * Get insignificance flag.
- * @return bool (true = insignificant)
- */
- public function getInsignificant()
- {
- return $this->insignificant;
- }
-
- /**
- * Strip the result from the combined insignificance-result string
- * @param string $resultString
- * @return string
- */
- public static function stripResult($resultString)
- {
- $resultString = str_replace('ipass', 'pass', $resultString); // remove the possible insignificant flag
- $resultString = str_replace('ifail', 'fail', $resultString); // remove the possible insignificant flag
- return $resultString;
- }
-
- /**
- * Check the insignificance flag from the combined insignificance-result string
- * @param string $resultString
- * @return bool (true = insignificant)
- */
- public static function isInsignificant($resultString)
- {
- $flag = false;
- if (strpos($resultString, 'i') === 0) // begins with 'i'
- $flag = true;
- return $flag;
- }
-
- /**
- * Get build directory link.
- * @return string
- */
- public function getBuildLink()
- {
- return Factory::getCiLogPath()
- . urlencode(parent::getFullProjectName())
- . '/build_' . parent::getBuildKeyString()
- . '/' . urlencode($this->confName);
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/test/ConfTest.php b/non-puppet/qtmetrics2/src/test/ConfTest.php
deleted file mode 100644
index 04172d1..0000000
--- a/non-puppet/qtmetrics2/src/test/ConfTest.php
+++ /dev/null
@@ -1,90 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-require_once(__DIR__.'/../Factory.php');
-
-/**
- * Configuration unit test class
- * @example To run (in qtmetrics root directory): php <path-to-phpunit>/phpunit.phar ./src/test
- * @since 16-07-2015
- * @author Juha Sippola
- */
-
-class ConfTest extends PHPUnit_Framework_TestCase
-{
-
- /**
- * Test getName
- * @dataProvider testGetNameData
- */
- public function testGetName($name)
- {
- $conf = new Conf($name);
- $this->assertEquals($name, $conf->getName());
- }
- public function testGetNameData()
- {
- return array(
- array('linux-android-g++_Ubuntu_12.04_x64'),
- array('win32-msvc2010_developer-build_angle_Windows_7'),
- array('MyConf')
- );
- }
-
- /**
- * Test getStatus and setStatus
- * @dataProvider testGetStatusData
- */
- public function testGetStatus($name, $runProject, $runState, $exp_build_results, $has_data)
- {
- $conf = new Conf($name);
- if ($has_data) {
- $conf->setStatus($runProject, $runState);
- $this->assertContains($conf->getStatus(), $exp_build_results);
- } else {
- $this->assertEmpty($conf->getStatus());
- }
- }
- public function testGetStatusData()
- {
- return array(
- array('linux-android-g++_Ubuntu_12.04_x64', 'Qt5', 'state', array('SUCCESS', 'FAILURE', 'ABORTED', 'undef'), 1),
- array('win32-msvc2010_developer-build_angle_Windows_7', 'Qt5', 'state', array('SUCCESS', 'FAILURE', 'ABORTED', 'undef'), 1),
- array('InvalidConf', 'Qt5', 'state', array(), 0)
- );
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/test/DatabaseAdminTest.php b/non-puppet/qtmetrics2/src/test/DatabaseAdminTest.php
deleted file mode 100644
index 3e1b1e0..0000000
--- a/non-puppet/qtmetrics2/src/test/DatabaseAdminTest.php
+++ /dev/null
@@ -1,565 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-require_once(__DIR__.'/../Factory.php');
-
-/**
- * DatabaseAdmin unit test class
- * Some of the tests require the test data as inserted into database with qtmetrics_insert.sql
- * @example To run (in qtmetrics root directory): php <path-to-phpunit>/phpunit.phar ./src/test
- * @since 17-09-2015
- * @author Juha Sippola
- */
-
-class DatabaseAdminTest extends PHPUnit_Framework_TestCase
-{
-
- /**
- * Type for delete tests (only one can be tested at a time)
- */
- const DELETE_NONE = 0; // Do not delete (default to enable unit testing all classes)
- const DELETE_FROM_RUN_TABLE = 1; // Delete by id from each xxx_run table *)
- const DELETE_PROJECT_RUN_DATA = 2; // Delete by project_run id *)
- const DELETE_BRANCH = 3; // Delete by branch *)
- const DELETE_RUN_DATA = 4; // Delete by project_run state and date *)
- // *) Note: The data must be re-inserted into the database after each test run
- const DELETE_TEST_TYPE = self::DELETE_NONE;
-
- /**
- * Test getTablesStatistics
- * @dataProvider testGetTablesStatisticsData
- */
- public function testGetTablesStatistics($exp_table)
- {
- $items = array();
- $dbAdmin = Factory::dbAdmin();
- $result = $dbAdmin->getTablesStatistics();
- $this->assertNotEmpty($result);
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- $this->assertArrayHasKey('rowCount', $row);
- $items[] = $row['name'];
- }
- $this->assertContains($exp_table, $items);
- }
- public function testGetTablesStatisticsData()
- {
- return array(
- array('branch'),
- array('compiler'),
- array('conf'),
- array('conf_run'),
- array('db_status'),
- array('phase'),
- array('phase_run'),
- array('platform'),
- array('project'),
- array('project_run'),
- array('state'),
- array('testfunction'),
- array('testfunction_run'),
- array('testrow'),
- array('testrow_run'),
- array('testset'),
- array('testset_run')
- );
- }
-
- /**
- * Test getBranchesStatistics
- * @dataProvider testGetBranchesStatisticsData
- */
- public function testGetBranchesStatistics($exp_branch)
- {
- $items = array();
- $dbAdmin = Factory::dbAdmin();
- $result = $dbAdmin->getBranchesStatistics();
- $this->assertNotEmpty($result);
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- $this->assertArrayHasKey('archived', $row);
- $this->assertArrayHasKey('runCount', $row);
- $this->assertArrayHasKey('latestRun', $row);
- $items[] = $row['name'];
- }
- $this->assertContains($exp_branch, $items);
- }
- public function testGetBranchesStatisticsData()
- {
- return array(
- array('dev'),
- array('stable')
- );
- }
-
- /**
- * Test getProjectRunsStatistics
- */
- public function testGetProjectRunsStatistics()
- {
- $items = array();
- $dbAdmin = Factory::dbAdmin();
- $result = $dbAdmin->getProjectRunsStatistics();
- $this->assertNotEmpty($result);
- foreach($result as $row) {
- $this->assertArrayHasKey('state', $row);
- $this->assertArrayHasKey('year', $row);
- $this->assertArrayHasKey('month', $row);
- $this->assertArrayHasKey('day', $row);
- $this->assertArrayHasKey('runCount', $row);
- }
- }
-
- /**
- * Test getProjectRunIdsBranch
- * @dataProvider testGetProjectRunIdsBranchData
- */
- public function testGetProjectRunIdsBranch($branch, $has_data)
- {
- $dbAdmin = Factory::dbAdmin();
- $result = $dbAdmin->getProjectRunIdsBranch($branch);
- foreach($result as $row) {
- $this->assertArrayHasKey('id', $row);
- }
- if ($has_data) {
- $this->assertNotEmpty($result);
- } else {
- $this->assertEmpty($result);
- }
- }
- public function testGetProjectRunIdsBranchData()
- {
- return array(
- array('dev', 1),
- array('stable', 1),
- array('invalid', 0)
- );
- }
-
- /**
- * Test getProjectRunIdsDate
- * @dataProvider testGetProjectRunIdsDateData
- */
- public function testGetProjectRunIdsDate($state, $date, $has_data)
- {
- $dbAdmin = Factory::dbAdmin();
- $result = $dbAdmin->getProjectRunIdsDate($state, $date);
- foreach($result as $row) {
- $this->assertArrayHasKey('id', $row);
- }
- if ($has_data) {
- $this->assertNotEmpty($result);
- } else {
- $this->assertEmpty($result);
- }
- }
- public function testGetProjectRunIdsDateData()
- {
- return array(
- array('state', '2013-05-20', 1),
- array('state', '2013-04-02', 1),
- array('state', '2013-03-20', 1),
- array('state', '2013-02-01', 0),
- array('state', '2012-12-01', 1),
- array('state', 'invalid', 0),
- array('invalid', '2013-05-20', 0),
- );
- }
-
- /**
- * Test getConfRunIds
- * @dataProvider testGetConfRunIdsData
- */
- public function testGetConfRunIds($projectRunId, $has_data)
- {
- $dbAdmin = Factory::dbAdmin();
- $result = $dbAdmin->getConfRunIds($projectRunId);
- foreach($result as $row) {
- $this->assertArrayHasKey('id', $row);
- }
- if ($has_data) {
- $this->assertNotEmpty($result);
- } else {
- $this->assertEmpty($result);
- }
- }
- public function testGetConfRunIdsData()
- {
- return array(
- array(140, 1),
- array(0, 0)
- );
- }
-
- /**
- * Test getTestsetRunIds
- * @dataProvider testGetTestsetRunIdsData
- */
- public function testGetTestsetRunIds($confRunId, $has_data)
- {
- $dbAdmin = Factory::dbAdmin();
- $result = $dbAdmin->getTestsetRunIds($confRunId);
- foreach($result as $row) {
- $this->assertArrayHasKey('id', $row);
- }
- if ($has_data) {
- $this->assertNotEmpty($result);
- } else {
- $this->assertEmpty($result);
- }
- }
- public function testGetTestsetRunIdsData()
- {
- return array(
- array(260, 1),
- array(0, 0)
- );
- }
-
- /**
- * Test getTestfunctionRunIds
- * @dataProvider testGetTestfunctionRunIdsData
- */
- public function testGetTestfunctionRunIds($testsetRunId, $has_data)
- {
- $dbAdmin = Factory::dbAdmin();
- $result = $dbAdmin->getTestfunctionRunIds($testsetRunId);
- foreach($result as $row) {
- $this->assertArrayHasKey('id', $row);
- }
- if ($has_data) {
- $this->assertNotEmpty($result);
- } else {
- $this->assertEmpty($result);
- }
- }
- public function testGetTestfunctionRunIdsData()
- {
- return array(
- array(95, 1),
- array(0, 0)
- );
- }
-
- /**
- * Test deleteProjectRun, deleteConfRuns, deletePhaseRuns, deleteTestsetRuns, deleteTestfunctionRuns, deleteTestrowRuns
- * @dataProvider testDeleteRunData
- */
- public function testDeleteRun($projectRunId, $confRunId, $phaseRunId, $testsetRunId, $testfunctionRunId, $valid)
- {
- if (self::DELETE_TEST_TYPE === self::DELETE_FROM_RUN_TABLE) {
- $dbAdmin = Factory::dbAdmin();
- $before = $dbAdmin->getTablesStatistics();
- $result = $dbAdmin->deleteProjectRun($projectRunId);
- $this->assertTrue($result);
- $result = $dbAdmin->deleteConfRuns($projectRunId);
- $this->assertTrue($result);
- $result = $dbAdmin->deletePhaseRuns($confRunId);
- $this->assertTrue($result);
- $result = $dbAdmin->deleteTestsetRuns($confRunId);
- $this->assertTrue($result);
- $result = $dbAdmin->deleteTestfunctionRuns($testsetRunId);
- $this->assertTrue($result);
- $result = $dbAdmin->deleteTestrowRuns($testfunctionRunId);
- $this->assertTrue($result);
- $after = $dbAdmin->getTablesStatistics();
- foreach($after as $key => $row) {
- if (strpos($row['name'],'_run') !== false) {
- if ($valid) {
- $this->assertLessThan($before[$key]['rowCount'], $row['rowCount']);
- } else {
- $this->assertEquals($before[$key]['rowCount'], $row['rowCount']);
- }
- }
- }
- }
- }
- public function testDeleteRunData()
- {
- return array(
- array(140, 103, 280, 17, 23, 1), // Test data for testfunction "defaultFamily"
- array(999, 999, 999, 999, 999, 0)
- );
- }
-
- /**
- * Test deleteProjectRunData
- * @dataProvider testDeleteProjectRunDataData
- */
- public function testDeleteProjectRunData($projectRunId, $valid)
- {
- if (self::DELETE_TEST_TYPE === self::DELETE_PROJECT_RUN_DATA) {
- $dbAdmin = Factory::dbAdmin();
- $before = $dbAdmin->getTablesStatistics();
- $result = $dbAdmin->deleteProjectRunData($projectRunId);
- $this->assertTrue($result);
- $after = $dbAdmin->getTablesStatistics();
- foreach($after as $key => $row) {
- if (strpos($row['name'],'_run') !== false) {
- if ($valid) {
- $this->assertLessThan($before[$key]['rowCount'], $row['rowCount']);
- } else {
- $this->assertEquals($before[$key]['rowCount'], $row['rowCount']);
- }
- }
- }
- }
- }
- public function testDeleteProjectRunDataData()
- {
- return array(
- array(140, 1),
- array(999, 0)
- );
- }
-
- /**
- * Test deleteBranch and deleteProjectRunData
- * @dataProvider testDeleteBranchData
- */
- public function testDeleteBranch($runProject, $runState, $branch, $has_data, $step)
- {
- if (self::DELETE_TEST_TYPE === self::DELETE_BRANCH) {
- $db = Factory::db();
- $dbAdmin = Factory::dbAdmin();
- // Check that xxx_run tables have data initially
- if ($step === 'first') {
- $result = $dbAdmin->getTablesStatistics();
- foreach($result as $row) {
- if (strpos($row['name'],'_run') !== false) {
- $this->assertGreaterThan(0, $row['rowCount']);
- }
- }
- }
- if ($has_data) {
- // Check that project_runs exist for the branch initially
- $result = $db->getProjectBuildsByBranch($runProject, $runState);
- $branches = array();
- foreach($result as $row) {
- $branches[] = $row['branch'];
- }
- $this->assertContains($branch, $branches);
- // Check that conf_runs exist for the branch initially
- $result = $db->getConfBuildsByBranch($runProject, $runState);
- $branches = array();
- foreach($result as $row) {
- $branches[] = $row['branch'];
- }
- $this->assertContains($branch, $branches);
- }
- // Delete the branch data
- $branches = array();
- $result = $db->getBranches();
- foreach($result as $row) {
- $branches[] = $row['name'];
- }
- $this->assertContains($branch, $branches);
- $success = $dbAdmin->deleteBranch($branch);
- $this->assertTrue($success);
- $branches = array();
- $result = $db->getBranches();
- foreach($result as $row) {
- $branches[] = $row['name'];
- }
- $this->assertNotContains($branch, $branches);
- // Check if project_runs deleted
- $result = $db->getProjectBuildsByBranch($runProject, $runState);
- $branches = array();
- foreach($result as $row) {
- $branches[] = $row['branch'];
- }
- $this->assertNotContains($branch, $branches);
- // Check if conf_runs deleted
- $result = $db->getConfBuildsByBranch($runProject, $runState);
- $branches = array();
- foreach($result as $row) {
- $branches[] = $row['branch'];
- }
- $this->assertNotContains($branch, $branches);
- // Check that xxx_run tables are empty
- if ($step === 'last') {
- $result = $dbAdmin->getTablesStatistics();
- foreach($result as $row) {
- if (strpos($row['name'],'_run') !== false) {
- $this->assertEquals(0, $row['rowCount']);
- }
- }
- }
- }
- }
- public function testDeleteBranchData()
- {
- return array(
- array('Qt5', 'state', 'dev', 1, 'first'),
- array('Qt5', 'state', 'stable', 1, ''),
- array('Qt5', 'state', 'release', 1, ''),
- array('Qt5', 'state', 'master', 1, ''),
- array('Qt5', 'state', '1.2.3', 0, 'last')
- );
- }
-
- /**
- * Test archiveBranch and restoreBranch
- * @dataProvider testArchiveRestoreBranchData
- */
- public function testArchiveRestoreBranch($branch, $originalArchived)
- {
- $db = Factory::db();
- $dbAdmin = Factory::dbAdmin();
- // Set restored to start testing
- $result = $dbAdmin->restoreBranch($branch);
- $result = $db->getBranches();
- foreach($result as $row) {
- if ($row['name'] === $branch)
- $this->assertEquals(0, $row['archived']);
- }
- // Test archiveBranch
- $result = $dbAdmin->archiveBranch($branch);
- $this->assertTrue($result);
- $result = $db->getBranches();
- foreach($result as $row) {
- if ($row['name'] === $branch)
- $this->assertEquals(1, $row['archived']);
- }
- // Test restoreBranch
- $result = $dbAdmin->restoreBranch($branch);
- $this->assertTrue($result);
- $result = $db->getBranches();
- foreach($result as $row) {
- if ($row['name'] === $branch)
- $this->assertEquals(0, $row['archived']);
- }
- // Revert to original value (to not prevent other testing)
- if ($originalArchived)
- $result = $dbAdmin->archiveBranch($branch);
- else
- $result = $dbAdmin->restoreBranch($branch);
- }
- public function testArchiveRestoreBranchData()
- {
- return array(
- array('dev', 0),
- array('stable', 0),
- array('release', 1),
- array('master', 0),
- array('1.2.3', 0)
- );
- }
-
- /**
- * Test deleteRunsData and deleteProjectRunData
- * @dataProvider testDeleteRunsDataData
- */
- public function testDeleteRunsData($runProject, $runState, $state, $date, $has_data, $step)
- {
- if (self::DELETE_TEST_TYPE === self::DELETE_RUN_DATA) {
- $db = Factory::db();
- $dbAdmin = Factory::dbAdmin();
- if ($step === 'first') {
- // Check that xxx_run tables have data
- $result = $dbAdmin->getTablesStatistics();
- foreach($result as $row) {
- if (strpos($row['name'],'_run') !== false) {
- $this->assertGreaterThan(0, $row['rowCount']);
- }
- }
- }
- if ($has_data) {
- // Check that project_runs exist initially
- $result = $db->getProjectBuildsByBranch($runProject, $runState);
- $dates = array();
- foreach($result as $row) {
- $dates[] = substr($row['timestamp'], 0, strlen('2015-08-01'));
- }
- $this->assertContains($date, $dates);
- }
- // Delete the data
- $dbAdmin->deleteRunsData($state, $date);
- // Check if project_runs deleted
- $result = $db->getProjectBuildsByBranch($runProject, $runState);
- $dates = array();
- foreach($result as $row) {
- $dates[] = substr($row['timestamp'], 0, strlen('2015-08-01'));
- }
- $this->assertNotContains($date, $dates);
- if ($step === 'last') {
- // Check that xxx_run tables are empty
- $result = $dbAdmin->getTablesStatistics();
- foreach($result as $row) {
- if (strpos($row['name'],'_run') !== false) {
- $this->assertEquals(0, $row['rowCount']);
- }
- }
- }
- }
- }
- public function testDeleteRunsDataData()
- {
- return array(
- array('Qt5', 'state', 'state', '2013-05-20', '1', 'first'),
- array('Qt5', 'state', 'state', '2013-04-02', '1', ''),
- array('Qt5', 'state', 'state', '2013-03-20', '1', ''),
- array('Qt5', 'state', 'state', '2013-02-01', '0', ''),
- array('Qt5', 'state', 'state', '2012-12-01', '1', '')
- );
- }
-
- /**
- * Print info on the delete test type
- */
- public function testPrintDeleteTestInfo()
- {
- switch (self::DELETE_TEST_TYPE) {
- case self::DELETE_FROM_RUN_TABLE:
- echo ' Note: DatabaseAdmin delete test type DELETE_FROM_RUN_TABLE selected.';
- echo ' Please re-insert the data into the database before rerunning the tests!';
- break;
- case self::DELETE_PROJECT_RUN_DATA:
- echo ' Note: DatabaseAdmin delete test type DELETE_PROJECT_RUN_DATA selected.';
- echo ' Please re-insert the data into the database before rerunning the tests!';
- break;
- case self::DELETE_BRANCH:
- echo ' Note: DatabaseAdmin delete test type DELETE_BRANCH selected.';
- echo ' Please re-insert the data into the database before rerunning the tests!';
- break;
- case self::DELETE_RUN_DATA:
- echo ' Note: DatabaseAdmin delete test type DELETE_RUN_DATA selected.';
- echo ' Please re-insert the data into the database before rerunning the tests!';
- break;
- }
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/test/DatabaseTest.php b/non-puppet/qtmetrics2/src/test/DatabaseTest.php
deleted file mode 100644
index 2c79adf..0000000
--- a/non-puppet/qtmetrics2/src/test/DatabaseTest.php
+++ /dev/null
@@ -1,1472 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-require_once(__DIR__.'/../Factory.php');
-
-/**
- * Database unit test class
- * Some of the tests require the test data as inserted into database with qtmetrics_insert.sql
- * @example To run (in qtmetrics root directory): php <path-to-phpunit>/phpunit.phar ./src/test
- * @since 27-09-2015
- * @author Juha Sippola
- */
-
-class DatabaseTest extends PHPUnit_Framework_TestCase
-{
-
- /**
- * Test getProjects
- * @dataProvider testGetProjectsData
- */
- public function testGetProjects($exp_project)
- {
- $items = array();
- $db = Factory::db();
- $result = $db->getProjects();
- $this->assertNotEmpty($result);
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- $items[] = $row['name'];
- }
- $this->assertContains($exp_project, $items);
- }
- public function testGetProjectsData()
- {
- return array(
- array('qtbase'),
- array('Qt5')
- );
- }
-
- /**
- * Test getBranches
- * @dataProvider testGetBranchesData
- */
- public function testGetBranches($exp_branch, $exp_archived)
- {
- $items = array();
- $db = Factory::db();
- $result = $db->getBranches();
- $this->assertNotEmpty($result);
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- $this->assertArrayHasKey('archived', $row);
- $items[] = $row['name'];
- if ($row['name'] === $exp_branch)
- $this->assertEquals($exp_archived, $row['archived']);
- }
- $this->assertContains($exp_branch, $items);
- }
- public function testGetBranchesData()
- {
- return array(
- array('dev', 0),
- array('stable', 0),
- array('release', 1)
- );
- }
-
- /**
- * Test getStates
- * @dataProvider testGetStateData
- */
- public function testGetStates($exp_state)
- {
- $items = array();
- $db = Factory::db();
- $result = $db->getStates();
- $this->assertNotEmpty($result);
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- $items[] = $row['name'];
- }
- $this->assertContains($exp_state, $items);
- }
- public function testGetStateData()
- {
- return array(
- array('state')
- );
- }
-
- /**
- * Test getProjectsFiltered
- * @dataProvider testGetProjectsFilteredData
- */
- public function testGetProjectsFiltered($filter, $exp_match_count_min)
- {
- $db = Factory::db();
- $result = $db->getProjectsFiltered($filter);
- $this->assertGreaterThanOrEqual($exp_match_count_min, count($result));
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- }
- }
- public function testGetProjectsFilteredData()
- {
- return array(
- array('base', 1),
- array('ba', 3),
- array('qt', 35),
- array('invalid-name', 0)
- );
- }
-
- /**
- * Test getTestsets
- * @dataProvider testGetTestsetsData
- */
- public function testGetTestsets($exp_testset)
- {
- $items = array();
- $db = Factory::db();
- $result = $db->getTestsets();
- $this->assertNotEmpty($result);
- foreach($result as $row) {
- $this->assertArrayHasKey('id', $row);
- $this->assertArrayHasKey('name', $row);
- $this->assertArrayHasKey('project', $row);
- $items[] = $row['name'];
- }
- $this->assertContains($exp_testset, $items);
- }
- public function testGetTestsetsData()
- {
- return array(
- array('tst_qftp')
- );
- }
-
- /**
- * Test getTestsetsFiltered
- * @dataProvider testGetTestsetsFilteredData
- */
- public function testGetTestsetsFiltered($filter, $exp_match_count_min)
- {
- $db = Factory::db();
- $result = $db->getTestsetsFiltered($filter);
- $this->assertGreaterThanOrEqual($exp_match_count_min, count($result));
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- $this->assertArrayHasKey('project', $row);
- }
- }
- public function testGetTestsetsFilteredData()
- {
- return array(
- array('ftp', 1),
- array('ft', 2),
- array('tst', 3),
- array('invalid-name', 0)
- );
- }
-
- /**
- * Test getTestsetProject
- * @dataProvider testGetTestsetProjectData
- */
- public function testGetTestsetProject($testset, $exp_project, $exp_count)
- {
- $projects = array();
- $db = Factory::db();
- $result = $db->getTestsetProject($testset);
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- $this->assertArrayHasKey('project', $row);
- $projects[] = $row['project'];
- }
- $this->assertEquals($exp_count, count($projects));
- if ($exp_count > 0) {
- $this->assertNotEmpty($result);
- $this->assertContains($exp_project, $projects);
- }
- }
- public function testGetTestsetProjectData()
- {
- return array(
- array('tst_qfont', 'qtbase', 1),
- array('tst_qftp', 'qtbase', 2),
- array('tst_qftp', 'Qt5', 2),
- array('invalid-name', '', 0)
- );
- }
-
- /**
- * Test getTestfunctionsTestset
- * @dataProvider testGetTestfunctionsTestsetData
- */
- public function testGetTestfunctionsTestset($testset, $project, $exp_testfunction)
- {
- $items = array();
- $db = Factory::db();
- $result = $db->getTestfunctionsTestset($testset, $project);
- $this->assertNotEmpty($result);
- foreach($result as $row) {
- $this->assertArrayHasKey('id', $row);
- $this->assertArrayHasKey('testsetId', $row);
- $this->assertArrayHasKey('name', $row);
- $items[] = $row['name'];
- }
- $this->assertContains($exp_testfunction, $items);
- }
- public function testGetTestfunctionsTestsetData()
- {
- return array(
- array('tst_networkselftest', 'qtbase', 'cleanupTestCase'),
- array('tst_qfont', 'qtbase', 'defaultFamily'),
- array('tst_qftp', 'qtbase', 'binaryAscii')
- );
- }
-
- /**
- * Test getTargetPlatformOs
- * @dataProvider testGetTargetPlatformOsData
- */
- public function testGetTargetPlatformOs($exp_os, $exp_count)
- {
- $db = Factory::db();
- $result = $db->getTargetPlatformOs();
- $this->assertNotEmpty($result);
- $osCount = 0;
- foreach($result as $row) {
- $this->assertArrayHasKey('os', $row);
- if ($row['os'] === $exp_os)
- $osCount++;
- }
- $this->assertGreaterThanOrEqual($exp_count, $osCount);
- }
- public function testGetTargetPlatformOsData()
- {
- return array(
- array('linux', 1),
- array('windows', 1),
- array('invalid', 0)
- );
- }
-
- /**
- * Test getLatestProjectBranchBuildKeys
- * @dataProvider testGetLatestProjectBranchBuildKeysData
- */
- public function testGetLatestProjectBranchBuildKeys($project, $state, $exp_branch, $exp_key, $exp_archived)
- {
- $branches = array();
- $db = Factory::db();
- $result = $db->getLatestProjectBranchBuildKeys($project, $state);
- $this->assertNotEmpty($result);
- foreach($result as $row) {
- if ($row['name'] === $exp_branch) {
- $this->assertArrayHasKey('name', $row);
- $this->assertArrayHasKey('key', $row);
- $this->assertEquals($exp_key, $row['key']);
- $branches[] = $row['name'];
- }
- }
- if ($exp_archived)
- $this->assertNotContains($exp_branch, $branches);
- else
- $this->assertContains($exp_branch, $branches);
- }
- public function testGetLatestProjectBranchBuildKeysData()
- {
- return array(
- array('Qt5', 'state', 'master', 4777, 0), // based on test data
- array('Qt5', 'state', 'dev', 18446744073709551615, 0),
- array('Qt5', 'state', 'release', 157, 1),
- array('Qt5', 'state', 'stable', 1348, 0)
- );
- }
-
- /**
- * Test getLatestProjectBranchBuildKey
- * @dataProvider testGetLatestProjectBranchBuildKeyData
- */
- public function testGetLatestProjectBranchBuildKey($project, $branch, $state, $exp_key, $exp_archived)
- {
- $db = Factory::db();
- $result = $db->getLatestProjectBranchBuildKey($project, $branch, $state);
- if ($exp_archived) {
- $this->assertEmpty($result);
- } else {
- $this->assertNotEmpty($result);
- $this->assertEquals($exp_key, $result);
- }
- }
- public function testGetLatestProjectBranchBuildKeyData()
- {
- return array(
- array('Qt5', 'master', 'state', 4777, 0), // based on test data
- array('Qt5', 'dev', 'state', 18446744073709551615, 0),
- array('Qt5', 'release', 'state', 157, 1),
- array('Qt5', 'stable', 'state', 1348, 0)
- );
- }
-
- /**
- * Test getLatestProjectBranchBuildResults
- * @dataProvider testGetLatestProjectBranchBuildResultsData
- */
- public function testGetLatestProjectBranchBuildResults($project, $state, $exp_branch, $exp_results, $exp_archived)
- {
- $branches = array();
- $db = Factory::db();
- $result = $db->getLatestProjectBranchBuildResults($project, $state);
- $this->assertNotEmpty($result);
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- $this->assertArrayHasKey('result', $row);
- $this->assertArrayHasKey('buildKey', $row);
- $this->assertArrayHasKey('timestamp', $row);
- $this->assertArrayHasKey('duration', $row);
- $this->assertContains($row['result'], $exp_results);
- $branches[] = $row['name'];
- }
- if ($exp_archived)
- $this->assertNotContains($exp_branch, $branches);
- else
- $this->assertContains($exp_branch, $branches);
- }
- public function testGetLatestProjectBranchBuildResultsData()
- {
- return array(
- array('Qt5', 'state', 'dev', array('SUCCESS', 'FAILURE', 'ABORTED'), 0),
- array('Qt5', 'state', 'release', array('SUCCESS', 'FAILURE', 'ABORTED'), 1)
- );
- }
-
- /**
- * Test getLatestConfBranchBuildResults
- * @dataProvider testGetLatestConfBranchBuildResultsData
- */
- public function testGetLatestConfBranchBuildResults($conf, $project, $state, $exp_branch, $exp_results, $exp_archived)
- {
- $branches = array();
- $db = Factory::db();
- $result = $db->getLatestConfBranchBuildResults($conf, $project, $state);
- $this->assertNotEmpty($result);
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- $this->assertArrayHasKey('result', $row);
- $this->assertArrayHasKey('buildKey', $row);
- $this->assertArrayHasKey('forcesuccess', $row);
- $this->assertArrayHasKey('insignificant', $row);
- $this->assertArrayHasKey('timestamp', $row);
- $this->assertArrayHasKey('duration', $row);
- $this->assertContains($row['result'], $exp_results);
- $branches[] = $row['name'];
- }
- if ($exp_archived)
- $this->assertNotContains($exp_branch, $branches);
- else
- $this->assertContains($exp_branch, $branches);
- }
- public function testGetLatestConfBranchBuildResultsData()
- {
- return array(
- array('linux-g++-32_developer-build_Ubuntu_10.04_x86', 'Qt5', 'state', 'dev', array('SUCCESS', 'FAILURE', 'ABORTED'), 0),
- array('win32-msvc2010_developer-build_angle_Windows_7', 'Qt5', 'state', 'master', array('SUCCESS', 'FAILURE', 'ABORTED'), 0),
- array('win32-msvc2010_developer-build_angle_Windows_7', 'Qt5', 'state', 'release', array('SUCCESS', 'FAILURE', 'ABORTED'), 1),
- array('win32-msvc2010_developer-build_angle_Windows_7', 'Qt5', 'state', 'stable', array('SUCCESS', 'FAILURE', 'ABORTED'), 0)
- );
- }
-
- /**
- * Test getLatestConfBranchBuildResultsSum
- * @dataProvider testGetLatestConfBranchBuildResultsSumData
- */
- public function testGetLatestConfBranchBuildResultsSum($runProject, $runState, $exp_branches, $exp_achived_branches)
- {
- $confs = array();
- $db = Factory::db();
- $result = $db->getLatestConfBranchBuildResultsSum($runProject, $runState);
- $this->assertNotEmpty($result);
- foreach($result as $row) {
- $this->assertArrayHasKey('branch', $row);
- $this->assertArrayHasKey('buildKey', $row);
- $this->assertArrayHasKey('timestamp', $row);
- $this->assertArrayHasKey('passed', $row);
- $this->assertArrayHasKey('failed', $row);
- $this->assertArrayHasKey('aborted', $row);
- $this->assertArrayHasKey('undef', $row);
- $this->assertContains($row['branch'], $exp_branches);
- $this->assertNotContains($row['branch'], $exp_achived_branches);
- }
- }
- public function testGetLatestConfBranchBuildResultsSumData()
- {
- return array(
- array('Qt5', 'state', array('dev', 'stable', 'master'), array('release'))
- );
- }
-
- /**
- * Test getLatestProjectBranchTestsetResults
- * @dataProvider testGetLatestProjectBranchTestsetResultsData
- */
- public function testGetLatestProjectBranchTestsetResults($runProject, $runState, $exp_branches, $exp_achived_branches)
- {
- $confs = array();
- $db = Factory::db();
- $result = $db->getLatestProjectBranchTestsetResults($runProject, $runState);
- $this->assertNotEmpty($result);
- foreach($result as $row) {
- $this->assertArrayHasKey('project', $row);
- $this->assertArrayHasKey('branch', $row);
- $this->assertArrayHasKey('buildKey', $row);
- $this->assertArrayHasKey('timestamp', $row);
- $this->assertArrayHasKey('passed', $row);
- $this->assertArrayHasKey('failed', $row);
- $this->assertContains($row['branch'], $exp_branches);
- $this->assertNotContains($row['branch'], $exp_achived_branches);
- }
- }
- public function testGetLatestProjectBranchTestsetResultsData()
- {
- return array(
- array('Qt5', 'state', array('dev', 'stable', 'master'), array('release'))
- );
- }
-
- /**
- * Test getLatestProjectBranchTestsetResultsSum
- * @dataProvider testGetLatestProjectBranchTestsetResultsSumData
- */
- public function testGetLatestProjectBranchTestsetResultsSum($runProject, $runState, $exp_branches, $exp_achived_branches)
- {
- $confs = array();
- $db = Factory::db();
- $result = $db->getLatestProjectBranchTestsetResultsSum($runProject, $runState);
- $this->assertNotEmpty($result);
- foreach($result as $row) {
- $this->assertArrayHasKey('branch', $row);
- $this->assertArrayHasKey('buildKey', $row);
- $this->assertArrayHasKey('timestamp', $row);
- $this->assertArrayHasKey('passed', $row);
- $this->assertArrayHasKey('failed', $row);
- $this->assertContains($row['branch'], $exp_branches);
- $this->assertNotContains($row['branch'], $exp_achived_branches);
- }
- }
- public function testGetLatestProjectBranchTestsetResultsSumData()
- {
- return array(
- array('Qt5', 'state', array('dev', 'stable', 'master'), array('release'))
- );
- }
-
- /**
- * Test getLatestTestsetProjectBranchTestsetResults
- * @dataProvider testGetLatestTestsetProjectBranchTestsetResultsData
- */
- public function testGetLatestTestsetProjectBranchTestsetResults($testsetProject, $runProject, $runState, $exp_branches, $exp_achived_branches)
- {
- $confs = array();
- $db = Factory::db();
- $result = $db->getLatestTestsetProjectBranchTestsetResults($testsetProject, $runProject, $runState);
- $this->assertNotEmpty($result);
- foreach($result as $row) {
- $this->assertArrayHasKey('project', $row);
- $this->assertArrayHasKey('branch', $row);
- $this->assertArrayHasKey('buildKey', $row);
- $this->assertArrayHasKey('timestamp', $row);
- $this->assertArrayHasKey('passed', $row);
- $this->assertArrayHasKey('failed', $row);
- $this->assertContains($row['branch'], $exp_branches);
- $this->assertNotContains($row['branch'], $exp_achived_branches);
- }
- }
- public function testGetLatestTestsetProjectBranchTestsetResultsData()
- {
- return array(
- array('qtbase', 'Qt5', 'state', array('dev', 'stable', 'master'), array('release'))
- );
- }
-
- /**
- * Test getLatestTestsetConfBuildResults
- * @dataProvider testGetLatestTestsetConfBuildResultsData
- */
- public function testGetLatestTestsetConfBuildResults($testset, $testsetProject, $runProject, $runState, $exp_conf, $exp_branches, $exp_achived_branches, $exp_results)
- {
- $confs = array();
- $db = Factory::db();
- $result = $db->getLatestTestsetConfBuildResults($testset, $testsetProject, $runProject, $runState);
- $this->assertNotEmpty($result);
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- $this->assertArrayHasKey('branch', $row);
- $this->assertArrayHasKey('result', $row);
- $this->assertContains($row['branch'], $exp_branches);
- $this->assertNotContains($row['branch'], $exp_achived_branches);
- $this->assertContains($row['result'], $exp_results);
- $confs[] = $row['name'];
- }
- $this->assertContains($exp_conf, $confs);
- }
- public function testGetLatestTestsetConfBuildResultsData()
- {
- return array(
- array('tst_qftp', 'qtbase', 'Qt5', 'state', 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64',
- array('dev', 'stable', 'master'),
- array('release'),
- array('passed', 'failed', 'ipassed', 'ifailed')),
- array('tst_qftp', 'qtbase', 'Qt5', 'state', 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64',
- array('dev', 'stable', 'master'),
- array('release'),
- array('passed', 'failed', 'ipassed', 'ifailed')),
- array('tst_qfont', 'qtbase', 'Qt5', 'state', 'macx-clang_developer-build_OSX_10.8',
- array('dev', 'stable', 'master'),
- array('release'),
- array('passed', 'failed', 'ipassed', 'ifailed'))
- );
- }
-
- /**
- * Test getTestsetsResultCounts
- * @dataProvider testGetTestsetsResultCountsData
- */
- public function testGetTestsetsResultCounts($runProject, $runState, $date, $limit, $exp_testset, $exp_excluded_testset, $exp_testset_count_min, $exp_failed_min)
- {
- $testsets = array();
- $failed = 0;
- $db = Factory::db();
- $result = $db->getTestsetsResultCounts($runProject, $runState, $date, $limit);
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- $this->assertArrayHasKey('project', $row);
- $this->assertArrayHasKey('passed', $row);
- $this->assertArrayHasKey('failed', $row);
- $testsets[] = $row['name'];
- $failed += $row['failed'];
- }
- $this->assertGreaterThanOrEqual($exp_testset_count_min, count($testsets));
- if ($exp_testset_count_min > 0) {
- $this->assertNotEmpty($result);
- $this->assertContains($exp_testset, $testsets);
- $this->assertNotContains($exp_excluded_testset, $testsets);
- $this->assertGreaterThanOrEqual($exp_failed_min, $failed);
- }
- }
- public function testGetTestsetsResultCountsData()
- {
- return array(
- array('Qt5', 'state', '2013-05-01', 10, 'tst_qftp', 'tst_networkselftest', 2, 1), // in test data only tst_qfont and tst_qftp have failures
- array('Qt5', 'state', '2013-05-01', 1, 'tst_qftp', 'tst_networkselftest', 1, 1),
- array('Qt5', 'state', '2013-05-28', 10, 'tst_qftp', 'tst_networkselftest', 2, 1),
- array('Qt5', 'state', '2013-05-29', 10, '', '', 0, 0),
- array('Qt5', 'state', '2999-05-29', 10, '', '', 0, 0)
- );
- }
-
- /**
- * Test getTestsetResultCounts
- * @dataProvider testGetTestsetResultCountsData
- */
- public function testGetTestsetResultCounts($testset, $testsetProject, $runProject, $runState, $date, $exp_project, $exp_testset_count_min, $exp_failed_min)
- {
- $testsets = array();
- $failed = 0;
- $db = Factory::db();
- $result = $db->getTestsetResultCounts($testset, $testsetProject, $runProject, $runState, $date);
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- $this->assertArrayHasKey('project', $row);
- $this->assertArrayHasKey('passed', $row);
- $this->assertArrayHasKey('failed', $row);
- $testsets[] = $row['name'];
- $projects[] = $row['project'];
- $failed += $row['failed'];
- }
- $this->assertGreaterThanOrEqual($exp_testset_count_min, count($testsets));
- if ($exp_testset_count_min > 0) {
- $this->assertNotEmpty($result);
- $this->assertContains($testset, $testsets);
- $this->assertContains($exp_project, $projects);
- $this->assertGreaterThanOrEqual($exp_failed_min, $failed);
- }
- }
- public function testGetTestsetResultCountsData()
- {
- return array(
- array('tst_qftp', 'qtbase', 'Qt5', 'state', '2013-05-01', 'qtbase', 1, 1),
- array('tst_qftp', 'qtbase', 'Qt5', 'state', '2013-05-28', 'qtbase', 1, 1),
- array('tst_qftp', 'qtbase', 'Qt5', 'state', '2013-05-29', 'qtbase', 0, 0),
- array('tst_qftp', 'qtbase', 'Qt5', 'state', '2999-05-29', 'qtbase', 0, 0),
- array('tst_qftp', 'qtbase', 'qtbase', 'state', '2013-05-01', '', 0, 0), // QtBase build not run (Qt5 only)
- array('tst_networkselftest', 'qtbase', 'Qt5', 'state', '2013-05-01', 'qtbase', 1, 0), // tst_networkselftest has been run but not failed
- array('invalid-name', 'qtbase', 'Qt5', 'state', '2013-05-29', '', 0, 0),
- array('tst_qftp', 'invalid-name', 'Qt5', 'state', '2013-05-29', '', 0, 0)
- );
- }
-
- /**
- * Test getTestsetsFlakyCounts
- * @dataProvider testGetTestsetsFlakyCountsData
- */
- public function testGetTestsetsFlakyCounts($date, $limit, $exp_testset, $exp_excluded_testset, $exp_testset_count_min, $exp_flaky_min)
- {
- $testsets = array();
- $flaky = 0;
- $db = Factory::db();
- $result = $db->getTestsetsFlakyCounts($date, $limit);
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- $this->assertArrayHasKey('project', $row);
- $this->assertArrayHasKey('flaky', $row);
- $this->assertArrayHasKey('total', $row);
- $testsets[] = $row['name'];
- $flaky += $row['flaky'];
- }
- $this->assertGreaterThanOrEqual($exp_testset_count_min, count($testsets));
- if ($exp_testset_count_min > 0) {
- $this->assertNotEmpty($result);
- $this->assertContains($exp_testset, $testsets);
- $this->assertNotContains($exp_excluded_testset, $testsets);
- $this->assertGreaterThanOrEqual($exp_flaky_min, $flaky);
- }
- }
- public function testGetTestsetsFlakyCountsData()
- {
- return array(
- array('2013-05-01', 10, 'tst_qfont', 'tst_networkselftest', 2, 1), // in test data only tst_qfont and tst_qftp are flaky
- array('2013-05-28', 10, 'tst_qfont', 'tst_networkselftest', 1, 1),
- array('2013-05-01', 1, 'tst_qftp', 'tst_networkselftest', 1, 2),
- array('2013-05-29', 10, '', '', 0, 0),
- array('2999-05-29', 10, '', '', 0, 0)
- );
- }
-
- /**
- * Test getTestsetFlakyCounts
- * @dataProvider testGetTestsetFlakyCountsData
- */
- public function testGetTestsetFlakyCounts($testset, $testsetProject, $date, $exp_project, $exp_testset_count_min, $exp_flaky_min)
- {
- $testsets = array();
- $flaky = 0;
- $db = Factory::db();
- $result = $db->getTestsetFlakyCounts($testset, $testsetProject, $date);
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- $this->assertArrayHasKey('project', $row);
- $this->assertArrayHasKey('flaky', $row);
- $this->assertArrayHasKey('total', $row);
- $testsets[] = $row['name'];
- $projects[] = $row['project'];
- $flaky += $row['flaky'];
- }
- $this->assertGreaterThanOrEqual($exp_testset_count_min, count($testsets));
- if ($exp_testset_count_min > 0) {
- $this->assertNotEmpty($result);
- $this->assertContains($testset, $testsets);
- $this->assertContains($exp_project, $projects);
- $this->assertGreaterThanOrEqual($exp_flaky_min, $flaky);
- }
- }
- public function testGetTestsetFlakyCountsData()
- {
- return array(
- array('tst_qfont', 'qtbase', '2013-05-01', 'qtbase', 1, 1),
- array('tst_qfont', 'qtbase', '2013-05-28', 'qtbase', 1, 1),
- array('tst_qfont', 'qtbase', '2013-05-29', 'qtbase', 0, 0),
- array('tst_qfont', 'qtbase', '2999-05-29', 'qtbase', 0, 0),
- array('tst_networkselftest', 'qtbase', '2013-05-01', 'qtbase', 1, 0), // tst_networkselftest has been run but not flaky
- array('invalid-name', 'qtbase', '2013-05-29', '', 0, 0),
- array('tst_qfont', 'invalid-name', '2013-05-29', '', 0, 0)
- );
- }
-
- /**
- * Test getTestsetMaxDuration
- * @dataProvider testGetTestsetMaxDurationData
- */
- public function testGetTestsetMaxDuration($testsetId, $runProject, $runState, $date, $durationLimitSec, $exp_testset, $exp_durationSec, $has_data)
- {
- $testsets = array();
- $db = Factory::db();
- $result = $db->getTestsetMaxDuration($testsetId, $runProject, $runState, $date, $durationLimitSec);
- foreach($result as $row) {
- $this->assertArrayHasKey('testset', $row);
- $this->assertArrayHasKey('project', $row);
- $this->assertArrayHasKey('branch', $row);
- $this->assertArrayHasKey('conf', $row);
- $this->assertArrayHasKey('buildKey', $row);
- $this->assertArrayHasKey('timestamp', $row);
- $this->assertArrayHasKey('result', $row);
- $this->assertArrayHasKey('duration', $row);
- $testsets[] = $row['testset'];
- }
- if ($has_data) {
- $this->assertNotEmpty($result);
- $this->assertContains($exp_testset, $testsets);
- $this->assertEquals(1, count($testsets));
- $this->assertEquals($exp_durationSec, $row['duration']);
- } else {
- $this->assertEmpty($result);
- }
- }
- public function testGetTestsetMaxDurationData()
- {
- return array(
- array(3, 'Qt5', 'state', '2013-05-01', 90, 'tst_qftp', 813, 1), // duration is in seconds in the interface
- array(3, 'Qt5', 'state', '2013-05-28', 90, 'tst_qftp', 813, 1),
- array(3, 'Qt5', 'state', '2013-05-28', 900, 'tst_qftp', 0, 0),
- array(3, 'Qt5', 'state', '2013-05-29', 90, 'tst_qftp', 0, 0),
- array(999, 'Qt5', 'state', '2013-05-29', 90, 'invalid', 0, 0)
- );
- }
-
- /**
- * Test getTestfunctionMaxDuration
- * @dataProvider testGetTestfunctionMaxDurationData
- */
- public function testGetTestfunctionMaxDuration($testfunctionId, $testsetId, $runProject, $runState, $date, $durationLimitSec, $exp_testfunction, $exp_durationSec, $has_data)
- {
- $testfunctions = array();
- $db = Factory::db();
- $result = $db->getTestfunctionMaxDuration($testfunctionId, $testsetId, $runProject, $runState, $date, $durationLimitSec);
- foreach($result as $row) {
- $this->assertArrayHasKey('testfunction', $row);
- $this->assertArrayHasKey('testset', $row);
- $this->assertArrayHasKey('project', $row);
- $this->assertArrayHasKey('branch', $row);
- $this->assertArrayHasKey('conf', $row);
- $this->assertArrayHasKey('buildKey', $row);
- $this->assertArrayHasKey('timestamp', $row);
- $this->assertArrayHasKey('result', $row);
- $this->assertArrayHasKey('duration', $row);
- $testfunctions[] = $row['testfunction'];
- }
- if ($has_data) {
- $this->assertNotEmpty($result);
- $this->assertContains($exp_testfunction, $testfunctions);
- $this->assertEquals(1, count($testfunctions));
- $this->assertEquals($exp_durationSec, $row['duration']);
- } else {
- $this->assertEmpty($result);
- }
- }
- public function testGetTestfunctionMaxDurationData()
- {
- return array(
- array(39, 3, 'Qt5', 'state', '2013-05-01', 5, 'binaryAscii', 31.1, 1), // duration is in seconds in the interface
- array(39, 3, 'Qt5', 'state', '2013-05-28', 5, 'binaryAscii', 0, 0),
- array(39, 3, 'Qt5', 'state', '2013-05-01', 900, 'binaryAscii', 0, 0),
- array(31, 2, 'Qt5', 'state', '2013-05-01', 5, 'resetFont', 6.1, 1),
- array(18, 1, 'Qt5', 'state', '2013-05-01', 0.2, 'socks5Proxy', 0.2, 1),
- array(999, 999, 'Qt5', 'state', '2013-05-29', 5, 'invalid', 0, 0)
- );
- }
-
- /**
- * Test getTestfunctionsResultCounts
- * @dataProvider testGetTestfunctionsResultCountsData
- */
- public function testGetTestfunctionsResultCounts($runProject, $runState, $date, $limit, $exp_testfunction, $exp_excluded_testfunction, $exp_testfunction_count_min, $exp_failed_min)
- {
- $testfunctions = array();
- $failed = 0;
- $db = Factory::db();
- $result = $db->getTestfunctionsResultCounts($runProject, $runState, $date, $limit);
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- $this->assertArrayHasKey('testset', $row);
- $this->assertArrayHasKey('project', $row);
- $this->assertArrayHasKey('passed', $row);
- $this->assertArrayHasKey('failed', $row);
- $this->assertArrayHasKey('skipped', $row);
- $testfunctions[] = $row['name'];
- $failed += $row['failed'];
- }
- $this->assertGreaterThanOrEqual($exp_testfunction_count_min, count($testfunctions));
- if ($exp_testfunction_count_min > 0) {
- $this->assertNotEmpty($result);
- $this->assertContains($exp_testfunction, $testfunctions);
- $this->assertNotContains($exp_excluded_testfunction, $testfunctions);
- $this->assertGreaterThanOrEqual($exp_failed_min, $failed);
- }
- }
- public function testGetTestfunctionsResultCountsData()
- {
- return array(
- array('Qt5', 'state', '2013-05-01', 10, 'exactMatch', 'commandSequence', 2, 1), // in test data exactMatch has failures and commandSequence doesn't
- array('Qt5', 'state', '2013-05-01', 1, 'defaultFamily', 'commandSequence', 1, 1), // defaultFamily is the first
- array('Qt5', 'state', '2013-05-28', 10, 'exactMatch', 'commandSequence', 2, 1),
- array('Qt5', 'state', '2013-05-29', 10, '', '', 0, 0),
- array('Qt5', 'state', '2999-05-29', 10, '', '', 0, 0)
- );
- }
-
- /**
- * Test getTestfunctionsBlacklistedPassedCounts
- * @dataProvider testGetTestfunctionsBlacklistedPassedCountsData
- */
- public function testGetTestfunctionsBlacklistedPassedCounts($runProject, $runState, $date, $exp_testfunction, $exp_excluded_testfunction, $exp_testfunction_count_min, $exp_bpassed_min)
- {
- $testfunctions = array();
- $bpassed = 0;
- $db = Factory::db();
- $result = $db->getTestfunctionsBlacklistedPassedCounts($runProject, $runState, $date);
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- $this->assertArrayHasKey('testset', $row);
- $this->assertArrayHasKey('project', $row);
- $this->assertArrayHasKey('conf', $row);
- $this->assertArrayHasKey('bpassed', $row);
- $this->assertArrayHasKey('btotal', $row);
- $this->assertEquals($row['btotal'], $row['bpassed']);
- $testfunctions[] = $row['name'];
- $bpassed += $row['bpassed'];
- }
- $this->assertGreaterThanOrEqual($exp_testfunction_count_min, count($testfunctions));
- if ($exp_testfunction_count_min > 0) {
- $this->assertNotEmpty($result);
- $this->assertContains($exp_testfunction, $testfunctions);
- $this->assertNotContains($exp_excluded_testfunction, $testfunctions);
- $this->assertGreaterThanOrEqual($exp_bpassed_min, $bpassed);
- }
- }
- public function testGetTestfunctionsBlacklistedPassedCountsData()
- {
- return array(
- array('Qt5', 'state', '2013-05-01', 'lastResortFont', 'resetFont', 1, 1), // in test data lastResortFont has bpassed and resetFont doesn't
- array('Qt5', 'state', '2013-05-01', 'lastResortFont', 'styleName', 1, 1), // in test data lastResortFont has bpassed and styleName has bskipped as well
- array('Qt5', 'state', '2013-05-29', '', '', 0, 0),
- array('Qt5', 'state', '2999-05-29', '', '', 0, 0)
- );
- }
-
- /**
- * Test getTestfunctionsBlacklistedPassedCountsTestset
- * @dataProvider testGetTestfunctionsBlacklistedPassedCountsTestsetData
- */
- public function testGetTestfunctionsBlacklistedPassedCountsTestset($testset, $project, $runProject, $runState, $date, $exp_testfunction, $exp_excluded_testfunction, $exp_testfunction_count_min, $exp_bpassed_min)
- {
- $testfunctions = array();
- $bpassed = 0;
- $db = Factory::db();
- $result = $db->getTestfunctionsBlacklistedPassedCountsTestset($testset, $project, $runProject, $runState, $date);
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- $this->assertArrayHasKey('testset', $row);
- $this->assertArrayHasKey('project', $row);
- $this->assertArrayHasKey('conf', $row);
- $this->assertArrayHasKey('bpassed', $row);
- $this->assertArrayHasKey('btotal', $row);
- $this->assertEquals($row['btotal'], $row['bpassed']);
- $testfunctions[] = $row['name'];
- $bpassed += $row['bpassed'];
- }
- $this->assertGreaterThanOrEqual($exp_testfunction_count_min, count($testfunctions));
- if ($exp_testfunction_count_min > 0) {
- $this->assertNotEmpty($result);
- $this->assertContains($exp_testfunction, $testfunctions);
- $this->assertNotContains($exp_excluded_testfunction, $testfunctions);
- $this->assertGreaterThanOrEqual($exp_bpassed_min, $bpassed);
- }
- }
- public function testGetTestfunctionsBlacklistedPassedCountsTestsetData()
- {
- return array(
- array('tst_qfont', 'qtbase', 'Qt5', 'state', '2013-05-01', 'lastResortFont', 'resetFont', 1, 1), // in test data lastResortFont has bpassed and resetFont doesn't
- array('tst_qfont', 'qtbase', 'Qt5', 'state', '2013-05-01', 'lastResortFont', 'styleName', 1, 1), // in test data lastResortFont has bpassed and styleName has bskipped as well
- array('tst_qftp', 'qtbase', 'Qt5', 'state', '2013-05-01', 'lastResortFont', 'styleName', 0, 0),
- array('tst_qfont', 'qtbase', 'Qt5', 'state', '2013-05-29', '', '', 0, 0),
- array('tst_qfont', 'qtbase', 'Qt5', 'state', '2999-05-29', '', '', 0, 0)
- );
- }
-
- /**
- * Test getTestrowsBlacklistedPassedCountsTestset
- * @dataProvider testGetTestrowsBlacklistedPassedCountsTestsetData
- */
- public function testGetTestrowsBlacklistedPassedCountsTestset($testset, $project, $runProject, $runState, $date, $exp_testrow, $exp_excluded_testrow, $exp_testrow_count_min, $exp_bpassed_min)
- {
- $testrows = array();
- $bpassed = 0;
- $db = Factory::db();
- $result = $db->getTestrowsBlacklistedPassedCountsTestset($testset, $project, $runProject, $runState, $date);
- foreach($result as $row) {
- $this->assertArrayHasKey('name', $row);
- $this->assertArrayHasKey('testset', $row);
- $this->assertArrayHasKey('testfunction', $row);
- $this->assertArrayHasKey('project', $row);
- $this->assertArrayHasKey('conf', $row);
- $this->assertArrayHasKey('bpassed', $row);
- $this->assertArrayHasKey('btotal', $row);
- $this->assertEquals($row['btotal'], $row['bpassed']);
- $testrows[] = $row['name'];
- $bpassed += $row['bpassed'];
- }
- $this->assertGreaterThanOrEqual($exp_testrow_count_min, count($testrows));
- if ($exp_testrow_count_min > 0) {
- $this->assertNotEmpty($result);
- $this->assertContains($exp_testrow, $testrows);
- $this->assertNotContains($exp_excluded_testrow, $testrows);
- $this->assertGreaterThanOrEqual($exp_bpassed_min, $bpassed);
- }
- }
- public function testGetTestrowsBlacklistedPassedCountsTestsetData()
- {
- return array(
- array('tst_qfont', 'qtbase', 'Qt5', 'state', '2013-05-01', 'cursive', 'serif', 1, 1), // in test data cursive has bpassed and serif doesn't
- array('tst_qftp', 'qtbase', 'Qt5', 'state', '2013-05-01', '', '', 0, 0),
- array('tst_qfont', 'qtbase', 'Qt5', 'state', '2013-05-29', '', '', 0, 0),
- array('tst_qfont', 'qtbase', 'Qt5', 'state', '2999-05-29', '', '', 0, 0)
- );
- }
-
- /**
- * Test getProjectBuildsByBranch
- * @dataProvider testGetProjectBuildsByBranchData
- */
- public function testGetProjectBuildsByBranch($runProject, $runState, $exp_branch, $exp_key, $exp_archived, $has_data)
- {
- $branches = array();
- $keys = array();
- $db = Factory::db();
- $result = $db->getProjectBuildsByBranch($runProject, $runState);
- foreach($result as $row) {
- $this->assertArrayHasKey('branch', $row);
- $this->assertArrayHasKey('buildKey', $row);
- $this->assertArrayHasKey('timestamp', $row);
- $branches[] = $row['branch'];
- $keys[] = $row['buildKey'];
- }
- if ($has_data) {
- $this->assertNotEmpty($result);
- if ($exp_archived) {
- $this->assertNotContains($exp_branch, $branches);
- } else {
- $this->assertContains($exp_branch, $branches);
- $this->assertContains($exp_key, $keys);
- }
- } else {
- $this->assertEmpty($result);
- }
- }
- public function testGetProjectBuildsByBranchData()
- {
- return array(
- array('Qt5', 'state', 'dev', 1023, 0, 1),
- array('Qt5', 'state', 'stable', 1348, 0, 1),
- array('Qt5', 'state', 'stable', 1348, 0, 1),
- array('Qt5', 'state', 'stable', 1348, 0, 1),
- array('Qt5', 'state', 'dev', 18446744073709551615, 0, 1),
- array('Qt5', 'state', 'release', 157, 1, 1),
- array('Qt5', 'invalid', '', 0, 0, 0)
- );
- }
-
- /**
- * Test getConfBuildsByBranch
- * @dataProvider testGetConfBuildsByBranchData
- */
- public function testGetConfBuildsByBranch($runProject, $runState, $exp_branch, $exp_conf, $exp_key, $exp_result, $exp_archived, $has_data)
- {
- $branches = array();
- $confs = array();
- $keys = array();
- $results = array();
- $db = Factory::db();
- $result = $db->getConfBuildsByBranch($runProject, $runState);
- foreach($result as $row) {
- $this->assertArrayHasKey('branch', $row);
- $this->assertArrayHasKey('conf', $row);
- $this->assertArrayHasKey('buildKey', $row);
- $this->assertArrayHasKey('forcesuccess', $row);
- $this->assertArrayHasKey('insignificant', $row);
- $this->assertArrayHasKey('result', $row);
- $this->assertArrayHasKey('timestamp', $row);
- $this->assertArrayHasKey('duration', $row);
- $branches[] = $row['branch'];
- $confs[] = $row['conf'];
- $keys[] = $row['buildKey'];
- $results[] = $row['result'];
- }
- if ($has_data) {
- $this->assertNotEmpty($result);
- if ($exp_archived) {
- $this->assertNotContains($exp_branch, $branches);
- } else {
- $this->assertContains($exp_branch, $branches);
- $this->assertContains($exp_conf, $confs);
- $this->assertContains($exp_key, $keys);
- $this->assertContains($exp_result, $results);
- }
- } else {
- $this->assertEmpty($result);
- }
- }
- public function testGetConfBuildsByBranchData()
- {
- return array(
- array('Qt5', 'state', 'dev', 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64', 1023, 'FAILURE', 0, 1),
- array('Qt5', 'state', 'stable', 'win32-msvc2010_developer-build_angle_Windows_7', 1348, 'SUCCESS', 0, 1),
- array('Qt5', 'state', 'stable', 'macx-clang_developer-build_OSX_10.8', 1348, 'SUCCESS', 0, 1),
- array('Qt5', 'state', 'dev', 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 18446744073709551615, 'FAILURE', 0, 1),
- array('Qt5', 'state', 'release', 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 157, 'SUCCESS', 1, 1),
- array('Qt5', 'invalid', '', '', 0, '', 0, 0)
- );
- }
-
- /**
- * Test getConfOsBuildsByBranch
- * @dataProvider testGetConfOsBuildsByBranchData
- */
- public function testGetConfOsBuildsByBranch($runProject, $runState, $targetOs, $exp_branch, $exp_conf, $exp_key, $exp_result, $exp_archived, $has_data, $has_conf)
- {
- $branches = array();
- $confs = array();
- $keys = array();
- $results = array();
- $db = Factory::db();
- $result = $db->getConfOsBuildsByBranch($runProject, $runState, $targetOs);
- foreach($result as $row) {
- $this->assertArrayHasKey('branch', $row);
- $this->assertArrayHasKey('conf', $row);
- $this->assertArrayHasKey('buildKey', $row);
- $this->assertArrayHasKey('forcesuccess', $row);
- $this->assertArrayHasKey('insignificant', $row);
- $this->assertArrayHasKey('result', $row);
- $this->assertArrayHasKey('timestamp', $row);
- $this->assertArrayHasKey('duration', $row);
- $branches[] = $row['branch'];
- $confs[] = $row['conf'];
- $keys[] = $row['buildKey'];
- $results[] = $row['result'];
- }
- if ($has_data) {
- $this->assertNotEmpty($result);
- if ($exp_archived) {
- $this->assertNotContains($exp_branch, $branches);
- } else {
- $this->assertContains($exp_branch, $branches);
- if ($has_conf)
- $this->assertContains($exp_conf, $confs);
- else
- $this->assertNotContains($exp_conf, $confs);
- $this->assertContains($exp_key, $keys);
- $this->assertContains($exp_result, $results);
- }
- } else {
- $this->assertEmpty($result);
- }
- }
- public function testGetConfOsBuildsByBranchData()
- {
- return array(
- array('Qt5', 'state', 'linux', 'dev', 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64', 1023, 'FAILURE', 0, 1, 1),
- array('Qt5', 'state', 'linux', 'dev', 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 18446744073709551615, 'FAILURE', 0, 1, 1),
- array('Qt5', 'state', 'windows', 'stable', 'win32-msvc2010_developer-build_angle_Windows_7', 1348, 'SUCCESS', 0, 1, 1),
- array('Qt5', 'state', 'osx', 'stable', 'macx-clang_developer-build_OSX_10.8', 1348, 'SUCCESS', 0, 1, 1),
- array('Qt5', 'state', 'linux', 'stable', 'macx-clang_developer-build_OSX_10.8', 1348, 'SUCCESS', 0, 1, 0),
- array('Qt5', 'state', 'linux', 'release', 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 157, 'SUCCESS', 1, 1, 1),
- array('Qt5', 'state', 'invalid', '', '', 0, '', 0, 0, 0)
- );
- }
-
- /**
- * Test getConfBuildByBranch
- * @dataProvider testGetConfBuildByBranchData
- */
- public function testGetConfBuildByBranch($runProject, $runState, $conf, $exp_branch, $exp_conf, $exp_key, $exp_result, $exp_archived, $has_data, $has_conf)
- {
- $branches = array();
- $confs = array();
- $keys = array();
- $results = array();
- $db = Factory::db();
- $result = $db->getConfBuildByBranch($runProject, $runState, $conf);
- foreach($result as $row) {
- $this->assertArrayHasKey('branch', $row);
- $this->assertArrayHasKey('conf', $row);
- $this->assertArrayHasKey('buildKey', $row);
- $this->assertArrayHasKey('forcesuccess', $row);
- $this->assertArrayHasKey('insignificant', $row);
- $this->assertArrayHasKey('result', $row);
- $this->assertArrayHasKey('timestamp', $row);
- $this->assertArrayHasKey('duration', $row);
- $branches[] = $row['branch'];
- $confs[] = $row['conf'];
- $keys[] = $row['buildKey'];
- $results[] = $row['result'];
- }
- if ($has_data) {
- $this->assertNotEmpty($result);
- if ($exp_archived) {
- $this->assertNotContains($exp_branch, $branches);
- } else {
- $this->assertContains($exp_branch, $branches);
- if ($has_conf)
- $this->assertContains($exp_conf, $confs);
- else
- $this->assertNotContains($exp_conf, $confs);
- $this->assertContains($exp_key, $keys);
- $this->assertContains($exp_result, $results);
- }
- } else {
- $this->assertEmpty($result);
- }
- }
- public function testGetConfBuildByBranchData()
- {
- return array(
- array('Qt5', 'state', 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64', 'dev', 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64', 1023, 'FAILURE', 0, 1, 1),
- array('Qt5', 'state', 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 'dev', 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 18446744073709551615, 'FAILURE', 0, 1, 1),
- array('Qt5', 'state', 'win32-msvc2010_developer-build_angle_Windows_7', 'stable', 'win32-msvc2010_developer-build_angle_Windows_7', 1348, 'SUCCESS', 0, 1, 1),
- array('Qt5', 'state', 'macx-clang_developer-build_OSX_10.8', 'stable', 'macx-clang_developer-build_OSX_10.8', 1348, 'SUCCESS', 0, 1, 1),
- array('Qt5', 'state', 'win32-msvc2010_developer-build_angle_Windows_7', 'stable', 'macx-clang_developer-build_OSX_10.8', 1348, 'SUCCESS', 0, 1, 0),
- array('Qt5', 'state', 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 'release', 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 157, 'SUCCESS', 1, 1, 0),
- array('Qt5', 'state', 'invalid', '', '', 0, '', 0, 0, 0)
- );
- }
-
- /**
- * Test getTestsetResultsByBranchConf
- * @dataProvider testGetTestsetResultsByBranchConfData
- */
- public function testGetTestsetResultsByBranchConf($testset, $testsetProject, $runProject, $runState, $exp_branch, $exp_conf, $exp_key, $exp_result, $has_data)
- {
- $branches = array();
- $confs = array();
- $keys = array();
- $results = array();
- $db = Factory::db();
- $result = $db->getTestsetResultsByBranchConf($testset, $testsetProject, $runProject, $runState);
- foreach($result as $row) {
- $this->assertArrayHasKey('branch', $row);
- $this->assertArrayHasKey('conf', $row);
- $this->assertArrayHasKey('buildKey', $row);
- $this->assertArrayHasKey('result', $row);
- $this->assertArrayHasKey('timestamp', $row);
- $this->assertArrayHasKey('duration', $row);
- $this->assertArrayHasKey('run', $row);
- $branches[] = $row['branch'];
- $confs[] = $row['conf'];
- $keys[] = $row['buildKey'];
- $results[] = $row['result'];
- }
- if ($has_data) {
- $this->assertNotEmpty($result);
- $this->assertContains($exp_branch, $branches);
- $this->assertContains($exp_conf, $confs);
- $this->assertContains($exp_key, $keys);
- $this->assertContains($exp_result, $results);
- } else {
- $this->assertEmpty($result);
- }
- }
- public function testGetTestsetResultsByBranchConfData()
- {
- return array(
- array('tst_qftp', 'Qt5', 'Qt5', 'state', '', '', '', '', 0),
- array('tst_qftp', 'QtBase', 'Qt5', 'state', 'dev', 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64', 1023, 'ifailed', 1),
- array('tst_qftp', 'QtBase', 'Qt5', 'state', 'stable', 'win32-msvc2010_developer-build_angle_Windows_7', 1348, 'ipassed', 1),
- array('tst_qfont', 'QtBase', 'Qt5', 'state', 'stable', 'macx-clang_developer-build_OSX_10.8', 1348, 'failed', 1),
- array('tst_qfont', 'QtBase', 'Qt5', 'state', 'stable', 'win32-msvc2010_developer-build_angle_Windows_7', 1348, 'passed', 1),
- array('tst_qfont', 'QtBase', 'Qt5', 'state', 'dev', 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 18446744073709551615, 'failed', 1)
- );
- }
-
- /**
- * Test getTestsetProjectResultsByBranchConf
- * @dataProvider testGetTestsetProjectResultsByBranchConfData
- */
- public function testGetTestsetProjectResultsByBranchConf($testsetProject, $runProject, $runState, $exp_branch, $exp_conf, $exp_key, $has_data)
- {
- $branches = array();
- $confs = array();
- $keys = array();
- $db = Factory::db();
- $result = $db->getTestsetProjectResultsByBranchConf($testsetProject, $runProject, $runState);
- foreach($result as $row) {
- $this->assertArrayHasKey('branch', $row);
- $this->assertArrayHasKey('conf', $row);
- $this->assertArrayHasKey('buildKey', $row);
- $this->assertArrayHasKey('passed', $row);
- $this->assertArrayHasKey('ipassed', $row);
- $this->assertArrayHasKey('failed', $row);
- $this->assertArrayHasKey('ifailed', $row);
- $branches[] = $row['branch'];
- $confs[] = $row['conf'];
- $keys[] = $row['buildKey'];
- }
- if ($has_data) {
- $this->assertNotEmpty($result);
- $this->assertContains($exp_branch, $branches);
- $this->assertContains($exp_conf, $confs);
- $this->assertContains($exp_key, $keys);
- } else {
- $this->assertEmpty($result);
- }
- }
- public function testGetTestsetProjectResultsByBranchConfData()
- {
- return array(
- array('QtBase', 'Qt5', 'state', 'dev', 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64', 1023, 1),
- array('QtBase', 'Qt5', 'state', 'stable', 'win32-msvc2010_developer-build_angle_Windows_7', 1348, 1),
- array('QtBase', 'Qt5', 'state', 'stable', 'macx-clang_developer-build_OSX_10.8', 1348, 1),
- array('QtBase', 'Qt5', 'state', 'stable', 'win32-msvc2010_developer-build_angle_Windows_7', 1348, 1),
- array('QtBase', 'Qt5', 'state', 'dev', 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 18446744073709551615, 1),
- array('Qt5', 'Qt5', 'invalid', '', '', '', 0, 0)
- );
- }
-
- /**
- * Test getTestsetConfResultsByBranch
- * @dataProvider testGetTestsetConfResultsByBranchData
- */
- public function testGetTestsetConfResultsByBranch($conf, $runProject, $runState, $exp_branch, $exp_testset, $exp_testset_excluded, $exp_project, $exp_key, $has_data)
- {
- $branches = array();
- $keys = array();
- $testsets = array();
- $projects = array();
- $db = Factory::db();
- $result = $db->getTestsetConfResultsByBranch($conf, $runProject, $runState);
- foreach($result as $row) {
- $this->assertArrayHasKey('branch', $row);
- $this->assertArrayHasKey('buildKey', $row);
- $this->assertArrayHasKey('testset', $row);
- $this->assertArrayHasKey('project', $row);
- $this->assertArrayHasKey('result', $row);
- $this->assertArrayHasKey('timestamp', $row);
- $this->assertArrayHasKey('duration', $row);
- $this->assertArrayHasKey('run', $row);
- $branches[] = $row['branch'];
- $keys[] = $row['buildKey'];
- $testsets[] = $row['testset'];
- $projects[] = $row['project'];
- }
- if ($has_data) {
- $this->assertNotEmpty($result);
- $this->assertContains($exp_branch, $branches);
- $this->assertContains($exp_key, $keys);
- $this->assertContains($exp_testset, $testsets);
- $this->assertNotContains($exp_testset_excluded, $testsets);
- $this->assertContains($exp_project, $projects);
- } else {
- $this->assertEmpty($result);
- }
- }
- public function testGetTestsetConfResultsByBranchData()
- {
- return array(
- array('linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64', 'Qt5', 'state', 'dev', 'tst_qftp', 'na', 'qtbase', 1023, 1),
- array('linux-g++-32_developer-build_Ubuntu_10.04_x86', 'Qt5', 'state', 'stable', 'tst_qftp', 'na', 'qtbase', 1348, 1),
- array('macx-clang_developer-build_OSX_10.8', 'Qt5', 'state', 'stable', 'tst_qfont', 'tst_networkselftest', 'qtbase', 1348, 1),
- array('linux-g++-32_developer-build_Ubuntu_10.04_x86', 'Qt5', 'state', 'dev', 'tst_qftp', 'na', 'qtbase', 18446744073709551615, 1),
- array('invalid', 'Qt5', 'state', '', '', '', '', 0, 0)
- );
- }
-
- /**
- * Test getTestsetConfProjectResultsByBranch
- * @dataProvider testGetTestsetConfProjectResultsByBranchData
- */
- public function testGetTestsetConfProjectResultsByBranch($conf, $testsetProject, $runProject, $runState, $exp_branch, $exp_testset, $exp_testset_excluded, $exp_project, $exp_key, $has_data)
- {
- $branches = array();
- $keys = array();
- $testsets = array();
- $projects = array();
- $db = Factory::db();
- $result = $db->getTestsetConfProjectResultsByBranch($conf, $testsetProject, $runProject, $runState);
- foreach($result as $row) {
- $this->assertArrayHasKey('branch', $row);
- $this->assertArrayHasKey('buildKey', $row);
- $this->assertArrayHasKey('testset', $row);
- $this->assertArrayHasKey('project', $row);
- $this->assertArrayHasKey('result', $row);
- $this->assertArrayHasKey('timestamp', $row);
- $this->assertArrayHasKey('duration', $row);
- $this->assertArrayHasKey('run', $row);
- $branches[] = $row['branch'];
- $keys[] = $row['buildKey'];
- $testsets[] = $row['testset'];
- $projects[] = $row['project'];
- }
- if ($has_data) {
- $this->assertNotEmpty($result);
- $this->assertContains($exp_branch, $branches);
- $this->assertContains($exp_key, $keys);
- $this->assertContains($exp_testset, $testsets);
- $this->assertNotContains($exp_testset_excluded, $testsets);
- $this->assertContains($exp_project, $projects);
- } else {
- $this->assertEmpty($result);
- }
- }
- public function testGetTestsetConfProjectResultsByBranchData()
- {
- return array(
- array('linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64', 'qtbase', 'Qt5', 'state', 'dev', 'tst_qftp', 'na', 'qtbase', 1023, 1),
- array('linux-g++-32_developer-build_Ubuntu_10.04_x86', 'qtbase', 'Qt5', 'state', 'stable', 'tst_qftp', 'na', 'qtbase', 1348, 1),
- array('macx-clang_developer-build_OSX_10.8', 'qtbase', 'Qt5', 'state', 'stable', 'tst_qfont', 'tst_networkselftest', 'qtbase', 1348, 1),
- array('linux-g++-32_developer-build_Ubuntu_10.04_x86', 'qtbase', 'Qt5', 'state', 'dev', 'tst_qftp', 'na', 'qtbase', 18446744073709551615, 1),
- array('linux-g++-32_developer-build_Ubuntu_10.04_x86', 'invalid', 'Qt5', 'state', '', '', '', '', 0, 0),
- array('invalid', 'qtbase', 'Qt5', 'state', '', '', '', '', 0, 0)
- );
- }
-
- /**
- * Test getTestfunctionConfResultsByBranch
- * @dataProvider testGetTestfunctionConfResultsByBranchData
- */
- public function testGetTestfunctionConfResultsByBranch($testset, $testsetProject, $conf, $runProject, $runState, $exp_branch, $exp_testfunction, $exp_result, $exp_key, $has_data)
- {
- $branches = array();
- $results = array();
- $keys = array();
- $testfunctions = array();
- $db = Factory::db();
- $result = $db->getTestfunctionConfResultsByBranch($testset, $testsetProject, $conf, $runProject, $runState);
- foreach($result as $row) {
- $this->assertArrayHasKey('branch', $row);
- $this->assertArrayHasKey('buildKey', $row);
- $this->assertArrayHasKey('testfunction', $row);
- $this->assertArrayHasKey('result', $row);
- $this->assertArrayHasKey('timestamp', $row);
- $this->assertArrayHasKey('duration', $row);
- $branches[] = $row['branch'];
- $results[] = $row['result'];
- $keys[] = $row['buildKey'];
- $testfunctions[] = $row['testfunction'];
- }
- if ($has_data) {
- $this->assertNotEmpty($result);
- $this->assertContains($exp_branch, $branches);
- $this->assertContains($exp_result, $results);
- $this->assertContains($exp_key, $keys);
- $this->assertContains($exp_testfunction, $testfunctions);
- } else {
- $this->assertEmpty($result);
- }
- }
- public function testGetTestfunctionConfResultsByBranchData()
- {
- return array(
- array('tst_qfont', 'qtbase', 'macx-clang_developer-build_OSX_10.8', 'Qt5', 'state', 'stable', 'exactMatch', 'fail', 1348, 1),
- array('tst_qfont', 'qtbase', 'macx-clang_developer-build_OSX_10.8', 'Qt5', 'state', 'stable', 'lastResortFont', 'skip', 1348, 1),
- array('tst_qfont', 'qtbase', 'macx-clang_developer-build_OSX_10.8', 'Qt5', 'state', 'stable', 'lastResortFont', 'bpass', 1346, 1),
- array('tst_networkselftest', 'qtbase', 'macx-clang_developer-build_OSX_10.8', 'Qt5', 'state', 'stable', 'smbServer', 'skip', 1348, 1),
- array('tst_qftp', 'qtbase', 'macx-clang_developer-build_OSX_10.8', 'Qt5', 'state', '', '', '', 0, 0), // no fail or skip
- array('tst_qfont', 'qtbase', 'invalid', 'Qt5', 'state', '', '', '', 0, 0)
- );
- }
-
- /**
- * Test getTestrowConfResultsByBranch
- * @dataProvider testGetTestrowConfResultsByBranchData
- */
- public function testGetTestrowConfResultsByBranch($testfunction, $testset, $testsetProject, $conf, $runProject, $runState, $exp_branch, $exp_testrow, $exp_key, $has_data)
- {
- $branches = array();
- $keys = array();
- $testrows = array();
- $db = Factory::db();
- $result = $db->getTestrowConfResultsByBranch($testfunction, $testset, $testsetProject, $conf, $runProject, $runState);
- foreach($result as $row) {
- $this->assertArrayHasKey('branch', $row);
- $this->assertArrayHasKey('buildKey', $row);
- $this->assertArrayHasKey('testrow', $row);
- $this->assertArrayHasKey('result', $row);
- $this->assertArrayHasKey('timestamp', $row);
- $branches[] = $row['branch'];
- $keys[] = $row['buildKey'];
- $testrows[] = $row['testrow'];
- }
- if ($has_data) {
- $this->assertNotEmpty($result);
- $this->assertContains($exp_branch, $branches);
- $this->assertContains($exp_key, $keys);
- $this->assertContains($exp_testrow, $testrows);
- } else {
- $this->assertEmpty($result);
- }
- }
- public function testGetTestrowConfResultsByBranchData()
- {
- return array(
- array('defaultFamily', 'tst_qfont', 'qtbase', 'macx-clang_developer-build_OSX_10.8', 'Qt5', 'state', 'stable', 'monospace', 1346, 1), // xpass
- array('defaultFamily', 'tst_qfont', 'qtbase', 'macx-clang_developer-build_OSX_10.8', 'Qt5', 'state', 'stable', 'sans-serif', 1346, 1), // xfail
- array('defaultFamily', 'tst_qfont', 'qtbase', 'macx-clang_developer-build_OSX_10.8', 'Qt5', 'state', 'stable', 'serif', 1346, 1), // bskip
- array('binaryAscii', 'tst_qftp', 'qtbase', 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64', 'Qt5', 'state', 'dev', 'WithSocks5ProxyAndSession', 1023, 1), // fail
- array('httpServerFiles', 'tst_networkselftest', 'qtbase', 'macx-clang_developer-build_OSX_10.8', 'Qt5', 'state', '', '', 0, 0), // no fail or skip
- array('defaultFamily', 'tst_qfont', 'qtbase', 'invalid', 'Qt5', 'state', '', '', 0, 0)
- );
- }
-
- /**
- * Test getDbRefreshed
- */
- public function testGetDbRefreshed()
- {
- $db = Factory::db();
- $timestamp = $db->getDbRefreshed();
- $this->assertNotEmpty($timestamp);
- $this->assertStringStartsWith('20', $timestamp);
- $this->assertEquals(19, strlen($timestamp)); // e.g. "2015-05-04 10:00:00"
- }
-
- /**
- * Test getDbRefreshStatus
- * @dataProvider testGetDbRefreshStatusData
- */
- public function testGetDbRefreshStatus($exp_in_progress, $exp_current, $exp_total)
- {
- $items = array();
- $db = Factory::db();
- $result = $db->getDbRefreshStatus();
- $this->assertNotEmpty($result);
- $this->assertArrayHasKey('refreshed', $result);
- $this->assertArrayHasKey('in_progress', $result);
- $this->assertArrayHasKey('current', $result);
- $this->assertArrayHasKey('total', $result);
- $this->assertEquals(19, strlen($result['refreshed'])); // e.g. "2015-05-04 10:00:00"
- $this->assertEquals($exp_in_progress, $result['in_progress']);
- $this->assertEquals($exp_current, $result['current']);
- $this->assertEquals($exp_total, $result['total']);
- }
- public function testGetDbRefreshStatusData()
- {
- return array(
- array(0, 0, 0)
- );
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/test/FactoryTest.php b/non-puppet/qtmetrics2/src/test/FactoryTest.php
deleted file mode 100644
index 2c2632c..0000000
--- a/non-puppet/qtmetrics2/src/test/FactoryTest.php
+++ /dev/null
@@ -1,632 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-require_once(__DIR__.'/../Factory.php');
-
-/**
- * Factory unit test class
- * @example To run (in qtmetrics root directory): php <path-to-phpunit>/phpunit.phar ./src/test
- * @since 24-09-2015
- * @author Juha Sippola
- */
-
-class FactoryTest extends PHPUnit_Framework_TestCase
-{
-
- /**
- * Test Factory
- */
- public function testSingleton()
- {
- $db = Factory::db();
- $this->assertEquals(Factory::db(), $db);
- $conf = Factory::conf();
- $this->assertEquals(Factory::conf(), $conf);
- }
-
- /**
- * Test conf
- */
- public function testConf()
- {
- Factory::setRuntimeConf('my_key', 'my_value');
- $conf = Factory::conf();
- $this->assertEquals('my_value', $conf['my_key']);
- Factory::setRuntimeConf('my_key', null);
- $conf = Factory::conf();
- $this->assertEquals(null, $conf['my_key']);
- }
-
- /**
- * Test db
- */
- public function testDb()
- {
- $db = Factory::db();
- $this->assertTrue($db instanceof Database);
- }
-
- /**
- * Test dbAdmin
- */
- public function testDbAdmin()
- {
- $db = Factory::dbAdmin();
- $this->assertTrue($db instanceof DatabaseAdmin);
- }
-
- /**
- * Test getCiLogPath
- * @dataProvider testGetCiLogPathData
- */
- public function testGetCiLogPath($exp_path)
- {
- $path = Factory::getCiLogPath();
- $this->assertEquals($exp_path, $path);
- }
- public function testGetCiLogPathData()
- {
- return array(
- array('http://testresults.qt.io/ci/')
- );
- }
-
- /**
- * Test checkTestset
- * @dataProvider testCheckTestsetData
- */
- public function testCheckTestset($testset, $exp_match)
- {
- $booMatch = Factory::checkTestset($testset);
- $this->assertEquals($exp_match, $booMatch);
- }
- public function testCheckTestsetData()
- {
- return array(
- array('tst_qftp', true),
- array('tst_qfont', true),
- array('tst_qfon', false),
- array('tst_qfontt', false),
- array('qfont', false),
- array('invalid-name', false)
- );
- }
-
- /**
- * Test getProjectsFiltered
- * @dataProvider testGetProjectsFilteredData
- */
- public function testGetProjectsFiltered($project, $exp_count)
- {
- $result = Factory::getProjectsFiltered($project);
- $this->assertEquals($exp_count, count($result));
- }
- public function testGetProjectsFilteredData()
- {
- return array(
- array('', 35), // test data includes 35 projects
- array('qt',35), // all
- array('ba', 3),
- array('bas', 1),
- array('base', 1),
- array('qtbase', 1),
- array('QtBase', 1),
- array('invalid-name', 0)
- );
- }
-
- /**
- * Test getTestsetsFiltered
- * @dataProvider testGetTestsetsFilteredData
- */
- public function testGetTestsetsFiltered($testset, $exp_count)
- {
- $result = Factory::getTestsetsFiltered($testset);
- $this->assertEquals($exp_count, count($result));
- }
- public function testGetTestsetsFilteredData()
- {
- return array(
- array('', 4), // test data includes four testsets
- array('f', 4), // all
- array('ft', 3), // tst_qftp (twice) and tst_networkselftest
- array('ftp', 2), // tst_qftp (twice)
- array('tst_qftp', 2),
- array('tst_qfont', 1),
- array('tst_qfon', 1),
- array('tst_qfontt', 0),
- array('qfont', 1),
- array('invalid-name', 0)
- );
- }
-
- /**
- * Test createProject
- * @dataProvider testCreateProjectData
- */
- public function testCreateProject($project, $runProject, $runState)
- {
- $project = Factory::createProject($project, $runProject, $runState);
- $this->assertTrue($project instanceof Project);
- if ($project->getName() === $runProject) { // check only the projects with project_run data
- $this->assertNotEmpty($project->getStatus());
- }
- }
- public function testCreateProjectData()
- {
- return array(
- array('Qt5', 'Qt5', 'state',) // project with project_run data
- );
- }
-
- /**
- * Test createConf
- * @dataProvider testCreateConfData
- */
- public function testCreateConf($conf, $runProject, $runState)
- {
- $conf = Factory::createConf($conf, $runProject, $runState);
- $this->assertTrue($conf instanceof Conf);
- $this->assertNotEmpty($conf->getStatus());
- }
- public function testCreateConfData()
- {
- return array(
- array('win32-msvc2010_developer-build_angle_Windows_7', 'Qt5', 'state',)
- );
- }
-
- /**
- * Test createTestsets
- * @dataProvider testCreateTestsetsData
- */
- public function testCreateTestsets($listType, $runProject, $runState, $status_check)
- {
- $testsets = Factory::createTestsets($listType, $runProject, $runState);
- foreach($testsets as $testset) {
- $this->assertTrue($testset instanceof Testset);
- $status = $testset->getStatus();
- if (in_array($testset->getName(), $status_check)) {
- $this->assertNotEmpty($status);
- } else {
- $this->assertEmpty($status);
- }
- $result = $testset->getTestsetResultCounts();
- $this->assertNotNull($result);
- $this->assertArrayHasKey('passed', $result);
- $this->assertArrayHasKey('failed', $result);
- $flaky = $testset->getTestsetFlakyCounts();
- $this->assertNotNull($flaky);
- $this->assertArrayHasKey('flaky', $flaky);
- $this->assertArrayHasKey('total', $flaky);
- }
- }
- public function testCreateTestsetsData()
- {
- return array(
- array(
- Factory::LIST_FAILURES,
- 'Qt5',
- 'state',
- array('tst_qftp', 'tst_qfont', 'tst_networkselftest') // check only the testsets with testset_run data
- ),
- array(
- Factory::LIST_FLAKY,
- 'Qt5',
- 'state',
- array('not-set') // status not set for flaky list
- )
- );
- }
-
- /**
- * Test createTestset
- * @dataProvider testCreateTestsetData
- */
- public function testCreateTestset($name, $project, $runProject, $runState)
- {
- $testsets = Factory::createTestset($name, $project, $runProject, $runState);
- foreach($testsets as $testset) {
- $this->assertTrue($testset instanceof Testset);
- if ($testset->getProjectName() === $project) {
- $status = $testset->getStatus();
- $this->assertNotEmpty($status);
- $result = $testset->getTestsetResultCounts();
- $this->assertNotNull($result);
- $this->assertArrayHasKey('passed', $result);
- $this->assertArrayHasKey('failed', $result);
- $flaky = $testset->getTestsetFlakyCounts();
- $this->assertNotNull($flaky);
- $this->assertArrayHasKey('flaky', $flaky);
- $this->assertArrayHasKey('total', $flaky);
- }
- }
- }
- public function testCreateTestsetData()
- {
- return array(
- array('tst_qftp', 'qtbase', 'Qt5', 'state',), // testset with testset_run data
- array('tst_qfont', 'qtbase', 'Qt5', 'state',) // testset with testset_run data
- );
- }
-
- /**
- * Test createTestfunctions
- * @dataProvider testCreateTestfunctionsData
- */
- public function testCreateTestfunctions($listType, $testset, $project, $runProject, $runState)
- {
- $testfunctions = Factory::createTestfunctions($listType, $testset, $project, $runProject, $runState);
- foreach($testfunctions as $testfunction) {
- $this->assertTrue($testfunction instanceof Testfunction);
- $result = $testfunction->getResultCounts();
- $this->assertNotNull($result);
- $this->assertArrayHasKey('passed', $result);
- $this->assertArrayHasKey('failed', $result);
- $this->assertArrayHasKey('skipped', $result);
- $blacklisted = $testfunction->getBlacklistedCounts();
- $this->assertNotNull($blacklisted);
- $this->assertArrayHasKey('bpassed', $blacklisted);
- $this->assertArrayHasKey('btotal', $blacklisted);
- }
- }
- public function testCreateTestfunctionsData()
- {
- return array(
- array(Factory::LIST_FAILURES, 'tst_qfont', 'qtbase', 'Qt5', 'state'),
- array(Factory::LIST_FAILURES, 'tst_qftp', 'qtbase', 'Qt5', 'state'),
- array(Factory::LIST_FAILURES, '', '', 'Qt5', 'state'),
- array(Factory::LIST_BPASSES, 'tst_qfont', 'qtbase', 'Qt5', 'state'),
- array(Factory::LIST_BPASSES, 'tst_qftp', 'qtbase', 'Qt5', 'state'),
- array(Factory::LIST_BPASSES, '', '', 'Qt5', 'state')
- );
- }
-
- /**
- * Test createTestrows
- * @dataProvider testCreateTestrowsData
- */
- public function testCreateTestrows($testset, $project, $runProject, $runState)
- {
- $testrows = Factory::createTestrows($testset, $project, $runProject, $runState);
- foreach($testrows as $testrow) {
- $this->assertTrue($testrow instanceof Testrow);
- $blacklisted = $testrow->getBlacklistedCounts();
- $this->assertNotNull($blacklisted);
- $this->assertArrayHasKey('bpassed', $blacklisted);
- $this->assertArrayHasKey('btotal', $blacklisted);
- }
- }
- public function testCreateTestrowsData()
- {
- return array(
- array('tst_qfont', 'qtbase', 'Qt5', 'state'),
- array('tst_qftp', 'qtbase', 'Qt5', 'state')
- );
- }
-
- /**
- * Test createProjectRuns
- * @dataProvider testCreateProjectRunsData
- */
- public function testCreateProjectRuns($runProject, $runState, $exp_branch, $exp_buildKey, $has_data)
- {
- $branches = array();
- $buildKeys = array();
- $runs = Factory::createProjectRuns($runProject, $runState);
- foreach($runs as $run) {
- $this->assertTrue($run instanceof ProjectRun);
- $branches[] = $run->getBranchName();
- $buildKeys[] = $run->getBuildKey();
- }
- if ($has_data) {
- $this->assertContains($exp_branch, $branches);
- $this->assertContains($exp_buildKey, $buildKeys);
- } else {
- $this->assertEmpty($runs);
- }
- }
- public function testCreateProjectRunsData()
- {
- return array(
- array('Qt5', 'state', 'stable', 1348, 1),
- array('Qt5', 'state', 'dev', 18446744073709551615, 1),
- array('invalid', 'state', '', 0, 0),
- array('Qt5', 'invalid', '', 0, 0)
- );
- }
-
- /**
- * Test createConfRuns
- * @dataProvider testCreateConfRunsData
- */
- public function testCreateConfRuns($runProject, $runState, $targetOs, $conf, $exp_branch, $exp_buildKey, $exp_conf, $has_data)
- {
- $branches = array();
- $buildKeys = array();
- $confs = array();
- $runs = Factory::createConfRuns($runProject, $runState, $targetOs, $conf);
- foreach($runs as $run) {
- $this->assertTrue($run instanceof ConfRun);
- $branches[] = $run->getBranchName();
- $buildKeys[] = $run->getBuildKey();
- $confs[] = $run->getName();
- }
- if ($has_data) {
- $this->assertContains($exp_branch, $branches);
- $this->assertContains($exp_buildKey, $buildKeys);
- $this->assertContains($exp_conf, $confs);
- } else {
- $this->assertEmpty($runs);
- }
- }
- public function testCreateConfRunsData()
- {
- return array(
- array('Qt5', 'state', '', '', 'stable', 1348, 'win64-msvc2012_developer-build_qtnamespace_Windows_8', 1),
- array('Qt5', 'state', '', '', 'stable', 1348, 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 1),
- array('Qt5', 'state', 'windows', '', 'stable', 1348, 'win64-msvc2012_developer-build_qtnamespace_Windows_8', 1),
- array('Qt5', 'state', 'linux', '', 'stable', 1348, 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 1),
- array('Qt5', 'state', 'linux', '', 'dev', 18446744073709551615, 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 1),
- array('Qt5', 'state', 'invalid', '', '', 0, '', 0),
- array('Qt5', 'state', '', 'win64-msvc2012_developer-build_qtnamespace_Windows_8', 'stable', 1348, 'win64-msvc2012_developer-build_qtnamespace_Windows_8', 1),
- array('Qt5', 'state', '', 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 'stable', 1348, 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 1),
- array('Qt5', 'state', '', 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 'dev', 18446744073709551615, 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 1),
- array('Qt5', 'state', '', 'invalid', '', 0, '', 0)
- );
- }
-
- /**
- * Test createTestsetRuns
- * @dataProvider testCreateTestsetRunsData
- */
- public function testCreateTestsetRuns($name, $testsetProject, $runProject, $runState, $exp_branch, $exp_buildKey, $exp_conf, $has_data)
- {
- $branches = array();
- $buildKeys = array();
- $confs = array();
- $runs = Factory::createTestsetRuns($name, $testsetProject, $runProject, $runState);
- foreach($runs as $run) {
- $this->assertTrue($run instanceof TestsetRun);
- $branches[] = $run->getBranchName();
- $buildKeys[] = $run->getBuildKey();
- $confs[] = $run->getConfName();
- }
- if ($has_data) {
- $this->assertContains($exp_branch, $branches);
- $this->assertContains($exp_buildKey, $buildKeys);
- $this->assertContains($exp_conf, $confs);
- } else {
- $this->assertEmpty($runs);
- }
- }
- public function testCreateTestsetRunsData()
- {
- return array(
- array('tst_qftp', 'qtbase', 'Qt5', 'state', 'stable', 1348, 'win64-msvc2012_developer-build_qtnamespace_Windows_8', 1),
- array('tst_qfont', 'qtbase', 'Qt5', 'state', 'dev', 18446744073709551615, 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 1),
- array('invalid', 'qtbase', 'Qt5', 'state', '', 0, '', 0),
- array('tst_qftp', 'invalid', 'Qt5', 'state', '', 0, '', 0)
- );
- }
-
- /**
- * Test createTestsetRunsInConf
- * @dataProvider testCreateTestsetRunsInConfData
- */
- public function testCreateTestsetRunsInConf($conf, $testsetProject, $runProject, $runState, $exp_branch, $exp_buildKey, $exp_testset, $has_data)
- {
- $branches = array();
- $buildKeys = array();
- $testsets = array();
- $runs = Factory::createTestsetRunsInConf($conf, $testsetProject, $runProject, $runState);
- foreach($runs as $run) {
- $this->assertTrue($run instanceof TestsetRun);
- $branches[] = $run->getBranchName();
- $buildKeys[] = $run->getBuildKey();
- $testsets[] = $run->getName();
- }
- if ($has_data) {
- $this->assertContains($exp_branch, $branches);
- $this->assertContains($exp_buildKey, $buildKeys);
- $this->assertContains($exp_testset, $testsets);
- } else {
- $this->assertEmpty($runs);
- }
- }
- public function testCreateTestsetRunsInConfData()
- {
- return array(
- array('win64-msvc2012_developer-build_qtnamespace_Windows_8', '', 'Qt5', 'state', 'stable', 1348, 'tst_qftp', 1),
- array('linux-g++-32_developer-build_Ubuntu_10.04_x86', '', 'Qt5', 'state', 'stable', 18446744073709551615, 'tst_qftp', 1),
- array('invalid', '', 'Qt5', 'state', '', 0, '', 0),
- array('win64-msvc2012_developer-build_qtnamespace_Windows_8', 'qtbase', 'Qt5', 'state', 'stable', 1348, 'tst_qftp', 1),
- array('linux-g++-32_developer-build_Ubuntu_10.04_x86', 'qtbase', 'Qt5', 'state', 'stable', 18446744073709551615, 'tst_qftp', 1),
- array('linux-g++-32_developer-build_Ubuntu_10.04_x86', 'invalid', 'Qt5', 'state', '', 0, '', 0),
- array('invalid', 'qtbase', 'Qt5', 'state', '', 0, '', 0)
- );
- }
-
- /**
- * Test createTestsetRunsMaxDuration
- * @dataProvider testCreateTestsetRunsMaxDurationData
- */
- public function testCreateTestsetRunsMaxDuration($runProject, $runState, $exp_testset, $exp_build_key, $exp_duration, $max_imaginary_duration)
- {
- $runs = Factory::createTestsetRunsMaxDuration($runProject, $runState);
- $this->assertNotEmpty($runs);
- $prevDuration = $max_imaginary_duration;
- foreach($runs as $run) {
- $this->assertTrue($run instanceof TestsetRun);
- $this->assertLessThanOrEqual($prevDuration, $run->getDuration());
- $prevDuration = $run->getDuration();
- if ($run->getName() === $exp_testset) {
- $this->assertEquals($exp_build_key, $run->getBuildKey());
- $this->assertEquals($exp_duration, $run->getDuration());
- }
- }
- }
- public function testCreateTestsetRunsMaxDurationData()
- {
- return array(
- array('Qt5', 'state', 'tst_qftp', 1348, 813, 999),
- array('Qt5', 'state', 'tst_qfont', 18446744073709551615, 814, 999),
- array('Qt5', 'state', 'tst_networkselftest', 1348, 729, 999),
- array('Qt5', 'state', 'invalid', 0, 0, 999)
- );
- }
-
- /**
- * Test createTestfunctionRunsMaxDuration
- * @dataProvider testCreateTestfunctionRunsMaxDurationData
- */
- public function testCreateTestfunctionRunsMaxDuration($testset, $testsetProject, $runProject, $runState, $exp_testfunction, $exp_build_key, $exp_duration, $max_imaginary_duration)
- {
- $runs = Factory::createTestfunctionRunsMaxDuration($testset, $testsetProject, $runProject, $runState);
- $this->assertNotEmpty($runs);
- $prevDuration = $max_imaginary_duration;
- foreach($runs as $run) {
- $this->assertTrue($run instanceof TestfunctionRun);
- $this->assertLessThanOrEqual($prevDuration, $run->getDuration());
- $prevDuration = $run->getDuration();
- if ($run->getName() === $exp_testfunction) {
- $this->assertEquals($exp_build_key, $run->getBuildKey());
- $this->assertEquals($exp_duration, $run->getDuration());
- }
- }
- }
- public function testCreateTestfunctionRunsMaxDurationData()
- {
- return array(
- array('tst_qftp', 'qtbase', 'Qt5', 'state', 'binaryAscii', 1023, 31.1, 999),
- array('tst_qfont', 'qtbase', 'Qt5', 'state', 'resetFont', 1346, 6.1, 999),
- array('tst_networkselftest', 'qtbase', 'Qt5', 'state', 'socks5Proxy', 1348, 0.2, 999),
- array('tst_networkselftest', 'qtbase', 'Qt5', 'state', 'invalid', 0, 0, 999)
- );
- }
-
- /**
- * Test createTestfunctionRunsInConf
- * @dataProvider testCreateTestfunctionRunsInConfData
- */
- public function testCreateTestfunctionRunsInConf($testset, $testsetProject, $conf, $runProject, $runState, $exp_branch, $exp_buildKey, $exp_testfunction, $has_data)
- {
- $branches = array();
- $buildKeys = array();
- $testfunctions = array();
- $runs = Factory::createTestfunctionRunsInConf($testset, $testsetProject, $conf, $runProject, $runState);
- foreach($runs as $run) {
- $this->assertTrue($run instanceof TestfunctionRun);
- $branches[] = $run->getBranchName();
- $buildKeys[] = $run->getBuildKey();
- $testfunctions[] = $run->getName();
- }
- if ($has_data) {
- $this->assertContains($exp_branch, $branches);
- $this->assertContains($exp_buildKey, $buildKeys);
- $this->assertContains($exp_testfunction, $testfunctions);
- } else {
- $this->assertEmpty($runs);
- }
- }
- public function testCreateTestfunctionRunsInConfData()
- {
- return array(
- array('tst_qfont', 'qtbase', 'macx-clang_developer-build_OSX_10.8', 'Qt5', 'state', 'stable', 1348, 'exactMatch', 1), // fail
- array('tst_qfont', 'qtbase', 'macx-clang_developer-build_OSX_10.8', 'Qt5', 'state', 'stable', 1348, 'lastResortFont', 1), // skip
- array('tst_networkselftest', 'qtbase', 'macx-clang_developer-build_OSX_10.8', 'Qt5', 'state', 'stable', 1348, 'smbServer', 1), // skip
- array('tst_qftp', 'qtbase', 'macx-clang_developer-build_OSX_10.8', 'Qt5', 'state', '', 0, '', 0), // no fail or skip
- array('tst_qfont', 'qtbase', 'invalid', 'Qt5', 'state', '', 0, '', 0)
- );
- }
-
- /**
- * Test createTestrowRunsInConf
- * @dataProvider testCreateTestrowRunsInConfData
- */
- public function testCreateTestrowRunsInConf($testfunction, $testset, $testsetProject, $conf, $runProject, $runState, $exp_branch, $exp_buildKey, $exp_testrow, $has_data)
- {
- $branches = array();
- $buildKeys = array();
- $testrows = array();
- $runs = Factory::createTestrowRunsInConf($testfunction, $testset, $testsetProject, $conf, $runProject, $runState);
- foreach($runs as $run) {
- $this->assertTrue($run instanceof TestfunctionRun);
- $branches[] = $run->getBranchName();
- $buildKeys[] = $run->getBuildKey();
- $testrows[] = $run->getName();
- }
- if ($has_data) {
- $this->assertContains($exp_branch, $branches);
- $this->assertContains($exp_buildKey, $buildKeys);
- $this->assertContains($exp_testrow, $testrows);
- } else {
- $this->assertEmpty($runs);
- }
- }
- public function testCreateTestrowRunsInConfData()
- {
- return array(
- array('defaultFamily', 'tst_qfont', 'qtbase', 'macx-clang_developer-build_OSX_10.8', 'Qt5', 'state', 'stable', 1346, 'monospace', 1), // xpass
- array('defaultFamily', 'tst_qfont', 'qtbase', 'macx-clang_developer-build_OSX_10.8', 'Qt5', 'state', 'stable', 1346, 'sans-serif', 1), // xfail
- array('defaultFamily', 'tst_qfont', 'qtbase', 'macx-clang_developer-build_OSX_10.8', 'Qt5', 'state', 'stable', 1346, 'serif', 1), // bskip
- array('binaryAscii', 'tst_qftp', 'qtbase', 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64', 'Qt5', 'state', 'dev', 1023, 'WithSocks5ProxyAndSession', 1), // fail
- array('httpServerFiles', 'tst_networkselftest', 'qtbase', 'macx-clang_developer-build_OSX_10.8', 'Qt5', 'state', '', 0, '', 0), // no fail or skip
- array('defaultFamily', 'tst_qfont', 'qtbase', 'invalid', 'Qt5', 'state', '', 0, '', 0)
- );
- }
-
- /**
- * Test getSinceDate
- * @dataProvider testGetSinceDateData
- */
- public function testGetSinceDate($since_days, $exp_date)
- {
- $date = Factory::getSinceDate($since_days);
- $this->assertEquals($exp_date, $date);
- }
- public function testGetSinceDateData()
- {
- return array(
- array(0, '2013-05-28'), // test database refreshed 2013-05-28
- array(1, '2013-05-27'),
- array(7, '2013-05-21'),
- array(28, '2013-04-30'),
- array(365, '2012-05-28')
- );
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/test/ProjectTest.php b/non-puppet/qtmetrics2/src/test/ProjectTest.php
deleted file mode 100644
index 6dc4c66..0000000
--- a/non-puppet/qtmetrics2/src/test/ProjectTest.php
+++ /dev/null
@@ -1,90 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-require_once(__DIR__.'/../Factory.php');
-
-/**
- * Project unit test class
- * @example To run (in qtmetrics root directory): php <path-to-phpunit>/phpunit.phar ./src/test
- * @since 30-09-2015
- * @author Juha Sippola
- */
-
-class ProjectTest extends PHPUnit_Framework_TestCase
-{
-
- /**
- * Test getName
- * @dataProvider testGetNameData
- */
- public function testGetName($name)
- {
- $project = new Project($name);
- $this->assertEquals($name, $project->getName());
- }
- public function testGetNameData()
- {
- return array(
- array('qtbase'),
- array('Qt5'),
- array('MyProject')
- );
- }
-
- /**
- * Test getStatus and setStatus
- * @dataProvider testGetStatusData
- */
- public function testGetStatus($name, $runProject, $runState, $exp_build_results)
- {
- $project = new Project($name);
- if ($runProject === $name) { // project with project_run data
- $project->setStatus($runProject, $runState);
- $this->assertContains($project->getStatus(), $exp_build_results);
- } else {
- $this->assertEmpty($project->getStatus());
- }
- }
- public function testGetStatusData()
- {
- return array(
- array('Qt5', 'Qt5', 'state', array('SUCCESS', 'FAILURE', 'ABORTED')), // status based on build result for the master build project
- array('QtBase', 'Qt5', 'state', array()), // status based on testset results not implemented yet
- array('InvalidProject', 'Qt5', 'state', array())
- );
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/test/TestfunctionTest.php b/non-puppet/qtmetrics2/src/test/TestfunctionTest.php
deleted file mode 100644
index 55a6d5c..0000000
--- a/non-puppet/qtmetrics2/src/test/TestfunctionTest.php
+++ /dev/null
@@ -1,152 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-require_once(__DIR__.'/../Factory.php');
-
-/**
- * Testfunction unit test class
- * @example To run (in qtmetrics root directory): php <path-to-phpunit>/phpunit.phar ./src/test
- * @since 21-09-2015
- * @author Juha Sippola
- */
-
-class TestfunctionTest extends PHPUnit_Framework_TestCase
-{
-
- /**
- * Test getName, getShortName, getTestsetName, getTestsetProjectName, getConfName
- * @dataProvider testGetNameData
- */
- public function testGetName($name, $shortName, $testset, $project, $conf)
- {
- $testfunction = new Testfunction($name, $testset, $project, $conf);
- $this->assertEquals($name, $testfunction->getName());
- $this->assertEquals($shortName, $testfunction->getShortName());
- $this->assertEquals($testset, $testfunction->getTestsetName());
- $this->assertEquals($project, $testfunction->getTestsetProjectName());
- $this->assertEquals($conf, $testfunction->getConfName());
- }
- public function testGetNameData()
- {
- return array(
- array(
- 'cleanupTestCase',
- 'cleanupTestCase',
- 'tst_qftp',
- 'QtBase',
- 'macx-clang_developer-build_OSX_10.8'),
- array(
- 'my_testfunction',
- 'my_testfunction',
- 'my_testset',
- 'my_project',
- 'my_conf'),
- array(
- 'my_long_testfunction_name_that_has_over_50_letters_in_it',
- 'my_long_testfunction_name_that_has_over_...s_in_it',
- 'my_testset',
- 'my_project',
- 'my_conf')
- );
- }
-
- /**
- * Test setResultCounts and getResultCounts
- * @dataProvider testGetResultCountsData
- */
- public function testGetTestsetResultCounts($name, $testset, $project, $conf, $passed, $failed, $skipped)
- {
- $testfunction = new Testfunction($name, $testset, $project, $conf);
- $this->assertTrue($testfunction instanceof Testfunction);
- // Counts not set
- $result = $testfunction->getResultCounts();
- $this->assertArrayHasKey('passed', $result);
- $this->assertArrayHasKey('failed', $result);
- $this->assertArrayHasKey('skipped', $result);
- $this->assertNull($result['passed']);
- $this->assertNull($result['failed']);
- $this->assertNull($result['skipped']);
- // Counts set
- $testfunction->setResultCounts($passed, $failed, $skipped);
- $result = $testfunction->getResultCounts();
- $this->assertArrayHasKey('passed', $result);
- $this->assertArrayHasKey('failed', $result);
- $this->assertArrayHasKey('skipped', $result);
- $this->assertEquals($passed, $result['passed']);
- $this->assertEquals($failed, $result['failed']);
- $this->assertEquals($skipped, $result['skipped']);
- }
- public function testGetResultCountsData()
- {
- return array(
- array('cleanupTestCase', 'tst_qftp', 'QtBase', 'macx-clang_developer-build_OSX_10.8', 1, 2, 3),
- array('cleanupTestCase', 'tst_qftp', 'Qt5', 'macx-clang_developer-build_OSX_10.8', 123456, 654321, 111222),
- array('my_testfunction', 'my_testfunction', 'my_project', 'my_conf', 7, 14, 7)
- );
- }
-
- /**
- * Test setBlacklistedCounts and getBlacklistedCounts
- * @dataProvider testGetBlacklistedCountsData
- */
- public function testGetBlacklistedCounts($name, $testset, $project, $conf, $bpassed, $btotal)
- {
- $testfunction = new Testfunction($name, $testset, $project, $conf);
- $this->assertTrue($testfunction instanceof Testfunction);
- // Counts not set
- $result = $testfunction->getBlacklistedCounts();
- $this->assertArrayHasKey('bpassed', $result);
- $this->assertArrayHasKey('btotal', $result);
- $this->assertNull($result['bpassed']);
- $this->assertNull($result['btotal']);
- // Counts set
- $testfunction->setBlacklistedCounts($bpassed, $btotal);
- $result = $testfunction->getBlacklistedCounts();
- $this->assertArrayHasKey('bpassed', $result);
- $this->assertArrayHasKey('btotal', $result);
- $this->assertEquals($bpassed, $result['bpassed']);
- $this->assertEquals($btotal, $result['btotal']);
- }
- public function testGetBlacklistedCountsData()
- {
- return array(
- array('cleanupTestCase', 'tst_qftp', 'QtBase', 'macx-clang_developer-build_OSX_10.8', 1, 2),
- array('cleanupTestCase', 'tst_qftp', 'Qt5', 'macx-clang_developer-build_OSX_10.8', 123456, 654321),
- array('my_testfunction', 'my_testfunction', 'my_project', 'my_conf', 7, 14)
- );
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/test/TestrowTest.php b/non-puppet/qtmetrics2/src/test/TestrowTest.php
deleted file mode 100644
index f52c404..0000000
--- a/non-puppet/qtmetrics2/src/test/TestrowTest.php
+++ /dev/null
@@ -1,156 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-require_once(__DIR__.'/../Factory.php');
-
-/**
- * Testrow unit test class
- * @example To run (in qtmetrics root directory): php <path-to-phpunit>/phpunit.phar ./src/test
- * @since 23-09-2015
- * @author Juha Sippola
- */
-
-class TestrowTest extends PHPUnit_Framework_TestCase
-{
-
- /**
- * Test getName, getShortName, getTestsetName, getTestsetProjectName, getConfName
- * @dataProvider testGetNameData
- */
- public function testGetName($name, $shortName, $testfunction, $testset, $project, $conf)
- {
- $testrow = new Testrow($name, $testfunction, $testset, $project, $conf);
- $this->assertEquals($name, $testrow->getName());
- $this->assertEquals($shortName, $testrow->getShortName());
- $this->assertEquals($testfunction, $testrow->getTestfunctionName());
- $this->assertEquals($testset, $testrow->getTestsetName());
- $this->assertEquals($project, $testrow->getTestsetProjectName());
- $this->assertEquals($conf, $testrow->getConfName());
- }
- public function testGetNameData()
- {
- return array(
- array(
- 'cursive',
- 'cursive',
- 'defaultFamily',
- 'tst_qfont',
- 'QtBase',
- 'macx-clang_developer-build_OSX_10.8'),
- array(
- 'my_testrow',
- 'my_testrow',
- 'my_testfunction',
- 'my_testset',
- 'my_project',
- 'my_conf'),
- array(
- 'my_long_testrow_name_that_has_over_50_letters_in_it',
- 'my_long_testrow_name_that_has_over_50_le...s_in_it',
- 'my_testfunction',
- 'my_testset',
- 'my_project',
- 'my_conf')
- );
- }
-
- /**
- * Test setResultCounts and getResultCounts
- * @dataProvider testGetResultCountsData
- */
- public function testGetTestsetResultCounts($name, $testset, $project, $conf, $passed, $failed, $skipped)
- {
- $testfunction = new Testfunction($name, $testset, $project, $conf);
- $this->assertTrue($testfunction instanceof Testfunction);
- // Counts not set
- $result = $testfunction->getResultCounts();
- $this->assertArrayHasKey('passed', $result);
- $this->assertArrayHasKey('failed', $result);
- $this->assertArrayHasKey('skipped', $result);
- $this->assertNull($result['passed']);
- $this->assertNull($result['failed']);
- $this->assertNull($result['skipped']);
- // Counts set
- $testfunction->setResultCounts($passed, $failed, $skipped);
- $result = $testfunction->getResultCounts();
- $this->assertArrayHasKey('passed', $result);
- $this->assertArrayHasKey('failed', $result);
- $this->assertArrayHasKey('skipped', $result);
- $this->assertEquals($passed, $result['passed']);
- $this->assertEquals($failed, $result['failed']);
- $this->assertEquals($skipped, $result['skipped']);
- }
- public function testGetResultCountsData()
- {
- return array(
- array('cleanupTestCase', 'tst_qftp', 'QtBase', 'macx-clang_developer-build_OSX_10.8', 1, 2, 3),
- array('cleanupTestCase', 'tst_qftp', 'Qt5', 'macx-clang_developer-build_OSX_10.8', 123456, 654321, 111222),
- array('my_testfunction', 'my_testfunction', 'my_project', 'my_conf', 7, 14, 7)
- );
- }
-
- /**
- * Test setBlacklistedCounts and getBlacklistedCounts
- * @dataProvider testGetBlacklistedCountsData
- */
- public function testGetBlacklistedCounts($name, $testset, $project, $conf, $bpassed, $btotal)
- {
- $testfunction = new Testfunction($name, $testset, $project, $conf);
- $this->assertTrue($testfunction instanceof Testfunction);
- // Counts not set
- $result = $testfunction->getBlacklistedCounts();
- $this->assertArrayHasKey('bpassed', $result);
- $this->assertArrayHasKey('btotal', $result);
- $this->assertNull($result['bpassed']);
- $this->assertNull($result['btotal']);
- // Counts set
- $testfunction->setBlacklistedCounts($bpassed, $btotal);
- $result = $testfunction->getBlacklistedCounts();
- $this->assertArrayHasKey('bpassed', $result);
- $this->assertArrayHasKey('btotal', $result);
- $this->assertEquals($bpassed, $result['bpassed']);
- $this->assertEquals($btotal, $result['btotal']);
- }
- public function testGetBlacklistedCountsData()
- {
- return array(
- array('cleanupTestCase', 'tst_qftp', 'QtBase', 'macx-clang_developer-build_OSX_10.8', 1, 2),
- array('cleanupTestCase', 'tst_qftp', 'Qt5', 'macx-clang_developer-build_OSX_10.8', 123456, 654321),
- array('my_testfunction', 'my_testfunction', 'my_project', 'my_conf', 7, 14)
- );
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/test/TestsetTest.php b/non-puppet/qtmetrics2/src/test/TestsetTest.php
deleted file mode 100644
index 6a92326..0000000
--- a/non-puppet/qtmetrics2/src/test/TestsetTest.php
+++ /dev/null
@@ -1,145 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-require_once(__DIR__.'/../Factory.php');
-
-/**
- * Testset unit test class
- * @example To run (in qtmetrics root directory): php <path-to-phpunit>/phpunit.phar ./src/test
- * @since 11-06-2015
- * @author Juha Sippola
- */
-
-class TestsetTest extends PHPUnit_Framework_TestCase
-{
-
- /**
- * Test getName, getProjectName
- * @dataProvider testGetNameData
- */
- public function testGetName($name, $project)
- {
- $testset = new Testset($name, $project);
- $this->assertEquals($name, $testset->getName());
- $this->assertEquals($project, $testset->getProjectName());
- }
- public function testGetNameData()
- {
- return array(
- array('tst_qftp', 'QtBase'),
- array('tst_my_test', 'myProject')
- );
- }
-
- /**
- * Test setStatus and getStatus
- * @dataProvider testGetStatusData
- */
- public function testGetStatus($name, $project, $runProject, $runState, $exp_results)
- {
- $testset = new Testset($name, $project);
- $testset->setStatus($runProject, $runState);
- $this->assertContains($testset->getStatus(), $exp_results);
- }
- public function testGetStatusData()
- {
- return array(
- array('tst_qftp', 'QtBase', 'Qt5', 'state', array('passed', 'failed', 'ipassed', 'ifailed')),
- array('tst_invalid', 'QtBase', 'Qt5', 'state', array(''))
- );
- }
-
- /**
- * Test setTestsetResultCounts and getTestsetResultCounts
- * @dataProvider testGetTestsetResultCountsData
- */
- public function testGetTestsetResultCounts($name, $project, $passed, $failed)
- {
- $testset = new Testset($name, $project);
- // Counts not set
- $result = $testset->getTestsetResultCounts();
- $this->assertArrayHasKey('passed', $result);
- $this->assertArrayHasKey('failed', $result);
- $this->assertNull($result['passed']);
- $this->assertNull($result['failed']);
- // Counts set
- $testset->setTestsetResultCounts($passed, $failed);
- $result = $testset->getTestsetResultCounts();
- $this->assertArrayHasKey('passed', $result);
- $this->assertArrayHasKey('failed', $result);
- $this->assertEquals($passed, $result['passed']);
- $this->assertEquals($failed, $result['failed']);
- }
- public function testGetTestsetResultCountsData()
- {
- return array(
- array('tst_qftp', 'QtBase', 1, 2),
- array('tst_qftp', 'Qt5', 123456, 654321),
- array('tst_my_test', 'myProject', 7, 14)
- );
- }
-
- /**
- * Test setTestsetFlakyCounts and getTestsetFlakyCounts
- * @dataProvider testGetTestsetFlakyCountsData
- */
- public function testGetTestsetFlakyCounts($name, $project, $flaky, $total)
- {
- $testset = new Testset($name, $project);
- // Counts not set
- $result = $testset->getTestsetFlakyCounts();
- $this->assertArrayHasKey('flaky', $result);
- $this->assertArrayHasKey('total', $result);
- $this->assertNull($result['flaky']);
- $this->assertNull($result['total']);
- // Counts set
- $testset->setTestsetFlakyCounts($flaky, $total);
- $result = $testset->getTestsetFlakyCounts();
- $this->assertArrayHasKey('flaky', $result);
- $this->assertArrayHasKey('total', $result);
- $this->assertEquals($flaky, $result['flaky']);
- $this->assertEquals($total, $result['total']);
- }
- public function testGetTestsetFlakyCountsData()
- {
- return array(
- array('tst_qftp', 'QtBase', 1, 2),
- array('tst_qftp', 'Qt5', 123456, 654321),
- array('tst_my_test', 'myProject', 7, 14)
- );
- }
-
-}
-
-?>
diff --git a/non-puppet/qtmetrics2/src/test/qtmetrics_create.sql b/non-puppet/qtmetrics2/src/test/qtmetrics_create.sql
deleted file mode 100644
index c9e58d9..0000000
--- a/non-puppet/qtmetrics2/src/test/qtmetrics_create.sql
+++ /dev/null
@@ -1,243 +0,0 @@
-/*
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-*/
-
-/*
- * SQL script to create tables and indexes
- * @since 25-09-2015
- * @author Juha Sippola
- */
-
-
--- database
-
-CREATE DATABASE IF NOT EXISTS qtmetrics
- DEFAULT CHARACTER SET = 'latin1' DEFAULT COLLATE 'latin1_general_ci';
-USE qtmetrics;
-
-
--- tables
-
--- Table db_status
-CREATE TABLE db_status (
- refreshed TIMESTAMP NOT NULL,
- refresh_in_progress BOOL NOT NULL,
- logs_current INT UNSIGNED NOT NULL,
- logs_total INT UNSIGNED NOT NULL
-) ENGINE MyISAM;
-
--- Table phase
-CREATE TABLE phase (
- id TINYINT UNSIGNED NOT NULL AUTO_INCREMENT,
- name VARCHAR(100) NOT NULL,
- UNIQUE INDEX unique_phase (name),
- CONSTRAINT phase_pk PRIMARY KEY (id)
-) ENGINE MyISAM;
-
--- Table branch
-CREATE TABLE branch (
- id TINYINT UNSIGNED NOT NULL AUTO_INCREMENT,
- name VARCHAR(20) NOT NULL,
- archived BOOL NOT NULL DEFAULT 0,
- UNIQUE INDEX unique_branch (name),
- CONSTRAINT branch_pk PRIMARY KEY (id)
-) ENGINE MyISAM;
-
--- Table compiler
-CREATE TABLE compiler (
- id TINYINT UNSIGNED NOT NULL AUTO_INCREMENT,
- compiler VARCHAR(20) NULL DEFAULT NULL,
- UNIQUE INDEX unique_compiler (compiler),
- CONSTRAINT compiler_pk PRIMARY KEY (id)
-) ENGINE MyISAM;
-
--- Table conf
-CREATE TABLE conf (
- id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
- host_id SMALLINT UNSIGNED NOT NULL,
- target_id SMALLINT UNSIGNED NOT NULL,
- host_compiler_id TINYINT UNSIGNED NOT NULL,
- target_compiler_id TINYINT UNSIGNED NOT NULL,
- name VARCHAR(100) NOT NULL,
- features VARCHAR(100) NULL DEFAULT NULL,
- UNIQUE INDEX unique_conf (name),
- CONSTRAINT conf_pk PRIMARY KEY (id)
-) ENGINE MyISAM;
-
--- Table conf_run
-CREATE TABLE conf_run (
- id MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT,
- conf_id SMALLINT UNSIGNED NOT NULL,
- project_run_id MEDIUMINT UNSIGNED NOT NULL,
- forcesuccess BOOL NOT NULL,
- insignificant BOOL NOT NULL,
- result ENUM('SUCCESS','FAILURE','ABORTED','undef') NOT NULL,
- total_testsets INT UNSIGNED NOT NULL,
- timestamp TIMESTAMP NOT NULL,
- duration TIME NOT NULL,
- CONSTRAINT conf_run_pk PRIMARY KEY (id)
-) ENGINE MyISAM;
-
--- Table phase_run
-CREATE TABLE phase_run (
- id MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT,
- phase_id TINYINT UNSIGNED NOT NULL,
- conf_run_id MEDIUMINT UNSIGNED NOT NULL,
- start TIMESTAMP NOT NULL,
- end TIMESTAMP NOT NULL,
- CONSTRAINT phase_run_pk PRIMARY KEY (id)
-) ENGINE MyISAM;
-
--- Table platform
-CREATE TABLE platform (
- id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
- os VARCHAR(10) NOT NULL,
- os_version VARCHAR(20) NULL DEFAULT NULL,
- arch VARCHAR(20) NULL DEFAULT NULL,
- UNIQUE INDEX unique_platform (os,os_version,arch),
- CONSTRAINT platform_pk PRIMARY KEY (id)
-) ENGINE MyISAM;
-
--- Table project
-CREATE TABLE project (
- id TINYINT UNSIGNED NOT NULL AUTO_INCREMENT,
- name VARCHAR(30) NOT NULL,
- UNIQUE INDEX unique_project (name),
- CONSTRAINT project_pk PRIMARY KEY (id)
-) ENGINE MyISAM;
-
--- Table project_run
-CREATE TABLE project_run (
- id MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT,
- project_id TINYINT UNSIGNED NOT NULL,
- branch_id TINYINT UNSIGNED NOT NULL,
- state_id TINYINT UNSIGNED NOT NULL,
- build_key BIGINT UNSIGNED NOT NULL,
- result ENUM('SUCCESS','FAILURE','ABORTED') NOT NULL,
- timestamp TIMESTAMP NOT NULL,
- duration TIME NOT NULL,
- UNIQUE INDEX unique_project_run (project_id,branch_id,state_id,build_key),
- CONSTRAINT project_run_pk PRIMARY KEY (id)
-) ENGINE MyISAM;
-
--- Table state
-CREATE TABLE state (
- id TINYINT UNSIGNED NOT NULL AUTO_INCREMENT,
- name VARCHAR(30) NOT NULL,
- UNIQUE INDEX unique_state (name),
- CONSTRAINT state_pk PRIMARY KEY (id)
-) ENGINE MyISAM;
-
--- Table testfunction
-CREATE TABLE testfunction (
- id MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT,
- testset_id SMALLINT UNSIGNED NOT NULL,
- name VARCHAR(100) CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL,
- UNIQUE INDEX unique_testfunction (testset_id,name),
- CONSTRAINT testfunction_pk PRIMARY KEY (id)
-) ENGINE MyISAM;
-
--- Table testfunction_run
-CREATE TABLE testfunction_run (
- id INT UNSIGNED NOT NULL AUTO_INCREMENT,
- testfunction_id MEDIUMINT UNSIGNED NOT NULL,
- testset_run_id INT UNSIGNED NOT NULL,
- result ENUM('na','pass','fail','xpass','xfail','skip','bpass','bfail','bxpass','bxfail','bskip','tr_pass','tr_fail','tr_skip') NOT NULL DEFAULT 'na',
- duration SMALLINT UNSIGNED NOT NULL,
- CONSTRAINT testfunction_run_pk PRIMARY KEY (id)
-) ENGINE MyISAM;
-
--- Table testrow
-CREATE TABLE testrow (
- id MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT,
- testfunction_id MEDIUMINT UNSIGNED NOT NULL,
- name VARCHAR(500) CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL,
- UNIQUE INDEX unique_testdata (testfunction_id,name),
- CONSTRAINT testrow_pk PRIMARY KEY (id)
-) ENGINE MyISAM;
-
--- Table testrow_run
-CREATE TABLE testrow_run (
- testrow_id MEDIUMINT UNSIGNED NOT NULL,
- testfunction_run_id INT UNSIGNED NOT NULL,
- result ENUM('pass','fail','xpass','xfail','skip','bpass','bfail','bxpass','bxfail','bskip') NOT NULL,
- CONSTRAINT testrow_run_pk PRIMARY KEY (testrow_id,testfunction_run_id)
-) ENGINE MyISAM;
-
--- Table testset
-CREATE TABLE testset (
- id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
- project_id TINYINT UNSIGNED NOT NULL,
- name VARCHAR(50) NOT NULL,
- UNIQUE INDEX unique_testset (project_id,name),
- CONSTRAINT testset_pk PRIMARY KEY (id)
-) ENGINE MyISAM;
-
--- Table testset_run
-CREATE TABLE testset_run (
- id INT UNSIGNED NOT NULL AUTO_INCREMENT,
- testset_id SMALLINT UNSIGNED NOT NULL,
- conf_run_id MEDIUMINT UNSIGNED NOT NULL,
- run TINYINT UNSIGNED NOT NULL,
- result ENUM('passed','failed','ipassed','ifailed') NOT NULL,
- duration SMALLINT UNSIGNED NOT NULL,
- total_passed SMALLINT UNSIGNED NOT NULL,
- total_failed SMALLINT UNSIGNED NOT NULL,
- total_skipped SMALLINT UNSIGNED NOT NULL,
- total_blacklisted SMALLINT UNSIGNED NOT NULL,
- CONSTRAINT testset_run_pk PRIMARY KEY (id)
-) ENGINE MyISAM;
-
--- indexes
-
--- project_run
-CREATE INDEX by_timestamp ON project_run (timestamp, state_id, project_id);
-CREATE INDEX by_state ON project_run (state_id, project_id, timestamp);
-
--- conf_run
-CREATE INDEX by_project_run ON conf_run (project_run_id DESC, result);
-
--- testset_run
-CREATE INDEX by_conf_run ON testset_run (conf_run_id DESC, run, result);
-CREATE INDEX by_testset ON testset_run (testset_id, result);
-CREATE INDEX by_run ON testset_run (run, result);
-
--- testfunction_run
-CREATE INDEX by_testset_run ON testfunction_run (testset_run_id DESC, result, testfunction_id);
-
--- testrow_run
-CREATE INDEX by_testfunction_run ON testrow_run (testfunction_run_id DESC, result, testrow_id);
-
-
--- End of file.
diff --git a/non-puppet/qtmetrics2/src/test/qtmetrics_drop.sql b/non-puppet/qtmetrics2/src/test/qtmetrics_drop.sql
deleted file mode 100644
index 8ad63a9..0000000
--- a/non-puppet/qtmetrics2/src/test/qtmetrics_drop.sql
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-*/
-
-/*
- * SQL script to drop tables and indexes (in the order allowed regarding the foreign keys)
- * @since 10-09-2015
- * @author Juha Sippola
- */
-
-USE qtmetrics;
-
-DROP INDEX by_timestamp ON project_run;
-DROP INDEX by_state ON project_run;
-DROP INDEX by_project_run ON conf_run;
-DROP INDEX by_conf_run ON testset_run;
-DROP INDEX by_testset ON testset_run;
-DROP INDEX by_run ON testset_run;
-DROP INDEX by_testset_run ON testfunction_run;
-DROP INDEX by_testfunction_run ON testrow_run;
-
-DROP TABLE IF EXISTS `testrow_run`;
-DROP TABLE IF EXISTS `testrow`;
-
-DROP TABLE IF EXISTS `testfunction_run`;
-DROP TABLE IF EXISTS `testfunction`;
-
-DROP TABLE IF EXISTS `testset_run`;
-DROP TABLE IF EXISTS `testset`;
-
-DROP TABLE IF EXISTS `phase_run`;
-DROP TABLE IF EXISTS `phase`;
-
-DROP TABLE IF EXISTS `conf_run`;
-DROP TABLE IF EXISTS `conf`;
-DROP TABLE IF EXISTS `compiler`;
-DROP TABLE IF EXISTS `platform`;
-
-DROP TABLE IF EXISTS `project_run`;
-DROP TABLE IF EXISTS `project`;
-DROP TABLE IF EXISTS `branch`;
-DROP TABLE IF EXISTS `state`;
-
-DROP TABLE IF EXISTS `db_status`;
diff --git a/non-puppet/qtmetrics2/src/test/qtmetrics_insert.sql b/non-puppet/qtmetrics2/src/test/qtmetrics_insert.sql
deleted file mode 100644
index 10961bc..0000000
--- a/non-puppet/qtmetrics2/src/test/qtmetrics_insert.sql
+++ /dev/null
@@ -1,1974 +0,0 @@
-/*
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-*/
-
-/*
- * SQL script to insert test data into tables (in the order needed regarding the foreign keys)
- * @since 22-09-2015
- * @author Juha Sippola
- */
-
-USE qtmetrics;
-
-DELETE FROM project;
-INSERT INTO project (name) VALUES ('qt3d');
-INSERT INTO project (name) VALUES ('Qt5');
-INSERT INTO project (name) VALUES ('qtactiveqt');
-INSERT INTO project (name) VALUES ('qtbase');
-INSERT INTO project (name) VALUES ('qtconnectivity');
-INSERT INTO project (name) VALUES ('qtdeclarative');
-INSERT INTO project (name) VALUES ('qtdesktopcomponents');
-INSERT INTO project (name) VALUES ('qtdocgallery');
-INSERT INTO project (name) VALUES ('qtdoc');
-INSERT INTO project (name) VALUES ('qtfeedback');
-INSERT INTO project (name) VALUES ('qtgraphicaleffects');
-INSERT INTO project (name) VALUES ('qtimageformats');
-INSERT INTO project (name) VALUES ('qtjsbackend');
-INSERT INTO project (name) VALUES ('qtjsondb');
-INSERT INTO project (name) VALUES ('qtlocation');
-INSERT INTO project (name) VALUES ('qtmacextras');
-INSERT INTO project (name) VALUES ('qtmultimedia');
-INSERT INTO project (name) VALUES ('qtpim');
-INSERT INTO project (name) VALUES ('qtqa');
-INSERT INTO project (name) VALUES ('qtqa_sysadmin');
-INSERT INTO project (name) VALUES ('qtquick1');
-INSERT INTO project (name) VALUES ('qtquickcontrols');
-INSERT INTO project (name) VALUES ('qtscript');
-INSERT INTO project (name) VALUES ('qtsensors');
-INSERT INTO project (name) VALUES ('qtserialport');
-INSERT INTO project (name) VALUES ('qtsvg');
-INSERT INTO project (name) VALUES ('qtsystems');
-INSERT INTO project (name) VALUES ('qttools');
-INSERT INTO project (name) VALUES ('qttranslations');
-INSERT INTO project (name) VALUES ('qtwebkit');
-INSERT INTO project (name) VALUES ('qtwebkit_examples_and_demos');
-INSERT INTO project (name) VALUES ('qtwebkit_examples');
-INSERT INTO project (name) VALUES ('qtx11extras');
-INSERT INTO project (name) VALUES ('qtxmlpatterns');
-INSERT INTO project (name) VALUES ('qt_4.8');
-
-DELETE FROM branch;
-INSERT INTO branch (name, archived) VALUES ('master', 0);
-INSERT INTO branch (name, archived) VALUES ('dev', 0);
-INSERT INTO branch (name, archived) VALUES ('release', 1);
-INSERT INTO branch (name, archived) VALUES ('stable', 0);
-INSERT INTO branch (name, archived) VALUES ('1.2.3', 0);
-
-DELETE FROM state;
-INSERT INTO state (name) VALUES ('Integration');
-INSERT INTO state (name) VALUES ('state');
-
-DELETE FROM platform;
-INSERT INTO platform (os,os_version,arch) VALUES ('linux','Ubuntu_10.04','x86');
-INSERT INTO platform (os,os_version,arch) VALUES ('osx','OSX_10.8','');
-INSERT INTO platform (os,os_version,arch) VALUES ('osx','OSX_10.7','');
-INSERT INTO platform (os,os_version,arch) VALUES ('osx','OSX_10.6','');
-INSERT INTO platform (os,os_version,arch) VALUES ('windows','Windows_8','');
-INSERT INTO platform (os,os_version,arch) VALUES ('linux','Ubuntu_12.04','x64');
-INSERT INTO platform (os,os_version,arch) VALUES ('linux','Ubuntu_11.10','x86');
-INSERT INTO platform (os,os_version,arch) VALUES ('linux','Ubuntu_11.10','x64');
-INSERT INTO platform (os,os_version,arch) VALUES ('linux','','');
-INSERT INTO platform (os,os_version,arch) VALUES ('windows','Windows_7','');
-INSERT INTO platform (os,os_version,arch) VALUES ('windows','win64','');
-INSERT INTO platform (os,os_version,arch) VALUES ('linux','android','');
-INSERT INTO platform (os,os_version,arch) VALUES ('linux','arm','gnueabi');
-INSERT INTO platform (os,os_version,arch) VALUES ('osx','','');
-INSERT INTO platform (os,os_version,arch) VALUES ('qws','linux','x86');
-INSERT INTO platform (os,os_version,arch) VALUES ('windows','win32','');
-INSERT INTO platform (os,os_version,arch) VALUES ('windows','wince70embedded','armv4i');
-
-DELETE FROM compiler;
-INSERT INTO compiler (compiler) VALUES ('');
-INSERT INTO compiler (compiler) VALUES ('msvc2012');
-INSERT INTO compiler (compiler) VALUES ('g++');
-INSERT INTO compiler (compiler) VALUES ('clang');
-INSERT INTO compiler (compiler) VALUES ('mingw47');
-INSERT INTO compiler (compiler) VALUES ('mingw48');
-INSERT INTO compiler (compiler) VALUES ('msvc2010');
-INSERT INTO compiler (compiler) VALUES ('msvc2008');
-
-DELETE FROM conf;
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = 'Ubuntu_10.04' AND platform.arch = 'x86'), (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = 'Ubuntu_10.04' AND platform.arch = 'x86'), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), 'linux-g++-32_developer-build_Ubuntu_10.04_x86', 'developer-build' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = 'OSX_10.8' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = 'OSX_10.8' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), 'macx-clang_bin-pkg-config_OSX_10.8', 'bin-pkg-config' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = 'OSX_10.7' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = 'OSX_10.7' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), 'macx-clang_static_OSX_10.7', 'static' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = 'OSX_10.6' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = 'OSX_10.6' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), 'macx-g++_developer-build_OSX_10.6', 'developer-build' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = 'OSX_10.8' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = 'OSX_10.8' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), 'macx-ios-clang_OSX_10.8', '' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'Windows_8' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'win64' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'msvc2012'), 'win64-msvc2012_developer-build_qtnamespace_Windows_8', 'developer-build_qtnamespace' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = 'Ubuntu_12.04' AND platform.arch = 'x64'), (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = 'android' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'g++'), 'linux-android-g++_Ubuntu_12.04_x64', '' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = 'Ubuntu_11.10' AND platform.arch = 'x86'), (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = 'arm' AND platform.arch = 'gnueabi'), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'g++'), 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86', '' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = 'Ubuntu_10.04' AND platform.arch = 'x86'), (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = '' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'g++'), 'linux-g++-32_Ubuntu_10.04_x86', '' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = 'Ubuntu_11.10' AND platform.arch = 'x86'), (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = '' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'g++'), 'linux-g++_bin-pkg-config_Ubuntu_11.10_x86', 'bin-pkg-config' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = 'Ubuntu_11.10' AND platform.arch = 'x64'), (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = '' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'g++'), 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64', 'developer-build_qtnamespace_qtlibinfix' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = 'Ubuntu_12.04' AND platform.arch = 'x64'), (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = '' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'g++'), 'linux-g++_no-widgets_Ubuntu_12.04_x64', 'no-widgets' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = 'Ubuntu_11.10' AND platform.arch = 'x86'), (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = '' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'g++'), 'linux-g++_shadow-build_Ubuntu_11.10_x86', 'shadow-build' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = 'Ubuntu_12.04' AND platform.arch = 'x64'), (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = '' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'g++'), 'linux-g++_shadow-build_Ubuntu_12.04_x64', 'shadow-build' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = 'Ubuntu_12.04' AND platform.arch = 'x64'), (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = '' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'g++'), 'linux-g++_static_Ubuntu_12.04_x64', 'static' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = 'OSX_10.7' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = '' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'clang'), 'macx-clang_bin-pkg-config_OSX_10.7', 'bin-pkg-config' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = 'OSX_10.8' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = '' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'clang'), 'macx-clang_developer-build_OSX_10.8', 'developer-build' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = 'OSX_10.7' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = '' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'clang'), 'macx-clang_developer-build_qtnamespace_OSX_10.7', 'developer-build_qtnamespace' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = 'OSX_10.8' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = '' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'clang'), 'macx-clang_no-framework_OSX_10.8', 'no-framework' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = 'OSX_10.7' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = '' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'g++'), 'macx-g++_developer-build_OSX_10.7', 'developer-build' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = 'OSX_10.6' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'osx' AND platform.os_version = '' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'g++'), 'macx-g++_OSX_10.6', '' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'linux' AND platform.os_version = '' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'qws' AND platform.os_version = 'linux' AND platform.arch = 'x86'), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'g++'), 'qws_linux-x86-g++', '' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'Windows_7' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'win32' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'mingw47'), 'win32-mingw47_developer-build_qtlibinfix_Windows_7', 'developer-build_qtlibinfix' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'Windows_7' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'win32' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'mingw48'), 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7', 'developer-build_qtlibinfix_opengl' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'Windows_7' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'win32' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'msvc2010'), 'win32-msvc2010_bin-pkg-config_Windows_7', 'bin-pkg-config' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'Windows_7' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'win32' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'msvc2010'), 'win32-msvc2010_developer-build_angle_Windows_7', 'developer-build_angle' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'Windows_7' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'win32' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'msvc2010'), 'win32-msvc2010_developer-build_qtnamespace_Windows_7', 'developer-build_qtnamespace' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'Windows_7' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'win32' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'msvc2010'), 'win32-msvc2010_developer-build_Windows_7', 'developer-build' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'Windows_7' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'win32' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'msvc2010'), 'win32-msvc2010_static_Windows_7', 'static' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'Windows_7' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'win32' AND platform.arch = ''), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'msvc2010'), 'win32-msvc2010_Windows_7', '' );
-INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES ( (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'Windows_7' AND platform.arch = ''), (SELECT id FROM platform WHERE platform.os = 'windows' AND platform.os_version = 'wince70embedded' AND platform.arch = 'armv4i'), (SELECT id FROM compiler WHERE compiler.compiler = ''), (SELECT id FROM compiler WHERE compiler.compiler = 'msvc2008'), 'wince70embedded-armv4i-msvc2008_Windows_7', '' );
-
-DELETE FROM testset;
--- Note: only selected testsets included
-INSERT INTO testset (project_id, name) SELECT id, 'tst_networkselftest' FROM project WHERE project.name = 'qtbase';
-INSERT INTO testset (project_id, name) SELECT id, 'tst_qfont' FROM project WHERE project.name = 'qtbase';
-INSERT INTO testset (project_id, name) SELECT id, 'tst_qftp' FROM project WHERE project.name = 'qtbase';
-INSERT INTO testset (project_id, name) SELECT id, 'tst_qftp' FROM project WHERE project.name = 'Qt5';
-
-DELETE FROM testfunction;
--- Note: only the testcases for the selected testsets included
-INSERT INTO testfunction (testset_id, name) SELECT id, 'cleanupTestCase' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'dnsResolution' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'ftpProxyServer' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'ftpServer' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'hostTest' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'httpProxy' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'httpProxyBasicAuth' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'httpProxyNtlmAuth' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'httpServer' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'httpServerCGI' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'httpServerFiles' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'httpsServer' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'imapServer' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'initTestCase' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'remotePortsOpen' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'serverReachability' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'smbServer' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'socks5Proxy' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'socks5ProxyAuth' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'supportsSsl' FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'cleanupTestCase' FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'compare' FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'defaultFamily' FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'exactMatch' FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'getSetCheck' FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'initTestCase_name_edited_to_test_long_name_where_max_is_100_and_this_is_100_and_ends____________her' FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'insertAndRemoveSubstitutions' FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'isCopyOf' FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'italicOblique' FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'lastResortFont' FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'resetFont' FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'resolve' FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'serializeSpacing' FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'setFontRaw' FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'sharing' FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'styleName' FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'abort' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'activeMode' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'binaryAscii' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'bytesAvailable' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'cd' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'cleanupTestCase' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'close' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'commandSequence' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'connectToHost' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'connectToUnresponsiveHost' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'doneSignal' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'get' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'initTestCase' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'list' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'login' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'mkdir' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'mkdir2' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'proxy' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'put' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'qtbug7359Crash' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'queueMoreCommandsInDoneSlot' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-INSERT INTO testfunction (testset_id, name) SELECT id, 'rename' FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase');
-
-DELETE FROM testrow;
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'fqdn' FROM testfunction WHERE testfunction.name = 'dnsResolution' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'local-name' FROM testfunction WHERE testfunction.name = 'dnsResolution' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'echo.cgi(POST)' FROM testfunction WHERE testfunction.name = 'httpServerCGI' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'echo.cgi' FROM testfunction WHERE testfunction.name = 'httpServerCGI' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'md5sum.cgi' FROM testfunction WHERE testfunction.name = 'httpServerCGI' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'protected/md5sum.cgi' FROM testfunction WHERE testfunction.name = 'httpServerCGI' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'set-cookie.cgi' FROM testfunction WHERE testfunction.name = 'httpServerCGI' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'bigfile' FROM testfunction WHERE testfunction.name = 'httpServerFiles' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'completelyEmptyQuery.xq' FROM testfunction WHERE testfunction.name = 'httpServerFiles' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'fluke.gif' FROM testfunction WHERE testfunction.name = 'httpServerFiles' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'notWellformed.xml' FROM testfunction WHERE testfunction.name = 'httpServerFiles' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'notWellformedViaHttps.xml' FROM testfunction WHERE testfunction.name = 'httpServerFiles' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'protected/rfc3252.txt' FROM testfunction WHERE testfunction.name = 'httpServerFiles' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'rfc3252.txt' FROM testfunction WHERE testfunction.name = 'httpServerFiles' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'wellFormed.xml' FROM testfunction WHERE testfunction.name = 'httpServerFiles' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'wellFormedViaHttps.xml' FROM testfunction WHERE testfunction.name = 'httpServerFiles' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'viaHttp.xq' FROM testfunction WHERE testfunction.name = 'httpServerFiles' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'daytime' FROM testfunction WHERE testfunction.name = 'remotePortsOpen' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'echo' FROM testfunction WHERE testfunction.name = 'remotePortsOpen' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'ftp' FROM testfunction WHERE testfunction.name = 'remotePortsOpen' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'ftp-proxy' FROM testfunction WHERE testfunction.name = 'remotePortsOpen' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'http' FROM testfunction WHERE testfunction.name = 'remotePortsOpen' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'http-proxy' FROM testfunction WHERE testfunction.name = 'remotePortsOpen' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'http-proxy-auth-basic' FROM testfunction WHERE testfunction.name = 'remotePortsOpen' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'http-proxy-auth-ntlm' FROM testfunction WHERE testfunction.name = 'remotePortsOpen' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'https' FROM testfunction WHERE testfunction.name = 'remotePortsOpen' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'imap' FROM testfunction WHERE testfunction.name = 'remotePortsOpen' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'smb' FROM testfunction WHERE testfunction.name = 'remotePortsOpen' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'socks5-proxy' FROM testfunction WHERE testfunction.name = 'remotePortsOpen' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'socks5-proxy-auth' FROM testfunction WHERE testfunction.name = 'remotePortsOpen' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'ssh' FROM testfunction WHERE testfunction.name = 'remotePortsOpen' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'cursive' FROM testfunction WHERE testfunction.name = 'defaultFamily' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'fantasy_name_edited_to_test_long_name_where_max_is_500_and_can_contain_\_"_\\_""_\"_%_%%__"on"_and_this_name_is_215_and_ends________________________________________________________________________here' FROM testfunction WHERE testfunction.name = 'defaultFamily' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'monospace' FROM testfunction WHERE testfunction.name = 'defaultFamily' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'sans-serif' FROM testfunction WHERE testfunction.name = 'defaultFamily' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'serif' FROM testfunction WHERE testfunction.name = 'defaultFamily' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:get_fluke01' FROM testfunction WHERE testfunction.name = 'abort' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:get_fluke02' FROM testfunction WHERE testfunction.name = 'abort' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:put_fluke01' FROM testfunction WHERE testfunction.name = 'abort' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy' FROM testfunction WHERE testfunction.name = 'activeMode' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession' FROM testfunction WHERE testfunction.name = 'activeMode' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy' FROM testfunction WHERE testfunction.name = 'activeMode' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession' FROM testfunction WHERE testfunction.name = 'activeMode' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy' FROM testfunction WHERE testfunction.name = 'binaryAscii' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession' FROM testfunction WHERE testfunction.name = 'binaryAscii' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy' FROM testfunction WHERE testfunction.name = 'binaryAscii' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession' FROM testfunction WHERE testfunction.name = 'binaryAscii' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:fluke01' FROM testfunction WHERE testfunction.name = 'bytesAvailable' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:fluke02' FROM testfunction WHERE testfunction.name = 'bytesAvailable' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:fluke03' FROM testfunction WHERE testfunction.name = 'bytesAvailable' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:fluke04' FROM testfunction WHERE testfunction.name = 'bytesAvailable' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:fluke01' FROM testfunction WHERE testfunction.name = 'bytesAvailable' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:fluke02' FROM testfunction WHERE testfunction.name = 'bytesAvailable' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:fluke03' FROM testfunction WHERE testfunction.name = 'bytesAvailable' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:fluke04' FROM testfunction WHERE testfunction.name = 'bytesAvailable' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:fluke01' FROM testfunction WHERE testfunction.name = 'bytesAvailable' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:fluke02' FROM testfunction WHERE testfunction.name = 'bytesAvailable' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:fluke03' FROM testfunction WHERE testfunction.name = 'bytesAvailable' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:fluke04' FROM testfunction WHERE testfunction.name = 'bytesAvailable' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:fluke01' FROM testfunction WHERE testfunction.name = 'bytesAvailable' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:fluke02' FROM testfunction WHERE testfunction.name = 'bytesAvailable' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:fluke03' FROM testfunction WHERE testfunction.name = 'bytesAvailable' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:fluke04' FROM testfunction WHERE testfunction.name = 'bytesAvailable' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:absPath01' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:absPath02' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:nonExist01' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:nonExist03' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:relPath01' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:relPath02' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:absPath01' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:absPath02' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:nonExist01' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:nonExist03' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:relPath01' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:relPath02' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:absPath01' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:absPath02' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:nonExist01' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:nonExist03' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:relPath01' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:relPath02' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:absPath01' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:absPath02' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:nonExist01' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:nonExist03' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:relPath01' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:relPath02' FROM testfunction WHERE testfunction.name = 'cd' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:login01' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:login02' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:login03' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:login04' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:no-login01' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:login01' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:login02' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:login03' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:login04' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:no-login01' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:login01' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:login02' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:login03' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:login04' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:no-login01' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:login01' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:login02' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:login03' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:login04' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:no-login01' FROM testfunction WHERE testfunction.name = 'close' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:connect_twice' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:error01' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:error02' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:error03' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:error04' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:simple_ok01' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:simple_ok02' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:simple_ok03' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:simple_ok04' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:connect_twice' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:error01' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:error02' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:error03' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:error04' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:simple_ok01' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:simple_ok02' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:simple_ok03' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:simple_ok04' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:connect_twice' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:error01' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:error02' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:error03' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:error04' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:simple_ok01' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:simple_ok02' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:simple_ok03' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:simple_ok04' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:connect_twice' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:error01' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:error02' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:error03' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:error04' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:simple_ok01' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:simple_ok02' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:simple_ok03' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:simple_ok04' FROM testfunction WHERE testfunction.name = 'commandSequence' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:error01' FROM testfunction WHERE testfunction.name = 'connectToHost' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:error02' FROM testfunction WHERE testfunction.name = 'connectToHost' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:ok01' FROM testfunction WHERE testfunction.name = 'connectToHost' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:error01' FROM testfunction WHERE testfunction.name = 'connectToHost' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:error02' FROM testfunction WHERE testfunction.name = 'connectToHost' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:ok01' FROM testfunction WHERE testfunction.name = 'connectToHost' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:error01' FROM testfunction WHERE testfunction.name = 'connectToHost' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:error02' FROM testfunction WHERE testfunction.name = 'connectToHost' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:ok01' FROM testfunction WHERE testfunction.name = 'connectToHost' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:error01' FROM testfunction WHERE testfunction.name = 'connectToHost' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:error02' FROM testfunction WHERE testfunction.name = 'connectToHost' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:ok01' FROM testfunction WHERE testfunction.name = 'connectToHost' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy' FROM testfunction WHERE testfunction.name = 'connectToUnresponsiveHost' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy' FROM testfunction WHERE testfunction.name = 'connectToUnresponsiveHost' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy' FROM testfunction WHERE testfunction.name = 'doneSignal' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession' FROM testfunction WHERE testfunction.name = 'doneSignal' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy' FROM testfunction WHERE testfunction.name = 'doneSignal' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession' FROM testfunction WHERE testfunction.name = 'doneSignal' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:absPath01_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:absPath01_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:absPath02_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:absPath02_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:nonExist01_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:nonExist01_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:nonExist02_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:nonExist02_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:relPath01_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:relPath01_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:relPath02_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:relPath02_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:absPath01_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:absPath01_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:absPath02_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:absPath02_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:nonExist01_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:nonExist01_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:nonExist02_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:nonExist02_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:relPath01_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:relPath01_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:relPath02_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:relPath02_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:absPath01_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:absPath01_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:absPath02_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:absPath02_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:nonExist01_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:nonExist01_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:nonExist02_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:nonExist02_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:relPath01_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:relPath01_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:relPath02_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:relPath02_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:absPath01_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:absPath01_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:absPath02_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:absPath02_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:nonExist01_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:nonExist01_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:nonExist02_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:nonExist02_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:relPath01_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:relPath01_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:relPath02_0' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:relPath02_1' FROM testfunction WHERE testfunction.name = 'get' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:absPath01' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:absPath02' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:epsvNotSupported' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:nonExist01' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:nonExist02' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:relPath01' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:relPath02' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:workDir01' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:workDir02' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:absPath01' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:absPath02' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:epsvNotSupported' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:nonExist01' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:nonExist02' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:relPath01' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:relPath02' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:workDir01' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:workDir02' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:absPath01' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:absPath02' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:epsvNotSupported' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:nonExist01' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:nonExist02' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:relPath01' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:relPath02' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:workDir01' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:workDir02' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:absPath01' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:absPath02' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:epsvNotSupported' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:nonExist01' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:nonExist02' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:relPath01' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:relPath02' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:workDir01' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:workDir02' FROM testfunction WHERE testfunction.name = 'list' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:error01' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:error02' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:ok02' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:ok03' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:ok04' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:error01' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:error02' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:ok01' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:ok02' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:ok03' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:ok04' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:error01' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:error02' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:ok01' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:ok02' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:ok03' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:ok04' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:error01' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:error02' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:ok01' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:ok02' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:ok03' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:ok04' FROM testfunction WHERE testfunction.name = 'login' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:absPath01' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:absPath02' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:nonExist01' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:nonExist02' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:relPath01' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:relPath02' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:relPath03' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:absPath01' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:absPath02' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:nonExist01' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:nonExist02' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:relPath01' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:relPath02' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:relPath03' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:absPath01' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:absPath02' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:nonExist01' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:nonExist02' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:relPath01' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:relPath02' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:relPath03' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:absPath01' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:absPath02' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:nonExist01' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:nonExist02' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:relPath01' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:relPath02' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:relPath03' FROM testfunction WHERE testfunction.name = 'mkdir' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy' FROM testfunction WHERE testfunction.name = 'mkdir2' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession' FROM testfunction WHERE testfunction.name = 'mkdir2' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy' FROM testfunction WHERE testfunction.name = 'mkdir2' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession' FROM testfunction WHERE testfunction.name = 'mkdir2' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:proxy_absPath01' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:proxy_absPath02' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:proxy_nonExist01' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:proxy_nonExist03' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:proxy_relPath01' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:proxy_relPath02' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:proxy_absPath01' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:proxy_absPath02' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:proxy_nonExist01' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:proxy_nonExist03' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:proxy_relPath01' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:proxy_relPath02' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:proxy_absPath01' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:proxy_absPath02' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:proxy_nonExist01' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:proxy_nonExist03' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:proxy_relPath01' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:proxy_relPath02' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:proxy_absPath01' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:proxy_absPath02' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:proxy_nonExist01' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:proxy_nonExist03' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:proxy_relPath01' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:proxy_relPath02' FROM testfunction WHERE testfunction.name = 'proxy' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:relPath01_0' FROM testfunction WHERE testfunction.name = 'put' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:relPath01_1' FROM testfunction WHERE testfunction.name = 'put' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:relPath01_0' FROM testfunction WHERE testfunction.name = 'put' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:relPath01_1' FROM testfunction WHERE testfunction.name = 'put' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:relPath01_0' FROM testfunction WHERE testfunction.name = 'put' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:relPath01_1' FROM testfunction WHERE testfunction.name = 'put' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:relPath01_0' FROM testfunction WHERE testfunction.name = 'put' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:relPath01_1' FROM testfunction WHERE testfunction.name = 'put' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy' FROM testfunction WHERE testfunction.name = 'qtbug7359Crash' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession' FROM testfunction WHERE testfunction.name = 'qtbug7359Crash' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy' FROM testfunction WHERE testfunction.name = 'qtbug7359Crash' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession' FROM testfunction WHERE testfunction.name = 'qtbug7359Crash' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:absPath01' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:absPath02' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:nonExist01' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:nonExist02' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:relPath01' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:relPath02' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxy:relPath03' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:absPath01' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:absPath02' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:nonExist01' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:nonExist02' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:relPath01' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:relPath02' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithoutProxyWithSession:relPath03' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:absPath01' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:absPath02' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:nonExist01' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:nonExist02' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:relPath01' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:relPath02' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5Proxy:relPath03' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:absPath01' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:absPath02' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:nonExist01' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:nonExist02' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:relPath01' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:relPath02' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-INSERT INTO testrow (testfunction_id, name) SELECT id, 'WithSocks5ProxyAndSession:relPath03' FROM testfunction WHERE testfunction.name = 'rename' AND testfunction.testset_id = (SELECT id FROM testset WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT project.id FROM project WHERE project.name = 'QtBase'));
-
-DELETE FROM phase;
--- Note: only the few QtBase builds included in the test data
-INSERT INTO phase (name) VALUES ('checking the installation');
-INSERT INTO phase (name) VALUES ('cleaning existing target directories');
-INSERT INTO phase (name) VALUES ('compiling Qt');
-INSERT INTO phase (name) VALUES ('configuring Qt');
-INSERT INTO phase (name) VALUES ('determining test script configuration');
-INSERT INTO phase (name) VALUES ('installing Qt');
-INSERT INTO phase (name) VALUES ('reading dependencies from qtdeclarative/sync.profile');
-INSERT INTO phase (name) VALUES ('running init-repository for qtdeclarative');
-INSERT INTO phase (name) VALUES ('running init-repository for qtjsbackend,qtxmlpatterns');
-INSERT INTO phase (name) VALUES ('running the autotests');
-INSERT INTO phase (name) VALUES ('running the qtqa tests on qtbase');
-INSERT INTO phase (name) VALUES ('running the qtqa tests on qtdeclarative');
-INSERT INTO phase (name) VALUES ('setting up git repositories');
-INSERT INTO phase (name) VALUES ('testing qtbase');
-INSERT INTO phase (name) VALUES ('testing reverse dependency qtdeclarative (refs/heads/stable) on top of qtbase');
-
-DELETE FROM project_run;
--- Note: the QtBase builds manipulated to Qt5 builds (to follow the new way of saving Qt5 state builds with testsets having still their actual parent project)
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1326, 'SUCCESS', '2013-05-23 13:53', '2:11:47' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1312, 'FAILURE', '2013-05-22 13:55', '2:24:15' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1303, 'FAILURE', '2013-05-21 21:04', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1317, 'FAILURE', '2013-05-22 21:10', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1311, 'SUCCESS', '2013-05-22 11:34', '2:16:39' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1314, 'FAILURE', '2013-05-22 18:39', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1321, 'SUCCESS', '2013-05-23 1:21', '2:10:30' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1320, 'FAILURE', '2013-05-23 0:31', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1306, 'FAILURE', '2013-05-22 8:24', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1304, 'FAILURE', '2013-05-21 22:10', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1308, 'FAILURE', '2013-05-22 10:39', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1302, 'FAILURE', '2013-05-21 18:57', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1305, 'FAILURE', '2013-05-22 1:16', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1313, 'SUCCESS', '2013-05-22 16:25', '2:09:49' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1307, 'FAILURE', '2013-05-22 9:32', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1310, 'FAILURE', '2013-05-22 11:11', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1309, 'FAILURE', '2013-05-22 10:48', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1325, 'SUCCESS', '2013-05-23 11:40', '2:08:28' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1316, 'FAILURE', '2013-05-22 20:19', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1319, 'SUCCESS', '2013-05-22 22:25', '2:01:46' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1322, 'FAILURE', '2013-05-23 7:37', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1315, 'FAILURE', '2013-05-22 19:30', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1323, 'SUCCESS', '2013-05-23 8:30', '1:55:58' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1301, 'FAILURE', '2013-05-21 18:42', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1324, 'FAILURE', '2013-05-23 10:30', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1300, 'FAILURE', '2013-05-21 18:32', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1318, 'FAILURE', '2013-05-22 22:14', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1002, 'SUCCESS', '2013-05-20 14:22', '1:56:13' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1010, 'FAILURE', '2013-05-22 12:11', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1005, 'FAILURE', '2013-05-21 14:04', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1006, 'FAILURE', '2013-05-21 16:55', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1007, 'FAILURE', '2013-05-21 18:57', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1003, 'SUCCESS', '2013-05-21 9:29', '1:56:05' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1001, 'SUCCESS', '2013-05-20 12:16', '2:02:27' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1000, 'SUCCESS', '2013-05-20 10:13', '1:58:28' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1004, 'FAILURE', '2013-05-21 11:29', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1008, 'FAILURE', '2013-05-22 1:31', '2:05:06' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1009, 'FAILURE', '2013-05-22 11:00', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 141, 'SUCCESS', '2013-03-26 12:47', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 155, 'SUCCESS', '2013-04-03 16:17', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 134, 'SUCCESS', '2013-03-20 22:35', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 150, 'FAILURE', '2013-04-02 18:30', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 153, 'SUCCESS', '2013-04-03 0:41', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 156, 'FAILURE', '2013-04-08 16:50', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 143, 'SUCCESS', '2013-03-27 13:35', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 142, 'SUCCESS', '2013-03-26 20:43', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 131, 'SUCCESS', '2013-03-20 14:11', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 135, 'FAILURE', '2013-03-21 18:04', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 154, 'FAILURE', '2013-04-03 3:15', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 145, 'FAILURE', '2013-03-27 17:31', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 148, 'FAILURE', '2013-03-29 22:26', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 133, 'SUCCESS', '2013-03-20 19:30', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 151, 'FAILURE', '2013-04-02 20:36', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 147, 'FAILURE', '2013-03-28 14:46', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 157, 'SUCCESS', '2013-04-08 18:51', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 146, 'FAILURE', '2013-03-27 23:44', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 149, 'SUCCESS', '2013-03-30 1:28', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 136, 'SUCCESS', '2013-03-22 13:05', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 130, 'FAILURE', '2013-03-19 22:39', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 144, 'FAILURE', '2013-03-27 15:34', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 137, 'FAILURE', '2013-03-22 15:51', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 152, 'FAILURE', '2013-04-02 22:38', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 139, 'SUCCESS', '2013-03-25 14:24', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 140, 'SUCCESS', '2013-03-26 10:49', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 138, 'SUCCESS', '2013-03-22 18:52', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 132, 'SUCCESS', '2013-03-20 16:25', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'release' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4751, 'SUCCESS', '2012-12-01 11:30', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4755, 'SUCCESS', '2012-12-01 17:47', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4776, 'SUCCESS', '2012-12-11 10:35', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4753, 'FAILURE', '2012-12-01 13:43', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4774, 'FAILURE', '2012-12-11 5:48', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4771, 'FAILURE', '2012-12-06 20:24', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4770, 'SUCCESS', '2012-12-05 15:33', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4773, 'SUCCESS', '2012-12-07 13:18', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4768, 'SUCCESS', '2012-12-05 0:37', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4772, 'FAILURE', '2012-12-07 11:32', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4754, 'FAILURE', '2012-12-01 15:53', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4775, 'SUCCESS', '2012-12-11 8:36', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4766, 'FAILURE', '2012-12-04 14:45', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4763, 'FAILURE', '2012-12-03 15:04', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4757, 'FAILURE', '2012-12-01 21:33', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4764, 'SUCCESS', '2012-12-03 16:56', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4756, 'SUCCESS', '2012-12-01 20:46', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4752, 'SUCCESS', '2012-12-01 13:28', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4769, 'SUCCESS', '2012-12-05 11:57', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4765, 'SUCCESS', '2012-12-03 18:54', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4750, 'FAILURE', '2012-12-01 7:21', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4758, 'FAILURE', '2012-12-02 1:23', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4777, 'SUCCESS', '2012-12-11 13:37', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4762, 'SUCCESS', '2012-12-03 12:10', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4761, 'FAILURE', '2012-12-02 15:58', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4760, 'SUCCESS', '2012-12-02 5:09', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4767, 'FAILURE', '2012-12-04 17:41', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 4759, 'SUCCESS', '2012-12-02 3:11', '12:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'master' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1330, 'SUCCESS', '2013-05-23 21:05', '1:55:09' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1332, 'SUCCESS', '2013-05-24 10:51', '2:01:05' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1329, 'SUCCESS', '2013-05-23 18:59', '2:02:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1328, 'FAILURE', '2013-05-23 16:50', '2:04:51' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1333, 'SUCCESS', '2013-05-24 12:56', '2:00:53' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1331, 'SUCCESS', '2013-05-23 23:04', '2:10:17' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1327, 'FAILURE', '2013-05-23 16:09', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1011, 'FAILURE', '2013-05-24 11:24', '2:30:46' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1339, 'SUCCESS', '2013-05-26 11:13', '2:00:22' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1340, 'SUCCESS', '2013-05-26 22:12', '2:04:11' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1337, 'SUCCESS', '2013-05-24 22:43', '2:01:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1338, 'SUCCESS', '2013-05-26 2:07', '2:01:03' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1334, 'FAILURE', '2013-05-24 15:01', '2:44:09' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1342, 'SUCCESS', '2013-05-27 3:48', '1:58:08' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1335, 'FAILURE', '2013-05-24 17:49', '2:21:12' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1336, 'SUCCESS', '2013-05-24 20:41', '1:58:41' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1341, 'SUCCESS', '2013-05-27 1:45', '1:59:46' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1014, 'SUCCESS', '2013-05-26 21:12', '2:25:06' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1013, 'SUCCESS', '2013-05-24 15:59', '2:08:36' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1012, 'FAILURE', '2013-05-24 14:13', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 252, 'SUCCESS', '2013-05-27 17:58', '0:48:27' FROM project, branch, state WHERE project.name = 'QtQuickControls' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 251, 'SUCCESS', '2013-05-27 17:06', '0:48:34' FROM project, branch, state WHERE project.name = 'QtQuickControls' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 248, 'SUCCESS', '2013-05-27 14:24', '0:48:23' FROM project, branch, state WHERE project.name = 'QtQuickControls' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 253, 'SUCCESS', '2013-05-27 20:50', '0:47:44' FROM project, branch, state WHERE project.name = 'QtQuickControls' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 249, 'SUCCESS', '2013-05-27 15:16', '0:48:31' FROM project, branch, state WHERE project.name = 'QtQuickControls' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 246, 'SUCCESS', '2013-05-27 12:40', '0:48:32' FROM project, branch, state WHERE project.name = 'QtQuickControls' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 254, 'SUCCESS', '2013-05-27 21:41', '0:48:26' FROM project, branch, state WHERE project.name = 'QtQuickControls' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 250, 'SUCCESS', '2013-05-27 16:14', '0:48:24' FROM project, branch, state WHERE project.name = 'QtQuickControls' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 247, 'SUCCESS', '2013-05-27 13:32', '0:48:41' FROM project, branch, state WHERE project.name = 'QtQuickControls' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 255, 'SUCCESS', '2013-05-27 23:33', '0:48:26' FROM project, branch, state WHERE project.name = 'QtQuickControls' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 204, 'SUCCESS', '2013-05-27 17:15', '0:48:53' FROM project, branch, state WHERE project.name = 'QtDoc' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 64, 'FAILURE', '2013-05-28 10:26', '0:00:00' FROM project, branch, state WHERE project.name = 'QtSvg' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 701, 'ABORTED', '2013-05-27 15:29', '1:14:45' FROM project, branch, state WHERE project.name = 'QtDeclarative' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 702, 'SUCCESS', '2013-05-27 16:47', '2:07:24' FROM project, branch, state WHERE project.name = 'QtDeclarative' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 704, 'SUCCESS', '2013-05-27 21:08', '2:13:57' FROM project, branch, state WHERE project.name = 'QtDeclarative' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 703, 'SUCCESS', '2013-05-27 18:57', '2:08:06' FROM project, branch, state WHERE project.name = 'QtDeclarative' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 165, 'FAILURE', '2013-05-27 18:01', '0:00:00' FROM project, branch, state WHERE project.name = 'QtMultimedia' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 167, 'SUCCESS', '2013-05-27 20:42', '0:55:01' FROM project, branch, state WHERE project.name = 'QtMultimedia' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 166, 'FAILURE', '2013-05-27 20:02', '0:34:55' FROM project, branch, state WHERE project.name = 'QtMultimedia' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 163, 'SUCCESS', '2013-05-27 15:29', '0:51:32' FROM project, branch, state WHERE project.name = 'QtMultimedia' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 164, 'SUCCESS', '2013-05-27 17:22', '0:36:46' FROM project, branch, state WHERE project.name = 'QtMultimedia' AND branch.name = 'stable' AND state.name = 'Integration';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1346, 'FAILURE', '2013-05-27 21:14', '2:16:48' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1343, 'SUCCESS', '2013-05-27 14:18', '2:08:02' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1345, 'SUCCESS', '2013-05-27 18:57', '2:12:36' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1347, 'FAILURE', '2013-05-27 23:40', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1348, 'SUCCESS', '2013-05-28 0:54', '2:01:31' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1344, 'FAILURE', '2013-05-27 16:31', '2:21:45' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1019, 'FAILURE', '2013-05-27 15:11', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1015, 'FAILURE', '2013-05-27 8:22', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1016, 'FAILURE', '2013-05-27 10:16', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1017, 'SUCCESS', '2013-05-27 10:53', '2:20:26' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1022, 'SUCCESS', '2013-05-27 21:01', '2:10:21' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1018, 'FAILURE', '2013-05-27 13:17', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1020, 'SUCCESS', '2013-05-27 16:23', '2:23:49' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1023, 'FAILURE', '2013-05-27 23:19', '0:00:00' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 1021, 'SUCCESS', '2013-05-27 18:50', '2:07:05' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration) SELECT project.id, branch.id, state.id, 18446744073709551615, 'FAILURE', '2013-05-27 23:50', '2:07:05' FROM project, branch, state WHERE project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state';
-
-DELETE FROM conf_run;
--- Note: only the QtBase (manipulated to Qt5) and its few latest runs included, state manipulated to 'state' (instead of 'Integration')
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'undef', 0, '2013-05-27 23:19', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 280, '2013-05-27 23:19', '0:18:46' FROM conf, project_run WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'undef', 0, '2013-05-27 23:19', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 23:19', '0:06:34' FROM conf, project_run WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'undef', 0, '2013-05-27 23:19', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 147, '2013-05-27 23:19', '0:34:47' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'undef', 0, '2013-05-27 23:19', '0:00:00' FROM conf, project_run WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 413, '2013-05-27 23:19', '0:39:22' FROM conf, project_run WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'undef', 0, '2013-05-27 23:19', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 413, '2013-05-27 23:19', '0:30:46' FROM conf, project_run WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'undef', 64, '2013-05-27 23:19', '0:00:00' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'FAILURE', 453, '2013-05-27 23:19', '0:46:47' FROM conf, project_run WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'undef', 0, '2013-05-27 23:19', '0:00:00' FROM conf, project_run WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 23:19', '0:22:51' FROM conf, project_run WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 23:19', '0:04:35' FROM conf, project_run WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'undef', 0, '2013-05-27 23:19', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 23:19', '0:33:16' FROM conf, project_run WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'undef', 0, '2013-05-27 23:19', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 23:19', '0:12:19' FROM conf, project_run WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 42, '2013-05-27 23:19', '0:25:10' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1023;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 420, '2013-05-27 21:01', '2:04:48' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 280, '2013-05-27 21:01', '0:23:09' FROM conf, project_run WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 420, '2013-05-27 21:01', '2:10:21' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 21:01', '0:06:30' FROM conf, project_run WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 385, '2013-05-27 21:01', '1:41:20' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 147, '2013-05-27 21:01', '0:44:39' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 21:01', '0:43:31' FROM conf, project_run WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 411, '2013-05-27 21:01', '0:46:51' FROM conf, project_run WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 419, '2013-05-27 21:01', '1:25:01' FROM conf, project_run WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 411, '2013-05-27 21:01', '0:38:23' FROM conf, project_run WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 430, '2013-05-27 21:01', '1:32:03' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-27 21:01', '0:52:31' FROM conf, project_run WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 420, '2013-05-27 21:01', '2:07:01' FROM conf, project_run WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 21:01', '0:29:50' FROM conf, project_run WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 21:01', '0:04:40' FROM conf, project_run WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 419, '2013-05-27 21:01', '1:24:39' FROM conf, project_run WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 21:01', '0:39:18' FROM conf, project_run WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-27 21:01', '0:51:21' FROM conf, project_run WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 21:01', '0:20:39' FROM conf, project_run WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 42, '2013-05-27 21:01', '0:29:01' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1022;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 12:34', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4777;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 0, '2012-12-11 13:37', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4777;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 0, '2012-12-11 12:08', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4777;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 13:35', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4777;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 13:25', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4777;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 12:17', '0:00:00' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4777;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 12:22', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4777;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 0, '2012-12-11 12:33', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4777;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 12:23', '0:00:00' FROM conf, project_run WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4777;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 12:15', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4777;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 12:35', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4777;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 13:20', '0:00:00' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4777;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 12:07', '0:00:00' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4777;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 9:28', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4776;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 0, '2012-12-11 10:33', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4776;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 0, '2012-12-11 9:02', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4776;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 10:35', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4776;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 10:12', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4776;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 9:10', '0:00:00' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4776;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 9:14', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4776;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 0, '2012-12-11 9:14', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4776;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 9:20', '0:00:00' FROM conf, project_run WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4776;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 9:11', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4776;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 9:29', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4776;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 10:12', '0:00:00' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4776;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2012-12-11 8:53', '0:00:00' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'master') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 4776;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 0, '2013-04-08 18:49', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 157;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 0, '2013-04-08 17:17', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 157;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 18:51', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 157;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 17:01', '0:00:00' FROM conf, project_run WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 157;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 18:32', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 157;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 17:32', '0:00:00' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 157;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 0, '2013-04-08 17:44', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 157;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 17:47', '0:00:00' FROM conf, project_run WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 157;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 0, '2013-04-08 18:14', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 157;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 17:26', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 157;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 18:15', '0:00:00' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 157;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 17:48', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 157;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 18:49', '0:00:00' FROM conf, project_run WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 157;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 17:08', '0:00:00' FROM conf, project_run WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 157;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 17:33', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 157;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 17:47', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 157;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 17:07', '0:00:00' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 157;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 0, '2013-04-08 16:26', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 156;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 0, '2013-04-08 15:00', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 156;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 16:33', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 156;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 14:29', '0:00:00' FROM conf, project_run WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 156;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 16:03', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 156;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 15:17', '0:00:00' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 156;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 0, '2013-04-08 15:25', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 156;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 15:13', '0:00:00' FROM conf, project_run WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 156;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 0, '2013-04-08 15:58', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 156;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 15:02', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 156;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 15:51', '0:00:00' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 156;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 15:29', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 156;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'FAILURE', 0, '2013-04-08 16:50', '0:00:00' FROM conf, project_run WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 156;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 14:39', '0:00:00' FROM conf, project_run WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 156;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 15:19', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 156;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 15:28', '0:00:00' FROM conf, project_run WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 156;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-04-08 14:41', '0:00:00' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'release') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 156;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 420, '2013-05-28 0:54', '1:50:27' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 280, '2013-05-28 0:54', '0:16:21' FROM conf, project_run WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 420, '2013-05-28 0:54', '1:55:25' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-28 0:54', '0:06:20' FROM conf, project_run WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 385, '2013-05-28 0:54', '1:34:29' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-28 0:54', '0:01:03' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-28 0:54', '1:22:33' FROM conf, project_run WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 411, '2013-05-28 0:54', '0:29:48' FROM conf, project_run WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 419, '2013-05-28 0:54', '1:13:29' FROM conf, project_run WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 411, '2013-05-28 0:54', '0:30:24' FROM conf, project_run WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 430, '2013-05-28 0:54', '1:25:00' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-28 0:54', '0:44:13' FROM conf, project_run WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 420, '2013-05-28 0:54', '2:01:30' FROM conf, project_run WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-28 0:54', '0:20:21' FROM conf, project_run WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-28 0:54', '0:04:35' FROM conf, project_run WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 430, '2013-05-28 0:54', '1:14:13' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 419, '2013-05-28 0:54', '1:13:10' FROM conf, project_run WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-28 0:54', '0:30:50' FROM conf, project_run WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-28 0:54', '0:46:49' FROM conf, project_run WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-28 0:54', '0:12:02' FROM conf, project_run WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-28 0:54', '0:01:28' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1348;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'undef', 0, '2013-05-27 23:40', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 280, '2013-05-27 23:40', '0:17:10' FROM conf, project_run WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'undef', 0, '2013-05-27 23:40', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 23:40', '0:06:20' FROM conf, project_run WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'undef', 0, '2013-05-27 23:40', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 23:40', '0:01:06' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'undef', 0, '2013-05-27 23:40', '0:00:00' FROM conf, project_run WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 411, '2013-05-27 23:40', '0:28:13' FROM conf, project_run WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'undef', 0, '2013-05-27 23:40', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 411, '2013-05-27 23:40', '0:34:53' FROM conf, project_run WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'undef', 67, '2013-05-27 23:40', '0:00:00' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-27 23:40', '0:45:42' FROM conf, project_run WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'FAILURE', 0, '2013-05-27 23:40', '1:04:49' FROM conf, project_run WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 23:40', '0:21:37' FROM conf, project_run WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 23:40', '0:04:41' FROM conf, project_run WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'undef', 47, '2013-05-27 23:40', '0:00:00' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'undef', 0, '2013-05-27 23:40', '0:00:00' FROM conf, project_run WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 23:40', '0:38:44' FROM conf, project_run WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-27 23:40', '0:50:38' FROM conf, project_run WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 23:40', '0:10:09' FROM conf, project_run WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 23:40', '0:01:56' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1347;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 420, '2013-05-27 21:14', '2:03:02' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 280, '2013-05-27 21:14', '0:21:38' FROM conf, project_run WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'FAILURE', 420, '2013-05-27 21:14', '2:16:47' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 21:14', '0:06:15' FROM conf, project_run WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 385, '2013-05-27 21:14', '1:46:26' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 21:14', '0:01:44' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 21:14', '1:22:24' FROM conf, project_run WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 411, '2013-05-27 21:14', '0:35:37' FROM conf, project_run WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 419, '2013-05-27 21:14', '1:21:17' FROM conf, project_run WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 411, '2013-05-27 21:14', '0:34:58' FROM conf, project_run WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 430, '2013-05-27 21:14', '1:24:00' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-27 21:14', '0:50:05' FROM conf, project_run WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 420, '2013-05-27 21:14', '2:10:35' FROM conf, project_run WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 21:14', '0:20:01' FROM conf, project_run WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 21:14', '0:04:34' FROM conf, project_run WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 430, '2013-05-27 21:14', '1:13:50' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 419, '2013-05-27 21:14', '1:18:53' FROM conf, project_run WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 21:14', '0:28:32' FROM conf, project_run WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-27 21:14', '0:54:33' FROM conf, project_run WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 21:14', '0:12:44' FROM conf, project_run WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 21:14', '0:02:02' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1346;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 420, '2013-05-27 18:57', '1:59:54' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 280, '2013-05-27 18:57', '0:19:26' FROM conf, project_run WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 420, '2013-05-27 18:57', '2:12:13' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 18:57', '0:05:54' FROM conf, project_run WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 385, '2013-05-27 18:57', '1:44:53' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 147, '2013-05-27 18:57', '0:38:17' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 18:57', '1:31:19' FROM conf, project_run WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 411, '2013-05-27 18:57', '0:51:11' FROM conf, project_run WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 419, '2013-05-27 18:57', '1:16:16' FROM conf, project_run WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 411, '2013-05-27 18:57', '0:41:49' FROM conf, project_run WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 430, '2013-05-27 18:57', '1:26:06' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-27 18:57', '0:47:39' FROM conf, project_run WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 420, '2013-05-27 18:57', '2:12:35' FROM conf, project_run WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 18:57', '0:25:20' FROM conf, project_run WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 18:57', '0:04:31' FROM conf, project_run WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 430, '2013-05-27 18:57', '1:13:30' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 419, '2013-05-27 18:57', '1:18:07' FROM conf, project_run WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 18:57', '0:32:16' FROM conf, project_run WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-27 18:57', '0:51:46' FROM conf, project_run WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 18:57', '0:22:14' FROM conf, project_run WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 42, '2013-05-27 18:57', '0:18:45' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1345;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 420, '2013-05-27 16:31', '2:01:35' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 280, '2013-05-27 16:31', '0:24:01' FROM conf, project_run WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 420, '2013-05-27 16:31', '2:08:25' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 16:31', '0:05:54' FROM conf, project_run WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 385, '2013-05-27 16:31', '1:51:44' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 147, '2013-05-27 16:31', '0:49:07' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 16:31', '1:22:46' FROM conf, project_run WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 411, '2013-05-27 16:31', '0:36:38' FROM conf, project_run WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 419, '2013-05-27 16:31', '1:18:29' FROM conf, project_run WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 411, '2013-05-27 16:31', '0:31:29' FROM conf, project_run WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 430, '2013-05-27 16:31', '1:23:12' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-27 16:31', '0:47:48' FROM conf, project_run WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'FAILURE', 420, '2013-05-27 16:31', '2:21:45' FROM conf, project_run WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 16:31', '0:19:57' FROM conf, project_run WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 16:31', '0:04:59' FROM conf, project_run WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 430, '2013-05-27 16:31', '1:14:34' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 419, '2013-05-27 16:31', '1:13:10' FROM conf, project_run WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 16:31', '0:32:06' FROM conf, project_run WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-27 16:31', '0:56:07' FROM conf, project_run WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 16:31', '0:11:39' FROM conf, project_run WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 42, '2013-05-27 16:31', '0:11:29' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1344;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 420, '2013-05-27 14:18', '2:02:31' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 280, '2013-05-27 14:18', '0:17:13' FROM conf, project_run WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 420, '2013-05-27 14:18', '2:02:30' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 14:18', '0:06:18' FROM conf, project_run WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 385, '2013-05-27 14:18', '1:40:51' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 147, '2013-05-27 14:18', '0:33:55' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 14:18', '0:41:42' FROM conf, project_run WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 411, '2013-05-27 14:18', '0:30:10' FROM conf, project_run WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 419, '2013-05-27 14:18', '1:21:59' FROM conf, project_run WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 411, '2013-05-27 14:18', '0:31:29' FROM conf, project_run WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 430, '2013-05-27 14:18', '1:31:10' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-27 14:18', '0:51:00' FROM conf, project_run WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 420, '2013-05-27 14:18', '2:08:01' FROM conf, project_run WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 14:18', '0:24:26' FROM conf, project_run WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 14:18', '0:04:38' FROM conf, project_run WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 430, '2013-05-27 14:18', '1:14:18' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 419, '2013-05-27 14:18', '1:17:45' FROM conf, project_run WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 14:18', '0:29:49' FROM conf, project_run WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-27 14:18', '0:46:49' FROM conf, project_run WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 14:18', '0:11:49' FROM conf, project_run WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 42, '2013-05-27 14:18', '0:07:53' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1343;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 420, '2013-05-27 3:48', '1:51:13' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 280, '2013-05-27 3:48', '0:16:12' FROM conf, project_run WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 420, '2013-05-27 3:48', '1:54:23' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 1, 0, 'SUCCESS', 0, '2013-05-27 3:48', '0:06:08' FROM conf, project_run WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 385, '2013-05-27 3:48', '1:35:47' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 147, '2013-05-27 3:48', '0:33:49' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 3:48', '1:22:23' FROM conf, project_run WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 411, '2013-05-27 3:48', '0:29:19' FROM conf, project_run WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 419, '2013-05-27 3:48', '1:15:19' FROM conf, project_run WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 411, '2013-05-27 3:48', '0:30:31' FROM conf, project_run WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 430, '2013-05-27 3:48', '1:24:05' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-27 3:48', '0:44:45' FROM conf, project_run WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 420, '2013-05-27 3:48', '1:58:07' FROM conf, project_run WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 3:48', '0:20:23' FROM conf, project_run WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 3:48', '0:04:32' FROM conf, project_run WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 430, '2013-05-27 3:48', '1:13:13' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 419, '2013-05-27 3:48', '1:12:43' FROM conf, project_run WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 3:48', '0:30:33' FROM conf, project_run WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-27 3:48', '0:47:01' FROM conf, project_run WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 3:48', '0:11:13' FROM conf, project_run WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 42, '2013-05-27 3:48', '0:07:20' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1342;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 420, '2013-05-27 1:45', '1:50:00' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 280, '2013-05-27 1:45', '0:16:14' FROM conf, project_run WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 420, '2013-05-27 1:45', '1:54:55' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 1, 0, 'SUCCESS', 0, '2013-05-27 1:45', '0:06:11' FROM conf, project_run WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 385, '2013-05-27 1:45', '1:29:35' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 147, '2013-05-27 1:45', '0:34:19' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 1:45', '1:22:30' FROM conf, project_run WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 411, '2013-05-27 1:45', '0:30:14' FROM conf, project_run WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 419, '2013-05-27 1:45', '1:13:03' FROM conf, project_run WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 411, '2013-05-27 1:45', '0:30:22' FROM conf, project_run WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 430, '2013-05-27 1:45', '1:24:09' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-27 1:45', '0:49:05' FROM conf, project_run WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 420, '2013-05-27 1:45', '1:59:45' FROM conf, project_run WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 1:45', '0:21:34' FROM conf, project_run WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 1:45', '0:04:33' FROM conf, project_run WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 430, '2013-05-27 1:45', '1:13:50' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 419, '2013-05-27 1:45', '1:20:03' FROM conf, project_run WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 1:45', '0:31:27' FROM conf, project_run WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-27 1:45', '0:46:38' FROM conf, project_run WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-27 1:45', '0:12:17' FROM conf, project_run WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 42, '2013-05-27 1:45', '0:25:38' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1341;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 420, '2013-05-26 22:12', '1:57:05' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 280, '2013-05-26 22:12', '0:17:41' FROM conf, project_run WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 420, '2013-05-26 22:12', '2:01:07' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 1, 0, 'SUCCESS', 0, '2013-05-26 22:12', '0:06:27' FROM conf, project_run WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 385, '2013-05-26 22:12', '1:33:40' FROM conf, project_run WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 147, '2013-05-26 22:12', '0:40:35' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-26 22:12', '0:41:17' FROM conf, project_run WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 411, '2013-05-26 22:12', '0:35:28' FROM conf, project_run WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 419, '2013-05-26 22:12', '1:12:55' FROM conf, project_run WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 411, '2013-05-26 22:12', '0:29:41' FROM conf, project_run WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 430, '2013-05-26 22:12', '1:23:43' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-26 22:12', '0:50:45' FROM conf, project_run WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 420, '2013-05-26 22:12', '2:04:09' FROM conf, project_run WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-26 22:12', '0:19:38' FROM conf, project_run WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-26 22:12', '0:04:52' FROM conf, project_run WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 430, '2013-05-26 22:12', '1:15:05' FROM conf, project_run WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 1, 'SUCCESS', 419, '2013-05-26 22:12', '1:16:28' FROM conf, project_run WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-26 22:12', '0:32:03' FROM conf, project_run WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 451, '2013-05-26 22:12', '0:46:50' FROM conf, project_run WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 0, '2013-05-26 22:12', '0:15:01' FROM conf, project_run WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'SUCCESS', 42, '2013-05-26 22:12', '0:09:00' FROM conf, project_run WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'stable') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 1340;
-INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration) SELECT conf.id, project_run.id, 0, 0, 'FAILURE', 1, '2013-05-27 23:50', '2:07:05' FROM conf, project_run WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.project_id = (SELECT id FROM project WHERE name = 'Qt5') AND project_run.branch_id = (SELECT id FROM branch WHERE name = 'dev') AND project_run.state_id = (SELECT id FROM state WHERE name = 'state') AND project_run.build_key = 18446744073709551615;
-
-DELETE FROM testset_run;
--- Note: only the testsets for the selected project (QtBase manipulated to Qt5) included, state manipulated to 'state' (instead of 'Integration')
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7300, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1022 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7310, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1022 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7320, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1022 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7330, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1022 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7340, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1022 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7350, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1022 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7360, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1022 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7370, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1022 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 2, 'ifailed', 7380, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'failed', 7200, 7, 11, 2, 13 FROM testset, conf_run WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1340 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'failed', 7210, 7, 11, 2, 13 FROM testset, conf_run WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1341 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'failed', 7220, 7, 11, 2, 13 FROM testset, conf_run WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1342 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'failed', 7230, 7, 11, 2, 13 FROM testset, conf_run WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1343 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'failed', 7240, 7, 11, 2, 13 FROM testset, conf_run WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1344 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'failed', 7250, 7, 11, 2, 13 FROM testset, conf_run WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1345 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'failed', 7260, 7, 11, 2, 13 FROM testset, conf_run WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1346 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 3, 'failed', 7270, 7, 11, 2, 13 FROM testset, conf_run WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 2, 'passed', 7280, 0, 0, 0, 0 FROM testset, conf_run WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'passed', 7290, 7, 0, 2, 2 FROM testset, conf_run WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7390, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1340 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7400, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1340 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7410, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1340 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7420, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1340 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7430, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1340 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7440, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1340 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7450, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1340 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7460, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1340 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7470, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1340 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7480, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1341 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7490, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1341 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7500, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1341 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7510, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1341 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7520, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1341 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7530, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1341 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7540, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1341 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7550, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1341 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7560, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1341 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7570, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1342 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7580, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1342 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7590, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1342 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7600, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1342 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7610, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1342 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7620, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1342 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7630, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1342 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7640, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1342 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7650, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1342 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7660, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1343 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7670, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1343 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7680, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1343 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7690, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1343 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7700, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1343 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7710, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1343 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7720, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1343 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7730, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1343 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7740, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1343 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7750, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1344 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7760, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1344 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7770, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1344 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7780, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1344 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7790, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1344 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7800, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1344 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7810, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1344 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7820, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1344 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7830, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1344 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7840, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1345 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7850, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1345 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7860, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1345 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7870, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1345 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7880, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1345 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7890, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1345 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7900, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1345 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7910, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1345 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7920, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1345 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7930, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1346 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7940, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1346 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7950, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1346 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7960, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1346 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7970, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1346 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7980, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1346 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 7990, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1346 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 8000, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1346 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 8010, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1346 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 8020, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 8030, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 2, 'ipassed', 8040, 8, 0, 2, 2 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 8050, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 8060, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 8070, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 8080, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 8090, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 8100, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 3, 'ipassed', 8110, 0, 0, 0, 0 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'ifailed', 8120, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 5, 'ifailed', 8130, 7, 1, 2, 3 FROM testset, conf_run WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted) SELECT testset.id, conf_run.id, 1, 'failed', 8140, 3, 2, 1, 3 FROM testset, conf_run WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE project.name = 'qtbase') AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 18446744073709551615 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-
-DELETE FROM testfunction_run;
--- Note: only the testfunctions for the selected testsets included, state manipulated to 'state' (instead of 'Integration')
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'cleanupTestCase' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'dnsResolution' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 1 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'ftpProxyServer' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'ftpServer' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'hostTest' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 1 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'httpProxy' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'httpProxyBasicAuth' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'httpProxyNtlmAuth' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'httpServer' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'httpServerCGI' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'httpsServer' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'imapServer' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'initTestCase' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'serverReachability' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'skip', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'smbServer' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 2 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'socks5Proxy' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'socks5ProxyAuth' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'supportsSsl' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'cleanupTestCase' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'compare' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_fail', 1 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'fail', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'exactMatch' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'getSetCheck' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'initTestCase' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'insertAndRemoveSubstitutions' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'isCopyOf' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'italicOblique' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'bpass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'lastResortFont' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'resetFont' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'resolve' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'serializeSpacing' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'skip', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'setFontRaw' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'bfail', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'sharing' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'bpass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'styleName' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'na', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'cleanupTestCase' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'compare' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_fail', 6 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'fail', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'exactMatch' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'getSetCheck' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'fail', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'initTestCase_name_edited_to_test_long_name_where_max_is_100_and_this_is_100_and_ends____________her' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'xpass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'insertAndRemoveSubstitutions' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'xfail', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'isCopyOf' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'skip', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'italicOblique' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'bpass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'lastResortFont' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'bfail', 61 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'resetFont' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'bxpass', 5632 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'resolve' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'bxfail', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'serializeSpacing' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'bskip', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'setFontRaw' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'sharing' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'bskip', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'styleName' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'na', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'cleanupTestCase' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'compare' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_fail', 1 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'fail', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'exactMatch' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'getSetCheck' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'initTestCase' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'insertAndRemoveSubstitutions' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'isCopyOf' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'italicOblique' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'bpass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'lastResortFont' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'resetFont' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'resolve' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'serializeSpacing' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'setFontRaw' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'sharing' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'bpass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'styleName' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'abort' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_pass', 2 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'activeMode' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_fail', 311 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'binaryAscii' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_pass', 8 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_pass', 11 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'fail', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'cleanupTestCase' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_pass', 8 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_pass', 9 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_pass', 51 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_fail', 605 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'connectToUnresponsiveHost' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_skip', 10 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'doneSignal' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_pass', 24 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'pass', 0 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'initTestCase' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_pass', 66 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_pass', 234 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_fail', 347 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_pass', 1 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'mkdir2' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_pass', 17 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_fail', 518 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'put' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_pass', 128 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'qtbug7359Crash' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_pass', 75 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) SELECT testfunction.id, testset_run.id, 'tr_fail', 1 FROM testset_run, testfunction INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testset_run.id = ( SELECT testset_run.id FROM testset_run INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 18446744073709551615 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-
-DELETE FROM testrow_run;
--- Note: only the testfunctions for the selected testsets included, state manipulated to 'state' (instead of 'Integration')
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'fqdn' AND testfunction.name = 'dnsResolution' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'dnsResolution' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'local-name' AND testfunction.name = 'dnsResolution' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'dnsResolution' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'echo.cgi(POST)' AND testfunction.name = 'httpServerCGI' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'httpServerCGI' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'echo.cgi' AND testfunction.name = 'httpServerCGI' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'httpServerCGI' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'md5sum.cgi' AND testfunction.name = 'httpServerCGI' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'httpServerCGI' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'protected/md5sum.cgi' AND testfunction.name = 'httpServerCGI' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'httpServerCGI' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'set-cookie.cgi' AND testfunction.name = 'httpServerCGI' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'httpServerCGI' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'bigfile' AND testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'completelyEmptyQuery.xq' AND testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'fluke.gif' AND testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'notWellformed.xml' AND testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'notWellformedViaHttps.xml' AND testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'protected/rfc3252.txt' AND testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'rfc3252.txt' AND testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'wellFormed.xml' AND testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'wellFormedViaHttps.xml' AND testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'viaHttp.xq' AND testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'httpServerFiles' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'daytime' AND testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'echo' AND testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'ftp' AND testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'ftp-proxy' AND testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'http' AND testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'http-proxy' AND testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'http-proxy-auth-basic' AND testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'http-proxy-auth-ntlm' AND testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'https' AND testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'imap' AND testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'smb' AND testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'socks5-proxy' AND testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'socks5-proxy-auth' AND testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'ssh' AND testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'remotePortsOpen' AND testset.name = 'tst_networkselftest' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'bpass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'cursive' AND testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'bfail' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'fantasy' AND testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'bxpass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'monospace' AND testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'bxfail' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'sans-serif' AND testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'skip' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'serif' AND testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'bpass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'cursive' AND testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'fail' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'fantasy_name_edited_to_test_long_name_where_max_is_500_and_can_contain_\_"_\\_""_\"_%_%%__"on"_and_this_name_is_215_and_ends________________________________________________________________________here' AND testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'xpass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'monospace' AND testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'xfail' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'sans-serif' AND testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'bskip' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'serif' AND testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1346' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'bpass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'cursive' AND testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'fantasy' AND testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'monospace' AND testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'sans-serif' AND testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'serif' AND testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = '1345' AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'skip' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:get_fluke01' AND testfunction.name = 'abort' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'abort' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'skip' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:get_fluke02' AND testfunction.name = 'abort' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'abort' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'skip' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:put_fluke01' AND testfunction.name = 'abort' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'abort' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy' AND testfunction.name = 'activeMode' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'activeMode' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession' AND testfunction.name = 'activeMode' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'activeMode' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy' AND testfunction.name = 'activeMode' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'activeMode' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession' AND testfunction.name = 'activeMode' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'activeMode' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy' AND testfunction.name = 'binaryAscii' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'binaryAscii' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession' AND testfunction.name = 'binaryAscii' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'binaryAscii' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy' AND testfunction.name = 'binaryAscii' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'binaryAscii' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'fail' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession' AND testfunction.name = 'binaryAscii' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'binaryAscii' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:fluke01' AND testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:fluke02' AND testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:fluke03' AND testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:fluke04' AND testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:fluke01' AND testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:fluke02' AND testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:fluke03' AND testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:fluke04' AND testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:fluke01' AND testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:fluke02' AND testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:fluke03' AND testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:fluke04' AND testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:fluke01' AND testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:fluke02' AND testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:fluke03' AND testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:fluke04' AND testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'bytesAvailable' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:absPath01' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:absPath02' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:nonExist01' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:nonExist03' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:relPath01' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:relPath02' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:absPath01' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:absPath02' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:nonExist01' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:nonExist03' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:relPath01' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:relPath02' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:absPath01' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:absPath02' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:nonExist01' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:nonExist03' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:relPath01' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:relPath02' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:absPath01' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:absPath02' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:nonExist01' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:nonExist03' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:relPath01' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:relPath02' AND testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'cd' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:login01' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:login02' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:login03' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:login04' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:no-login01' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:login01' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:login02' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:login03' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:login04' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:no-login01' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:login01' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:login02' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:login03' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:login04' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:no-login01' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:login01' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:login02' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:login03' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:login04' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:no-login01' AND testfunction.name = 'close' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'close' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:connect_twice' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:error01' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:error02' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:error03' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:error04' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:simple_ok01' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:simple_ok02' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:simple_ok03' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:simple_ok04' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:connect_twice' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:error01' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:error02' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:error03' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:error04' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:simple_ok01' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:simple_ok02' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:simple_ok03' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:simple_ok04' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:connect_twice' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:error01' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:error02' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:error03' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:error04' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:simple_ok01' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:simple_ok02' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:simple_ok03' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:simple_ok04' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:connect_twice' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:error01' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:error02' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:error03' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:error04' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:simple_ok01' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:simple_ok02' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:simple_ok03' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:simple_ok04' AND testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'commandSequence' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:error01' AND testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:error02' AND testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:ok01' AND testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:error01' AND testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:error02' AND testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:ok01' AND testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:error01' AND testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:error02' AND testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:ok01' AND testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:error01' AND testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:error02' AND testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:ok01' AND testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'connectToHost' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'xpass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy' AND testfunction.name = 'connectToUnresponsiveHost' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'connectToUnresponsiveHost' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'skip' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy' AND testfunction.name = 'connectToUnresponsiveHost' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'connectToUnresponsiveHost' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy' AND testfunction.name = 'doneSignal' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'doneSignal' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession' AND testfunction.name = 'doneSignal' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'doneSignal' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy' AND testfunction.name = 'doneSignal' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'doneSignal' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'skip' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession' AND testfunction.name = 'doneSignal' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'doneSignal' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:absPath01_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:absPath01_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:absPath02_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:absPath02_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:nonExist01_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:nonExist01_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:nonExist02_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:nonExist02_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:relPath01_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:relPath01_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:relPath02_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:relPath02_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:absPath01_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:absPath01_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:absPath02_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:absPath02_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:nonExist01_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:nonExist01_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:nonExist02_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:nonExist02_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:relPath01_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:relPath01_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:relPath02_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:relPath02_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:absPath01_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:absPath01_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:absPath02_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:absPath02_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:nonExist01_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:nonExist01_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:nonExist02_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:nonExist02_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:relPath01_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:relPath01_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:relPath02_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:relPath02_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:absPath01_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:absPath01_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:absPath02_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:absPath02_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:nonExist01_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:nonExist01_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:nonExist02_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:nonExist02_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:relPath01_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:relPath01_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:relPath02_0' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:relPath02_1' AND testfunction.name = 'get' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'get' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:absPath01' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:absPath02' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:epsvNotSupported' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:nonExist01' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:nonExist02' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:relPath01' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:relPath02' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:workDir01' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:workDir02' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:absPath01' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:absPath02' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:epsvNotSupported' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:nonExist01' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:nonExist02' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:relPath01' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:relPath02' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:workDir01' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:workDir02' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:absPath01' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:absPath02' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:epsvNotSupported' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:nonExist01' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:nonExist02' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:relPath01' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:relPath02' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:workDir01' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:workDir02' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:absPath01' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:absPath02' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:epsvNotSupported' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:nonExist01' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:nonExist02' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:relPath01' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:relPath02' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:workDir01' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:workDir02' AND testfunction.name = 'list' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'list' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:error01' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:error02' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:ok02' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:ok03' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:ok04' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:error01' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:error02' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:ok01' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:ok02' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:ok03' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:ok04' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:error01' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:error02' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:ok01' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:ok02' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:ok03' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:ok04' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:error01' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:error02' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:ok01' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:ok02' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:ok03' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:ok04' AND testfunction.name = 'login' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'login' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:absPath01' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:absPath02' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:nonExist01' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:nonExist02' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:relPath01' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:relPath02' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:relPath03' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:absPath01' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:absPath02' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:nonExist01' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:nonExist02' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:relPath01' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:relPath02' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:relPath03' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:absPath01' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:absPath02' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:nonExist01' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:nonExist02' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:relPath01' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:relPath02' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'fail' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:relPath03' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:absPath01' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:absPath02' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:nonExist01' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:nonExist02' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:relPath01' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:relPath02' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:relPath03' AND testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy' AND testfunction.name = 'mkdir2' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir2' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession' AND testfunction.name = 'mkdir2' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir2' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy' AND testfunction.name = 'mkdir2' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir2' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession' AND testfunction.name = 'mkdir2' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'mkdir2' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:proxy_absPath01' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:proxy_absPath02' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:proxy_nonExist01' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:proxy_nonExist03' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:proxy_relPath01' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:proxy_relPath02' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:proxy_absPath01' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:proxy_absPath02' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:proxy_nonExist01' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:proxy_nonExist03' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:proxy_relPath01' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:proxy_relPath02' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:proxy_absPath01' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:proxy_absPath02' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:proxy_nonExist01' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:proxy_nonExist03' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:proxy_relPath01' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:proxy_relPath02' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:proxy_absPath01' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:proxy_absPath02' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:proxy_nonExist01' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:proxy_nonExist03' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:proxy_relPath01' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:proxy_relPath02' AND testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'proxy' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:relPath01_0' AND testfunction.name = 'put' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'put' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:relPath01_1' AND testfunction.name = 'put' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'put' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:relPath01_0' AND testfunction.name = 'put' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'put' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:relPath01_1' AND testfunction.name = 'put' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'put' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:relPath01_0' AND testfunction.name = 'put' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'put' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:relPath01_1' AND testfunction.name = 'put' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'put' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:relPath01_0' AND testfunction.name = 'put' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'put' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'fail' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:relPath01_1' AND testfunction.name = 'put' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'put' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy' AND testfunction.name = 'qtbug7359Crash' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'qtbug7359Crash' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession' AND testfunction.name = 'qtbug7359Crash' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'qtbug7359Crash' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy' AND testfunction.name = 'qtbug7359Crash' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'qtbug7359Crash' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession' AND testfunction.name = 'qtbug7359Crash' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'qtbug7359Crash' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'skip' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy' AND testfunction.name = 'queueMoreCommandsInDoneSlot' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'queueMoreCommandsInDoneSlot' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:absPath01' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:absPath02' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:nonExist01' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:nonExist02' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:relPath01' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:relPath02' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxy:relPath03' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:absPath01' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:absPath02' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:nonExist01' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:nonExist02' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:relPath01' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:relPath02' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithoutProxyWithSession:relPath03' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:absPath01' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:absPath02' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:nonExist01' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:nonExist02' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:relPath01' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:relPath02' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5Proxy:relPath03' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:absPath01' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:absPath02' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:nonExist01' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:nonExist02' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:relPath01' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:relPath02' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'pass' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'WithSocks5ProxyAndSession:relPath03' AND testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'rename' AND testset.name = 'tst_qftp' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1023 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) SELECT testrow.id, testfunction_run.id, 'fail' FROM testfunction_run, testrow INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id INNER JOIN testset ON testfunction.testset_id = testset.id INNER JOIN project ON testset.project_id = project.id WHERE testrow.name = 'cursive' AND testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND project.name = 'qtbase' AND testfunction_run.id = ( SELECT testfunction_run.id FROM testfunction_run INNER JOIN testfunction ON testfunction_run.testfunction_id = testfunction.id INNER JOIN testset_run ON testfunction_run.testset_run_id = testset_run.id INNER JOIN testset ON testset_run.testset_id = testset.id INNER JOIN conf_run ON testset_run.conf_run_id = conf_run.id INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE testfunction.name = 'defaultFamily' AND testset.name = 'tst_qfont' AND testset.project_id = (SELECT id FROM project WHERE name = 'qtbase') AND conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 18446744073709551615 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-
-DELETE FROM phase_run;
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-28 1:07', '2013-05-28 1:09' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-28 1:07', '2013-05-28 1:07' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-28 1:09', '0000-00-00 00:00:00' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-28 1:07', '2013-05-28 1:07' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-28 1:07', '2013-05-28 1:07' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-28 1:07', '0000-00-00 00:00:00' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:44' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:44', '2013-05-27 21:44' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:57', '2013-05-27 21:57' FROM phase, conf_run WHERE phase.name = 'running the qtqa tests on qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:44', '2013-05-27 21:57' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:57' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:44', '2013-05-27 21:44' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:45', '2013-05-27 21:47' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:44', '2013-05-27 21:44' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:47', '0000-00-00 00:00:00' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:44', '2013-05-27 21:44' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:44', '2013-05-27 21:45' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:44', '0000-00-00 00:00:00' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:41' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:43', '2013-05-27 21:47' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:47', '2013-05-27 21:47' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:47' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:43' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:47', '2013-05-27 21:47' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:41' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:41' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:44', '2013-05-27 21:46' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:43', '2013-05-27 21:43' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:46', '0000-00-00 00:00:00' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:43', '2013-05-27 21:43' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:43', '2013-05-27 21:44' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:43', '0000-00-00 00:00:00' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:41' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:41' FROM phase, conf_run WHERE phase.name = 'reading dependencies from qtdeclarative/sync.profile' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:41' FROM phase, conf_run WHERE phase.name = 'running init-repository for qtdeclarative' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:41' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:41' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:41' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:45' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:45', '0000-00-00 00:00:00' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '0000-00-00 00:00:00' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:47' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:48', '2013-05-27 21:48' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:08', '2013-05-27 22:08' FROM phase, conf_run WHERE phase.name = 'running the qtqa tests on qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:48', '2013-05-27 22:08' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 22:08' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:47', '2013-05-27 21:48' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:41' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:43', '2013-05-27 21:46' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:43', '2013-05-27 21:43' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:46', '0000-00-00 00:00:00' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:43', '2013-05-27 21:43' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:43', '2013-05-27 21:43' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:43', '0000-00-00 00:00:00' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:43', '2013-05-27 21:52' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:52', '2013-05-27 21:52' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:15', '2013-05-27 22:15' FROM phase, conf_run WHERE phase.name = 'running the qtqa tests on qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:52', '2013-05-27 22:15' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 22:15' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:43' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:52', '2013-05-27 21:52' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:44', '2013-05-27 22:10' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:10', '2013-05-27 22:10' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:10', '0000-00-00 00:00:00' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '0000-00-00 00:00:00' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:44' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:10', '2013-05-27 22:10' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:47' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:47', '2013-05-27 21:47' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:26', '2013-05-27 22:26' FROM phase, conf_run WHERE phase.name = 'running the qtqa tests on qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:47', '2013-05-27 22:26' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 22:26' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:47', '2013-05-27 21:47' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:43', '2013-05-27 21:43' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:46', '2013-05-27 22:45' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:45', '2013-05-27 22:45' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:45', '2013-05-27 22:45' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:43', '2013-05-27 22:45' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:44', '2013-05-27 21:46' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:45', '2013-05-27 22:45' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:43', '2013-05-27 21:43' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:43', '2013-05-27 21:44' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:44', '2013-05-27 21:44' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:46', '2013-05-27 22:02' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:02', '2013-05-27 22:02' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:44', '2013-05-27 22:02' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:44', '2013-05-27 21:46' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:02', '2013-05-27 22:02' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:44', '2013-05-27 21:44' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:44', '2013-05-27 21:44' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:41' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:43', '2013-05-27 21:45' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:45', '2013-05-27 21:45' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:45' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:43' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:45', '2013-05-27 21:45' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:41' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:41' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:41' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:43', '2013-05-27 21:56' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:56', '2013-05-27 21:56' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:56', '0000-00-00 00:00:00' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '0000-00-00 00:00:00' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:43' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:56', '2013-05-27 21:56' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:41' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:41', '2013-05-27 21:41' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:57', '2013-05-27 22:01' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:57', '2013-05-27 21:57' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:01', '0000-00-00 00:00:00' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:57', '2013-05-27 21:57' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:57', '2013-05-27 21:57' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:57', '0000-00-00 00:00:00' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:44', '2013-05-27 22:19' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:19', '2013-05-27 22:19' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 22:19' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:44' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:19', '2013-05-27 22:19' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:43', '2013-05-27 21:51' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:51', '2013-05-27 21:51' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:30', '2013-05-27 22:31' FROM phase, conf_run WHERE phase.name = 'running the qtqa tests on qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:51', '2013-05-27 22:30' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 22:31' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:43' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:51', '2013-05-27 21:51' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:50' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:50', '2013-05-27 21:50' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:50' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:50', '2013-05-27 21:50' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'reading dependencies from qtdeclarative/sync.profile' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'running init-repository for qtdeclarative' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 21:42', '2013-05-27 21:42' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1347 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-28 2:20', '2013-05-28 2:20' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-28 2:32', '2013-05-28 3:15' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-28 3:15', '2013-05-28 3:15' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-28 3:35', '2013-05-28 4:08' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-28 2:20', '2013-05-28 4:08' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-28 2:21', '2013-05-28 2:22' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-28 3:15', '2013-05-28 3:15' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-28 2:20', '2013-05-28 2:20' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-28 2:20', '2013-05-28 2:21' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_angle_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:57' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:57', '2013-05-27 22:57' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:10', '2013-05-27 23:10' FROM phase, conf_run WHERE phase.name = 'running the qtqa tests on qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:59', '2013-05-27 23:10' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 23:10' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:57', '2013-05-27 22:57' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_no-widgets_Ubuntu_12.04_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 22:56' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:58', '2013-05-27 23:55' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:55', '2013-05-27 23:55' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:59', '2013-05-28 0:49' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-28 0:49' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:57', '2013-05-27 22:58' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:55', '2013-05-27 23:55' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 22:56' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 22:57' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_developer-build_qtnamespace_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 23:00' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:00', '2013-05-27 23:00' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 23:00' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:56' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:00', '2013-05-27 23:00' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_no-framework_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 22:56' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:58', '2013-05-27 23:51' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:51', '2013-05-27 23:51' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:51', '2013-05-28 0:28' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-28 0:28' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 22:58' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:51', '2013-05-27 23:51' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 22:56' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 22:56' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-msvc2010_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'reading dependencies from qtdeclarative/sync.profile' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'running init-repository for qtdeclarative' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:59', '2013-05-28 0:15' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-28 0:16', '2013-05-28 0:16' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-28 0:16' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 22:59' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-28 0:15', '2013-05-28 0:16' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:56' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-g++_developer-build_OSX_10.6' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 23:02' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:02', '2013-05-27 23:02' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:23', '2013-05-27 23:24' FROM phase, conf_run WHERE phase.name = 'running the qtqa tests on qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:02', '2013-05-27 23:23' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 23:24' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:02', '2013-05-27 23:02' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 22:56' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:59', '2013-05-27 23:19' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:19', '2013-05-27 23:19' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:19', '2013-05-28 0:07' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-28 0:07' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 22:59' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:19', '2013-05-27 23:19' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 22:56' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 22:56' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw47_developer-build_qtlibinfix_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:17', '2013-05-27 23:17' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:18', '2013-05-27 23:24' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:24', '2013-05-27 23:24' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:46', '2013-05-27 23:46' FROM phase, conf_run WHERE phase.name = 'running the qtqa tests on qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:24', '2013-05-27 23:46' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:17', '2013-05-27 23:46' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:17', '2013-05-27 23:17' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:24', '2013-05-27 23:24' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:17', '2013-05-27 23:17' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:17', '2013-05-27 23:17' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:57', '2013-05-27 23:24' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:24', '2013-05-27 23:24' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:24', '2013-05-28 0:19' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-28 0:19' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 22:57' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:24', '2013-05-27 23:24' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:56' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_qtnamespace_OSX_10.7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 23:00' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:00', '2013-05-27 23:00' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:38', '2013-05-27 23:38' FROM phase, conf_run WHERE phase.name = 'running the qtqa tests on qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:00', '2013-05-27 23:38' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 23:38' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:00', '2013-05-27 23:00' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:57', '2013-05-27 22:57' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:59', '2013-05-27 23:59' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:59', '2013-05-27 23:59' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:59', '2013-05-28 0:55' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:57', '2013-05-28 0:55' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:57', '2013-05-27 22:59' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:59', '2013-05-27 23:59' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:57', '2013-05-27 22:57' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:57', '2013-05-27 22:57' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win64-msvc2012_developer-build_qtnamespace_Windows_8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 22:56' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:58', '2013-05-27 23:14' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:14', '2013-05-27 23:14' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 23:14' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:57', '2013-05-27 22:58' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:14', '2013-05-27 23:14' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 22:56' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 22:57' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'wince70embedded-armv4i-msvc2008_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 22:58' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:58', '2013-05-27 22:58' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:58' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:56' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:58', '2013-05-27 22:58' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-ios-clang_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:56', '2013-05-27 23:10' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:10', '2013-05-27 23:10' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:10', '2013-05-28 0:08' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-28 0:08' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:56' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:10', '2013-05-27 23:10' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'macx-clang_developer-build_OSX_10.8' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:10', '2013-05-27 23:10' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:14', '2013-05-27 23:34' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:34', '2013-05-27 23:34' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:34', '2013-05-28 0:21' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:10', '2013-05-28 0:21' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:11', '2013-05-27 23:14' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:34', '2013-05-27 23:34' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:10', '2013-05-27 23:10' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:10', '2013-05-27 23:11' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 23:25' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:25', '2013-05-27 23:25' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 23:25' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:25', '2013-05-27 23:25' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-arm-gnueabi-g++_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 23:01' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:01', '2013-05-27 23:01' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:40', '2013-05-27 23:41' FROM phase, conf_run WHERE phase.name = 'running the qtqa tests on qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:01', '2013-05-27 23:40' FROM phase, conf_run WHERE phase.name = 'running the autotests' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 23:41' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:01', '2013-05-27 23:01' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 23:06' FROM phase, conf_run WHERE phase.name = 'compiling Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:06', '2013-05-27 23:06' FROM phase, conf_run WHERE phase.name = 'checking the installation' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 23:06' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:06', '2013-05-27 23:06' FROM phase, conf_run WHERE phase.name = 'installing Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-android-g++_Ubuntu_12.04_x64' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'cleaning existing target directories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'reading dependencies from qtdeclarative/sync.profile' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'running init-repository for qtdeclarative' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'determining test script configuration' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'setting up git repositories' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 22:55', '2013-05-27 22:55' FROM phase, conf_run WHERE phase.name = 'testing qtbase' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'revdep-qtdeclarative_linux-g++_shadow-build_Ubuntu_11.10_x86' AND project_run.build_key = 1348 AND project.name = 'Qt5' AND branch.name = 'stable' AND state.name = 'state' );
-INSERT INTO phase_run (phase_id, conf_run_id, start, end) SELECT phase.id, conf_run.id, '2013-05-27 23:50', '2013-05-27 23:51' FROM phase, conf_run WHERE phase.name = 'configuring Qt' AND conf_run.id = ( SELECT conf_run.id FROM conf_run INNER JOIN conf ON conf_run.conf_id = conf.id INNER JOIN project_run ON conf_run.project_run_id = project_run.id INNER JOIN project ON project_run.project_id = project.id INNER JOIN branch ON project_run.branch_id = branch.id INNER JOIN state ON project_run.state_id = state.id WHERE conf.name = 'linux-g++-32_developer-build_Ubuntu_10.04_x86' AND project_run.build_key = 18446744073709551615 AND project.name = 'Qt5' AND branch.name = 'dev' AND state.name = 'state' );
-
-DELETE FROM db_status;
-INSERT INTO db_status (refresh_in_progress,refreshed,logs_current,logs_total) VALUES (false,'2013-05-28 10:40:40',0,0);
diff --git a/non-puppet/qtmetrics2/styles/bootstrap_custom.css b/non-puppet/qtmetrics2/styles/bootstrap_custom.css
deleted file mode 100644
index a67899e..0000000
--- a/non-puppet/qtmetrics2/styles/bootstrap_custom.css
+++ /dev/null
@@ -1,158 +0,0 @@
-/*
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-*/
-
-/**
- * Bootstrap custom styling (from template custom css files)
- * @since 30-04-2015
- * @author Juha Sippola
- */
-
-
-/***********************************
- * Jumbotron template custom styling
- */
-
-/* Move down content because we have a fixed navbar that is 50px tall */
-body {
- padding-top: 50px;
- padding-bottom: 20px;
-}
-
-/***********************************
- * Dashboard template custom styling
- */
-
-/*
- * Base structure
- */
-
-/* Move down content because we have a fixed navbar that is 50px tall */
-body {
- padding-top: 50px;
-}
-
-/*
- * Global add-ons
- */
-
-.sub-header {
- padding-bottom: 10px;
- border-bottom: 1px solid #eee;
-}
-
-/*
- * Top navigation
- * Hide default border to remove 1px line.
- */
-.navbar-fixed-top {
- border: 0;
-}
-
-/*
- * Sidebar
- */
-
-/* Hide for mobile, show later */
-.sidebar {
- display: none;
-}
-@media (min-width: 768px) {
- .sidebar {
- position: fixed;
- top: 51px;
- bottom: 0;
- left: 0;
- z-index: 1000;
- display: block;
- padding: 20px;
- overflow-x: hidden;
- overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
- background-color: #f5f5f5;
- border-right: 1px solid #eee;
- }
-}
-
-/* Sidebar navigation */
-.nav-sidebar {
- margin-right: -21px; /* 20px padding + 1px border */
- margin-bottom: 20px;
- margin-left: -20px;
-}
-.nav-sidebar > li > a {
- padding-right: 20px;
- padding-left: 20px;
-}
-.nav-sidebar > .active > a,
-.nav-sidebar > .active > a:hover,
-.nav-sidebar > .active > a:focus {
- color: #fff;
- background-color: #428bca;
-}
-
-/*
- * Main content
- */
-
-.main {
- padding: 20px;
-}
-@media (min-width: 768px) {
- .main {
- padding-right: 40px;
- padding-left: 40px;
- }
-}
-.main .page-header {
- margin-top: 0;
-}
-
-/*
- * Placeholder dashboard ideas
- */
-
-.placeholders {
- margin-bottom: 30px;
- text-align: center;
-}
-.placeholders h4 {
- margin-bottom: 0;
-}
-.placeholder {
- margin-bottom: 20px;
-}
-.placeholder img {
- display: inline-block;
- border-radius: 50%;
-}
diff --git a/non-puppet/qtmetrics2/styles/qtmetrics.css b/non-puppet/qtmetrics2/styles/qtmetrics.css
deleted file mode 100644
index bc97771..0000000
--- a/non-puppet/qtmetrics2/styles/qtmetrics.css
+++ /dev/null
@@ -1,341 +0,0 @@
-/*
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-*/
-
-/**
- * Qt Metrics style sheet
- * @since 30-09-2015
- * @author Juha Sippola
- */
-
-/*
- * Using Qt brand fonts
- * (These overwrite the default Bootstrap fonts)
- */
-@font-face {
- font-family: 'Open Sans';
- font-style: normal;
- font-weight: 400;
- src: local('Open Sans'), local('OpenSans'), url('../fonts/OpenSans-Regular.ttf') format('truetype');
-}
-body,
-.tooltip,
-.popover {
-font-family: 'Open Sans', Arial, Helvetica, sans-serif;
-}
-
-/*
- * Using Qt brand colors
- * (These overwrite the default Bootstrap colors)
- */
-/* header */
-.navbar-fixed-top {
- background-color: #26282a;
-}
-.navbar-fixed-top a {
- transition: all, 0.3s, ease-in-out;
-}
-.breadcrumb {
- background-color: #eeeeee;
-}
-/* jumbotron */
-.jumbotron {
- background-color: #5caa15;
-}
-.jumbotron .well {
- background-color: #eeeeee;
-}
-.jumbotron h1 {
- color: #fff;
-}
-/* info button */
-.page-header > .btn-info {
- background-color: #5caa15;
-}
-.page-header > .btn-info:hover {
- color: #eeeeee;
-}
-.infoWell{
- border-color: #5caa15;
- background-color: #eeeeee;
-}
-/* home page button or active button */
-.btn-primary,
-.btn-primary:focus,
-.btn-primary:link {
- background-color: #5caa15;
- border-color: #5caa15;
-}
-.btn-primary:hover,
-.btn-primary:active {
- color: #5caa15;
- background-color: white;
- border-color: #5caa15;
-}
-.btn-primary .badge {
- color: #5caa15;
-}
-/* remove button */
-.btn-danger:hover,
-.btn-danger:active {
- color: #e41e25;
- background-color: white;
- border-color: #e41e25;
-}
-/* all buttons */
-.btn-default,
-.btn-primary,
-.btn-info,
-.btn-danger {
- -webkit-transition: all, 0.3s, ease-in-out;
- -moz-transition: all, 0.3s, ease-in-out;
- -ms-transition: all, 0.3s, ease-in-out;
- -o-transition: all, 0.3s, ease-in-out;
- transition: all, 0.3s, ease-in-out;
- -webkit-box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.1);
- box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.1);
-}
-.btn-default:hover,
-.btn-primary:hover,
-.btn-info:hover,
-.btn-danger:hover {
- box-shadow: none;
-}
-/* text input area */
-textarea:focus,
-input:focus,
-input[type]:focus,
-.uneditable-input:focus {
- border-color: #80c342;
- outline: 0 none;
-}
-
-/*
- * Brand logo and text alignment
- */
-.navbar-brand img {
- height: 30px;
- width: auto;
-}
-.navbar-header .navbar-brand:hover {
- color: #80c342;
-}
-
-/*
- * Load home page image in tablets and bigger devices only (typically using faster connection)
- */
-@media screen and (min-width: 768px) {
- .jumbotron {
- background-image: url("https://d3hp9ud7yvwzy0.cloudfront.net/wp-content/uploads/2014/06/Qt-in-nutshell-hero2.jpg");
- background-size: cover;
- }
-}
-
-/*
- * Include UI elements and behavior in tablets and bigger devices only (typically using faster connection)
- */
-@media screen and (max-width: 768px) {
- .showInLargeDisplay {
- display: none;
- }
-}
-
-/*
- * Make space between buttons next to and above each others
- */
-.btn {
- margin: 0 3px 3px 0;
-}
-
-/*
- * Make the tooltip align left, respect new lines and prevent text from wrapping
- */
-.tooltip-inner {
- text-align: left;
- white-space: pre;
- max-width: none;
- background-color: #12293E;
-}
-
-/*
- * Make space horizontally outside an element
- */
-.spaceHorizontal {
- margin: 0 5px 0 5px;
-}
-
-/*
- * Make space horizontally inside an element
- */
-.paddingHorizontal {
- padding: 0 5px 0 5px;
-}
-
-/*
- * Animation shown while loading a page from a link
- */
-#link_loading {
- position: relative;
- left: 10px;
- top: 18px;
- width: 60px;
-}
-#link_loading .progress-bar {
- width: 100%;
-}
-.data_loading .progress-bar {
- width: 100%;
-}
-
-/*
- * Animation shown while loading data in autocomplete input field
- */
-.ui-autocomplete-loading {
- background: white url("../images/ui-anim_basic_16x16.gif") right center no-repeat;
-}
-
-/*
- * Autocomplete input field
- */
-.ui-autocomplete.ui-menu {
- font-size: 12px;
-}
-
-/*
- * Breadcrumb to stick on top, below the header navigation (on bigger devices)
- */
-@media screen and (min-width: 768px) {
- .breadcrumb {
- position: fixed;
- z-index: 999;
- width: inherit;
- }
- .container-fluid {
- margin-top: 50px;
- }
-}
-
-/*
- * Table formatting
- */
-.leftBorder {
- border-left: 2px solid lightgrey;
-}
-.rightBorder {
- border-right: 2px solid lightgrey;
-}
-.center {
- text-align: center;
-}
-.right {
- text-align: right;
-}
-thead {
- white-space: nowrap;
-}
-
-/*
- * Coloring (using Qt brand colors)
- */
-.green {
- color: #5caa15;
-}
-.red {
- color: red;
-}
-.gray {
- color: #bdbebf;
-}
-.blue {
- color: #46a2da;
-}
-.greenBackground {
- background-color: #80c342;
-}
-.redBackground {
- background-color: #e41e25;
-}
-.blueBackground {
- background-color: #46a2da;
-}
-.grayBackground {
- background-color: #bdbebf;
-}
-
-/*
- * Placing and sizing
- */
-.floatLeft {
- float: left;
-}
-.textSmall {
- font-size: small;
-}
-.bold {
- font-weight: bold;
-}
-.hidden {
- visibility: hidden;
-}
-
-/*
- * Speedo chart
- * (Note: The SVG style definitions are in qtmetrics_svg.css)
- */
-.chartSpeedo {
- float: left;
- margin: 2px 10px 2px 10px;
- text-align: center;
-}
-.chartSpeedo p {
- font-size: 1em;
- float: left;
- width: 100%;
-}
-.chartSpeedo p em {
- font-size: 3em;
- clear: both;
- width: 100%;
-}
-
-.chartSpeedo .chartArea {
- margin: 0px 0px -40px 0px;
-}
-
-.chartSpeedo .label {
- color: #585a5c;
- background-color: white;
- border: 1px solid #585a5c;
-}
diff --git a/non-puppet/qtmetrics2/styles/qtmetrics_svg.css b/non-puppet/qtmetrics2/styles/qtmetrics_svg.css
deleted file mode 100644
index 8950a29..0000000
--- a/non-puppet/qtmetrics2/styles/qtmetrics_svg.css
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-*/
-
-/**
- * Qt Metrics style definitions for SVG (scalable vector graphics)
- * @since 30-09-2015
- * @author Juha Sippola
- */
-
-/*
- * Speedo chart
- * (Note: The normal CSS style definitions are in qtmetrics.css)
- */
-
-.chart-color1 {
- fill: #e41e25;
-}
-.chart-color2 {
- fill: #FF4D00;
-}
-.chart-color3 {
- fill: #FF8200;
-}
-.chart-color4 {
- fill: #FFA600;
-}
-.chart-color5 {
- fill: #FFDC00;
-}
-.chart-color6 {
- fill: #FFE600;
-}
-.chart-color7 {
- fill: #FFF800;
-}
-.chart-color8 {
- fill: #D5FF00;
-}
-.chart-color9 {
- fill: #72F600;
-}
-.chart-color10 {
- fill: #80c342;
-}
-.needle,
-.needle-center {
- fill: #464A4F;
-}
diff --git a/non-puppet/qtmetrics2/templates/about.html b/non-puppet/qtmetrics2/templates/about.html
deleted file mode 100644
index d4a20c1..0000000
--- a/non-puppet/qtmetrics2/templates/about.html
+++ /dev/null
@@ -1,55 +0,0 @@
-<!--
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * About window content
- * @since 30-09-2015
- * @author Juha Sippola
- */
-
--->
-
-<p>The Qt Metrics web portal visualizes the status and progress of Qt's quality, focusing on Continuous
-Integration (CI). The goal is to automate laborious manual work that is required, for example, in the CI
-release cycle, to report the key information in real time. The Qt integration teams (in The Qt Company)
-and the global Qt developer community are the target audience. For detailed description, see the
-<strong><a href="https://wiki.qt.io/Qt_Metrics_2_Description" target="_blank">wiki page</a></strong>.</p>
-
-<p>In case of questions, proposals, and improvement ideas, please contact the
-<strong><a href="https://wiki.qt.io/Qt_Metrics_2_Description#SUPPORT" target="_blank">development team</a></strong>.</p>
-
-<p>See the <strong><a href="https://wiki.qt.io/Qt_Metrics_2_Backlog" target="_blank">backlog</a></strong>
-for development items currently identified or in progress.</p>
-
-<p><small>Version 1.0 (30-Sep-2015)</small></p>
diff --git a/non-puppet/qtmetrics2/templates/admin.html b/non-puppet/qtmetrics2/templates/admin.html
deleted file mode 100644
index c3ada7d..0000000
--- a/non-puppet/qtmetrics2/templates/admin.html
+++ /dev/null
@@ -1,137 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Admin page: Summary
- * @since 17-08-2015
- * @author Juha Sippola
- */
-
-#}
-
-{# Row count bar area size in px #}
-{% set BAR_AREA = 200 %}
-
-{% include "header.html" %}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-<li class="active">admin</li>
-</ol>
-
-<div class="container-fluid">
-<div class="row">
-
-<div class="col-sm-12 col-md-12 main">
-
-{##### Title #####}
-
-<h1 class="page-header">Admin</h1>
-
-{##### Navigation #####}
-
-<ul class="nav nav-tabs">
-<li role="presentation" class="active"><a href="{{ adminRoute }}">Summary</a></li>
-<li role="presentation"><a href="{{ adminBranchesRoute }}">Branches</a></li>
-<li role="presentation"><a href="{{ adminDataRoute }}">Data maintenance</a></li>
-</ul>
-<br>
-
-{##### Tables #####}
-
-{# Calculate counts #}
-{% set maxCount = 1 %}
-{% set tableCount = 0 %}
-{% for table in tables %}
-{% if table.rowCount > maxCount %}
-{% set maxCount = table.rowCount %}
-{% endif %}
-{% set tableCount = tableCount + 1 %}
-{% endfor %}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Tables ({{ tableCount }})</h4>
-</div>
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th>table</th>
-<th class="leftBorder right">rows</th>
-<th class="showInLargeDisplay"></th>
-</tr>
-</thead>
-<tbody>
-{# Print tables #}
-{% for table in tables %}
-<tr>
-{# table name #}
-<td>{{ table.name }}</td>
-
-{# Show row count as numbers #}
-{% set rows = table.rowCount %}
-<td class="leftBorder right">{{ rows|number_format(0, '.', ' ') }}</td>
-
-{# Show row count as bars (scaled to BAR_AREA px) #}
-{% set rowsBar = ((BAR_AREA/maxCount) * rows)|round(0, 'floor') %}
-{% if (rows > 0) and (rowsBar == 0) %}
-{% set rowsBar = 1 %}
-{% endif %}
-<td class="center showInLargeDisplay">
-<div>
-<div class="floatLeft blueBackground" style="width: {{ rowsBar }}px">&nbsp;</div>
-</div>
-</td>
-</tr>
-{% endfor %}{# table #}
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
-
-</div> {# .col... #}
-</div> {# .row #}
-</div> {# .container-fluid #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-{# (none) #}
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/admin_branches.html b/non-puppet/qtmetrics2/templates/admin_branches.html
deleted file mode 100644
index 28a9dcb..0000000
--- a/non-puppet/qtmetrics2/templates/admin_branches.html
+++ /dev/null
@@ -1,234 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Admin page: Branches
- * @since 18-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{# Row count bar area size in px #}
-{% set BAR_AREA = 120 %}
-
-{% include "header.html" %}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-<li class="active">branches</li>
-</ol>
-
-<div class="container-fluid">
-<div class="row">
-
-<div class="col-sm-12 col-md-12 main">
-
-{##### Title #####}
-
-<h1 class="page-header">Admin</h1>
-
-{##### Navigation #####}
-
-<ul class="nav nav-tabs">
-<li role="presentation"><a href="{{ adminRoute }}">Summary</a></li>
-<li role="presentation" class="active"><a href="{{ adminBranchesRoute }}">Branches</a></li>
-<li role="presentation"><a href="{{ adminDataRoute }}">Data maintenance</a></li>
-</ul>
-<br>
-
-{##### Branches #####}
-
-{# Calculate counts #}
-{% set maxCount = 1 %}
-{% set branchCount = 0 %}
-{% for branch in branches %}
-{% if branch.runCount > maxCount %}
-{% set maxCount = branch.runCount %}
-{% endif %}
-{% set branchCount = branchCount + 1 %}
-{% endfor %}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Branches ({{ branchCount }})</h4>
-</div>
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th>branch</th>
-<th></th>
-<th class="rightBorder"></th>
-<th class="center">latest run</th>
-<th class="center">total runs</th>
-<th class="showInLargeDisplay"></th>
-</tr>
-</thead>
-<tbody>
-{# Print branches #}
-{% for branch in branches %}
-<tr>
-{# Branch name #}
-{% if branch.archived %}
-<td><span class="glyphicon glyphicon-eye-close gray"></span> <span class="gray">{{ branch.name }}</span></td>
-{% else %}
-<td><span class="glyphicon glyphicon-eye-open"></span> {{ branch.name }}</td>
-{% endif %}
-{% set branchTag = branch.name %}
-{% set branchTag = branchTag|replace({'.': '--'}) %} {# '.' reserved in jQuery #}
-{% set branchTag = branchTag|replace({':': '---'}) %} {# ':' reserved in jQuery #}
-{% set branchTag = branchTag|replace({',': '----'}) %} {# '.' reserved in jQuery #}
-{% set branchTag = branchTag|replace({'[': '-----'}) %} {# '.' reserved in jQuery #}
-{% set branchTag = branchTag|replace({']': '------'}) %} {# '.' reserved in jQuery #}
-{% set branchTag = branchTag|replace({'_': '-------'}) %} {# '_' used as separator for modal confirmations #}
-
-{# Archive button (opens a confirmation modal) #}
-{% if branch.archived %}
-<td id="{{ branchTag }}ArchiveButton"><button type="button" class="btn btn-default btn-xs" data-toggle="modal" data-target="#{{ branchTag }}RestoreModal">Restore</button></td>
-{% else %}
-<td id="{{ branchTag }}ArchiveButton"><button type="button" class="btn btn-primary btn-xs" data-toggle="modal" data-target="#{{ branchTag }}ArchiveModal">Archive</button></td>
-{% endif %}
-
-{# Remove button (opens a confirmation modal) #}
-<td id="{{ branchTag }}RemoveButton" class="rightBorder"><button type="button" class="btn btn-danger btn-xs" data-toggle="modal" data-target="#{{ branchTag }}RemoveModal">Remove</button></td>
-
-{# Latest project_run #}
-<td class="center">{{ branch.latestRun }}</td>
-
-{# Show run count as numbers #}
-{% set runs = branch.runCount %}
-<td class="center">{{ runs }}</td>
-
-{# Show row count as bars (scaled to BAR_AREA px) #}
-{% set runsBar = ((BAR_AREA/maxCount) * runs)|round(0, 'floor') %}
-{% if (runs > 0) and (runsBar == 0) %}
-{% set runsBar = 1 %}
-{% endif %}
-<td class="center showInLargeDisplay">
-<div>
-<div class="floatLeft blueBackground" style="width: {{ runsBar }}px">&nbsp;</div>
-</div>
-</td>
-</tr>
-{% endfor %}{# branch #}
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
-
-{# Modals for remove/archive/restore confirmations #}
-{% set removeMessage = "Removing the branch will delete it from the database permanently. This will also delete all related items from the xxx_run tables. THIS OPERATION CANNOT BE UNDONE!" %}
-{% set archiveMessage = "Archiving the branch will tag it so that it will not show up on the views. This will NOT delete the branch nor its related items from the database. Archived branch can be restored or removed." %}
-{% set restoreMessage = "Restoring the branch will clear the archived tag so that the branch will show up on the views again." %}
-{% for branch in branches %}
-{% set branchTag = branch.name %}
-{% set branchTag = branchTag|replace({'.': '--'}) %} {# '.' reserved in jQuery #}
-{% set branchTag = branchTag|replace({':': '---'}) %} {# ':' reserved in jQuery #}
-{% set branchTag = branchTag|replace({',': '----'}) %} {# '.' reserved in jQuery #}
-{% set branchTag = branchTag|replace({'[': '-----'}) %} {# '.' reserved in jQuery #}
-{% set branchTag = branchTag|replace({']': '------'}) %} {# '.' reserved in jQuery #}
-{% set branchTag = branchTag|replace({'_': '-------'}) %} {# '_' used as separator for modal confirmations #}
-
-{# Remove confirmation #}
-<div class="modal fade" id="{{ branchTag }}RemoveModal" tabindex="-1" role="dialog" aria-labelledby="{{ branchTag }}RemoveModalLabel" aria-hidden="true">
-<div class="modal-dialog">
-<div class="modal-content">
-<div class="modal-header">
-<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
-<h4 class="modal-title" id="{{ branchTag }}RemoveModalLabel">Remove branch "{{ branch.name }}"</h4>
-</div>
-<div class="modal-body">{{ removeMessage }}</div>
-<div class="modal-footer">
-<button type="button" class="btn btn-default" data-dismiss="modal" id="cancel_branch_remove_{{ branch.name }}">Cancel</button>
-<button type="button" class="btn btn-danger" data-dismiss="modal" id="confirm_branch_remove_{{ branchTag }}" name="{{ branch.name }}">Remove</button>
-</div>
-</div>
-</div>
-</div> {# .modal #}
-
-{# Archive confirmation #}
-{% if not branch.archived %}
-<div class="modal fade" id="{{ branchTag }}ArchiveModal" tabindex="-1" role="dialog" aria-labelledby="{{ branchTag }}ArchiveModalLabel" aria-hidden="true">
-<div class="modal-dialog">
-<div class="modal-content">
-<div class="modal-header">
-<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
-<h4 class="modal-title" id="{{ branchTag }}ArchiveModalLabel">Archive branch "{{ branch.name }}"</h4>
-</div>
-<div class="modal-body">{{ archiveMessage }}</div>
-<div class="modal-footer">
-<button type="button" class="btn btn-default" data-dismiss="modal" id="cancel_branch_archive_{{ branch.name }}">Cancel</button>
-<button type="button" class="btn btn-primary" data-dismiss="modal" id="confirm_branch_archive_{{ branchTag }}" name="{{ branch.name }}">Archive</button>
-</div>
-</div>
-</div>
-</div> {# .modal #}
-{% endif %}
-
-{# Restore confirmation #}
-{% if branch.archived %}
-<div class="modal fade" id="{{ branchTag }}RestoreModal" tabindex="-1" role="dialog" aria-labelledby="{{ branchTag }}RestoreModalLabel" aria-hidden="true">
-<div class="modal-dialog">
-<div class="modal-content">
-<div class="modal-header">
-<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
-<h4 class="modal-title" id="{{ branchTag }}RestoreModalLabel">Restore branch "{{ branch.name }}"</h4>
-</div>
-<div class="modal-body">{{ restoreMessage }}</div>
-<div class="modal-footer">
-<button type="button" class="btn btn-default" data-dismiss="modal" id="cancel_branch_restore_{{ branch.name }}">Cancel</button>
-<button type="button" class="btn btn-primary" data-dismiss="modal" id="confirm_branch_restore_{{ branchTag }}" name="{{ branch.name }}">Restore</button>
-</div>
-</div>
-</div>
-</div> {# .modal #}
-{% endif %}
-
-{% endfor %}{# branch #}
-
-</div> {# .col... #}
-</div> {# .row #}
-</div> {# .container-fluid #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-<script src="scripts/admin.js"></script>
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/admin_data.html b/non-puppet/qtmetrics2/templates/admin_data.html
deleted file mode 100644
index b7ce7fd..0000000
--- a/non-puppet/qtmetrics2/templates/admin_data.html
+++ /dev/null
@@ -1,202 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Admin page: Data maintenance
- * @since 17-08-2015
- * @author Juha Sippola
- */
-
-#}
-
-{# Row count bar area size in px #}
-{% set BAR_AREA = 200 %}
-
-{% include "header.html" %}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-<li class="active">data</li>
-</ol>
-
-<div class="container-fluid">
-<div class="row">
-
-<div class="col-sm-12 col-md-12 main">
-
-{##### Title #####}
-
-<h1 class="page-header">Admin</h1>
-
-{##### Navigation #####}
-
-<ul class="nav nav-tabs">
-<li role="presentation"><a href="{{ adminRoute }}">Summary</a></li>
-<li role="presentation"><a href="{{ adminBranchesRoute }}">Branches</a></li>
-<li role="presentation" class="active"><a href="{{ adminDataRoute }}">Data maintenance</a></li>
-</ul>
-<br>
-
-{##### Project runs #####}
-
-{# Get states #}
-{% set states = [] %}
-{% for run in projectRuns %}
-{% if run.state not in states %}
-{% set states = states|merge([run.state]) %}
-{% endif %}
-{% endfor %}
-
-{# Calculate max count #}
-{% set maxCount = 1 %}
-{% for projectRun in projectRuns %}
-{% if projectRun.runCount > maxCount %}
-{% set maxCount = projectRun.runCount %}
-{% endif %}
-{% endfor %}
-
-{# Loop all the states #}
-{% for state in states %}
-
-{# Calculate run count #}
-{% set runCount = 0 %}
-{% for projectRun in projectRuns if projectRun.state == state %}
-{% set runCount = runCount + projectRun.runCount %}
-{% endfor %}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">{{ state }} project runs ({{ runCount }})</h4>
-</div>
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th class="center">year</th>
-<th class="center">month</th>
-<th class="center">day</th>
-<th class="rightBorder"></th>
-<th class="center">runs</th>
-<th class="showInLargeDisplay"></th>
-</tr>
-</thead>
-<tbody>
-{# Print projectRuns #}
-{% for projectRun in projectRuns if projectRun.state == state %}
-<tr>
-{# year and month #}
-<td class="center">{{ projectRun.year }}</td>
-<td class="center">{{ projectRun.month }}</td>
-<td class="center">{{ projectRun.day }}</td>
-{% set monthFiller = '' %}
-{% set dayFiller = '' %}
-{% if projectRun.month < 10 %}
-{% set monthFiller = '0' %}
-{% endif %}
-{% if projectRun.day < 10 %}
-{% set dayFiller = '0' %}
-{% endif %}
-{% set tag = projectRun.state ~ "-" ~ projectRun.year ~ "-" ~ monthFiller ~ projectRun.month ~ "-" ~ dayFiller ~ projectRun.day %}
-
-{# Button (opens a confirmation modal) #}
-<td id="{{ tag }}Button" class="rightBorder"><button type="button" class="btn btn-danger btn-xs" data-toggle="modal" data-target="#{{ tag }}Modal">Remove</button></td>
-
-{# Show run count as numbers #}
-{% set runs = projectRun.runCount %}
-<td class="center">{{ runs }}</td>
-
-{# Show row count as bars (scaled to BAR_AREA px) #}
-{% set runsBar = ((BAR_AREA/maxCount) * runs)|round(0, 'floor') %}
-{% if (runs > 0) and (runsBar == 0) %}
-{% set runsBar = 1 %}
-{% endif %}
-<td class="center showInLargeDisplay">
-<div>
-<div class="floatLeft blueBackground" style="width: {{ runsBar }}px">&nbsp;</div>
-</div>
-</td>
-</tr>
-{% endfor %}{# projectRun #}
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
-{% endfor %}{# state #}
-
-{# Modals for remove confirmation #}
-{% set message = "Removing will delete all related items from the '_run' tables. This may take up to one or two minutes. THIS OPERATION CANNOT BE UNDONE!" %}
-{% for projectRun in projectRuns %}
-{% set monthFiller = '' %}
-{% set dayFiller = '' %}
-{% if projectRun.month < 10 %}
-{% set monthFiller = '0' %}
-{% endif %}
-{% if projectRun.day < 10 %}
-{% set dayFiller = '0' %}
-{% endif %}
-{% set tag = projectRun.state ~ "-" ~ projectRun.year ~ "-" ~ monthFiller ~ projectRun.month ~ "-" ~ dayFiller ~ projectRun.day %}
-{% set tagDate = projectRun.year ~ "-" ~ monthFiller ~ projectRun.month ~ "-" ~ dayFiller ~ projectRun.day %}
-<div class="modal fade" id="{{ tag }}Modal" tabindex="-1" role="dialog" aria-labelledby="{{ tag }}ModalLabel" aria-hidden="true">
-<div class="modal-dialog">
-<div class="modal-content">
-<div class="modal-header">
-<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
-<h4 class="modal-title" id="{{ tag }}ModalLabel">Remove {{ tagDate }} data in "{{ projectRun.state }}"</h4>
-</div>
-<div class="modal-body">
-{{ message }}
-</div>
-<div class="modal-footer">
-<button type="button" class="btn btn-default" data-dismiss="modal" id="cancel_data_remove_{{ tag }}">Cancel</button>
-<button type="button" class="btn btn-danger remove_branch" data-dismiss="modal" id="confirm_data_remove_{{ tagDate }}" name="{{ projectRun.state }}">Remove</button>
-</div>
-</div>
-</div>
-</div> {# .modal #}
-{% endfor %}{# projectRun #}
-
-</div> {# .col... #}
-</div> {# .row #}
-</div> {# .container-fluid #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-<script src="scripts/admin.js"></script>
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/build_project.html b/non-puppet/qtmetrics2/templates/build_project.html
deleted file mode 100644
index 3232719..0000000
--- a/non-puppet/qtmetrics2/templates/build_project.html
+++ /dev/null
@@ -1,384 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Build project page
- * @since 17-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{% include "header.html" %}
-
-{# project as Project object
-/**
- * @var Project[] project
- */
-#}
-
-{# confRuns as ConfRun objects
-/**
- * @var ConfRun[] confRuns
- */
-#}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-{% if targetOs == '' %}
-<li class="active">{{ project.getName }}</li>
-{% else %}
-<li class="active">{{ targetOs }}</li>
-{% endif %}
-</ol>
-
-<div class="container-fluid">
-<div class="row">
-
-<div class="col-sm-12 col-md-12 main">
-
-{# Check if any runs available #}
-{% set runsAvailable = 0 %}
-{% for run in confRuns %}
-{% set runsAvailable = 1 %}
-{% endfor %}
-
-{##### Title #####}
-
-<h1 class="page-header">
-{{ project.getName }}
-<button type="button" class="btn btn-xs btn-info" data-toggle="collapse" data-target="#info" aria-expanded="false" aria-controls="info">
-<span class="glyphicon glyphicon-info-sign"></span>
-</button>
-<small>{{ refreshed }}</small>
-</h1>
-
-{##### Platform buttons #####}
-
-<div>
-<div class="btn-groupxx">
-{% if targetOs == '' %}
-{% set buttonStyle = 'btn-primary' %}
-{% else %}
-{% set buttonStyle = 'btn-default' %}
-{% endif %}
-<a class="btn {{ buttonStyle }} btn-xs" href="{{ buildProjectRoute }}" role="button">all</a>
-{% for platform in platforms %}
-{% if platform.os == targetOs %}
-{% set buttonStyle = 'btn-primary' %}
-{% else %}
-{% set buttonStyle = 'btn-default' %}
-{% endif %}
-<a class="btn {{ buttonStyle }} btn-xs" href="{{ buildPlatformRoute }}/{{ platform.os|url_encode }}" role="button">{{ platform.os }}</a>
-{% endfor %}
-</div>
-</div>
-<hr>
-
-{##### Info well #####}
-
-<div class="collapse" id="info">
-<div class="well infoWell">
-<span class="glyphicon glyphicon-info-sign"></span> <strong>Build Project</strong><br>
-<ul>
-{% if targetOs == '' %}
-<li>In <strong>Latest Status</strong>, the <strong>latest result</strong> shows the overall
-project status based on the latest <strong>{{ masterProject }} {{ masterState }}</strong>
-builds across all branches, and the <strong>branch</strong> results across all configurations
-(both show failed if failed in one or in several builds).</li>
-{% endif %}
-<li><strong>Results in Branches</strong> shows the {{ project.getName }} run results by branch
-and their configuration on <strong>{{ masterProject }} {{ masterState }}</strong> builds
-<ul>
-<li>log file: <span class="glyphicon glyphicon-file blue"></span> = link to build log file</li>
-<li>flags: <span class="label label-success">f</span> = forcesuccess and
-<span class="label label-default">i</span> = insignificant flag set for the configuration on the latest build</li>
-<li>results: <span class="glyphicon glyphicon-ok green"></span> = {{ constant('ConfRun::RESULT_SUCCESS') }},
-<span class="glyphicon glyphicon-ok-sign green"></span> = {{ constant('ConfRun::RESULT_SUCCESS') }} as forcesucces,
-<span class="glyphicon glyphicon-remove red"></span> = {{ constant('ConfRun::RESULT_FAILURE') }},
-<span class="glyphicon glyphicon-ban-circle gray"></span> = {{ constant('ConfRun::RESULT_ABORTED') }}/{{ constant('ConfRun::RESULT_UNDEF') }}</li>
-</ul>
-</li>
-<li>Details on the runs are available as tooltip on result icon</li>
-</ul>
-</div>
-</div>
-
-{% if runsAvailable %}
-
-{##### Latest Status #####}
-
-{% if targetOs == '' %}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Latest Status</h4>
-</div>
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th>project</th>
-<th class="rightBorder">latest result</th>
-{% for branch in latestProjectRuns %}
-<th class="center">{{ branch.name }}</th>
-{% endfor %}
-</tr>
-</thead>
-<tbody>
-<tr>
-{# Project name #}
-<td>{{ project.getName }}</td>
-
-{# Testset status according to the latest build results #}
-{% if project.getStatus == constant('ConfRun::RESULT_SUCCESS') %}
-{% set resultIcon = 'glyphicon glyphicon-ok green' %}
-{% elseif project.getStatus == constant('ConfRun::RESULT_FAILURE') %}
-{% set resultIcon = 'glyphicon glyphicon-remove red' %}
-{% else %}
-{% set resultIcon = '' %}
-{% endif %}
-<td class="rightBorder"><span class="spaceHorizontal {{ resultIcon }}"></span>{{ project.getStatus }}</td>
-
-{# Result (by branch) #}
-{% for run in latestProjectRuns %}
-{% if run.result == constant('ConfRun::RESULT_SUCCESS') %}
-{% set resultIcon = 'glyphicon glyphicon-ok green' %}
-{% elseif run.result == constant('ConfRun::RESULT_FAILURE') %}
-{% set resultIcon = 'glyphicon glyphicon-remove red' %}
-{% else %}
-{% set resultIcon = 'glyphicon glyphicon-ban-circle gray' %}
-{% endif %}
-<td class="center">
-<span class="spaceHorizontal {{ resultIcon }} clickOnTouch" data-toggle="tooltip" data-placement="top" data-html="true"
-title="<table>
-<tr><th>Branch: </td><td>{{ run.name }}</td></tr>
-<tr><th>Build key: </td><td>{{ run.buildKey }}</td></tr>
-<tr><th>Timestamp: </td><td>{{ run.timestamp }}</td></tr>
-<tr><th>Result: </td><td>{{ run.result }}</td></tr>
-<tr><th>Duration: </td><td>{{ run.duration}}</td></tr></table>">
-</span></td>
-{% endfor %}{# run #}
-</tr>
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
-
-{% endif %}{# targetOs #}
-
-{##### Results in Branches #####}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Results in Branches</h4>
-</div>
-</div>
-
-{# Get branches #}
-{% set branches = [] %}
-{% for run in projectRuns %}
-{% if run.getBranchName not in branches %}
-{% set branches = branches|merge([run.getBranchName]) %}
-{% endif %}
-{% endfor %}
-
-{# Loop all the branches #}
-{% for branch in branches %}
-
-{# Get all build keys, dates and log links #}
-{% set buildKey = '' %}
-{% set buildKeys = [] %}
-{% set buildKeysShort = [] %}
-{% set dates = [] %}
-{% set logLinks = [] %}
-{% set buildLinks = [] %}
-{% for run in projectRuns %}
-{% if run.getBranchName == branch %}
-{% if buildKey != run.getBuildKey %}
-{% set buildKey = run.getBuildKey %}
-{% set buildKeys = buildKeys|merge([run.getBuildKey]) %}
-{% set buildKeysShort = buildKeysShort|merge([run.getShortBuildKey]) %}
-{% set dates = dates|merge([run.getTimestamp]) %}
-{% set logLinks = logLinks|merge([run.getLogLink]) %}
-{% set buildLinks = buildLinks|merge([run.getBuildLink]) %}
-{% endif %}
-{% endif %}
-{% endfor %}
-
-{# Check if conf run for this branch #}
-{% set confBranch = 0 %}
-{% for run in confRuns if run.getBranchName == branch %}
-{% set confBranch = 1 %}
-{% endfor %}
-
-{# Show branch if conf run for it #}
-{% if confBranch %}
-<div class="panel panel-info">
-<div class="panel-heading">
-<h4 class="panel-title bold">{{ branch }}</h4>
-</div>
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th class="bold">configuration</th>
-<th class="bold rightBorder">flags</th>
-{% for key, buildKey in buildKeys %}
-<th class="center">
-{% if buildKey == buildKeysShort[key] %}
-<a href="{{ buildLinks[key] }}" target="_blank">{{ buildKey }}</a><br>
-{% else %}
-<a href="{{ buildLinks[key] }}" target="_blank"><span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ buildKey }}">{{ buildKeysShort[key] }}</span></a><br>
-{% endif %}
-<span class="gray"><small>{{ dates[key]|date("m-d") }}</small></span><br>
-<a href="{{ logLinks[key] }}" target="_blank"><span class="glyphicon glyphicon-file"></span></a>
-</th>
-{% endfor %}
-</tr>
-</thead>
-<tbody>
-{% set confPrev = '' %}
-{% set buildKeyIndexPrinted = -1 %}
-{% set buildKeyFound = 0 %}
-{% for run in confRuns if run.getBranchName == branch %}
-
-{# New row for each conf #}
-{% if confPrev != run.getName %}
-{# Close previous row #}
-{% if confPrev != '' %}
-{# Fill empty cells at the end of the row #}
-{% for key, buildKey in buildKeys %}
-{% if key > buildKeyIndexPrinted %}
-<td></td>
-{% endif %}
-{% endfor %}
-</tr>
-{% endif %}
-<tr>
-{% set link = confRoute ~ '/' ~ run.getName|url_encode %}
-<td><a href="{{ link }}"><small>{{ run.getName }}</small></a></td>
-{# Flags for the latest build #}
-<td class="center rightBorder">
-{% if run.getForcesuccess %}
-<span class="label label-success">f</span>
-{% endif %}
-{% if run.getInsignificant %}
-<span class="label label-default">i</span>
-{% endif %}
-</td>
-{% set buildKeyIndexPrinted = -1 %}
-{% endif %}
-
-{# Result per build key #}
-{% set buildKeyFound = 0 %}
-{% for key, buildKey in buildKeys %}
-{# Print each column only once (checked based on column index key and buildKeyFound flag) #}
-{% if key > buildKeyIndexPrinted and not buildKeyFound %}
-{% if buildKey == run.getBuildKey %}
-{# Print result #}
-{% set forcesuccess = '' %}
-{% if run.getResult == constant('ConfRun::RESULT_SUCCESS') %}
-{% if run.getForcesuccess == 0 %}
-{% set resultIcon = 'glyphicon glyphicon-ok green' %}
-{% else %}
-{# Forcesuccess #}
-{% set resultIcon = 'glyphicon glyphicon-ok-sign green' %}
-{% set forcesuccess = ' (as forcesuccess)' %}
-{% endif %}
-{% elseif run.getResult == constant('ConfRun::RESULT_FAILURE') %}
-{% set resultIcon = 'glyphicon glyphicon-remove red' %}
-{% elseif run.getResult == constant('ConfRun::RESULT_UNDEF') %}
-{% set resultIcon = 'glyphicon glyphicon-ban-circle gray' %}
-{% else %}
-{% set resultIcon = '' %}
-{% endif %}
-<td class="center">
-<span class="spaceHorizontal {{ resultIcon }} clickOnTouch" data-toggle="tooltip" data-placement="top" data-html="true"
-title="<table>
-<tr><th>Build key: </th><td>{{ buildKey }}</td></tr>
-<tr><th>Configuration: </th><td>{{ run.getName }}</td></tr>
-<tr><th>Timestamp: </th><td>{{ run.getTimestamp }}</td></tr>
-<tr><th>Result: </th><td>{{ run.getResult }} {{ forcesuccess }}</td></tr>
-<tr><th>Duration: </th><td>{{ run.getDuration }}</td></tr>
-<tr><th>Forcesuccess: </th><td>{% if run.getForcesuccess %}yes{% else %}no{% endif %}</td></tr>
-<tr><th>Insignificant: </th><td>{% if run.getInsignificant %}yes{% else %}no{% endif %}</td></tr></table>">
-</span></td>
-{% set buildKeyFound = 1 %}
-{% else %}{# buildKey #}
-{# Print empty cell #}
-<td></td>
-{% endif %}{# buildKey #}
-{% set buildKeyIndexPrinted = key %}
-{% endif %}{# key #}
-{% endfor %}{# key #}
-{% set confPrev = run.getName %}
-{% endfor %}{# run #}
-
-{# Close last row (also fill empty cells at the end of the row) #}
-{% for key, buildKey in buildKeys %}
-{% if key > buildKeyIndexPrinted %}
-<td></td>
-{% endif %}
-{% endfor %}
-</tr>
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
-{% endif %}{# confBranch #}
-{% endfor %}{# branch #}
-
-{% else %}{# runsAvailable #}
-<div class="alert alert-danger" role="alert">
-No {{ targetOs }} build data available for project {{ project.getName }}!
-</div>
-{% endif %}{# runsAvailable #}
-
-</div> {# .col... #}
-</div> {# .row #}
-</div> {# .container-fluid #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-<script src="scripts/tooltip.js"></script>
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/close.html b/non-puppet/qtmetrics2/templates/close.html
deleted file mode 100644
index 26101fc..0000000
--- a/non-puppet/qtmetrics2/templates/close.html
+++ /dev/null
@@ -1,44 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Tags to close html page
- * @since 18-06-2015
- * @author Juha Sippola
- */
-
-#}
-
-</body>
-</html>
diff --git a/non-puppet/qtmetrics2/templates/conf.html b/non-puppet/qtmetrics2/templates/conf.html
deleted file mode 100644
index 16015e8..0000000
--- a/non-puppet/qtmetrics2/templates/conf.html
+++ /dev/null
@@ -1,628 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Configuration page
- * @since 24-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{% include "header.html" %}
-
-{# conf as Conf object
-/**
- * @var Conf[] confs
- */
-#}
-
-{# confRuns as ConfRun objects
-/**
- * @var ConfRun[] confRuns
- */
-#}
-
-{# testsetRuns as TestsetRun objects
-/**
- * @var TestsetRun[] testsetRuns
- */
-#}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-<li class="active">{{ conf.getName }}</li>
-</ol>
-
-<div class="container-fluid">
-<div class="row">
-
-<div class="col-sm-12 col-md-12 main">
-
-{##### Title #####}
-
-<h1 class="page-header">
-{{ conf.getName }}<br>
-<button type="button" class="btn btn-xs btn-info" data-toggle="collapse" data-target="#info" aria-expanded="false" aria-controls="info">
-<span class="glyphicon glyphicon-info-sign"></span>
-</button>
-<small>{{ refreshed }}</small>
-</h1>
-
-{##### Info well #####}
-
-<div class="collapse" id="info">
-<div class="well infoWell">
-{% if testsetProject == '' %}
-<span class="glyphicon glyphicon-info-sign"></span> <strong>Configuration</strong> (for build project <strong>{{ masterProject }}</strong>)<br>
-{% else %}
-<span class="glyphicon glyphicon-info-sign"></span> <strong>Configuration</strong> (for testset project <strong>{{ testsetProject }}</strong>)<br>
-{% endif %}
-<ul>
-{% if testsetProject == '' %}
-<li>In <strong>Latest Status</strong>, the <strong>latest result</strong> shows the overall configuration
-status based on the latest <strong>{{ masterProject }} {{ masterState }}</strong> builds across all branches,
-and the <strong>branch</strong> results in each branch (both show failed if failed in one or in several builds).</li>
-{% endif %}
-{% if testsetProject == '' %}
-<li><strong>Build Results in Branches</strong> shows the results of {{ conf.getName }} builds by branch on
-<strong>{{ masterProject }} {{ masterState }}</strong> builds
-<ul>
-<li>log file: <span class="glyphicon glyphicon-file blue"></span> = link to configuration build log file</li>
-<li>flags: <span class="label label-success">f</span> = forcesuccess and
-<span class="label label-default">i</span> = insignificant flag set for the configuration on the latest build</li>
-<li>results: <span class="glyphicon glyphicon-ok green"></span> = {{ constant('ConfRun::RESULT_SUCCESS') }},
-<span class="glyphicon glyphicon-ok-sign green"></span> = {{ constant('ConfRun::RESULT_SUCCESS') }} as forcesucces,
-<span class="glyphicon glyphicon-remove red"></span> = {{ constant('ConfRun::RESULT_FAILURE') }},
-<span class="glyphicon glyphicon-ban-circle gray"></span> = {{ constant('ConfRun::RESULT_ABORTED') }}/{{ constant('ConfRun::RESULT_UNDEF') }}</li>
-</ul>
-</li>
-{% endif %}
-<li><strong>Testset Results in Branches</strong> shows the testset <strong>failures</strong> in {{ conf.getName }}
-by branch on <strong>{{ masterProject }} {{ masterState }}</strong> builds
-<ul>
-<li>log file: <span class="glyphicon glyphicon-file blue"></span> = link to configuration build log file</li>
-<li>flags: <span class="label label-default">i</span> = insignificant flag set for the testset on the latest build</li>
-<li>results: <span class="glyphicon glyphicon-remove red"></span> = {{ constant('TestsetRun::RESULT_FAILURE') }}</li>
-</ul>
-</li>
-<li>Details on the runs are available as tooltip on result icon</li>
-</ul>
-</div>
-</div>
-
-{##### Latest Status #####}
-
-{# Check if any runs available #}
-{% set latestRunsAvailable = 0 %}
-{% for run in latestConfRuns %}
-{% set latestRunsAvailable = 1 %}
-{% endfor %}
-
-{% if latestRunsAvailable %}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Latest Status</h4>
-</div>
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th>configuration</th>
-<th class="rightBorder">latest result</th>
-{% for branch in latestConfRuns %}
-<th class="center">{{ branch.name }}</th>
-{% endfor %}
-</tr>
-</thead>
-<tbody>
-<tr>
-{# Conf name #}
-<td>{{ conf.getName }}</td>
-
-{# Conf status according to the latest build results #}
-{% if conf.getStatus == constant('ConfRun::RESULT_SUCCESS') %}
-{% set resultIcon = 'glyphicon glyphicon-ok green' %}
-{% elseif conf.getStatus == constant('ConfRun::RESULT_FAILURE') %}
-{% set resultIcon = 'glyphicon glyphicon-remove red' %}
-{% else %}
-{% set resultIcon = 'glyphicon glyphicon-ban-circle gray' %}
-{% endif %}
-<td class="rightBorder"><span class="spaceHorizontal {{ resultIcon }}"></span>{{ conf.getStatus }}</td>
-
-{# Result (by branch) #}
-{% set flagIcon = 'glyphicon glyphicon-exclamation-sign' %}
-{% for run in latestConfRuns %}
-{% set forcesuccess = '' %}
-{% if run.result == constant('ConfRun::RESULT_SUCCESS') %}
-{% if not run.forcesuccess %}
-{# - success #}
-{% set resultIcon = 'glyphicon glyphicon-ok green' %}
-{% else %}
-{# - success - forcesuccess #}
-{% set resultIcon = 'glyphicon glyphicon-ok-sign green' %}
-{% set forcesuccess = ' (as forcesuccess)' %}
-{% endif %}
-{% elseif run.result == constant('ConfRun::RESULT_FAILURE') %}
-{# - failure #}
-{% set resultIcon = 'glyphicon glyphicon-remove red' %}
-{% else %}
-{# - aborted / undefined #}
-{% set resultIcon = 'glyphicon glyphicon-ban-circle gray' %}
-{% endif %}
-<td class="center">
-<span class="spaceHorizontal {{ resultIcon }} clickOnTouch" data-toggle="tooltip" data-placement="top" data-html="true"
-title="<table>
-<tr><th>Branch: </th><td>{{ run.name }}</td></tr>
-<tr><th>Build key: </th><td>{{ run.buildKey }}</td></tr>
-<tr><th>Timestamp: </th><td>{{ run.timestamp }}</td></tr>
-<tr><th>Result: </th><td>{{ run.result }} {{ forcesuccess }}</td></tr>
-<tr><th>Forcesuccess: </th><td>{% if run.forcesuccess %}yes{% else %}no{% endif %}</td></tr>
-<tr><th>Insignificant: </th><td>{% if run.insignificant %}yes{% else %}no{% endif %}</td></tr>
-<tr><th>Duration: </td><td>{{ run.duration}}</td></tr></table>"></span>
-{% if run.forcesuccess %}
-<span class="label label-success clickOnTouch" data-toggle="tooltip" data-placement="top" data-html="true"
-title="forcesuccess">f</span>
-{% endif %}
-{% if run.insignificant %}
-<span class="label label-default clickOnTouch" data-toggle="tooltip" data-placement="top" data-html="true"
-title="insignificant">i</span>
-{% endif %}
-</td>
-{% endfor %}{# run #}
-</tr>
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
-{% endif %}{# latestRunsAvailable #}
-
-{##### Build Results in Branches #####}
-
-{# Get branches #}
-{% set branches = [] %}
-{% for run in projectRuns %}
-{% if run.getBranchName not in branches %}
-{% set branches = branches|merge([run.getBranchName]) %}
-{% endif %}
-{% endfor %}
-
-{# Check if any runs available #}
-{% set confRunsAvailable = 0 %}
-{% for run in confRuns %}
-{% set confRunsAvailable = 1 %}
-{% endfor %}
-
-{% if confRunsAvailable and (testsetProject == '') %}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Build Results in Branches</h4>
-</div>
-</div>
-
-{# Loop all the branches #}
-{% for branch in branches %}
-
-{# Get all build keys, dates and log links #}
-{% set buildKey = '' %}
-{% set buildKeys = [] %}
-{% set buildKeysShort = [] %}
-{% set dates = [] %}
-{% set logLinks = [] %}
-{% set buildLinks = [] %}
-{% for run in projectRuns %}
-{% if run.getBranchName == branch %}
-{% if buildKey != run.getBuildKey %}
-{% set buildKey = run.getBuildKey %}
-{% set buildKeys = buildKeys|merge([run.getBuildKey]) %}
-{% set buildKeysShort = buildKeysShort|merge([run.getShortBuildKey]) %}
-{% set dates = dates|merge([run.getTimestamp]) %}
-{% set confRunFound = 0 %}
-{% for confRun in confRuns if (confRun.getBranchName == branch) and (confRun.getBuildKey == buildKey) %}
-{% set logLinks = logLinks|merge([confRun.getLogLink]) %}
-{% set buildLinks = buildLinks|merge([confRun.getBuildLink]) %}
-{% set confRunFound = 1 %}
-{% endfor %}
-{% if not confRunFound %}
-{% set logLinks = logLinks|merge(['']) %}
-{% set buildLinks = buildLinks|merge(['']) %}
-{% endif %}
-{% endif %}
-{% endif %}
-{% endfor %}
-
-{# Check if conf run for this branch #}
-{% set confBranch = 0 %}
-{% for run in confRuns if run.getBranchName == branch %}
-{% set confBranch = 1 %}
-{% endfor %}
-
-{# Show branch if testset run for it #}
-{% if confBranch %}
-<div class="panel panel-info">
-<div class="panel-heading">
-<h4 class="panel-title bold">{{ branch }}</h4>
-</div>
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th class="bold">configuration</th>
-<th class="bold rightBorder">flags</th>
-{% for key, buildKey in buildKeys %}
-<th class="center">
-{% if buildLinks[key] != '' %}
-{% if buildKey == buildKeysShort[key] %}
-<a href="{{ buildLinks[key] }}" target="_blank">{{ buildKey }}</a><br>
-{% else %}
-<a href="{{ buildLinks[key] }}" target="_blank"><span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ buildKey }}">{{ buildKeysShort[key] }}</span></a><br>
-{% endif %}
-{% else %}
-{% if buildKey == buildKeysShort[key] %}
-{{ buildKey }}<br>
-{% else %}
-<span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ buildKey }}">{{ buildKeysShort[key] }}</span><br>
-{% endif %}
-{% endif %}
-<span class="gray"><small>{{ dates[key]|date("m-d") }}</small></span><br>
-{% if logLinks[key] != '' %}
-<a href="{{ logLinks[key] }}" target="_blank"><span class="glyphicon glyphicon-file"></span></a>
-{% else %}
-&nbsp;
-{% endif %}
-</th>
-{% endfor %}
-</tr>
-</thead>
-<tbody>
-{% set prevRowName = '' %}
-{% set buildKeyIndexPrinted = -1 %}
-{% set buildKeyFound = 0 %}
-{% for run in confRuns if run.getBranchName == branch %}
-
-{# New row for each conf #}
-{% if prevRowName != run.getName %}
-{# Close previous row #}
-{% if prevRowName != '' %}
-{# Fill empty cells at the end of the row #}
-{% for key, buildKey in buildKeys %}
-{% if key > buildKeyIndexPrinted %}
-<td></td>
-{% endif %}
-{% endfor %}
-</tr>
-{% endif %}
-<tr>
-{# Conf name #}
-<td><small>{{ conf.getName }}</small></td>
-{# Flags for the latest build #}
-<td class="center rightBorder">
-{% if run.getForcesuccess %}
-<span class="label label-success">f</span>
-{% endif %}
-{% if run.getInsignificant %}
-<span class="label label-default">i</span>
-{% endif %}
-</td>
-{% set buildKeyIndexPrinted = -1 %}
-{% endif %}
-
-{# Result per build key #}
-{% set buildKeyFound = 0 %}
-{% for key, buildKey in buildKeys %}
-{# Print each column only once (checked based on column index key and buildKeyFound flag) #}
-{% if key > buildKeyIndexPrinted and not buildKeyFound %}
-{% if buildKey == run.getBuildKey %}
-{% set forcesuccess = '' %}
-{% if run.getResult == constant('ConfRun::RESULT_SUCCESS') %}
-{% if not run.getForcesuccess %}
-{% set resultIcon = 'glyphicon glyphicon-ok green' %}
-{% else %}
-{% set resultIcon = 'glyphicon glyphicon-ok-sign green' %}
-{% set forcesuccess = ' (as forcesuccess)' %}
-{% endif %}
-{% elseif run.getResult == constant('ConfRun::RESULT_FAILURE') %}
-{% set resultIcon = 'glyphicon glyphicon-remove red' %}
-{% elseif run.getResult == constant('ConfRun::RESULT_ABORTED') %}
-{% set resultIcon = 'glyphicon glyphicon-ban-circle gray' %}
-{% elseif run.getResult == constant('ConfRun::RESULT_UNDEF') %}
-{% set resultIcon = 'glyphicon glyphicon-ban-circle gray' %}
-{% else %}
-{% set resultIcon = '' %}
-{% endif %}
-{# Print result #}
-<td class="center">
-<span class="spaceHorizontal {{ resultIcon }} clickOnTouch" data-toggle="tooltip" data-placement="top" data-html="true"
-title="<table>
-<tr><th>Build key: </th><td>{{ buildKey }}</td></tr>
-<tr><th>Configuration: </th><td>{{ run.getName }}</td></tr>
-<tr><th>Timestamp: </th><td>{{ run.getTimestamp }}</td></tr>
-<tr><th>Result: </th><td>{{ run.getResult }} {{ forcesuccess }}</td></tr>
-<tr><th>Forcesuccess: </th><td>{% if run.getForcesuccess %}yes{% else %}no{% endif %}</td></tr>
-<tr><th>Insignificant: </th><td>{% if run.getInsignificant %}yes{% else %}no{% endif %}</td></tr>
-<tr><th>Duration: </td><td>{{ run.getDuration}}</td></tr></table>"></span></td>
-{% set buildKeyFound = 1 %}
-{% else %}
-{# Print empty cell #}
-<td></td>
-{% endif %}
-{% set buildKeyIndexPrinted = key %}
-{% endif %}{# key #}
-{% endfor %}{# key #}
-{% set prevRowName = run.getName %}
-{% endfor %}{# run #}
-
-{# Close last row (also fill empty cells at the end of the row) #}
-{% for key, buildKey in buildKeys %}
-{% if key > buildKeyIndexPrinted %}
-<td></td>
-{% endif %}
-{% endfor %}{# key #}
-</tr>
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
-{% endif %}{# confBranch #}
-{% endfor %}{# branch #}
-{% endif %}{# confRunsAvailable #}
-
-{##### Testset Results in Branches #####}
-
-{# Check if any runs available #}
-{% set testsetRunsAvailable = 0 %}
-{% set testsetsAvailable = 0 %}
-{% for run in testsetRuns %}
-{% set testsetRunsAvailable = 1 %}
-{% endfor %}
-
-{% if testsetRunsAvailable %}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Testset Results in Branches <small>(failures only)</small></h4>
-</div>
-</div>
-
-{# Loop all the branches #}
-{% for branch in branches %}
-
-{# Get all build keys, dates and conf log links #}
-{% set buildKey = '' %}
-{% set buildKeys = [] %}
-{% set buildKeysShort = [] %}
-{% set dates = [] %}
-{% set logLinks = [] %}
-{% set buildLinks = [] %}
-{% for run in projectRuns %}
-{% if run.getBranchName == branch %}
-{% if buildKey != run.getBuildKey %}
-{% set buildKey = run.getBuildKey %}
-{% set buildKeys = buildKeys|merge([run.getBuildKey]) %}
-{% set buildKeysShort = buildKeysShort|merge([run.getShortBuildKey]) %}
-{% set dates = dates|merge([run.getTimestamp]) %}
-{% set confRunFound = 0 %}
-{% for confRun in confRuns if (confRun.getBranchName == branch) and (confRun.getBuildKey == buildKey) %}
-{% set logLinks = logLinks|merge([confRun.getLogLink]) %}
-{% set buildLinks = buildLinks|merge([confRun.getBuildLink]) %}
-{% set confRunFound = 1 %}
-{% endfor %}
-{% if not confRunFound %}
-{% set logLinks = logLinks|merge(['']) %}
-{% set buildLinks = buildLinks|merge(['']) %}
-{% endif %}
-{% endif %}
-{% endif %}
-{% endfor %}
-
-{# Check if testset run for this branch #}
-{% set testsetBranch = 0 %}
-{% for run in testsetRuns if run.getBranchName == branch %}
-{% set testsetBranch = 1 %}
-{% endfor %}
-
-{# Show branch if testset run for it #}
-{% if testsetBranch %}
-{% set testsetsAvailable = 1 %}
-<div class="panel panel-info">
-<div class="panel-heading">
-<h4 class="panel-title bold">{{ branch }}</h4>
-</div>
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th class="bold">testset</th>
-<th class="bold">project</th>
-<th class="bold rightBorder">flags</th>
-{% for key, buildKey in buildKeys %}
-<th class="center">
-{% if buildLinks[key] != '' %}
-{% if buildKey == buildKeysShort[key] %}
-<a href="{{ buildLinks[key] }}" target="_blank">{{ buildKey }}</a><br>
-{% else %}
-<a href="{{ buildLinks[key] }}" target="_blank"><span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ buildKey }}">{{ buildKeysShort[key] }}</span></a><br>
-{% endif %}
-{% else %}
-{% if buildKey == buildKeysShort[key] %}
-{{ buildKey }}<br>
-{% else %}
-<span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ buildKey }}">{{ buildKeysShort[key] }}</span><br>
-{% endif %}
-{% endif %}
-<span class="gray"><small>{{ dates[key]|date("m-d") }}</small></span><br>
-{% if logLinks[key] != '' %}
-<a href="{{ logLinks[key] }}" target="_blank"><span class="glyphicon glyphicon-file"></span></a>
-{% else %}
-&nbsp;
-{% endif %}
-</th>
-{% endfor %}
-</tr>
-</thead>
-<tbody>
-{% set prevRowName = '' %}
-{% set buildKeyIndexPrinted = -1 %}
-{% set buildKeyFound = 0 %}
-{% for run in testsetRuns if run.getBranchName == branch %}
-
-{# New row for each testset #}
-{% if prevRowName != run.getName %}
-{# Close previous row #}
-{% if prevRowName != '' %}
-{# Fill empty cells at the end of the row #}
-{% for key, buildKey in buildKeys %}
-{% if key > buildKeyIndexPrinted %}
-<td></td>
-{% endif %}
-{% endfor %}
-</tr>
-{% endif %}
-<tr>
-{# Testset and project name #}
-{% set link = testsetTestfunctionsRoute ~ '/' ~ run.getName|url_encode ~ '/' ~ run.getTestsetProjectName|url_encode ~ '/' ~ run.getConfName|url_encode %}
-<td><a href="{{ link }}"><small>{{ run.getName }}</small></a></td>
-{% set link = testsetProjectRoute ~ '/' ~ run.getTestsetProjectName|url_encode %}
-<td><a href="{{ link }}"><small>{{ run.getTestsetProjectName }}</small></a></td>
-{# Flags for the latest build #}
-<td class="center rightBorder">
-{% if run.getInsignificant %}
-<span class="label label-default">i</span>
-{% endif %}
-</td>
-{% set buildKeyIndexPrinted = -1 %}
-{% endif %}
-
-{# Result per build key #}
-{% set buildKeyFound = 0 %}
-{% for key, buildKey in buildKeys %}
-{# Print each column only once (checked based on column index key and buildKeyFound flag) #}
-{% if key > buildKeyIndexPrinted and not buildKeyFound %}
-{% if buildKey == run.getBuildKey %}
-{# Print result #}
-{% set flaky = '' %}
-{% if run.getResult == constant('TestsetRun::RESULT_SUCCESS') %}
-{% if run.getRun == 1 %}
-{% set resultIcon = 'glyphicon glyphicon-ok green' %}
-{% else %}
-{% set resultIcon = 'glyphicon glyphicon-ok-sign green' %}
-{% set flaky = ' (on run ' ~ run.getRun ~ ' as flaky)' %}
-{% endif %}
-{% elseif run.getResult == constant('TestsetRun::RESULT_FAILURE') %}
-{% set resultIcon = 'glyphicon glyphicon-remove red' %}
-{% else %}
-{% set resultIcon = '' %}
-{% endif %}
-{% if run.getDuration > 60 %}
-{% set durationFormatted = ' (00:' ~ (run.getDuration|round)|date("i:s") ~ ')' %}
-{% else %}
-{% set durationFormatted = '' %}
-{% endif %}
-<td class="center">
-<span class="spaceHorizontal {{ resultIcon }} clickOnTouch" data-toggle="tooltip" data-placement="top" data-html="true"
-title="<table>
-<tr><th>Build key: </th><td>{{ buildKey }}</td></tr>
-<tr><th>Testset: </th><td>{{ run.getName }}</td></tr>
-<tr><th>Timestamp: </th><td>{{ run.getTimestamp }}</td></tr>
-<tr><th>Result: </th><td>{{ run.getResult }} {{ flaky }}</td></tr>
-<tr><th>Duration: </th><td>{{ run.getDuration }} s {{ durationFormatted }}</td></tr>
-<tr><th>Run #: </th><td>{{ run.getRun }}</td></tr>
-<tr><th>Insignificant: </th><td>{% if run.getInsignificant %}yes{% else %}no{% endif %}</td></tr></table>"></span></td>
-{% set buildKeyFound = 1 %}
-{% else %}
-{# Print empty cell #}
-<td></td>
-{% endif %}
-{% set buildKeyIndexPrinted = key %}
-{% endif %}{# key #}
-{% endfor %}{# key #}
-{% set prevRowName = run.getName %}
-{% endfor %}{# run #}
-
-{# Close last row (also fill empty cells at the end of the row) #}
-{% for key, buildKey in buildKeys %}
-{% if key > buildKeyIndexPrinted %}
-<td></td>
-{% endif %}
-{% endfor %}{# key #}
-</tr>
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
-{% endif %}{# testsetBranch #}
-{% endfor %}{# branch #}
-{% endif %}{# testsetRunsAvailable #}
-
-{# Notifications when data not available #}
-{% if testsetProject == '' %}
-{% if not confRunsAvailable %}
-<div class="alert alert-danger" role="alert">
-No data available for configuration {{ conf.getName }}!
-</div>
-{% else %}
-{% if not testsetsAvailable %}
-<div class="alert alert-success" role="alert">
-No failed testsets for configuration {{ conf.getName }}!
-</div>
-{% endif %}
-{% endif %}
-{% else %}
-{% if not testsetsAvailable %}
-<div class="alert alert-success" role="alert">
-No failed testsets in project {{ testsetProject }} for configuration {{ conf.getName }}!
-</div>
-{% endif %}
-{% endif %}
-
-</div> {# .col... #}
-</div> {# .row #}
-</div> {# /container-fluid #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-<script src="scripts/tooltip.js"></script>
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/dashboard.html b/non-puppet/qtmetrics2/templates/dashboard.html
deleted file mode 100644
index 692c52c..0000000
--- a/non-puppet/qtmetrics2/templates/dashboard.html
+++ /dev/null
@@ -1,219 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Overview page
- * @since 28-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{% include "header.html" %}
-
-{# Failed/passed bar area size in px #}
-{% set BAR_AREA = 60 %}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-<li class="active">dashboard</li>
-</ol>
-
-<div class="container-fluid">
-
-<div class="row">
-<div class="col-sm-12 col-md-12 main">
-
-{##### Title #####}
-
-<h1 class="page-header">
-Dashboard
-<button type="button" class="btn btn-xs btn-info" data-toggle="collapse" data-target="#info" aria-expanded="false" aria-controls="info">
-<span class="glyphicon glyphicon-info-sign"></span>
-</button>
-<small>{{ refreshed }}</small>
-</h1>
-
-{##### Info well #####}
-
-<div class="collapse" id="info">
-<div class="well infoWell">
-<span class="glyphicon glyphicon-info-sign"></span> <strong>Dashboard</strong><br>
-<ul>
-<li><strong>Latest {{ masterProject }} {{ masterState }} Build Status</strong> shows the status
-based on the configuration build results (% of {{ constant('confRun::RESULT_SUCCESS') }} from
-total) in the latest <strong>{{ masterProject }} {{ masterState }}</strong> builds by branch.</li>
-<li><strong>Latest {{ masterProject }} {{ masterState }} Testing Status</strong> shows the status
-based on the testset results (% of {{ constant('testsetRun::RESULT_SUCCESS') }} from total) in the
-latest <strong>{{ masterProject }} {{ masterState }}</strong> builds by branch (in any configuration).</li>
-<li>Details on the result % are available as tooltip</li>
-</ul>
-</div>
-</div>
-
-{##### Latest Build Status #####}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Latest {{ masterProject }} {{ masterState }} Build Status
-<a class="btn btn-info btn-xs spaceHorizontal" href="{{ buildProjectRoute }}" role="button"><span class="spaceHorizontal glyphicon glyphicon-share-alt"></span></a>
-</h4>
-</div>
-<div class="panel-body">
-<div class="row">
-
-{# Get branches #}
-{% set branches = [] %}
-{% for run in latestConfRuns %}
-{% if run.branch not in branches %}
-{% set branches = branches|merge([run.branch]) %}
-{% endif %}
-{% endfor %}
-
-{# Result (by branch) #}
-{% for branch in branches %}
-{% set branchTag = branch %}
-{% set branchTag = branchTag|replace({'.': '--'}) %} {# '.' reserved in jQuery #}
-{% set branchTag = branchTag|replace({':': '---'}) %} {# ':' reserved in jQuery #}
-{% set branchTag = branchTag|replace({',': '----'}) %} {# '.' reserved in jQuery #}
-{% set branchTag = branchTag|replace({'[': '-----'}) %} {# '.' reserved in jQuery #}
-{% set branchTag = branchTag|replace({']': '------'}) %} {# '.' reserved in jQuery #}
-{% set branchTag = branchTag|replace({'_': '-------'}) %} {# '_' used as separator for modal confirmations #}
-{% for run in latestConfRuns if branch == run.branch %}
-{% set passed = run.passed %}
-{% set failed = run.failed %}
-{% set aborted = run.aborted %}
-{% set undef = run.undef %}
-{% set total = passed + failed + aborted + undef %}
-{% if total > 0 %}
-{% set percent = (100 * passed / total)|round(1) %}
-{% else %}
-{% set percent = 0 %}
-{% endif %}
-<div class="col-md-3">
-<div class="chartSpeedo">
-<h3>{{ branch }}</h3>
-<div id="speedo{{ branchTag }}Build" class="chartArea"></div>
-<h4><span class="label label-primary clickOnTouch" data-toggle="tooltip" data-placement="top" data-html="true"
-title="<table>
-<tr><th>{{ branch }}</th><td>{{ run.timestamp}}</td></tr>
-<tr><td>{{ constant('confRun::RESULT_SUCCESS') }}: </td><td>{{ passed }}</td></tr>
-<tr><td>{{ constant('confRun::RESULT_FAILURE') }}: </td><td>{{ failed }}</td></tr>
-<tr><td>{{ constant('confRun::RESULT_ABORTED') }}: </td><td>{{ aborted }}</td></tr>
-<tr><td>{{ constant('confRun::RESULT_UNDEF') }}: </td><td>{{ undef }}</td></tr>
-<tr><td>Total: </td><td>{{ total }}</td></tr></table>">
-<span id="speedo{{ branchTag }}BuildValue" class="clickOnTouch">{{ percent }}</span> %
-</span></h4>
-</div>
-</div>
-{% endfor %}{# run #}
-{% endfor %}{# branch #}
-
-</div> {# .row #}
-</div> {# .panel-body #}
-</div> {# .panel #}
-
-{##### Latest Testing Status #####}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Latest {{ masterProject }} {{ masterState }} Testing Status
-<a class="btn btn-info btn-xs spaceHorizontal" href="{{ overviewRoute }}" role="button"><span class="spaceHorizontal glyphicon glyphicon-share-alt"></span></a>
-</h4>
-</div>
-<div class="panel-body">
-<div class="row">
-
-{# Get branches #}
-{% set branches = [] %}
-{% for run in latestTestsetRuns %}
-{% if run.branch not in branches %}
-{% set branches = branches|merge([run.branch]) %}
-{% endif %}
-{% endfor %}
-
-{# Result (by branch) #}
-{% for branch in branches %}
-{% set branchTag = branch %}
-{% set branchTag = branchTag|replace({'.': '--'}) %} {# '.' reserved in jQuery #}
-{% set branchTag = branchTag|replace({':': '---'}) %} {# ':' reserved in jQuery #}
-{% set branchTag = branchTag|replace({',': '----'}) %} {# '.' reserved in jQuery #}
-{% set branchTag = branchTag|replace({'[': '-----'}) %} {# '.' reserved in jQuery #}
-{% set branchTag = branchTag|replace({']': '------'}) %} {# '.' reserved in jQuery #}
-{% set branchTag = branchTag|replace({'_': '-------'}) %} {# '_' used as separator for modal confirmations #}
-{% for run in latestTestsetRuns if branch == run.branch %}
-{% set passed = run.passed %}
-{% set failed = run.failed %}
-{% set total = passed + failed %}
-{% if total > 0 %}
-{% set percent = (100 * passed / total)|round(1) %}
-{% else %}
-{% set percent = 0 %}
-{% endif %}
-<div class="col-md-3">
-<div class="chartSpeedo">
-<h3>{{ branch }}</h3>
-<div id="speedo{{ branchTag }}Testset" class="chartArea"></div>
-<h4><span class="label label-primary clickOnTouch" data-toggle="tooltip" data-placement="top" data-html="true"
-title="<table>
-<tr><th>{{ branch }}</th><td>{{ run.timestamp}}</td></tr>
-<tr><td>{{ constant('testsetRun::RESULT_SUCCESS') }}: </td><td>{{ passed }}</td></tr>
-<tr><td>{{ constant('testsetRun::RESULT_FAILURE') }}: </td><td>{{ failed }}</td></tr>
-<tr><td>Total: </td><td>{{ total }}</td></tr></table>">
-<span id="speedo{{ branchTag }}TestsetValue" class="clickOnTouch">{{ percent }}</span> %
-</span></h4>
-</div>
-</div>
-{% endfor %}{# run #}
-{% endfor %}{# branch #}
-
-</div> {# .row #}
-</div> {# .panel-body #}
-</div> {# .panel #}
-
-</div> {# .col... #}
-</div> {# .row #}
-
-</div> {# .container-fluid #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-<script src="lib/D3/d3.min.js"></script>
-<script src="scripts/speedo.js"></script>
-<script src="scripts/tooltip.js"></script>
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/empty.html b/non-puppet/qtmetrics2/templates/empty.html
deleted file mode 100644
index 2ba792d..0000000
--- a/non-puppet/qtmetrics2/templates/empty.html
+++ /dev/null
@@ -1,52 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Empty html file with a message (for invalid routes)
- * @since 18-06-2015
- * @author Juha Sippola
- */
-
-#}
-
-{% include "header.html" %}
-
-<h2>{{ message }}</h2>
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-{# (none) #}
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/footer.html b/non-puppet/qtmetrics2/templates/footer.html
deleted file mode 100644
index e92a36e..0000000
--- a/non-puppet/qtmetrics2/templates/footer.html
+++ /dev/null
@@ -1,71 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Footer section of html page including the scripts
- * @since 30-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-<hr>
-
-<div class='text-center'>
-<footer>
-<p>&copy; 2015 The Qt Company</p>
-</footer>
-</div>
-
-</div> {# /container #}
-
-{# Scripts placed at the end of the document so the pages load faster
-======================================================================= #}
-
-{# jQuery and Bootstrap #}
-<script src="lib/jQuery/jquery-1.11.3.min.js"></script>
-<script src="lib/jQuery-UI/jquery-ui.min.js"></script>
-<script src="lib/Bootstrap/dist/js/bootstrap.min.js"></script>
-
-{# IE10 viewport hack for Surface/desktop Windows 8 bug #}
-<script src="scripts/ie10-viewport-bug-workaround.js"></script>
-
-{# About window #}
-<script src="scripts/about.js"></script>
-
-{# Loading progress bar #}
-<script src="scripts/loading.js"></script>
-
-{# Page reload #}
-<script src="scripts/reload.js"></script>
diff --git a/non-puppet/qtmetrics2/templates/header.html b/non-puppet/qtmetrics2/templates/header.html
deleted file mode 100644
index ad4663c..0000000
--- a/non-puppet/qtmetrics2/templates/header.html
+++ /dev/null
@@ -1,151 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Header section of html page including the meta data and style sheets
- * @since 29-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-<!DOCTYPE html>
-<html lang="en">
-<head>
-<meta charset="utf-8">
-<meta http-equiv="X-UA-Compatible" content="IE=edge">
-<meta name="viewport" content="width=device-width, initial-scale=1">
-{# The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags #}
-<meta name="description" content="Qt Metrics">
-<meta name="author" content="jusippol">
-<link rel="icon" href="images/favicon.ico">
-
-<title>Qt Metrics</title>
-
-{# base directory for inclusions #}
-<base href={{ root }} />
-
-{# jQuery UI CSS #}
-<link rel="stylesheet" href="lib/jQuery-UI-themes/themes/smoothness/jquery-ui.min.css">
-
-{# Bootstrap core CSS #}
-<link rel="stylesheet" href="lib/Bootstrap/dist/css/bootstrap.min.css">
-
-{# Custom styles for the Bootstrap templates used #}
-<link rel="stylesheet" href="styles/bootstrap_custom.css">
-
-{# Own styles #}
-<link rel="stylesheet" href="styles/qtmetrics.css">
-<link rel="stylesheet" href="styles/qtmetrics_svg.css">
-
-{# HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries #}
-{#[if lt IE 9]>
-<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
-<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
-<![endif]#}
-</head>
-
-<body>
-<nav class="navbar navbar-inverse navbar-fixed-top">
-<div class="container">
-<div class="navbar-header">
-<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
-<span class="sr-only">Toggle navigation</span>
-<span class="icon-bar"></span>
-<span class="icon-bar"></span>
-<span class="icon-bar"></span>
-</button>
-
-<div>
-<a class="navbar-brand" href="">
-<span>
-<img src="images/Qt-logo-small.png" alt="Qt"> &nbsp; Qt Metrics
-</span>
-</a>
-<div id="link_loading" class="progress">
-<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">
-</div>
-</div>
-</div>
-</div> {# .navbar-header #}
-
-<div id="navbar" class="navbar-collapse collapse">
-<nav>
-<ul class="nav nav-pills pull-right">
-{# Indicate the database update status and possible refresh in progress #}
-{% if dbStatus.in_progress %}
-{% set statusIcon = 'glyphicon glyphicon-refresh green' %}
-{% if dbStatus.total <= 1 %}
-{% set statusText = 'Updating data (parsing logs) ...' %}
-{% else %}
-{% set statusText = 'Updating data (saving ' ~ dbStatus.current ~ '/' ~ dbStatus.total ~ ') ...' %}
-{% endif %}
-{% else %}
-{% set statusIcon = 'glyphicon glyphicon-dashboard green' %}
-{% set statusText = 'Last update on ' ~ dbStatus.refreshed ~ ' (GMT)' %}
-{% endif %}
-<li role="presentation" class="navbar-btn reload_page" title="{{ statusText }}">
-<a><span class="{{ statusIcon }}"></span></a>
-</li>
-<li role="presentation" class="navbar-btn"><a href="https://wiki.qt.io/Qt_Metrics_2_Description" target="_blank">doc</a></li>
-<li role="presentation" class="navbar-btn"><a href="sitemap">site map</a></li>
-<li role="presentation" class="navbar-btn"><a href="" data-toggle="modal" data-target="#aboutModal">about</a></li>
-<li role="presentation" class="navbar-btn"><a href="http://www.qt.io/" target="_blank">qt.io</a></li>
-</ul>
-</nav>
-</div> {# navbar #}
-
-</div> {# .container #}
-</nav>
-
-{# Modal for About #}
-<div class="modal fade" id="aboutModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
-<div class="modal-dialog">
-<div class="modal-content">
-<div class="modal-header">
-<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
-<h4 class="modal-title" id="myModalLabel">About</h4>
-</div>
-<div class="modal-body">
-<div id="about"></div>
-</div>
-<div class="modal-footer">
-<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
-</div>
-</div>
-</div>
-</div> {# .modal #}
-
-{# Open the content (closed in close.html) #}
-<div class="container">
diff --git a/non-puppet/qtmetrics2/templates/home.html b/non-puppet/qtmetrics2/templates/home.html
deleted file mode 100644
index 3da3fba..0000000
--- a/non-puppet/qtmetrics2/templates/home.html
+++ /dev/null
@@ -1,171 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Home page
- * @since 30-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{% include "header.html" %}
-
-<div class="jumbotron">
-<div class="container">
-<div class="col-md-9">
-<h1>Qt Metrics</h1>
-</div>
-<div class="col-md-3">
-<div class="well well-sm">
-<p>Data updated:</p>
-{{ refreshed }}
-</div>
-</div>
-</div>
-</div>
-
-<div class="row">
-
-<div class="col-md-1">
-</div>
-
-<div class="col-md-4">
-<hr>
-<h2>Overview</h2>
-<p>See the latest <strong>{{ masterProject }} {{ masterState }}</strong> status:</p>
-<div>
-<a class="btn btn-primary" href="{{ dashboardRoute }}" role="button">dashboard</a>
-<a class="btn btn-primary" href="{{ overviewRoute }}" role="button">overview</a>
-</div>
-</div>
-
-<div class="col-md-1">
-</div>
-
-<div class="col-md-4">
-<hr>
-<h2>Platforms</h2>
-<p>See target platform status:</p>
-<div>
-{% for platform in platforms %}
-<div class="btn-group">
-<a class="btn btn-primary" href="{{ platformRoute }}/{{ platform.os|url_encode }}" role="button">{{ platform.os }}</a>
-</div>
-{% endfor %}
-</div>
-</div> {# .col-md... #}
-
-</div> {# .row #}
-
-<div class="row">
-
-<div class="col-md-1">
-</div>
-
-<div class="col-md-4">
-<hr>
-<h2>Projects</h2>
-<p>See testset status for a project:</p>
-<div>
-<form class="form-horizontal" role="form" method="post">
-<div class="input-group">
-<input id="projectInput" name="projectInputValue" type="text" class="form-control" placeholder="project name...">
-<span class="input-group-btn">
-<input id="projectInputSubmit" name="projectInputSubmit" type="submit" class="btn btn-primary" value="Show">
-</span>
-</div>
-</form>
-</div>
-</div> {# .col-md... #}
-
-<div class="col-md-1">
-</div>
-
-<div class="col-md-4">
-<hr>
-<h2>Tests</h2>
-<p>See results for a testset:</p>
-<div>
-<form class="form-horizontal" role="form" method="post">
-<div class="input-group">
-<input id="testsetInput" name="testsetInputValue" type="text" class="form-control" placeholder="testset name...">
-<span class="input-group-btn">
-<input id="testsetInputSubmit" name="testsetInputSubmit" type="submit" class="btn btn-primary" value="Show">
-</span>
-</div>
-</form>
-</div>
-<br>
-<p>See top lists:</p>
-<div>
-<a class="btn btn-primary" href="{{ topRoute }}" role="button">testsets</a>
-<a class="btn btn-primary" href="{{ flakyRoute }}" role="button">flaky</a>
-<a class="btn btn-primary" href="{{ durationTestsetsRoute }}" role="button">duration</a>
-<a class="btn btn-primary" href="{{ topTestfunctionsRoute }}" role="button">test functions</a>
-</div>
-<br>
-<p>See blacklisted but passed tests:</p>
-<div>
-<a class="btn btn-primary" href="{{ bpassedTestfunctionsRoute }}" role="button">test functions</a>
-</div>
-</div> {# .col-md... #}
-
-</div> {# .row #}
-
-<div class="row">
-
-<div class="col-md-1">
-</div>
-
-<div class="col-md-4">
-<hr>
-</div>
-
-<div class="col-md-1">
-</div>
-
-<div class="col-md-4">
-<hr>
-</div>
-
-</div> {# .row #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-<script src="scripts/project_autocomplete.js"></script>
-<script src="scripts/testset_autocomplete.js"></script>
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/image.html b/non-puppet/qtmetrics2/templates/image.html
deleted file mode 100644
index bda5285..0000000
--- a/non-puppet/qtmetrics2/templates/image.html
+++ /dev/null
@@ -1,66 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Page with an image
- * @since 23-07-2015
- * @author Juha Sippola
- */
-
-#}
-
-{% include "header.html" %}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-<li class="active">{{navi_title}}</li>
-</ol>
-
-<div class="container">
-<div class="row">
-<div class="col-sm-12 col-md-12 main">
-<h1 class="page-header">{{ title }}</h1>
-<img src="{{ image }}" alt="{{ navi_title }}" class="img-responsive">
-</div>
-</div>
-</div>
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-{# (none) #}
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/overview.html b/non-puppet/qtmetrics2/templates/overview.html
deleted file mode 100644
index 1434408..0000000
--- a/non-puppet/qtmetrics2/templates/overview.html
+++ /dev/null
@@ -1,233 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Overview page
- * @since 03-08-2015
- * @author Juha Sippola
- */
-
-#}
-
-{% include "header.html" %}
-
-{# Failed/passed bar area size in px #}
-{% set BAR_AREA = 60 %}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-<li class="active">overview</li>
-</ol>
-
-<div class="container-fluid">
-<div class="row">
-
-<div class="col-sm-12 col-md-12 main">
-
-{##### Title #####}
-
-<h1 class="page-header">
-Overview
-<button type="button" class="btn btn-xs btn-info" data-toggle="collapse" data-target="#info" aria-expanded="false" aria-controls="info">
-<span class="glyphicon glyphicon-info-sign"></span>
-</button>
-<small>{{ refreshed }}</small>
-</h1>
-
-{##### Info well #####}
-
-<div class="collapse" id="info">
-<div class="well infoWell">
-<span class="glyphicon glyphicon-info-sign"></span> <strong>Overview</strong><br>
-<ul>
-<li><strong>Latest {{ masterProject }} {{ masterState }} Build Status</strong> shows
-the overall result of the latest <strong>{{ masterProject }} {{ masterState }}</strong>
-builds themselves by branch; details on the runs are available as tooltip on result icon.</li>
-<li><strong>Latest {{ masterProject }} {{ masterState }} Testing Status</strong> shows
-the status based on testset results in the latest <strong>{{ masterProject }}
-{{ masterState }}</strong> builds in any configuration by testset project across all branches.</li>
-</ul>
-</div>
-</div>
-
-{##### Latest Build Status #####}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Latest {{ masterProject }} {{ masterState }} Build Status</h4>
-</div>
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th class="rightBorder">project</th>
-{% for branch in latestProjectRuns %}
-<th class="center">{{ branch.name }}</th>
-{% endfor %}
-</tr>
-</thead>
-<tbody>
-<tr>
-{# Project name #}
-<td class="rightBorder"><a href="{{ buildProjectRoute }}">{{ masterProject }}</a></td>
-
-{# Result (by branch) #}
-{% for run in latestProjectRuns %}
-{% if run.result == constant('projectRun::RESULT_SUCCESS') %}
-{% set resultIcon = 'glyphicon glyphicon-ok green' %}
-{% elseif run.result == constant('projectRun::RESULT_FAILURE') %}
-{% set resultIcon = 'glyphicon glyphicon-remove red' %}
-{% else %}
-{% set resultIcon = 'glyphicon glyphicon-ban-circle gray' %}
-{% endif %}
-<td class="center">
-<span class="spaceHorizontal {{ resultIcon }} clickOnTouch" data-toggle="tooltip" data-placement="top" data-html="true"
-title="<table>
-<tr><th>Branch: </td><td>{{ run.name }}</td></tr>
-<tr><th>Build key: </td><td>{{ run.buildKey }}</td></tr>
-<tr><th>Timestamp: </td><td>{{ run.timestamp }}</td></tr>
-<tr><th>Result: </td><td>{{ run.result }}</td></tr>
-<tr><th>Duration: </td><td>{{ run.duration}}</td></tr></table>">
-</span></td>
-{% endfor %}
-</tr>
-
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
-
-{##### Latest Testing Status #####}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Latest {{ masterProject }} {{ masterState }} Testing Status</h4>
-</div>
-
-{# Get branches and projects #}
-{% set branches = [] %}
-{% set projects = [] %}
-{% for run in latestTestsetRuns %}
-{% if run.branch not in branches %}
-{% set branches = branches|merge([run.branch]) %}
-{% endif %}
-{% if run.project not in projects %}
-{% set projects = projects|merge([run.project]) %}
-{% endif %}
-{% endfor %}
-
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th class="rightBorder">testset project</th>
-{% for branch in branches %}
-<th class="center">{{ branch }}<br>
-<small>failed <span class ="gray">(total)</span></small>
-</th>
-<th class="showInLargeDisplay"></th>
-{% endfor %}
-</tr>
-</thead>
-<tbody>
-{# Calculate max failed result count for the bar #}
-{% set maxCount = 1 %}
-{% for run in latestTestsetRuns %}
-{% if run.failed > maxCount %}
-{% set maxCount = run.failed %}
-{% endif %}
-{% endfor %}
-
-{% for project in projects %}
-<tr>
-{# Project name #}
-<td class="rightBorder"><a href="{{ testsetProjectRoute }}/{{ project|url_encode }}">{{ project }}</a></td>
-
-{# Result (by branch) #}
-{% for branch in branches %}
-{% for run in latestTestsetRuns if project == run.project and branch == run.branch %}
-
-{# Show results #}
-{% set failed = run.failed %}
-{% set passed = run.passed %}
-{% set total = passed + failed %}
-<td class="center">{{ failed }}<span class ="gray"> ({{ total }})</span></td>
-
-{# Show results as bars (scaled to BAR_AREA px) #}
-{% set failedBar = ((BAR_AREA/maxCount) * failed)|round(0, 'floor') %}
-{% if (failed > 0) and (failedBar == 0) %}
-{% set failedBar = 1 %}
-{% endif %}
-{% if failed == 0 %}
-{% set failed = '' %}
-{% endif %}
-{% if (passed > 0) and (failed == 0) %}
-{% set passedBar = BAR_AREA %}
-{% else %}
-{% set passed = '' %}
-{% endif %}
-<td class="center showInLargeDisplay">
-<div>
-<div class="floatLeft redBackground" style="width: {{ failedBar }}px"><small>{{ failed }}</small></div>
-<div class="floatLeft greenBackground" style="width: {{ passedBar }}px"><small>{{ passed }}</small></div>
-</div>
-</td>
-{% else %}{# run #}
-<td></td>
-<td class="center showInLargeDisplay"></td>
-{% endfor %}{# run #}
-{% endfor %}{# branch #}
-</tr>
-{% endfor %}{# project #}
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
-
-</div> {# .col... #}
-</div> {# .row #}
-</div> {# .container-fluid #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-<script src="scripts/tooltip.js"></script>
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/testfunction.html b/non-puppet/qtmetrics2/templates/testfunction.html
deleted file mode 100644
index 1338d02..0000000
--- a/non-puppet/qtmetrics2/templates/testfunction.html
+++ /dev/null
@@ -1,299 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Test function page (list of test rows)
- * @since 24-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{% include "header.html" %}
-
-{# projectRuns as ProjectRun objects
-/**
- * @var ProjectRun[] projectRuns
- */
-#}
-
-{# testrowRuns as TestrowRun objects
-/**
- * @var TestrowRun[] testrowRuns
- */
-#}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-<li class="active">{{ testfunction }}</li>
-</ol>
-
-<div class="container-fluid">
-<div class="row">
-
-<div class="col-sm-12 col-md-12 main">
-
-{# Check if any runs available #}
-{% set runsAvailable = 0 %}
-{% for run in testrowRuns %}
-{% set runsAvailable = 1 %}
-{% endfor %}
-
-{##### Title #####}
-
-<h1 class="page-header">
-{{ testfunction }}
-<button type="button" class="btn btn-xs btn-info" data-toggle="collapse" data-target="#info" aria-expanded="false" aria-controls="info">
-<span class="glyphicon glyphicon-info-sign"></span>
-</button>
-<small>{{ refreshed }}</small>
-</h1>
-
-{##### Info well #####}
-
-<div class="collapse" id="info">
-<div class="well infoWell">
-<span class="glyphicon glyphicon-info-sign"></span> <strong>Test Function</strong><br>
-<ul>
-<li><strong>Test Row Results in Branches</strong> shows the {{ testfunction }} <strong>failed and skipped</strong> results in configuration
-{{ conf }} by branch on <strong>{{ masterProject }} {{ masterState }}</strong> builds
-<ul>
-<li>flags: <span class="label label-default">b</span> = blacklisted flag set for the test row on the latest build shown</li>
-<li>results: <span class="glyphicon glyphicon-remove red"></span> = {{ constant('TestrowRun::RESULT_FAILURE') }},
-<span class="glyphicon glyphicon-ok-sign red"></span> = {{ constant('TestrowRun::RESULT_SUCCESS_UNEXPECTED') }},
-<span class="glyphicon glyphicon-remove-sign green"></span> = {{ constant('TestrowRun::RESULT_FAILURE_EXPECTED') }},
-<span class="glyphicon glyphicon-ban-circle gray"></span> = {{ constant('TestrowRun::RESULT_SKIP') }},
-<span class="glyphicon glyphicon-ok green"></span> = {{ constant('TestrowRun::RESULT_SUCCESS') }} (blacklisted only)</li>
-</ul>
-</li>
-<li>Details on the runs are available as tooltip on result icon</li>
-</ul>
-</div>
-</div>
-
-{% if runsAvailable %}
-
-{##### Results in Branches #####}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Test Row Results in Branches <small>(failures, skipped or blacklisted only)</small></h4>
-</div>
-</div>
-
-{# Get branches #}
-{% set branches = [] %}
-{% for run in projectRuns %}
-{% if run.getBranchName not in branches %}
-{% set branches = branches|merge([run.getBranchName]) %}
-{% endif %}
-{% endfor %}
-
-{# Loop all the branches #}
-{% for branch in branches %}
-
-{# Get all build keys, dates and log links #}
-{% set buildKey = '' %}
-{% set buildKeys = [] %}
-{% set buildKeysShort = [] %}
-{% set dates = [] %}
-{% set buildLinks = [] %}
-{% for run in projectRuns %}
-{% if run.getBranchName == branch %}
-{% if buildKey != run.getBuildKey %}
-{% set buildKey = run.getBuildKey %}
-{% set buildKeys = buildKeys|merge([run.getBuildKey]) %}
-{% set buildKeysShort = buildKeysShort|merge([run.getShortBuildKey]) %}
-{% set dates = dates|merge([run.getTimestamp]) %}
-{% set testrowRunFound = 0 %}
-{% for testrowRun in testrowRuns if (testrowRun.getBranchName == branch) and (testrowRun.getBuildKey == buildKey) %}
-{% if not testrowRunFound %}
-{% set buildLinks = buildLinks|merge([testrowRun.getBuildLink]) %}
-{% endif %}
-{% set testrowRunFound = 1 %}
-{% endfor %}
-{% if not testrowRunFound %}
-{% set buildLinks = buildLinks|merge(['']) %}
-{% endif %}
-{% endif %}
-{% endif %}
-{% endfor %}
-
-{# Check if testrow run for this branch #}
-{% set testrowBranch = 0 %}
-{% for run in testrowRuns if run.getBranchName == branch %}
-{% set testrowBranch = 1 %}
-{% endfor %}
-
-{# Show branch if testrow run for it #}
-{% if testrowBranch %}
-<div class="panel panel-info">
-<div class="panel-heading">
-<h4 class="panel-title bold">{{ branch }}</h4>
-</div>
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th class="bold">test row</th>
-<th class="bold rightBorder">flags</th>
-{% for key, buildKey in buildKeys %}
-<th class="center">
-{% if buildLinks[key] != '' %}
-{% if buildKey == buildKeysShort[key] %}
-<a href="{{ buildLinks[key] }}" target="_blank">{{ buildKey }}</a><br>
-{% else %}
-<a href="{{ buildLinks[key] }}" target="_blank"><span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ buildKey }}">{{ buildKeysShort[key] }}</span></a><br>
-{% endif %}
-{% else %}
-{% if buildKey == buildKeysShort[key] %}
-{{ buildKey }}<br>
-{% else %}
-<span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ buildKey }}">{{ buildKeysShort[key] }}</span><br>
-{% endif %}
-{% endif %}
-<span class="gray"><small>{{ dates[key]|date("m-d") }}</small></span>
-</th>
-{% endfor %}
-</tr>
-</thead>
-<tbody>
-{% set testrowPrev = '' %}
-{% set buildKeyIndexPrinted = -1 %}
-{% set buildKeyFound = 0 %}
-{% for run in testrowRuns if run.getBranchName == branch %}
-
-{# New row for each testrow #}
-{% if testrowPrev != run.getName %}
-{# Close previous row #}
-{% if testrowPrev != '' %}
-{# Fill empty cells at the end of the row #}
-{% for key, buildKey in buildKeys %}
-{% if key > buildKeyIndexPrinted %}
-<td></td>
-{% endif %}
-{% endfor %}
-</tr>
-{% endif %}
-<tr>
-<td><small>
-{% if run.getName|length > constant('TestrowRun::SHORT_NAME_LENGTH') %}
-<span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ run.getName }}">{{ run.getShortName }}</span>
-{% else %}
-{{ run.getName }}
-{% endif %}
-</small></td>
-
-{# Flags for the latest build #}
-<td class="center rightBorder">
-{% if run.getBlacklisted %}
-<span class="label label-default">b</span>
-{% endif %}
-</td>
-{% set buildKeyIndexPrinted = -1 %}
-{% endif %}
-
-{# Result per build key #}
-{% set buildKeyFound = 0 %}
-{% for key, buildKey in buildKeys %}
-{# Print each column only once (checked based on column index key and buildKeyFound flag) #}
-{% if key > buildKeyIndexPrinted and not buildKeyFound %}
-{% if buildKey == run.getBuildKey %}
-{# Print result #}
-{% if run.getResult == constant('TestfunctionRun::RESULT_SUCCESS') %}
-{% set resultIcon = 'glyphicon glyphicon-ok green' %}
-{% elseif run.getResult == constant('TestfunctionRun::RESULT_FAILURE') %}
-{% set resultIcon = 'glyphicon glyphicon-remove red' %}
-{% elseif run.getResult == constant('TestfunctionRun::RESULT_FAILURE_EXPECTED') %}
-{% set resultIcon = 'glyphicon glyphicon-remove-sign green' %}
-{% elseif run.getResult == constant('TestfunctionRun::RESULT_SUCCESS_UNEXPECTED') %}
-{% set resultIcon = 'glyphicon glyphicon-ok-sign red' %}
-{% elseif run.getResult == constant('TestfunctionRun::RESULT_SKIP') %}
-{% set resultIcon = 'glyphicon glyphicon-ban-circle gray' %}
-{% else %}
-{% set resultIcon = '' %}
-{% endif %}
-<td class="center">
-<span class="spaceHorizontal {{ resultIcon }} clickOnTouch" data-toggle="tooltip" data-placement="top" data-html="true"
-title="<table>
-<tr><th>Build key: </th><td>{{ buildKey }}</td></tr>
-<tr><th>Configuration: </th><td>{{ run.getConfName }}</td></tr>
-<tr><th>Timestamp: </th><td>{{ run.getTimestamp }}</td></tr>
-<tr><th>Result: </th><td>{{ run.getResult }}</td></tr>
-<tr><th>Blacklisted: </th><td>{% if run.getBlacklisted %}yes{% else %}no{% endif %}</td></tr></table>">
-</span></td>
-{% set buildKeyFound = 1 %}
-{% else %}
-{# Print empty cell #}
-<td></td>
-{% endif %}
-{% set buildKeyIndexPrinted = key %}
-{% endif %}{# key #}
-{% endfor %}{# key #}
-{% set testrowPrev = run.getName %}
-{% endfor %}{# run #}
-
-{# Close last row (also fill empty cells at the end of the row) #}
-{% for key, buildKey in buildKeys %}
-{% if key > buildKeyIndexPrinted %}
-<td></td>
-{% endif %}
-{% endfor %}{# key #}
-</tr>
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
-{% endif %}{# testrowBranch #}
-{% endfor %}{# branch #}
-
-{% else %}{# runsAvailable #}
-<div class="alert alert-success" role="alert">
-No failed or skipped test rows in test function {{ testfunction }} in testset {{ testset }} in configuration {{ conf }}!
-</div>
-{% endif %}{# runsAvailable #}
-</div> {# .col... #}
-</div> {# .row #}
-</div> {# /container-fluid #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-<script src="scripts/tooltip.js"></script>
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/testfunctions_bpass.html b/non-puppet/qtmetrics2/templates/testfunctions_bpass.html
deleted file mode 100644
index 37f665c..0000000
--- a/non-puppet/qtmetrics2/templates/testfunctions_bpass.html
+++ /dev/null
@@ -1,119 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Blacklisted passes (testfunctions) page
- * @since 23-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{% include "header.html" %}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-<li class="active">blacklisted test function passes</li>
-</ol>
-
-<div class="container-fluid">
-<div class="row">
-
-<div class="col-sm-12 col-md-12 main">
-
-{##### Title #####}
-
-<h1 class="page-header">
-<span id="testset">{{ testset }}</span>
-<span id="project" class="hidden">{{ project }}</span>
-Blacklisted Test Function Passes
-<button type="button" class="btn btn-xs btn-info" data-toggle="collapse" data-target="#info" aria-expanded="false" aria-controls="info">
-<span class="glyphicon glyphicon-info-sign"></span>
-</button>
-<small>{{ refreshed }}</small>
-</h1>
-
-{##### Info well #####}
-
-<div class="collapse" id="info">
-<div class="well infoWell">
-<span class="glyphicon glyphicon-info-sign"></span> <strong>Test Function Blacklisted Passes</strong><br>
-<ul>
-<li>Lists the test functions in <strong>{{ masterProject }} {{ masterState }}</strong> builds where tagged
-as blacklisted but have not failed or skipped during the last {{ lastDays }} days.</li>
-<li>In these cases the blacklisted tag could maybe be removed in the CI so that the test function would be
-tested normally in the future builds.</li>
-<li><strong>Summary</strong> shows the count of test functions in each testset (any configuration or branch)
-with blacklisted passes</li>
-<li><strong>Blacklisted Passes</strong> shows the list of test functions with blacklisted passes by testset
-and configuration. The testset link opens a page where the test functions are listed by branch.</li>
-</ul>
-</div>
-</div>
-
-{##### List #####}
-
-<div id="testfunctions_blacklisted_passed_data">
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Blacklisted Passes <small>(last {{ lastDays }} days since {{ sinceDate }})</small></h4>
-</div>
-</div>
-<div class="progress data_loading">
-<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">
-</div>
-</div>
-{% if testset == '' %}
-<div class="alert alert-warning" role="alert">
-<span class="glyphicon glyphicon-time"></span> <strong>Please wait:</strong> Extracting the data will be ready in less than a minute!
-</div>
-<div class="alert alert-info" role="alert">
-<span class="glyphicon glyphicon-info-sign"></span> <strong>Tip:</strong> You can quickly check both the blacklisted test function passes and test row passes under each testset.
-</div>
-{% endif %}
-</div> {# testfunctions_blacklisted_passed_data #}
-
-</div> {# .col... #}
-</div> {# .row #}
-</div> {# .container-fluid #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-<script src="scripts/ajax.js"></script>
-<script src="scripts/tooltip.js"></script>
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/testfunctions_bpass_data.html b/non-puppet/qtmetrics2/templates/testfunctions_bpass_data.html
deleted file mode 100644
index 3fb0123..0000000
--- a/non-puppet/qtmetrics2/templates/testfunctions_bpass_data.html
+++ /dev/null
@@ -1,239 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Blacklisted passes (testfunctions or testrows) data
- * @since 23-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{# Failed/passed bar area size in px #}
-{% set BAR_AREA = 120 %}
-
-{# tests as Testfunction objects
-/**
- * @var Testfunction[] tests
- */
-#}
-{# tests as Testrow objects
-/**
- * @var Testrow[] tests
- */
-#}
-
-{# Calculate max result count for the bar #}
-{% set prevTestsetName = '' %}
-{% set prevProjectName = '' %}
-{% set testCount = 0 %}
-{% set maxCount = 1 %}
-{% for test in tests %}
-{% if (test.getTestsetName == prevTestsetName) and (test.getTestsetProjectName == prevProjectName) %}
-{% set testCount = testCount + 1 %}
-{% else %}
-{% if testCount > maxCount %}
-{% set maxCount = testCount %}
-{% endif %}
-{% set testCount = 1 %}
-{% endif %}
-{% set prevTestsetName = test.getTestsetName %}
-{% set prevProjectName = test.getTestsetProjectName %}
-{% endfor %}
-{% if testCount > maxCount %}
-{% set maxCount = testCount %}
-{% endif %}
-
-{##### Summary #####}
-
-{% if testCount > 0 %}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Summary <small>(last {{ lastDays }} days since {{ sinceDate }})</small></h4>
-</div>
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th>testset</th>
-<th>project</th>
-<th class="leftBorder center">count</th>
-<th class="showInLargeDisplay"></th>
-</tr>
-</thead>
-<tbody>
-
-{# Print testsets #}
-{% set prevTestsetName = '' %}
-{% set prevProjectName = '' %}
-{% set testCount = 0 %}
-{% set bar = 0 %}
-{% for test in tests %}
-
-{# First row #}
-{% if prevTestsetName == '' %}
-<tr>
-<td>{{ test.getTestsetName }}</td>
-<td>{{ test.getTestsetProjectName }}</td>
-{% set testCount = 1 %}
-
-{# Same testset: Increase the counter #}
-{% elseif (test.getTestsetName == prevTestsetName) and (test.getTestsetProjectName == prevProjectName) %}
-{% set testCount = testCount + 1 %}
-
-{# New testset: Print count for previous one and start new row #}
-{% else %}
-{% set bar = ((BAR_AREA/maxCount) * testCount)|round(0, 'floor') %}
-{% if (testCount > 0) and (bar == 0) %}
-{% set bar = 1 %}
-{% endif %}
-<td class="leftBorder center">{{ testCount }}</td>
-<td class="center showInLargeDisplay">
-<div>
-<div class="floatLeft blueBackground" style="width: {{ bar }}px">&nbsp;</div>
-</div>
-</td>
-</tr>
-<tr>
-<td>{{ test.getTestsetName }}</td>
-<td>{{ test.getTestsetProjectName }}</td>
-{% set testCount = 1 %}
-{% endif %}
-{% set prevTestsetName = test.getTestsetName %}
-{% set prevProjectName = test.getTestsetProjectName %}
-{% endfor %}{# test #}
-
-{# Print count for last one #}
-{% if testCount > 0 %}
-{% set bar = ((BAR_AREA/maxCount) * testCount)|round(0, 'floor') %}
-{% if (testCount > 0) and (bar == 0) %}
-{% set bar = 1 %}
-{% endif %}
-<td class="leftBorder center">{{ testCount }}</td>
-<td class="center showInLargeDisplay">
-<div>
-<div class="floatLeft blueBackground" style="width: {{ bar }}px">&nbsp;</div>
-</div>
-</td>
-
-</tr>
-{% endif %}
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
-
-{% endif %}{# testCount #}
-
-{##### List #####}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Blacklisted Passes <small>(last {{ lastDays }} days since {{ sinceDate }})</small></h4>
-</div>
-
-{% if testCount > 0 %}
-
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-{% if list == 'rows' %}
-<th>test row</th>
-{% endif %}
-<th>test function</th>
-<th>testset</th>
-<th class="showInLargeDisplay">project</th>
-<th class="showInLargeDisplay">configuration</th>
-</tr>
-</thead>
-<tbody>
-
-{# Print tests #}
-{% for test in tests %}
-<tr>
-{# Name #}
-{% if test.getName|length > constant('Testfunction::SHORT_NAME_LENGTH') %}
-<td><span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ test.getName }}">{{ test.getShortName }}</span></td>
-{% else %}
-<td>{{ test.getName }}</td>
-{% endif %}
-
-{# Testfunction name for a testrow (with a link to testfunction page) #}
-{% if list == 'rows' %}
-{% set link = testfunctionRoute ~ '/' ~ test.getTestfunctionName|url_encode ~ '/' ~ test.getTestsetName|url_encode ~ '/' ~ test.getTestsetProjectName|url_encode ~ '/' ~ test.getConfName|url_encode %}
-<td><a href="{{ link }}">
-{% if test.getTestfunctionName|length > constant('Testfunction::SHORT_NAME_LENGTH') %}
-<span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ test.getTestfunctionName }}">{{ test.getTestfunctionShortName }}</span>
-{% else %}
-{{ test.getTestfunctionName }}
-{% endif %}
-</a></td>
-{% endif %}
-
-{# Testset name (with a link to testset page for testfunctions list) #}
-{% if list == 'functions' %}
-{% set link = testsetRoute ~ '/' ~ test.getTestsetName|url_encode ~ '/' ~ test.getTestsetProjectName|url_encode ~ '/' ~ test.getConfName|url_encode %}
-<td><a href="{{ link }}">{{ test.getTestsetName }}</a></td>
-{% else %}
-<td>{{ test.getTestsetName }}</td>
-{% endif %}
-
-{# Project name #}
-<td class="showInLargeDisplay">{{ test.getTestsetProjectName }}</td>
-
-{# Conf name #}
-<td class="showInLargeDisplay">{{ test.getConfName }}</td>
-
-</tr>
-{% endfor %}{# test #}
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-
-{% endif %}{# testCount #}
-
-</div> {# .panel... #}
-
-{% if testCount == 0 %}
-<div class="alert alert-info" role="alert">
-The testset {{ testset }} ({{ project }}) either does not have any blacklisted test {{ list }},
-or there are failed or skipped blacklisted test {{ list }} since {{ sinceDate }}!
-</div>
-{% endif %}{# testCount #}
diff --git a/non-puppet/qtmetrics2/templates/testfunctions_duration.html b/non-puppet/qtmetrics2/templates/testfunctions_duration.html
deleted file mode 100644
index c09f7cd..0000000
--- a/non-puppet/qtmetrics2/templates/testfunctions_duration.html
+++ /dev/null
@@ -1,108 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Top duration (testsets) page
- * @since 24-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{% include "header.html" %}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-<li class="active">top test function duration</li>
-</ol>
-
-<div class="container-fluid">
-<div class="row">
-
-<div class="col-sm-12 col-md-12 main">
-
-{##### Title #####}
-
-<h1 class="page-header">
-<span id="testset">{{ testset }}</span>
-<span id="project" class="hidden">{{ project }}</span>
-Top Test Function Duration
-<button type="button" class="btn btn-xs btn-info" data-toggle="collapse" data-target="#info" aria-expanded="false" aria-controls="info">
-<span class="glyphicon glyphicon-info-sign"></span>
-</button>
-<small>{{ refreshed }}</small>
-</h1>
-
-{##### Info well #####}
-
-<div class="collapse" id="info">
-<div class="well infoWell">
-<span class="glyphicon glyphicon-info-sign"></span> <strong>Top Test Function Duration</strong><br>
-<ul>
-<li>Lists test functions for the testset {{ testset }} by their duration in
-<strong>{{ masterProject }} {{ masterState }}</strong> builds during the last {{ lastDays }} days.
-The list includes only the test function runs that took over {{ durationLimitSec }} seconds.</li>
-<li>Each test function is listed here only once showing the test run that took the longest time.
-All test function runs in different configurations across all branches can be seen on the linked
-testset page, where the differences between configurations and branches can be studied as well.</li>
-</ul>
-</div>
-</div>
-
-{##### List #####}
-
-<div id="testfunctions_duration">
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Last {{ lastDays }} days <small>(since {{ sinceDate }}, duration over {{ durationLimitSec }}s)</small></h4>
-</div>
-</div>
-<div class="progress data_loading">
-<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">
-</div>
-</div>
-</div> {# testfunctions_duration #}
-
-</div> {# .col... #}
-</div> {# .row #}
-</div> {# .container-fluid #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-<script src="scripts/ajax.js"></script>
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/testfunctions_top.html b/non-puppet/qtmetrics2/templates/testfunctions_top.html
deleted file mode 100644
index f82d3a6..0000000
--- a/non-puppet/qtmetrics2/templates/testfunctions_top.html
+++ /dev/null
@@ -1,106 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Top failures (testfunctions) page
- * @since 18-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{% include "header.html" %}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-<li class="active">top test function failures</li>
-</ol>
-
-<div class="container-fluid">
-<div class="row">
-
-<div class="col-sm-12 col-md-12 main">
-
-{##### Title #####}
-
-<h1 class="page-header">
-Top {{ topN }} Test Function Failures
-<button type="button" class="btn btn-xs btn-info" data-toggle="collapse" data-target="#info" aria-expanded="false" aria-controls="info">
-<span class="glyphicon glyphicon-info-sign"></span>
-</button>
-<small>{{ refreshed }}</small>
-</h1>
-
-{##### Info well #####}
-
-<div class="collapse" id="info">
-<div class="well infoWell">
-<span class="glyphicon glyphicon-info-sign"></span> <strong>Top Test Function Failures</strong><br>
-<ul>
-<li>Lists test functions by number of <strong>{{ masterProject }} {{ masterState }}</strong>
-builds where it failed during the last {{ lastDays }} days.</li>
-</ul>
-</div>
-</div>
-
-{##### Top list #####}
-
-<div id="testfunctions_top_data">
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Last {{ lastDays }} days <small>(since {{ sinceDate }})</small></h4>
-</div>
-</div>
-<div class="progress data_loading">
-<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">
-</div>
-</div>
-<div class="alert alert-warning" role="alert">
-<span class="glyphicon glyphicon-time"></span> <strong>Please wait:</strong> Extracting the data will be ready in less than a minute!
-</div>
-</div> {# testfunctions_top_data #}
-
-</div> {# .col... #}
-</div> {# .row #}
-</div> {# .container-fluid #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-<script src="scripts/ajax.js"></script>
-<script src="scripts/tooltip.js"></script>
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/testfunctions_top_data.html b/non-puppet/qtmetrics2/templates/testfunctions_top_data.html
deleted file mode 100644
index 647c4ab..0000000
--- a/non-puppet/qtmetrics2/templates/testfunctions_top_data.html
+++ /dev/null
@@ -1,130 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Top failures (testfunctions) data
- * @since 20-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{# Failed/passed bar area size in px #}
-{% set BAR_AREA = 120 %}
-
-{# testfunctions as Testfunction objects
-/**
- * @var Testfunction[] testfunctions
- */
-#}
-
-{##### Top list #####}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Last {{ lastDays }} days <small>(since {{ sinceDate }})</small></h4>
-</div>
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th>test function</th>
-<th>testset</th>
-<th class="showInLargeDisplay">project</th>
-<th class="leftBorder center">fail <span class ="gray">(total)</span></th>
-<th class="showInLargeDisplay"><small>
-<span class="redBackground paddingHorizontal">fail</span><span class="greenBackground paddingHorizontal">pass</span><span class="grayBackground paddingHorizontal">skip</span>
-</small></th>
-</tr>
-</thead>
-<tbody>
-{# Calculate max result count for the bar #}
-{% set maxCount = 1 %}
-{% for testfunction in testfunctions %}
-{% if (testfunction.getResultCounts.passed + testfunction.getResultCounts.failed + testfunction.getResultCounts.skipped) > maxCount %}
-{% set maxCount = testfunction.getResultCounts.passed + testfunction.getResultCounts.failed + testfunction.getResultCounts.skipped %}
-{% endif %}
-{% endfor %}
-
-{# Print testfunctions #}
-{% for testfunction in testfunctions %}
-<tr>
-{# Testfunction name #}
-{% if testfunction.getName|length > constant('Testfunction::SHORT_NAME_LENGTH') %}
-<td><span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ testfunction.getName }}">{{ testfunction.getShortName }}</span></td>
-{% else %}
-<td>{{ testfunction.getName }}</td>
-{% endif %}
-
-{# Testset name #}
-<td><a href="{{ testsetRoute }}/{{ testfunction.getTestsetName|url_encode }}/{{ testfunction.getTestsetProjectName|url_encode }}">{{ testfunction.getTestsetName }}</a></td>
-
-{# Project name #}
-<td class="showInLargeDisplay">{{ testfunction.getTestsetProjectName }}</td>
-
-{# Show results as numbers #}
-{% set failed = testfunction.getResultCounts.failed %}
-{% set passed = testfunction.getResultCounts.passed %}
-{% set skipped = testfunction.getResultCounts.skipped %}
-{% set total = passed + failed + skipped %}
-<td class="leftBorder center">{{ failed }}<span class ="gray"> ({{ total }})</span></td>
-
-{# Show results as bars (scaled to BAR_AREA px) #}
-{% set passedBar = ((BAR_AREA/maxCount) * passed)|round(0, 'floor') %}
-{% if (passed > 0) and (passedBar == 0) %}
-{% set passedBar = 1 %}
-{% endif %}
-{% set failedBar = ((BAR_AREA/maxCount)*failed)|round(0, 'floor') %}
-{% if (failed > 0) and (failedBar == 0) %}
-{% set failedBar = 1 %}
-{% endif %}
-{% set skippedBar = ((BAR_AREA/maxCount) * skipped)|round(0, 'floor') %}
-{% if (skipped > 0) and (skippedBar == 0) %}
-{% set skippedBar = 1 %}
-{% endif %}
-<td class="center showInLargeDisplay">
-<div>
-<div class="floatLeft redBackground" style="width: {{ failedBar }}px">&nbsp;</div>
-<div class="floatLeft greenBackground" style="width: {{ passedBar }}px">&nbsp;</div>
-<div class="floatLeft grayBackground" style="width: {{ skippedBar }}px">&nbsp;</div>
-</div>
-</td>
-</tr>
-{% endfor %}{# testfunction #}
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
diff --git a/non-puppet/qtmetrics2/templates/testrows_bpass.html b/non-puppet/qtmetrics2/templates/testrows_bpass.html
deleted file mode 100644
index 7dede8a..0000000
--- a/non-puppet/qtmetrics2/templates/testrows_bpass.html
+++ /dev/null
@@ -1,111 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Blacklisted passes (testrows) page
- * @since 23-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{% include "header.html" %}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-<li class="active">blacklisted test row passes</li>
-</ol>
-
-<div class="container-fluid">
-<div class="row">
-
-<div class="col-sm-12 col-md-12 main">
-
-{##### Title #####}
-
-<h1 class="page-header">
-<span id="testset">{{ testset }}</span>
-<span id="project" class="hidden">{{ project }}</span>
-Blacklisted Test Row Passes
-<button type="button" class="btn btn-xs btn-info" data-toggle="collapse" data-target="#info" aria-expanded="false" aria-controls="info">
-<span class="glyphicon glyphicon-info-sign"></span>
-</button>
-<small>{{ refreshed }}</small>
-</h1>
-
-{##### Info well #####}
-
-<div class="collapse" id="info">
-<div class="well infoWell">
-<span class="glyphicon glyphicon-info-sign"></span> <strong>Test Row Blacklisted Passes</strong><br>
-<ul>
-<li>Lists the test rows in <strong>{{ masterProject }} {{ masterState }}</strong> builds where tagged
-as blacklisted but have not failed or skipped during the last {{ lastDays }} days.</li>
-<li>In these cases the blacklisted tag could maybe be removed in the CI so that the test row would be
-tested normally in the future builds.</li>
-<li><strong>Summary</strong> shows the count of test rows in each testset (any configuration or branch)
-with blacklisted passes</li>
-<li><strong>Blacklisted Passes</strong> shows the list of test rows with blacklisted passes by testset
-and configuration. The testset link opens a page where the test rows are listed by branch.</li>
-</ul>
-</div>
-</div>
-
-{##### List #####}
-
-<div id="testrows_blacklisted_passed_data">
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Blacklisted Passes <small>(last {{ lastDays }} days since {{ sinceDate }})</small></h4>
-</div>
-</div>
-<div class="progress data_loading">
-<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">
-</div>
-</div>
-</div> {# testrows_blacklisted_passed_data #}
-
-</div> {# .col... #}
-</div> {# .row #}
-</div> {# .container-fluid #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-<script src="scripts/ajax.js"></script>
-<script src="scripts/tooltip.js"></script>
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/testset.html b/non-puppet/qtmetrics2/templates/testset.html
deleted file mode 100644
index 3cb54e6..0000000
--- a/non-puppet/qtmetrics2/templates/testset.html
+++ /dev/null
@@ -1,404 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Testset page (list of configurations)
- * @since 24-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{% include "header.html" %}
-
-{# Failed/passed bar area size in px #}
-{% set BAR_AREA = 120 %}
-
-{# testset as Testset object
-/**
- * @var Testset[] testsets
- */
-#}
-
-{# testsetRuns as TestsetRun objects
-/**
- * @var TestsetRun[] testsetRuns
- */
-#}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-<li class="active">{{ testset.getName }}</li>
-</ol>
-
-<div class="container-fluid">
-<div class="row">
-
-<div class="col-sm-12 col-md-12 main">
-
-{# Check if any runs available #}
-{% set runsAvailable = 0 %}
-{% for run in testsetRuns %}
-{% set runsAvailable = 1 %}
-{% endfor %}
-
-{##### Title #####}
-
-<h1 class="page-header">
-{{ testset.getName }}
-<button type="button" class="btn btn-xs btn-info" data-toggle="collapse" data-target="#info" aria-expanded="false" aria-controls="info">
-<span class="glyphicon glyphicon-info-sign"></span>
-</button>
-<small>{{ refreshed }}</small>
-</h1>
-
-{##### Info well #####}
-
-<div class="collapse" id="info">
-<div class="well infoWell">
-<span class="glyphicon glyphicon-info-sign"></span> <strong>Testset</strong><br>
-<ul>
-<li><strong>Buttons</strong> open a detailed list for the {{ testset.getName }} testset</li>
-<li><strong>Latest Status</strong> shows the overall testset status across all branches
-<ul>
-<li>latest result: overall testset status based on the latest
-<strong>{{ masterProject }} {{ masterState }}</strong> builds
-(shows failed if failed in one or in several)</li>
-<li>failed: number of <strong>{{ masterProject }} {{ masterState }}</strong>
-builds where {{ testset.getName }} failed during the last {{ lastDaysFailures }} days
-(since {{ sinceDateFailures }})</li>
-<li>flaky: number of <strong>all</strong> builds where {{ testset.getName }} failed
-on the first run but, when rerun, it passed (during the last {{ lastDaysFlaky }} days,
-since {{ sinceDateFlaky }})</li>
-</ul>
-</li>
-<li><strong>Results in Branches</strong> shows the {{ testset.getName }} run results by branch
-and their configuration on <strong>{{ masterProject }} {{ masterState }}</strong> builds
-<ul>
-<li>flags: <span class="label label-default">i</span> = insignificant flag set for the testset on the latest build of the configuration</li>
-<li>results: <span class="glyphicon glyphicon-ok green"></span> = {{ constant('TestsetRun::RESULT_SUCCESS') }},
-<span class="glyphicon glyphicon-ok-sign green"></span> = {{ constant('TestsetRun::RESULT_SUCCESS') }} as flaky,
-<span class="glyphicon glyphicon-remove red"></span> = {{ constant('TestsetRun::RESULT_FAILURE') }}</li>
-</ul>
-</li>
-<li>Details on the runs are available as tooltip on result icon</li>
-</ul>
-</div>
-</div>
-
-{##### Buttons #####}
-
-<div>
-<div class="btn-group">
-{% set link = bpassedTestsetRoute ~ '/' ~ testset.getName|url_encode ~ '/' ~ testset.getProjectName|url_encode %}
-<a class="btn btn-primary btn-xs" href="{{ link }}" role="button"><span class="badge">test functions</span><br>blacklisted passes</a>
-</div>
-<div class="btn-group">
-{% set link = bpassedtestsetTestrowsRoute ~ '/' ~ testset.getName|url_encode ~ '/' ~ testset.getProjectName|url_encode %}
-<a class="btn btn-primary btn-xs" href="{{ link }}" role="button"><span class="badge">test rows</span><br>blacklisted passes</a>
-</div>
-<div class="btn-group">
-{% set link = durationTestfunctionsRoute ~ '/' ~ testset.getName|url_encode ~ '/' ~ testset.getProjectName|url_encode %}
-<a class="btn btn-primary btn-xs" href="{{ link }}" role="button"><span class="badge">test functions</span><br>duration</a>
-</div>
-</div>
-<hr>
-
-{% if runsAvailable %}
-
-{##### Latest Status #####}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Latest Status</h4>
-</div>
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th>project</th>
-<th>latest result</th>
-<th class="leftBorder center"><span class="spaceHorizontal glyphicon glyphicon-remove red"></span>failed <span class ="gray">(total)</span></th>
-<th class="showInLargeDisplay"></th>
-<th class="leftBorder center"><span class="spaceHorizontal glyphicon glyphicon-ok-sign green"></span>flaky <span class ="gray">(total)</span></th>
-<th class="showInLargeDisplay"></th>
-</tr>
-</thead>
-<tbody>
-{# Calculate max result count for the bar #}
-{% set maxCount = 1 %}
-{% if (testset.getTestsetResultCounts.passed + testset.getTestsetResultCounts.failed) > maxCount %}
-{% set maxCount = testset.getTestsetResultCounts.passed + testset.getTestsetResultCounts.failed %}
-{% endif %}
-{% if testset.getTestsetFlakyCounts.flaky > maxCount %}
-{% set maxCount = testset.getTestsetFlakyCounts.flaky %}
-{% endif %}
-
-{# Print summary #}
-<tr>
-{# Project name #}
-<td><a href="{{ testsetProjectRoute }}/{{ testset.getProjectName|url_encode }}">{{ testset.getProjectName }}</a></td>
-
-{# Testset status according to the latest build results #}
-{% if testset.getStatus == constant('TestsetRun::RESULT_SUCCESS') %}
-{% set resultIcon = 'glyphicon glyphicon-ok green' %}
-{% elseif testset.getStatus == constant('TestsetRun::RESULT_FAILURE') %}
-{% set resultIcon = 'glyphicon glyphicon-remove red' %}
-{% else %}
-{% set resultIcon = '' %}
-{% endif %}
-<td><span class="spaceHorizontal {{ resultIcon }}"></span>{{ testset.getStatus }}</td>
-
-{# Show failed #}
-{% set failed = testset.getTestsetResultCounts.failed %}
-{% set passed = testset.getTestsetResultCounts.passed %}
-{% set total = passed + failed %}
-<td class="leftBorder center">{{ failed }}<span class ="gray"> ({{ total }})</span></td>
-{# Show results as bars (scaled to BAR_AREA px) #}
-{% set passedBar = ((BAR_AREA/maxCount) * passed)|round(0, 'floor') %}
-{% if (passed > 0) and (passedBar == 0) %}
-{% set passedBar = 1 %}
-{% endif %}
-{% set failedBar = ((BAR_AREA/maxCount)*failed)|round(0, 'floor') %}
-{% if (failed > 0) and (failedBar == 0) %}
-{% set failedBar = 1 %}
-{% endif %}
-<td class="center showInLargeDisplay">
-<div>
-<div class="floatLeft redBackground" style="width: {{ failedBar }}px"><small>{{ failed }}</small></div>
-<div class="floatLeft greenBackground" style="width: {{ passedBar }}px"><small>{{ passed }}</small></div>
-</div>
-</td>
-
-{# Show flaky #}
-{% set flaky = testset.getTestsetFlakyCounts.flaky %}
-{% set total = testset.getTestsetFlakyCounts.total %}
-<td class="leftBorder center">{{ flaky }}<span class ="gray"> ({{ total }})</span></td>
-{# Show results as bars (scaled to BAR_AREA px) #}
-{% set flakyBar = ((BAR_AREA/maxCount)*flaky)|round(0, 'floor') %}
-{% if (flaky > 0) and (flakyBar == 0) %}
-{% set flakyBar = 1 %}
-{% endif %}
-<td class="center showInLargeDisplay">
-{% if flaky > 0 %}
-<div>
-<div class="floatLeft redBackground" style="width: {{ flakyBar }}px"><small>{{ flaky }}</small></div>
-</div>
-{% endif %}
-</td>
-</tr>
-
-</tbody>
-</table>
-</div> {# /table-responsive #}
-</div> {# /panel-body #}
-</div> {# /panel... #}
-
-{##### Results in Branches #####}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Results in Branches</h4>
-</div>
-</div>
-
-{# Get branches #}
-{% set branches = [] %}
-{% for run in projectRuns %}
-{% if run.getBranchName not in branches %}
-{% set branches = branches|merge([run.getBranchName]) %}
-{% endif %}
-{% endfor %}
-
-{# Loop all the branches #}
-{% for branch in branches %}
-
-{# Get all build keys, dates and log links #}
-{% set buildKey = '' %}
-{% set buildKeys = [] %}
-{% set buildKeysShort = [] %}
-{% set dates = [] %}
-{% for run in projectRuns %}
-{% if run.getBranchName == branch %}
-{% if buildKey != run.getBuildKey %}
-{% set buildKey = run.getBuildKey %}
-{% set buildKeys = buildKeys|merge([run.getBuildKey]) %}
-{% set buildKeysShort = buildKeysShort|merge([run.getShortBuildKey]) %}
-{% set dates = dates|merge([run.getTimestamp]) %}
-{% endif %}
-{% endif %}
-{% endfor %}
-
-{# Check if testset run for this branch #}
-{% set testsetBranch = 0 %}
-{% for run in testsetRuns if run.getBranchName == branch %}
-{% set testsetBranch = 1 %}
-{% endfor %}
-
-{# Show branch if testset run for it #}
-{% if testsetBranch %}
-<div class="panel panel-info">
-<div class="panel-heading">
-<h4 class="panel-title bold">{{ branch }}</h4>
-</div>
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th class="bold">configuration</th>
-<th class="bold rightBorder">flags</th>
-{% for key, buildKey in buildKeys %}
-<th class="center">
-{% if buildKey == buildKeysShort[key] %}
-{{ buildKey }}<br>
-{% else %}
-<span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ buildKey }}">{{ buildKeysShort[key] }}</span><br>
-{% endif %}
-<span class="gray"><small>{{ dates[key]|date("m-d") }}</small></span>
-</th>
-{% endfor %}
-</tr>
-</thead>
-<tbody>
-{% set confPrev = '' %}
-{% set buildKeyIndexPrinted = -1 %}
-{% set buildKeyFound = 0 %}
-{% for run in testsetRuns if run.getBranchName == branch %}
-
-{# New row for each conf #}
-{% if confPrev != run.getConfName %}
-{# Close previous row #}
-{% if confPrev != '' %}
-{# Fill empty cells at the end of the row #}
-{% for key, buildKey in buildKeys %}
-{% if key > buildKeyIndexPrinted %}
-<td></td>
-{% endif %}
-{% endfor %}
-</tr>
-{% endif %}
-<tr>
-{% set link = testsetTestfunctionsRoute ~ '/' ~ run.getName|url_encode ~ '/' ~ run.getTestsetProjectName|url_encode ~ '/' ~ run.getConfName|url_encode %}
-<td class="rightBorder"><a href="{{ link }}"><small>{{ run.getConfName }}</small></a></td>
-{# Flags for the latest build #}
-<td class="center rightBorder">
-{% if run.getInsignificant %}
-<span class="label label-default">i</span>
-{% endif %}
-</td>
-{% set buildKeyIndexPrinted = -1 %}
-{% endif %}
-
-{# Result per build key #}
-{% set buildKeyFound = 0 %}
-{% for key, buildKey in buildKeys %}
-{# Print each column only once (checked based on column index key and buildKeyFound flag) #}
-{% if key > buildKeyIndexPrinted and not buildKeyFound %}
-{% if buildKey == run.getBuildKey %}
-{# Print result #}
-{% set flaky = '' %}
-{% if run.getResult == constant('TestsetRun::RESULT_SUCCESS') %}
-{% if run.getRun == 1 %}
-{% set resultIcon = 'glyphicon glyphicon-ok green' %}
-{% else %}
-{# Flaky #}
-{% set resultIcon = 'glyphicon glyphicon-ok-sign green' %}
-{% set flaky = ' (on run ' ~ run.getRun ~ ' as flaky)' %}
-{% endif %}
-{% elseif run.getResult == constant('TestsetRun::RESULT_FAILURE') %}
-{% set resultIcon = 'glyphicon glyphicon-remove red' %}
-{% else %}
-{% set resultIcon = '' %}
-{% endif %}
-{% if run.getDuration > 60 %}
-{% set durationFormatted = ' (00:' ~ (run.getDuration|round)|date("i:s") ~ ')' %}
-{% else %}
-{% set durationFormatted = '' %}
-{% endif %}
-<td class="center">
-<span class="spaceHorizontal {{ resultIcon }} clickOnTouch" data-toggle="tooltip" data-placement="top" data-html="true"
-title="<table>
-<tr><th>Build key: </th><td>{{ buildKey }}</td></tr>
-<tr><th>Configuration: </th><td>{{ run.getConfName }}</td></tr>
-<tr><th>Timestamp: </th><td>{{ run.getTimestamp }}</td></tr>
-<tr><th>Result: </th><td>{{ run.getResult }} {{ flaky }}</td></tr>
-<tr><th>Duration: </th><td>{{ run.getDuration }} s {{ durationFormatted }}</td></tr>
-<tr><th>Run #: </th><td>{{ run.getRun }}</td></tr>
-<tr><th>Insignificant: </th><td>{% if run.getInsignificant %}yes{% else %}no{% endif %}</td></tr></table>">
-</span></td>
-{% set buildKeyFound = 1 %}
-{% else %}
-{# Print empty cell #}
-<td></td>
-{% endif %}
-{% set buildKeyIndexPrinted = key %}
-{% endif %}{# key #}
-{% endfor %}{# key #}
-{% set confPrev = run.getConfName %}
-{% endfor %}{# run #}
-
-{# Close last row (also fill empty cells at the end of the row) #}
-{% for key, buildKey in buildKeys %}
-{% if key > buildKeyIndexPrinted %}
-<td></td>
-{% endif %}
-{% endfor %}{# key #}
-</tr>
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
-{% endif %}{# testsetBranch #}
-{% endfor %}{# branch #}
-
-{% else %}{# runsAvailable #}
-<div class="alert alert-danger" role="alert">
-No test result data available for testset {{ testset.getName }} in project {{ testset.getProjectName }}!
-</div>
-{% endif %}{# runsAvailable #}
-</div> {# .col... #}
-</div> {# .row #}
-</div> {# /container-fluid #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-<script src="scripts/tooltip.js"></script>
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/testset_project.html b/non-puppet/qtmetrics2/templates/testset_project.html
deleted file mode 100644
index 276852b..0000000
--- a/non-puppet/qtmetrics2/templates/testset_project.html
+++ /dev/null
@@ -1,124 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Testset project page
- * @since 05-08-2015
- * @author Juha Sippola
- */
-
-#}
-
-{% include "header.html" %}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-<li class="active">{{ project }}</li>
-</ol>
-
-<div class="container-fluid">
-<div class="row">
-
-<div class="col-sm-12 col-md-12 main">
-
-{##### Title #####}
-
-<h1 class="page-header">
-<span id="project">{{ project }}</span>
-<button type="button" class="btn btn-xs btn-info" data-toggle="collapse" data-target="#info" aria-expanded="false" aria-controls="info">
-<span class="glyphicon glyphicon-info-sign"></span>
-</button>
-<small>{{ refreshed }}</small>
-</h1>
-
-{##### Info well #####}
-
-<div class="collapse" id="info">
-<div class="well infoWell">
-<span class="glyphicon glyphicon-info-sign"></span> <strong>Testset project</strong><br>
-<ul>
-<li><strong>Latest Status</strong> shows the status based on the results of {{ project }}
-testsets in the latest <strong>{{ masterProject }} {{ masterState }}</strong> builds
-in any configuration across all branches.</li>
-<li><strong>Results in Branches</strong> shows the results of {{ project }} testsets by branch
-and their configuration in <strong>{{ masterProject }} {{ masterState }}</strong> builds
-<ul>
-<li>log file: <span class="glyphicon glyphicon-file blue"></span> = link to {{ masterProject }} {{ masterState }} build log file</li>
-<li>results: <button type="button" class="btn btn-xs btn-success" disabled="disabled"><span class="badge">n</span></button> = all n testsets passed,
-<button type="button" class="btn btn-xs btn-danger"><span class="badge">n</span></button> = n testsets failed</li>
-</ul>
-</ul>
-</div>
-</div>
-
-{##### Latest Status #####}
-
-<div id="testset_project_data_latest">
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Latest Status</h4>
-</div>
-</div>
-<div class="progress data_loading">
-<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">
-</div>
-</div>
-</div> {# testset_project_data_latest #}
-
-{##### Results in Branches #####}
-
-<div id="testset_project_data_results">
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Results in Branches</h4>
-</div>
-</div>
-<div class="progress data_loading">
-<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">
-</div>
-</div>
-</div> {# testset_project_data_results #}
-
-</div> {# .col... #}
-</div> {# .row #}
-</div> {# .container-fluid #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-<script src="scripts/ajax.js"></script>
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/testset_project_data_latest.html b/non-puppet/qtmetrics2/templates/testset_project_data_latest.html
deleted file mode 100644
index 26d8535..0000000
--- a/non-puppet/qtmetrics2/templates/testset_project_data_latest.html
+++ /dev/null
@@ -1,136 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Testset project latest data
- * @since 04-08-2015
- * @author Juha Sippola
- */
-
-#}
-
-{# Failed/passed bar area size in px #}
-{% set BAR_AREA = 60 %}
-
-{# Check if any runs available #}
-{% set runsAvailable = 0 %}
-{% for run in latestTestsetRuns %}
-{% set runsAvailable = 1 %}
-{% endfor %}
-
-{% if runsAvailable %}
-
-{##### Latest Status #####}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Latest Status</h4>
-</div>
-
-{# Get branches #}
-{% set branches = [] %}
-{% for run in latestTestsetRuns %}
-{% if run.branch not in branches %}
-{% set branches = branches|merge([run.branch]) %}
-{% endif %}
-{% endfor %}
-
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th class="rightBorder">testset project</th>
-{% for branch in branches %}
-<th class="center">{{ branch }}<br>
-<small>failed <span class ="gray">(total)</span></small>
-</th>
-<th class="showInLargeDisplay"></th>
-{% endfor %}
-</tr>
-</thead>
-<tbody>
-{# Calculate max failed result count for the bar #}
-{% set maxCount = 1 %}
-{% for run in latestTestsetRuns %}
-{% if run.failed > maxCount %}
-{% set maxCount = run.failed %}
-{% endif %}
-{% endfor %}
-
-<tr>
-{# Project name #}
-<td class="rightBorder">{{ project }}</td>
-
-{# Result (by branch) #}
-{% for branch in branches %}
-{% for run in latestTestsetRuns if project == run.project and branch == run.branch %}
-
-{# Show results #}
-{% set failed = run.failed %}
-{% set passed = run.passed %}
-{% set total = passed + failed %}
-<td class="center">{{ failed }}<span class ="gray"> ({{ total }})</span></td>
-
-{# Show results as bars (scaled to BAR_AREA px) #}
-{% set failedBar = ((BAR_AREA/maxCount) * failed)|round(0, 'floor') %}
-{% if (failed > 0) and (failedBar == 0) %}
-{% set failedBar = 1 %}
-{% endif %}
-{% if failed == 0 %}
-{% set failed = '' %}
-{% endif %}
-{% if (passed > 0) and (failed == 0) %}
-{% set passedBar = BAR_AREA %}
-{% else %}
-{% set passed = '' %}
-{% endif %}
-<td class="center showInLargeDisplay">
-<div>
-<div class="floatLeft redBackground" style="width: {{ failedBar }}px">{{ failed }}</div>
-<div class="floatLeft greenBackground" style="width: {{ passedBar }}px">{{ passed }}</div>
-</div>
-</td>
-{% else %}{# for #}
-<td></td>
-{% endfor %}
-{% endfor %}
-</tr>
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
-
-{% endif %}{# runsAvailable #}
diff --git a/non-puppet/qtmetrics2/templates/testset_project_data_results.html b/non-puppet/qtmetrics2/templates/testset_project_data_results.html
deleted file mode 100644
index b3fca37..0000000
--- a/non-puppet/qtmetrics2/templates/testset_project_data_results.html
+++ /dev/null
@@ -1,192 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Testset project results data
- * @since 17-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{# Check if any runs available #}
-{% set runsAvailable = 0 %}
-{% for run in confBuilds %}
-{% set runsAvailable = 1 %}
-{% endfor %}
-
-{% if runsAvailable %}
-
-{##### Results in Branches #####}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Results in Branches</h4>
-</div>
-</div>
-
-{# Get branches #}
-{% set branches = [] %}
-{% for run in projectRuns %}
-{% if run.getBranchName not in branches %}
-{% set branches = branches|merge([run.getBranchName]) %}
-{% endif %}
-{% endfor %}
-
-{# Loop all the branches #}
-{% for branch in branches %}
-
-{# Get all build keys, dates and log links #}
-{% set buildKey = '' %}
-{% set buildKeys = [] %}
-{% set buildKeysShort = [] %}
-{% set dates = [] %}
-{% set logLinks = [] %}
-{% set buildLinks = [] %}
-{% for run in projectRuns %}
-{% if run.getBranchName == branch %}
-{% if buildKey != run.getBuildKey %}
-{% set buildKey = run.getBuildKey %}
-{% set buildKeys = buildKeys|merge([run.getBuildKey]) %}
-{% set buildKeysShort = buildKeysShort|merge([run.getShortBuildKey]) %}
-{% set dates = dates|merge([run.getTimestamp]) %}
-{% set logLinks = logLinks|merge([run.getLogLink]) %}
-{% set buildLinks = buildLinks|merge([run.getBuildLink]) %}
-{% endif %}
-{% endif %}
-{% endfor %}
-
-{# Check if testsets run for this branch #}
-{% set testsetBranch = 0 %}
-{% for run in confBuilds if run.branch == branch %}
-{% set testsetBranch = 1 %}
-{% endfor %}
-
-{# Show branch if testsets run for it #}
-{% if testsetBranch %}
-<div class="panel panel-info">
-<div class="panel-heading">
-<h4 class="panel-title bold">{{ branch }}</h4>
-</div>
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th class="bold rightBorder">configuration</th>
-{% for key, buildKey in buildKeys %}
-<th class="center">
-{% if buildKey == buildKeysShort[key] %}
-<a href="{{ buildLinks[key] }}" target="_blank">{{ buildKey }}</a><br>
-{% else %}
-<a href="{{ buildLinks[key] }}" target="_blank"><span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ buildKey }}">{{ buildKeysShort[key] }}</span></a><br>
-{% endif %}
-<span class="gray"><small>{{ dates[key]|date("m-d") }}</small></span><br>
-<a href="{{ logLinks[key] }}" target="_blank"><span class="glyphicon glyphicon-file"></span></a>
-</th>
-{% endfor %}
-</tr>
-</thead>
-<tbody>
-{% set confPrev = '' %}
-{% set buildKeyIndexPrinted = -1 %}
-{% set buildKeyFound = 0 %}
-{% for run in confBuilds if run.branch == branch %}
-
-{# New row for each conf #}
-{% if confPrev != run.conf %}
-{# Close previous row #}
-{% if confPrev != '' %}
-{# Fill empty cells at the end of the row #}
-{% for key, buildKey in buildKeys %}
-{% if key > buildKeyIndexPrinted %}
-<td></td>
-{% endif %}
-{% endfor %}
-</tr>
-{% endif %}
-<tr>
-{% set link = confRoute ~ '/' ~ run.conf|url_encode ~ '/' ~ project|url_encode %}
-<td class="rightBorder"><a href="{{ link }}"><small>{{ run.conf }}</small></a></td>
-{% set buildKeyIndexPrinted = -1 %}
-{% endif %}
-
-{# Result per build key #}
-{% set buildKeyFound = 0 %}
-{% for key, buildKey in buildKeys %}
-{# Print each column only once (checked based on column index key and buildKeyFound flag) #}
-{% if key > buildKeyIndexPrinted and not buildKeyFound %}
-{% if buildKey == run.buildKey %}
-{# Print results #}
-<td class="center">
-{% if (run.failed + run.ifailed) > 0 %}
-<button type="button" class="btn btn-xs btn-danger clickOnTouch" data-toggle="tooltip" data-placement="top" data-html="true"
-title="{{ run.failed + run.ifailed }} failed out of {{ run.failed + run.ifailed + run.passed + run.ipassed }}">
-<span class="badge"><small>{{ run.failed + run.ifailed }}</small></span></button>
-{% elseif (run.passed + run.ipassed) > 0 %}
-<button type="button" class="btn btn-xs btn-success" disabled="disabled">
-<span class="badge"><small>{{ run.passed + run.ipassed }}</small></span></button>
-{% endif %}
-</td>
-{% set buildKeyFound = 1 %}
-{% else %}
-{# Print empty cell #}
-<td></td>
-{% endif %}
-{% set buildKeyIndexPrinted = key %}
-{% endif %}
-{% endfor %}
-{% set confPrev = run.conf %}
-{% endfor %}
-
-{# Close last row (also fill empty cells at the end of the row) #}
-{% for key, buildKey in buildKeys %}
-{% if key > buildKeyIndexPrinted %}
-<td></td>
-{% endif %}
-{% endfor %}
-</tr>
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
-{% endif %}{# testsetBranch #}
-{% endfor %}{# branch #}
-
-{% else %}{# runsAvailable #}
-<div class="alert alert-danger" role="alert">
-No test result data available for project {{ project }}!
-</div>
-{% endif %}{# runsAvailable #}
diff --git a/non-puppet/qtmetrics2/templates/testset_testfunctions.html b/non-puppet/qtmetrics2/templates/testset_testfunctions.html
deleted file mode 100644
index d5c2d44..0000000
--- a/non-puppet/qtmetrics2/templates/testset_testfunctions.html
+++ /dev/null
@@ -1,324 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Testset page (list of test functions)
- * @since 24-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{% include "header.html" %}
-
-{# testset as Testset object
-/**
- * @var Testset[] testset
- */
-#}
-
-{# projectRuns as ProjectRun objects
-/**
- * @var ProjectRun[] projectRuns
- */
-#}
-
-{# testfunctionRuns as TestfunctionRun objects
-/**
- * @var TestfunctionRun[] testfunctionRuns
- */
-#}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-<li class="active">{{ testset.getName }}</li>
-</ol>
-
-<div class="container-fluid">
-<div class="row">
-
-<div class="col-sm-12 col-md-12 main">
-
-{# Check if any runs available #}
-{% set runsAvailable = 0 %}
-{% for run in testfunctionRuns %}
-{% set runsAvailable = 1 %}
-{% endfor %}
-
-{##### Title #####}
-
-<h1 class="page-header">
-{{ testset.getName }}
-<button type="button" class="btn btn-xs btn-info" data-toggle="collapse" data-target="#info" aria-expanded="false" aria-controls="info">
-<span class="glyphicon glyphicon-info-sign"></span>
-</button>
-<small>{{ refreshed }}</small>
-</h1>
-
-{##### Info well #####}
-
-<div class="collapse" id="info">
-<div class="well infoWell">
-<span class="glyphicon glyphicon-info-sign"></span> <strong>Testset</strong><br>
-<ul>
-<li><strong>Test Function Results in Branches</strong> shows the {{ testset.getName }} <strong>failed and skipped</strong> results in configuration
-{{ conf }} by branch on <strong>{{ masterProject }} {{ masterState }}</strong> builds
-<ul>
-<li>test function name has link to list of test rows if test rows are available</li>
-<li>flags: <span class="label label-default">b</span> = blacklisted flag set for the test function on the latest build shown</li>
-<li>results: <span class="glyphicon glyphicon-remove red"></span> = {{ constant('TestfunctionRun::RESULT_FAILURE') }},
-<span class="glyphicon glyphicon-ok-sign red"></span> = {{ constant('TestfunctionRun::RESULT_SUCCESS_UNEXPECTED') }},
-<span class="glyphicon glyphicon-remove-sign green"></span> = {{ constant('TestfunctionRun::RESULT_FAILURE_EXPECTED') }},
-<span class="glyphicon glyphicon-ban-circle gray"></span> = {{ constant('TestfunctionRun::RESULT_SKIP') }},
-<span class="glyphicon glyphicon-ok green"></span> = {{ constant('TestfunctionRun::RESULT_SUCCESS') }} (blacklisted only)</li>
-</ul>
-</li>
-<li>Details on the runs are available as tooltip on result icon</li>
-</ul>
-</div>
-</div>
-
-{% if runsAvailable %}
-
-{##### Results in Branches #####}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Test Function Results in Branches <small>(failures, skipped or blacklisted only)</small></h4>
-</div>
-</div>
-
-{# Get branches #}
-{% set branches = [] %}
-{% for run in projectRuns %}
-{% if run.getBranchName not in branches %}
-{% set branches = branches|merge([run.getBranchName]) %}
-{% endif %}
-{% endfor %}
-
-{# Loop all the branches #}
-{% for branch in branches %}
-
-{# Get all build keys, dates and log links #}
-{% set buildKey = '' %}
-{% set buildKeys = [] %}
-{% set buildKeysShort = [] %}
-{% set dates = [] %}
-{% set buildLinks = [] %}
-{% for run in projectRuns %}
-{% if run.getBranchName == branch %}
-{% if buildKey != run.getBuildKey %}
-{% set buildKey = run.getBuildKey %}
-{% set buildKeys = buildKeys|merge([run.getBuildKey]) %}
-{% set buildKeysShort = buildKeysShort|merge([run.getShortBuildKey]) %}
-{% set dates = dates|merge([run.getTimestamp]) %}
-{% set testfunctionRunFound = 0 %}
-{% for testfunctionRun in testfunctionRuns if (testfunctionRun.getBranchName == branch) and (testfunctionRun.getBuildKey == buildKey) %}
-{% if not testfunctionRunFound %}
-{% set buildLinks = buildLinks|merge([testfunctionRun.getBuildLink]) %}
-{% endif %}
-{% set testfunctionRunFound = 1 %}
-{% endfor %}
-{% if not testfunctionRunFound %}
-{% set buildLinks = buildLinks|merge(['']) %}
-{% endif %}
-{% endif %}
-{% endif %}
-{% endfor %}
-
-{# Check if testfunction run for this branch #}
-{% set testfunctionBranch = 0 %}
-{% for run in testfunctionRuns if run.getBranchName == branch %}
-{% set testfunctionBranch = 1 %}
-{% endfor %}
-
-{# Show branch if testfunction run for it #}
-{% if testfunctionBranch %}
-<div class="panel panel-info">
-<div class="panel-heading">
-<h4 class="panel-title bold">{{ branch }}</h4>
-</div>
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th class="bold">test function</th>
-<th class="bold rightBorder">flags</th>
-{% for key, buildKey in buildKeys %}
-<th class="center">
-{% if buildLinks[key] != '' %}
-{% if buildKey == buildKeysShort[key] %}
-<a href="{{ buildLinks[key] }}" target="_blank">{{ buildKey }}</a><br>
-{% else %}
-<a href="{{ buildLinks[key] }}" target="_blank"><span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ buildKey }}">{{ buildKeysShort[key] }}</span></a><br>
-{% endif %}
-{% else %}
-{% if buildKey == buildKeysShort[key] %}
-{{ buildKey }}<br>
-{% else %}
-<span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ buildKey }}">{{ buildKeysShort[key] }}</span><br>
-{% endif %}
-{% endif %}
-<span class="gray"><small>{{ dates[key]|date("m-d") }}</small></span>
-</th>
-{% endfor %}
-</tr>
-</thead>
-<tbody>
-{% set testfunctionPrev = '' %}
-{% set buildKeyIndexPrinted = -1 %}
-{% set buildKeyFound = 0 %}
-{% for run in testfunctionRuns if run.getBranchName == branch %}
-
-{# New row for each testfunction #}
-{% if testfunctionPrev != run.getName %}
-{# Close previous row #}
-{% if testfunctionPrev != '' %}
-{# Fill empty cells at the end of the row #}
-{% for key, buildKey in buildKeys %}
-{% if key > buildKeyIndexPrinted %}
-<td></td>
-{% endif %}
-{% endfor %}
-</tr>
-{% endif %}
-<tr>
-<td><small>
-{% if run.getChildren %}
-{% set link = testfunctionRoute ~ '/' ~ run.getName|url_encode ~ '/' ~ testset.getName|url_encode ~ '/' ~ testset.getProjectName|url_encode ~ '/' ~ run.getConfName|url_encode %}
-<a href="{{ link }}">
-{% endif %}
-{% if run.getName|length > constant('TestfunctionRun::SHORT_NAME_LENGTH') %}
-<span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ run.getName }}">{{ run.getShortName }}</span>
-{% else %}
-{{ run.getName }}
-{% endif %}
-{% if run.getChildren %}
-</a>
-{% endif %}
-</small></td>
-
-{# Flags for the latest build #}
-<td class="center rightBorder">
-{% if run.getBlacklisted %}
-<span class="label label-default">b</span>
-{% endif %}
-</td>
-{% set buildKeyIndexPrinted = -1 %}
-{% endif %}
-
-{# Result per build key #}
-{% set buildKeyFound = 0 %}
-{% for key, buildKey in buildKeys %}
-{# Print each column only once (checked based on column index key and buildKeyFound flag) #}
-{% if key > buildKeyIndexPrinted and not buildKeyFound %}
-{% if buildKey == run.getBuildKey %}
-{# Print result #}
-{% if run.getResult == constant('TestfunctionRun::RESULT_SUCCESS') %}
-{% set resultIcon = 'glyphicon glyphicon-ok green' %}
-{% elseif run.getResult == constant('TestfunctionRun::RESULT_FAILURE') %}
-{% set resultIcon = 'glyphicon glyphicon-remove red' %}
-{% elseif run.getResult == constant('TestfunctionRun::RESULT_FAILURE_EXPECTED') %}
-{% set resultIcon = 'glyphicon glyphicon-remove-sign green' %}
-{% elseif run.getResult == constant('TestfunctionRun::RESULT_SUCCESS_UNEXPECTED') %}
-{% set resultIcon = 'glyphicon glyphicon-ok-sign red' %}
-{% elseif run.getResult == constant('TestfunctionRun::RESULT_SKIP') %}
-{% set resultIcon = 'glyphicon glyphicon-ban-circle gray' %}
-{% else %}
-{% set resultIcon = '' %}
-{% endif %}
-{% if run.getDuration > 60 %}
-{% set durationFormatted = ' (00:' ~ (run.getDuration|round)|date("i:s") ~ ')' %}
-{% else %}
-{% set durationFormatted = '' %}
-{% endif %}
-{% if run.getChildren %}
-{% set testrowResult = '(in test rows)' %}
-{% else %}
-{% set testrowResult = '' %}
-{% endif %}
-<td class="center">
-<span class="spaceHorizontal {{ resultIcon }} clickOnTouch" data-toggle="tooltip" data-placement="top" data-html="true"
-title="<table>
-<tr><th>Build key: </th><td>{{ buildKey }}</td></tr>
-<tr><th>Configuration: </th><td>{{ run.getConfName }}</td></tr>
-<tr><th>Timestamp: </th><td>{{ run.getTimestamp }}</td></tr>
-<tr><th>Result: </th><td>{{ run.getResult }} {{ testrowResult }}</td></tr>
-<tr><th>Duration: </th><td>{{ run.getDuration }} s {{ durationFormatted }}</td></tr>
-<tr><th>Blacklisted: </th><td>{% if run.getBlacklisted %}yes{% else %}no{% endif %}</td></tr></table>">
-</span></td>
-{% set buildKeyFound = 1 %}
-{% else %}
-{# Print empty cell #}
-<td></td>
-{% endif %}
-{% set buildKeyIndexPrinted = key %}
-{% endif %}{# key #}
-{% endfor %}{# key #}
-{% set testfunctionPrev = run.getName %}
-{% endfor %}{# run #}
-
-{# Close last row (also fill empty cells at the end of the row) #}
-{% for key, buildKey in buildKeys %}
-{% if key > buildKeyIndexPrinted %}
-<td></td>
-{% endif %}
-{% endfor %}{# key #}
-</tr>
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
-{% endif %}{# testfunctionBranch #}
-{% endfor %}{# branch #}
-
-{% else %}{# runsAvailable #}
-<div class="alert alert-success" role="alert">
-No failed or skipped test functions in testset {{ testset.getName }} in project {{ testset.getProjectName }} and configuration {{ conf }}!
-</div>
-{% endif %}{# runsAvailable #}
-</div> {# .col... #}
-</div> {# .row #}
-</div> {# /container-fluid #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-<script src="scripts/tooltip.js"></script>
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/testsets_duration.html b/non-puppet/qtmetrics2/templates/testsets_duration.html
deleted file mode 100644
index 8fd953a..0000000
--- a/non-puppet/qtmetrics2/templates/testsets_duration.html
+++ /dev/null
@@ -1,110 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Top duration (testsets) page
- * @since 24-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{% include "header.html" %}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-<li class="active">top testset duration</li>
-</ol>
-
-<div class="container-fluid">
-<div class="row">
-
-<div class="col-sm-12 col-md-12 main">
-
-{##### Title #####}
-
-<h1 class="page-header">
-Top Testset Duration
-<button type="button" class="btn btn-xs btn-info" data-toggle="collapse" data-target="#info" aria-expanded="false" aria-controls="info">
-<span class="glyphicon glyphicon-info-sign"></span>
-</button>
-<small>{{ refreshed }}</small>
-</h1>
-
-{##### Info well #####}
-
-<div class="collapse" id="info">
-<div class="well infoWell">
-<span class="glyphicon glyphicon-info-sign"></span> <strong>Top Testset Duration</strong><br>
-<ul>
-<li>Lists testsets by their duration in <strong>{{ masterProject }} {{ masterState }}</strong>
-builds during the last {{ lastDays }} days. The list includes only the testset runs that took
-over {{ durationLimitSec }} seconds.</li>
-<li>Each testset is listed here only once showing the test run that took the longest time.
-All testset runs in different configurations across all branches can be seen on the linked
-testset page in order to check the differences between configurations and branches, as well
-as to show the test function duration list.</li>
-</ul>
-</div>
-</div>
-
-{##### List #####}
-
-<div id="testsets_duration">
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Last {{ lastDays }} days <small>(since {{ sinceDate }}, duration over {{ durationLimitSec }}s)</small></h4>
-</div>
-</div>
-<div class="progress data_loading">
-<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">
-</div>
-</div>
-<div class="alert alert-warning" role="alert">
-<span class="glyphicon glyphicon-time"></span> <strong>Please wait:</strong> Extracting the data will be ready in less than a minute!
-</div>
-</div> {# testsets_duration #}
-
-</div> {# .col... #}
-</div> {# .row #}
-</div> {# .container-fluid #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-<script src="scripts/ajax.js"></script>
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/testsets_duration_data.html b/non-puppet/qtmetrics2/templates/testsets_duration_data.html
deleted file mode 100644
index 59497d9..0000000
--- a/non-puppet/qtmetrics2/templates/testsets_duration_data.html
+++ /dev/null
@@ -1,183 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Top duration (testsets and testfunctions) data
- * @since 24-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{# Failed/passed bar area size in px #}
-{% set BAR_AREA = 120 %}
-
-{# runs as TestsetRun objects
-/**
- * @var TestsetRun[] runs
- */
-#}
-{# runs as TestfunctionRun objects
-/**
- * @var TestfunctionRun[] runs
- */
-#}
-
-{##### List #####}
-
-{# Calculate max duration for the bar #}
-{% set runCount = 0 %}
-{% set maxDuration = 1 %}
-{% for run in runs %}
-{% set runCount = runCount + 1 %}
-{% if run.getDuration > maxDuration %}
-{% set maxDuration = run.getDuration %}
-{% endif %}
-{% endfor %}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Last {{ lastDays }} days <small>(since {{ sinceDate }}, duration over {{ durationLimitSec }}s)</small></h4>
-</div>
-
-{% if runCount > 0 %}
-
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-{% if list == 'testsets' %}
-<th>testset</th>
-{% else %}
-<th>test function</th>
-{% endif %}
-<th class="leftBorder center">duration</th>
-<th class="showInLargeDisplay"></th>
-<th class="leftBorder">build information</th>
-</tr>
-</thead>
-<tbody>
-
-{# Print testsets #}
-{% for run in runs %}
-<tr>
-{# Testset and project name#}
-{% if list == 'testsets' %}
-{% set link = testsetRoute ~ '/' ~ run.getName|url_encode ~ '/' ~ run.getTestsetProjectName|url_encode %}
-<td><a href="{{ link }}">
-{% if run.getName|length > constant('TestsetRun::SHORT_NAME_LENGTH') %}
-<span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ run.getName }}">{{ run.getShortName }}</span>
-{% else %}
-{{ run.getShortName }}
-{% endif %}
-</a><br>in {{ run.getTestsetProjectName }}</td>
-
-{# Testfunction name #}
-{% else %}
-<td>
-{% if run.getName|length > constant('TestsetRun::SHORT_NAME_LENGTH') %}
-<span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ run.getName }}">{{ run.getShortName }}</span>
-{% else %}
-{{ run.getShortName }}
-{% endif %}
-</td>
-{% endif %}
-
-{# Duration #}
-{% if run.getDuration > 60 %}
-{% set durationFormatted = ' (00:' ~ (run.getDuration|round)|date("i:s") ~ ')' %}
-{% else %}
-{% set durationFormatted = '' %}
-{% endif %}
-<td class="leftBorder center">{{ run.getDuration }}s<br>{{ durationFormatted }}</td>
-
-{# Show results as bars (scaled to BAR_AREA px) #}
-{% set bar = ((BAR_AREA/maxDuration) * run.getDuration)|round(0, 'floor') %}
-{% if (run.getDuration > 0) and (bar == 0) %}
-{% set bar = 1 %}
-{% endif %}
-<td class="center showInLargeDisplay">
-<div>
-<div class="floatLeft blueBackground" style="width: {{ bar }}px">&nbsp;</div>
-</div>
-</td>
-{# Build info #}
-{% if run.getResult == constant('testsetRun::RESULT_SUCCESS') %}
-{% set resultIcon = 'glyphicon glyphicon-ok green' %}
-{% elseif run.getResult == constant('testsetRun::RESULT_FAILURE') %}
-{% set resultIcon = 'glyphicon glyphicon-remove red' %}
-{% elseif run.getResult == constant('TestfunctionRun::RESULT_SUCCESS') %}
-{% set resultIcon = 'glyphicon glyphicon-ok green' %}
-{% elseif run.getResult == constant('TestfunctionRun::RESULT_FAILURE') %}
-{% set resultIcon = 'glyphicon glyphicon-remove red' %}
-{% elseif run.getResult == constant('TestfunctionRun::RESULT_FAILURE_EXPECTED') %}
-{% set resultIcon = 'glyphicon glyphicon-remove-sign green' %}
-{% elseif run.getResult == constant('TestfunctionRun::RESULT_SUCCESS_UNEXPECTED') %}
-{% set resultIcon = 'glyphicon glyphicon-ok-sign red' %}
-{% elseif run.getResult == constant('TestfunctionRun::RESULT_SKIP') %}
-{% set resultIcon = 'glyphicon glyphicon-ban-circle gray' %}
-{% else %}
-{% set resultIcon = '' %}
-{% endif %}
-{% if list == 'testsets' %}
-{% set resultTitle = 'testset result: ' ~ run.getResult %}
-{% else %}
-{% set resultTitle = 'test function result: ' ~ run.getResult %}
-{% endif %}
-<td class="leftBorder"><small>
-<span class="clickOnTouch" data-toggle="tooltip" data-placement="top" title="{{ resultTitle }}"><span class="{{ resultIcon }}"></span></span>
-<a href="{{ run.getBuildLink }}" target="_blank"><span class="spaceHorizontal glyphicon glyphicon-folder-open"></span></a>
-{{ run.getBranchName }} build on {{ run.getTimestamp }}
-<br>{{ run.getConfName }}</small></td>
-</tr>
-{% endfor %}{# run #}
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-
-{% endif %}{# runCount #}
-</div> {# .panel... #}
-
-{% if runCount == 0 %}
-<div class="alert alert-info" role="alert">
-{% if list == 'testsets' %}
-There are not any testsets with duration less than {{ durationLimitSec }}s since {{ sinceDate }}!
-{% else %}
-The testset {{ testset }} ({{ project }}) either does not have any {{ list }},
-or the duration of all {{ list }} since {{ sinceDate }} is less than {{ durationLimitSec }}s!
-{% endif %}
-</div>
-{% endif %}{# runCount #}
diff --git a/non-puppet/qtmetrics2/templates/testsets_flaky.html b/non-puppet/qtmetrics2/templates/testsets_flaky.html
deleted file mode 100644
index bcd338e..0000000
--- a/non-puppet/qtmetrics2/templates/testsets_flaky.html
+++ /dev/null
@@ -1,103 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Flaky testsets page
- * @since 05-08-2015
- * @author Juha Sippola
- */
-
-#}
-
-{% include "header.html" %}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-<li class="active">flaky testsets</li>
-</ol>
-
-<div class="container-fluid">
-<div class="row">
-
-<div class="col-sm-12 col-md-12 main">
-
-{##### Title #####}
-
-<h1 class="page-header">
-Top {{ topN }} Flaky Testsets
-<button type="button" class="btn btn-xs btn-info" data-toggle="collapse" data-target="#info" aria-expanded="false" aria-controls="info">
-<span class="glyphicon glyphicon-info-sign"></span>
-</button>
-<small>{{ refreshed }}</small>
-</h1>
-
-{##### Info well #####}
-
-<div class="collapse" id="info">
-<div class="well infoWell">
-<span class="glyphicon glyphicon-info-sign"></span> <strong>Flaky testsets</strong><br>
-<ul>
-<li>Flaky testsets are those that fail on the first run but, when rerun, they pass.</li>
-<li><strong>flaky</strong> count shows the number of <strong>all</strong> builds where
-the testset is flaky (during the last {{ lastDays }} days).</li>
-</ul>
-</div>
-</div>
-
-{##### Flaky list #####}
-
-<div id="flaky_testsets_data">
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Last {{ lastDays }} days <small>(since {{ sinceDate }})</small></h4>
-</div>
-</div>
-<div class="progress data_loading">
-<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">
-</div>
-</div>
-</div> {# flaky_testsets_data #}
-
-</div> {# .col... #}
-</div> {# .row #}
-</div> {# .container-fluid #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-<script src="scripts/ajax.js"></script>
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/testsets_flaky_data.html b/non-puppet/qtmetrics2/templates/testsets_flaky_data.html
deleted file mode 100644
index 3a8a25a..0000000
--- a/non-puppet/qtmetrics2/templates/testsets_flaky_data.html
+++ /dev/null
@@ -1,107 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Flaky testsets data
- * @since 20-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{# Failed/passed bar area size in px #}
-{% set BAR_AREA = 120 %}
-
-{# testsets as Testset objects
-/**
- * @var Testset[] testsets
- */
-#}
-
-{##### Flaky list #####}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Last {{ lastDays }} days <small>(since {{ sinceDate }})</small></h4>
-</div>
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th>testset</th>
-<th>project</th>
-<th class="leftBorder center">flaky <span class ="gray">(total)</span></th>
-<th class="showInLargeDisplay"><small><span class="redBackground paddingHorizontal">flaky</span></small></th>
-</thead>
-<tbody>
-{# Calculate max result count for the bar #}
-{% set maxCount = 1 %}
-{% for testset in testsets %}
-{% if testset.getTestsetFlakyCounts.flaky > maxCount %}
-{% set maxCount = testset.getTestsetFlakyCounts.flaky %}
-{% endif %}
-{% endfor %}
-
-{# Print testsets #}
-{% for testset in testsets %}
-<tr>
-{# Testset name #}
-<td><a href="{{ testsetRoute }}/{{ testset.getName|url_encode }}/{{ testset.getProjectName|url_encode }}">{{ testset.getName }}</a></td>
-
-{# Project name #}
-<td>{{ testset.getProjectName }}</td>
-
-{# Show results as numbers #}
-{% set flaky = testset.getTestsetFlakyCounts.flaky %}
-{% set total = testset.getTestsetFlakyCounts.total %}
-<td class="leftBorder center">{{ flaky }}<span class ="gray"> ({{ total }})</span></td>
-
-{# Show results as bars (scaled to BAR_AREA px) #}
-{% set flakyBar = ((BAR_AREA/maxCount)*flaky)|round(0, 'floor') %}
-{% if (flaky > 0) and (flakyBar == 0) %}
-{% set flakyBar = 1 %}
-{% endif %}
-<td class="center showInLargeDisplay">
-<div>
-<div class="floatLeft redBackground" style="width: {{ flakyBar }}px">&nbsp;</div>
-</div>
-</td>
-</tr>
-{% endfor %}{# testset #}
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
diff --git a/non-puppet/qtmetrics2/templates/testsets_top.html b/non-puppet/qtmetrics2/templates/testsets_top.html
deleted file mode 100644
index 568f434..0000000
--- a/non-puppet/qtmetrics2/templates/testsets_top.html
+++ /dev/null
@@ -1,105 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Top failures (testsets) page
- * @since 05-08-2015
- * @author Juha Sippola
- */
-
-#}
-
-{% include "header.html" %}
-
-<ol class="breadcrumb">
-{% for link in breadcrumb %}
-<li><a href="{{ link.link }}">{{ link.name }}</a></li>
-{% endfor %}
-<li class="active">top failures</li>
-</ol>
-
-<div class="container-fluid">
-<div class="row">
-
-<div class="col-sm-12 col-md-12 main">
-
-{##### Title #####}
-
-<h1 class="page-header">
-Top {{ topN }} Failures
-<button type="button" class="btn btn-xs btn-info" data-toggle="collapse" data-target="#info" aria-expanded="false" aria-controls="info">
-<span class="glyphicon glyphicon-info-sign"></span>
-</button>
-<small>{{ refreshed }}</small>
-</h1>
-
-{##### Info well #####}
-
-<div class="collapse" id="info">
-<div class="well infoWell">
-<span class="glyphicon glyphicon-info-sign"></span> <strong>Top failures</strong><br>
-<ul>
-<li>Lists testsets by number of <strong>{{ masterProject }} {{ masterState }}</strong>
-builds where it failed during the last {{ lastDays }} days.</li>
-<li><strong>latest result</strong> shows the overall testset status based on the latest
-<strong>{{ masterProject }} {{ masterState }}</strong> builds across all branches
-(shows failed if failed in one or in several).</li>
-</ul>
-</div>
-</div>
-
-{##### Top list #####}
-
-<div id="testsets_top_data">
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Last {{ lastDays }} days <small>(since {{ sinceDate }})</small></h4>
-</div>
-</div>
-<div class="progress data_loading">
-<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">
-</div>
-</div>
-</div> {# testsets_top_data #}
-
-</div> {# .col... #}
-</div> {# .row #}
-</div> {# .container-fluid #}
-
-{% include "footer.html" %}
-
-{# Local scripts for this page #}
-<script src="scripts/ajax.js"></script>
-
-{% include "close.html" %}
diff --git a/non-puppet/qtmetrics2/templates/testsets_top_data.html b/non-puppet/qtmetrics2/templates/testsets_top_data.html
deleted file mode 100644
index 4c19546..0000000
--- a/non-puppet/qtmetrics2/templates/testsets_top_data.html
+++ /dev/null
@@ -1,127 +0,0 @@
-{#
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Top failures (testsets) data
- * @since 20-09-2015
- * @author Juha Sippola
- */
-
-#}
-
-{# Failed/passed bar area size in px #}
-{% set BAR_AREA = 120 %}
-
-{# testsets as Testset objects
-/**
- * @var Testset[] testsets
- */
-#}
-
-{##### Top list #####}
-
-<div class="panel panel-primary">
-<div class="panel-heading">
-<h4 class="panel-title bold">Last {{ lastDays }} days <small>(since {{ sinceDate }})</small></h4>
-</div>
-<div class="panel-body">
-<div class="table-responsive">
-<table class="table table-striped">
-<thead>
-<tr>
-<th>testset</th>
-<th class="showInLargeDisplay">project</th>
-<th>latest result</th>
-<th class="leftBorder center">failed <span class ="gray">(total)</span></th>
-<th class="showInLargeDisplay">
-<small><span class="redBackground paddingHorizontal">failed</span><span class="greenBackground paddingHorizontal">passed</span></small>
-</th>
-</tr>
-</thead>
-<tbody>
-{# Calculate max result count for the bar #}
-{% set maxCount = 1 %}
-{% for testset in testsets %}
-{% if (testset.getTestsetResultCounts.passed + testset.getTestsetResultCounts.failed) > maxCount %}
-{% set maxCount = testset.getTestsetResultCounts.passed + testset.getTestsetResultCounts.failed %}
-{% endif %}
-{% endfor %}
-
-{# Print testsets #}
-{% for testset in testsets %}
-<tr>
-{# Testset name #}
-<td><a href="{{ testsetRoute }}/{{ testset.getName|url_encode }}/{{ testset.getProjectName|url_encode }}">{{ testset.getName }}</a></td>
-
-{# Project name #}
-<td class="showInLargeDisplay">{{ testset.getProjectName }}</td>
-
-{# Testset status according to the latest build results #}
-{% if testset.getStatus == constant('testsetRun::RESULT_SUCCESS') %}
-{% set resultIcon = 'glyphicon glyphicon-ok green' %}
-{% elseif testset.getStatus == constant('testsetRun::RESULT_FAILURE') %}
-{% set resultIcon = 'glyphicon glyphicon-remove red' %}
-{% else %}
-{% set resultIcon = '' %}
-{% endif %}
-<td><span class="spaceHorizontal {{ resultIcon }}"></span>{{ testset.getStatus }}</td>
-
-{# Show results as numbers #}
-{% set failed = testset.getTestsetResultCounts.failed %}
-{% set passed = testset.getTestsetResultCounts.passed %}
-{% set total = passed + failed %}
-<td class="leftBorder center">{{ failed }}<span class ="gray"> ({{ total }})</span></td>
-
-{# Show results as bars (scaled to BAR_AREA px) #}
-{% set passedBar = ((BAR_AREA/maxCount) * passed)|round(0, 'floor') %}
-{% if (passed > 0) and (passedBar == 0) %}
-{% set passedBar = 1 %}
-{% endif %}
-{% set failedBar = ((BAR_AREA/maxCount)*failed)|round(0, 'floor') %}
-{% if (failed > 0) and (failedBar == 0) %}
-{% set failedBar = 1 %}
-{% endif %}
-<td class="center showInLargeDisplay">
-<div>
-<div class="floatLeft redBackground" style="width: {{ failedBar }}px">&nbsp;</div>
-<div class="floatLeft greenBackground" style="width: {{ passedBar }}px">&nbsp;</div>
-</div>
-</td>
-</tr>
-{% endfor %}{# testset #}
-</tbody>
-</table>
-</div> {# .table-responsive #}
-</div> {# .panel-body #}
-</div> {# .panel... #}
diff --git a/non-puppet/qtmetrics2/testparser.pl b/non-puppet/qtmetrics2/testparser.pl
deleted file mode 100644
index 899811a..0000000
--- a/non-puppet/qtmetrics2/testparser.pl
+++ /dev/null
@@ -1,2177 +0,0 @@
-#!/usr/bin/env perl
-#############################################################################
-##
-## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Metrics web portal.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-=head1 NAME
-
-testparser.pl - Qt CI system, Gather metrics from build logs to SQL database
-
-=head1 SYNOPSIS
-
-$ ./testparser.pl -method <single|full> workdir [-delete ] [-verbose] [-infomsg] [-sqloutput <file>] [-reload] [-skiptestrowpass] [-limit <DATE>]
-
-Scan through logs for one or several builds in one go.
-
-=head2 OPTIONS
-
-=over
-
-=item -method <method>
-
-Method used in scanning the directories
-See L<METHOD> for more information.
-
-=item -delete
-
-Deletes the old database tables before inserting new data.
-
-=item workdir
-
-Directory from which the scan will initiate. This can vary from the top level
-directory to the build specific directory, depending on the method of scan.
-See L<METHOD> for more information.
-
-=item -verbose
-
-Prints a lot more information of what the script does.
-
-=item -infomsg
-
-Prints the INFO messages in addition to the ERROR and WARNING messages which
-are printed by default.
-
-=item -sqloutput <file>
-
-Define a file into which table injection commands are written to.
-This requires -verbose to be used as well or nothing will be printed
-to the file.
-
-=item -reload
-
-Possible to use when using 'single' as L<METHOD>. Reloads information
-for given build into database by removing the old data matching
-the project and project number currently read.
-
-=item -skiptestrowpass
-
-Testrow_run result "pass" will not be saved into the database.
-This will reduce the testrow_run table size because over 99% of the results
-are "pass". This will also speed up the testparser run a bit.
-
-=item -limit <DATE>
-
-Possible to use when using 'full' as L<METHOD>. Skips folders that
-have time stamps older than given date. Enter the date in format: "YYYYMMDD".
-
-=back
-
-=head1 METHOD
-
-The method parameter tells the script how you wish to scan the logs.
-The script provides three different ways of working:
-
-=over
-
-=item B<SINGLE> (default)
-
-With SINGLE the script scans through one given build directory and
-adds the results to the SQL database. Therefore the path given as the
-workdir must be pointed directly to the build folder itself.
-E.g. C</var/results/Qt5_stable_Integration/build_00404>
-
-=item B<FULL>
-
-With FULL the script goes through all the build folders and
-creates a new database. The workdir should point to the top
-level of the hierarchy.
-E.g. C</var/results>
-
-=back
-
-=head1 EXAMPLES OF USAGE
-
-C<testparser.pl -method full -d /var/ci-results/logs>
-
-C<testparser.pl -m single /var/ci-results/logs/Qt5_stable_Integration/Build_01234>
-
-=cut
-
-use strict;
-use warnings;
-use File::Spec::Functions;
-use File::Slurp qw(read_dir);
-use JSON;
-use CGI;
-use IO::Uncompress::Gunzip qw(gunzip $GunzipError) ;
-use Date::Parse;
-use DateTime;
-use Time::Piece;
-use Getopt::Long qw( GetOptionsFromArray );
-use DBI();
-use Pod::Usage;
-use POSIX; #to be able to do 'ceil'
-use Archive::Zip qw( :ERROR_CODES :CONSTANTS);
-use XML::LibXML qw( );
-
-my $BUILDSTATEFILE = "state.json.gz";
-my $BUILDLOGFILE = "log.txt.gz";
-my $XMLARCHIVE = "test-logs.zip";
-my $SQLINSERTVALUECOUNT = 2000; # max count of values collected into single INSERT query
-my $VERBOSE = 0;
-my $INFOMSG = 0;
-
-my $error_count = 0;
-my $warning_count = 0;
-my $info_count = 0;
-
-my $conf_count = 0;
-
-my %cfg_table = ("linux-g++_shadow-build_Ubuntu_11.10_x86" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_11.10',
- 'host_arch' => 'x86',
- 'host_compiler' => 'g++',
- 'target_os' => 'linux',
- 'target_version' => 'Ubuntu_11.10',
- 'target_architecture' => 'x86',
- 'target_compiler' => 'g++',
- 'feature' => 'shadow-build',
- },
- "linux-g++_bin-pkg-config_Ubuntu_11.10_x86" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_11.10',
- 'host_arch' => 'x86',
- 'host_compiler' => 'g++',
- 'target_os' => 'linux',
- 'target_version' => 'Ubuntu_11.10',
- 'target_architecture' => 'x86',
- 'target_compiler' => 'g++',
- 'feature' => 'pkg-config',
- },
- "linux-android-g++_Ubuntu_12.04_x64" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_12.04',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'android',
- 'target_version' => 'android',
- 'target_architecture' => 'armeabi-v7a',
- 'target_compiler' => 'g++',
- 'feature' => '',
- },
- "linux-g++_no-widgets_Ubuntu_12.04_x64" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_12.04',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'linux',
- 'target_version' => 'Ubuntu_12.04',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'g++',
- 'feature' => 'no-widgets',
- },
- "linux-g++_no-widgets_Ubuntu_12.04_x64" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_12.04',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'linux',
- 'target_version' => 'Ubuntu_12.04',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'g++',
- 'feature' => 'no-widgets',
- },
- "linux-g++_static_Ubuntu_12.04_x64" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_12.04',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'linux',
- 'target_version' => 'Ubuntu_12.04',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'g++',
- 'feature' => 'static',
- },
- "linux-android-g++_Ubuntu_14.04_x64" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_14.04',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'android',
- 'target_version' => 'android',
- 'target_architecture' => 'armeabi-v7a',
- 'target_compiler' => 'g++',
- 'feature' => '',
- },
- "linux-android_armeabi-g++_Ubuntu_12.04_x64" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_12.04',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'android',
- 'target_version' => 'android',
- 'target_architecture' => 'armeabi',
- 'target_compiler' => 'g++',
- 'feature' => '',
- },
- "linux-android_armeabi-g++_Ubuntu_14.04_x64" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_14.04',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'android',
- 'target_version' => 'android',
- 'target_architecture' => 'armeabi',
- 'target_compiler' => 'g++',
- 'feature' => '',
- },
- "linux-g++_developer-build_OpenSuSE_13.1_x64" => { 'host_os' => 'linux',
- 'host_version' => 'OpenSuSE_13.1',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'linux',
- 'target_version' => 'OpenSuSE_13.1',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'g++',
- 'feature' => 'developer_build',
- },
- "linux-g++_developer-build_qtnamespace_qtlibinfix_RHEL65_x64" => { 'host_os' => 'linux',
- 'host_version' => 'RHEL_6.5',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'linux',
- 'target_version' => 'RHEL_6.5',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'g++',
- 'feature' => 'developer_build, qtnamespace, qtlibinfix',
- },
- "linux-g++_developer-build_qtnamespace_qtlibinfix_RHEL_6.6_x64" => { 'host_os' => 'linux',
- 'host_version' => 'RHEL_6.6',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'linux',
- 'target_version' => 'RHEL_6.6',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'g++',
- 'feature' => 'developer_build, qtnamespace, qtlibinfix',
- },
- "linux-g++_no-widgets_Ubuntu_14.04_x64" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_14.04',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'linux',
- 'target_version' => 'Ubuntu_14.04',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'g++',
- 'feature' => 'no-widgets',
- },
- "linux-g++_shadow-build_Ubuntu_14.04_x64" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_14.04',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'linux',
- 'target_version' => 'Ubuntu_14.04',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'g++',
- 'feature' => 'shadow-build',
- },
- "linux-g++_static_Ubuntu_14.04_x64" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_14.04',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'linux',
- 'target_version' => 'Ubuntu_14.04',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'g++',
- 'feature' => 'static',
- },
- "linux-imx6-armv7a_Ubuntu_12.04_x64" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_12.04',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'b2qt',
- 'target_version' => 'b2qt_1.6',
- 'target_architecture' => 'armv7a',
- 'target_compiler' => 'g++',
- 'feature' => '',
- },
- "linux-imx6-armv7a_Ubuntu_14.04_x64" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_14.04',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'b2qt',
- 'target_version' => 'b2qt_1.6',
- 'target_architecture' => 'armv7a',
- 'target_compiler' => 'g++',
- 'feature' => '',
- },
- "linux-qnx-armv7le_Ubuntu_12.04_x64" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_12.04',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'qnx',
- 'target_version' => 'QNX_6.6.0',
- 'target_architecture' => 'armv7le',
- 'target_compiler' => 'g++',
- 'feature' => '',
- },
- "linux-qnx-armv7le_Ubuntu_14.04_x64" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_14.04',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'qnx',
- 'target_version' => 'QNX_6.6.0',
- 'target_architecture' => 'armv7le',
- 'target_compiler' => 'g++',
- 'feature' => '',
- },
- "linux-qnx650-armv7le_Ubuntu_12.04_x64" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_12.04',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'qnx',
- 'target_version' => 'QNX_6.5.0',
- 'target_architecture' => 'armv7le',
- 'target_compiler' => 'g++',
- 'feature' => '',
- },
- "linux-qnx650-armv7le_Ubuntu_14.04_x64" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_14.04',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'qnx',
- 'target_version' => 'QNX_6.5.0',
- 'target_architecture' => 'armv7le',
- 'target_compiler' => 'g++',
- 'feature' => '',
- },
- "linux-qnx-x86_Ubuntu_12.04_x64" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_12.04',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'qnx',
- 'target_version' => 'QNX_6.5.0',
- 'target_architecture' => 'x86',
- 'target_compiler' => 'g++',
- 'feature' => '',
- },
- "linux-qnx-x86_Ubuntu_14.04_x64" => { 'host_os' => 'linux',
- 'host_version' => 'Ubuntu_14.04',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'g++',
- 'target_os' => 'qnx',
- 'target_version' => 'QNX_6.5.0',
- 'target_architecture' => 'x86',
- 'target_compiler' => 'g++',
- 'feature' => '',
- },
- "macx-clang_developer-build_qtnamespace_OSX_10.7" => { 'host_os' => 'osx',
- 'host_version' => 'OSX_10.7',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'clang',
- 'target_os' => 'osx',
- 'target_version' => 'OSX_10.7',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'clang',
- 'feature' => 'developer-build, qtnamespace',
- },
- "macx-clang_bin-pkg-config_OSX_10.7" => { 'host_os' => 'osx',
- 'host_version' => 'OSX_10.7',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'clang',
- 'target_os' => 'osx',
- 'target_version' => 'OSX_10.7',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'clang',
- 'feature' => 'pkg-config',
- },
- "macx-clang_developer-build_OSX_10.10" => { 'host_os' => 'osx',
- 'host_version' => 'OSX_10.10',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'clang',
- 'target_os' => 'osx',
- 'target_version' => 'OSX_10.10',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'clang',
- 'feature' => 'developer-build',
- },
- "macx-clang_developer-build_OSX_10.9" => { 'host_os' => 'osx',
- 'host_version' => 'OSX_10.9',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'clang',
- 'target_os' => 'osx',
- 'target_version' => 'OSX_10.9',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'clang',
- 'feature' => '',
- },
- "macx-clang_no-framework_OSX_10.8" => { 'host_os' => 'osx',
- 'host_version' => 'OSX_10.8',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'clang',
- 'target_os' => 'osx',
- 'target_version' => 'OSX_10.8',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'clang',
- 'feature' => '',
- },
- "macx-clang_static_OSX_10.9" => { 'host_os' => 'osx',
- 'host_version' => 'OSX_10.8',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'clang',
- 'target_os' => 'osx',
- 'target_version' => 'OSX_10.8',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'clang',
- 'feature' => 'static',
- },
- "macx-ios-clang_OSX_10.9" => { 'host_os' => 'osx',
- 'host_version' => 'OSX_10.8',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'clang',
- 'target_os' => 'ios',
- 'target_version' => 'ios_crap',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'clang',
- 'feature' => '',
- },
- "win32-mingw48_developer-build_qtlibinfix_opengl_Windows_7" => { 'host_os' => 'windows',
- 'host_version' => 'Windows_7',
- 'host_arch' => 'x86',
- 'host_compiler' => 'mingw_4.8.2',
- 'target_os' => 'windows',
- 'target_version' => 'Windows_7',
- 'target_architecture' => 'x86',
- 'target_compiler' => 'mingw_4.8.2',
- 'feature' => 'developer-build, qtlibinfix, opengl',
- },
- "win32-mingw491_developer-build_qtlibinfix_opengl_Windows_7" => { 'host_os' => 'windows',
- 'host_version' => 'Windows_7',
- 'host_arch' => 'x86',
- 'host_compiler' => 'mingw_4.9.1',
- 'target_os' => 'windows',
- 'target_version' => 'Windows_7',
- 'target_architecture' => 'x86',
- 'target_compiler' => 'mingw_4.9.1',
- 'feature' => 'developer-build, qtlibinfix, opengl',
- },
- "win32-mingw491_developer-build_qtlibinfix_Windows_7" => { 'host_os' => 'windows',
- 'host_version' => 'Windows_7',
- 'host_arch' => 'x86',
- 'host_compiler' => 'mingw_4.9.1',
- 'target_os' => 'windows',
- 'target_version' => 'Windows_7',
- 'target_architecture' => 'x86',
- 'target_compiler' => 'mingw_4.9.1',
- 'feature' => 'developer-build, qtlibinfix',
- },
- "win32-msvc2010_bin-pkg-config_Windows_7" => { 'host_os' => 'windows',
- 'host_version' => 'Windows_7',
- 'host_arch' => 'x86',
- 'host_compiler' => 'msvc',
- 'target_os' => 'windows',
- 'target_version' => 'Windows_7',
- 'target_architecture' => 'x86',
- 'target_compiler' => 'msvc',
- 'feature' => 'pkg-config',
- },
- "win32-msvc2010_Windows_7" => { 'host_os' => 'windows',
- 'host_version' => 'Windows_7',
- 'host_arch' => 'x86',
- 'host_compiler' => 'msvc',
- 'target_os' => 'windows',
- 'target_version' => 'Windows_7',
- 'target_architecture' => 'x86',
- 'target_compiler' => 'msvc',
- 'feature' => '',
- },
- "win32-msvc2010_developer-build_angle_Windows_7" => { 'host_os' => 'windows',
- 'host_version' => 'Windows_7',
- 'host_arch' => 'x86',
- 'host_compiler' => 'msvc',
- 'target_os' => 'windows',
- 'target_version' => 'Windows_7',
- 'target_architecture' => 'x86',
- 'target_compiler' => 'msvc',
- 'feature' => 'developer-build',
- },
- "win32-msvc2010_developer-build_qtnamespace_Windows_7" => { 'host_os' => 'windows',
- 'host_version' => 'Windows_7',
- 'host_arch' => 'x86',
- 'host_compiler' => 'msvc',
- 'target_os' => 'windows',
- 'target_version' => 'Windows_7',
- 'target_architecture' => 'x86',
- 'target_compiler' => 'msvc',
- 'feature' => 'developer-build, qtnamespace',
- },
- "win32-msvc2010_opengl_dynamic_Windows_7" => { 'host_os' => 'windows',
- 'host_version' => 'Windows_7',
- 'host_arch' => 'x86',
- 'host_compiler' => 'msvc',
- 'target_os' => 'windows',
- 'target_version' => 'Windows_7',
- 'target_architecture' => 'x86',
- 'target_compiler' => 'msvc',
- 'feature' => 'opengl',
- },
- "win32-msvc2010_static_Windows_7" => { 'host_os' => 'windows',
- 'host_version' => 'Windows_7',
- 'host_arch' => 'x86',
- 'host_compiler' => 'msvc',
- 'target_os' => 'windows',
- 'target_version' => 'Windows_7',
- 'target_architecture' => 'x86',
- 'target_compiler' => 'msvc',
- 'feature' => 'static',
- },
- "win64-msvc2012_developer-build_qtnamespace_Windows_81" => { 'host_os' => 'windows',
- 'host_version' => 'Windows_8.1',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'msvc',
- 'target_os' => 'windows',
- 'target_version' => 'Windows_8.1',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'msvc',
- 'feature' => 'developer-build, qtnamespace',
- },
- "win64-msvc2013_developer-build_qtnamespace_Windows_81" => { 'host_os' => 'windows',
- 'host_version' => 'Windows_8.1',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'msvc',
- 'target_os' => 'windows',
- 'target_version' => 'Windows_8.1',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'msvc',
- 'feature' => 'developer-build, qtnamespace',
- },
- "win64-msvc2015_developer-build_qtnamespace_Windows_10" => { 'host_os' => 'windows',
- 'host_version' => 'Windows_10',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'msvc',
- 'target_os' => 'windows',
- 'target_version' => 'Windows_10',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'msvc',
- 'feature' => 'developer-build, qtnamespace',
- },
- "wince70embedded-armv4i-msvc2008_Windows_7" => { 'host_os' => 'windows',
- 'host_version' => 'Windows_7',
- 'host_arch' => 'x86',
- 'host_compiler' => 'msvc',
- 'target_os' => 'windows_ce',
- 'target_version' => 'windows_ce',
- 'target_architecture' => 'x86',
- 'target_compiler' => 'msvc',
- 'feature' => '',
- },
- "winphone-arm-msvc2013_Windows_81" => { 'host_os' => 'windows',
- 'host_version' => 'Windows_8.1',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'msvc',
- 'target_os' => 'winphone',
- 'target_version' => 'winphone',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'msvc',
- 'feature' => '',
- },
- "winrt-x64-msvc2013_Windows_81" => { 'host_os' => 'windows',
- 'host_version' => 'Windows_8.1',
- 'host_arch' => 'x86_64',
- 'host_compiler' => 'msvc',
- 'target_os' => 'winrt',
- 'target_version' => 'winrt',
- 'target_architecture' => 'x86_64',
- 'target_compiler' => 'msvc',
- 'feature' => '',
- });
-
-sub process_arguments
-{
- my (@args) = @_;
- my %options;
- $options{method} = 'single';
- GetOptionsFromArray( \@args,
- 'method=s' => \$options{method},
- 'delete' => \$options{delete},
- 'sqloutput=s' => \$options{sqloutput},
- 'verbose' => \$options{verbose},
- 'infomsg' => \$options{infomsg},
- 'reload' => \$options{reload},
- 'skiptestrowpass' => \$options{skiptestrowpass},
- 'limit=s' => \$options{datelimit},
- 'h|help|?' => sub { pod2usage(1) },
- ) || die;
- if ($#args < 0) {
- print "Workpath not defined.\n";
- exit 1;
- }
-
- $options{method} = lc($options{method});
- if ($options{method} !~ m/^(full|single)$/) {
- print "Unknown method.\n";
- exit 1;
- }
-
- $options{workpath} = pop(@args);
- if (! -d $options{workpath}) {
- print "Workpath \"$options{workpath}\" not found.\n";
- exit 1;
- }
-
- if (defined $options{delete}) {
- print "Warning: Deleting current database tables.\n";
- print "You have 5 seconds to abort.\n";
- sleep(5);
- }
-
- if (defined $options{reload}) {
- if ($options{method} !~ m/^single$/) {
- print "Option -reload can be used only with the 'single' method.\n";
- exit 1;
- }
- }
-
- if (defined $options{datelimit}) {
- my $format = '%Y%m%d';
- my $tp = Time::Piece->strptime($options{datelimit}, $format);
- my $dt = DateTime->new(
- year => $tp->year(),
- month => $tp->mon(),
- day => $tp->mday(),
- );
- $options{datelimit} = $dt;
- print "Date limit set to: $dt\n";
- }
-
- $VERBOSE = 1 if defined $options{verbose};
- $INFOMSG = 1 if defined $options{infomsg};
-
- return %options;
-}
-
-sub uncompress_to_scalar
-{
- my $input = shift;
- return "" if !$input;
- my $gzoutput;
-
- if (check_exists_and_openable($input)) {
- use Archive::Extract;
- my $ae = Archive::Extract->new( archive => $input ) or warn ("ERROR: Can't create archive object.");
- if ($ae->is_gz) {
- #print "Gzip compressed\n";
- local $/;
- gunzip $input => \$gzoutput or warn "ERROR: gunzip failed: $GunzipError\n";
- } else {
- print "WARNING: Inputfile $input is not a .gz file\n";
- }
- return $gzoutput;
- }
- else {
- print "WARNING: Scalar being return is null\n";
- return;
- }
-}
-
-sub read_json
-{
- my $raw_input = shift;
- my $ret;
- eval {$ret = decode_json($raw_input);};
- return $ret;
-}
-
-sub if_defined
-{
- my $value = shift;
- return $value ? $value : "";
-}
-
-#convert epoch time with milliseconds to ISO time
-sub epoch_ms_to_iso
-{
- my $epochtime = shift;
- my $time = "";
- if (defined $epochtime) {
- $epochtime /= 1000;
- $time = DateTime->from_epoch( epoch => $epochtime);
- }
- return $time;
-}
-
-sub epoch_s_to_iso
-{
- my $epochtime = shift;
- my $time = "";
- if (defined $epochtime) {
- $time = DateTime->from_epoch( epoch => $epochtime);
- }
- return $time;
-}
-
-sub ms_to_hms
-{
- my $in_seconds = shift;
- if (defined $in_seconds) {
- $in_seconds /= 1000;
- my ($days,$hours,$minutes,$seconds) = (gmtime $in_seconds)[7,2,1,0];
- $hours += $days * 24;
- return "$hours:$minutes:$seconds";
- }
- return "";
-}
-
-sub read_build_data
-{
- my $statehash = shift;
- my $inputfolder = shift;
- my %data;
- my $backup_time;
-
- print "Reading data of $inputfolder.\n";
-
- # the 'result' data might get redefined later, if one of the configurations has failed
- $data{RESULT} = if_defined($statehash->{build}->{result});
- $data{FULLDISPLAYNAME} = if_defined($statehash->{build}->{fullDisplayName});
- $data{FULLDISPLAYNAME} =~ s/\s#\d+$//;
- $data{BUILD_NUMBER} = if_defined($statehash->{build}->{number});
- $data{ABORTEDBYINTEGRATOR} = if_defined($statehash->{build}->{aborted_by_integrator});
- $data{TIMESTAMP} = epoch_ms_to_iso($statehash->{build}->{timestamp});
- $data{DURATION} = ms_to_hms($statehash->{build}->{duration});
- $data{URL} = if_defined($statehash->{build}->{url});
-
- #loop through all the runs (an array)
- foreach my $runhash (@{$statehash->{build}->{runs}}) {
-
- print "-----------------------------------------------\n";
- my $result = if_defined($runhash->{result});
- my $number = if_defined($runhash->{number});
-
- my $cfg = if_defined($runhash->{url});
- $cfg =~ s{^.*?cfg=(.*)/\d+/}{$1};
- print "cfg = $cfg\n";
- $conf_count++;
-
- if (defined $cfg and defined $data{NUMBER}) {
- if ($number ne $data{NUMBER}) {
- #TODO: $data{url} and $data{BUILD_NUMBER} might be undef
- print "WARNING: In $data{URL} $cfg\'s build number $number does not match main number $data{BUILD_NUMBER}\n";
- print " Marking this configuration as \"CANCELLED\"\n";
- $result = "CANCELLED";
- $warning_count++;
- last;
- }
- }
-
- if (defined $result and $result =~ m/SUCCESS/) {
- $data{cfg}{$cfg}{builddata}{RESULT} = "SUCCESS";
- } elsif (defined $result and $result =~ m/FAILURE/) {
- $data{cfg}{$cfg}{builddata}{RESULT} = "FAILURE";
- # If one of the configurations has failed, the ABORTED is true, but it's due to something failing.
- # Thus we change the overall status to FAILURE to represent the status more clearly.
- $data{RESULT} = "FAILURE";
- } elsif (defined $result and $result =~ m/ABORTED/) {
- $data{cfg}{$cfg}{builddata}{RESULT} = "ABORTED";
- } else {
- $data{cfg}{$cfg}{builddata}{RESULT} = "undef";
- }
-
- # read the log.txt.gz file and get all the data from the log
- if (check_exists_and_openable(catfile($inputfolder,$cfg,$BUILDLOGFILE))) {
- my @content_in_array = split("\n",uncompress_to_scalar(catfile($inputfolder,$cfg,$BUILDLOGFILE)));
- $data{cfg}{$cfg}{logdata} = get_log_data(@content_in_array);
- $data{cfg}{$cfg}{testresults} = get_test_results(@content_in_array);
- $data{cfg}{$cfg}{phases} = get_phase_times(@content_in_array);
- $backup_time = epoch_s_to_iso(get_modify_time(catfile($inputfolder,$cfg,$BUILDLOGFILE)));
- }
-
- # uncompress the test-logs.zip file and gather all the xml data from it.
- my $zip = Archive::Zip->new();
- if (check_exists_and_openable(catfile($inputfolder,$cfg,$XMLARCHIVE))) {
- unless ( $zip->read( catfile($inputfolder,$cfg,$XMLARCHIVE) ) == AZ_OK ) {
- die "Unable to open zip file!";
- }
- foreach my $testset_project (keys %{$data{cfg}{$cfg}{testresults}{all_tests}}) {
- foreach my $testsetname (keys %{$data{cfg}{$cfg}{testresults}{all_tests}{$testset_project}}) {
- if ($testsetname eq "") {
- print "WARNING: Testset name is empty\n";
- $warning_count++;
- } else {
- ## (these test prints are disabled as they produce huge amount of lines which may make the output unreadable; uncomment when needed in testing)
- ## print "We are looking for '$data{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$testsetname}{xmllogfile}' inside the zip file '". catfile($inputfolder,$cfg,$XMLARCHIVE)."'\n" if $VERBOSE;
- my $xml_file = $data{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$testsetname}{xmllogfile};
- next if ($xml_file eq ""); # xml file may not be available for all testsets (e.g. for cmake)
-
- my $content_in_xml = $zip->contents("test-logs/$data{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$testsetname}{xmllogfile}");
- my $parser = XML::LibXML->new();
- my $xml;
- eval {
- $xml = $parser->parse_string($content_in_xml);
- };
- if ($@) {
- print "WARNING: Cannot read XML from \"$data{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$testsetname}{xmllogfile}\" in testset \"$testsetname\"\n";
- $warning_count++;
- next;
- }
- foreach my $tc ($xml->findnodes('/TestCase')){
- foreach my $tf ($tc->findnodes('TestFunction')){
- my $tfname = $tf->findvalue('./@name');
- my $duration = 0;
- my $result = "";
- foreach my $d ($tf->findnodes('Duration')) {
- $duration = $d->findvalue('./@msecs');
- }
- ## print "$tfname ($duration ms)\n" if $VERBOSE;
- $data{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$testsetname}{testfunctions}{$tfname}{duration} = ceil($duration/100); # save duration in deciseconds (in milliseconds in the xml)
-
- # get testfunction or testrow result from Incident node
- foreach my $incident ($tf->findnodes('Incident')) {
- $result = $incident->findvalue('./@type');
- next if ($result eq "xfail"); # Do not store "xfail", instead look for the 2nd incident that says 'pass'
- my $testrowNameI = $incident->find('DataTag');
- if ($testrowNameI eq "") { # no DataTag -> result is for the testfunction
- $data{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$testsetname}{testfunctions}{$tfname}{result} = $result;
- ## print "<i> testfunction $tfname: $result\n" if $VERBOSE;
- } else { # DataTag(s) -> results are for testrows
- if (defined $data{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$testsetname}{testfunctions}{$tfname}{DataTags}{$testrowNameI}{result}) {
- print "INFO: Duplicate testrow $testset_project - $testsetname - $tfname - \"$testrowNameI\" " .
- "($result - $data{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$testsetname}{testfunctions}{$tfname}{DataTags}{$testrowNameI}{result})\n" if $INFOMSG;
- $info_count++;
- }
- $data{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$testsetname}{testfunctions}{$tfname}{DataTags}{$testrowNameI}{result} = $result;
- ## print "<i> testrow $testrowNameM: $result\n" if $VERBOSE;
- }
-
- }
- # get testfunction or testrow result from Message node ('skip' only)
- if ($result eq "") {
- foreach my $message ($tf->findnodes('Message')) {
- next if ($message->findvalue('./@type') ne "skip"); # only "skip" result saved (others may be e.g. "qwarn" or "qdebug")
- $result = $message->findvalue('./@type');
- # if the test functions has datatags, we will collect all the results as separate ones
- my $testrowNameM = $message->find('DataTag');
- if ($testrowNameM eq "") { # no DataTag -> result is for the testfunction
- $data{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$testsetname}{testfunctions}{$tfname}{result} = $result;
- ## print "<m> testfunction $tfname: $result\n" if $VERBOSE;
- } else { # DataTag(s) -> results are for testrows
- if (defined $data{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$testsetname}{testfunctions}{$tfname}{DataTags}{$testrowNameM}{result}) {
- print "INFO: Duplicate testrow $testset_project - $testsetname - $tfname - \"$testrowNameM\" " .
- "($result - $data{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$testsetname}{testfunctions}{$tfname}{DataTags}{$testrowNameM}{result})\n" if $INFOMSG;
- $info_count++;
- }
- $data{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$testsetname}{testfunctions}{$tfname}{DataTags}{$testrowNameM}{result} = $result;
- ## print "<m> testrow $testrowNameM: $result\n" if $VERBOSE;
- }
- }
- }
- if ($result eq "") {
- print "WARNING: No result found for \"$tfname\" in \"$testsetname\" (in $cfg).\n" if ($result eq "");
- $warning_count++;
- }
- } # end of foreach $tf
- } # end of foreach $tc
- } # end of if else
- } # end of foreach $testsetname
- } # end of foreach $testset_project
- } # end of if check_exists_and_openable
-
- my $cfg_timestamp = epoch_ms_to_iso($runhash->{timestamp});
- $data{cfg}{$cfg}{builddata}{TIMESTAMP} = $cfg_timestamp ? $cfg_timestamp : $backup_time;
- $data{cfg}{$cfg}{builddata}{DURATION} = ms_to_hms($runhash->{duration});
-
- }
- return \%data;
-}
-
-sub get_modify_time
-{
- my $file = shift;
- my $date = (stat $file )[9];
- return $date;
-}
-
-sub getdata
-{
- my @logarray = @{(shift)};
- my $regexp = shift;
-
- foreach my $line (@logarray) {
- $line =~ s/[\n|\r]$//g;
- return $1 if ($line =~ m/$regexp/);
- }
- return;
-}
-
-sub exists_in_array
-{
- my @arr = @{(shift)};
- my $regexp = shift;
- foreach my $line (@arr) {
- $line =~ s/[\n|\r]$//g;
- return 1 if ($line =~ m/$regexp/);
- }
- return 0;
-}
-
-sub get_log_data
-{
- print "Reading general data from log files.\n";
- my @filecontent = @_;
- my %logdata;
- $logdata{project} = getdata(\@filecontent, qr/^Started by upstream project "(.*)" build number \d+$/);
- $logdata{build_number} = getdata(\@filecontent, qr/^Started by upstream project ".*" build number (\d+)$/);
- $logdata{build_node} = getdata(\@filecontent, qr/^Building remotely on (.*) in workspace .*$/);
- $logdata{node_labels} = getdata(\@filecontent, qr/^NODE_LABELS=(.*)$/);
- $logdata{jenkins_url} = getdata(\@filecontent, qr/^JENKINS_URL=(.*)$/);
- $logdata{build_id} = getdata(\@filecontent, qr/^BUILD_ID=(.*)$/);
- $logdata{build_url} = getdata(\@filecontent, qr/^BUILD_URL=(.*)$/);
- $logdata{build_tag} = getdata(\@filecontent, qr/^BUILD_TAG=(.*)$/);
- $logdata{job_name} = getdata(\@filecontent, qr/^JOB_NAME=(.*)$/);
- $logdata{job_url} = getdata(\@filecontent, qr/^JOB_URL=(.*)$/);
- $logdata{cfg} = getdata(\@filecontent, qr/^cfg='(.*)'$/);
- $logdata{qtqa_qt_configure_args} = getdata(\@filecontent, qr/^set QTQA_QT_CONFIGURE_ARGS=(.*)$/);
- $logdata{qtqa_qt_configure_extra_args} = getdata(\@filecontent, qr/^set QTQA_QT_CONFIGURE_EXTRA_ARGS=(.*)$/);
- $logdata{FORCESUCCESS} = exists_in_array(\@filecontent, qr/^Normally I would now fail. However, `forcesuccess' was set in/);
- $logdata{FORCESUCCESS} |= exists_in_array(\@filecontent, qr/^Note: forcesuccess is set, but the test script succeeded./);
- $logdata{INSIGNIFICANT} = exists_in_array(\@filecontent, qr/^This is a warning, not an error, because the `qt.tests.insignificant' option was used./);
- $logdata{INSIGNIFICANT} |= exists_in_array(\@filecontent, qr/^Note: qt.tests.insignificant is set, but the tests succeeded./);
- return (\%logdata);
-}
-
-sub parse_module_from_path {
- my $path = shift;
- $path =~ s/\\/\//g;
- my ($returnval) = $path =~ m/.*\/(.*)\/tests\/.*/;
- if (!defined $returnval) { # exception: qtqa tests not in a 'tests' folder
- ($returnval) = $path =~ m/.*\/(.*)\/scripts/;
- }
- return $returnval;
-}
-
-sub parse_testpath_from_path {
- my $path = shift;
- $path =~ s/\\/\//g;
- my ($returnval) = $path =~ m/.*\/(.*\/tests\/.*)/;
- if (!defined $returnval) { # exception: qtqa tests not in a 'tests' folder
- ($returnval) = $path =~ m/.*\/(.*\/scripts)/;
- }
- return $returnval;
-}
-
-sub get_test_results
-{
- print "Reading test results.\n";
- my @filecontent = @_;
-
- my $RESULTPARTSTR = qr/=== Timing: =================== TEST RUN COMPLETED! ============================/;
- my $RESULTPARTSTR2 = qr/=== Failures: ==================================================================/;
- my $RESULTPARTSTR3 = qr/=== Totals: .*=/;
-
- my $step = 0;
- my $autotest = 0;
- my %testresults;
- my $total_autotests = 0;
- # stores the state if we're between "Testing" and "Totals:", meaning, we're storing autotestdata.
- my $testdata = 0;
- my $testsetname = "";
- my $testsetmodule = "";
- my $testsetpath = "";
- my $testsetxmllogfilename = "";
- foreach my $line (@filecontent) {
- $line =~ s/[\n|\r]$//g;
- $step = 1 if ($line =~ m/^$RESULTPARTSTR$/);
- $step = 2 if ($line =~ m/^$RESULTPARTSTR2$/);
- $autotest = 1 if ($line =~ m/#=#.*?#=#\s\>(.*)$/);
- $autotest = 0 if ($line =~ m/#=#.*?#=#\s\<(.*)\s#=# Elapsed (\d+) second\(s\).$/);
-
- if (1 == $autotest) {
- my $testdatabegin = 0;
- # detect the test begin line, different variations below (you can verify e.g. with http://rubular.com/ )
- # QtQA::App::TestRunner: begin qml @ /work/build/qtwebchannel/tests/auto/qml: [./qml] [-silent] [-o] [/work/ci/qt/qt5/dev/_artifacts/test-logs/qml-testresults-00.xml,xml] [-o] [-,txt] [-import] [/work/build/qtwebchannel/tests/auto/qml/../../../qml] [-import]
- # QtQA::App::TestRunner: begin tst_qmlvisual @ C:\work\build\qtquick1\tests\auto\declarative\qmlvisual: [release\tst_qmlvisual.exe] [-silent] [-o] [C:\work\ci\qt\qt5\5.5\_artifacts\test-logs\tst_qmlvisual.exe-testresults-00.xml,xml] [-o] [-,txt]
- if ($line =~ m/^QtQA::App::TestRunner: begin (.*?)\s@\s(.*):\s\[.*[\/\\](.*),xml/) {
- $testsetname = $1;
- $testsetmodule = parse_module_from_path($2);
- $testsetpath = parse_testpath_from_path($2);
- $testsetxmllogfilename = $3;
- $testdatabegin = 1;
- }
- # QtQA::App::TestRunner: begin cmake (qtxmlpatterns) @ /work/build/qtxmlpatterns/tests/auto/cmake/build: [ctest] [--output-on-failure]
- if (!$testdatabegin and $line =~ m/^QtQA::App::TestRunner: begin (.*?)\s@\s(.*):/) {
- $testsetname = $1;
- $testsetmodule = parse_module_from_path($2);
- $testsetpath = parse_testpath_from_path($2);
- $testsetxmllogfilename = "";
- $testdatabegin = 1;
- }
- if ($testdatabegin) {
- if (!defined $testsetname or $testsetname eq "") {
- warn "ERROR: Testset name empty or not defined";
- $error_count++;
- next;
- }
- # testsets can be skipped if needed (e.g. unsupported format)
- #next if ($testsetname =~ m/license/);
- #next if ($testsetname =~ m/tst_headers/);
- #next if ($testsetname =~ m/tst_bic/);
- $testdata = 1;
- # set initial values for a new test set
- if (!$testresults{all_tests}{$testsetmodule}{$testsetname}) {
- $testresults{all_tests}{$testsetmodule}{$testsetname}{path} = $testsetpath;
- $testresults{all_tests}{$testsetmodule}{$testsetname}{xmllogfile} = $testsetxmllogfilename;
- $testresults{all_tests}{$testsetmodule}{$testsetname}{runs} = 0;
- $testresults{all_tests}{$testsetmodule}{$testsetname}{passed} = 0;
- $testresults{all_tests}{$testsetmodule}{$testsetname}{failed} = 0;
- $testresults{all_tests}{$testsetmodule}{$testsetname}{skipped} = 0;
- $testresults{all_tests}{$testsetmodule}{$testsetname}{blacklisted} = 0;
- $testresults{all_tests}{$testsetmodule}{$testsetname}{insignificant} = 0;
- $testresults{all_tests}{$testsetmodule}{$testsetname}{duration} = 0;
- $testresults{all_tests}{$testsetmodule}{$testsetname}{overall} = 1; # by default we assume that tests will fail ;)
- }
- $testresults{all_tests}{$testsetmodule}{$testsetname}{runs}++;
- $total_autotests++;
- } elsif ($testdata and $line =~ m/^QtQA::App::TestRunner: test failed, running again to see if it is flaky/) {
- $testresults{all_tests}{$testsetmodule}{$testsetname}{runs}++;
- } elsif ($testdata and $line =~ m/^Totals: (\d+) passed, (\d+) failed, (\d+) skipped, (\d+) blacklisted/) {
- $testresults{all_tests}{$testsetmodule}{$testsetname}{passed} = $1;
- $testresults{all_tests}{$testsetmodule}{$testsetname}{failed} = $2;
- $testresults{all_tests}{$testsetmodule}{$testsetname}{skipped} = $3;
- $testresults{all_tests}{$testsetmodule}{$testsetname}{blacklisted} = $4;
- } elsif ($testdata and $line =~ m/^\d+\% tests passed, (\d+) test(?:s)? failed out of (\d+)/) {
- $testresults{all_tests}{$testsetmodule}{$testsetname}{passed} = $2-$1;
- $testresults{all_tests}{$testsetmodule}{$testsetname}{failed} = $1;
- } elsif ($testdata and $line =~ m/^QtQA::App::TestRunner: Process exited due to signal (\d+); dumped core/) {
- $testresults{all_tests}{$testsetmodule}{$testsetname}{overall} = $1; # use exit code
- } elsif ($testdata and $line =~ m/^QtQA::App::TestRunner: end .*: (.*) seconds, exit code (\d+)/) {
- $testresults{all_tests}{$testsetmodule}{$testsetname}{duration} = ceil($1*10); # save duration in deciseconds (in seconds in the log)
- $testresults{all_tests}{$testsetmodule}{$testsetname}{overall} = $2; # passed (0)
- $testdata = 0;
- }
- }
-
- # checking from the end of the log if any tests are marked as insignificant
- # TODO: the testset module is not available on this line (so all testsets with the same name will be marked here), insignificance should be checked from the line after the 'end testsetname'
- if (2 == $step) {
- if ($line =~ m/^\s{2}(.*?)\s*(\[insignificant\])*$/) {
- my $ts_name = $1;
- if (!defined $2) {
- push (@{$testresults{failed_tests}}, $ts_name);
- print "Found failed test '$ts_name'.\n" if $VERBOSE;
- } elsif ("[insignificant]" eq $2) {
- push (@{$testresults{insignificant_failed_tests}}, $ts_name);
- print "Found failed insignificant test '$ts_name'.\n" if $VERBOSE;
- foreach my $ts_module (keys %{$testresults{all_tests}}) {
- if (exists $testresults{all_tests}{$ts_module}{$ts_name}) {
- $testresults{all_tests}{$ts_module}{$ts_name}{insignificant} = 1;
- }
- }
- } else {
- push (@{$testresults{unspecified_tests}}, $ts_name);
- print "Found unspecified test '$ts_name'.\n" if $VERBOSE;
- }
- }
- else { last if ($line =~ m/^$RESULTPARTSTR3$/); }
- }
- }
- $testresults{TOTAL_AUTOTESTS} = $total_autotests;
- return (\%testresults);
-}
-
-sub get_phase_times
-{
- print "Reading times for different phases.\n";
- my @filecontent = @_;
-
- my $TIMESTR = qr/\w{3}\s\w{3}\s+\d+\s\d{2}:\d{2}:\d{2}\s\d{4}/;
-
- my %phasedata;
- my @phases;
- foreach my $line (@filecontent) {
- next if ($line !~ m/#=#/);
- $line =~ s/[\n|\r]$//g;
- my $parent = "";
- my ($timestr) = $line =~ m/#=# ($TIMESTR)/;
- my $time = DateTime->from_epoch( epoch => str2time($timestr), time_zone => 'local');
-
- if ($line =~ m/#=#.*?#=#\s\>(.*)$/) {
- push (@phases, $1);
- print "Entering phase '$phases[-1]' in time $time.\n" if $VERBOSE;
- $parent = $phases[-2] || "";
-
- $phasedata{$phases[-1]}{start} = $time;
- $phasedata{$phases[-1]}{parent} = $parent;
- }
- if ($line =~ m/#=#.*?#=#\s\<(.*)\s#=# Elapsed (\d+) second\(s\).$/) {
- my $returningphase = $1;
- my $duration = $2;
- my $stackphase = pop (@phases);
- if ($returningphase ne $stackphase) {
- print "Odd order in phases. Returning '$returningphase' doesn't match phase in stack '$stackphase'.\n";
- }
- print "Exiting phase '$returningphase' in time $time. Duration: $duration.\n" if $VERBOSE;
-
- $phasedata{$returningphase}{end} = $time;
- }
- }
- return (\%phasedata);
-}
-
-sub escape {
- my $string = shift;
- $string =~ s/\\/\\\\/g; # escape '\' character (this one must be first)
- $string =~ s/\"/\\\"/g; # escape '"' character
- return $string;
-}
-
-sub escape_sql_wildcard {
- my $string = shift;
- $string =~ s/\\/\\\\\\\\/g; # escape '\' character (this one must be first)
- $string =~ s/\"/\\\"/g; # escape '"' character
- $string =~ s/\%/\\\%/g; # escape '%' character (wildcard in SQL)
- $string =~ s/\_/\\\_/g; # escape '_' character (wildcard in SQL)
- return $string;
-}
-
-sub sql_connect
-{
- my $dbh;
- print "Connecting to database...\n";
- $ENV{HOME} = $ENV{HOMEPATH} if ($^O =~ m/mswin32/i);
-
- # Connect to the database.
- die "Can't access database configuration" if (!check_exists_and_openable ("$ENV{HOME}/.my.cnf"));
- my $dsn = "DBI:mysql:;mysql_read_default_file=$ENV{HOME}/.my.cnf";
- eval {
- $dbh = DBI->connect($dsn, undef, undef, {'RaiseError' => 1});
- };
- if ($@) {
- die("Connection to database failed because $@");
- }
- return $dbh;
-}
-
-sub sql_disconnect
-{
- print "Disconnecting from database...\n";
- my $dbh = shift;
- eval {
- $dbh->disconnect();
- };
- if ($@) {
- die("Disconnection from database failed because $@");
- }
-}
-
-sub sql_drop_table
-{
- my $dbh = shift;
- my $table = shift;
- eval {
- $dbh->do ("DROP TABLE IF EXISTS $table");
- };
- if ($@) {
- die("Removal of table '$table' failed because $@");
- }
-
-}
-
-sub sql_drop_tables
-{
- my $dbh = shift;
-
- print "Dropping old tables.\n";
- sql_drop_table($dbh, "testrow_run");
- sql_drop_table($dbh, "testrow");
- sql_drop_table($dbh, "testfunction_run");
- sql_drop_table($dbh, "testfunction");
- sql_drop_table($dbh, "testset_run");
- sql_drop_table($dbh, "testset");
- sql_drop_table($dbh, "phase_run");
- sql_drop_table($dbh, "phase");
- sql_drop_table($dbh, "conf_run");
- sql_drop_table($dbh, "conf");
- sql_drop_table($dbh, "compiler");
- sql_drop_table($dbh, "platform");
- sql_drop_table($dbh, "project_run");
- sql_drop_table($dbh, "project");
- sql_drop_table($dbh, "branch");
- sql_drop_table($dbh, "state");
- sql_drop_table($dbh, "db_status");
-
-}
-
-sub sql_create_tables
-{
- my $dbh = shift;
- my %options = %{(shift)};
- my $output = $options{sqloutput};
- print "Creating new tables (if they do not exist yet).\n";
-
- $dbh->{AutoCommit} = 0; # enable transactions, if possible
- $dbh->{RaiseError} = 1;
-
- eval {
- $dbh->do (
- "CREATE TABLE IF NOT EXISTS db_status (
- refreshed TIMESTAMP NOT NULL,
- refresh_in_progress BOOL NOT NULL,
- logs_current INT UNSIGNED NOT NULL,
- logs_total INT UNSIGNED NOT NULL
- ) ENGINE MyISAM"
- ) if !$output;
-
- # gives the db_status table initial values, since only one row is used in this table
- if ("0E0" eq $dbh->do ("SELECT * FROM db_status")) {
- $dbh->do (
- "INSERT IGNORE INTO db_status (refreshed, refresh_in_progress, logs_current, logs_total)
- VALUES ('2015-05-01 00:00', 0, 0, 0);"
- ) if !$output;
- }
-
- $dbh->do (
- "CREATE TABLE IF NOT EXISTS branch (
- id TINYINT UNSIGNED NOT NULL AUTO_INCREMENT,
- name VARCHAR(20) NOT NULL,
- archived BOOL NOT NULL DEFAULT 0,
- UNIQUE INDEX unique_branch (name),
- CONSTRAINT branch_pk PRIMARY KEY (id)
- ) ENGINE MyISAM"
- ) if !$output;
-
- $dbh->do (
- "CREATE TABLE IF NOT EXISTS compiler (
- id INT UNSIGNED NOT NULL AUTO_INCREMENT,
- compiler VARCHAR(20) NULL DEFAULT NULL,
- UNIQUE INDEX unique_compiler (compiler),
- CONSTRAINT compiler_pk PRIMARY KEY (id)
- ) ENGINE MyISAM"
- ) if !$output;
-
- $dbh->do (
- "CREATE TABLE IF NOT EXISTS conf (
- id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
- host_id SMALLINT UNSIGNED NOT NULL,
- target_id SMALLINT UNSIGNED NOT NULL,
- host_compiler_id TINYINT UNSIGNED NOT NULL,
- target_compiler_id TINYINT UNSIGNED NOT NULL,
- name VARCHAR(200) NOT NULL,
- features VARCHAR(100) NULL DEFAULT NULL,
- UNIQUE INDEX unique_conf (name),
- CONSTRAINT conf_pk PRIMARY KEY (id)
- ) ENGINE MyISAM"
- ) if !$output;
-
- $dbh->do (
- "CREATE TABLE IF NOT EXISTS conf_run (
- id MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT,
- conf_id SMALLINT UNSIGNED NOT NULL,
- project_run_id MEDIUMINT UNSIGNED NOT NULL,
- forcesuccess BOOL NOT NULL,
- insignificant BOOL NOT NULL,
- result ENUM('SUCCESS','FAILURE','ABORTED','undef') NOT NULL,
- total_testsets INT UNSIGNED NOT NULL,
- timestamp TIMESTAMP NOT NULL,
- duration TIME NOT NULL,
- CONSTRAINT conf_run_pk PRIMARY KEY (id)
- ) ENGINE MyISAM"
- ) if !$output;
-
- # create index if not exists (Note: MariaDB versions from 2015 would support "CREATE INDEX IF NOT EXISTS")
- if ("0E0" eq $dbh->do ("SELECT INDEX_NAME, COLUMN_NAME FROM INFORMATION_SCHEMA.STATISTICS
- WHERE TABLE_CATALOG = \"def\" AND TABLE_SCHEMA = DATABASE() AND
- INDEX_NAME = \"by_project_run\" AND TABLE_NAME = \"conf_run\"")) {
- $dbh->do (
- "CREATE INDEX by_project_run ON conf_run (project_run_id DESC, result)"
- ) if !$output;
- }
-
- $dbh->do (
- "CREATE TABLE IF NOT EXISTS phase (
- id TINYINT UNSIGNED NOT NULL AUTO_INCREMENT,
- name VARCHAR(100) NOT NULL,
- UNIQUE INDEX unique_phase (name),
- CONSTRAINT phase_pk PRIMARY KEY (id)
- ) ENGINE MyISAM"
- ) if !$output;
-
- $dbh->do (
- "CREATE TABLE IF NOT EXISTS phase_run (
- id MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT,
- phase_id TINYINT UNSIGNED NOT NULL,
- conf_run_id MEDIUMINT UNSIGNED NOT NULL,
- start TIMESTAMP NOT NULL,
- end TIMESTAMP NOT NULL,
- CONSTRAINT phase_run_pk PRIMARY KEY (id)
- ) ENGINE MyISAM"
- ) if !$output;
-
- $dbh->do (
- "CREATE TABLE IF NOT EXISTS platform (
- id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
- os VARCHAR(10) NOT NULL,
- os_version VARCHAR(20) NULL DEFAULT NULL,
- arch VARCHAR(20) NULL DEFAULT NULL,
- UNIQUE INDEX unique_platform (os,os_version,arch),
- CONSTRAINT platform_pk PRIMARY KEY (id)
- ) ENGINE MyISAM"
- ) if !$output;
-
- $dbh->do (
- "CREATE TABLE IF NOT EXISTS project (
- id TINYINT UNSIGNED NOT NULL AUTO_INCREMENT,
- name VARCHAR(30) NOT NULL,
- UNIQUE INDEX unique_project (name),
- CONSTRAINT project_pk PRIMARY KEY (id)
- ) ENGINE MyISAM"
- ) if !$output;
-
- $dbh->do (
- "CREATE TABLE IF NOT EXISTS project_run (
- id MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT,
- project_id TINYINT UNSIGNED NOT NULL,
- branch_id TINYINT UNSIGNED NOT NULL,
- state_id TINYINT UNSIGNED NOT NULL,
- build_key BIGINT UNSIGNED NOT NULL,
- result ENUM('SUCCESS','FAILURE','ABORTED') NOT NULL,
- timestamp TIMESTAMP NOT NULL,
- duration TIME NOT NULL,
- UNIQUE INDEX unique_project_run (project_id,branch_id,state_id,build_key),
- CONSTRAINT project_run_pk PRIMARY KEY (id)
- ) ENGINE MyISAM"
- ) if !$output;
-
- # create index if not exists (Note: MariaDB versions from 2015 would support "CREATE INDEX IF NOT EXISTS")
- if ("0E0" eq $dbh->do ("SELECT INDEX_NAME, COLUMN_NAME FROM INFORMATION_SCHEMA.STATISTICS
- WHERE TABLE_CATALOG = \"def\" AND TABLE_SCHEMA = DATABASE() AND
- INDEX_NAME = \"by_timestamp\" AND TABLE_NAME = \"project_run\"")) {
- $dbh->do (
- "CREATE INDEX by_timestamp ON project_run (timestamp, state_id, project_id)"
- ) if !$output;
- }
- if ("0E0" eq $dbh->do ("SELECT INDEX_NAME, COLUMN_NAME FROM INFORMATION_SCHEMA.STATISTICS
- WHERE TABLE_CATALOG = \"def\" AND TABLE_SCHEMA = DATABASE() AND
- INDEX_NAME = \"by_state\" AND TABLE_NAME = \"project_run\"")) {
- $dbh->do (
- "CREATE INDEX by_state ON project_run (state_id, project_id, timestamp)"
- ) if !$output;
- }
-
- $dbh->do (
- "CREATE TABLE IF NOT EXISTS state (
- id TINYINT UNSIGNED NOT NULL AUTO_INCREMENT,
- name VARCHAR(30) NOT NULL,
- UNIQUE INDEX unique_state (name),
- CONSTRAINT state_pk PRIMARY KEY (id)
- ) ENGINE MyISAM"
- ) if !$output;
-
- $dbh->do (
- "CREATE TABLE IF NOT EXISTS testfunction (
- id MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT,
- testset_id SMALLINT UNSIGNED NOT NULL,
- name VARCHAR(100) CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL,
- UNIQUE INDEX unique_testfunction (testset_id,name),
- CONSTRAINT testfunction_pk PRIMARY KEY (id)
- ) ENGINE MyISAM"
- ) if !$output;
-
- $dbh->do (
- "CREATE TABLE IF NOT EXISTS testfunction_run (
- id INT UNSIGNED NOT NULL AUTO_INCREMENT,
- testfunction_id MEDIUMINT UNSIGNED NOT NULL,
- testset_run_id INT UNSIGNED NOT NULL,
- result ENUM('na','pass','fail','xpass','xfail','skip','bpass','bfail','bxpass','bxfail','bskip','tr_pass','tr_fail','tr_skip') NOT NULL DEFAULT 'na',
- duration SMALLINT UNSIGNED NOT NULL,
- CONSTRAINT testfunction_run_pk PRIMARY KEY (id)
- ) ENGINE MyISAM"
- ) if !$output;
-
- # create index if not exists (Note: MariaDB versions from 2015 would support "CREATE INDEX IF NOT EXISTS")
- if ("0E0" eq $dbh->do ("SELECT INDEX_NAME, COLUMN_NAME FROM INFORMATION_SCHEMA.STATISTICS
- WHERE TABLE_CATALOG = \"def\" AND TABLE_SCHEMA = DATABASE() AND
- INDEX_NAME = \"by_testset_run\" AND TABLE_NAME = \"testfunction_run\"")) {
- $dbh->do (
- "CREATE INDEX by_testset_run ON testfunction_run (testset_run_id DESC, result, testfunction_id)"
- ) if !$output;
- }
-
- # must not use UNIQUE for testrow.name as it may contain trailing spaces
- $dbh->do (
- "CREATE TABLE IF NOT EXISTS testrow (
- id MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT,
- testfunction_id MEDIUMINT UNSIGNED NOT NULL,
- name VARCHAR(500) CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL,
- INDEX testrow (testfunction_id,name),
- CONSTRAINT testrow_pk PRIMARY KEY (id)
- ) ENGINE MyISAM"
- ) if !$output;
-
- $dbh->do (
- "CREATE TABLE IF NOT EXISTS testrow_run (
- testrow_id MEDIUMINT UNSIGNED NOT NULL,
- testfunction_run_id INT UNSIGNED NOT NULL,
- result ENUM('pass','fail','xpass','xfail','skip','bpass','bfail','bxpass','bxfail','bskip') NOT NULL,
- CONSTRAINT testrow_run_pk PRIMARY KEY (testrow_id,testfunction_run_id)
- ) ENGINE MyISAM"
- ) if !$output;
-
- # create index if not exists (Note: MariaDB versions from 2015 would support "CREATE INDEX IF NOT EXISTS")
- if ("0E0" eq $dbh->do ("SELECT INDEX_NAME, COLUMN_NAME FROM INFORMATION_SCHEMA.STATISTICS
- WHERE TABLE_CATALOG = \"def\" AND TABLE_SCHEMA = DATABASE() AND
- INDEX_NAME = \"by_testfunction_run\" AND TABLE_NAME = \"testrow_run\"")) {
- $dbh->do (
- "CREATE INDEX by_testfunction_run ON testrow_run (testfunction_run_id DESC, result, testrow_id)"
- ) if !$output;
- }
-
- $dbh->do (
- "CREATE TABLE IF NOT EXISTS testset (
- id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
- project_id TINYINT UNSIGNED NOT NULL,
- name VARCHAR(50) NOT NULL,
- UNIQUE INDEX unique_testset (project_id,name),
- CONSTRAINT testset_pk PRIMARY KEY (id)
- ) ENGINE MyISAM"
- ) if !$output;
-
- $dbh->do (
- "CREATE TABLE IF NOT EXISTS testset_run (
- id INT UNSIGNED NOT NULL AUTO_INCREMENT,
- testset_id SMALLINT UNSIGNED NOT NULL,
- conf_run_id MEDIUMINT UNSIGNED NOT NULL,
- run TINYINT UNSIGNED NOT NULL,
- result ENUM('passed','failed','ipassed','ifailed') NOT NULL,
- duration SMALLINT UNSIGNED NOT NULL,
- total_passed SMALLINT UNSIGNED NOT NULL,
- total_failed SMALLINT UNSIGNED NOT NULL,
- total_skipped SMALLINT UNSIGNED NOT NULL,
- total_blacklisted SMALLINT UNSIGNED NOT NULL,
- CONSTRAINT testset_run_pk PRIMARY KEY (id)
- ) ENGINE MyISAM"
- ) if !$output;
-
- # create index if not exists (Note: MariaDB versions from 2015 would support "CREATE INDEX IF NOT EXISTS")
- if ("0E0" eq $dbh->do ("SELECT INDEX_NAME, COLUMN_NAME FROM INFORMATION_SCHEMA.STATISTICS
- WHERE TABLE_CATALOG = \"def\" AND TABLE_SCHEMA = DATABASE() AND
- INDEX_NAME = \"by_conf_run\" AND TABLE_NAME = \"testset_run\"")) {
- $dbh->do (
- "CREATE INDEX by_conf_run ON testset_run (conf_run_id DESC, run, result)"
- ) if !$output;
- }
- if ("0E0" eq $dbh->do ("SELECT INDEX_NAME, COLUMN_NAME FROM INFORMATION_SCHEMA.STATISTICS
- WHERE TABLE_CATALOG = \"def\" AND TABLE_SCHEMA = DATABASE() AND
- INDEX_NAME = \"by_testset\" AND TABLE_NAME = \"testset_run\"")) {
- $dbh->do (
- "CREATE INDEX by_testset ON testset_run (testset_id, result)"
- ) if !$output;
- }
- if ("0E0" eq $dbh->do ("SELECT INDEX_NAME, COLUMN_NAME FROM INFORMATION_SCHEMA.STATISTICS
- WHERE TABLE_CATALOG = \"def\" AND TABLE_SCHEMA = DATABASE() AND
- INDEX_NAME = \"by_run\" AND TABLE_NAME = \"testset_run\"")) {
- $dbh->do (
- "CREATE INDEX by_run ON testset_run (run, result)"
- ) if !$output;
- }
-
- $dbh->commit; # commit the changes if we get this far
- };
- if ($@) {
- print "Transaction aborted because $@";
- print "This will leave current data out from the database. Look for this in logs and figure out the problem.\n";
- eval { $dbh->rollback };
- } else {
- print "Tables created.\n";
- }
- $dbh->{AutoCommit} = 1; # disable transactions, if possible
-}
-
-sub sql
-{
- my $dbh = shift;
- my %options = %{(shift)};
- my %datahash = %{(shift)};
- my %db_status = %{(shift)};
- my $output = $options{sqloutput};
-
- # split the full project name into project (anything before first "_"), branch (anything between first and last "_") and state (anything after last "_")
- my ($projectname, $branchname, $statename) = $datahash{FULLDISPLAYNAME} =~ m/^(.*?)_(.*)_(.*)/;
-
- open(OUTPUT, ($output ? ">>$output" : ">&STDOUT"));
-
- $dbh->{AutoCommit} = 0; # enable transactions, if possible
- $dbh->{RaiseError} = 1;
- if (defined $options{reload}) {
- eval {
- # if 'reload' is defined in options, remove possible data from sql database before storing new data
- print "Deleting old data from database...\n";
- my $project_run_id;
- my $select;
- my $delete;
-
- # get project_run.id
- $select =
- "SELECT id FROM project_run
- WHERE
- project_id = (SELECT project.id FROM project WHERE project.name = \"$projectname\") AND
- branch_id = (SELECT branch.id FROM branch WHERE branch.name = \"$branchname\") AND
- state_id = (SELECT state.id FROM state WHERE state.name = \"$statename\") AND
- build_key = $datahash{BUILD_NUMBER}";
- my $ids = $dbh->selectall_arrayref($select, { Slice => {} });
- foreach my $row (@$ids) {
- $project_run_id = $row->{id};
- }
-
- # get conf_run.ids
- $select = "SELECT id FROM conf_run WHERE project_run_id = $project_run_id";
- $ids = $dbh->selectall_arrayref($select, { Slice => {} });
- foreach my $row (@$ids) {
- my $conf_run_id = $row->{id};
-
- # get testset_run.ids
- $select = "SELECT id FROM testset_run WHERE conf_run_id = $conf_run_id";
- my $ids = $dbh->selectall_arrayref($select, { Slice => {} });
- foreach my $row (@$ids) {
- my $testset_run_id = $row->{id};
-
- # get testfunction_run.ids
- $select = "SELECT id FROM testfunction_run WHERE testset_run_id = $testset_run_id";
- my $ids = $dbh->selectall_arrayref($select, { Slice => {} });
- foreach my $row (@$ids) {
- my $testfunction_run_id = $row->{id};
-
- # delete testrow_runs
- $delete = "DELETE FROM testrow_run WHERE testfunction_run_id = $testfunction_run_id";
- print "$delete\n" if $VERBOSE or $output;
- $dbh->do ($delete) or print "removal of old data in testrow_run failed: $!\n" if !$output;
- }
-
- # delete testfunction_runs
- $delete = "DELETE FROM testfunction_run WHERE testset_run_id = $testset_run_id";
- print "$delete\n" if $VERBOSE or $output;
- $dbh->do ($delete) or print "removal of old data in testfunction_run failed: $!\n" if !$output;
- }
-
- # delete testset_runs
- $delete = "DELETE FROM testset_run WHERE conf_run_id = $conf_run_id";
- print "$delete\n" if $VERBOSE or $output;
- $dbh->do ($delete) or print "removal of old data in testset_run failed: $!\n" if !$output;
-
- # delete phase_runs
- $delete = "DELETE FROM phase_run WHERE conf_run_id = $conf_run_id";
- print "$delete\n" if $VERBOSE or $output;
- $dbh->do ($delete) or print "removal of old data in phase_run failed: $!\n" if !$output;
- }
-
- # delete conf_runs
- $delete = "DELETE FROM conf_run WHERE project_run_id = $project_run_id";
- print "$delete\n" if $VERBOSE or $output;
- $dbh->do ($delete) or print "removal of old data in conf_run failed: $!\n" if !$output;
-
- # delete project_run
- $delete = "DELETE FROM project_run WHERE id = $project_run_id";
- print "$delete\n" if $VERBOSE or $output;
- $dbh->do ($delete) or print "removal of old data in project_run failed: $!\n" if !$output;
-
- $dbh->commit; # commit the changes if we get this far
- };
- if ($@) {
- warn "ERROR: Transaction aborted because $@";
- $error_count++;
- eval { $dbh->rollback };
- } else {
- print "Data deleted.\n";
- }
- }
-
- print "Storing data to database...\n";
-
- eval {
- # Default timestamp and duration to zero if cannot be read from the log
- my $timestamp = $datahash{TIMESTAMP} ? "\"$datahash{TIMESTAMP}\"" : "0";
- my $duration = $datahash{DURATION} ? "\"$datahash{DURATION}\"" : "0";
-
- ###
- # insert data into project tables
- #
-
- if ("0E0" eq $dbh->do ("SELECT name FROM project WHERE name = \"$projectname\"")) {
- my $query =
- "INSERT INTO project (name) VALUES (\"$projectname\")";
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into project failed: $!\n" if !$output;
- }
-
- if ("0E0" eq $dbh->do ("SELECT name FROM branch WHERE name = \"$branchname\"")) {
- my $query =
- "INSERT INTO branch (name) VALUES (\"$branchname\")";
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into branch failed: $!\n" if !$output;
- }
-
- if ("0E0" eq $dbh->do ("SELECT name FROM state WHERE name = \"$statename\"")) {
- my $query =
- "INSERT INTO state (name) VALUES (\"$statename\")";
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into state failed: $!\n" if !$output;
- }
-
- my $query =
- "INSERT INTO project_run (project_id, branch_id, state_id, build_key, result, timestamp, duration)
- SELECT project.id, branch.id, state.id, $datahash{BUILD_NUMBER}, \"$datahash{RESULT}\", $timestamp, $duration
- FROM project, branch, state
- WHERE project.name = \"$projectname\" AND
- branch.name = \"$branchname\" AND
- state.name = \"$statename\"";
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into project_run failed: $!\n" if !$output;
-
- ###
- # insert data into configuration tables
- #
-
- my $conf_counter = 0;
- foreach my $cfg (keys %{$datahash{cfg}}) {
- $conf_counter++;
- print "- $conf_counter/$conf_count: $cfg.\n";
- $db_status{current} = $conf_counter;
- $db_status{total} = $conf_count;
- sql_update_progress($dbh, \%db_status);
- if (!exists $cfg_table{$cfg}) {
- print "ERROR: Configuration '$cfg' not defined for this parser.\n";
- $error_count++;
- next;
- }
- my $host_os = $cfg_table{$cfg}{'host_os'};
- my $host_version = $cfg_table{$cfg}{'host_version'};
- my $host_arch = $cfg_table{$cfg}{'host_arch'};
- my $host_compiler = $cfg_table{$cfg}{'host_compiler'};
- my $target_os = $cfg_table{$cfg}{'target_os'};
- my $target_version = $cfg_table{$cfg}{'target_version'};
- my $target_arch = $cfg_table{$cfg}{'target_architecture'};
- my $target_compiler = $cfg_table{$cfg}{'target_compiler'};
- my $feature = $cfg_table{$cfg}{'feature'};
-
- my $forcesuccess_cfg = $datahash{cfg}{$cfg}{logdata}{FORCESUCCESS} ? $datahash{cfg}{$cfg}{logdata}{FORCESUCCESS} : 0;
- my $insignificant_cfg = $datahash{cfg}{$cfg}{logdata}{INSIGNIFICANT} ? $datahash{cfg}{$cfg}{logdata}{INSIGNIFICANT} : 0;
- my $total_autotests = $datahash{cfg}{$cfg}{testresults}{TOTAL_AUTOTESTS} ? $datahash{cfg}{$cfg}{testresults}{TOTAL_AUTOTESTS} : 0;
- my $timestamp_cfg = $datahash{cfg}{$cfg}{builddata}{TIMESTAMP} ? "\"$datahash{cfg}{$cfg}{builddata}{TIMESTAMP}\"" : "0";
- my $duration_cfg = $datahash{cfg}{$cfg}{builddata}{DURATION} ? "\"$datahash{cfg}{$cfg}{builddata}{DURATION}\"" : "0";
-
- if ("0E0" eq $dbh->do ("SELECT os, os_version, arch FROM platform WHERE os = \"$host_os\" AND os_version = \"$host_version\" AND arch = \"$host_arch\"")) {
- my $query =
- "INSERT INTO platform (os,os_version,arch) VALUES (\"$host_os\",\"$host_version\",\"$host_arch\")";
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into platform failed: $!\n" if !$output;
- }
-
- if ("0E0" eq $dbh->do ("SELECT os, os_version, arch FROM platform WHERE os = \"$target_os\" AND os_version = \"$target_version\" AND arch = \"$target_arch\"")) {
- my $query =
- "INSERT INTO platform (os,os_version,arch) VALUES (\"$target_os\",\"$target_version\",\"$target_arch\")";
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into platform failed: $!\n" if !$output;
- }
-
- if ("0E0" eq $dbh->do ("SELECT compiler FROM compiler WHERE compiler = \"$host_compiler\"")) {
- my $query =
- "INSERT INTO compiler (compiler) VALUES (\"$host_compiler\")";
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into compiler failed: $!\n" if !$output;
- }
-
- if ("0E0" eq $dbh->do ("SELECT compiler FROM compiler WHERE compiler = \"$target_compiler\"")) {
- my $query =
- "INSERT INTO compiler (compiler) VALUES (\"$target_compiler\")";
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into compiler failed: $!\n" if !$output;
- }
-
- if ("0E0" eq $dbh->do ("SELECT name FROM conf WHERE name = \"$cfg\"")) {
- my $query =
- "INSERT INTO conf (host_id, target_id, host_compiler_id, target_compiler_id, name, features) VALUES (
- (SELECT id FROM platform WHERE platform.os = \"$host_os\" AND platform.os_version = \"$host_version\" AND platform.arch = \"$host_arch\"),
- (SELECT id FROM platform WHERE platform.os = \"$target_os\" AND platform.os_version = \"$target_version\" AND platform.arch = \"$target_arch\"),
- (SELECT id FROM compiler WHERE compiler.compiler = \"$host_compiler\"),
- (SELECT id FROM compiler WHERE compiler.compiler = \"$target_compiler\"),
- \"$cfg\",
- \"$feature\" )";
- print OUTPUT "$query\")\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into conf failed: $!\n" if !$output;
- }
-
- my $query =
- "INSERT INTO conf_run (conf_id, project_run_id, forcesuccess, insignificant, result, total_testsets, timestamp, duration)
- SELECT conf.id, project_run.id, $forcesuccess_cfg, $insignificant_cfg, \"$datahash{cfg}{$cfg}{builddata}{RESULT}\", $total_autotests, $timestamp_cfg, $duration_cfg
- FROM conf, project_run
- WHERE conf.name = \"$cfg\" AND
- project_run.project_id = (SELECT id FROM project WHERE name = \"$projectname\") AND
- project_run.branch_id = (SELECT id FROM branch WHERE name = \"$branchname\") AND
- project_run.state_id = (SELECT id FROM state WHERE name = \"$statename\") AND
- project_run.build_key = $datahash{BUILD_NUMBER}";
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into conf_run failed: $!\n" if !$output;
- my $conf_run_id = $dbh->last_insert_id("", "", "conf_run", "");
-
- ###
- # insert data into testset tables
- #
-
- if (defined $datahash{cfg}{$cfg}{testresults}{all_tests}) {
- foreach my $testset_project (keys %{$datahash{cfg}{$cfg}{testresults}{all_tests}}) {
- foreach my $test (keys %{$datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}}) {
-
- if ($test eq "") {
- print "WARNING: Testset data not inserted into database because testset name is empty (in $cfg)\n";
- $warning_count++;
- } else {
-
- # insert testset project first if not yet in database
- if ("0E0" eq $dbh->do ("SELECT name FROM project WHERE name = \"$testset_project\"")) {
- my $query =
- "INSERT INTO project (name) VALUES (\"$testset_project\")";
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into project failed: $!\n" if !$output;
- }
-
- # insert testset connected to its parent project if not yet in database
- if ("0E0" eq $dbh->do ("SELECT testset.name FROM testset INNER JOIN project ON testset.project_id = project.id
- WHERE testset.name = \"$test\" AND project.name = \"$testset_project\"")) {
- my $query =
- "INSERT INTO testset (project_id, name) SELECT id, \"$test\" FROM project WHERE project.name = \"$testset_project\"";
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into testset failed: $!\n" if !$output;
- }
-
- # get testset project id for later use in INSERT queries
- my $select;
- my $testset_project_id;
- my $ids;
- $select = "SELECT id FROM project WHERE project.name = \"$testset_project\"";
- $ids = $dbh->selectall_arrayref($select, { Slice => {} });
- foreach my $row (@$ids) {
- $testset_project_id = $row->{id};
- }
-
- # insert testset_run; testset is connected to its parent project (e.g. QtConnectivity) while testset_run to project where run (e.g. Qt5)
- my $testset_result;
- if ($datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{overall} == 0) {
- $testset_result = $datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{insignificant} ? "\"ipassed\"" : "\"passed\"";
- } else {
- $testset_result = $datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{insignificant} ? "\"ifailed\"" : "\"failed\"";
- }
- my $query =
- "INSERT INTO testset_run (testset_id, conf_run_id, run, result, duration, total_passed, total_failed, total_skipped, total_blacklisted)
- SELECT testset.id,
- conf_run.id,
- $datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{runs},
- $testset_result,
- $datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{duration},
- $datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{passed},
- $datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{failed},
- $datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{skipped},
- $datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{blacklisted}
- FROM testset, conf_run
- WHERE testset.name = \"$test\" AND
- testset.project_id = $testset_project_id AND
- conf_run.id = $conf_run_id";
- print "$cfg - $testset_project - $test\n" if $VERBOSE;
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into testset_run failed: $!\n" if !$output;
- my $testset_run_id = $dbh->last_insert_id("", "", "testset_run", "");
-
- ###
- # insert data into testfunction tables
- #
-
- my $testrow_run_insert_counter = 0;
- my $testrow_run_insert_values = "";
-
- # insert into testfunction table if not yet in database (testfunction connected to its parent testset)
- foreach my $testfunction (keys %{$datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{testfunctions}}) {
- if ("0E0" eq $dbh->do ("SELECT testfunction.name FROM testfunction
- INNER JOIN testset ON testfunction.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- WHERE testfunction.name = \"$testfunction\" AND testset.name = \"$test\" AND project.name = \"$testset_project\"")) {
- my $query =
- "INSERT INTO testfunction (testset_id, name)
- SELECT id, \"$testfunction\" FROM testset
- WHERE testset.name = \"$test\" AND
- testset.project_id = $testset_project_id";
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into testfunction failed: $!\n" if !$output;
- }
- }
-
- # insert into testfunction_run table
- foreach my $testfunction (keys %{$datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{testfunctions}}) {
- my $testfunction_result = "na"; # assume the testfunction result is not available
- if (defined $datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{testfunctions}{$testfunction}{result}) {
- $testfunction_result = $datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{testfunctions}{$testfunction}{result};
- } else {
- # calculate the result from the testrow results, if any (use just the plain pass/fail/skip values)
- my $testrow_result = "na"; # assume the testrow result is not available
- my $result = "tr_pass"; # calculate the 'worst' result from the testrow results
- foreach my $testrow (keys %{$datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{testfunctions}{$testfunction}{DataTags}}) {
- $testrow_result = $datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{testfunctions}{$testfunction}{DataTags}{$testrow}{result};
- # "skip" to overwrite "pass"
- if ($result eq "tr_pass") {
- $result = "tr_skip" if ($testrow_result eq "skip" or $testrow_result eq "bskip");
- }
- # "fail" to overwrite others
- if ($result ne "tr_fail") {
- $result = "tr_fail" if ($testrow_result eq "fail" or $testrow_result eq "bfail" or $testrow_result eq "xpass" or $testrow_result eq "bxpass");
- }
- }
- if ($testrow_result eq "na") {
- $testfunction_result = "na"; # testfunction result is not available because testrows do not have any result
- } else {
- $testfunction_result = $result; # testfunction result calculated from the testrow results
- }
- }
-
- # get testfunction.id for INSERT query below
- my $testfunction_id;
- my $select =
- "SELECT testfunction.id
- FROM testfunction
- INNER JOIN testset ON testfunction.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- WHERE testfunction.name = \"$testfunction\" AND
- testset.name = \"$test\" AND
- project.name = \"$testset_project\"";
- my $ids = $dbh->selectall_arrayref($select, { Slice => {} });
- foreach my $row (@$ids) {
- $testfunction_id = $row->{id};
- }
-
- # insert testfunction_run
- my $testfunction_run_insert_values =
- "($testfunction_id, $testset_run_id, \"$testfunction_result\", $datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{testfunctions}{$testfunction}{duration})";
- my $query = "INSERT INTO testfunction_run (testfunction_id, testset_run_id, result, duration) VALUES $testfunction_run_insert_values";
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into testfunction_run failed: $!\n" if !$output;
- my $testfunction_run_id = $dbh->last_insert_id("", "", "testfunction_run", "");
-
- ###
- # insert into testrow tables
- #
-
- #insert into testrow table
- foreach my $testrow (keys %{$datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{testfunctions}{$testfunction}{DataTags}}) {
-
- # certain characters must be escaped for SQL
- my $testrow_sql_escaped;
- my $testrow_sql_wildcard;
- $testrow_sql_escaped = escape($testrow);
- # testrow.name is checked with WHERE LIKE (instead of '=') so the SQL wildcard characters must be escaped
- $testrow_sql_wildcard = escape_sql_wildcard($testrow);
-
- # insert testrow connected to its parent testfunction if not yet in database (must use 'LIKE' instead of '=' for comparing testrow.name because of trailing spaces)
- if ("0E0" eq $dbh->do ("SELECT testrow.name FROM testrow
- INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id
- INNER JOIN testset ON testfunction.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- WHERE testrow.name LIKE \"$testrow_sql_wildcard\" AND testfunction.name = \"$testfunction\" AND testset.name = \"$test\" AND project.name = \"$testset_project\"")) {
- my $query =
- "INSERT INTO testrow (testfunction_id, name)
- SELECT id, \"$testrow_sql_escaped\" FROM testfunction
- WHERE testfunction.name = \"$testfunction\" AND
- testfunction.testset_id = (
- SELECT id FROM testset
- WHERE testset.name = \"$test\" AND
- testset.project_id = $testset_project_id)";
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into testrow failed: $!\n" if !$output;
- }
- } # end of foreach $testrow
-
- # insert into testrow_run table (done in second loop to optimize INSERT performance by collecting values into a bunch)
- foreach my $testrow (keys %{$datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{testfunctions}{$testfunction}{DataTags}}) {
-
- # certain characters must be escaped for SQL
- my $testrow_sql_escaped;
- my $testrow_sql_wildcard;
- $testrow_sql_escaped = escape($testrow);
- # testrow.name is checked with WHERE LIKE (instead of '=') so the SQL wildcard characters must be escaped
- $testrow_sql_wildcard = escape_sql_wildcard($testrow);
-
- my $testrow_result;
- if (defined $datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{testfunctions}{$testfunction}{DataTags}{$testrow}{result}) {
- $testrow_result = $datahash{cfg}{$cfg}{testresults}{all_tests}{$testset_project}{$test}{testfunctions}{$testfunction}{DataTags}{$testrow}{result};
- } else {
- $testrow_result = "na"; # testfunction result is missing
- }
-
- ## don't save the "pass" results (performance issue) if related option set (Note: all the testfunction_runs must be saved to get their ids)
- if (!(defined $options{skiptestrowpass} and $testrow_result eq "pass")) {
-
- # get testrow.id for INSERT query below
- # (must use 'LIKE' instead of '=' for comparing testrow.name because of trailing spaces)
- my $testrow_id;
- my $select =
- "SELECT testrow.id
- FROM testrow
- INNER JOIN testfunction ON testrow.testfunction_id = testfunction.id
- INNER JOIN testset ON testfunction.testset_id = testset.id
- INNER JOIN project ON testset.project_id = project.id
- WHERE testrow.name LIKE \"$testrow_sql_wildcard\" AND
- testfunction.name = \"$testfunction\" AND
- testset.name = \"$test\" AND
- project.name = \"$testset_project\"";
- my $ids = $dbh->selectall_arrayref($select, { Slice => {} });
- foreach my $row (@$ids) {
- $testrow_id = $row->{id};
- }
-
- # collect values
- $testrow_run_insert_counter++;
- $testrow_run_insert_values .= "," if $testrow_run_insert_counter > 1;
- $testrow_run_insert_values .= "($testrow_id, $testfunction_run_id, \"$testrow_result\")";
- print "$cfg - $testset_project - $test - $testfunction - $testrow\n" if $VERBOSE;
-
- } # end of if defined skiptestrowpass
-
- # insert a bunch of values for better performance
- if ($testrow_run_insert_counter > $SQLINSERTVALUECOUNT) {
- my $query = "INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) VALUES $testrow_run_insert_values";
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into testrow_run failed: $!\n" if !$output;
- $testrow_run_insert_counter = 0;
- $testrow_run_insert_values = "";
- }
-
- } # end of foreach $testrow
-
- } # end of foreach $testfunction
-
- # insert the testrow_runs (those remaining from the inner loop above) by each testset; in a bunch for better performance
- if ($testrow_run_insert_values ne "") {
- my $query = "INSERT INTO testrow_run (testrow_id, testfunction_run_id, result) VALUES $testrow_run_insert_values";
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into testrow_run failed: $!\n" if !$output;
- }
-
- } # end of if else
-
- } # end of foreach $test
- } # end of foreach $testset_project
- } # end of if defined {all_tests}
-
- ###
- # insert data into phase tables
- #
-
- if (defined $datahash{cfg}{$cfg}{phases}) {
- foreach my $phase (keys(%{$datahash{cfg}{$cfg}{phases}})) {
- print "$cfg - $phase\n" if $VERBOSE;
- my $parent = $datahash{cfg}{$cfg}{phases}{$phase}{parent} ? $datahash{cfg}{$cfg}{phases}{$phase}{parent} : "";
- my $start = $datahash{cfg}{$cfg}{phases}{$phase}{start} ? $datahash{cfg}{$cfg}{phases}{$phase}{start} : "";
- my $end = $datahash{cfg}{$cfg}{phases}{$phase}{end} ? $datahash{cfg}{$cfg}{phases}{$phase}{end} : "";
-
- if ("0E0" eq $dbh->do ("SELECT name FROM phase WHERE name = \"$phase\"")) {
- my $query =
- "INSERT INTO phase (name) VALUES (\"$phase\")";
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into phase failed: $!\n" if !$output;
- }
-
- my $query =
- "INSERT INTO phase_run (phase_id, conf_run_id, start, end)
- SELECT phase.id, conf_run.id, \"$start\", \"$end\"
- FROM phase, conf_run
- WHERE phase.name = \"$phase\" AND
- conf_run.id = $conf_run_id";
- print OUTPUT "$query\n\n" if $VERBOSE or $output;
- $dbh->do ($query) or print "insert into phase_run failed: $!\n" if !$output;
- }
- }
-
- }
- $dbh->commit; # commit the changes if we get this far
- };
- if ($@) {
- warn "ERROR: Transaction aborted because $@";
- $error_count++;
- # now rollback to undo the incomplete changes
- # but do it in an eval{} as it may also fail
- eval { $dbh->rollback };
- # add other application on-error-clean-up code here
- } else {
- print "Data committed to database.\n";
- }
- $dbh->{AutoCommit} = 1; # disable transactions, if possible
-
- close OUTPUT;
-}
-
-sub check_exists_and_openable
-{
- my $file = shift;
- open my $fh, "<", $file or do {
- print "$0: open $file: $!\n";
- return 0;
- };
- close $fh or print "$0: close $file: $!\n";
- return 1;
-}
-
-sub get_all_folders
-{
- my $workdir = shift;
- my $timelimit = shift;
- my @folders;
-
- for my $dir (grep { -d catdir($workdir,$_) } read_dir($workdir)) {
- for my $dir2 (grep { -d catdir($workdir,$dir,$_) } read_dir(catdir($workdir,$dir))) {
- my $finaldir = catdir($workdir,$dir,$dir2);
- print "$finaldir\n";
- if ($finaldir !~ m/(latest-success|latest)/) {
- next if (folder_too_old($finaldir, $timelimit));
- push(@folders, $finaldir);
- }
- }
- }
- return \@folders;
-}
-
-sub folder_too_old
-{
- my $folder = shift;
- my $timelimit = shift;
-
- if (defined $timelimit) {
- my $modify_time = epoch_s_to_iso(get_modify_time($folder));
- if ($modify_time < $timelimit) {
- print "$folder older than specified time limit ($timelimit)\n" if $VERBOSE;
- return 1;
- }
- }
- return 0;
-}
-
-sub check_single_folder
-{
- my $workdir = shift;
- my @folders = ();
-
- push (@folders, $workdir) if (-d $workdir);
- return \@folders;
-}
-
-sub sql_set_rebuild
-{
- my $dbh = shift;
- my $rebuild = shift;
- my $timestamp = shift;
-
-}
-
-sub sql_update_progress
-{
- my $dbh = shift;
- my %table = %{(shift)};
-
- $dbh->do ("UPDATE db_status SET refreshed=\"$table{date}\", refresh_in_progress=$table{rebuild}, logs_current=$table{current}, logs_total=$table{total};");
-}
-
-sub run
-{
- my %options = process_arguments(@ARGV);
-
- my @inputfolders;
-
- my $start_time = time();
-
- if ($options{method} =~ m/^full$/) {
- @inputfolders = @{(get_all_folders($options{workpath}, $options{datelimit}))};
- }
- elsif ($options{method} =~ m/^single$/) {
- @inputfolders = @{(check_single_folder($options{workpath}))};
- }
-
- my $dbh = sql_connect();
-
- sql_drop_tables($dbh) if (defined $options{delete});
- sql_create_tables($dbh, \%options);
-
- my %db_status = (
- date => DateTime->now(),
- rebuild => 1,
- current => 0,
- total => 0,
- );
-
- #loop through each build folder one by one
- for my $index (0 .. $#inputfolders) {
- my $inputfolder = $inputfolders[$index];
- $db_status{current} = $index+1;
- $db_status{total} = $#inputfolders+1;
-
- print "Processing $inputfolder...\n";
- next if ($inputfolder =~ m/qt_4/i); # exception: exclude Qt_4.8
-
- sql_update_progress($dbh, \%db_status);
- my $statefile = catfile($inputfolder, $BUILDSTATEFILE);
- my $mainlogfile = catfile($inputfolder, $BUILDLOGFILE);
-
- next if (!check_exists_and_openable ($statefile));
- next if (!check_exists_and_openable ($mainlogfile));
-
- print "Needed main log files exists.\n";
-
- my $modify_time = epoch_s_to_iso(get_modify_time($statefile));
- my $statehash = read_json(uncompress_to_scalar($statefile));
- my $logcontent = uncompress_to_scalar($mainlogfile);
-
- my %datahash = %{read_build_data($statehash, $inputfolder)};
- $datahash{TIMESTAMP} = $modify_time if ($datahash{TIMESTAMP} eq "");
-
- print "-----------------------------------------------\n";
- print "Build Summary:\n";
- print "Name: $datahash{FULLDISPLAYNAME}\n";
- print "Build number: $datahash{BUILD_NUMBER}\n";
- print "Result: $datahash{RESULT}\n";
- print "Build date: $datahash{TIMESTAMP}\n";
- sql($dbh, \%options, \%datahash, \%db_status);
- print "$inputfolder processed.\n";
- }
- $db_status{rebuild} = 0;
- sql_update_progress($dbh, \%db_status);
- sql_disconnect($dbh);
- print "-----------------------------------------------\n";
- print "Parsing errors: $error_count\n";
- print "Parsing warnings: $warning_count\n";
- print "Parsing infos: $info_count\n";
- print "Done (duration: ", strftime("\%H:\%M:\%S", gmtime(time() - $start_time)), ")\n\n";
-
- return;
-}
-run( @ARGV ) unless caller;
diff --git a/non-puppet/qtmetrics2/testset_search.php b/non-puppet/qtmetrics2/testset_search.php
deleted file mode 100644
index e9d42e5..0000000
--- a/non-puppet/qtmetrics2/testset_search.php
+++ /dev/null
@@ -1,65 +0,0 @@
-<?php
-#############################################################################
-##
-## Copyright (C) 2015 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the Quality Assurance module of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-/**
- * Testset autocomplete search
- * @since 25-06-2015
- * @author Juha Sippola
- */
-
-header('Content-Type: application/json');
-require 'src/Factory.php';
-
-// Get the filter and make database search
-if (isset($_GET['term'])) {
- $list = array();
- $rows = Factory::getTestsetsFiltered($_GET['term']);
- foreach ($rows as $row) {
- foreach ($row as $key => $value) {
- if ($key === 'name')
- $name = $value;
- else
- $project = $value;
- }
- $list[] = $name . ' (in ' . $project . ')'; // the separator must match with that used in index.php
- }
- // Return list as json string
- echo json_encode($list);
-
-// Return empty string if filter not set
-} else {
- echo json_encode([]);
-}
-
-?>
diff --git a/non-puppet/testresults.qt.io/README.txt b/non-puppet/testresults.qt.io/README.txt
deleted file mode 100644
index bd147bf..0000000
--- a/non-puppet/testresults.qt.io/README.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-This file contains static setup files for testresults.qt.io host.
-Alternatively, if you are reading this README.txt file _on_ testresults.qt.io,
-it was copied from the git://code.qt.io/qtqa/sysadmin repository.
-
-DEPLOYMENT
-==========
-
-May be deployed by:
-
- scp -r ~/path/to/sysadmin/testresults.qt.io/* <username>@testresults.qt.io:/var/www/testresults
-
-Nothing automatically enforces synchronization between the git repo and the web server,
-so please take care to keep things synchronized yourself.
diff --git a/non-puppet/testresults.qt.io/cgi-bin/ci-api b/non-puppet/testresults.qt.io/cgi-bin/ci-api
deleted file mode 100755
index 9452b02..0000000
--- a/non-puppet/testresults.qt.io/cgi-bin/ci-api
+++ /dev/null
@@ -1,116 +0,0 @@
-#!/usr/bin/env perl
-#############################################################################
-##
-## Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
-## Contact: http://www.qt-project.org/legal
-##
-## This file is part of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and Digia. For licensing terms and
-## conditions see http://qt.digia.com/licensing. For further information
-## use the contact form at http://qt.digia.com/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 as published by the Free Software
-## Foundation and appearing in the file LICENSE.LGPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU Lesser General Public License version 2.1 requirements
-## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## In addition, as a special exception, Digia gives you certain additional
-## rights. These rights are described in the Digia Qt LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## GNU General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU
-## General Public License version 3.0 as published by the Free Software
-## Foundation and appearing in the file LICENSE.GPL included in the
-## packaging of this file. Please review the following information to
-## ensure the GNU General Public License version 3.0 requirements will be
-## met: http://www.gnu.org/copyleft/gpl.html.
-##
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-# This is a simple script to proxy Qt CI remote API requests from testresults.qt.io
-# to the host on which the integrator is running (which is usually not Internet-accessible).
-#
-# This is essentially a one-off special case of Apache's mod_proxy.
-use strict;
-use warnings;
-
-use CGI;
-use LWP::UserAgent;
-use URI;
-
-# Real URI of the CI remote API.
-# In our case, we expect that the CI host has connected to us and forwarded a port
-# via e.g. "ssh -R 7181:127.0.0.1:7181 -N qtintegration@testresults.qt.io",
-# hence 127.0.0.1 for the host.
-my $PROXY_TO = 'http://127.0.0.1:7181/api/json';
-
-# Headers we permit proxying from client to server
-my @PERMITTED_CLIENT_HEADERS = qw(
- Accept
- Accept-Charset
- Accept-Encoding
- User-Agent
-);
-
-# Headers we permit proxying from server to client
-my @PERMITTED_SERVER_HEADERS = qw(
- Access-Control-Allow-Origin
- Cache-Control
- Client-Date
- Content-Encoding
- Content-Length
- Content-Type
- Expires
-);
-
-# Entry point
-sub run
-{
- # we proxy the query string unmodified, and the permitted subset of headers both ways.
-
- my $uri = URI->new( $PROXY_TO );
- $uri->query( $ENV{ QUERY_STRING } );
-
- my %req_headers;
- foreach my $http_header (@PERMITTED_CLIENT_HEADERS) {
- my $val = CGI->http( $http_header );
- if (defined $val) {
- $req_headers{ $http_header } = $val;
- }
- }
-
- my $ua = LWP::UserAgent->new();
- my $response = $ua->get( $uri, %req_headers );
-
- my %resp_headers = (
- -status => $response->status_line()
- );
- foreach my $http_header (@PERMITTED_SERVER_HEADERS) {
- my $val = $response->header( $http_header );
- if (defined $val) {
- # note leading - character, see 'perldoc CGI'
- $resp_headers{ "-$http_header" } = $val;
- }
- }
-
- print CGI->header( %resp_headers )
- .$response->content();
-
- return;
-}
-
-run() unless caller;
-1;
diff --git a/non-puppet/testresults.qt.io/ci/.htaccess b/non-puppet/testresults.qt.io/ci/.htaccess
deleted file mode 100644
index a809a54..0000000
--- a/non-puppet/testresults.qt.io/ci/.htaccess
+++ /dev/null
@@ -1,24 +0,0 @@
-# Source: git://code.qt.io/qtqa/sysadmin
-Options +Indexes
-IndexOptions +FancyIndexing
-IndexStyleSheet /css/qt.css
-HeaderName /include/ci-fancy-index-header.html
-ReadmeName /include/ci-fancy-index-footer.html
-
-<FilesMatch "\.txt\.gz$">
- # There is no point to double-gzipping already-gzipped files.
- # Just serve them up directly as type text/plain, encoding gzip.
- # That will allow them to be viewed directly in most browsers.
- SetEnv no-gzip 1
- AddType text/plain .gz
- AddEncoding gzip .gz
- AddCharset utf-8 .gz
-</FilesMatch>
-
-<FilesMatch "\.json\.gz$">
- # Same applies for gzipped json, but it's a different mime type.
- SetEnv no-gzip 1
- AddType application/json .gz
- AddEncoding gzip .gz
- AddCharset utf-8 .gz
-</FilesMatch>
diff --git a/non-puppet/testresults.qt.io/ci/status/css/ci-status.css b/non-puppet/testresults.qt.io/ci/status/css/ci-status.css
deleted file mode 100644
index 09efd88..0000000
--- a/non-puppet/testresults.qt.io/ci/status/css/ci-status.css
+++ /dev/null
@@ -1,138 +0,0 @@
-/*
- Source: git://code.qt.io/qtqa/sysadmin
- Note: this CSS attempts to track the style from wiki.qt-project.org
-*/
-html {
- background: #e3e3e2 url('/img/page_bg.png') repeat-x 0 0;
-}
-#p-logo a, #p-logo a:hover {
- text-decoration: none;
-}
-#p-logo img {
- vertical-align: middle;
-}
-h1, h2, h3, h4, h5, h6 {
- font-family: Helvetica, Arial, sans-serif;
- font-weight: normal;
- color: black;
- background: none;
- margin: 0;
- overflow: hidden;
- padding-top: .5em;
- padding-bottom: .17em;
-}
-h1 { font-size: 300%; }
-body {
- font-family: Verdana, sans-serif;
-}
-/* scale back up to a sane default */
-div#globalWrapper {
- background-clip: padding-box;
- background-color: #ffffff;
- border-radius: 9px;
- box-shadow: 0 0 4px #DDDDDD;
- margin: 0 auto;
- padding: 30px 30px 30px;
- max-width: 1350px;
- min-width: 900px;
- font-size: 90%;
-}
-ul {
- line-height: 1.5em;
- list-style-type: square;
- margin: .3em 0 0 0;
- padding: 0 0 0 1em;
- list-style: none;
-}
-ol {
- line-height: 1.5em;
- margin: .3em 0 0 3.2em;
- padding: 0;
- list-style-image: none;
-}
-li {
- margin-bottom: .1em;
-}
-ul li, ol ul li {
- background: url('/img/bullet.png') no-repeat 2px 8px transparent;
- padding: 0 0 0 18px;
-}
-ol li {
- background: none;
-}
-
-a.enabled {
- font-weight: bold;
-}
-
-.project .timestamp, .log_message .timestamp {
- font-style: italic;
- color: grey;
-}
-
-.log_message .message_prefix {
- font-weight: bold;
-}
-
-pre {
- font-family: monospace;
- background: #f0f0f0;
- border: 1px dashed #bbbbbb;
- padding: .6em;
-}
-
-#updatebox {
- position: fixed;
- z-order: 1;
- bottom: 1em;
- right: 10em;
- background: white;
- padding: .6em .7em .6em .7em;
- -moz-box-shadow: 2px 2px 3px #000;
- -webkit-box-shadow: 2px 2px 3px #000;
- box-shadow: 2px 2px 3px #000;
- /* For IE 8 */
- -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#000000')";
- /* For IE 5.5 - 7 */
- filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#000000');
- border: 1px solid #eeeeee;
-}
-
-#updatebox p {
- padding: 0em;
- margin: 0em;
-}
-
-a.action {
- text-decoration: underline;
- color: blue;
- cursor: pointer;
-}
-
-a.action:hover {
- color: red;
-}
-
-li.expandable {
- background: none;
-}
-
-.expander {
- color: green;
- font-weight: bold;
- cursor: pointer;
-}
-
-.expander:hover {
- color: white;
- background: green;
-}
-
-.disabled-expander {
- font-weight: bold;
- color: #99cc99;
-}
-
-.show_loading_cursor {
- cursor: wait;
-}
diff --git a/non-puppet/testresults.qt.io/ci/status/index.html b/non-puppet/testresults.qt.io/ci/status/index.html
deleted file mode 100644
index 626109a..0000000
--- a/non-puppet/testresults.qt.io/ci/status/index.html
+++ /dev/null
@@ -1,413 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="utf-8">
- <title>Qt CI Status</title>
- <link rel="stylesheet" href="css/ci-status.css" type="text/css">
- </head>
- <body>
- <div id="globalWrapper" class="show_loading_cursor">
- <div id="header">
- <div id="p-logo">
- <h1 id="firstheading">
- <img src="/img/qt-logo.png" alt="The Qt Project" />
- Continuous Integration Status
- </h1>
- </div>
- </div>
-
- <noscript><b>JavaScript is required</b> - sorry, you will have to use a JavaScript-enabled web browser to view this page!</noscript>
-
- <div id="errorbox"></div>
-
- <div class="hide_until_load" style="display:none">
- <h2>Projects:</h2>
- <p>sort by: <a class="action action_sort_by enabled">name</a> - <a class="action action_sort_by">date</a></p>
- <div id="statusbox"></div>
-
- <h2>Log:</h2>
- <div id="logbox"></div>
-
- <div id="updatebox">
- <p><span class="loading" style="display:none">loading... - </span>last updated: <span id="updated_timestamp">never</span> - <a class="action action_refresh">refresh</a></p>
- </div>
- </div>
-
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
- <script src="js/jquery.timeago.js"></script>
- <script>
- /* returns value wrapped in the given CSS class */
- function klass(_klass, value) {
- var span = $('<span>');
- span.attr('class', _klass);
- span.append(value);
- return span;
- }
-
- /* returns an activated timeago timestamp element */
- function timestamp(when) {
- return $('<span>', {title: when, "class": "timestamp"}).timeago();
- }
-
- /*
- Returns an expander ([+] / [-]);
- when clicked, the elements matched by $(selector, ctx) will be toggled.
- */
- function expander(selector, ctx) {
- var out = $('<span class="expander">[+]</span>');
- out.click(function(e) {
- $(selector, ctx).slideToggle();
- var target = $(e.target);
- if (target.hasClass('expanded')) {
- target.removeClass('expanded');
- target.empty().append('[+]');
- } else {
- target.addClass('expanded');
- target.empty().append('[–]');
- }
- });
- return out;
- }
-
- /* returns a map of all known qtci_id under the given node */
- function findKnownIds(node) {
- var key = 'qtci_id';
- var out = {};
- $('[' + key + ']', node).each(
- function() {
- out[$(this).attr(key)] = true;
- }
- );
- return out;
- }
-
- /*
- Returns the given value, perhaps wrapped in a <pre> element if it
- looks like preformatted text (e.g. contains a newline character)
- */
- function maybePre(value) {
- if (value == undefined || value == null) {
- return '(null)';
- }
- var text = value.toString();
- if (text.indexOf("\n") != -1) {
- var pre = $('<pre>');
- pre.append(text);
- return pre;
- }
- return text;
- }
-
- /*
- Given a javascript object 'o', constructs a "tree" (expandable list of lists)
- inside of 'into', up to the given depth.
- */
- function buildObjectTree(into, o, depth) {
- if (depth == undefined) {
- depth = 5;
- }
- var is_array = $.isArray(o);
-
- var created;
- var list = $('ul', into).first();
- if (list.length == 0) {
- list = $('ol', into).first();
- }
- if (list.length == 0) {
- var list_type = is_array ? 'ol' : 'ul';
- list = $('<' + list_type + '>');
- list.attr('class', 'object_tree');
- created = true;
- }
-
- if (depth == 0) {
- list.append($('<li class="object_tree">(... more data; truncated)</li>'));
- return true;
- }
-
- var count = 0;
- for (var key in o) {
- if (!o.hasOwnProperty(key)) {
- continue;
- }
- ++count;
- var value = o[key];
- var li = $('<li class="object_tree">');
- if (!is_array) {
- li.append(klass('object_key', key));
- li.append(': ');
- }
- if ($.isPlainObject(value) || $.isArray(value)) {
- buildObjectTree(li, value, depth-1);
- if (!is_array) {
- $('> .object_tree', li).hide();
- li.prepend(' ');
- li.prepend(expander('> .object_tree', li));
- li.addClass('expandable');
- }
- } else {
- li.append(maybePre(value));
- }
- list.append(li);
- }
-
- if (count != 0 && created) {
- into.append(list);
- }
-
- return (count != 0);
- }
-
- /* update/show new logs */
- function showLogs(into, logs) {
- if (!logs) {
- return;
- }
-
- var known_ids = findKnownIds(into);
- for (var key in logs) {
- if (!logs.hasOwnProperty(key)) {
- continue;
- }
- var log = logs[key];
- var id = log.id;
- /* don't mess with any log messages already known */
- if (id == undefined || known_ids[id]) {
- continue;
- }
-
- var p = $('<p class="log_message"/>');
-
- // split into "[message prefix] and message body" if possible
- var message_parts = log.message.split('] ');
- if (message_parts.length == 2) {
- p.append(klass('message_prefix', message_parts[0] + ']'));
- p.append(' ' + message_parts[1]);
- } else {
- p.append(log.message);
- }
-
- p.append(' - ');
- p.append(timestamp(log.when));
- p.attr('qtci_id', id);
- p.hide();
- p.fadeIn('slow');
- into.prepend(p);
- }
- }
-
- /* update/show project state history */
- function showHistory(into, history) {
- var ul = $('ul', into).first();
- if (ul.length == 0) {
- ul = $('<ul class="history">');
- into.append(ul);
- }
-
- var known_ids = findKnownIds(into);
- for (var key in history) {
- if (!history.hasOwnProperty(key)) {
- continue;
- }
- var state = history[key];
- var id = state.id;
- if (id == undefined || known_ids[id]) {
- continue;
- }
-
- var li = $('<li class="state">' + state.name + " - </li>");
- li.append(timestamp(state.when));
- li.attr( 'qtci_id', state.id );
-
- var stash_div = $('<div class="stash">');
- stash_div.hide();
- li.addClass('expandable');
- li.prepend(' ');
- if (buildObjectTree(stash_div, state.stash)) {
- li.prepend(expander(stash_div));
- li.append(stash_div);
- } else {
- li.prepend(klass('disabled-expander', '[–]'));
- }
-
- ul.prepend(li);
- }
- }
-
- /* update/show a project */
- function showProject(into, project) {
- var created = false;
- var row = $('[qtci_project="' + project.name + '"]', into);
- var stash_div;
- var history_div;
- var toplevel;
-
- if (row.length == 0) {
- row = $('<div class="project">');
- row.attr( 'qtci_project', project.name );
- row.attr( 'qtci_id', project.state.id );
- row.hide();
- created = true;
- toplevel = $('<p>');
- toplevel.append(expander('> div', row));
- toplevel.append(' <span class="project_state"/>');
- stash_div = $('<div class="stash">');
- stash_div.hide();
- history_div = $('<div class="history">Project history:</div>');
- history_div.hide();
- } else {
- if (row.attr( 'qtci_id' ) == project.state.id) {
- return; // nothing to be done
- }
- toplevel = $('p', row).first();
- stash_div = $('div.stash', row).first();
- // if id changed then stash is invalid
- stash_div.empty();
- history_div = $('div.history', row).first();
- }
-
- $('span.project_state', toplevel)
- .empty()
- .append(project.name + ": " + project.state.name + " - ")
- .append(timestamp(project.state.when));
-
- buildObjectTree(stash_div, project.state.stash);
- showHistory(history_div, project.history);
-
- if (created) {
- row.append(toplevel);
- row.append(stash_div)
- row.append(history_div)
- into.append(row);
- row.fadeIn('slow');
- }
- }
-
- /*
- sort helper; given a project node, returns the value which should be used for
- comparisons against other nodes.
- */
- var SORT_BY = 'name';
- function getSortValue(elem) {
- if (SORT_BY == 'name') {
- return $(elem).attr('qtci_project');
- }
- if (SORT_BY == 'date') {
- return $('span.timestamp', elem).attr('title');
- }
- alert("error: cannot sort by " + SORT_BY);
- }
-
- /* Sorts the projects (divs of class "project") within the given container */
- function sortProjects(container) {
- var projects = container.children('div.project').toArray();
- var ascending = (SORT_BY == 'name');
- projects.sort(function(a,b){
- var val_a = getSortValue(a);
- var val_b = getSortValue(b);
- if (val_a == val_b) {
- return 0;
- }
- var mult = ascending ? 1 : -1;
- return mult*((val_a > val_b) ? 1 : -1);
- });
- $.each(projects, function(idx,item) { container.append(item); } );
- }
-
- /*
- Show all the data; 'data' is an object returned from /api/json on qt-jenkins-integrator.pl.
- */
- function showData(data) {
- var statusbox = $('#statusbox');
-
- var updated_timestamp = $('#updated_timestamp');
- updated_timestamp.empty();
- updated_timestamp.append( timestamp(data.when) );
-
- for (var project_name in data.project) {
- if (!data.project.hasOwnProperty(project_name)) {
- continue;
- }
- var this_project = data.project[project_name];
- this_project.name = project_name;
- showProject(statusbox, this_project);
- }
-
- sortProjects( statusbox );
-
- showLogs( $('#logbox'), data.logs );
- }
-
- /*
- Update data.
- If interval is given, updates every 'interval' milliseconds.
- Otherwise, does a one-shot update.
- last_id is maintained as the last known ID; we only fetch
- data newer than this.
- */
- var last_id = 0;
- function update(interval) {
- $('.loading').show();
- $('#globalWrapper').addClass('show_loading_cursor');
- var url = "http://testresults.qt.io/cgi-bin/ci-api";
- var promise = $.getJSON(url + '?since_id=' + last_id)
- .fail(
- function(req, text, exception) {
- var errorbox = $('#errorbox');
- if (exception) {
- text = text + "; " + exception.toString();
- }
- if (req.responseText) {
- text = text + "; " + req.responseText;
- }
-
- errorbox.hide();
- errorbox.empty();
-
- errorbox.append( 'error fetching data from ' + url + ': ' + text + ' (' );
- errorbox.append( timestamp( new Date() ) );
- errorbox.append( ')' );
- errorbox.fadeIn( 'slow' );
- }
- )
- .done(
- function(data) {
- $('#errorbox').fadeOut( 'slow' );
- if (data.last_id) {
- last_id = data.last_id;
- }
- $('.hide_until_load').fadeIn('slow').attr('class', undefined);
- showData( data );
- }
- )
- .always(
- function() {
- $('.loading').hide();
- $('#globalWrapper').removeClass('show_loading_cursor');
- if (interval) {
- setTimeout( function() { update(interval); }, interval );
- }
- }
- )
- ;
- };
-
- /* Bind a few links */
-
- $(".action_sort_by").click( function(ev) {
- var elem = $(ev.target);
- SORT_BY = elem.text();
- // all action_sort_by except this one are not enabled
- $('.action_sort_by').removeClass('enabled');
- elem.addClass('enabled');
- sortProjects($('#statusbox'));
- });
-
- $(".action_refresh").click( function(){ update() } );
-
- /* Start initial update, then update once every two minutes */
- update(1000 * 120);
- </script>
- </div> <!-- globalwrapper -->
- </body>
-</html>
diff --git a/non-puppet/testresults.qt.io/ci/status/js/jquery.timeago.js b/non-puppet/testresults.qt.io/ci/status/js/jquery.timeago.js
deleted file mode 100644
index 2e8d29f..0000000
--- a/non-puppet/testresults.qt.io/ci/status/js/jquery.timeago.js
+++ /dev/null
@@ -1,152 +0,0 @@
-/**
- * Timeago is a jQuery plugin that makes it easy to support automatically
- * updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago").
- *
- * @name timeago
- * @version 0.11.4
- * @requires jQuery v1.2.3+
- * @author Ryan McGeary
- * @license MIT License - http://www.opensource.org/licenses/mit-license.php
- *
- * For usage and examples, visit:
- * http://timeago.yarp.com/
- *
- * Copyright (c) 2008-2012, Ryan McGeary (ryan -[at]- mcgeary [*dot*] org)
- */
-(function($) {
- $.timeago = function(timestamp) {
- if (timestamp instanceof Date) {
- return inWords(timestamp);
- } else if (typeof timestamp === "string") {
- return inWords($.timeago.parse(timestamp));
- } else if (typeof timestamp === "number") {
- return inWords(new Date(timestamp));
- } else {
- return inWords($.timeago.datetime(timestamp));
- }
- };
- var $t = $.timeago;
-
- $.extend($.timeago, {
- settings: {
- refreshMillis: 60000,
- allowFuture: false,
- strings: {
- prefixAgo: null,
- prefixFromNow: null,
- suffixAgo: "ago",
- suffixFromNow: "from now",
- seconds: "less than a minute",
- minute: "about a minute",
- minutes: "%d minutes",
- hour: "about an hour",
- hours: "about %d hours",
- day: "a day",
- days: "%d days",
- month: "about a month",
- months: "%d months",
- year: "about a year",
- years: "%d years",
- wordSeparator: " ",
- numbers: []
- }
- },
- inWords: function(distanceMillis) {
- var $l = this.settings.strings;
- var prefix = $l.prefixAgo;
- var suffix = $l.suffixAgo;
- if (this.settings.allowFuture) {
- if (distanceMillis < 0) {
- prefix = $l.prefixFromNow;
- suffix = $l.suffixFromNow;
- }
- }
-
- var seconds = Math.abs(distanceMillis) / 1000;
- var minutes = seconds / 60;
- var hours = minutes / 60;
- var days = hours / 24;
- var years = days / 365;
-
- function substitute(stringOrFunction, number) {
- var string = $.isFunction(stringOrFunction) ? stringOrFunction(number, distanceMillis) : stringOrFunction;
- var value = ($l.numbers && $l.numbers[number]) || number;
- return string.replace(/%d/i, value);
- }
-
- var words = seconds < 45 && substitute($l.seconds, Math.round(seconds)) ||
- seconds < 90 && substitute($l.minute, 1) ||
- minutes < 45 && substitute($l.minutes, Math.round(minutes)) ||
- minutes < 90 && substitute($l.hour, 1) ||
- hours < 24 && substitute($l.hours, Math.round(hours)) ||
- hours < 42 && substitute($l.day, 1) ||
- days < 30 && substitute($l.days, Math.round(days)) ||
- days < 45 && substitute($l.month, 1) ||
- days < 365 && substitute($l.months, Math.round(days / 30)) ||
- years < 1.5 && substitute($l.year, 1) ||
- substitute($l.years, Math.round(years));
-
- var separator = $l.wordSeparator === undefined ? " " : $l.wordSeparator;
- return $.trim([prefix, words, suffix].join(separator));
- },
- parse: function(iso8601) {
- var s = $.trim(iso8601);
- s = s.replace(/\.\d+/,""); // remove milliseconds
- s = s.replace(/-/,"/").replace(/-/,"/");
- s = s.replace(/T/," ").replace(/Z/," UTC");
- s = s.replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"); // -04:00 -> -0400
- return new Date(s);
- },
- datetime: function(elem) {
- var iso8601 = $t.isTime(elem) ? $(elem).attr("datetime") : $(elem).attr("title");
- return $t.parse(iso8601);
- },
- isTime: function(elem) {
- // jQuery's `is()` doesn't play well with HTML5 in IE
- return $(elem).get(0).tagName.toLowerCase() === "time"; // $(elem).is("time");
- }
- });
-
- $.fn.timeago = function() {
- var self = this;
- self.each(refresh);
-
- var $s = $t.settings;
- if ($s.refreshMillis > 0) {
- setInterval(function() { self.each(refresh); }, $s.refreshMillis);
- }
- return self;
- };
-
- function refresh() {
- var data = prepareData(this);
- if (!isNaN(data.datetime)) {
- $(this).text(inWords(data.datetime));
- }
- return this;
- }
-
- function prepareData(element) {
- element = $(element);
- if (!element.data("timeago")) {
- element.data("timeago", { datetime: $t.datetime(element) });
- var text = $.trim(element.text());
- if (text.length > 0 && !($t.isTime(element) && element.attr("title"))) {
- element.attr("title", text);
- }
- }
- return element.data("timeago");
- }
-
- function inWords(date) {
- return $t.inWords(distance(date));
- }
-
- function distance(date) {
- return (new Date().getTime() - date.getTime());
- }
-
- // fix for IE6 suckage
- document.createElement("abbr");
- document.createElement("time");
-}(jQuery));
diff --git a/non-puppet/testresults.qt.io/css/qt.css b/non-puppet/testresults.qt.io/css/qt.css
deleted file mode 100644
index 911daf7..0000000
--- a/non-puppet/testresults.qt.io/css/qt.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- Source: git://code.qt.io/qtqa/sysadmin
- Note: this CSS attempts to track the style from wiki.qt-project.org
-*/
-html {
- background: #e3e3e2 url('/img/page_bg.png') repeat-x 0 0;
-}
-#p-logo a, #p-logo a:hover {
- text-decoration: none;
-}
-#p-logo img {
- vertical-align: middle;
-}
-h1, h2, h3, h4, h5, h6 {
- font-family: Helvetica, Arial, sans-serif;
- font-weight: normal;
- color: black;
- background: none;
- margin: 0;
- overflow: hidden;
- padding-top: .5em;
- padding-bottom: .17em;
-}
-h1 { font-size: 300%; }
-body {
- font-family: Verdana, sans-serif;
-}
-/* scale back up to a sane default */
-div#globalWrapper {
- background-clip: padding-box;
- background-color: #ffffff;
- border-radius: 9px;
- box-shadow: 0 0 4px #DDDDDD;
- margin: 0 auto;
- padding: 30px 30px 30px;
- max-width: 1350px;
- min-width: 900px;
- font-size: 90%;
-}
-ul {
- line-height: 1.5em;
- list-style-type: square;
- margin: .3em 0 0 0;
- padding: 0 0 0 1em;
- list-style: none;
-}
-ol {
- line-height: 1.5em;
- margin: .3em 0 0 3.2em;
- padding: 0;
- list-style-image: none;
-}
-li {
- margin-bottom: .1em;
-}
-ul li {
- background: url('/img/bullet.png') no-repeat 2px 8px transparent;
- padding: 0 0 0 18px;
-}
diff --git a/non-puppet/testresults.qt.io/favicon.ico b/non-puppet/testresults.qt.io/favicon.ico
deleted file mode 100644
index 47f5619..0000000
--- a/non-puppet/testresults.qt.io/favicon.ico
+++ /dev/null
Binary files differ
diff --git a/non-puppet/testresults.qt.io/hooks/post-upload-script b/non-puppet/testresults.qt.io/hooks/post-upload-script
deleted file mode 100755
index f1ba578..0000000
--- a/non-puppet/testresults.qt.io/hooks/post-upload-script
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-logfile=testparser.log
-date >>~/$logfile
-cmd="nice -n 10 /usr/bin/perl /var/www/testresults/qtmetrics/testparser.pl $1"
-echo + $cmd
-$cmd >>~/$logfile 2>&1 &
diff --git a/non-puppet/testresults.qt.io/img/bullet.png b/non-puppet/testresults.qt.io/img/bullet.png
deleted file mode 100644
index 5228c33..0000000
--- a/non-puppet/testresults.qt.io/img/bullet.png
+++ /dev/null
Binary files differ
diff --git a/non-puppet/testresults.qt.io/img/page_bg.png b/non-puppet/testresults.qt.io/img/page_bg.png
deleted file mode 100644
index 7c0d280..0000000
--- a/non-puppet/testresults.qt.io/img/page_bg.png
+++ /dev/null
Binary files differ
diff --git a/non-puppet/testresults.qt.io/img/qt-logo.png b/non-puppet/testresults.qt.io/img/qt-logo.png
deleted file mode 100644
index 6de33d4..0000000
--- a/non-puppet/testresults.qt.io/img/qt-logo.png
+++ /dev/null
Binary files differ
diff --git a/non-puppet/testresults.qt.io/include/ci-fancy-index-footer.html b/non-puppet/testresults.qt.io/include/ci-fancy-index-footer.html
deleted file mode 100644
index 05a3386..0000000
--- a/non-puppet/testresults.qt.io/include/ci-fancy-index-footer.html
+++ /dev/null
@@ -1,4 +0,0 @@
-<!-- maintained in git://code.qt.io/qtqa/sysadmin -->
-
- <p>For more information, see <a href="http://qt-project.org/wiki/CI_Overview">the Qt Project wiki</a>.</p>
-</div>
diff --git a/non-puppet/testresults.qt.io/include/ci-fancy-index-header.html b/non-puppet/testresults.qt.io/include/ci-fancy-index-header.html
deleted file mode 100644
index 386954e..0000000
--- a/non-puppet/testresults.qt.io/include/ci-fancy-index-header.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<!-- maintained in git://code.qt.io/qtqa/sysadmin -->
-
-<div id="globalWrapper">
- <div id="header">
- <div id="p-logo">
- <h1 id="firstheading">
- <a href="http://qt-project.org/"><img src="/img/qt-logo.png" alt="The Qt Project" /></a>
- Continuous Integration Test Results
- </h1>
- </div>
- <div id="header-content">
- </div>
- </div>
diff --git a/non-puppet/testresults.qt.io/index.html b/non-puppet/testresults.qt.io/index.html
deleted file mode 100644
index a28f9b0..0000000
--- a/non-puppet/testresults.qt.io/index.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<html>
- <head>
- <title>Qt Project - Test Results</title>
- <link rel="stylesheet" href="/css/qt.css" type="text/css">
- </head>
- <body>
- <div id="globalWrapper">
- <div id="header">
- <div id="p-logo">
- <h1 id="firstheading">
- <a href="http://qt-project.org/"><img src="/img/qt-logo.png" alt="The Qt Project" /></a>
- Qt Project Test Results
- </h1>
- </div>
- </div>
-
- <p>Test results for the Qt Project are published on this server.</p>
- <p>The following results are currently available:
- <ul>
- <li><b><a href="/coin">Coin</a></b> - The Qt Continuous Integration System's (Coin's) dashboard</li>
- <li><b><a href="/logs">Logs</a></b> - Build and autotests logs from Coin's builds</li>
- <li><b><a href="/grafana">Qt Metrics</a></b> - Metrics about benchmarks and Qt Continuous Integration System</li>
- <li><b><a href="https://scan.coverity.com/projects/qt-project">Coverity scan results</a></b> - External - Coverity scan results of Qt5</li>
- <li><b><a href="http://www.opencoverage.net/">OpenCoverage</a></b> - External - Open coverage results of Qt5</li>
- </ul>
- </p>
- <p>For more information, see <a href="http://wiki.qt.io/CI_Overview">the Qt Project wiki</a>.</p>
- </div>
-</html>