| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
puppet-apply[10893]: Dynamic lookup of $qtgitreadonly at /var/qtqa/sysadmin/puppet/modules/baselayout/manifests/base.pp:8 is deprecated.
Support will be removed in Puppet 2.8.
Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes.
puppet-apply[10893]: Dynamic lookup of $location at /var/qtqa/sysadmin/puppet/modules/baselayout/manifests/base.pp:9 is deprecated.
Support will be removed in Puppet 2.8.
Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes.
puppet-apply[10893]: Dynamic lookup of $qtgitreadonly at /var/qtqa/sysadmin/puppet/modules/baselayout/manifests/base.pp:10 is deprecated.
Support will be removed in Puppet 2.8.
Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes.
puppet-apply[10893]: Dynamic lookup of $location at /var/qtqa/sysadmin/puppet/modules/baselayout/manifests/base.pp:11 is deprecated.
Support will be removed in Puppet 2.8.
Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes.
Change-Id: I82e186df5f815706b72aa4030e3e575adb3ddcad
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com>
|
| |
|
|
|
|
|
|
|
| |
We need to set postBuffer to 512MB to prevent
"the remote end hung up unexpectedly" happening during git clone.
Change-Id: I5e272304e4f1d6db42663732c2318e685263128f
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com>
|
| |
|
|
|
|
|
|
| |
Task-number: QTQAINFRA-745
Change-Id: I1a0f4df3f27f9bad105ec18dca554b73456c0355
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Heikki Halmet <heikki.halmet@digia.com>
|
| |
|
|
|
|
|
|
|
|
| |
New implementation works worse in our current situation. Folders are left behind.
This reverts commit 377dc3f7a2d4cc9c54587eaf54558096bd7f6c17
Change-Id: I189b46eede3c799b3199656be90bbe501dbc31f8
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
Tidy returns error in case of locked handles. Own implementation
ignores return values, since they really don't matter.
Task-number: QTQAINFRA-722
Change-Id: I4784d4d7e7c409c6b61d3559143916c3159ded38
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Heikki Halmet <heikki.halmet@digia.com>
|
| |
|
|
|
| |
Change-Id: If69f4ba79d1f6a0f919c54fde7a4b47db049cfff
Reviewed-by: Heikki Halmet <heikki.halmet@digia.com>
|
| |
|
|
|
|
|
|
|
| |
From Linux nodes Avahi-daemon need to be disabled to have access to
gerrit.ci.local or qt-git.ci.local
Change-Id: I70f31fa75f7571923789beba1b7a0557f87e61fb
Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
|
| |
|
|
|
|
|
|
| |
Fixing note from puppet log, that the jenkins startup command had
unexpected characters.
Change-Id: I294e3cc88df85df481c0dc271071d32f54fd91cf
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
For unknown reason, some of the puppet exec commands do not work
correctly when 'user' options is used. Processes do not finish
and puppet will timeout. After a while, all machines resources
are depleted and no new processes can be launched.
As a workaround, we can use 'su' ourselves.
Change-Id: I292924a0937d2c8f671339fd55d090628e288aee
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
|
| |
|
|
|
|
|
|
|
|
| |
UAC has been manually disabled on Windows machines. Make it puppet
controlled. For more information about EnableLUA key see:
http://msdn.microsoft.com/en-us/library/cc232765(prot.20).aspx
Change-Id: If6d31edb3ece82314df3eed960208c96273355b4
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Windows 8 support in Qt is currently limited to desktop mode, so
let's ensure that OS is launched to destop mode when rebooted.
Without this config some Qt auto test (for example tst_qmenu) fail,
because the menu will not get focus on top of Metro style
"start screen" but only gets the focus in desktop mode.
Task-number: QTBUG-28611
Change-Id: I3053bde3c56f3c4c59a32be7a33014d094923bf7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
|
| |
|
|
|
|
|
|
| |
Old way of adding auto-login items does not work anymore in OSX 10.8.
Use applescript which seems to work at least on OSX versions 10.6-10.8.
Change-Id: Id65763aeca1bdeef495fc264a4c91c78e20392f9
Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
|
| |
|
|
|
|
|
|
|
| |
Test cases may fail (QTBUG-27674) if Mac has wrong resolution.
Using application from https://github.com/jhford/screenresolution
to change resolution on all Macs to 1280x1024
Change-Id: I7aff1c0312d4e82930a1018488a909552e50a6dc
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
|
| |
|
|
|
| |
Change-Id: Ief2477fb850fc6e342081a7151c60d3d65dfa308
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add exec to run macports selfupdate & sync so that changes to
macports.conf and sources.conf are applied.
Use puppet 'require' instead of 'include' for macports where possible
to make sure that macports stuff is applied before macports are used.
In case of baselayout, 'require' cannot be used because it will end-up
to cyclic dependency. So lets use explicit 'require' for 'sudo' package
only in that case.
Change-Id: I05864e0532514f8f7bc51ca5afd38eacb64a474c
Reviewed-by: Rohan McGovern <rohan@mcgovern.id.au>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The old Java version we were using refused to install to 10.7.5,
in addition the Java was not installed at all to 10.8 machines.
Changed installed Java version to http://support.apple.com/kb/DL1572,
which seems to be compatible with both OS X 10.7 and 10.8.
Change-Id: Ib1b4819cb9880b5e4b8587a73f1375953133c7c7
Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Rohan McGovern <rohan@mcgovern.id.au>
|
| |
|
|
|
|
| |
Change-Id: I439c4d4dc0d8e8db1641567306d670a4ce27fe41
Reviewed-by: Rohan McGovern <rohan@mcgovern.id.au>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
Indexing service may lock files from the build directory,
when it is indexing them. This may be reason for build
failures where build directory could not be cleaned properly.
(See: Qt5_master_Integration, build 1078)
Change-Id: I2e48329ee470327e1a12c3b7d2bc758cb7d7fa57
Reviewed-by: Rohan McGovern <rohan@mcgovern.id.au>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
|
| |
|
|
|
|
| |
Change-Id: I4c37912f5b63f848d951f86df11d59b941ed9705
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There were some problems with pupput based KDE installation to Ubuntu
10.04 machines. Those problems were resolved in Digia hosted Qt-Project
CI system by installing clean OS based Kubuntu 10.04 instead
Ubuntu 10.04. Now this decision means that pkg-config for GTK (style)
fails and it won't be compiled in Digia hosted CI system. And because
it is not compiled, tst_bic fails in Digia hosted environment.
Fixed by ensuring that libgtk2.0-dev is installed on 10.04 machines,
even the clean OS is based on Kubuntu.
Change-Id: I95013d67e5aafab3fb80772df59e4925fdb0d8b5
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
| |
|
|
|
|
| |
Change-Id: I0fb3e5c05b3f21c9686ca59b63eae43adb1d6831
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
If a test crashes, we don't want an interactive dialog to cause test
suite execution to halt. Disable the dialogs.
Based on experimentation, and the terse documentation at
http://msdn.microsoft.com/en-us/library/windows/desktop/bb513638(v=vs.85).aspx
Change-Id: If7c004ced71c3eb6d3bbf8efeac2100fa15579de
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
|
| |
|
|
|
|
|
|
|
| |
Don't let Macs go to sleep mode. Also default to restart
after power failure.
Change-Id: Ifc55008b5ac6cb12a1f3c5e1546ad74e05da1fb2
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
We are not relying on DHCP for providing hostnames for CI testers,
instead we customize the Virtual Machines during deployment so
that they have correct host name when booted. Now this DHCP hack
apparently breaks our system...
Change-Id: I93a1aa77f10ab4a8dc81e9b26f3694289e557e53
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
OSX 10.6 ships a version of sudo too old to understand the '#includedir'
directive; this meant the passwordless reboot setup for the qt user did
not work.
Deploy a newer version of sudo from macports instead, allowing us to
manage sudoers entries the same way on OSX 10.6 as we do on OSX 10.7 and
Linux; fixes passwordless reboot.
Change-Id: I70d97eb708e399c5e50d534aa148e2cc06993c89
Reviewed-by: Toby Tomkins <tjtomkins@gmail.com>
|
| |
|
|
|
|
|
|
| |
Change copyrights and license headers from Nokia to Digia
Change-Id: I663e6fde9d2df2814463be90018014e599322efc
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
|
| |
|
|
|
|
| |
Change-Id: I431bc3bf70f6de3b259e4788ea660bbfb59763b8
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
| |
|
|
|
|
|
|
|
| |
This may be set in the nodecfg to point to a local mirror of
codereview.qt-project.org, to improve reliability / speed of git
operations on the test machine.
Change-Id: I53a41e639712ffe719d34f08a458c9634bc97973
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
|
| |
|
|
|
|
|
|
| |
Although the default $tempdir is already provided by the OS, this class
could be instantiated with a custom, non-existent $tempdir.
Change-Id: Ic6d2bf9ced439a8fee45607210e67c7e3b5ea9d5
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
|
| |
|
|
|
|
|
|
|
|
| |
Don't manage our own directory, use an existing one instead.
Pull up the declaration from mesa3d into $baselayout::tempdir, since we
want to use it from other modules.
Change-Id: Ie0fbc3ea6dd07912e7846dd27d70d447c2fad48d
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
|
| |
|
|
|
|
|
|
| |
Automatically create the test user account and set up autologon for that
user.
Change-Id: I637f4d7750310339c4a39c1803c69688a2d39935
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
|
| |
|
|
|
|
|
|
|
| |
Don't automatically blank the screen or suspend, since this may
interfere with test runs.
Change-Id: I35d1f1361b365db2d0187f90fcc1afa8de8b3662
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
|
| |
|
|
|
|
|
|
| |
Screensaver may interrupt UI tests, affecting the result.
Change-Id: I81a2c20314a17f3a0e3843f1da152401ab6813e2
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
|
| |
|
|
|
|
|
| |
Otherwise it can fill up with temporary files from crashing tests.
Change-Id: I0347d9a755866ad9dca9d231290b40bb6e0393b6
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, the behavior was not consistent; on mac, the arguments would
be placed verbatim into a shell script, while on Linux, they would be
placed verbatim into a .desktop file. This meant that using shell
redirection such as '|', '2>&1' would work on mac, but would (sometimes)
not work on Linux (depending on the implementation - although the
.desktop file spec suggests otherwise, at least KDE on Ubuntu 10.04
appears to invoke the Exec key of a .desktop file through the shell,
while Gnome on later Ubuntu versions does not).
Adjust baselayout::startup() to take an array and quote it
appropriately, so the caller does not have to know if the string ends up
in a shell script or .desktop file.
Adjust some jenkins_slave startup items to explicitly invoke the shell
when attempting to use shell redirection.
Note the Windows implementation is unmodified and it is recommended to
keep using the single string (not array) $arguments on that platform.
Change-Id: I086115faf20c57c0f3f6c1555737d651cf44f278
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
|
| |
|
|
|
|
|
| |
Enables us to use 'at' jobs on mac.
Change-Id: Iddd95487e188f2df40bfa99b40b2659f79a704d8
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
|
| |
|
|
|
|
|
|
| |
Without force => true, we leave a lot of useless empty directories
lying around.
Change-Id: I036cefa3f0dadf1896d47c041f38b122ea5bfc56
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
|
| |
|
|
|
|
|
|
|
|
| |
On mac, there is no 'root' group. Most system files belong to the
'wheel' group.
On mac, grep is at /usr/bin/grep, not /bin/grep.
Change-Id: If69a95c50ce0aa518e547f8e2f2ae6815ee28dc1
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
|
| |
|
|
|
|
|
| |
Set testuser to have passwordless sudo right to call 'reboot'.
Change-Id: Id8af789c840e17b2bc610904b2a886a6743dd1dd
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The primary testuser and testgroup are now passed as parameters to the
baselayout class. Many other classes have 'user' and 'group' parameters
added, with default values of $baselayout::testuser and
$baselayout::testgroup so that the meaning of 'include <classname>'
does not change.
Basic tests were added to every modified module.
Change-Id: Id1a5b590cd473a6f9bc009bc22c4fc4174fc1471
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Mac, we currently require the test user account to be created
manually, not via puppet. To ensure this is noticed, we deliberately
generate a message to the syslog informing about this, if the test user
account doesn't exist.
However, this was a fatal error ('fail'), which doesn't make sense - it
prevents other unrelated puppet modules from being executed, and it
prevents the module from being tested in --noop mode.
Make it into a warning instead.
Change-Id: Iebebc531ab3bf338c15a24e8673029e848bca0a1
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Since puppet 2.7, dynamic variable lookup is deprecated.
Variables should be explicitly scoped to a namespace,
or '$::' for globals (including facts).
Fixes some warnings of the form:
Dynamic lookup of $somevar at somefile is deprecated.
Change-Id: I7bd84ee73f9c911e28c00a7795cb92ec8ef6dee4
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Deploy an if-up.d hook which will force the system hostname to be set
from DHCP, even when NetworkManager would otherwise have discarded the
DHCP hostname.
Force /etc/hosts and /etc/hostname to have the right content (at least,
content compatible with facter's idea of fqdn and hostname).
Reverts "baselayout: apply /etc/hostname fix also on Ubuntu 12.04",
commit f6c475b573f9142a3671c370e7b19322a541d1ac, which was more or less
a guess and did not work as expected.
Fixes unreliable autologin on Ubuntu 12.04 virtual machines (caused by
the gnome session starting while the hostname was still 'localhost').
Change-Id: Id59157724e398384a0cc8bb58093ed8ff622a67f
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All files in 'tests/*.pp' for a given module will be run with
'puppet apply --noop'. The test passes if puppet gives a 0 exit code.
Additionally, expected output from puppet may be encoded by:
selftest::expect { "something should happen":
output => "expected output"
}
... and the test will fail unless all expected output is printed by
puppet.
Two tests for the baselayout module have been added.
Change-Id: I0e5ded53cb8d88579b9ab1e0bde771558647527b
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This is unnecessary at least since puppet 2.6; as long as the .pp files
are named matching the module names, puppet will find the files
automatically.
This is harmful when attempting to use 'puppet parser validate', which
will complain about the init.pp files including themselves.
Change-Id: I858bdf4d469c82993f839b618b1d0395b89ce7e1
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
|
| |
|
|
|
|
|
|
|
|
| |
Implemented git::config for Windows.
Common git config is in baselayout::base, OS-specific config is in
subclasses.
Change-Id: Idb5e1652cf461f86838ab9652f8cd312c5bde900
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rather than requiring all git configuration to be set up through a
single template, add a new "git::config" defined type capable of
managing individual configuration values.
This change only ports the previous gitconfig.erb setup and should not
result in any functional changes (other than the elimination of a couple
of obsolete and Nokia-specific Webkit mirrors).
Upcoming commits will add Windows support and set some new values.
Change-Id: Idc8e5b83d75f90ec7e896b7592c18784c4aae68e
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
The crudely written command for ensuring a login item was running
"delete loginwindow AutoLaunchedApplicationDictionary" every time,
removing all other login items.
Implement a proper baselayout::startup() on mac and use that instead.
Change-Id: I460f9df45fa4bc978ee8adaf8e4ad5d38ab56ea7
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Our test machines have a complete CPAN setup under the $testuser
account, but this is not accessible from puppet when running as SYSTEM.
Therefore, the qtqa-manage-lnk.pl script is unable to find a required
module (Win32::Shortcut).
As a workaround, explicitly use local::lib pointing at $testuser's home
directory while running this script.
The correct fix, coming later, is to fully manage perl and its modules
on Windows via a puppet module.
Change-Id: I046174c96bda7b87a9d95fcc58ddce0361ec5929
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
jenkins_slave deploys a jenkins node on Windows or Linux.
The slave name is equal to the fqdn of the test machine and must be
pre-configured in the jenkins master before this module can be used.
The Windows implementation required some minor refactoring and the
addition of an implementation of the 'startup' defined type on Windows.
The installation of the Java virtual machine was split into a separate
module, since both Pulse and Jenkins depend on this.
Note that no nodes are yet assigned as Jenkins slaves.
Change-Id: I23e14564e2bd65fda607527107f4d7b6e7aea5e0
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
|