Problem/Motivation

Composer require failure DrupalCI automated test is getting failed.


Composer require failure - View results on dispatcher

--- Commands Executed ---
sudo -u www-data /usr/local/bin/composer require drupal/sm_appdashboard_apigee 1.x-dev --prefer-stable --no-progress --no-suggest --no-interaction --working-dir /var/www/html
Return Code: 2
--- Output ---

--- Errors ---
./composer.json has been updated
> Drupal\Composer\Composer::ensureComposerVersion
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for drupal/sm_appdashboard_apigee 1.x-dev -> satisfiable by drupal/sm_appdashboard_apigee[1.x-dev].
    - drupal/sm_appdashboard_apigee 1.x-dev requires drupal/apigee_edge_teams-apigee_edge_teams * -> no matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.

Steps to reproduce

Proposed resolution

If a module is a contributed module on drupal.org, has dependencies on other modules, and wishes to test changes to those dependencies using DrupalCI as part of development, they must have a composer.json that expresses those Drupal module dependencies (DrupalCI can only detect changes to dependencies in patches within composer.json, not in .info or .info.yml files.)
https://www.drupal.org/docs/creating-custom-modules/add-a-composerjson-file

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#3 3174576-3.patch1.22 KBrakesh.gectcr

Comments

rakesh.gectcr created an issue. See original summary.

rakesh.gectcr’s picture

Issue summary: View changes
rakesh.gectcr’s picture

Status: Active » Needs review
StatusFileSize
new1.22 KB

  • rakesh.gectcr committed 31d512a on 8.x-1.x
    Issue #3174576 by rakesh.gectcr: Composer require failure DrupalCI...
rakesh.gectcr’s picture

Status: Needs review » Fixed

Happy to see Drupal CI test getting passed.

  • rakesh.gectcr committed 5fd1166 on 8.x-1.x
    Issue #3174576 by rakesh.gectcr: Composer require failure DrupalCI...

  • rakesh.gectcr committed 57af7d6 on 8.x-1.x
    Issue #3174576 by rakesh.gectcr: Composer require failure DrupalCI...

  • rakesh.gectcr committed 5de13ec on 8.x-1.x
    Issue #3174576 by rakesh.gectcr: Composer require failure DrupalCI...

Status: Fixed » Closed (fixed)

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