GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Unrelated test consistently fails in GH runners with ubuntu-latest · Issue #7243 · backdrop/backdrop-issues

Unrelated test consistently fails in GH runners with ubuntu-latest #7243

New issue
Copy link
New issue
Copy link
Open
Bug
backdrop/backdrop
#5366
backdrop/backdrop#5366
Open
Unrelated test consistently fails in GH runners with ubuntu-latest#7243
Bug
backdrop/backdrop
#5366
Copy link
Labels
pr - needs code reviewstatus - has pull request

Description

@indigoxela
indigoxela
opened on Nov 17, 2026
Issue body actions

Description of the bug

Only recently TextSummaryTestCase::testLength() fails consistently. Also in totally unrelated PRs.

Steps To Reproduce

Create a PR for core.

Actual behavior

Test fails:

Detailed test results
---------------------

---- Field types: Text summary (TextSummaryTestCase) ----

Status    Group      Filename          Line    Function                            
----------------------------------------------------------------------------------------------
Fail      Other      text.test         516     testLength()                                                            
    Generated  summary "
Fail      Other      text.test         517     testLength()                                                            
    Generated filtered_html summary "
Fail      Other      text.test         516     testLength()                                                            
    Generated  summary "\nHi\n" matches expected "\nHi\n".

👆 Note that there are a lot more checks in that test. Only these 3 seem to fail.

What's odd - there should be a format name...

format_string('Generated @format summary "@summary" matches expected "@expected"...

Additional information

As I can't reproduce it locally (test passes), I opened this issue.

Add any other information that could help, such as:

  • Backdrop CMS version: dev
  • Web server and its version:
  • PHP version: any

Unclear what changed so this fails in GitHub action. New runner version?

Activity

  1. indigoxela
    added the
    Bug
    issue type on Nov 17, 2026
  2. indigoxela
    added
    help wanted
    on Nov 17, 2026
  3. laryn commented on Nov 17, 2026

    @laryn
    laryn
    on Nov 17, 2026
    Contributor
    More actions

    So $format seems to be ... null or empty string. Hard to guess without way to reproduce.

    @indigoxela At a glance, line 516 is calling assertTextSummary explicitly with a NULL passed to the $format variable. I'm not sure why.

  4. indigoxela commented on Nov 17, 2026

    @indigoxela
    indigoxela
    on Nov 17, 2026
    MemberAuthor
    More actions

    ... line 516 is calling assertTextSummary explicitly with a NULL

    Oh, right, many thanks for an additional pair of eyes - functioning ones. 😉

  5. indigoxela commented on Nov 18, 2026

    @indigoxela
    indigoxela
    on Nov 18, 2026
    MemberAuthor
    More actions

    No commit to core since it last worked.
    Same runner version (2.338.2), the only difference is that the Ubuntu LTS version changed.
    And setting it to ubuntu-24.04 seems to do the trick.

    Now we'd need someone with ubuntu-26.04 to (eventually) locally reproduce this odd failure.
    The only thing I can see is that the order of listed tests changed.

  6. indigoxela
    added
    status - has pull request
    pr - needs code review
    and removed
    help wanted
    on Nov 18, 2026
  7. indigoxela
    changed the title [-]Unrelated test consistently fails in GH runners[/-] [+]Unrelated test consistently fails in GH runners with ubuntu-latest[/+] on Nov 28, 2026
  8. indigoxela commented on Nov 28, 2026

    @indigoxela
    indigoxela
    on Nov 28, 2026
    MemberAuthor
    More actions

    "Fun" fact: even when all tests pass (on ubuntu-24.04) things are broken, as a lot of tests run twice (in different batches on the same PHP version).

    The whole concept of test run fractions deserves a closer look. And that's unrelated to the ubuntu version.

    Seems like one of the batches (fractions) runs twice (more or less) while another one not at all? But only as of November? Or maybe the random test order is misleading. Or maybe it's only a problem with reporting... 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pr - needs code reviewstatus - has pull request

    Type

    Bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.