Skip to content

[cxx-interop][test][android] Disable FRT sequence tests on Android armv7 - #90360

Merged
finagolfin merged 1 commit into
swiftlang:mainfrom
j-hui:frt64
Jul 3, 2026
Merged

finagolfin merged 1 commit into
swiftlang:mainfrom
j-hui:frt64

Conversation

@j-hui

@j-hui j-hui commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

These tests depend on std::vector<FRT*> conforming to CxxRandomAccessCollection, which isn't kicking in for some reason.

Supersedes #90323 (disables some additional tests)

@j-hui

j-hui commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

@swift-ci test android

@@ -2,6 +2,8 @@
// RUN: -I %S/Inputs -source-filename=x -cxx-interoperability-mode=default \
// RUN: | %FileCheck %s

// XFAIL: OS=linux-androideabi

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This passes and the previous one isn't run, as we don't run the executable tests on Android yet, so remove these two and we'll get this in. No need to run Android tests on this again, as #90343 has it failing earlier.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sure, will do!

Do you reckon it's worth leaving a comment on the executable test, eg "NB this will fail on android due to a missing conformance"?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

No, don't worry, there are a couple dozen executable tests failing on Android AArch64 currently, likely more on 32-bit armv7, which I haven't run those for in years.

Once we get the executable tests running on CI this summer, I will go through those and see what to do.

These tests depend on std::vector<FRT*> conforming to
CxxRandomAccessCollection, which isn't kicking in for some reason.
@j-hui

j-hui commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

@swift-ci please smoke test

@finagolfin

Copy link
Copy Markdown
Member

@swift-ci smoke test windows

@finagolfin
finagolfin enabled auto-merge (squash) July 2, 2026 23:19
@j-hui

j-hui commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

The same lldb tests seem to have failed:

********************
Failed Tests (18):
  lldb-api :: lang/swift/async/actors/unprioritised_jobs/TestSwiftActorUnprioritisedJobs.py
  lldb-api :: lang/swift/async/continuations/TestSwiftContinuationSynthetic.py
  lldb-api :: lang/swift/async/expr/TestSwiftAsyncExpressions.py
  lldb-api :: lang/swift/async/formatters/task/TestSwiftTaskSyntheticProvider.py
  lldb-api :: lang/swift/async/formatters/task/complete/TestSwiftTaskComplete.py
  lldb-api :: lang/swift/async/formatters/task/suspended/TestSwiftTaskSuspended.py
  lldb-api :: lang/swift/async/formatters/taskpriority/TestSwiftTaskPrioritySummary.py
  lldb-api :: lang/swift/async/taskgroups/TestSwiftTaskGroupSynthetic.py
  lldb-api :: lang/swift/closures_var_not_captured/TestSwiftClosureVarNotCaptured.py
  lldb-api :: lang/swift/expression/actor/TestSwiftExpressionActor.py
  lldb-api :: lang/swift/foundation_value_types/data/TestSwiftFoundationTypeData.py
  lldb-api :: lang/swift/foundation_value_types/date/TestSwiftFoundationTypeDate.py
  lldb-api :: lang/swift/foundation_value_types/uuid/TestSwiftFoundationTypeUUID.py
  lldb-api :: lang/swift/observation/TestSwiftObservation.py
  lldb-api :: lang/swift/po/recursive/TestSwiftPORecursiveBehavior.py
  lldb-api :: lang/swift/po/ref_types/TestSwiftPORefTypes.py
  lldb-api :: lang/swift/po/val_types/TestSwiftPOValTypes.py
  lldb-api :: lang/swift/variables/consume_operator_async/TestSwiftConsumeOperatorAsync.py

I saw there was some discussion on swiftlang/llvm-project#13212 about #90324 not being reflected in the latest PR tests. Maybe we got unlucky again? Will retrigger CI and see if it goes through now.

@j-hui

j-hui commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

@swift-ci smoke test windows

@finagolfin

Copy link
Copy Markdown
Member

I made sure to trigger this last Windows CI run here well after #90324 was merged, so either the CI randomly won't pick up recently merged commits, as I see some other Windows CI runs passing again so they must have got the #90324 fix, or those tests are still flaking after the fix, as they were before when they were disabled weeks ago.

@charles-zablit, you may want to check the Windows PR CI results of several failing runs today, to see if those lldb tests are still flaking after your fix.

@charles-zablit

Copy link
Copy Markdown
Contributor

What we have seen in the past with @AnthonyLatsis is that the pull request branch is not rebased with the latest commits from the target branch. At least not often.

What ends up happening is that even though the CI is fixed on top of tree, those changes are not on the PR branch (because Github did not update it yet) and the CI fails again. Given that the fix was on the swift repo as well, I think it would be worth rebasing this branch.

@finagolfin

Copy link
Copy Markdown
Member

What ends up happening is that even though the CI is fixed on top of tree, those changes are not on the PR branch (because Github did not update it yet)

I thought that was fixed by #89795?

@finagolfin
finagolfin merged commit 10bc0fa into swiftlang:main Jul 3, 2026
3 checks passed
@finagolfin

Copy link
Copy Markdown
Member

Got the Android CI green again, thanks. 👍

@AnthonyLatsis

Copy link
Copy Markdown
Collaborator

I thought that was fixed by #89795?

We do shallow checkouts on Windows, which my change did not account for. That has already been sorted, but we also need the job script—I genuinely have no idea how many of those we have—to first apply the same logic to the originating PR because update-checkout neither does that nor re-runs itself.

@finagolfin

Copy link
Copy Markdown
Member

OK, well, I don't see a bunch of lldb test flakes on Windows since, so this probably was a source checkout issue. Now that you got #90294 in, hopefully that won't happen again.

Paul-Passeron pushed a commit to Paul-Passeron/swift that referenced this pull request Jul 6, 2026
…mv7 (swiftlang#90360)

These tests depend on std::vector<FRT*> conforming to
CxxRandomAccessCollection, which isn't kicking in for some reason.
egekaya1 pushed a commit to egekaya1/swift that referenced this pull request Jul 14, 2026
…mv7 (swiftlang#90360)

These tests depend on std::vector<FRT*> conforming to
CxxRandomAccessCollection, which isn't kicking in for some reason.
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.

4 participants