Hi,

Since a couple of weeks now, my builds are failing in Jenkins.
Here's the error:

dompdf downloaded from                                                      [ok]
https://github.com/dompdf/dompdf/releases/download/v0.6.2/dompdf-0.6.2.zip.
Unable to patch dompdf with dompdf-remove-www-2.patch.                   [error]
Drush Make failed to download all projects. See the log above for the    [error]
CommentFileSizeAuthor
#5 log.txt517.38 KBPol
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Pol created an issue. See original summary.

japerry’s picture

Huh. did you try re-applying the patch? can you give me more debug information? I tried both 1.x and 2.x builds manually, and they work just fine.

dompdf downloaded from https://github.com/dompdf/dompdf/releases/download/v0.6.2/dompdf-0.6.2.zip.     [ok]
dompdf patched with dompdf-remove-www-2.patch.     [ok]
Generated PATCHES.txt file for dompdf   
Pol’s picture

Check the full jenkins log here: http://pastebin.com/fgNuQa0z

I'm still trying to understand why it fails.

japerry’s picture

That is super strange, I looked at your logs and ran this from within the cod_profile (7.x-2.x HEAD) directory:
drush --nocolor --root="~/Sites/cod/cod_profile/test" --yes make "build-cod.make" "test"

Version is 8.1.2 as well.

I wonder if there might be a permissions issue? Can you try running the drush command with -v or -d ?

....
Project adminimal_theme contains a theme named adminimal.
adminimal_theme-7.x-1.24 downloaded.                                                                                                                                                                                                                                                                                                              [ok]
backbone downloaded from https://github.com/jashkenas/backbone/archive/1.1.0.zip.                                                                                                                                                                                                                                                                 [ok]
ckeditor downloaded from http://download.cksource.com/CKEditor%20for%20Drupal/edit/ckeditor_4.5.8_edit.zip.                                                                                                                                                                                                                                       [ok]
ckeditor_button downloaded from http://download.ckeditor.com/button/releases/button_4.5.8.zip.                                                                                                                                                                                                                                                    [ok]
ckeditor_filetools downloaded from http://download.ckeditor.com/filetools/releases/filetools_4.5.8.zip.                                                                                                                                                                                                                                           [ok]
ckeditor_image2 downloaded from http://download.ckeditor.com/image2/releases/image2_4.5.8.zip.                                                                                                                                                                                                                                                    [ok]
ckeditor_lineutils downloaded from http://download.ckeditor.com/lineutils/releases/lineutils_4.5.8.zip.                                                                                                                                                                                                                                           [ok]
ckeditor_notification downloaded from http://download.ckeditor.com/notification/releases/notification_4.5.8.zip.                                                                                                                                                                                                                                  [ok]
ckeditor_notificationaggregator downloaded from http://download.ckeditor.com/notificationaggregator/releases/notificationaggregator_4.5.8.zip.                                                                                                                                                                                                    [ok]
ckeditor_toolbar downloaded from http://download.ckeditor.com/toolbar/releases/toolbar_4.5.8.zip.                                                                                                                                                                                                                                                 [ok]
ckeditor_widget downloaded from http://download.ckeditor.com/widget/releases/widget_4.5.8.zip.                                                                                                                                                                                                                                                    [ok]
colorbox downloaded from https://github.com/jackmoore/colorbox/archive/1.x.zip.                                                                                                                                                                                                                                                                   [ok]
jsonpath downloaded from https://jsonpath.googlecode.com/files/jsonpath-0.8.1.php.                                                                                                                                                                                                                                                                [ok]
modernizr downloaded from https://github.com/Modernizr/Modernizr/archive/v2.7.1.zip.                                                                                                                                                                                                                                                              [ok]
plupload downloaded from https://github.com/moxiecode/plupload/archive/v1.5.8.zip.                                                                                                                                                                                                                                                                [ok]
plupload patched with plupload-1_5_8-rm_examples-1903850-16.patch.                                                                                                                                                                                                                                                                                [ok]
Generated PATCHES.txt file for plupload                                                                                                                                                                                                                                                                                                           [ok]
underscore downloaded from https://github.com/jashkenas/underscore/archive/1.5.2.zip.                                                                                                                                                                                                                                                             [ok]
tablesaw downloaded from https://github.com/filamentgroup/tablesaw/releases/download/v1.0.4/tablesaw-1.0.4.zip.                                                                                                                                                                                                                                   [ok]
placeholder downloaded from https://github.com/mathiasbynens/jquery-placeholder/archive/v2.0.7.tar.gz.                                                                                                                                                                                                                                            [ok]
iCalcreator downloaded from https://github.com/iCalcreator/iCalcreator/archive/master.zip.                                                                                                                                                                                                                                                        [ok]
dompdf downloaded from https://github.com/dompdf/dompdf/releases/download/v0.6.2/dompdf-0.6.2.zip.                                                                                                                                                                                                                                                [ok]
dompdf patched with dompdf-remove-www-2.patch.                                                                                                                                                                                                                                                                                                    [ok]
Generated PATCHES.txt file for dompdf        
Pol’s picture

FileSize
517.38 KB

Here's the full log with verbose and debug flag.

japerry’s picture

Woah, thats weird. It appears like something in your environment disallows removing files as part of the patching process.

/home/jenkins/.drush/cache/download/https---www.drupal.org-files-issues-dompdf-remove-www-2.patch retrieved from cache. [58.17 sec, 17.21 MB]                       [notice]
The next patch would delete the file a/index.php,                                                                                                                   [notice]
which does not exist!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.

I'm not sure how it can be configured that way, but that is why its not working. If you want to build without it, you can remove that patch and manually try to rebuild. Also, I'm looking into updating dompdf, which also removes the test www directory altogether.

japerry’s picture

Status: Active » Closed (outdated)

We've updated dompdf a few times, so this shouldn't be valid anymore.