Skip to content

[test] Add missing postprocessing phase to executable stress tests #37978

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2021

Conversation

lorentey
Copy link
Member

We need to run utils/swift-darwin-postprocess.py on every executable test on Darwin platforms to work around a dyld issue. (And to ad-hoc sign executables on platforms that need it.)

Add a %target-codesign step to stress tests that are currently missing it.

We need to run utils/swift-darwin-postprocess.py on every executable test on Darwin platforms to work around a dyld issue. (And to ad-hoc sign executables on platforms that need it.)

Add a %target-codesign step to stress tests that are currently missing it.
@lorentey lorentey requested a review from shahmishal June 17, 2021 20:36
Copy link
Member

@shahmishal shahmishal left a comment

Choose a reason for hiding this comment

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

Thanks!

@shahmishal
Copy link
Member

@swift-ci test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 4c12217

@lorentey
Copy link
Member Author

@swift-ci test macOS platform

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 4c12217

@shahmishal
Copy link
Member

@swift-ci test macOS platform

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 4c12217

@shahmishal
Copy link
Member

@swift-ci test windows

@shahmishal shahmishal merged commit f51923d into swiftlang:main Jun 23, 2021
neonichu added a commit to swiftlang/swift-package-manager that referenced this pull request Apr 13, 2023
A macOS that contains the dyld issue worked around by swiftlang/swift#37978 has been deployed by Swift CI, so we can't do this anymore on Darwin.
neonichu added a commit to swiftlang/swift-package-manager that referenced this pull request Apr 13, 2023
A macOS that contains the dyld issue worked around by swiftlang/swift#37978 has been deployed by Swift CI, so we can't do this anymore on Darwin.
neonichu added a commit to swiftlang/swift-package-manager that referenced this pull request Apr 15, 2023
* Re-enable disabled tests

This re-enables a bunch of disabled tests, the hope is that they should now work that we have a newer superior Xcode installed on CI. If that happens to not be the case, we have `SWIFTCI_DISABLE_SDK_DEPENDENT_TESTS` to disable these tests specifically for the macOS CI if needed. This change introduces the variable where expected to be needed, but doesn't set it.

* Removed back deployment rpaths
* Removed more Darwin rpaths into the toolchain

A macOS that contains the dyld issue worked around by swiftlang/swift#37978 has been deployed by Swift CI, so we can't do this anymore on Darwin.

* Do not include Swift runtime libs in `DYLD_LIBRARY_PATH` on Darwin

rdar://96920453
neonichu added a commit to swiftlang/swift-package-manager that referenced this pull request May 10, 2023
* Re-enable disabled tests

This re-enables a bunch of disabled tests, the hope is that they should now work that we have a newer superior Xcode installed on CI. If that happens to not be the case, we have `SWIFTCI_DISABLE_SDK_DEPENDENT_TESTS` to disable these tests specifically for the macOS CI if needed. This change introduces the variable where expected to be needed, but doesn't set it.

* Removed back deployment rpaths
* Removed more Darwin rpaths into the toolchain

A macOS that contains the dyld issue worked around by swiftlang/swift#37978 has been deployed by Swift CI, so we can't do this anymore on Darwin.

* Do not include Swift runtime libs in `DYLD_LIBRARY_PATH` on Darwin

(cherry picked from commit 16fb1d2)
neonichu added a commit to swiftlang/swift-package-manager that referenced this pull request May 12, 2023
* Re-enable disabled tests

* Re-enable disabled tests

This re-enables a bunch of disabled tests, the hope is that they should now work that we have a newer superior Xcode installed on CI. If that happens to not be the case, we have `SWIFTCI_DISABLE_SDK_DEPENDENT_TESTS` to disable these tests specifically for the macOS CI if needed. This change introduces the variable where expected to be needed, but doesn't set it.

* Removed back deployment rpaths
* Removed more Darwin rpaths into the toolchain

A macOS that contains the dyld issue worked around by swiftlang/swift#37978 has been deployed by Swift CI, so we can't do this anymore on Darwin.

* Do not include Swift runtime libs in `DYLD_LIBRARY_PATH` on Darwin

(cherry picked from commit 16fb1d2)

* Skip SDK dependent tests in macOS bootstrap

This is manifesting itself as `cannot find 'XCTAssertEqual' in scope` on Swift CI again, but instead of disabling these tests wholesale like we did before, we want to take a more targetted approach.

(cherry picked from commit bc35b9c)

* Put `CommandsTests` behind `SWIFTCI_DISABLE_SDK_DEPENDENT_TESTS`

Looks like these tests are suffering from some of the same problems as `FunctionalTests` which makes sense since they're conceptually very similar.

(cherry picked from commit 2cb0f2f)
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.

3 participants