This just started failing: http://ci.aegirproject.org/job/D%20aegir%20apt%20install

[127.0.0.1:2200] out:   aegir: Depends: aegir-provision (>= 1.9+21.g0949cb7) but it is not going to be installed
[127.0.0.1:2200] out:          Depends: aegir-hostmaster (>= 1.9+21.g0949cb7) but it is not going to be installed

I believe this is because Brian Mercer's PPA has been updated to 5.7, which 1.x is not compatible with.

https://launchpad.net/~brianmercer/+archive/drush

Comments

anarcat’s picture

This seems to be because we install a Lucid box. We wouldn't have such problems with Debian squeeze/stable with backports, which have a proper 4.5 drush package.

Alternatively, we could try to throw squeeze-backports in that lucid box, but I feel it would explode...

anarcat’s picture

Project: Hostmaster (Aegir) » Vagrant Scripts for Aegir
Version: 6.x-2.x-dev »
Component: Debian package » Code

Moving to the right project.

anarcat’s picture

Note that I can't reproduce this on my Debian wheezy machine (after adding squeeze-backports), which makes me wonder why we are testing this thing on poor old ubuntu instead of (say) squeeze (which has backports) or wheezy. See #1734134: Allow testing in Ubuntu precise, Debian squeeze/wheezy...

anarcat’s picture

I tried doing the same in jenkins (adding squeeze-backports): no luck. Ouch.

anarcat’s picture

Assigned: anarcat » Unassigned

I'd love it if some other Jenkins/vagrant guru could look at this...

ergonlogic?

ergonlogic’s picture

Sure, I'll take a look. But I'll need access to ci.aegirproject.org

ergonlogic’s picture

Assigned: Unassigned » ergonlogic
Status: Active » Needs work

I tested this locally in Vagrant. At first pass, 'vagrant up' fails on both the 1.x and 2.x branche, at Package[postfix].

ergonlogic’s picture

Commenting out package{'postfix:...'} allow the Puppet run on vagrant up to complete without errors.

However, I note that I must not be using the same basebox, despite deleting my local lucid64 and re-downloading it. I see "Guest Additions Version: 4.2.0", whereas the console output from the failing test shows "Guest Additions Version: 4.1.16".

Trying to then run the same command to run test via Fabric then fails:

$ fab vagrant aegir_apt_install:distro=unstable
[localhost] local: vagrant ssh-config | grep User
[localhost] local: vagrant ssh-config | grep HostName
[localhost] local: vagrant ssh-config | grep Port
[localhost] local: vagrant ssh-config | grep IdentityFile
[127.0.0.1:2200] Executing task 'aegir_apt_install'
===> Preparing the Aegir user
[127.0.0.1:2200] sudo: useradd -r -U -d /var/aegir -m -G www-data aegir

Fatal error: Host key for 127.0.0.1 did not match pre-existing key! Server's key was changed recently, or possible man-in-the-middle attack.

Underlying exception:
    Host key for server 127.0.0.1 does not match!

Aborting.

But note that it appears to fail because fabric can't connect to the VM.

steven jones’s picture

Having a quick look at this.

steven jones’s picture

Right, the host key thing was just some silliness in Fabric, I've pushed fix for that. Looking at the other things now.

steven jones’s picture

Assigned: ergonlogic » Unassigned
Status: Needs work » Fixed

Pushed a fix (adding the Debian apt key) to 6.x-1.x. Will trigger a Jenkins build now too.

The reason that we test on Ubuntu is because they are the only 'official' Vagrant images I think, there aren't any officially maintained Debian boxes that I know of. Please let me know if their are, and we can add tests for them too.

steven jones’s picture

Here's that build, let's see what happens: http://ci.aegirproject.org/job/D%20aegir%20apt%20install/207/

steven jones’s picture

And we're back folks, sorry about that.

anarcat’s picture

awesome thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

link to the ppa