Skip to content

Revert running all test scopes on Windows CI - #18834

Merged
gtritchie merged 2 commits into
mainfrom
bugfix/revert-windows-r-test-scope
Sep 15, 2026
Merged

gtritchie merged 2 commits into
mainfrom
bugfix/revert-windows-r-test-scope

Conversation

@gtritchie

Copy link
Copy Markdown
Member

Intent

Windows CI is red. #18822 dropped the --scope core,rsession restriction so rstudio-tests.bat runs every scope, including r, which needs testthat. #18830 tried to install testthat into the Windows docker image and instead broke the image build. Revert both to get Windows builds green again.

Approach

Revert #18830, then #18822, restoring jenkins/Jenkinsfile.windows, dependencies/common/install-packages.cmd, and dependencies/windows/install-dependencies.cmd to their pre-#18822 state.

#18830 could not have worked. docker/jenkins/Dockerfile.windows installs R 3.6.3, and:

  • CRAN serves no Windows binaries below bin/windows/contrib/4.0; contrib/3.6/PACKAGES is a 404.
  • Current sources need a newer R anyway — testthat 3.3.2 and purrr 1.2.2 require R >= 4.1.0, rlang 1.3.0 requires R >= 4.0.0.

So install.packages() left the package list unsatisfied, the stop() #18830 added on missing packages failed the RUN install-dependencies.cmd layer, and the image build failed. In hourly build 2332 — triggered 33 seconds after the merge — the windows cell of Rebuild Docker Images failed, but Setup and Trigger Builds ran regardless, so windows-pipeline 3858 built against the unchanged jenkins/ide:windows-x86_64-blue-mistflower-msvc145 tag and the r scope failed exactly as before.

Getting the r scope onto Windows CI needs either a newer R in the image or package versions pinned to ones that still support R 3.6. Reopening #17825 to track that.

Two adjacent problems found while diagnosing this, not addressed here:

  • Setup and Trigger Builds in jenkins/Jenkinsfile.build does not depend on Rebuild Docker Images succeeding, so any failed rebuild silently ships platform builds against a stale image.
  • The rhel8 cell of the same rebuild also failed, at a boost header copy. Unrelated to these commits and still unexplained.

Automated Tests

None; CI configuration and image provisioning only. Verified the reverted tree is byte-identical to the pre-#18822 state for all three files.

QA Notes

None.

Documentation

None.

Addresses #17825.

This reverts commit ef7fd98.

The Windows CI image installs R 3.6.3 (docker/jenkins/Dockerfile.windows),
and CRAN serves no Windows binaries below bin/windows/contrib/4.0 -- the
3.6 directory is a 404. Current sources don't work either: testthat 3.3.2
and purrr 1.2.2 require R >= 4.1.0, rlang 1.3.0 requires R >= 4.0.0. So
install.packages() could never satisfy the package list, and the stop()
this change added on missing packages failed the RUN layer, which failed
the whole image build.

Hourly build 2332, triggered 33 seconds after the merge, failed the
windows cell of Rebuild Docker Images but still ran Setup and Trigger
Builds, so windows-pipeline 3858 built against the unchanged
jenkins/ide:windows-x86_64-blue-mistflower-msvc145 tag and the r scope
failed the same way as before.

Getting testthat onto the Windows image needs either a newer R in the
image or package versions pinned to ones that support R 3.6.
This reverts commit 3dd87a5.

Restore --scope core,rsession so Windows CI stops failing on the r scope,
which needs testthat. The image can't install it while it ships R 3.6.3
(see the companion revert of #18830).

Addresses #17825.

@cm421 cm421 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@gtritchie
gtritchie merged commit 256b7e4 into main Sep 15, 2026
12 of 15 checks passed
@gtritchie
gtritchie deleted the bugfix/revert-windows-r-test-scope branch September 15, 2026 22:30
@gtritchie
gtritchie deployed to e2e-playwright September 15, 2026 22:46 — with GitHub Actions Active
@gtritchie
gtritchie deployed to e2e-playwright September 15, 2026 22:46 — with GitHub Actions Active
@gtritchie
gtritchie deployed to e2e-playwright September 15, 2026 22:47 — with GitHub Actions Active
@gtritchie
gtritchie deployed to e2e-playwright September 15, 2026 22:47 — with GitHub Actions Active
@gtritchie
gtritchie deployed to e2e-playwright September 15, 2026 22:50 — with GitHub Actions Active
@gtritchie
gtritchie deployed to e2e-playwright September 15, 2026 22:50 — with GitHub Actions Active
@gtritchie
gtritchie deployed to e2e-playwright September 15, 2026 22:53 — with GitHub Actions Active
@gtritchie
gtritchie deployed to e2e-playwright September 15, 2026 22:53 — with GitHub Actions Active
@gtritchie
gtritchie deployed to e2e-playwright September 15, 2026 22:53 — with GitHub Actions Active
@gtritchie
gtritchie deployed to e2e-playwright September 15, 2026 22:53 — with GitHub Actions Active
@gtritchie
gtritchie deployed to e2e-playwright September 15, 2026 22:53 — with GitHub Actions Active
@gtritchie
gtritchie deployed to e2e-playwright September 15, 2026 22:53 — with GitHub Actions Active
@github-actions

Copy link
Copy Markdown

RStudio E2E - all platforms

All tests passed!

#################### 100% pass rate

Passed Failed Skipped Flaky
2975 0 196 4
Platform ✅ Passed ❌ Failed ⚠️ Skipped 🔁 Flaky
✅ auth-teardown 2 0 10 0
✅ desktop-linux 751 0 38 0
✅ desktop-macos 747 0 42 1
✅ desktop-windows 751 0 42 2
✅ server-linux 696 0 44 1
✅ setup 28 0 20 0
View / download the full report

View report online -- opens in the browser, no download needed. Available for 14 days.

Download playwright-report.zip -- extract and open index.html

Includes screenshots, traces, and step-by-step details for every test. Expires in 15 days.


All platforms - commit 23cc32aa113c9acc5c100e24131c9d364dbb876b - Run #1031

This branch was successfully deployed

1 active deployment
e2e-playwright — 23cc32aa Deployed Sep 15, 2026 by gtritchie via windows / e2e-desktop-windows (1) #1031
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants