The tests are failing for D7 with an unusual error:
00:00:09.514 Package operations: 3 installs, 0 updates, 0 removals
00:00:09.519 - Installing drupal/token (1.6.0) Cloning 7.x-1.6
00:00:10.792 - Installing drupal/ctools (1.12.0) Cloning 7.x-1.12
00:00:12.379 - Installing drupal/metatag (dev-1.x 491890c) Cloning 491890cfe4
00:00:14.279 Writing lock file
00:00:14.279 Generating autoload files
00:00:14.324 Adding testing (require-dev) dependencies.
00:00:14.324 Composer Command: ./bin/composer require 'drupal/context:*' 'drupal/devel:*' 'drupal/entity:*' 'drupal/entity_translation:*' 'drupal/file_entity:*' 'drupal/i18n:*' 'drupal/imagecache_token:*' 'drupal/me:*' 'drupal/media:>=2.0, <3.0' 'drupal/metatag_dc:*' 'drupal/metatag_opengraph:*' 'drupal/panels:*' 'drupal/profile2:*' 'drupal/search_api:*' 'drupal/views:*' 'drupal/workbench_moderation:*' --prefer-stable --no-progress --no-suggest --working-dir /var/lib/drupalci/workspace/jenkins-default-302361/source
00:00:14.406 ./composer.json has been updated
00:00:21.639 Your requirements could not be resolved to an installable set of packages.
00:00:21.641
00:00:21.641 Problem 1
00:00:21.641 - The requested package drupal/metatag_dc could not be found in any version, there may be a typo in the package name.
00:00:21.642 Problem 2
00:00:21.642 - The requested package drupal/metatag_opengraph could not be found in any version, there may be a typo in the package name.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | metatag-n2844504-3.patch | 14.15 KB | damienmckenna |
Comments
Comment #2
damienmckennaThese two items are listed as dependencies in some of the submodules, e.g. metatag_opengraph_products lists metatag_opengraph as a dependency.
It seems like the problem might be that the dependencies have to be in the format "[project]:[module]", just doing "[module]" appears to be throwing it.
Comment #3
damienmckennaLets see if adding the project prefixes to all dependencies will solve the problem.
Comment #5
damienmckennaCommitted and pushed. Now lets see if the testbots fail again.
Comment #6
damienmckennaMoving back to DrupalCI, the bug persists after the commit: https://dispatcher.drupalci.org/job/default/302371/console
Comment #7
damienmckennaHonestly I don't see any point in using Composer to install dependencies if there is not a composer.json file included.
Comment #8
damienmckennaThe 8.x-1.x branch is also failing with similar problems:
https://dispatcher.drupalci.org/job/default/302560/console
Comment #9
MixologicWe've been in a staff retreat this morning. Looking into this now.
Comment #10
MixologicOkay, the root cause of this issue has been solved - it was a permissions conflict between the process that creates releases, and the process that handles new git commits to dev branches. So this should be fixed, finally.
As far as to why to use composer to build the codebase, even when there isnt a composer.json - theres several reasons.
Metatag really seems to have been the canary in the deployment coal mine and just about every issue we've run into has hit Metatag first.
Im really grateful for your patience in this process and I feel awful having caused you any frustration.
Comment #11
damienmckennaThanks for taking the time to work through the problem, I really appreciate the effort you've put into improving DrupalCI. It all seems to be good now.
Comment #13
damienmckennaFYI: #2855026: Installation profiles do not support project:module format for dependencies