Yubico / java-webauthn-server

Server-side Web Authentication library for Java https://www.w3.org/TR/webauthn/#rp-operations
Other
465 stars 142 forks source link

Bump test dependency versions #360

Closed emlun closed 4 months ago

emlun commented 4 months ago

The weekly build is suddenly failing with no changes to the project code: https://github.com/Yubico/java-webauthn-server/actions/runs/9342221697

I observed the same behaviour running the build locally:

$ ./gradlew :webauthn-server-core:compileTestScala
Execution failed for task ':webauthn-server-core:compileTestScala'.
>
bad constant pool index: 0 at pos: 89856
while compiling: ./webauthn-server-core/src/test/scala/com/yubico/scalacheck/gen/JacksonGenerators.scala
during phase: globalPhase=typer, enteringPhase=namer
library version: version 2.13.8
compiler version: version 2.13.8
reconstructed args: [9876 characters redacted for brevity]

last tree to typer: Ident(com)
tree position: line 35 of ./webauthn-server-core/src/test/scala/com/yubico/scalacheck/gen/JacksonGenerators.scala
tree tpe: com.type
symbol: final package com
symbol definition: final package com (a ModuleSymbol)
symbol package: <none>
symbol owners: package com
call site: package gen in package scalacheck in package scalacheck

== Source file context for tree position ==

32 import com.fasterxml.jackson.databind.node.NumericNode
33 import com.fasterxml.jackson.databind.node.ObjectNode
34 import com.fasterxml.jackson.databind.node.TextNode
35 import com.upokecenter.cbor.CBORObject
36 import com.yubico.internal.util.JacksonCodecs
37 import org.scalacheck.Arbitrary
38 import org.scalacheck.Arbitrary.arbitrary

Commit a62d4c8 seems to be the minimal diff that fixes the build. I've also bumped the other test dependency versions for good measure.

github-actions[bot] commented 4 months ago

Test Results

2 206 tests   2 198 :white_check_mark:  55s :stopwatch:    45 suites      8 :zzz:    45 files        0 :x:

Results for commit 0d5b5ef4.

:recycle: This comment has been updated with latest results.