Skip to content
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

PackageCommandTests.testCommandPluginDiagnostics is flakey #8180

Open
1 task done
plemarquand opened this issue Dec 18, 2024 · 0 comments
Open
1 task done

PackageCommandTests.testCommandPluginDiagnostics is flakey #8180

plemarquand opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels

Comments

@plemarquand
Copy link
Contributor

Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?

  • Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands, swift build, swift test, swift package etc.

Description

Periodically PackageCommandTests.testCommandPluginDiagnostics will fail. This test has been temporarily disabled. This issue tracks the work to reenable it.

It is failing with:

Test Case 'PackageCommandTests.testCommandPluginDiagnostics' started at 2024-12-18 13:15:21.289
/home/build-user/swiftpm/Tests/CommandsTests/PackageCommandTests.swift:2447: error: PackageCommandTests.testCommandPluginDiagnostics : XCTAssertTrue failed - unexpected failure matching '' against pattern equal("command plugin: print\n")
Test Case 'PackageCommandTests.testCommandPluginDiagnostics' failed (32.126 seconds)

https://ci.swift.org/job/oss-swift-package-debian-12/708/

Expected behavior

No response

Actual behavior

No response

Steps to reproduce

No response

Swift Package Manager version/commit hash

No response

Swift & OS version (output of swift --version ; uname -a)

No response

plemarquand added a commit to plemarquand/swift-package-manager that referenced this issue Dec 18, 2024
plemarquand added a commit that referenced this issue Dec 18, 2024
bkhouri added a commit to bkhouri/swift-package-manager that referenced this issue Dec 19, 2024
Emit additional messages during the plugin execution process to aid in
providing additional information to help troubleshoot the reason for the
flaky behaviour of PackageCommandTests.testCommandPluginDiagnostics
test

Also, add additional tests that will verify the emitted messages on
plugin execution.

GitHub swiftlang#8180
rdar://127031126
@bkhouri bkhouri self-assigned this Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants