Build Logs
novakov-alexey/http4s-spnego • 3.8.0-RC5:2025-12-31
Errors
2
Warnings
33
Total Lines
273
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-RC5
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-RC5
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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
42
43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
44
45 52 57.0M 52 30.1M 0 0 25.2M 0 0:00:02 0:00:01 0:00:01 25.2M
46100 57.0M 100 57.0M 0 0 38.5M 0 0:00:01 0:00:01 --:--:-- 94.1M
47Force upgrade of millVersion 0.11.7 to 0.11.13
48Detected mill version=0.11.13, binary version: 0.11
49No prepare script found for project novakov-alexey/http4s-spnego
50Apply scalafix rules to ./build.sc
51Apply scalafix rules to ./project/Dependencies.sc
52Successfully applied pattern 'package build\n' in /build/repo/MillCommunityBuild.sc
53Successfully applied pattern 'import CommunityBuildCore.' in /build/repo/MillCommunityBuild.sc
54Successfully applied pattern 'import MillVersionCompat.' in /build/repo/MillCommunityBuild.sc
55Successfully applied pattern 'package build\n' in /build/repo/project/MillCommunityBuild.sc
56Successfully applied pattern 'import CommunityBuildCore.' in /build/repo/project/MillCommunityBuild.sc
57Successfully applied pattern 'import MillVersionCompat.' in /build/repo/project/MillCommunityBuild.sc
58##################################
59Scala version: 3.8.0-RC5
60Targets: io.github.novakov-alexey%http4s-spnego
61Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
62##################################
63 % Total % Received % Xferd Average Speed Time Time Time Current
64 Dload Upload Total Spent Left Speed
65
66 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
67 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
68
69 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
70
71 0 59.2M 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
72100 59.2M 100 59.2M 0 0 49.3M 0 0:00:01 0:00:01 --:--:-- 85.3M
73Preparing Java 17.0.8 runtime; this may take a minute or two ...
74[info] compiling 8 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
75[warn] /build/repo/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
76[warn] .iterator()
77[warn] ^
78[warn] /build/repo/project/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
79[warn] .iterator()
80[warn] ^
81[warn] /build/repo/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
82[warn] case module: CommunityBuildPublishModule =>
83[warn] ^
84[warn] /build/repo/project/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
85[warn] case module: CommunityBuildPublishModule =>
86[warn] ^
87[warn] four warnings found
88[info] done compiling
89Try build using ./mill
90[info] compiling 8 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
91[warn] /build/repo/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
92[warn] .iterator()
93[warn] ^
94[warn] /build/repo/project/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
95[warn] .iterator()
96[warn] ^
97[warn] /build/repo/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
98[warn] case module: CommunityBuildPublishModule =>
99[warn] ^
100[warn] /build/repo/project/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
101[warn] case module: CommunityBuildPublishModule =>
102[warn] ^
103[warn] four warnings found
104[info] done compiling
105Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
106Parsed config: ProjectBuildConfig(ProjectsConfig(List(),Map()),Full)
107OpenCB::Use cross-version 3.8.0-RC5 instead of 3.3.1
108
109Starting build for http4s-spnego - [0/1]
110Failed to resolve scalaVersion, assume it's Scala 3 project
111[info] compiling 7 Scala sources to /build/repo/out/http4s-spnego/3.8.0-RC5/compile.dest/classes ...
112[warn] -- Warning: /build/repo/http4s-spnego/src/io/github/novakovalexey/http4s/spnego/Spnego.scala:50:67
113[warn] 50 | res = Response[F](Status.Unauthorized).putHeaders(headers: _*).withEntity(msg)
114[warn] | ^
115[warn] |The syntax `x: _*` is no longer supported for vararg splices; use `x*` instead
116[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
117[warn] one warning found
118[info] done compiling
119Successfully evaluated http4s-spnego[3.8.0-RC5].compile
120Option -classpath was updated
1211 warning found
122Successfully evaluated http4s-spnego[3.8.0-RC5].docJar
123Failed to resolve scalaVersion, assume it's Scala 3 project
124[info] compiling 2 Scala sources to /build/repo/out/http4s-spnego/3.8.0-RC5/test/compile.dest/classes ...
125[info] done compiling
126Successfully evaluated http4s-spnego[3.8.0-RC5].test.compile
127Debug 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
128Refreshing Kerberos configuration
129Acquire TGT from Cache
130Principal is HTTP/myservice@EXAMPLE.ORG
131null credentials from Ticket Cache
132principal is HTTP/myservice@EXAMPLE.ORG
133Will use keytab
134Commit Succeeded
135
136SpnegoAuthTest:
1372025-12-31 21:57:52.938+0000 DEBUG io-compute-1 i.g.n.h.s.SpnegoAuthenticator authorization header found
1382025-12-31 21:57:52.950+0000 ERROR io-compute-1 i.g.n.h.s.SpnegoAuthenticator negotiation failed
139java.security.PrivilegedActionException: null
140 at java.base/java.security.AccessController.doPrivileged(AccessController.java:716)
141 at java.base/javax.security.auth.Subject.doAs(Subject.java:439)
142 at io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosAcceptToken$$anonfun$1(SpnegoAuthenticator.scala:206)
143 at delay @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosAcceptToken(SpnegoAuthenticator.scala:208)
144 at flatMap @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosCore$$anonfun$1(SpnegoAuthenticator.scala:165)
145 at defer @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosCore(SpnegoAuthenticator.scala:179)
146 at defer @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosCore(SpnegoAuthenticator.scala:179)
147 at recoverWith$extension @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosCore(SpnegoAuthenticator.scala:191)
148 at map @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosNegotiate$$anonfun$1(SpnegoAuthenticator.scala:154)
149 at delay @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.clientToken$$anonfun$2(SpnegoAuthenticator.scala:145)
150 at map @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.clientToken$$anonfun$2(SpnegoAuthenticator.scala:146)
151 at suspend @ org.typelevel.log4cats.slf4j.internal.Slf4jLoggerInternal$Slf4jLogger.debug$$anonfun$3(Slf4jLoggerInternal.scala:91)
152 at delay @ org.typelevel.log4cats.slf4j.internal.Slf4jLoggerInternal$Slf4jLogger.isDebugEnabled(Slf4jLoggerInternal.scala:73)
153 at ifM$extension @ org.typelevel.log4cats.slf4j.internal.Slf4jLoggerInternal$Slf4jLogger.debug(Slf4jLoggerInternal.scala:91)
154 at *>$extension @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.clientToken$$anonfun$2(SpnegoAuthenticator.scala:146)
155 at flatMap @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.clientToken(SpnegoAuthenticator.scala:141)
156 at flatMap @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.cookieToken(SpnegoAuthenticator.scala:137)
157 at flatMap @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.cookieToken(SpnegoAuthenticator.scala:137)
158 at orElse @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.apply(SpnegoAuthenticator.scala:112)
159Caused by: org.ietf.jgss.GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)
160 at java.security.jgss/sun.security.jgss.GSSHeader.<init>(GSSHeader.java:97)
161 at java.security.jgss/sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:325)
162 at java.security.jgss/sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:303)
163 at io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator$$anon$2.run(SpnegoAuthenticator.scala:201)
164 at io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator$$anon$2.run(SpnegoAuthenticator.scala:198)
165 at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
166 at java.base/javax.security.auth.Subject.doAs(Subject.java:439)
167 at io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosAcceptToken$$anonfun$1(SpnegoAuthenticator.scala:206)
168 at cats.effect.IOFiber.runLoop(IOFiber.scala:413)
169 at cats.effect.IOFiber.execR(IOFiber.scala:1362)
170 at cats.effect.IOFiber.run(IOFiber.scala:112)
171 at cats.effect.unsafe.WorkerThread.run(WorkerThread.scala:702)
172- should reject invalid authorization token
1732025-12-31 21:57:53.163+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator cookie found
174- should reject invalid cookie
175Debug 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
176Refreshing Kerberos configuration
177Acquire TGT from Cache
178Principal is HTTP/myservice@EXAMPLE.ORG
179null credentials from Ticket Cache
180principal is HTTP/myservice@EXAMPLE.ORG
181Will use keytab
182Commit Succeeded
183
1842025-12-31 21:57:53.174+0000 DEBUG io-compute-0 i.g.n.h.s.SpnegoAuthenticator authorization header found
1852025-12-31 21:57:53.175+0000 DEBUG io-compute-0 i.g.n.h.s.SpnegoAuthenticator serverToken 'None' token 'None'
1862025-12-31 21:57:53.176+0000 DEBUG io-compute-0 i.g.n.h.s.SpnegoAuthenticator no token received, but if there is a serverToken, then negotiations are ongoing
187- should reject token if Kerberos failed
188Debug 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
189Refreshing Kerberos configuration
190Acquire TGT from Cache
191Principal is HTTP/myservice@EXAMPLE.ORG
192null credentials from Ticket Cache
193principal is HTTP/myservice@EXAMPLE.ORG
194Will use keytab
195Commit Succeeded
196
1972025-12-31 21:57:53.180+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator cookie found
198- should reject invalid number of fields in cookie token
199Debug 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
200Refreshing Kerberos configuration
201Acquire TGT from Cache
202Principal is HTTP/myservice@EXAMPLE.ORG
203null credentials from Ticket Cache
204principal is HTTP/myservice@EXAMPLE.ORG
205Will use keytab
206Commit Succeeded
207
2082025-12-31 21:57:53.185+0000 DEBUG io-compute-0 i.g.n.h.s.SpnegoAuthenticator cookie found
209- should reject invalid expiration parameter in cookie token
210Debug 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
211Refreshing Kerberos configuration
212Acquire TGT from Cache
213Principal is HTTP/myservice@EXAMPLE.ORG
214null credentials from Ticket Cache
215principal is HTTP/myservice@EXAMPLE.ORG
216Will use keytab
217Commit Succeeded
218
2192025-12-31 21:57:53.189+0000 DEBUG io-compute-3 i.g.n.h.s.SpnegoAuthenticator no negotiation header found, initiating negotiations
2202025-12-31 21:57:53.190+0000 DEBUG io-compute-3 i.g.n.h.s.SpnegoAuthenticator authorization header found
2212025-12-31 21:57:53.191+0000 DEBUG io-compute-3 i.g.n.h.s.SpnegoAuthenticator serverToken 'None' token 'Some(AuthToken(myprincipal,1767221873188,groupId=1))'
2222025-12-31 21:57:53.191+0000 DEBUG io-compute-3 i.g.n.h.s.SpnegoAuthenticator received new token
2232025-12-31 21:57:53.213+0000 DEBUG io-compute-1 i.g.n.h.s.SpnegoAuthenticator cookie found
2242025-12-31 21:57:53.213+0000 DEBUG io-compute-1 i.g.n.h.s.SpnegoAuthenticator SPNEGO token inside cookie not expired
225- should return authenticated token
226Debug 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
227Refreshing Kerberos configuration
228Acquire TGT from Cache
229Principal is HTTP/myservice@EXAMPLE.ORG
230null credentials from Ticket Cache
231principal is HTTP/myservice@EXAMPLE.ORG
232Will use keytab
233Commit Succeeded
234
2352025-12-31 21:57:53.217+0000 DEBUG io-compute-3 i.g.n.h.s.SpnegoAuthenticator authorization header found
2362025-12-31 21:57:53.217+0000 DEBUG io-compute-3 i.g.n.h.s.SpnegoAuthenticator serverToken 'None' token 'Some(AuthToken(myprincipal,1767218273215,))'
2372025-12-31 21:57:53.217+0000 DEBUG io-compute-3 i.g.n.h.s.SpnegoAuthenticator received new token
2382025-12-31 21:57:53.219+0000 DEBUG io-compute-0 i.g.n.h.s.SpnegoAuthenticator cookie found
239- should reject expired token inside the cookie
2402025-12-31 21:57:53.220+0000 DEBUG io-compute-0 i.g.n.h.s.SpnegoAuthenticator SPNEGO token inside cookie expired
2412025-12-31 21:57:53.220+0000 DEBUG io-compute-0 i.g.n.h.s.SpnegoAuthenticator no negotiation header found, initiating negotiations
2422025-12-31 21:57:53.222+0000 DEBUG io-compute-0 i.g.n.h.s.SpnegoAuthenticator no negotiation header found, initiating negotiations
243- should allow custom onFailure handler
244Run completed in 1 second, 398 milliseconds.
245Total number of tests run: 8
246Suites: completed 1, aborted 0
247Tests: succeeded 8, failed 0, canceled 0, ignored 0, pending 0
248All tests passed.
249Successfully evaluated http4s-spnego[3.8.0-RC5].test.test
250Module http4s-spnego[3.8.0-RC5] is not a publish module, skipping publishing
251
252************************
253Build summary:
254[{
255 "module": "http4s-spnego",
256 "compile": {"status": "ok", "tookMs": 12400, "warnings": 0, "errors": 0},
257 "doc": {"status": "ok", "tookMs": 5086, "files": 1, "totalSizeKb": 2711},
258 "test-compile": {"status": "ok", "tookMs": 10613, "warnings": 0, "errors": 0},
259 "test": {"status": "ok", "tookMs": 3089, "passed": 8, "failed": 0, "ignored": 0, "skipped": 0, "total": 8, "byFramework": []},
260 "publish": {"status": "skipped", "tookMs": 0},
261 "metadata": {
262 "crossScalaVersions": ["2.13.5", "3.3.1"]
263}
264}]
265************************"
266
267/build/build.patch:204: trailing whitespace.
268 lazy val http4sVersion = "0.23.27"
269Checking patch project/Dependencies.sc...
270Checking patch build.sc...
271Applied patch project/Dependencies.sc cleanly.
272Applied patch build.sc cleanly.
273warning: 1 line adds whitespace errors.