<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Documentation%2F4.8%2FDevelopers%2FFactory</id>
	<title>Documentation/4.8/Developers/Factory - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Documentation%2F4.8%2FDevelopers%2FFactory"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Developers/Factory&amp;action=history"/>
	<updated>2026-04-20T06:14:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Developers/Factory&amp;diff=55658&amp;oldid=prev</id>
		<title>UpdateBot: Nightly -&gt; 4.8</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Developers/Factory&amp;diff=55658&amp;oldid=prev"/>
		<updated>2017-10-18T07:06:39Z</updated>

		<summary type="html">&lt;p&gt;Nightly -&amp;gt; 4.8&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
=Overview=&lt;br /&gt;
&lt;br /&gt;
The Slicer factory machine is maintained by [http://www.kitware.com Kitware] and produces dashboard builds of many software projects, including nightly, continuous, and packaged versions of Slicer and its approved extensions.  See the [http://slicer.cdash.org/index.php?project=Slicer4 Slicer4 dashboard].&lt;br /&gt;
&lt;br /&gt;
These builds are generated every day on three different operating systems: Windows 7, Mac OS X, and Linux.  Because it is not legal to run any version of Mac OS X on a virtual machine (unless its host also runs Mac OS X), the host OS is Mac OS X, and the Windows and Linux builds are run within this machine as virtual machines.&lt;br /&gt;
&lt;br /&gt;
==Required factory components==&lt;br /&gt;
&lt;br /&gt;
See [[Documentation/{{documentation/version}}/Developers/Tutorials/DashboardSetup|dashboard prerequisites]].&lt;br /&gt;
&lt;br /&gt;
=Host(s)=&lt;br /&gt;
&lt;br /&gt;
== factory.kitware ==&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
The factory machine runs Mac OS X v10.6.8, Snow Leopard.  &lt;br /&gt;
* CMake version: 3.9.0 (before 2017/07/04 was 3.5.0-rc3 with [https://github.com/Kitware/CMake/compare/master...jcfr:osx-framework this patch])&lt;br /&gt;
** Since CMake release &amp;gt;= 3.6 is compiled only for  &amp;gt;= 10.7, a custom build of cmake was done with &amp;lt;code&amp;gt;-DCMAKE_INSTALL_PREFIX:PATH=/Users/kitware/Dashboards/Support/CMake-3.9.0.app/Contents&amp;lt;/code&amp;gt;  &lt;br /&gt;
* Compiler llvm-3.1. Note that the default compiled shipped with XCode 4.2 is not used. See [http://slicer-devel.65872.n3.nabble.com/MacOSX-factory-build-Transitioning-from-hybrid-quot-llvm-g-quot-to-quot-clang-quot-Update-to-Qt-4-8-6-tt4032198.html#a4032199 here] for more details.&lt;br /&gt;
* Tasks scheduled using [http://en.wikipedia.org/wiki/Cron cron]&lt;br /&gt;
&lt;br /&gt;
* Nightly generation of HomebrewCasks: [[Documentation/Nightly/Developers/Factory/HomeBrewInstall|Installation aborted]] (newer system is required for &amp;lt;tt&amp;gt;homebrew/cask-repair&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
Remote access: Via SSH or VNC from Kitware internal network (192.168.113.230).&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
The output of &amp;lt;pre&amp;gt;crontab -l&amp;lt;/pre&amp;gt; on the factory machine is as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
55 23 * * * cd /Users/kitware/DashboardScripts &amp;amp;&amp;amp; /usr/bin/cvs -q up -dAP&lt;br /&gt;
0 0 * * * /Users/kitware/DashboardScripts/factory.sh &amp;gt; /Users/kitware/Dashboards/Logs/factory.log 2&amp;gt;&amp;amp;1&lt;br /&gt;
0 9 * * * /Applications/CMake\ 2.8-8.app/Contents/bin/ctest -V -VV -S /Users/kitware/DashboardScripts/factory-64bits_CTKAppLauncher_release_continuous.cmake &amp;gt; /Users/kitware/Dashboards/Logs/factory-64bits_CTKAppLauncher_release_continuous.log 2&amp;gt;&amp;amp;1&lt;br /&gt;
0 9 * * * /Applications/CMake\ 2.8-8.app/Contents/bin/ctest -V -VV -S /Users/kitware/DashboardScripts/factory-64bits_slicer4_release_continuous.cmake &amp;gt; /Users/kitware/Dashboards/Logs/factory-64bits_slicer4_release_continuous.log 2&amp;gt;&amp;amp;1&lt;br /&gt;
0 10 * * * /Applications/CMake\ 2.8-8.app/Contents/bin/ctest -V -VV -S /Users/kitware/DashboardScripts/factory-64bits_slicerextensions_release_continuous.cmake &amp;gt; /Users/kitware/Dashboards/Logs/factory-64bits_slicerextensions_release_continuous.log 2&amp;gt;&amp;amp;1&lt;br /&gt;
0 10 * * * /Applications/CMake\ 2.8-8.app/Contents/bin/ctest -V -VV -S /Users/kitware/DashboardScripts/factory-64bits_slicerextensions_411_release_continuous.cmake &amp;gt; /Users/kitware/Dashboards/Logs/factory-64bits_slicerextensions_411_release_continuous.log 2&amp;gt;&amp;amp;1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first tab is a command to update the cvs repository storing all of Kitware's dashboard scripts.  The second is a bash script which runs all of the nightly builds done by the Mac OS X factory.  The rest correspond to all the continuous builds.  An example of an entry in the bash script is as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
open -a x11&lt;br /&gt;
export DISPLAY=:0.0 # just DISPLAY=:0.0 without export is not enough&lt;br /&gt;
export PATH=:/usr/local/git/bin:$PATH&lt;br /&gt;
&lt;br /&gt;
CTEST=/Applications/CMake-3.5.0-rc3.app/Contents/bin/ctest&lt;br /&gt;
LOG_DIR=/Users/kitware/Dashboards/Logs&lt;br /&gt;
DASHBOARD_SCRIPTS_DIR=/Users/kitware/DashboardScripts&lt;br /&gt;
&lt;br /&gt;
# Nightly build of CTKAppLauncher&lt;br /&gt;
&amp;quot;$CTEST&amp;quot; -S $DASHBOARD_SCRIPTS_DIR/factory-64bits_CTKAppLauncher_release_nightly.cmake -VV -O $LOG_DIR/factory-64bits_CTKAppLauncher_release_nightly.log&lt;br /&gt;
&lt;br /&gt;
# Nightly build of slicer&lt;br /&gt;
&amp;quot;$CTEST&amp;quot; -S $DASHBOARD_SCRIPTS_DIR/factory-64bits_slicer4_release_nightly.cmake -VV -O $LOG_DIR/factory-64bits_slicer4_release_nightly.log&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
The virtual  machines are run using the Parallels tool.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;Mac Pro (Mid 2010)&amp;quot; which has the 64-bit kernel enabled by default. See [http://support.apple.com/kb/HT3770 here] for details.&lt;br /&gt;
&lt;br /&gt;
==== Processor ====&lt;br /&gt;
* 2 x 2.93 GHz 6-Core Intel Xeon&lt;br /&gt;
&lt;br /&gt;
==== Graphics Card ====&lt;br /&gt;
* Chipset Model: ATI Radeon HD 5770&lt;br /&gt;
* Type: GPU&lt;br /&gt;
* Bus PCIe&lt;br /&gt;
* VRAM (total): 1024MB&lt;br /&gt;
* EFI Driver Version: 01.00.436&lt;br /&gt;
&lt;br /&gt;
==== Memory ====&lt;br /&gt;
* 8 x 4GB = 32GB&lt;br /&gt;
* Type: DDR3 ECC&lt;br /&gt;
* Speed: 1333 MHz&lt;br /&gt;
&lt;br /&gt;
== factory-south.kitware ==&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
The factory machine runs Mac OS X 10.11.6 (15G31), El Capitan&lt;br /&gt;
* Tasks scheduled using [http://en.wikipedia.org/wiki/Cron cron]&lt;br /&gt;
&lt;br /&gt;
The virtual machines are run using the [http://www.parallels.com/ Parallels Desktop 11].&lt;br /&gt;
* Note that Parallels Desktop supports [http://kb.parallels.com/en/115487 OpenGL 2.1 only] (not higher)&lt;br /&gt;
&lt;br /&gt;
Remote access: Via SSH or VNC from Kitware internal network (10.171.2.166).&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
==== Processor ====&lt;br /&gt;
* 2 x 2.4 GHz 6-Core Intel Xeon&lt;br /&gt;
&lt;br /&gt;
==== Graphics Card ====&lt;br /&gt;
* Chipset Model: ATI Radeon HD 5770&lt;br /&gt;
* Type: GPU&lt;br /&gt;
* Bus PCIe&lt;br /&gt;
* VRAM (total): 1024MB&lt;br /&gt;
* EFI Driver Version: 01.00.436&lt;br /&gt;
&lt;br /&gt;
==== Memory ====&lt;br /&gt;
* 8 x 8GB = 64 GB&lt;br /&gt;
* Type: DDR3 ECC&lt;br /&gt;
* Speed: 1333 MHz&lt;br /&gt;
&lt;br /&gt;
== overload.kitware and metroplex.kitware ==&lt;br /&gt;
&lt;br /&gt;
[[File:Kitware build servers metroplex-and-overload.jpg|600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
&lt;br /&gt;
* overload: Windows 7 Professional 64-bit&lt;br /&gt;
* metroplex: Red Hat Enterprise Linux WS v7.0&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
* Dell Precision R7910 Motherboard,BW&lt;br /&gt;
&lt;br /&gt;
==== Processor ====&lt;br /&gt;
&lt;br /&gt;
* Dual Intel® Xeon® Processor E5-2630 v3 (8C, 2.4GHz, Turbo, HT, 20M, 85W)&lt;br /&gt;
&lt;br /&gt;
==== Graphics Card ====&lt;br /&gt;
&lt;br /&gt;
* NVIDIA® Quadro® K620 2GB (DP, DL-DVI-I) (1 DP to SL-DVI adapter)&lt;br /&gt;
&lt;br /&gt;
==== Memory ====&lt;br /&gt;
&lt;br /&gt;
* 32GB (8x4GB) 2133MHz DDR4 RDIMM ECC&lt;br /&gt;
&lt;br /&gt;
==== Storage ====&lt;br /&gt;
&lt;br /&gt;
* 2 X Integrated Intel 4 port AHCI SATA chipset controllers (tot 8 X 6.0Gb/s) SW RAID 0,1,5,10&lt;br /&gt;
* 1 x 1TB Dell 4*Drive PCIe x16 M.2 Solid State Drive Card (boot)&lt;br /&gt;
&lt;br /&gt;
=== overload.kitware ===&lt;br /&gt;
&lt;br /&gt;
* Windows 7 Professional - Service Pack 1 (Build 7601)&lt;br /&gt;
* CMake version: 3.9.0 (before 2017/07/04 was CMake 3.7.1)&lt;br /&gt;
* Compiler: VS2013 Community Edition&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=VM: Linux=&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
== factory.kitware ==&lt;br /&gt;
* Ubuntu 11.04&lt;br /&gt;
* CMake version: 2.8.8&lt;br /&gt;
* GCC version: Ubuntu 4.4.3-4ubuntu5.1&lt;br /&gt;
* Tasks scheduled using [http://en.wikipedia.org/wiki/Cron cron]&lt;br /&gt;
&lt;br /&gt;
The scripts on this VM are very similar to those on the Host.&lt;br /&gt;
&lt;br /&gt;
=== Remote access ===&lt;br /&gt;
This machine is accessible through SSH and remote VNC.  It has been configured with its own static IP, and should be accessed by VNC through this IP instead of through a VNC connection on the Mac Host.  Do not try to connect through VNC to this machine on the Host.&lt;br /&gt;
&lt;br /&gt;
===Known issues===&lt;br /&gt;
* X crash / GLX&amp;quot; missing on display. See [http://www.na-mic.org/Bug/view.php?id=2468 #2468]: '''FIXED'''&lt;br /&gt;
* Beside the fact Parallel has been updated, the X server still crash and auto-login does NOT succeed. See [http://www.na-mic.org/Bug/view.php?id=2624 #2624]: '''FIXED'''&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== factory-south-ubuntu.kitware ==&lt;br /&gt;
* Ubuntu 10.04&lt;br /&gt;
* CMake version: 3.9.0 (before 2017/07/04 was 3.5.0-rc3)&lt;br /&gt;
* GCC version: Ubuntu 4.4.3-4ubuntu5.1&lt;br /&gt;
* Tasks scheduled using [http://en.wikipedia.org/wiki/Cron cron]&lt;br /&gt;
* Processors: 5&lt;br /&gt;
* Memory: 10GB&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ lsb_release -a&lt;br /&gt;
No LSB modules are available.&lt;br /&gt;
Distributor ID:	Ubuntu&lt;br /&gt;
Description:	Ubuntu 10.04.4 LTS&lt;br /&gt;
Release:	10.04&lt;br /&gt;
Codename:	lucid&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These two compilers are available:&lt;br /&gt;
&lt;br /&gt;
=== gcc/g++ 4.4.3 ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/bin/cpp-4.4&lt;br /&gt;
/usr/bin/g++-4.4&lt;br /&gt;
/usr/bin/gcc-4.4&lt;br /&gt;
/usr/bin/gcov-4.4&lt;br /&gt;
/usr/bin/x86_64-linux-gnu-cpp-4.4&lt;br /&gt;
/usr/bin/x86_64-linux-gnu-g++-4.4&lt;br /&gt;
/usr/bin/x86_64-linux-gnu-gcc-4.4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* In the PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ gcc --version&lt;br /&gt;
gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3&lt;br /&gt;
$ g++ --version&lt;br /&gt;
g++ (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== gcc/g++ 4.6.4 ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/bin/cpp-4.6&lt;br /&gt;
/usr/bin/g++-4.6&lt;br /&gt;
/usr/bin/gcc-4.6&lt;br /&gt;
/usr/bin/gcov-4.6&lt;br /&gt;
/usr/bin/x86_64-linux-gnu-cpp-4.6&lt;br /&gt;
/usr/bin/x86_64-linux-gnu-g++-4.6&lt;br /&gt;
/usr/bin/x86_64-linux-gnu-gcc-4.6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Installed following these instructions:&lt;br /&gt;
* https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test?field.series_filter=lucid&lt;br /&gt;
* http://superuser.com/questions/310809/how-can-i-update-gcc-to-the-latest-version-in-ubuntu-10-04/394811#394811&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo add-apt-repository ppa:ubuntu-toolchain-r/test&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install gcc-4.6&lt;br /&gt;
sudo apt-get install g++-4.6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Remote access ===&lt;br /&gt;
&lt;br /&gt;
Remote access: Via SSH or VNC from Kitware internal network (10.171.2.113).&lt;br /&gt;
&lt;br /&gt;
=VM: Windows 7=&lt;br /&gt;
&lt;br /&gt;
* Tasks are scheduled using the Windows Task Scheduler (Start-&amp;gt;All Programs-&amp;gt;Accessories-&amp;gt;System Tools-&amp;gt;Task Scheduler)&lt;br /&gt;
* On Windows, instead of bash, we use batch scripts comprised of commands to call ctest to run all the nightly scripts.  &lt;br /&gt;
&lt;br /&gt;
== factory-south-win7.kitware ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;This VM is shutdown, build have been moved to overload.kitware&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Windows 7 Ultimate N - Service Pack 1 (Build 7601) on an x86 platform.&lt;br /&gt;
* CMake version: 3.5.0-rc3&lt;br /&gt;
* Compiler: VS2013 Community Edition&lt;br /&gt;
* Processors: 6&lt;br /&gt;
* Memory: 16GB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, keep in mind the [[Documentation/{{documentation/version}}/Developers/Tutorials/DashboardSetup#Remarks remarks]] about building a dashboard on a Windows machine.  These all apply here.&lt;br /&gt;
&lt;br /&gt;
Remote access: Via Remote Desktop from Kitware internal network (10.171.2.245).&lt;br /&gt;
&lt;br /&gt;
=Maintenance=&lt;br /&gt;
&lt;br /&gt;
== Check Virtual Machines (factory-south-ubuntu) ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;factory-south-win7 VM is shutdown, build have been moved to overload.kitware&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== When ===&lt;br /&gt;
&lt;br /&gt;
Every day (or as soon as issues are suspected)&lt;br /&gt;
&lt;br /&gt;
=== What ===&lt;br /&gt;
&lt;br /&gt;
* Try to:&lt;br /&gt;
** SSH into factory-south-ubuntu&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
** RDP into factory-south-win7&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* If failure:&lt;br /&gt;
** Connect to &amp;lt;code&amp;gt;factory.south&amp;lt;/code&amp;gt; and check the state of the virtual machines. &lt;br /&gt;
&lt;br /&gt;
* Are the virtual machine unresponsive ?&lt;br /&gt;
&lt;br /&gt;
* '''No''' -&amp;gt; No further action required&lt;br /&gt;
* '''Yes''' -&amp;gt; Read below&lt;br /&gt;
** Kill both VMs&lt;br /&gt;
** Restart the host (factory-south)&lt;br /&gt;
** Manually start the virtual machines&lt;br /&gt;
** If needed, manually restarts the nightly build (See below)&lt;br /&gt;
&lt;br /&gt;
== Manually restart the night builds ==&lt;br /&gt;
&lt;br /&gt;
If the factory machines were restarted after the regular Nightly startup time, the nightly scripts will have to be explicitly started.&lt;br /&gt;
&lt;br /&gt;
* Linux: Run &amp;lt;code&amp;gt;/home/kitware/Dashboards/DashboardScripts/factory-south-ubuntu.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* MacOSX: Run &amp;lt;code&amp;gt;/Users/kitware/DashboardScripts/factory.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Windows: Open &amp;quot;Task Scheduled&amp;quot; -&amp;gt; slicer -&amp;gt; right click on &amp;quot;Nightly&amp;quot; -&amp;gt; Start&lt;br /&gt;
&lt;br /&gt;
== Nightly Build startup times ==&lt;br /&gt;
&lt;br /&gt;
* Linux: 11:10pm&lt;br /&gt;
&lt;br /&gt;
* MacOSx: 11:10pm&lt;br /&gt;
&lt;br /&gt;
* Windows: Midnight&lt;/div&gt;</summary>
		<author><name>UpdateBot</name></author>
		
	</entry>
</feed>