Paste of the installations verbose output: http://www.privatepaste.com/0e9cc6934f

Though it appears that everything actually got downloaded correctly..

aegir:aegir admin$ ls -la
total 8
drwxr-xr-x   7 admin  staff  238 12 Nov 22:48 .
drwxr-xr-x  26 root   wheel  884 12 Nov 21:28 ..
-rw-r--r--   1 admin  staff   20 12 Nov 21:28 .osxaegir
drwx------   2 admin  staff   68 12 Nov 22:47 backups
drwx--x--x   2 admin  staff   68 12 Nov 22:47 clients
drwx--x--x   5 admin  staff  170 12 Nov 22:47 config
drwxr-xr-x  29 admin  staff  986 12 Nov 22:48 hostmaster-7.x-3.x
aegir:aegir admin$ ls -la hostmaster-7.x-3.x/
total 488
drwxr-xr-x  29 admin  staff    986 12 Nov 22:48 .
drwxr-xr-x   7 admin  staff    238 12 Nov 22:48 ..
-rw-r--r--   1 admin  staff    174  8 Nov 02:25 .gitignore
-rw-r--r--   1 admin  staff   5767  8 Nov 02:25 .htaccess
-rw-r--r--   1 admin  staff  93534  8 Nov 02:25 CHANGELOG.txt
-rw-r--r--   1 admin  staff   1481  8 Nov 02:25 COPYRIGHT.txt
-rw-r--r--   1 admin  staff   1717  8 Nov 02:25 INSTALL.mysql.txt
-rw-r--r--   1 admin  staff   1874  8 Nov 02:25 INSTALL.pgsql.txt
-rw-r--r--   1 admin  staff   1298  8 Nov 02:25 INSTALL.sqlite.txt
-rw-r--r--   1 admin  staff  17995  8 Nov 02:25 INSTALL.txt
-rw-r--r--   1 admin  staff  18092 24 Sep 05:24 LICENSE.txt
-rw-r--r--   1 admin  staff   8542  8 Nov 02:25 MAINTAINERS.txt
-rw-r--r--   1 admin  staff   5382  8 Nov 02:25 README.txt
-rw-r--r--   1 admin  staff   9642  8 Nov 02:25 UPGRADE.txt
-rw-r--r--   1 admin  staff   6604  8 Nov 02:25 authorize.php
-rw-r--r--   1 admin  staff    720  8 Nov 02:25 cron.php
drwxr-xr-x  49 admin  staff   1666 12 Nov 22:48 includes
-rw-r--r--   1 admin  staff    529  8 Nov 02:25 index.php
-rw-r--r--   1 admin  staff    703  8 Nov 02:25 install.php
drwxr-xr-x  72 admin  staff   2448 12 Nov 22:48 misc
drwxr-xr-x  43 admin  staff   1462 12 Nov 22:48 modules
drwxr-xr-x   6 admin  staff    204 12 Nov 22:48 profiles
-rw-r--r--   1 admin  staff   1550  8 Nov 02:25 robots.txt
drwxr-xr-x  13 admin  staff    442 12 Nov 22:48 scripts
drwxr-xr-x   6 admin  staff    204 12 Nov 22:48 sites
drwxr-xr-x   8 admin  staff    272 12 Nov 22:48 themes
-rw-r--r--   1 admin  staff  19986  8 Nov 02:25 update.php
-rw-r--r--   1 admin  staff   2178  8 Nov 02:25 web.config
-rw-r--r--   1 admin  staff    417  8 Nov 02:25 xmlrpc.php
CommentFileSizeAuthor
#5 3_x_doesn_t_currently-2373835-5.patch693 byteshelmo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

realityloop’s picture

Issue summary: View changes
helmo’s picture

It seems we have multiple drush issues.

As discussed in irc, one workaround might be to manually makesure the hostmaster platform is present before starting hostmaster-install

Here's some more output from building platforms:

On drush commit 2058c0548004381e1a4f62f1b20a2acaf8b2c00d

Calling hook drush_make
Invalid file format: /vagrant/tmp/provision-7.x-3.x/provision-tests/makes/drupal7.build
Beginning to build /vagrant/tmp/provision-7.x-3.x/provision-tests/makes/drupal7.build.
No core project specified.
Returned from hook drush_make
Command dispatch complete
Could not download platform using drush make. No platform present
Returned from hook drush_provision_drupal_pre_provision_verify

After resetting drush to commit 343fbfb24b488759c2d8420e6268e0dece83adae

