Skip to content

Instantly share code, notes, and snippets.

@ph1ee
Created July 8, 2016 07:06
Show Gist options
  • Select an option

  • Save ph1ee/93bf26b40b801edaa668b8da468ef99e to your computer and use it in GitHub Desktop.

Select an option

Save ph1ee/93bf26b40b801edaa668b8da468ef99e to your computer and use it in GitHub Desktop.
teamcity-vagrant buildlog
sam@x260:~/Workspaces$ git clone https://github.com/rodm/teamcity-vagrant.git
Cloning into 'teamcity-vagrant'...
remote: Counting objects: 130, done.
remote: Total 130 (delta 0), reused 0 (delta 0), pack-reused 130
Receiving objects: 100% (130/130), 25.94 KiB | 0 bytes/s, done.
Resolving deltas: 100% (58/58), done.
Checking connectivity... done.
sam@x260:~/Workspaces$ cd teamcity-vagrant/
sam@x260:~/Workspaces/teamcity-vagrant$ sudo apt-get install vagrant
sam@x260:~/Workspaces/teamcity-vagrant$ cd files/
sam@x260:~/Workspaces/teamcity-vagrant/files$ mv ~/Downloads/jdk-8u92-linux-x64.tar.gz .
sam@x260:~/Workspaces/teamcity-vagrant/files$ ls
agent database.mysql.properties.dist jdk-8u92-linux-x64.tar.gz server
sam@x260:~/Workspaces/teamcity-vagrant/files$ cd ..
sam@x260:~/Workspaces/teamcity-vagrant$ vagrant up teamcity
Bringing machine 'teamcity' up with 'virtualbox' provider...
==> teamcity: Box 'precise64' could not be found. Attempting to find and install...
teamcity: Box Provider: virtualbox
teamcity: Box Version: >= 0
==> teamcity: Box file was not detected as metadata. Adding it directly...
==> teamcity: Adding box 'precise64' (v0) for provider: virtualbox
teamcity: Downloading: http://files.vagrantup.com/precise64.box
==> teamcity: Successfully added box 'precise64' (v0) for 'virtualbox'!
==> teamcity: Importing base box 'precise64'...
==> teamcity: Matching MAC address for NAT networking...
==> teamcity: Setting the name of the VM: teamcity-vagrant_teamcity_1467946533098_87983
==> teamcity: Clearing any previously set network interfaces...
==> teamcity: Preparing network interfaces based on configuration...
teamcity: Adapter 1: nat
teamcity: Adapter 2: hostonly
==> teamcity: Forwarding ports...
teamcity: 22 (guest) => 2222 (host) (adapter 1)
==> teamcity: Running 'pre-boot' VM customizations...
==> teamcity: Booting VM...
==> teamcity: Waiting for machine to boot. This may take a few minutes...
teamcity: SSH address: 127.0.0.1:2222
teamcity: SSH username: vagrant
teamcity: SSH auth method: private key
teamcity:
teamcity: Vagrant insecure key detected. Vagrant will automatically replace
teamcity: this with a newly generated keypair for better security.
teamcity:
teamcity: Inserting generated public key within guest...
teamcity: Removing insecure key from the guest if it's present...
teamcity: Key inserted! Disconnecting and reconnecting using new SSH key...
==> teamcity: Machine booted and ready!
==> teamcity: Checking for guest additions in VM...
teamcity: The guest additions on this VM do not match the installed version of
teamcity: VirtualBox! In most cases this is fine, but in rare cases it can
teamcity: prevent things such as shared folders from working properly. If you see
teamcity: shared folder errors, please make sure the guest additions within the
teamcity: virtual machine match the version of VirtualBox you have installed on
teamcity: your host and reload your VM.
teamcity:
teamcity: Guest Additions Version: 4.2.0
teamcity: VirtualBox Version: 5.0
==> teamcity: Setting hostname...
==> teamcity: Configuring and enabling network interfaces...
==> teamcity: Mounting shared folders...
teamcity: /vagrant => /home/sam/Workspaces/teamcity-vagrant
==> teamcity: Running provisioner: shell...
teamcity: Running: /tmp/vagrant-shell20160708-16577-18ik5rr.sh
==> teamcity: stdin: is not a tty
==> teamcity: +
==> teamcity: NTP_SERVER=time.euro.apple.com
==> teamcity: +
==> teamcity: JDK=jdk1.8.0_92
==> teamcity: +
==> teamcity: JDK_FILE=jdk-8u92-linux-x64.tar.gz
==> teamcity: + TOMCAT_VERS=7.0.57
==> teamcity: + TOMCAT=apache-tomcat-7.0.57
==> teamcity: + TOMCAT_DIR=/opt/apache-tomcat-7.0.57
==> teamcity: + TOMCAT_URL=http://search.maven.org/remotecontent?filepath=org/apache/tomcat/tomcat/7.0.57/tomcat-7.0.57.zip
==> teamcity: + MYSQL_JDBC_VERS=5.1.34
==> teamcity: + MYSQL_JDBC_JAR=mysql-connector-java-5.1.34.jar
==> teamcity: + MYSQL_JDBC_URL=http://search.maven.org/remotecontent?filepath=mysql/mysql-connector-java/5.1.34/mysql-connector-java-5.1.34.jar
==> teamcity: + MYSQL_PASSWORD=admin
==> teamcity: + TEAMCITY_DB_NAME=teamcity
==> teamcity: + TEAMCITY_DB_USER=teamcity
==> teamcity: + TEAMCITY_DB_PASS=teamcity
==> teamcity: + TEAMCITY_DIR=/opt/teamcity-server
==> teamcity: + TEAMCITY_WAR=TeamCity-9.1.7.war
==> teamcity: + TEAMCITY_URL=http://download.jetbrains.com/teamcity/TeamCity-9.1.7.war
==> teamcity: + TEAMCITY_USER=teamcity
==> teamcity: + TEAMCITY_GROUP=teamcity
==> teamcity: + [ -f /etc/redhat-release ]
==> teamcity: + apt-get update -y
==> teamcity: Ign http://us.archive.ubuntu.com precise InRelease
==> teamcity: Get:1 http://us.archive.ubuntu.com precise-updates InRelease [55.7 kB]
==> teamcity: Get:2 http://security.ubuntu.com precise-security InRelease [55.7 kB]
==> teamcity: Get:3 http://us.archive.ubuntu.com precise-backports InRelease [55.7 kB]
==> teamcity: Hit http://us.archive.ubuntu.com precise Release.gpg
==> teamcity: Get:4 http://security.ubuntu.com precise-security/main Sources [142 kB]
==> teamcity: Get:5 http://us.archive.ubuntu.com precise-updates/main Sources [497 kB]
==> teamcity: Get:6 http://security.ubuntu.com precise-security/restricted Sources [4,476 B]
==> teamcity: Get:7 http://security.ubuntu.com precise-security/universe Sources [48.9 kB]
==> teamcity: Get:8 http://security.ubuntu.com precise-security/multiverse Sources [2,720 B]
==> teamcity: Get:9 http://security.ubuntu.com precise-security/main amd64 Packages [617 kB]
==> teamcity: Get:10 http://us.archive.ubuntu.com precise-updates/restricted Sources [8,708 B]
==> teamcity: Get:11 http://us.archive.ubuntu.com precise-updates/universe Sources [128 kB]
==> teamcity: Get:12 http://us.archive.ubuntu.com precise-updates/multiverse Sources [10.2 kB]
==> teamcity: Get:13 http://us.archive.ubuntu.com precise-updates/main amd64 Packages [995 kB]
==> teamcity: Get:14 http://security.ubuntu.com precise-security/restricted amd64 Packages [11.6 kB]
==> teamcity: Get:15 http://security.ubuntu.com precise-security/universe amd64 Packages [133 kB]
==> teamcity: Get:16 http://security.ubuntu.com precise-security/multiverse amd64 Packages [3,160 B]
==> teamcity: Get:17 http://security.ubuntu.com precise-security/main i386 Packages [677 kB]
==> teamcity: Get:18 http://security.ubuntu.com precise-security/restricted i386 Packages [11.6 kB]
==> teamcity: Get:19 http://security.ubuntu.com precise-security/universe i386 Packages [141 kB]
==> teamcity: Get:20 http://security.ubuntu.com precise-security/multiverse i386 Packages [3,340 B]
==> teamcity: Get:21 http://security.ubuntu.com precise-security/main TranslationIndex [208 B]
==> teamcity: Get:22 http://security.ubuntu.com precise-security/multiverse TranslationIndex [199 B]
==> teamcity: Get:23 http://security.ubuntu.com precise-security/restricted TranslationIndex [202 B]
==> teamcity: Get:24 http://security.ubuntu.com precise-security/universe TranslationIndex [205 B]
==> teamcity: Get:25 http://security.ubuntu.com precise-security/main Translation-en [256 kB]
==> teamcity: Get:26 http://security.ubuntu.com precise-security/multiverse Translation-en [1,698 B]
==> teamcity: Get:27 http://security.ubuntu.com precise-security/restricted Translation-en [2,976 B]
==> teamcity: Get:28 http://security.ubuntu.com precise-security/universe Translation-en [85.0 kB]
==> teamcity: Get:29 http://us.archive.ubuntu.com precise-updates/restricted amd64 Packages [16.2 kB]
==> teamcity: Get:30 http://us.archive.ubuntu.com precise-updates/universe amd64 Packages [277 kB]
==> teamcity: Get:31 http://us.archive.ubuntu.com precise-updates/multiverse amd64 Packages [16.9 kB]
==> teamcity: Get:32 http://us.archive.ubuntu.com precise-updates/main i386 Packages [1,063 kB]
==> teamcity: Get:33 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [16.1 kB]
==> teamcity: Get:34 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [287 kB]
==> teamcity: Get:35 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [17.1 kB]
==> teamcity: Get:36 http://us.archive.ubuntu.com precise-updates/main TranslationIndex [208 B]
==> teamcity: Get:37 http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex [202 B]
==> teamcity: Get:38 http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex [202 B]
==> teamcity: Get:39 http://us.archive.ubuntu.com precise-updates/universe TranslationIndex [205 B]
==> teamcity: Get:40 http://us.archive.ubuntu.com precise-backports/main Sources [5,922 B]
==> teamcity: Get:41 http://us.archive.ubuntu.com precise-backports/restricted Sources [28 B]
==> teamcity: Get:42 http://us.archive.ubuntu.com precise-backports/universe Sources [44.2 kB]
==> teamcity: Get:43 http://us.archive.ubuntu.com precise-backports/multiverse Sources [5,750 B]
==> teamcity: Get:44 http://us.archive.ubuntu.com precise-backports/main amd64 Packages [6,477 B]
==> teamcity: Get:45 http://us.archive.ubuntu.com precise-backports/restricted amd64 Packages [28 B]
==> teamcity: Get:46 http://us.archive.ubuntu.com precise-backports/universe amd64 Packages [46.2 kB]
==> teamcity: Get:47 http://us.archive.ubuntu.com precise-backports/multiverse amd64 Packages [5,419 B]
==> teamcity: Get:48 http://us.archive.ubuntu.com precise-backports/main i386 Packages [6,478 B]
==> teamcity: Get:49 http://us.archive.ubuntu.com precise-backports/restricted i386 Packages [28 B]
==> teamcity: Get:50 http://us.archive.ubuntu.com precise-backports/universe i386 Packages [46.1 kB]
==> teamcity: Get:51 http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages [5,413 B]
==> teamcity: Get:52 http://us.archive.ubuntu.com precise-backports/main TranslationIndex [202 B]
==> teamcity: Get:53 http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex [202 B]
==> teamcity: Get:54 http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex [193 B]
==> teamcity: Get:55 http://us.archive.ubuntu.com precise-backports/universe TranslationIndex [205 B]
==> teamcity: Hit http://us.archive.ubuntu.com precise Release
==> teamcity: Get:56 http://us.archive.ubuntu.com precise-updates/main Translation-en [418 kB]
==> teamcity: Get:57 http://us.archive.ubuntu.com precise-updates/multiverse Translation-en [9,806 B]
==> teamcity: Get:58 http://us.archive.ubuntu.com precise-updates/restricted Translation-en [3,869 B]
==> teamcity: Get:59 http://us.archive.ubuntu.com precise-updates/universe Translation-en [166 kB]
==> teamcity: Get:60 http://us.archive.ubuntu.com precise-backports/main Translation-en [5,737 B]
==> teamcity: Get:61 http://us.archive.ubuntu.com precise-backports/multiverse Translation-en [4,852 B]
==> teamcity: Get:62 http://us.archive.ubuntu.com precise-backports/restricted Translation-en [28 B]
==> teamcity: Get:63 http://us.archive.ubuntu.com precise-backports/universe Translation-en [35.9 kB]
==> teamcity: Hit http://us.archive.ubuntu.com precise/main Sources
==> teamcity: Hit http://us.archive.ubuntu.com precise/restricted Sources
==> teamcity: Hit http://us.archive.ubuntu.com precise/universe Sources
==> teamcity: Hit http://us.archive.ubuntu.com precise/multiverse Sources
==> teamcity: Hit http://us.archive.ubuntu.com precise/main amd64 Packages
==> teamcity: Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
==> teamcity: Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
==> teamcity: Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
==> teamcity: Hit http://us.archive.ubuntu.com precise/main i386 Packages
==> teamcity: Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
==> teamcity: Hit http://us.archive.ubuntu.com precise/universe i386 Packages
==> teamcity: Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
==> teamcity: Hit http://us.archive.ubuntu.com precise/main TranslationIndex
==> teamcity: Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
==> teamcity: Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
==> teamcity: Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
==> teamcity: Hit http://us.archive.ubuntu.com precise/main Translation-en
==> teamcity: Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
==> teamcity: Hit http://us.archive.ubuntu.com precise/restricted Translation-en
==> teamcity: Hit http://us.archive.ubuntu.com precise/universe Translation-en
==> teamcity: Fetched 6,461 kB in 16s (397 kB/s)
==> teamcity: Reading package lists...
==> teamcity: +
==> teamcity: apt-get
==> teamcity: install
==> teamcity: -y
==> teamcity: -q
==> teamcity: ntp
==> teamcity: Reading package lists...
==> teamcity: Building dependency tree...
==> teamcity: Reading state information...
==> teamcity: Suggested packages:
==> teamcity: ntp-doc
==> teamcity: The following packages will be upgraded:
==> teamcity: ntp
==> teamcity: 1 upgraded, 0 newly installed, 0 to remove and 188 not upgraded.
==> teamcity: Need to get 615 kB of archives.
==> teamcity: After this operation, 2,048 B of additional disk space will be used.
==> teamcity: Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main ntp amd64 1:4.2.6.p3+dfsg-1ubuntu3.9 [615 kB]
==> teamcity: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> teamcity: Fetched 615 kB in 2s (232 kB/s)
==> teamcity: (Reading database ...
==> teamcity: 51095 files and directories currently installed.)
==> teamcity: Preparing to replace ntp 1:4.2.6.p3+dfsg-1ubuntu3.1 (using .../ntp_1%3a4.2.6.p3+dfsg-1ubuntu3.9_amd64.deb) ...
==> teamcity: * Stopping NTP server ntpd
==> teamcity: ...done.
==> teamcity: Unpacking replacement ntp ...
==> teamcity: Processing triggers for ureadahead ...
==> teamcity: Processing triggers for man-db ...
==> teamcity: Setting up ntp (1:4.2.6.p3+dfsg-1ubuntu3.9) ...
==> teamcity: * Starting NTP server ntpd
==> teamcity: ...done.
==> teamcity: +
==> teamcity: apt-get
==> teamcity: install
==> teamcity: -y
==> teamcity: -q
==> teamcity: unzip
==> teamcity: Reading package lists...
==> teamcity: Building dependency tree...
==> teamcity:
==> teamcity: Reading state information...
==> teamcity: Suggested packages:
==> teamcity: zip
==> teamcity: The following NEW packages will be installed:
==> teamcity: unzip
==> teamcity: 0 upgraded, 1 newly installed, 0 to remove and 188 not upgraded.
==> teamcity: Need to get 193 kB of archives.
==> teamcity: After this operation, 386 kB of additional disk space will be used.
==> teamcity: Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main unzip amd64 6.0-4ubuntu2.5 [193 kB]
==> teamcity: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> teamcity: Fetched 193 kB in 1s (109 kB/s)
==> teamcity: Selecting previously unselected package unzip.
==> teamcity: (Reading database ...
==> teamcity: 51095 files and directories currently installed.)
==> teamcity: Unpacking unzip (from .../unzip_6.0-4ubuntu2.5_amd64.deb) ...
==> teamcity: Processing triggers for man-db ...
==> teamcity: Setting up unzip (6.0-4ubuntu2.5) ...
==> teamcity: +
==> teamcity: sudo
==> teamcity: /etc/init.d/ntp
==> teamcity: stop
==> teamcity: * Stopping NTP server ntpd
==> teamcity: start-stop-daemon: warning:
==> teamcity: failed to kill 1933: No such process
==> teamcity: ...done.
==> teamcity: +
==> teamcity: sed
==> teamcity: -e
==> teamcity: s/^server.*$/server time.euro.apple.com/
==> teamcity: +
==> teamcity: sudo
==> teamcity: mv
==> teamcity: /tmp/ntp.conf
==> teamcity: /etc/ntp.conf
==> teamcity: +
==> teamcity: sudo
==> teamcity: /etc/init.d/ntp
==> teamcity: start
==> teamcity: * Starting NTP server ntpd
==> teamcity: ...done.
==> teamcity: +
==> teamcity: [
==> teamcity: -f
==> teamcity: /etc/redhat-release
==> teamcity: ]
==> teamcity: +
==> teamcity: + debconf-set-selections
==> teamcity: echo
==> teamcity: mysql-server-5.5
==> teamcity: mysql-server/root_password
==> teamcity: password
==> teamcity: admin
==> teamcity: + +
==> teamcity: echo mysql-server-5.5 mysql-server/root_password_again password admin
==> teamcity: debconf-set-selections
==> teamcity: +
==> teamcity: apt-get
==> teamcity: install
==> teamcity: -y
==> teamcity: -q
==> teamcity: mysql-server
==> teamcity: Reading package lists...
==> teamcity: Building dependency tree...
==> teamcity: Reading state information...
==> teamcity: The following extra packages will be installed:
==> teamcity: libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
==> teamcity: libnet-daemon-perl libplrpc-perl libterm-readkey-perl mysql-client-5.5
==> teamcity: mysql-client-core-5.5 mysql-common mysql-server-5.5 mysql-server-core-5.5
==> teamcity: Suggested packages:
==> teamcity: libipc-sharedcache-perl tinyca mailx
==> teamcity: The following NEW packages will be installed:
==> teamcity: libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
==> teamcity: libnet-daemon-perl libplrpc-perl libterm-readkey-perl mysql-client-5.5
==> teamcity: mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5
==> teamcity: mysql-server-core-5.5
==> teamcity: 0 upgraded, 13 newly installed, 0 to remove and 188 not upgraded.
==> teamcity: Need to get 27.6 MB of archives.
==> teamcity: After this operation, 98.2 MB of additional disk space will be used.
==> teamcity: Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-common all 5.5.49-0ubuntu0.12.04.1 [12.9 kB]
==> teamcity: Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libmysqlclient18 amd64 5.5.49-0ubuntu0.12.04.1 [952 kB]
==> teamcity: Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/main libnet-daemon-perl all 0.48-1 [43.1 kB]
==> teamcity: Get:4 http://us.archive.ubuntu.com/ubuntu/ precise/main libplrpc-perl all 0.2020-2 [36.0 kB]
==> teamcity: Get:5 http://us.archive.ubuntu.com/ubuntu/ precise/main libdbi-perl amd64 1.616-1build2 [849 kB]
==> teamcity: Get:6 http://us.archive.ubuntu.com/ubuntu/ precise/main libdbd-mysql-perl amd64 4.020-1build2 [106 kB]
==> teamcity: Get:7 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client-core-5.5 amd64 5.5.49-0ubuntu0.12.04.1 [1,949 kB]
==> teamcity: Get:8 http://us.archive.ubuntu.com/ubuntu/ precise/main libterm-readkey-perl amd64 2.30-4build3 [28.6 kB]
==> teamcity: Get:9 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client-5.5 amd64 5.5.49-0ubuntu0.12.04.1 [8,368 kB]
==> teamcity: Get:10 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-server-core-5.5 amd64 5.5.49-0ubuntu0.12.04.1 [6,326 kB]
==> teamcity: Get:11 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-server-5.5 amd64 5.5.49-0ubuntu0.12.04.1 [8,852 kB]
==> teamcity: Get:12 http://us.archive.ubuntu.com/ubuntu/ precise/main libhtml-template-perl all 2.10-1 [65.0 kB]
==> teamcity: Get:13 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-server all 5.5.49-0ubuntu0.12.04.1 [11.1 kB]
==> teamcity: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> teamcity: Fetched 27.6 MB in 1min 16s (360 kB/s)
==> teamcity: Selecting previously unselected package mysql-common.
==> teamcity: (Reading database ...
==> teamcity: 51113 files and directories currently installed.)
==> teamcity: Unpacking mysql-common (from .../mysql-common_5.5.49-0ubuntu0.12.04.1_all.deb) ...
==> teamcity: Selecting previously unselected package libmysqlclient18.
==> teamcity: Unpacking libmysqlclient18 (from .../libmysqlclient18_5.5.49-0ubuntu0.12.04.1_amd64.deb) ...
==> teamcity: Selecting previously unselected package libnet-daemon-perl.
==> teamcity: Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.48-1_all.deb) ...
==> teamcity: Selecting previously unselected package libplrpc-perl.
==> teamcity: Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...
==> teamcity: Selecting previously unselected package libdbi-perl.
==> teamcity: Unpacking libdbi-perl (from .../libdbi-perl_1.616-1build2_amd64.deb) ...
==> teamcity: Selecting previously unselected package libdbd-mysql-perl.
==> teamcity: Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.020-1build2_amd64.deb) ...
==> teamcity: Selecting previously unselected package mysql-client-core-5.5.
==> teamcity: Unpacking mysql-client-core-5.5 (from .../mysql-client-core-5.5_5.5.49-0ubuntu0.12.04.1_amd64.deb) ...
==> teamcity: Selecting previously unselected package libterm-readkey-perl.
==> teamcity: Unpacking libterm-readkey-perl (from .../libterm-readkey-perl_2.30-4build3_amd64.deb) ...
==> teamcity: Selecting previously unselected package mysql-client-5.5.
==> teamcity: Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.49-0ubuntu0.12.04.1_amd64.deb) ...
==> teamcity: Selecting previously unselected package mysql-server-core-5.5.
==> teamcity: Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.49-0ubuntu0.12.04.1_amd64.deb) ...
==> teamcity: Processing triggers for man-db ...
==> teamcity: Setting up mysql-common (5.5.49-0ubuntu0.12.04.1) ...
==> teamcity: Selecting previously unselected package mysql-server-5.5.
==> teamcity: (Reading database ...
==> teamcity: 51491 files and directories currently installed.)
==> teamcity: Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.49-0ubuntu0.12.04.1_amd64.deb) ...
==> teamcity: Selecting previously unselected package libhtml-template-perl.
==> teamcity: Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.10-1_all.deb) ...
==> teamcity: Selecting previously unselected package mysql-server.
==> teamcity: Unpacking mysql-server (from .../mysql-server_5.5.49-0ubuntu0.12.04.1_all.deb) ...
==> teamcity: Processing triggers for ureadahead ...
==> teamcity: ureadahead will be reprofiled on next reboot
==> teamcity: Processing triggers for man-db ...
==> teamcity: Setting up libmysqlclient18 (5.5.49-0ubuntu0.12.04.1) ...
==> teamcity: Setting up libnet-daemon-perl (0.48-1) ...
==> teamcity: Setting up libplrpc-perl (0.2020-2) ...
==> teamcity: Setting up libdbi-perl (1.616-1build2) ...
==> teamcity: Setting up libdbd-mysql-perl (4.020-1build2) ...
==> teamcity: Setting up mysql-client-core-5.5 (5.5.49-0ubuntu0.12.04.1) ...
==> teamcity: Setting up libterm-readkey-perl (2.30-4build3) ...
==> teamcity: Setting up mysql-client-5.5 (5.5.49-0ubuntu0.12.04.1) ...
==> teamcity: Setting up mysql-server-core-5.5 (5.5.49-0ubuntu0.12.04.1) ...
==> teamcity: Setting up mysql-server-5.5 (5.5.49-0ubuntu0.12.04.1) ...
==> teamcity: 160708 2:57:50 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
==> teamcity: 160708 2:57:50 [Note] /usr/sbin/mysqld (mysqld 5.5.49-0ubuntu0.12.04.1) starting as process 6863 ...
==> teamcity: mysql start/running, process 6996
==> teamcity: Setting up libhtml-template-perl (2.10-1) ...
==> teamcity: Setting up mysql-server (5.5.49-0ubuntu0.12.04.1) ...
==> teamcity: Processing triggers for libc-bin ...
==> teamcity: ldconfig deferred processing now taking place
==> teamcity: + apt-get clean
==> teamcity: +
==> teamcity: + mysql -u root -padmin -e show databases;
==> teamcity: grep
==> teamcity: teamcity
==> teamcity: +
==> teamcity: [
==> teamcity: 1
==> teamcity: =
==> teamcity: 1
==> teamcity: ]
==> teamcity: +
==> teamcity: cat
==> teamcity: +
==> teamcity: mysql
==> teamcity: -u
==> teamcity: root
==> teamcity: -padmin
==> teamcity: ERROR 1396 (HY000) at line 6: Operation DROP USER failed for ''@'localhost'
==> teamcity: + mkdir -p /opt
==> teamcity: + [ ! -d /opt/jdk1.8.0_92 ]
==> teamcity: + tar -xzf /vagrant/files/jdk-8u92-linux-x64.tar.gz -C /opt
==> teamcity: +
==> teamcity: [
==> teamcity: !
==> teamcity: -d
==> teamcity: /opt/apache-tomcat-7.0.57
==> teamcity: ]
==> teamcity: +
==> teamcity: [
==> teamcity: !
==> teamcity: -f
==> teamcity: /vagrant/files/apache-tomcat-7.0.57.zip
==> teamcity: ]
==> teamcity: +
==> teamcity: wget
==> teamcity: -q
==> teamcity: --no-proxy
==> teamcity: http://search.maven.org/remotecontent?filepath=org/apache/tomcat/tomcat/7.0.57/tomcat-7.0.57.zip
==> teamcity: -O
==> teamcity: /vagrant/files/apache-tomcat-7.0.57.zip
==> teamcity: +
==> teamcity: unzip
==> teamcity: -q
==> teamcity: /vagrant/files/apache-tomcat-7.0.57.zip
==> teamcity: -d
==> teamcity: /opt
==> teamcity: +
==> teamcity: chmod
==> teamcity: +x
==> teamcity: /opt/apache-tomcat-7.0.57/bin/catalina.sh
==> teamcity: /opt/apache-tomcat-7.0.57/bin/configtest.sh
==> teamcity: /opt/apache-tomcat-7.0.57/bin/daemon.sh
==> teamcity: /opt/apache-tomcat-7.0.57/bin/digest.sh
==> teamcity: /opt/apache-tomcat-7.0.57/bin/setclasspath.sh
==> teamcity: /opt/apache-tomcat-7.0.57/bin/shutdown.sh
==> teamcity: /opt/apache-tomcat-7.0.57/bin/startup.sh
==> teamcity: /opt/apache-tomcat-7.0.57/bin/tool-wrapper.sh
==> teamcity: /opt/apache-tomcat-7.0.57/bin/version.sh
==> teamcity: +
==> teamcity: /usr/sbin/groupadd
==> teamcity: -r
==> teamcity: teamcity
==> teamcity: +
==> teamcity: /usr/sbin/useradd
==> teamcity: -c
==> teamcity: teamcity
==> teamcity: -r
==> teamcity: -s
==> teamcity: /bin/bash
==> teamcity: -d
==> teamcity: /opt/teamcity-server
==> teamcity: -g teamcity teamcity
==> teamcity: + [ ! -f /etc/teamcity-server.conf ]
==> teamcity: + cat
==> teamcity: +
==> teamcity: mkdir
==> teamcity: -p
==> teamcity: /opt/teamcity-server/conf
==> teamcity: +
==> teamcity: cp
==> teamcity: /opt/apache-tomcat-7.0.57/conf/catalina.policy
==> teamcity: /opt/apache-tomcat-7.0.57/conf/catalina.properties
==> teamcity: /opt/apache-tomcat-7.0.57/conf/context.xml
==> teamcity: /opt/apache-tomcat-7.0.57/conf/logging.properties
==> teamcity: /opt/apache-tomcat-7.0.57/conf/server.xml
==> teamcity: /opt/apache-tomcat-7.0.57/conf/tomcat-users.xml
==> teamcity: /opt/apache-tomcat-7.0.57/conf/web.xml
==> teamcity: /opt/teamcity-server/conf
==> teamcity: +
==> teamcity: cp
==> teamcity: -r
==> teamcity: /vagrant/files/server/bin
==> teamcity: /vagrant/files/server/conf
==> teamcity: /opt/teamcity-server
==> teamcity: +
==> teamcity: mkdir
==> teamcity: -p
==> teamcity: /opt/teamcity-server/data/config
==> teamcity: +
==> teamcity: sed
==> teamcity: -e
==> teamcity: s/^connectionUrl=.*$/connectionUrl=jdbc:mysql:\/\/localhost:3306\/teamcity/
==> teamcity: -e
==> teamcity: s/^connectionProperties.user=.*$/connectionProperties.user=teamcity/
==> teamcity: -e
==> teamcity: s/^connectionProperties.password=.*$/connectionProperties.password=teamcity/
==> teamcity: +
==> teamcity: [
==> teamcity: !
==> teamcity: -f
==> teamcity: /opt/teamcity-server/TeamCity-9.1.7.war
==> teamcity: ]
==> teamcity: +
==> teamcity: [
==> teamcity: !
==> teamcity: -f
==> teamcity: /vagrant/files/TeamCity-9.1.7.war
==> teamcity: ]
==> teamcity: +
==> teamcity: wget
==> teamcity: -q
==> teamcity: --no-proxy
==> teamcity: http://download.jetbrains.com/teamcity/TeamCity-9.1.7.war
==> teamcity: -P
==> teamcity: /vagrant/files
==> teamcity: +
==> teamcity: cp
==> teamcity: /vagrant/files/TeamCity-9.1.7.war
==> teamcity: /opt/teamcity-server
==> teamcity: +
==> teamcity: mkdir
==> teamcity: -p
==> teamcity: /opt/teamcity-server/conf/Catalina/localhost
==> teamcity: +
==> teamcity: cat
==> teamcity: +
==> teamcity: [
==> teamcity: !
==> teamcity: -d
==> teamcity: /opt/teamcity-server/shared/lib
==> teamcity: ]
==> teamcity: +
==> teamcity: mkdir
==> teamcity: -p
==> teamcity: /opt/teamcity-server/data/lib/jdbc
==> teamcity: +
==> teamcity: [
==> teamcity: !
==> teamcity: -f
==> teamcity: /vagrant/files/mysql-connector-java-5.1.34.jar
==> teamcity: ]
==> teamcity: +
==> teamcity: wget
==> teamcity: -q
==> teamcity: --no-proxy
==> teamcity: http://search.maven.org/remotecontent?filepath=mysql/mysql-connector-java/5.1.34/mysql-connector-java-5.1.34.jar
==> teamcity: -O
==> teamcity: /vagrant/files/mysql-connector-java-5.1.34.jar
==> teamcity: +
==> teamcity: cp
==> teamcity: /vagrant/files/mysql-connector-java-5.1.34.jar
==> teamcity: /opt/teamcity-server/data/lib/jdbc
==> teamcity: +
==> teamcity: mkdir
==> teamcity: /opt/teamcity-server/logs
==> teamcity: +
==> teamcity: chown
==> teamcity: -R
==> teamcity: teamcity:teamcity
==> teamcity: /opt/teamcity-server
==> teamcity: +
==> teamcity: [
==> teamcity: -f
==> teamcity: /etc/redhat-release
==> teamcity: ]
==> teamcity: +
==> teamcity: [
==> teamcity: -f
==> teamcity: /etc/redhat-release
==> teamcity: ]
==> teamcity: +
==> teamcity: [
==> teamcity: !
==> teamcity: -f
==> teamcity: /etc/init.d/teamcity-server
==> teamcity: ]
==> teamcity: +
==> teamcity: cp
==> teamcity: /vagrant/files/server/bin/teamcity-server
==> teamcity: /etc/init.d
==> teamcity: +
==> teamcity: update-rc.d
==> teamcity: teamcity-server
==> teamcity: defaults
==> teamcity: Adding system startup for /etc/init.d/teamcity-server ...
==> teamcity: /etc/rc0.d/K20teamcity-server -> ../init.d/teamcity-server
==> teamcity: /etc/rc1.d/K20teamcity-server -> ../init.d/teamcity-server
==> teamcity: /etc/rc6.d/K20teamcity-server -> ../init.d/teamcity-server
==> teamcity: /etc/rc2.d/S20teamcity-server -> ../init.d/teamcity-server
==> teamcity: /etc/rc3.d/S20teamcity-server -> ../init.d/teamcity-server
==> teamcity: /etc/rc4.d/S20teamcity-server -> ../init.d/teamcity-server
==> teamcity: /etc/rc5.d/S20teamcity-server -> ../init.d/teamcity-server
==> teamcity: +
==> teamcity: /etc/init.d/teamcity-server
==> teamcity: start
sam@x260:~/Workspaces/teamcity-vagrant$ vagrant up agent01
Bringing machine 'agent01' up with 'virtualbox' provider...
==> agent01: Importing base box 'precise64'...
==> agent01: Matching MAC address for NAT networking...
==> agent01: Setting the name of the VM: teamcity-vagrant_agent01_1467949907192_86526
==> agent01: Fixed port collision for 22 => 2222. Now on port 2200.
==> agent01: Clearing any previously set network interfaces...
==> agent01: Preparing network interfaces based on configuration...
agent01: Adapter 1: nat
agent01: Adapter 2: hostonly
==> agent01: Forwarding ports...
agent01: 22 (guest) => 2200 (host) (adapter 1)
==> agent01: Running 'pre-boot' VM customizations...
==> agent01: Booting VM...
==> agent01: Waiting for machine to boot. This may take a few minutes...
agent01: SSH address: 127.0.0.1:2200
agent01: SSH username: vagrant
agent01: SSH auth method: private key
agent01:
agent01: Vagrant insecure key detected. Vagrant will automatically replace
agent01: this with a newly generated keypair for better security.
agent01:
agent01: Inserting generated public key within guest...
agent01: Removing insecure key from the guest if it's present...
agent01: Key inserted! Disconnecting and reconnecting using new SSH key...
==> agent01: Machine booted and ready!
==> agent01: Checking for guest additions in VM...
agent01: The guest additions on this VM do not match the installed version of
agent01: VirtualBox! In most cases this is fine, but in rare cases it can
agent01: prevent things such as shared folders from working properly. If you see
agent01: shared folder errors, please make sure the guest additions within the
agent01: virtual machine match the version of VirtualBox you have installed on
agent01: your host and reload your VM.
agent01:
agent01: Guest Additions Version: 4.2.0
agent01: VirtualBox Version: 5.0
==> agent01: Setting hostname...
==> agent01: Configuring and enabling network interfaces...
==> agent01: Mounting shared folders...
agent01: /vagrant => /home/sam/Workspaces/teamcity-vagrant
==> agent01: Running provisioner: shell...
agent01: Running: /tmp/vagrant-shell20160708-20065-ejls4z.sh
==> agent01: stdin: is not a tty
==> agent01: + NTP_SERVER=time.euro.apple.com
==> agent01: + JDK=jdk1.8.0_92
==> agent01: + JDK_FILE=jdk-8u92-linux-x64.tar.gz
==> agent01: + TEAMCITY_DIR=/opt/teamcity-agent
==> agent01: + TEAMCITY_USER=teamcity
==> agent01: + TEAMCITY_GROUP=teamcity
==> agent01: + [ -f /etc/redhat-release ]
==> agent01: + apt-get update -y
==> agent01: Ign http://us.archive.ubuntu.com precise InRelease
==> agent01: Get:1 http://us.archive.ubuntu.com precise-updates InRelease [55.7 kB]
==> agent01: Get:2 http://security.ubuntu.com precise-security InRelease [55.7 kB]
==> agent01: Get:3 http://us.archive.ubuntu.com precise-backports InRelease [55.7 kB]
==> agent01: Hit http://us.archive.ubuntu.com precise Release.gpg
==> agent01: Get:4 http://us.archive.ubuntu.com precise-updates/main Sources [497 kB]
==> agent01: Get:5 http://security.ubuntu.com precise-security/main Sources [142 kB]
==> agent01: Get:6 http://us.archive.ubuntu.com precise-updates/restricted Sources [8,708 B]
==> agent01: Get:7 http://us.archive.ubuntu.com precise-updates/universe Sources [128 kB]
==> agent01: Get:8 http://security.ubuntu.com precise-security/restricted Sources [4,476 B]
==> agent01: Get:9 http://security.ubuntu.com precise-security/universe Sources [48.9 kB]
==> agent01: Get:10 http://security.ubuntu.com precise-security/multiverse Sources [2,720 B]
==> agent01: Get:11 http://security.ubuntu.com precise-security/main amd64 Packages [617 kB]
==> agent01: Get:12 http://us.archive.ubuntu.com precise-updates/multiverse Sources [10.2 kB]
==> agent01: Get:13 http://us.archive.ubuntu.com precise-updates/main amd64 Packages [995 kB]
==> agent01: Get:14 http://us.archive.ubuntu.com precise-updates/restricted amd64 Packages [16.2 kB]
==> agent01: Get:15 http://us.archive.ubuntu.com precise-updates/universe amd64 Packages [277 kB]
==> agent01: Get:16 http://us.archive.ubuntu.com precise-updates/multiverse amd64 Packages [16.9 kB]
==> agent01: Get:17 http://us.archive.ubuntu.com precise-updates/main i386 Packages [1,063 kB]
==> agent01: Get:18 http://security.ubuntu.com precise-security/restricted amd64 Packages [11.6 kB]
==> agent01: Get:19 http://security.ubuntu.com precise-security/universe amd64 Packages [133 kB]
==> agent01: Get:20 http://security.ubuntu.com precise-security/multiverse amd64 Packages [3,160 B]
==> agent01: Get:21 http://security.ubuntu.com precise-security/main i386 Packages [677 kB]
==> agent01: Get:22 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [16.1 kB]
==> agent01: Get:23 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [287 kB]
==> agent01: Get:24 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [17.1 kB]
==> agent01: Get:25 http://us.archive.ubuntu.com precise-updates/main TranslationIndex [208 B]
==> agent01: Get:26 http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex [202 B]
==> agent01: Get:27 http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex [202 B]
==> agent01: Get:28 http://us.archive.ubuntu.com precise-updates/universe TranslationIndex [205 B]
==> agent01: Get:29 http://us.archive.ubuntu.com precise-backports/main Sources [5,922 B]
==> agent01: Get:30 http://us.archive.ubuntu.com precise-backports/restricted Sources [28 B]
==> agent01: Get:31 http://us.archive.ubuntu.com precise-backports/universe Sources [44.2 kB]
==> agent01: Get:32 http://us.archive.ubuntu.com precise-backports/multiverse Sources [5,750 B]
==> agent01: Get:33 http://us.archive.ubuntu.com precise-backports/main amd64 Packages [6,477 B]
==> agent01: Get:34 http://us.archive.ubuntu.com precise-backports/restricted amd64 Packages [28 B]
==> agent01: Get:35 http://us.archive.ubuntu.com precise-backports/universe amd64 Packages [46.2 kB]
==> agent01: Get:36 http://us.archive.ubuntu.com precise-backports/multiverse amd64 Packages [5,419 B]
==> agent01: Get:37 http://us.archive.ubuntu.com precise-backports/main i386 Packages [6,478 B]
==> agent01: Get:38 http://us.archive.ubuntu.com precise-backports/restricted i386 Packages [28 B]
==> agent01: Get:39 http://us.archive.ubuntu.com precise-backports/universe i386 Packages [46.1 kB]
==> agent01: Get:40 http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages [5,413 B]
==> agent01: Get:41 http://security.ubuntu.com precise-security/restricted i386 Packages [11.6 kB]
==> agent01: Get:42 http://security.ubuntu.com precise-security/universe i386 Packages [141 kB]
==> agent01: Get:43 http://us.archive.ubuntu.com precise-backports/main TranslationIndex [202 B]
==> agent01: Get:44 http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex [202 B]
==> agent01: Get:45 http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex [193 B]
==> agent01: Get:46 http://us.archive.ubuntu.com precise-backports/universe TranslationIndex [205 B]
==> agent01: Hit http://us.archive.ubuntu.com precise Release
==> agent01: Get:47 http://us.archive.ubuntu.com precise-updates/main Translation-en [418 kB]
==> agent01: Get:48 http://security.ubuntu.com precise-security/multiverse i386 Packages [3,340 B]
==> agent01: Get:49 http://security.ubuntu.com precise-security/main TranslationIndex [208 B]
==> agent01: Get:50 http://security.ubuntu.com precise-security/multiverse TranslationIndex [199 B]
==> agent01: Get:51 http://security.ubuntu.com precise-security/restricted TranslationIndex [202 B]
==> agent01: Get:52 http://security.ubuntu.com precise-security/universe TranslationIndex [205 B]
==> agent01: Get:53 http://us.archive.ubuntu.com precise-updates/multiverse Translation-en [9,806 B]
==> agent01: Get:54 http://us.archive.ubuntu.com precise-updates/restricted Translation-en [3,869 B]
==> agent01: Get:55 http://us.archive.ubuntu.com precise-updates/universe Translation-en [166 kB]
==> agent01: Get:56 http://us.archive.ubuntu.com precise-backports/main Translation-en [5,737 B]
==> agent01: Get:57 http://us.archive.ubuntu.com precise-backports/multiverse Translation-en [4,852 B]
==> agent01: Get:58 http://us.archive.ubuntu.com precise-backports/restricted Translation-en [28 B]
==> agent01: Get:59 http://us.archive.ubuntu.com precise-backports/universe Translation-en [35.9 kB]
==> agent01: Hit http://us.archive.ubuntu.com precise/main Sources
==> agent01: Hit http://us.archive.ubuntu.com precise/restricted Sources
==> agent01: Hit http://us.archive.ubuntu.com precise/universe Sources
==> agent01: Hit http://us.archive.ubuntu.com precise/multiverse Sources
==> agent01: Hit http://us.archive.ubuntu.com precise/main amd64 Packages
==> agent01: Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
==> agent01: Get:60 http://security.ubuntu.com precise-security/main Translation-en [256 kB]
==> agent01: Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
==> agent01: Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
==> agent01: Hit http://us.archive.ubuntu.com precise/main i386 Packages
==> agent01: Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
==> agent01: Get:61 http://security.ubuntu.com precise-security/multiverse Translation-en [1,698 B]
==> agent01: Get:62 http://security.ubuntu.com precise-security/restricted Translation-en [2,976 B]
==> agent01: Hit http://us.archive.ubuntu.com precise/universe i386 Packages
==> agent01: Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
==> agent01: Hit http://us.archive.ubuntu.com precise/main TranslationIndex
==> agent01: Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
==> agent01: Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
==> agent01: Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
==> agent01: Get:63 http://security.ubuntu.com precise-security/universe Translation-en [85.0 kB]
==> agent01: Hit http://us.archive.ubuntu.com precise/main Translation-en
==> agent01: Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
==> agent01: Hit http://us.archive.ubuntu.com precise/restricted Translation-en
==> agent01: Hit http://us.archive.ubuntu.com precise/universe Translation-en
==> agent01: Fetched 6,461 kB in 13s (484 kB/s)
==> agent01: Reading package lists...
==> agent01: +
==> agent01: apt-get
==> agent01: install
==> agent01: -y
==> agent01: -q
==> agent01: ntp
==> agent01: Reading package lists...
==> agent01: Building dependency tree...
==> agent01:
==> agent01: Reading state information...
==> agent01: Suggested packages:
==> agent01: ntp-doc
==> agent01: The following packages will be upgraded:
==> agent01: ntp
==> agent01: 1 upgraded, 0 newly installed, 0 to remove and 188 not upgraded.
==> agent01: Need to get 615 kB of archives.
==> agent01: After this operation, 2,048 B of additional disk space will be used.
==> agent01: Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main ntp amd64 1:4.2.6.p3+dfsg-1ubuntu3.9 [615 kB]
==> agent01: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> agent01: Fetched 615 kB in 2s (261 kB/s)
==> agent01: (Reading database ...
==> agent01: 51095 files and directories currently installed.)
==> agent01: Preparing to replace ntp 1:4.2.6.p3+dfsg-1ubuntu3.1 (using .../ntp_1%3a4.2.6.p3+dfsg-1ubuntu3.9_amd64.deb) ...
==> agent01: * Stopping NTP server ntpd
==> agent01: ...done.
==> agent01: Unpacking replacement ntp ...
==> agent01: Processing triggers for ureadahead ...
==> agent01: Processing triggers for man-db ...
==> agent01: Setting up ntp (1:4.2.6.p3+dfsg-1ubuntu3.9) ...
==> agent01: * Starting NTP server ntpd
==> agent01: ...done.
==> agent01: +
==> agent01: apt-get
==> agent01: install
==> agent01: -y
==> agent01: -q
==> agent01: unzip
==> agent01: Reading package lists...
==> agent01: Building dependency tree...
==> agent01: Reading state information...
==> agent01: Suggested packages:
==> agent01: zip
==> agent01: The following NEW packages will be installed:
==> agent01: unzip
==> agent01: 0 upgraded, 1 newly installed, 0 to remove and 188 not upgraded.
==> agent01: Need to get 193 kB of archives.
==> agent01: After this operation, 386 kB of additional disk space will be used.
==> agent01: Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main unzip amd64 6.0-4ubuntu2.5 [193 kB]
==> agent01: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> agent01: Fetched 193 kB in 1s (138 kB/s)
==> agent01: Selecting previously unselected package unzip.
==> agent01: (Reading database ...
==> agent01: 51095 files and directories currently installed.)
==> agent01: Unpacking unzip (from .../unzip_6.0-4ubuntu2.5_amd64.deb) ...
==> agent01: Processing triggers for man-db ...
==> agent01: Setting up unzip (6.0-4ubuntu2.5) ...
==> agent01: +
==> agent01: apt-get
==> agent01: install
==> agent01: -y
==> agent01: -q
==> agent01: xvfb
==> agent01: Reading package lists...
==> agent01: Building dependency tree...
==> agent01:
==> agent01: Reading state information...
==> agent01: The following extra packages will be installed:
==> agent01: libfontenc1 libgl1-mesa-dri libice6 libllvm3.0 libpixman-1-0 libsm6 libxaw7
==> agent01: libxfont1 libxkbfile1 libxmu6 libxpm4 libxt6 x11-common x11-xkb-utils
==> agent01: xfonts-base xfonts-encodings xfonts-utils xserver-common
==> agent01: Suggested packages:
==> agent01: libglide3 xfs xserver
==> agent01: The following NEW packages will be installed:
==> agent01: libfontenc1 libgl1-mesa-dri libice6 libllvm3.0 libpixman-1-0 libsm6 libxaw7
==> agent01: libxfont1 libxkbfile1 libxmu6 libxpm4 libxt6 x11-common x11-xkb-utils
==> agent01: xfonts-base xfonts-encodings xfonts-utils xserver-common xvfb
==> agent01: 0 upgraded, 19 newly installed, 0 to remove and 188 not upgraded.
==> agent01: Need to get 19.5 MB of archives.
==> agent01: After this operation, 55.6 MB of additional disk space will be used.
==> agent01: Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main x11-common all 1:7.6+12ubuntu2 [52.0 kB]
==> agent01: Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main libice6 amd64 2:1.0.7-2build1 [46.1 kB]
==> agent01: Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/main libllvm3.0 amd64 3.0-4ubuntu1 [7,456 kB]
==> agent01: Get:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libpixman-1-0 amd64 0.30.2-1ubuntu0.0.0.0.3 [256 kB]
==> agent01: Get:5 http://us.archive.ubuntu.com/ubuntu/ precise/main libsm6 amd64 2:1.2.0-2build1 [18.1 kB]
==> agent01: Get:6 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libxt6 amd64 1:1.1.1-2ubuntu0.1 [186 kB]
==> agent01: Get:7 http://us.archive.ubuntu.com/ubuntu/ precise/main libxmu6 amd64 2:1.1.0-3 [52.7 kB]
==> agent01: Get:8 http://us.archive.ubuntu.com/ubuntu/ precise/main libxpm4 amd64 1:3.5.9-4 [37.0 kB]
==> agent01: Get:9 http://us.archive.ubuntu.com/ubuntu/ precise/main libxaw7 amd64 2:1.0.9-3ubuntu1 [201 kB]
==> agent01: Get:10 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libxkbfile1 amd64 1:1.0.7-1ubuntu0.1 [73.8 kB]
==> agent01: Get:11 http://us.archive.ubuntu.com/ubuntu/ precise/main libfontenc1 amd64 1:1.1.0-1 [15.4 kB]
==> agent01: Get:12 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libgl1-mesa-dri amd64 8.0.4-0ubuntu0.7 [3,035 kB]
==> agent01: Get:13 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libxfont1 amd64 1:1.4.4-1ubuntu0.3 [134 kB]
==> agent01: Get:14 http://us.archive.ubuntu.com/ubuntu/ precise/main x11-xkb-utils amd64 7.6+4 [196 kB]
==> agent01: Get:15 http://us.archive.ubuntu.com/ubuntu/ precise/main xfonts-encodings all 1:1.0.4-1ubuntu1 [583 kB]
==> agent01: Get:16 http://us.archive.ubuntu.com/ubuntu/ precise/main xfonts-utils amd64 1:7.6+1 [96.4 kB]
==> agent01: Get:17 http://us.archive.ubuntu.com/ubuntu/ precise/main xfonts-base all 1:1.0.3 [6,180 kB]
==> agent01: Get:18 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main xserver-common all 2:1.11.4-0ubuntu10.17 [31.8 kB]
==> agent01: Get:19 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main xvfb amd64 2:1.11.4-0ubuntu10.17 [890 kB]
==> agent01: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> agent01: Fetched 19.5 MB in 2min 19s (140 kB/s)
==> agent01: Selecting previously unselected package x11-common.
==> agent01: (Reading database ...
==> agent01: 51113 files and directories currently installed.)
==> agent01: Unpacking x11-common (from .../x11-common_1%3a7.6+12ubuntu2_all.deb) ...
==> agent01: Selecting previously unselected package libice6.
==> agent01: Unpacking libice6 (from .../libice6_2%3a1.0.7-2build1_amd64.deb) ...
==> agent01: Selecting previously unselected package libllvm3.0.
==> agent01: Unpacking libllvm3.0 (from .../libllvm3.0_3.0-4ubuntu1_amd64.deb) ...
==> agent01: Selecting previously unselected package libpixman-1-0.
==> agent01: Unpacking libpixman-1-0 (from .../libpixman-1-0_0.30.2-1ubuntu0.0.0.0.3_amd64.deb) ...
==> agent01: Selecting previously unselected package libsm6.
==> agent01: Unpacking libsm6 (from .../libsm6_2%3a1.2.0-2build1_amd64.deb) ...
==> agent01: Selecting previously unselected package libxt6.
==> agent01: Unpacking libxt6 (from .../libxt6_1%3a1.1.1-2ubuntu0.1_amd64.deb) ...
==> agent01: Selecting previously unselected package libxmu6.
==> agent01: Unpacking libxmu6 (from .../libxmu6_2%3a1.1.0-3_amd64.deb) ...
==> agent01: Selecting previously unselected package libxpm4.
==> agent01: Unpacking libxpm4 (from .../libxpm4_1%3a3.5.9-4_amd64.deb) ...
==> agent01: Selecting previously unselected package libxaw7.
==> agent01: Unpacking libxaw7 (from .../libxaw7_2%3a1.0.9-3ubuntu1_amd64.deb) ...
==> agent01: Selecting previously unselected package libxkbfile1.
==> agent01: Unpacking libxkbfile1 (from .../libxkbfile1_1%3a1.0.7-1ubuntu0.1_amd64.deb) ...
==> agent01: Selecting previously unselected package libfontenc1.
==> agent01: Unpacking libfontenc1 (from .../libfontenc1_1%3a1.1.0-1_amd64.deb) ...
==> agent01: Selecting previously unselected package libgl1-mesa-dri.
==> agent01: Unpacking libgl1-mesa-dri (from .../libgl1-mesa-dri_8.0.4-0ubuntu0.7_amd64.deb) ...
==> agent01: Selecting previously unselected package libxfont1.
==> agent01: Unpacking libxfont1 (from .../libxfont1_1%3a1.4.4-1ubuntu0.3_amd64.deb) ...
==> agent01: Selecting previously unselected package x11-xkb-utils.
==> agent01: Unpacking x11-xkb-utils (from .../x11-xkb-utils_7.6+4_amd64.deb) ...
==> agent01: Selecting previously unselected package xfonts-encodings.
==> agent01: Unpacking xfonts-encodings (from .../xfonts-encodings_1%3a1.0.4-1ubuntu1_all.deb) ...
==> agent01: Selecting previously unselected package xfonts-utils.
==> agent01: Unpacking xfonts-utils (from .../xfonts-utils_1%3a7.6+1_amd64.deb) ...
==> agent01: Selecting previously unselected package xfonts-base.
==> agent01: Unpacking xfonts-base (from .../xfonts-base_1%3a1.0.3_all.deb) ...
==> agent01: Selecting previously unselected package xserver-common.
==> agent01: Unpacking xserver-common (from .../xserver-common_2%3a1.11.4-0ubuntu10.17_all.deb) ...
==> agent01: Selecting previously unselected package xvfb.
==> agent01: Unpacking xvfb (from .../xvfb_2%3a1.11.4-0ubuntu10.17_amd64.deb) ...
==> agent01: Processing triggers for man-db ...
==> agent01: Processing triggers for ureadahead ...
==> agent01: ureadahead will be reprofiled on next reboot
==> agent01: Setting up x11-common (1:7.6+12ubuntu2) ...
==> agent01: Setting up libice6 (2:1.0.7-2build1) ...
==> agent01: Setting up libllvm3.0 (3.0-4ubuntu1) ...
==> agent01: Setting up libpixman-1-0 (0.30.2-1ubuntu0.0.0.0.3) ...
==> agent01: Setting up libsm6 (2:1.2.0-2build1) ...
==> agent01: Setting up libxt6 (1:1.1.1-2ubuntu0.1) ...
==> agent01: Setting up libxmu6 (2:1.1.0-3) ...
==> agent01: Setting up libxpm4 (1:3.5.9-4) ...
==> agent01: Setting up libxaw7 (2:1.0.9-3ubuntu1) ...
==> agent01: Setting up libxkbfile1 (1:1.0.7-1ubuntu0.1) ...
==> agent01: Setting up libfontenc1 (1:1.1.0-1) ...
==> agent01: Setting up libgl1-mesa-dri (8.0.4-0ubuntu0.7) ...
==> agent01: Setting up libxfont1 (1:1.4.4-1ubuntu0.3) ...
==> agent01: Setting up x11-xkb-utils (7.6+4) ...
==> agent01: Setting up xfonts-encodings (1:1.0.4-1ubuntu1) ...
==> agent01: Setting up xfonts-utils (1:7.6+1) ...
==> agent01: Setting up xfonts-base (1:1.0.3) ...
==> agent01: Setting up xserver-common (2:1.11.4-0ubuntu10.17) ...
==> agent01: Setting up xvfb (2:1.11.4-0ubuntu10.17) ...
==> agent01: Processing triggers for libc-bin ...
==> agent01: ldconfig deferred processing now taking place
==> agent01: +
==> agent01: apt-get
==> agent01: install
==> agent01: -y
==> agent01: -q
==> agent01: libxtst6
==> agent01: Reading package lists...
==> agent01: Building dependency tree...
==> agent01: Reading state information...
==> agent01: The following NEW packages will be installed:
==> agent01: libxtst6
==> agent01: 0 upgraded, 1 newly installed, 0 to remove and 188 not upgraded.
==> agent01: Need to get 13.9 kB of archives.
==> agent01: After this operation, 71.7 kB of additional disk space will be used.
==> agent01: Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libxtst6 amd64 2:1.2.0-4ubuntu0.1 [13.9 kB]
==> agent01: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> agent01: Fetched 13.9 kB in 0s (21.8 kB/s)
==> agent01: Selecting previously unselected package libxtst6.
==> agent01: (Reading database ...
==> agent01: 51770 files and directories currently installed.)
==> agent01: Unpacking libxtst6 (from .../libxtst6_2%3a1.2.0-4ubuntu0.1_amd64.deb) ...
==> agent01: Setting up libxtst6 (2:1.2.0-4ubuntu0.1) ...
==> agent01: Processing triggers for libc-bin ...
==> agent01: ldconfig deferred processing now taking place
==> agent01: +
==> agent01: apt-get
==> agent01: install
==> agent01: -y
==> agent01: -q
==> agent01: libxi6
==> agent01: Reading package lists...
==> agent01: Building dependency tree...
==> agent01: Reading state information...
==> agent01: The following NEW packages will be installed:
==> agent01: libxi6
==> agent01: 0 upgraded, 1 newly installed, 0 to remove and 188 not upgraded.
==> agent01: Need to get 31.6 kB of archives.
==> agent01: After this operation, 110 kB of additional disk space will be used.
==> agent01: Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libxi6 amd64 2:1.7.1.901-1ubuntu1~precise3 [31.6 kB]
==> agent01: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> agent01: Fetched 31.6 kB in 0s (34.8 kB/s)
==> agent01: Selecting previously unselected package libxi6.
==> agent01: (Reading database ...
==> agent01: 51775 files and directories currently installed.)
==> agent01: Unpacking libxi6 (from .../libxi6_2%3a1.7.1.901-1ubuntu1~precise3_amd64.deb) ...
==> agent01: Setting up libxi6 (2:1.7.1.901-1ubuntu1~precise3) ...
==> agent01: Processing triggers for libc-bin ...
==> agent01: ldconfig deferred processing now taking place
==> agent01: +
==> agent01: apt-get
==> agent01: install
==> agent01: -y
==> agent01: -q
==> agent01: libxrender1
==> agent01: Reading package lists...
==> agent01: Building dependency tree...
==> agent01: Reading state information...
==> agent01: The following NEW packages will be installed:
==> agent01: libxrender1
==> agent01: 0 upgraded, 1 newly installed, 0 to remove and 188 not upgraded.
==> agent01: Need to get 20.7 kB of archives.
==> agent01: After this operation, 87.0 kB of additional disk space will be used.
==> agent01: Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libxrender1 amd64 1:0.9.6-2ubuntu0.2 [20.7 kB]
==> agent01: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> agent01: Fetched 20.7 kB in 0s (22.5 kB/s)
==> agent01: Selecting previously unselected package libxrender1.
==> agent01: (Reading database ...
==> agent01: 51780 files and directories currently installed.)
==> agent01: Unpacking libxrender1 (from .../libxrender1_1%3a0.9.6-2ubuntu0.2_amd64.deb) ...
==> agent01: Setting up libxrender1 (1:0.9.6-2ubuntu0.2) ...
==> agent01: Processing triggers for libc-bin ...
==> agent01: ldconfig deferred processing now taking place
==> agent01: + apt-get install -y -q libfontconfig1
==> agent01: Reading package lists...
==> agent01: Building dependency tree...
==> agent01: Reading state information...
==> agent01: The following extra packages will be installed:
==> agent01: fontconfig-config ttf-dejavu-core
==> agent01: The following NEW packages will be installed:
==> agent01: fontconfig-config libfontconfig1 ttf-dejavu-core
==> agent01: 0 upgraded, 3 newly installed, 0 to remove and 188 not upgraded.
==> agent01: Need to get 1,721 kB of archives.
==> agent01: After this operation, 3,610 kB of additional disk space will be used.
==> agent01: Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main ttf-dejavu-core all 2.33-2ubuntu1 [1,552 kB]
==> agent01: Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main fontconfig-config all 2.8.0-3ubuntu9.1 [44.4 kB]
==> agent01: Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libfontconfig1 amd64 2.8.0-3ubuntu9.1 [125 kB]
==> agent01: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> agent01: Fetched 1,721 kB in 4s (345 kB/s)
==> agent01: Selecting previously unselected package ttf-dejavu-core.
==> agent01: (Reading database ...
==> agent01: 51785 files and directories currently installed.)
==> agent01: Unpacking ttf-dejavu-core (from .../ttf-dejavu-core_2.33-2ubuntu1_all.deb) ...
==> agent01: Selecting previously unselected package fontconfig-config.
==> agent01: Unpacking fontconfig-config (from .../fontconfig-config_2.8.0-3ubuntu9.1_all.deb) ...
==> agent01: Selecting previously unselected package libfontconfig1.
==> agent01: Unpacking libfontconfig1 (from .../libfontconfig1_2.8.0-3ubuntu9.1_amd64.deb) ...
==> agent01: Processing triggers for man-db ...
==> agent01: Setting up ttf-dejavu-core (2.33-2ubuntu1) ...
==> agent01: Setting up fontconfig-config (2.8.0-3ubuntu9.1) ...
==> agent01: Setting up libfontconfig1 (2.8.0-3ubuntu9.1) ...
==> agent01: Processing triggers for libc-bin ...
==> agent01: ldconfig deferred processing now taking place
==> agent01: +
==> agent01: sudo
==> agent01: /etc/init.d/ntp
==> agent01: stop
==> agent01: * Stopping NTP server ntpd
==> agent01: ...done.
==> agent01: +
==> agent01: sed
==> agent01: -e
==> agent01: s/^server.*$/server time.euro.apple.com/g
==> agent01: +
==> agent01: sudo
==> agent01: mv
==> agent01: /tmp/ntp.conf
==> agent01: /etc/ntp.conf
==> agent01: +
==> agent01: sudo
==> agent01: /etc/init.d/ntp
==> agent01: start
==> agent01: * Starting NTP server ntpd
==> agent01: ...done.
==> agent01: +
==> agent01: /usr/sbin/groupadd
==> agent01: -r
==> agent01: teamcity
==> agent01: +
==> agent01: /usr/sbin/useradd
==> agent01: -c
==> agent01: teamcity
==> agent01: -r
==> agent01: -s
==> agent01: /bin/bash
==> agent01: -d
==> agent01: /opt/teamcity-agent
==> agent01: -g
==> agent01: teamcity
==> agent01: teamcity
==> agent01: +
==> agent01: cat
==> agent01: +
==> agent01: mkdir
==> agent01: -p
==> agent01: /opt
==> agent01: +
==> agent01: [
==> agent01: !
==> agent01: -d
==> agent01: /opt/jdk1.8.0_92
==> agent01: ]
==> agent01: +
==> agent01: tar
==> agent01: -xzf
==> agent01: /vagrant/files/jdk-8u92-linux-x64.tar.gz
==> agent01: -C
==> agent01: /opt
==> agent01: + cp -r /vagrant/files/agent /opt/teamcity-agent
==> agent01: + wget -q --no-proxy http://teamcity:8111/teamcity/update/buildAgent.zip -O /tmp/buildAgent.zip
==> agent01: +
==> agent01: mkdir
==> agent01: -p
==> agent01: /opt/teamcity-agent/agent
==> agent01: +
==> agent01: unzip
==> agent01: -q
==> agent01: /tmp/buildAgent.zip
==> agent01: -d
==> agent01: /opt/teamcity-agent/agent
==> agent01: +
==> agent01: chmod
==> agent01: ug+x
==> agent01: /opt/teamcity-agent/agent/bin/agent.sh
==> agent01: +
==> agent01: [
==> agent01: !
==> agent01: -f
==> agent01: /etc/teamcity-agent.conf
==> agent01: ]
==> agent01: +
==> agent01: cat
==> agent01: +
==> agent01: hostname
==> agent01: -s
==> agent01: +
==> agent01: AGENT_NAME=agent01
==> agent01: +
==> agent01: sed
==> agent01: -e
==> agent01: s/^name=.*$/name=agent01/g
==> agent01: -e
==> agent01: s/^serverUrl=.*$/serverUrl=http:\/\/teamcity:8111\/teamcity/g
==> agent01: +
==> agent01: mkdir
==> agent01: /opt/teamcity-agent/logs
==> agent01: +
==> agent01: chown
==> agent01: -R
==> agent01: teamcity:teamcity
==> agent01: /opt/teamcity-agent
==> agent01: +
==> agent01: [
==> agent01: -f
==> agent01: /etc/redhat-release
==> agent01: ]
==> agent01: +
==> agent01: [
==> agent01: -f
==> agent01: /etc/redhat-release
==> agent01: ]
==> agent01: +
==> agent01: [
==> agent01: !
==> agent01: -f
==> agent01: /etc/init.d/teamcity-agent
==> agent01: ]
==> agent01: + cp /vagrant/files/agent/bin/teamcity-agent /etc/init.d
==> agent01: +
==> agent01: update-rc.d
==> agent01: teamcity-agent
==> agent01: defaults
==> agent01: update-rc.d: warning: /etc/init.d/teamcity-agent missing LSB keyword 'required-start'
==> agent01: update-rc.d: warning: /etc/init.d/teamcity-agent missing LSB keyword 'required-stop'
==> agent01: Adding system startup for /etc/init.d/teamcity-agent ...
==> agent01: /etc/rc0.d/K20teamcity-agent -> ../init.d/teamcity-agent
==> agent01: /etc/rc1.d/K20teamcity-agent -> ../init.d/teamcity-agent
==> agent01: /etc/rc6.d/K20teamcity-agent -> ../init.d/teamcity-agent
==> agent01: /etc/rc2.d/S20teamcity-agent -> ../init.d/teamcity-agent
==> agent01: /etc/rc3.d/S20teamcity-agent -> ../init.d/teamcity-agent
==> agent01: /etc/rc4.d/S20teamcity-agent -> ../init.d/teamcity-agent
==> agent01: /etc/rc5.d/S20teamcity-agent -> ../init.d/teamcity-agent
==> agent01: +
==> agent01: /etc/init.d/teamcity-agent
==> agent01: start
sam@x260:~/Workspaces/teamcity-vagrant$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment