xforty / drush-deploy

Drupal deploy tool based on Capistrano and Drush
https://github.com/xforty/drush-deploy/wiki
Other
35 stars 4 forks source link

Err on drupal:clearcache, yet command reports success #9

Open pearcec opened 12 years ago

pearcec commented 12 years ago
dkingofpa commented 11 years ago

I'm getting these false err lines in my output as well. It's happening on other tasks as well. They show up as red and make me think there are errors I need to address. Here are my (sanitized) logs:

  * 2012-12-19 16:03:55 executing `drupal:clearcache'
  * executing "drush -r /home/user/example.com/releases/20121219210257 cache-clear all"
    servers: ["example.com"]
    [user@example.com] executing command
*** [err :: user@example.com] 'all' cache was cleared in                                             [success]
*** [err :: user@example.com] /home/user/example.com/releases/20121219210257#default
    command finished in 21484ms
  * 2012-12-19 16:04:16 executing `db:drupal:update'
  * executing "cd '/home/user/example.com/releases/20121219210257' && drush updatedb --yes"
    servers: ["example.com"]
    [user@example.com] executing command
*** [err :: user@example.com] No database updates required                                           [success]
*** [err :: user@example.com] 'all' cache was cleared in                                             [success]
*** [err :: user@example.com] /home/user/example.com/releases/20121219210257#default
*** [err :: user@example.com] Finished performing updates.                                                [ok]
    command finished in 12809ms
  * executing "cd /home/user/example.com/releases/20121219210257 && drush vset securepages_enable 1"
    servers: ["example.com"]
    [user@example.com] executing command
*** [err :: user@example.com] securepages_enable was set to 1.                                       [success]
    command finished in 1277ms
pearcec commented 11 years ago

I ran drush by hand and it results in 0 exit value. Still scratching my head.

vagrant@xforty:/vagrant$ drush @test cc all
'all' cache was cleared in                                             [success]
/home/xforty/domains/test.xforty.com/current#test.xforty.com
vagrant@xforty:/vagrant$ echo $?
0