Beginning to build /vagrant/tmp/provision-7.x-3.x/provision-tests/makes/drupal7.build.
Downloading release history from https://updates.drupal.org/release-history/drupal/7.x
/var/aegir/.drush/cache/download/https---updates.drupal.org-release-history-drupal-7.x retrieved from cache.
Undefined index: version ReleaseInfo.php:130
Undefined index: #env-vars backend.inc:833
Backend invoke: /usr/bin/php /usr/share/drush/drush.php --php=/usr/bin/php ... (Expand)
/usr/bin/php /usr/share/drush/drush.php --php=/usr/bin/php --backend=2 --y... (Expand)
drupal-7.33 downloaded.
Returned from hook drush_make
Calling hook drush_make_post_make
Returned from hook drush_make_post_make
Command dispatch complete
A Drupal installation directory could not be found
Drush could not bootstrap this platform. Please check the platform directory exists and is readable.
Returned from hook drush_provision_drupal_pre_provision_verify
Command dispatch complete
Returned from hook drush_hosting_task
Changes made in drush_hosting_task have been rolled back.
Command dispatch complete
Updated task status to "Failed"
realityloop’s picture

I can confirm running the hostmaster-install command a second time does install succesfully.

helmo’s picture

I've added a Jenkins job to install Aegir 3 with the master branch of Drush ... It's failing as expected.

helmo’s picture

Status: Active » Needs review
FileSize
693 bytes

I've traced it to a specific commit in Drush with git bisect:

3b74d40b1228f022464b92243c16127eb613c2df is the first bad commit
commit 3b74d40b1228f022464b92243c16127eb613c2df
Author: Moshe Weitzman <weitzman@tejasa.com>
Date:   Tue Oct 28 13:05:58 2014 -0400

    When saving root to context system, use realpath()
   
    This resolves the root when you provide a relative path on the CLI like: drush -r ./d7

The call to realpath returns nothing for us as the platform has yet to be build.

This patch should help.

helmo’s picture

Status: Needs review » Fixed

I've merged #5

The jenkins job now installs fine, but fails in the test suite.. same as mentioned in #2

Building platform: drupal6 and adding to hostmaster.                        [ok]
Invalid file format:                                                     [error]
/var/aegir/.drush/provision/provision-tests/makes/drupal6.build

This is related to https://github.com/drush-ops/drush/issues/983

helmo’s picture

I've renamed the .build files in out test suite to .make ... problem solved.

Next Openatrium2 failed, again on external issues, so I've removed that one for now.

Next,

Do you wish to run all pending updates? (y/n): y
WD php: PDOException: SQLSTATE[42S02]: Base table or view not found:     [error]
1146 Table 'drupal6upgrade_0.blocked_ips' doesn't exist: SELECT 1
FROM {blocked_ips} WHERE ip = :ip; Array
(
    [:ip] => 127.0.0.1
)
 in drupal_is_denied() (line 1933 of
/var/aegir/platforms/drupal7/includes/bootstrap.inc).
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table &#039;drupal6upgrade_0.blocked_ips&#039; doesn&#039;t exist: SELECT 1 FROM {blocked_ips} WHERE ip = :ip; Array
(
    [:ip] => 127.0.0.1
)
 in drupal_is_denied() (line 1933 of /var/aegir/platforms/drupal7/includes/bootstrap.inc).
Drush command terminated abnormally due to an unrecoverable error.       [error]
WD php: PDOException: SQLSTATE[42S02]: Base table or view not found:     [error]
1146 Table 'drupal6upgrade_0.blocked_ips' doesn't exist: SELECT 1
FROM {blocked_ips} WHERE ip = :ip; Array
(
    [:ip] => 127.0.0.1
)
 in drupal_is_denied() (line 1933 of
/var/aegir/platforms/drupal7/includes/bootstrap.inc).
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table &#039;drupal6upgrade_0.blocked_ips&#039; doesn&#039;t exist: SELECT 1 FROM {blocked_ips} WHERE ip = :ip; Array
(
    [:ip] => 127.0.0.1
)
 in drupal_is_denied() (line 1933 of /var/aegir/platforms/drupal7/includes/bootstrap.inc).
Drush command terminated abnormally due to an unrecoverable error.       [error]
Finished performing updates.                                                [ok]
Drush was not able to start (bootstrap) the Drupal database.             [error]

That might be fixed with #2370275-1: More realistic hostmaster D6-D7 upgrade

Status: Fixed » Closed (fixed)

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