Daily testing for Scheduler module has failed the last two days with

ERROR: PHPUnit testing framework version 6 or greater is required when running on PHP 7.0 or greater. Run the command 'composer run-script drupal-phpunit-upgrade' in order to fix this.

See https://www.drupal.org/pift-ci-job/1625368

This is only when running at core 8.7. Tests at 8.8 and 8.9 are fine.

There have been no commits to Scheduler since before this, so I don't think it is anything that I have done. Does anyone else have this problem?

Comments

jonathan1055 created an issue. See original summary.

jonathan1055’s picture

The jenkins console log has:

  - Updating symfony/yaml (v3.4.26 => v3.4.38): Downloading
                                             
  [Composer\Downloader\TransportException]   
  Could not authenticate against github.com  
                                             
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...

Script @composer update phpunit/phpunit phpspec/prophecy symfony/yaml --with-dependencies --no-progress handling the drupal-phpunit-upgrade event returned with error code 255

Script Drupal\Core\Composer\Composer::upgradePHPUnit handling the drupal-phpunit-upgrade-check event terminated with an exception
ERROR: PHPUnit testing framework version 6 or greater is required when running on PHP 7.0 or greater. Run the command 'composer run-script drupal-phpunit-upgrade' in order to fix this.
jonathan1055’s picture

Title: PHPUnit testing framework version 6 or greater is required when running on PHP 7.0 or greater. » PHPUnit testing framework failure - [Composer\Downloader\TransportException] Could not authenticate against github.com

This is happening on other modules too - Devel and Rules both have this problem.

jonathan1055’s picture

Status: Active » Closed (outdated)

The github authentication problem seems to be resolved now and testing on d.o. is running OK again.

samuel.mortenson’s picture

Status: Closed (outdated) » Active

Re-opening per chat - I'm having this issue consistently with a specific test build in https://www.drupal.org/project/sfc/issues/3121590#comment-13523386

jonathan1055’s picture

I had this also today on Travis testing, it does not seem to be limited to drupal.org

samuel.mortenson’s picture

I'm wondering why it's so consistent - I can only get it to trigger for one kind of test in the issue from #5.

jonathan1055’s picture

Status: Active » Closed (outdated)

Hi @samuel.mortenson
This seems to be fixed now, at least I have not observed the problem for a couple of weeks.
Jonathan