Skip to content

Skip tests related to ParallelTestsPkgTests #2948

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
Sep 23, 2020

Conversation

neonichu
Copy link
Contributor

We are seeing CI failures of the form:

error: compiled module was created by an older version of the compiler;
rebuild 'XCTest' and try again:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/XCTest.swiftmodule/x86_64-apple-macos.swiftmodule

Let's skip these tests while we are investigating.

@neonichu
Copy link
Contributor Author

@swift-ci please smoke test

1 similar comment
@neonichu
Copy link
Contributor Author

@swift-ci please smoke test

@abertelrud
Copy link
Contributor

The only thing I might add would be a bug number or comment tracking the fix, but otherwise it looks good.

@neonichu
Copy link
Contributor Author

I didn't want to put a radar reference into OSS, but looks like we have been doing that in the past as well.

@neonichu
Copy link
Contributor Author

@swift-ci please smoke test

2 similar comments
@neonichu
Copy link
Contributor Author

@swift-ci please smoke test

@neonichu
Copy link
Contributor Author

@swift-ci please smoke test

@abertelrud
Copy link
Contributor

I didn't want to put a radar reference into OSS, but looks like we have been doing that in the past as well.

Yes, Radar numbers are fine, and in fact there is a Radar URL field in JIRA. Alternatively, and perhaps better, this could be a JIRA reference (which would involve creating a JIRA to track the issue).

We are seeing CI failures of the form:
```/private/var/folders/_8/79jmzf2142z2xydc_01btlx00000gn/T/Miscellaneous_ParallelTestsPkg.s9qJNJ/Miscellaneous_ParallelTestsPkg/Tests/ParallelTestsPkgTests/ParallelTestsFailureTests.swift:1:8:
error: compiled module was created by an older version of the compiler;
rebuild 'XCTest' and try again:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/XCTest.swiftmodule/x86_64-apple-macos.swiftmodule```

Let's skip these tests while we are investigating.
@neonichu neonichu force-pushed the skip-paralleltestspkg branch from 8ad8479 to 8c25f89 Compare September 23, 2020 18:37
@neonichu
Copy link
Contributor Author

Don't think a JIRA brings additional value here since this is something we have to investigate ourselves and the full contents of the radar is already the commit msg / PR description. So I just referenced the radar.

@neonichu
Copy link
Contributor Author

@swift-ci please smoke test

@neonichu neonichu merged commit e2602ba into swiftlang:main Sep 23, 2020
@neonichu neonichu deleted the skip-paralleltestspkg branch September 23, 2020 21:10
@neonichu neonichu restored the skip-paralleltestspkg branch September 23, 2020 21:10
@neonichu neonichu deleted the skip-paralleltestspkg branch September 23, 2020 21:10
@@ -213,6 +213,9 @@ class MiscellaneousTestCase: XCTestCase {
}

func testSwiftTestParallel() throws {
// <rdar://problem/69448176> Fix and re-enable test related to "ParallelTestsPkg"
try XCTSkip()
Copy link
Contributor

@mattt mattt Oct 13, 2020

Choose a reason for hiding this comment

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

@neonichu These try XCTSkip() lines are generating the following errors in Xcode 12:

Result of 'XCTSkip' initializer is unused

No calls to throwing functions occur within 'try' expression

Should these instead be throw XCTSkip()?

Copy link
Contributor

Choose a reason for hiding this comment

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

See #2982

neonichu added a commit to neonichu/swift-package-manager that referenced this pull request Oct 16, 2020
- we were actually not really skipping a few tests, because I didn't do
that correctly in swiftlang#2948
- we need to skip a few additional tests which are using the same
functionality (running an inferior `swift test`)

Supersedes swiftlang#2982
neonichu added a commit that referenced this pull request Oct 16, 2020
- we were actually not really skipping a few tests, because I didn't do
that correctly in #2948
- we need to skip a few additional tests which are using the same
functionality (running an inferior `swift test`)

Supersedes #2982
federicobucchi pushed a commit to federicobucchi/swift-package-manager that referenced this pull request Jan 6, 2021
- we were actually not really skipping a few tests, because I didn't do
that correctly in swiftlang#2948
- we need to skip a few additional tests which are using the same
functionality (running an inferior `swift test`)

Supersedes swiftlang#2982
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