8000 metals tests failing in community build · Issue #905 · scala/scala-dev · GitHub
[go: up one dir, main page]

Skip to content

metals tests failing in community build #905

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

Open
lrytz opened this issue May 27, 2025 · 1 comment
Open

metals tests failing in community build #905

lrytz opened this issue May 27, 2025 · 1 comment

Comments

@lrytz
Copy link
Member
lrytz commented May 27, 2025

log: https://scala-ci.typesafe.com/job/scala-2.13.x-jdk21-integrate-community-build/2307/artifact/logs/metals-build.log

Metals commit: https://github.com/scalameta/metals/commits/565323c2f5dc8f2d4f43aeded7799958fddfab96

Example log

[metals] [info] tests.pc.CompletionSuite.fuzzy1_2.13.17-bin-f4ca74b started
[metals] [error] ==> X tests.pc.CompletionSuite.fuzzy1_2.13.17-bin-f4ca74b  0.219s munit.ComparisonFailException: tests/cross/src/test/scala/tests/pc/CompletionSuite.scala:357
[metals] [error] 356:
[metals] [error] 357:  check(
[metals] [error] 358:    "fuzzy1",
[metals] [error] diff assertion failed
[metals] [error] => Obtained
[metals] [error] ProcessBuilder java.lang
[metals] [error] ProcessBuilder$Redirect java.lang
[metals] [error] ProcessBuilder$Redirect$Type java.lang
[metals] [error] ProcessBuilder - scala.sys.process
[metals] [error] CertPathBuilder - java.security.cert
[metals] [error] CertPathBuilderSpi - java.security.cert
[metals] [error] ProcessBuilderImpl - scala.sys.process
[metals] [error] CertPathBuilderResult - java.security.cert
[metals] [error] PKIXBuilderParameters - java.security.cert
[metals] [error] PooledConnectionBuilder - javax.sql
[metals] [error] CertPathBuilderException - java.security.cert
[metals] [error] PKIXCertPathBuilderResult - java.security.cert
[metals] [error] => Diff (- expected, + obtained)
[metals] [error]  ProcessBuilder java.lang
[metals] [error] +ProcessBuilder$Redirect java.lang
[metals] [error] +ProcessBuilder$Redirect$Type java.lang
[metals] [error]  ProcessBuilder - scala.sys.process

Looks like scala/scala#11024.

The other failures in the log (search for ComparisonFailException) all seem to be about patterns somehow. Not immediately obvious what could have caused these

[metals] [error] ==> X tests.pc.CompletionCaseSuite.trailing-block_2.13.17-bin-f4ca74b  0.105s munit.ComparisonFailException: tests/cross/src/test/scala/tests/pc/CompletionCaseSuite.scala:103
[metals] [error] 102:
[metals] [error] 103:  check(
[metals] [error] 104:    "trailing-block",
[metals] [error] Obtained empty output!
[metals] [error] => Expected:
[metals] [error] case None => scala
[metals] [error] case Some(value) => scala
@som-snytt
Copy link

Adjacently scala/scala#10991 (comment)

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

No branches or pull requests

2 participants
0