The error is caused by
private static final boolean USE_CANONICAL_HOSTNAME = true;
in
https://github.com/apache/calcite-avatica/blob/73fac75befaaf3caa3871656d0d0b7adbd91f7cf/core/src/main/java/org/apache/calcite/avatica/remote/AvaticaCommonsHttpClientSpnegoImpl.java#L58
In other words,
It's strange that you see this on Windows. Everything should be using
localhost in the tests. Maybe that means it's something specific to
Windows? I don't know enough to say if that's a reasonable guess or not.
The principal looked up stems from the hostname you issue a request to.
e.g. if
>localhost but the principal being looked up is FQDN.
Where that FQDN is taken from?
Vladimir
Yeah, the expectation is that all of the tests are using localhost (to
specifically avoid issues around trying to pull the FQDN and relying
on the developer to have specific setups).
On Mon, Nov 11, 2019 at 3:38 PM Kevin Risden wrote:
>
> >
> > 2019-11-10 21:29:30,443 [pool-1-thread-2] ERROR -
>
> 2019-11-10 21:29:30,443 [pool-1-thread-2] ERROR - Principal: HTTP/
> stratum.antpool@example.com is not known
> 2019-11-10 21:29:30,459 [Test worker] WARN - NEGOTIATE authentication
> error: No valid credentials provided (Mechanism level: No valid credentials
> provided (Mechanism
Hi,
I've added GitHub Actions for CI, and it looks like AvaticaSpnegoTest fails
again.
The failure is the same for Maven and Gradle, so I expect it is not caused
by Gradle migration
Maven: https://github.com/vlsi/calcite-avatica/runs/296688961#step:4:31296
Gradle: