ricardoamaro / drupalci_testbot

This is a testing version of Drupal testbot using docker containers. Please use:
https://drupal.org/project/drupalci_testbot
MIT License
53 stars 21 forks source link

Rsync failure on vagrant up #23

Open unn opened 10 years ago

unn commented 10 years ago

When initially cloning and installing with a vagrant up, the rsync fails, see below.

I'll also look for you around Amsterdam.

$ vagrant up
Bringing machine 'testbot' up with 'virtualbox' provider...
==> testbot: Importing base box 'debian72'...
==> testbot: Matching MAC address for NAT networking...
==> testbot: Setting the name of the VM: drupalci_testbot_testbot_1412159069597_39456
==> testbot: Clearing any previously set forwarded ports...
==> testbot: Clearing any previously set network interfaces...
==> testbot: Preparing network interfaces based on configuration...
    testbot: Adapter 1: nat
    testbot: Adapter 2: hostonly
==> testbot: Forwarding ports...
    testbot: 22 => 2222 (adapter 1)
==> testbot: Running 'pre-boot' VM customizations...
==> testbot: Booting VM...
==> testbot: Waiting for machine to boot. This may take a few minutes...
    testbot: SSH address: 127.0.0.1:2222
    testbot: SSH username: vagrant
    testbot: SSH auth method: private key
    testbot: Warning: Connection timeout. Retrying...
==> testbot: Machine booted and ready!
GuestAdditions versions on your host (4.3.16) and guest (4.3.0) do not match.
stdin: is not a tty
Reading package lists...
Building dependency tree...
Reading state information...
dkms is already the newest version.
The following extra packages will be installed:
  linux-headers-3.2.0-4-common linux-kbuild-3.2
The following NEW packages will be installed:
  linux-headers-3.2.0-4-amd64 linux-headers-3.2.0-4-common linux-kbuild-3.2
0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
Need to get 4,408 kB of archives.
After this operation, 20.9 MB of additional disk space will be used.
Err http://http.us.debian.org/debian/ wheezy/main linux-headers-3.2.0-4-common amd64 3.2.51-1
  404  Not Found [IP: 128.61.240.89 80]
Get:1 http://http.us.debian.org/debian/ wheezy/main linux-kbuild-3.2 amd64 3.2.17-1 [238 kB]
Err http://http.us.debian.org/debian/ wheezy/main linux-headers-3.2.0-4-amd64 amd64 3.2.51-1
  404  Not Found [IP: 128.61.240.89 80]
Failed to fetch http://http.us.debian.org/debian/pool/main/l/linux/linux-headers-3.2.0-4-common_3.2.51-1_amd64.deb  404  Not Found [IP: 128.61.240.89 80]
Failed to fetch http://http.us.debian.org/debian/pool/main/l/linux/linux-headers-3.2.0-4-amd64_3.2.51-1_amd64.deb  404  Not Found [IP: 128.61.240.89 80]
Fetched 238 kB in 1s (141 kB/s)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
stdin: is not a tty
Get:1 http://security.debian.org wheezy/updates Release.gpg [836 B]
Get:2 http://security.debian.org wheezy/updates Release [102 kB]
Get:3 http://http.us.debian.org wheezy Release.gpg [1,655 B]
Get:4 http://apt.puppetlabs.com wheezy Release.gpg [836 B]
Get:5 http://security.debian.org wheezy/updates/main Sources [131 kB]
Get:6 http://http.us.debian.org wheezy-updates Release.gpg [836 B]
Get:7 http://apt.puppetlabs.com wheezy Release [22.4 kB]
Get:8 http://security.debian.org wheezy/updates/main amd64 Packages [217 kB]
Get:9 http://http.us.debian.org wheezy Release [168 kB]
Get:10 http://apt.puppetlabs.com wheezy/main Sources [73.7 kB]
Get:11 http://security.debian.org wheezy/updates/main Translation-en [122 kB]
Get:12 http://apt.puppetlabs.com wheezy/dependencies Sources [8,888 B]
Get:13 http://apt.puppetlabs.com wheezy/main amd64 Packages [86.0 kB]
Get:14 http://http.us.debian.org wheezy-updates Release [124 kB]
Get:15 http://apt.puppetlabs.com wheezy/dependencies amd64 Packages [6,296 B]
Get:16 http://http.us.debian.org wheezy/main Sources [5,957 kB]
Ign http://apt.puppetlabs.com wheezy/dependencies Translation-en_US
Ign http://apt.puppetlabs.com wheezy/dependencies Translation-en
Ign http://apt.puppetlabs.com wheezy/main Translation-en_US
Ign http://apt.puppetlabs.com wheezy/main Translation-en
Get:17 http://http.us.debian.org wheezy/main amd64 Packages [5,841 kB]
Get:18 http://http.us.debian.org wheezy/main Translation-en [3,847 kB]
Get:19 http://http.us.debian.org wheezy-updates/main Sources [4,478 B]
Get:20 http://http.us.debian.org wheezy-updates/main amd64 Packages/DiffIndex [1,471 B]
Get:21 http://http.us.debian.org wheezy-updates/main Translation-en/DiffIndex [919 B]
Get:22 http://http.us.debian.org wheezy-updates/main amd64 Packages [5,853 B]
Get:23 http://http.us.debian.org wheezy-updates/main 2013-11-02-1435.11.pdiff [378 B]
Get:24 http://http.us.debian.org wheezy-updates/main 2013-11-02-1435.11.pdiff [378 B]
Get:25 http://http.us.debian.org wheezy-updates/main 2014-02-15-1443.31.pdiff [250 B]
Get:26 http://http.us.debian.org wheezy-updates/main 2014-02-15-1443.31.pdiff [250 B]
Get:27 http://http.us.debian.org wheezy-updates/main 2014-03-12-2047.17.pdiff [1,743 B]
Get:28 http://http.us.debian.org wheezy-updates/main 2014-03-12-2047.17.pdiff [1,743 B]
Get:29 http://http.us.debian.org wheezy-updates/main 2014-06-16-2054.31.pdiff [501 B]
Get:30 http://http.us.debian.org wheezy-updates/main 2014-06-16-2054.31.pdiff [501 B]
Fetched 16.7 MB in 1min 26s (194 kB/s)
Reading package lists...
stdin: is not a tty
Reading package lists...
Building dependency tree...
Reading state information...
dkms is already the newest version.
The following extra packages will be installed:
  linux-headers-3.2.0-4-common linux-kbuild-3.2
The following NEW packages will be installed:
  linux-headers-3.2.0-4-amd64 linux-headers-3.2.0-4-common linux-kbuild-3.2
0 upgraded, 3 newly installed, 0 to remove and 70 not upgraded.
Need to get 4,200 kB/4,438 kB of archives.
After this operation, 21.0 MB of additional disk space will be used.
Get:1 http://security.debian.org/ wheezy/updates/main linux-headers-3.2.0-4-common amd64 3.2.60-1+deb7u3 [3,581 kB]
Get:2 http://security.debian.org/ wheezy/updates/main linux-headers-3.2.0-4-amd64 amd64 3.2.60-1+deb7u3 [618 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 4,200 kB in 8s (506 kB/s)
Selecting previously unselected package linux-headers-3.2.0-4-common.
(Reading database ... 48650 files and directories currently installed.)
Unpacking linux-headers-3.2.0-4-common (from .../linux-headers-3.2.0-4-common_3.2.60-1+deb7u3_amd64.deb) ...
Selecting previously unselected package linux-kbuild-3.2.
Unpacking linux-kbuild-3.2 (from .../linux-kbuild-3.2_3.2.17-1_amd64.deb) ...
Selecting previously unselected package linux-headers-3.2.0-4-amd64.
Unpacking linux-headers-3.2.0-4-amd64 (from .../linux-headers-3.2.0-4-amd64_3.2.60-1+deb7u3_amd64.deb) ...
Setting up linux-headers-3.2.0-4-common (3.2.60-1+deb7u3) ...
Setting up linux-kbuild-3.2 (3.2.17-1) ...
Setting up linux-headers-3.2.0-4-amd64 (3.2.60-1+deb7u3) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-4-amd64
Copy iso file /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
stdin: is not a tty
mount: warning: /mnt seems to be mounted read-only.
Installing Virtualbox Guest Additions 4.3.16 - guest version is 4.3.0
stdin: is not a tty
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.3.16 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 4.3.0 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules ...done.
Doing non-kernel setup of the Guest Additions ...done.
You should restart your guest to make sure the new modules are actually used

Installing the Window System drivers
Could not find the X.Org or XFree86 Window System, skipping.
An error occurred during installation of VirtualBox Guest Additions 4.3.16. Some functionality may not work as intended.
In most cases it is OK that the "Window System drivers" installation failed.
stdin: is not a tty
==> testbot: Checking for guest additions in VM...
==> testbot: Configuring and enabling network interfaces...
==> testbot: Rsyncing folder: /Users/david.stoline/Sites/tools/drupalci_testbot/ => /home/vagrant/drupalci_testbot
There was an error when attempting to rsync a synced folder.
Please inspect the error message below for more info.

Host path: /Users/david.stoline/Sites/tools/drupalci_testbot/
Guest path: /home/vagrant/drupalci_testbot
Command: rsync --verbose --archive --delete -z --copy-links --no-owner --no-group --rsync-path sudo rsync -e ssh -p 2222 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i '/Users/david.stoline/.vagrant.d/insecure_private_key' --exclude .vagrant/ /Users/david.stoline/Sites/tools/drupalci_testbot/ vagrant@127.0.0.1:/home/vagrant/drupalci_testbot
Error: Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
symlink has no referent: "/Users/david.stoline/Sites/tools/drupalci_testbot/scripts/run.sh"
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]