Build Logs

novakov-alexey/http4s-spnego • 3.8.0-RC3:2025-12-04

Errors

2

Warnings

33

Total Lines

274

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-RC3
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-RC3
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 19 57.0M 19 10.8M 0 0 14.4M 0 0:00:03 --:--:-- 0:00:03 14.4M
45 99 57.0M 99 56.8M 0 0 32.3M 0 0:00:01 0:00:01 --:--:-- 45.9M
46100 57.0M 100 57.0M 0 0 32.5M 0 0:00:01 0:00:01 --:--:-- 46.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-RC3
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 23 59.2M 23 14.1M 0 0 14.9M 0 0:00:03 --:--:-- 0:00:03 14.9M
72 70 59.2M 70 41.8M 0 0 22.1M 0 0:00:02 0:00:01 0:00:01 29.2M
73100 59.2M 100 59.2M 0 0 24.8M 0 0:00:02 0:00:02 --:--:-- 31.3M
74Preparing Java 17.0.8 runtime; this may take a minute or two ...
75[info] compiling 8 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
76[warn] /build/repo/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
77[warn] .iterator()
78[warn] ^
79[warn] /build/repo/project/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
80[warn] .iterator()
81[warn] ^
82[warn] /build/repo/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
83[warn] case module: CommunityBuildPublishModule =>
84[warn] ^
85[warn] /build/repo/project/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
86[warn] case module: CommunityBuildPublishModule =>
87[warn] ^
88[warn] four warnings found
89[info] done compiling
90Try build using ./mill
91[info] compiling 8 Scala sources to /build/repo/out/mill-build/compile.dest/classes ...
92[warn] /build/repo/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
93[warn] .iterator()
94[warn] ^
95[warn] /build/repo/project/CommunityBuildCore.sc:135:22: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
96[warn] .iterator()
97[warn] ^
98[warn] /build/repo/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
99[warn] case module: CommunityBuildPublishModule =>
100[warn] ^
101[warn] /build/repo/project/MillCommunityBuild.sc:291:12: The outer reference in this type test cannot be checked at run time.
102[warn] case module: CommunityBuildPublishModule =>
103[warn] ^
104[warn] four warnings found
105[info] done compiling
106Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
107Parsed config: ProjectBuildConfig(ProjectsConfig(List(),Map()),Full)
108OpenCB::Use cross-version 3.8.0-RC3 instead of 3.3.1
109
110Starting build for http4s-spnego - [0/1]
111Failed to resolve scalaVersion, assume it's Scala 3 project
112[info] compiling 7 Scala sources to /build/repo/out/http4s-spnego/3.8.0-RC3/compile.dest/classes ...
113[warn] -- Warning: /build/repo/http4s-spnego/src/io/github/novakovalexey/http4s/spnego/Spnego.scala:50:67
114[warn] 50 | res = Response[F](Status.Unauthorized).putHeaders(headers: _*).withEntity(msg)
115[warn] | ^
116[warn] |The syntax `x: _*` is no longer supported for vararg splices; use `x*` instead
117[warn] |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
118[warn] one warning found
119[info] done compiling
120Successfully evaluated http4s-spnego[3.8.0-RC3].compile
121Option -classpath was updated
1221 warning found
123Successfully evaluated http4s-spnego[3.8.0-RC3].docJar
124Failed to resolve scalaVersion, assume it's Scala 3 project
125[info] compiling 2 Scala sources to /build/repo/out/http4s-spnego/3.8.0-RC3/test/compile.dest/classes ...
126[info] done compiling
127Successfully evaluated http4s-spnego[3.8.0-RC3].test.compile
128Debug 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
129Refreshing Kerberos configuration
130Acquire TGT from Cache
131Principal is HTTP/myservice@EXAMPLE.ORG
132null credentials from Ticket Cache
133principal is HTTP/myservice@EXAMPLE.ORG
134Will use keytab
135Commit Succeeded
136
137SpnegoAuthTest:
1382025-12-04 11:51:44.643+0000 DEBUG io-compute-3 i.g.n.h.s.SpnegoAuthenticator authorization header found
1392025-12-04 11:51:44.658+0000 ERROR io-compute-3 i.g.n.h.s.SpnegoAuthenticator negotiation failed
140java.security.PrivilegedActionException: null
141 at java.base/java.security.AccessController.doPrivileged(AccessController.java:716)
142 at java.base/javax.security.auth.Subject.doAs(Subject.java:439)
143 at io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosAcceptToken$$anonfun$1(SpnegoAuthenticator.scala:206)
144 at delay @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosAcceptToken(SpnegoAuthenticator.scala:208)
145 at flatMap @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosCore$$anonfun$1(SpnegoAuthenticator.scala:165)
146 at defer @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosCore(SpnegoAuthenticator.scala:179)
147 at defer @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosCore(SpnegoAuthenticator.scala:179)
148 at recoverWith$extension @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosCore(SpnegoAuthenticator.scala:191)
149 at map @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosNegotiate$$anonfun$1(SpnegoAuthenticator.scala:154)
150 at delay @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.clientToken$$anonfun$2(SpnegoAuthenticator.scala:145)
151 at map @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.clientToken$$anonfun$2(SpnegoAuthenticator.scala:146)
152 at suspend @ org.typelevel.log4cats.slf4j.internal.Slf4jLoggerInternal$Slf4jLogger.debug$$anonfun$3(Slf4jLoggerInternal.scala:91)
153 at delay @ org.typelevel.log4cats.slf4j.internal.Slf4jLoggerInternal$Slf4jLogger.isDebugEnabled(Slf4jLoggerInternal.scala:73)
154 at ifM$extension @ org.typelevel.log4cats.slf4j.internal.Slf4jLoggerInternal$Slf4jLogger.debug(Slf4jLoggerInternal.scala:91)
155 at *>$extension @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.clientToken$$anonfun$2(SpnegoAuthenticator.scala:146)
156 at flatMap @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.clientToken(SpnegoAuthenticator.scala:141)
157 at flatMap @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.cookieToken(SpnegoAuthenticator.scala:137)
158 at flatMap @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.cookieToken(SpnegoAuthenticator.scala:137)
159 at orElse @ io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.apply(SpnegoAuthenticator.scala:112)
160Caused by: org.ietf.jgss.GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)
161 at java.security.jgss/sun.security.jgss.GSSHeader.<init>(GSSHeader.java:97)
162 at java.security.jgss/sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:325)
163 at java.security.jgss/sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:303)
164 at io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator$$anon$2.run(SpnegoAuthenticator.scala:201)
165 at io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator$$anon$2.run(SpnegoAuthenticator.scala:198)
166 at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
167 at java.base/javax.security.auth.Subject.doAs(Subject.java:439)
168 at io.github.novakovalexey.http4s.spnego.SpnegoAuthenticator.kerberosAcceptToken$$anonfun$1(SpnegoAuthenticator.scala:206)
169 at cats.effect.IOFiber.runLoop(IOFiber.scala:413)
170 at cats.effect.IOFiber.execR(IOFiber.scala:1362)
171 at cats.effect.IOFiber.run(IOFiber.scala:112)
172 at cats.effect.unsafe.WorkerThread.run(WorkerThread.scala:702)
173- should reject invalid authorization token
1742025-12-04 11:51:44.860+0000 DEBUG io-compute-0 i.g.n.h.s.SpnegoAuthenticator cookie found
175- should reject invalid cookie
176Debug 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
177Refreshing Kerberos configuration
178Acquire TGT from Cache
179Principal is HTTP/myservice@EXAMPLE.ORG
180null credentials from Ticket Cache
181principal is HTTP/myservice@EXAMPLE.ORG
182Will use keytab
183Commit Succeeded
184
1852025-12-04 11:51:44.871+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator authorization header found
1862025-12-04 11:51:44.872+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator serverToken 'None' token 'None'
1872025-12-04 11:51:44.874+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator no token received, but if there is a serverToken, then negotiations are ongoing
188- should reject token if Kerberos failed
189Debug 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
190Refreshing Kerberos configuration
191Acquire TGT from Cache
192Principal is HTTP/myservice@EXAMPLE.ORG
193null credentials from Ticket Cache
194principal is HTTP/myservice@EXAMPLE.ORG
195Will use keytab
196Commit Succeeded
197
1982025-12-04 11:51:44.880+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator cookie found
199- should reject invalid number of fields in cookie token
200Debug 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
201Refreshing Kerberos configuration
202Acquire TGT from Cache
203Principal is HTTP/myservice@EXAMPLE.ORG
204null credentials from Ticket Cache
205principal is HTTP/myservice@EXAMPLE.ORG
206Will use keytab
207Commit Succeeded
208
2092025-12-04 11:51:44.884+0000 DEBUG io-compute-3 i.g.n.h.s.SpnegoAuthenticator cookie found
210- should reject invalid expiration parameter in cookie token
211Debug 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
212Refreshing Kerberos configuration
213Acquire TGT from Cache
214Principal is HTTP/myservice@EXAMPLE.ORG
215null credentials from Ticket Cache
216principal is HTTP/myservice@EXAMPLE.ORG
217Will use keytab
218Commit Succeeded
219
2202025-12-04 11:51:44.890+0000 DEBUG io-compute-0 i.g.n.h.s.SpnegoAuthenticator no negotiation header found, initiating negotiations
2212025-12-04 11:51:44.891+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator authorization header found
2222025-12-04 11:51:44.891+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator serverToken 'None' token 'Some(AuthToken(myprincipal,1764852704888,groupId=1))'
2232025-12-04 11:51:44.892+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator received new token
2242025-12-04 11:51:44.914+0000 DEBUG io-compute-3 i.g.n.h.s.SpnegoAuthenticator cookie found
2252025-12-04 11:51:44.915+0000 DEBUG io-compute-3 i.g.n.h.s.SpnegoAuthenticator SPNEGO token inside cookie not expired
226- should return authenticated token
227Debug 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
228Refreshing Kerberos configuration
229Acquire TGT from Cache
230Principal is HTTP/myservice@EXAMPLE.ORG
231null credentials from Ticket Cache
232principal is HTTP/myservice@EXAMPLE.ORG
233Will use keytab
234Commit Succeeded
235
2362025-12-04 11:51:44.919+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator authorization header found
2372025-12-04 11:51:44.919+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator serverToken 'None' token 'Some(AuthToken(myprincipal,1764849104917,))'
2382025-12-04 11:51:44.919+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator received new token
2392025-12-04 11:51:44.921+0000 DEBUG io-compute-3 i.g.n.h.s.SpnegoAuthenticator cookie found
2402025-12-04 11:51:44.922+0000 DEBUG io-compute-3 i.g.n.h.s.SpnegoAuthenticator SPNEGO token inside cookie expired
2412025-12-04 11:51:44.922+0000 DEBUG io-compute-3 i.g.n.h.s.SpnegoAuthenticator no negotiation header found, initiating negotiations
242- should reject expired token inside the cookie
2432025-12-04 11:51:44.924+0000 DEBUG io-compute-2 i.g.n.h.s.SpnegoAuthenticator no negotiation header found, initiating negotiations
244- should allow custom onFailure handler
245Run completed in 1 second, 410 milliseconds.
246Total number of tests run: 8
247Suites: completed 1, aborted 0
248Tests: succeeded 8, failed 0, canceled 0, ignored 0, pending 0
249All tests passed.
250Successfully evaluated http4s-spnego[3.8.0-RC3].test.test
251Module http4s-spnego[3.8.0-RC3] is not a publish module, skipping publishing
252
253************************
254Build summary:
255[{
256 "module": "http4s-spnego",
257 "compile": {"status": "ok", "tookMs": 12053, "warnings": 0, "errors": 0},
258 "doc": {"status": "ok", "tookMs": 4861, "files": 1, "totalSizeKb": 2711},
259 "test-compile": {"status": "ok", "tookMs": 9935, "warnings": 0, "errors": 0},
260 "test": {"status": "ok", "tookMs": 2770, "passed": 8, "failed": 0, "ignored": 0, "skipped": 0, "total": 8, "byFramework": []},
261 "publish": {"status": "skipped", "tookMs": 0},
262 "metadata": {
263 "crossScalaVersions": ["2.13.5", "3.3.1"]
264}
265}]
266************************"
267
268/build/build.patch:204: trailing whitespace.
269 lazy val http4sVersion = "0.23.27"
270Checking patch project/Dependencies.sc...
271Checking patch build.sc...
272Applied patch project/Dependencies.sc cleanly.
273Applied patch build.sc cleanly.
274warning: 1 line adds whitespace errors.