Build Logs
novakov-alexey/http4s-spnego • 3.8.0-RC2:2025-11-28
Errors
2
Warnings
33
Total Lines
272
1##################################
2Clonning https://github.com/novakov-alexey/http4s-spnego.git into /build/repo using revision v0.3.1
3##################################
4Note: switching to '70dd8d7d1bae920a652557702d86fbc631d29432'.
5
6You are in 'detached HEAD' state. You can look around, make experimental
7changes and commit them, and you can discard any commits you make in this
8state without impacting any branches by switching back to a branch.
9
10If you want to create a new branch to retain commits you create, you may
11do so (now or later) by using -c with the switch command. Example:
12
13 git switch -c <new-branch-name>
14
15Or undo this operation with:
16
17 git switch -
18
19Turn off this advice by setting config variable advice.detachedHead to false
20
21----
22Preparing build for 3.8.0-RC2
23Scala binary version found: 3.8
24Implicitly using source version 3.8
25Scala binary version found: 3.8
26Implicitly using source version 3.8
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.8
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30----
31Starting build for 3.8.0-RC2
32Execute tests: true
33Mill project found:
34No .mill-version file found, detecting compatible mill version
35Found mill runner script, trying to resolve version
36 % Total % Received % Xferd Average Speed Time Time Time Current
37 Dload Upload Total Spent Left Speed
38
39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
41
42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
43
44 55 57.0M 55 31.4M 0 0 53.5M 0 0:00:01 --:--:-- 0:00:01 53.5M
45100 57.0M 100 57.0M 0 0 81.5M 0 --:--:-- --:--:-- --:--:-- 230M
46Force upgrade of millVersion 0.11.7 to 0.11.13
47Detected mill version=0.11.13, binary version: 0.11
48No prepare script found for project novakov-alexey/http4s-spnego
49Apply scalafix rules to ./build.sc
50Apply scalafix rules to ./project/Dependencies.sc
51Successfully applied pattern 'package build\n' in /build/repo/MillCommunityBuild.sc
52Successfully applied pattern 'import CommunityBuildCore.' in /build/repo/MillCommunityBuild.sc
53Successfully applied pattern 'import MillVersionCompat.' in /build/repo/MillCommunityBuild.sc
54Successfully applied pattern 'package build\n' in /build/repo/project/MillCommunityBuild.sc
55Successfully applied pattern 'import CommunityBuildCore.' in /build/repo/project/MillCommunityBuild.sc
56Successfully applied pattern 'import MillVersionCompat.' in /build/repo/project/MillCommunityBuild.sc
57##################################
58Scala version: 3.8.0-RC2
59Targets: io.github.novakov-alexey%http4s-spnego
60Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
61##################################
62 % Total % Received % Xferd Average Speed Time Time Time Current
63 Dload Upload Total Spent Left Speed
64
65 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
66 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
67
68 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
69
70 7 59.2M 7 4398k 0 0 12.5M 0 0:00:04 --:--:-- 0:00:04 12.5M
71100 59.2M 100 59.2M 0 0 110M 0 --:--:-- --:--:-- --:--:-- 287M
72Preparing Java 17.0.8 runtime; this may take a minute or two ...
73[info] compiling 8 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
74[warn] /build/repo/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
75[warn] .iterator()
76[warn] ^
77[warn] /build/repo/project/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
78[warn] .iterator()
79[warn] ^
80[warn] /build/repo/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
81[warn] case module: CommunityBuildPublishModule =>
82[warn] ^
83[warn] /build/repo/project/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
84[warn] case module: CommunityBuildPublishModule =>
85[warn] ^
86[warn] four warnings found
87[info] done compiling
88Try build using ./mill
89[info] compiling 8 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
90[warn] /build/repo/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
91[warn] .iterator()
92[warn] ^
93[warn] /build/repo/project/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
94[warn] .iterator()
95[warn] ^
96[warn] /build/repo/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
97[warn] case module: CommunityBuildPublishModule =>
98[warn] ^
99[warn] /build/repo/project/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
100[warn] case module: CommunityBuildPublishModule =>
101[warn] ^
102[warn] four warnings found
103[info] done compiling
104Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
105Parsed config: ProjectBuildConfig(ProjectsConfig(List(),Map()),Full)
106OpenCB::Use cross-version 3.8.0-RC2 instead of 3.3.1
107
108Starting build for http4s-spnego - [0/1]
109Failed to resolve scalaVersion, assume it's Scala 3 project
110[info] compiling 7 Scala sources to /build/repo/out/http4s-spnego/3.8.0-RC2/compile.dest/classes ...
111[warn] -- Warning: /build/repo/http4s-spnego/src/io/github/novakovalexey/http4s/spnego/Spnego.scala:50:67
112[warn] 50 | res = Response[F](Status.Unauthorized).putHeaders(headers: _*).withEntity(msg)
113[warn] | ^
114[warn] |The syntax `x: _*` is no longer supported for vararg splices; use `x*` instead
115[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
116[warn] one warning found
117[info] done compiling
118Successfully evaluated http4s-spnego[3.8.0-RC2].compile
119Option -classpath was updated
1201 warning found
121Successfully evaluated http4s-spnego[3.8.0-RC2].docJar
122Failed to resolve scalaVersion, assume it's Scala 3 project
123[info] compiling 2 Scala sources to /build/repo/out/http4s-spnego/3.8.0-RC2/test/compile.dest/classes ...
124[info] done compiling
125Successfully evaluated http4s-spnego[3.8.0-RC2].test.compile
126Debug is true storeKey true useTicketCache true useKeyTab true doNotPrompt true ticketCache is null isInitiator false KeyTab is /etc/krb5.keytab refreshKrb5Config is true principal is HTTP/myservice@EXAMPLE.ORG tryFirstPass is false useFirstPass is false storePass is false clearPass is false
127Refreshing Kerberos configuration
128Acquire TGT from Cache
129Principal is HTTP/myservice@EXAMPLE.ORG
130null credentials from Ticket Cache
131principal is HTTP/myservice@EXAMPLE.ORG
132Will use keytab
133Commit Succeeded
134
135SpnegoAuthTest:
1362025-11-28 14:31:38.647+0000 DEBUG io-compute-3 i.g.n.h.s.SpnegoAuthenticator authorization header found
1372025-11-28 14:31:38.660+0000 ERROR io-compute-3 i.g.n.h.s.SpnegoAuthenticator negotiation failed
138java.security.PrivilegedActionException: null
139 at java.base/java.security.AccessController.doPrivileged(AccessController.java:716)
140 at java.base/javax.security.auth.Subject.doAs(Subject.java:439)
141 at io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosAcceptToken$$anonfun$1(SpnegoAuthenticator.scala:206)
142 at delay @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosAcceptToken(SpnegoAuthenticator.scala:208)
143 at flatMap @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosCore$$anonfun$1(SpnegoAuthenticator.scala:165)
144 at defer @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosCore(SpnegoAuthenticator.scala:179)
145 at defer @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosCore(SpnegoAuthenticator.scala:179)
146 at recoverWith$extension @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosCore(SpnegoAuthenticator.scala:191)
147 at map @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosNegotiate$$anonfun$1(SpnegoAuthenticator.scala:154)
148 at delay @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.clientToken$$anonfun$2(SpnegoAuthenticator.scala:145)
149 at map @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.clientToken$$anonfun$2(SpnegoAuthenticator.scala:146)
150 at suspend @ org.typelevel.log4cats.slf4j.internal.Slf4jLoggerInternal$Slf4jLogger.debug$$anonfun$3(Slf4jLoggerInternal.scala:91)
151 at delay @ org.typelevel.log4cats.slf4j.internal.Slf4jLoggerInternal$Slf4jLogger.isDebugEnabled(Slf4jLoggerInternal.scala:73)
152 at ifM$extension @ org.typelevel.log4cats.slf4j.internal.Slf4jLoggerInternal$Slf4jLogger.debug(Slf4jLoggerInternal.scala:91)
153 at *>$extension @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.clientToken$$anonfun$2(SpnegoAuthenticator.scala:146)
154 at flatMap @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.clientToken(SpnegoAuthenticator.scala:141)
155 at flatMap @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.cookieToken(SpnegoAuthenticator.scala:137)
156 at flatMap @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.cookieToken(SpnegoAuthenticator.scala:137)
157 at orElse @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.apply(SpnegoAuthenticator.scala:112)
158Caused by: org.ietf.jgss.GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)
159 at java.security.jgss/sun.security.jgss.GSSHeader.<init>(GSSHeader.java:97)
160 at java.security.jgss/sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:325)
161 at java.security.jgss/sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:303)
162 at io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator$$anon$2.run(SpnegoAuthenticator.scala:201)
163 at io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator$$anon$2.run(SpnegoAuthenticator.scala:198)
164 at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
165 at java.base/javax.security.auth.Subject.doAs(Subject.java:439)
166 at io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosAcceptToken$$anonfun$1(SpnegoAuthenticator.scala:206)
167 at cats.effect.IOFiber.runLoop(IOFiber.scala:413)
168 at cats.effect.IOFiber.execR(IOFiber.scala:1362)
169 at cats.effect.IOFiber.run(IOFiber.scala:112)
170 at cats.effect.unsafe.WorkerThread.run(WorkerThread.scala:702)
171- should reject invalid authorization token
1722025-11-28 14:31:38.880+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator cookie found
173- should reject invalid cookie
174Debug is true storeKey true useTicketCache true useKeyTab true doNotPrompt true ticketCache is null isInitiator false KeyTab is /etc/krb5.keytab refreshKrb5Config is true principal is HTTP/myservice@EXAMPLE.ORG tryFirstPass is false useFirstPass is false storePass is false clearPass is false
175Refreshing Kerberos configuration
176Acquire TGT from Cache
177Principal is HTTP/myservice@EXAMPLE.ORG
178null credentials from Ticket Cache
179principal is HTTP/myservice@EXAMPLE.ORG
180Will use keytab
181Commit Succeeded
182
1832025-11-28 14:31:38.891+0000 DEBUG io-compute-1 i.g.n.h.s.SpnegoAuthenticator authorization header found
1842025-11-28 14:31:38.892+0000 DEBUG io-compute-1 i.g.n.h.s.SpnegoAuthenticator serverToken 'None' token 'None'
1852025-11-28 14:31:38.893+0000 DEBUG io-compute-1 i.g.n.h.s.SpnegoAuthenticator no token received, but if there is a serverToken, then negotiations are ongoing
186- should reject token if Kerberos failed
187Debug is true storeKey true useTicketCache true useKeyTab true doNotPrompt true ticketCache is null isInitiator false KeyTab is /etc/krb5.keytab refreshKrb5Config is true principal is HTTP/myservice@EXAMPLE.ORG tryFirstPass is false useFirstPass is false storePass is false clearPass is false
188Refreshing Kerberos configuration
189Acquire TGT from Cache
190Principal is HTTP/myservice@EXAMPLE.ORG
191null credentials from Ticket Cache
192principal is HTTP/myservice@EXAMPLE.ORG
193Will use keytab
194Commit Succeeded
195
1962025-11-28 14:31:38.900+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator cookie found
197- should reject invalid number of fields in cookie token
198Debug is true storeKey true useTicketCache true useKeyTab true doNotPrompt true ticketCache is null isInitiator false KeyTab is /etc/krb5.keytab refreshKrb5Config is true principal is HTTP/myservice@EXAMPLE.ORG tryFirstPass is false useFirstPass is false storePass is false clearPass is false
199Refreshing Kerberos configuration
200Acquire TGT from Cache
201Principal is HTTP/myservice@EXAMPLE.ORG
202null credentials from Ticket Cache
203principal is HTTP/myservice@EXAMPLE.ORG
204Will use keytab
205Commit Succeeded
206
2072025-11-28 14:31:38.905+0000 DEBUG io-compute-3 i.g.n.h.s.SpnegoAuthenticator cookie found
208- should reject invalid expiration parameter in cookie token
209Debug is true storeKey true useTicketCache true useKeyTab true doNotPrompt true ticketCache is null isInitiator false KeyTab is /etc/krb5.keytab refreshKrb5Config is true principal is HTTP/myservice@EXAMPLE.ORG tryFirstPass is false useFirstPass is false storePass is false clearPass is false
210Refreshing Kerberos configuration
211Acquire TGT from Cache
212Principal is HTTP/myservice@EXAMPLE.ORG
213null credentials from Ticket Cache
214principal is HTTP/myservice@EXAMPLE.ORG
215Will use keytab
216Commit Succeeded
217
2182025-11-28 14:31:38.911+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator no negotiation header found, initiating negotiations
2192025-11-28 14:31:38.912+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator authorization header found
2202025-11-28 14:31:38.912+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator serverToken 'None' token 'Some(AuthToken(myprincipal,1764343898908,groupId=1))'
2212025-11-28 14:31:38.913+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator received new token
2222025-11-28 14:31:38.937+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator cookie found
2232025-11-28 14:31:38.937+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator SPNEGO token inside cookie not expired
224- should return authenticated token
225Debug is true storeKey true useTicketCache true useKeyTab true doNotPrompt true ticketCache is null isInitiator false KeyTab is /etc/krb5.keytab refreshKrb5Config is true principal is HTTP/myservice@EXAMPLE.ORG tryFirstPass is false useFirstPass is false storePass is false clearPass is false
226Refreshing Kerberos configuration
227Acquire TGT from Cache
228Principal is HTTP/myservice@EXAMPLE.ORG
229null credentials from Ticket Cache
230principal is HTTP/myservice@EXAMPLE.ORG
231Will use keytab
232Commit Succeeded
233
2342025-11-28 14:31:38.941+0000 DEBUG io-compute-0 i.g.n.h.s.SpnegoAuthenticator authorization header found
2352025-11-28 14:31:38.942+0000 DEBUG io-compute-0 i.g.n.h.s.SpnegoAuthenticator serverToken 'None' token 'Some(AuthToken(myprincipal,1764340298939,))'
2362025-11-28 14:31:38.942+0000 DEBUG io-compute-0 i.g.n.h.s.SpnegoAuthenticator received new token
2372025-11-28 14:31:38.945+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator cookie found
2382025-11-28 14:31:38.945+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator SPNEGO token inside cookie expired
2392025-11-28 14:31:38.945+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator no negotiation header found, initiating negotiations
240- should reject expired token inside the cookie
2412025-11-28 14:31:38.948+0000 DEBUG io-compute-0 i.g.n.h.s.SpnegoAuthenticator no negotiation header found, initiating negotiations
242- should allow custom onFailure handler
243Run completed in 1 second, 479 milliseconds.
244Total number of tests run: 8
245Suites: completed 1, aborted 0
246Tests: succeeded 8, failed 0, canceled 0, ignored 0, pending 0
247All tests passed.
248Successfully evaluated http4s-spnego[3.8.0-RC2].test.test
249Module http4s-spnego[3.8.0-RC2] is not a publish module, skipping publishing
250
251************************
252Build summary:
253[{
254 "module": "http4s-spnego",
255 "compile": {"status": "ok", "tookMs": 113035, "warnings": 0, "errors": 0},
256 "doc": {"status": "ok", "tookMs": 5402, "files": 1, "totalSizeKb": 2714},
257 "test-compile": {"status": "ok", "tookMs": 11092, "warnings": 0, "errors": 0},
258 "test": {"status": "ok", "tookMs": 3284, "passed": 8, "failed": 0, "ignored": 0, "skipped": 0, "total": 8, "byFramework": []},
259 "publish": {"status": "skipped", "tookMs": 0},
260 "metadata": {
261 "crossScalaVersions": ["2.13.5", "3.3.1"]
262}
263}]
264************************"
265
266/build/build.patch:204: trailing whitespace.
267 lazy val http4sVersion = "0.23.27"
268Checking patch project/Dependencies.sc...
269Checking patch build.sc...
270Applied patch project/Dependencies.sc cleanly.
271Applied patch build.sc cleanly.
272warning: 1 line adds whitespace errors.