Automated tests against D10.1 are broken

Created on 13 January 2023, over 1 year ago
Updated 1 March 2023, over 1 year ago

Problem/Motivation

Hopefully this is it the right project to report issues with automated test failures.

Tried to make a merge request:
https://www.drupal.org/project/drupal/issues/3333281 ✨ Give trusted host configuration hint in default.settings.php Fixed
https://git.drupalcode.org/project/drupal/-/merge_requests/3239

And it gives this error:
https://www.drupal.org/pift-ci-job/2567195 β†’

11:09:57 ----------------   Starting composer   ----------------
11:09:57 Directory created at /var/lib/drupalci/workspace/jenkins-drupal_patches-161576/ancillary/composer
11:09:57 Running Composer within the environment.
11:09:57 sudo -u www-data /usr/local/bin/composer config -g discard-changes true
11:09:57 sudo -u www-data /usr/local/bin/composer config -g discard-changes true
11:09:57 sudo -u www-data /usr/local/bin/composer install --prefer-dist --no-suggest --no-interaction --no-progress --working-dir /var/www/html
11:09:58 You are using the deprecated option "--no-suggest". It has no effect and will break in Composer 3.
11:09:58 > Drupal\Composer\Composer::ensureComposerVersion
11:09:58 Installing dependencies from lock file (including require-dev)
11:09:58 Verifying lock file contents can be installed on current platform.
11:09:58 - Required package "drupal/core" is in the lock file as "10.1.x-dev" but that does not satisfy your constraint "self.version".
11:09:58 - Required package "drupal/core-project-message" is in the lock file as "10.1.x-dev" but that does not satisfy your constraint "self.version".
11:09:58 - Required package "drupal/core-vendor-hardening" is in the lock file as "10.1.x-dev" but that does not satisfy your constraint "self.version".
11:09:58 This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.
11:09:58 Read more about correctly resolving merge conflicts https://getcomposer.org/doc/articles/resolving-merge-conflicts.md
11:09:58 and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require-r
11:09:58 Composer error. Unable to continue.
11:09:58 --- Commands Executed ---
11:09:58 sudo -u www-data /usr/local/bin/composer config -g discard-changes true
11:09:58 sudo -u www-data /usr/local/bin/composer install --prefer-dist --no-suggest --no-interaction --no-progress --working-dir /var/www/html
11:09:58 Return Code: 4
11:09:58 --- Output ---
11:09:58 
11:09:58 --- Errors ---
11:09:58 You are using the deprecated option "--no-suggest". It has no effect and will break in Composer 3.
11:09:58 > Drupal\Composer\Composer::ensureComposerVersion
11:09:58 Installing dependencies from lock file (including require-dev)
11:09:58 Verifying lock file contents can be installed on current platform.
11:09:58 - Required package "drupal/core" is in the lock file as "10.1.x-dev" but that does not satisfy your constraint "self.version".
11:09:58 - Required package "drupal/core-project-message" is in the lock file as "10.1.x-dev" but that does not satisfy your constraint "self.version".
11:09:58 - Required package "drupal/core-vendor-hardening" is in the lock file as "10.1.x-dev" but that does not satisfy your constraint "self.version".
11:09:58 This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.
11:09:58 Read more about correctly resolving merge conflicts https://getcomposer.org/doc/articles/resolving-merge-conflicts.md
11:09:58 and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require-r

Steps to reproduce

Make a merge request against D10.1

Proposed resolution

Remove --no-suggest?

Remaining tasks

Investigate and fix.

User interface changes

Fixes tests for merge requests.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Fixed

Component

Continuous Integration

Created by

πŸ‡¬πŸ‡§United Kingdom MustangGB Coventry, United Kingdom

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024