Skip to content

Move stress tester and swiftevolve to new swift_build_support build infrastructure #27580

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

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Oct 8, 2019

I’m planning to move SwiftSyntax to the new build infrastructure in swift_build_support and started off by migrating the SourceKit stress tester over.

@ahoppen
Copy link
Member Author

ahoppen commented Oct 8, 2019

@swift-ci Please test
@swift-ci Please Build Toolchain macOS Platform
@swift-ci Please Build Toolchain Linux Platform

@ahoppen
Copy link
Member Author

ahoppen commented Oct 8, 2019

Apparently, I’m not able to start multiple swift-ci commands in one comment. So here we go again.

@swift-ci Please test

@ahoppen
Copy link
Member Author

ahoppen commented Oct 8, 2019

@swift-ci Please Build Toolchain macOS Platform

@swift-ci
Copy link
Contributor

swift-ci commented Oct 8, 2019

Linux Toolchain (Ubuntu 16.04)
Download Toolchain
Git Sha - 25c842ba4b19d18294122e7cc47a891bf31e1833

Install command
tar zxf swift-PR-27580-294-ubuntu16.04.tar.gz
More info

@swift-ci
Copy link
Contributor

swift-ci commented Oct 8, 2019

Build failed
Swift Test Linux Platform
Git Sha - 25c842ba4b19d18294122e7cc47a891bf31e1833

@swift-ci
Copy link
Contributor

swift-ci commented Oct 8, 2019

Build failed
Swift Test OS X Platform
Git Sha - 25c842ba4b19d18294122e7cc47a891bf31e1833

Copy link
Contributor

@benlangmuir benlangmuir left a comment

Choose a reason for hiding this comment

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

I think we should couple this with a change to simplify the stress tester's build-script-helper. There shouldn't be any reason to pass all these tools separately.

E.g.

--toolchain

instead of

-- swiftc-exec
--swift-build-exec
--swift-test-exec
--syntax-parser-lib-dir
--sourcekitd-dir
--swiftsyntax-dir

@ahoppen ahoppen force-pushed the skstresstester-new-build-infrastructure branch from 25c842b to 0c8e1c7 Compare October 10, 2019 17:15
@ahoppen
Copy link
Member Author

ahoppen commented Oct 10, 2019

@swift-ci Please tests

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 25c842ba4b19d18294122e7cc47a891bf31e1833

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 25c842ba4b19d18294122e7cc47a891bf31e1833

@shahmishal
Copy link
Member

@swift-ci Please Build Toolchain macOS Platform

@ahoppen ahoppen force-pushed the skstresstester-new-build-infrastructure branch 4 times, most recently from d97ce8d to a7953e3 Compare October 18, 2019 18:02
@ahoppen ahoppen changed the title Move stress tester to new swift_build_support build infrastructure Move stress tester and swiftevolve to new swift_build_support build infrastructure Oct 18, 2019
@ahoppen
Copy link
Member Author

ahoppen commented Oct 18, 2019

@swift-ci Please test

@ahoppen
Copy link
Member Author

ahoppen commented Oct 18, 2019

preset=buildbot_skstresstester_macos
@swift-ci Please test with preset macOS Platform

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 0c8e1c7a738309815494ba6b856b4ac99e3027a5

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 0c8e1c7a738309815494ba6b856b4ac99e3027a5

@ahoppen
Copy link
Member Author

ahoppen commented Oct 19, 2019

swiftlang/swift-stress-tester#88

preset=buildbot_skstresstester_macos
@swift-ci Please test with preset macOS Platform

@ahoppen ahoppen force-pushed the skstresstester-new-build-infrastructure branch from 64c3435 to 92a0e20 Compare October 20, 2019 02:40
@ahoppen
Copy link
Member Author

ahoppen commented Oct 20, 2019

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 64c3435cb1ac0ec4f3cada698f08bb88f2a12ae1

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 64c3435cb1ac0ec4f3cada698f08bb88f2a12ae1

@ahoppen
Copy link
Member Author

ahoppen commented Oct 20, 2019

swiftlang/swift-stress-tester#88

preset=buildbot_skstresstester_macos
@swift-ci Please test with preset macOS Platform

@ahoppen
Copy link
Member Author

ahoppen commented Oct 20, 2019

swiftlang/swift-stress-tester#88

preset=buildbot_swiftevolve_macos
@swift-ci Please test with preset macOS Platform

@ahoppen
Copy link
Member Author

ahoppen commented Oct 20, 2019

@swift-ci Please build toolchain macOS

@ahoppen
Copy link
Member Author

ahoppen commented Oct 21, 2019

swiftlang/swift-stress-tester#88

@swift-ci Please build toolchain macOS

@swift-ci
Copy link
Contributor

macOS Toolchain
Download Toolchain
Git Sha - 92a0e20

Install command
tar -zxf swift-PR-27580-402-osx.tar.gz --directory ~/

@ahoppen
Copy link
Member Author

ahoppen commented Oct 21, 2019

Manually verified that the files in the toolchain match the ones in the open source toolchains.

Copy link
Contributor

@benlangmuir benlangmuir left a comment

Choose a reason for hiding this comment

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

To clarify, this is only for macOS still right? I assume Linux support is for a later change?

@@ -1026,6 +1036,17 @@ def create_argument_parser():
option('--skip-test-optimize-none-with-implicit-dynamic', unsupported)
option('--skip-test-optimized', unsupported)

# -------------------------------------------------------------------------
in_group('Build-script-impl arguments (for disambiguation)')
# We need to list --skip-build-swift explicitly because otherwise argparse
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be "skip-test-swift" ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah it should be. I’ll fix it in a follow-up PR.

@ahoppen
Copy link
Member Author

ahoppen commented Oct 21, 2019

Yes, the PR only tackles macOS support. I’ll look into Linux support later.

@ahoppen ahoppen merged commit cfae1a3 into swiftlang:master Oct 21, 2019
@CodaFi
Copy link
Contributor

CodaFi commented Oct 21, 2019

It looks like this broke the macOS bot. Could you run python-lint and commit the result?

@rintaro
Copy link
Member

rintaro commented Oct 21, 2019

Fixing python-lint issue #27807

@ahoppen ahoppen deleted the skstresstester-new-build-infrastructure branch October 21, 2019 22:05
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.

6 participants