-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test-azure-win2019-x64-1: jdk_rmi java/rmi/Naming/legalRegistryNames/LegalRegistryNames.java test failure #2133
Comments
Having a look now, |
Machine is back up now, and the name has changed as it should. Rerunning grinder: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/91/console |
Grinder ran green! Closing issue. Thanks @lumpfish for the comprehensive instructions! 😁 |
Do we know how / why the hostname was incorrect? Is it the way the machine was given to us, or did we configure it (manually or via ansible)? If it was given to us like that, is there something we could put into ansible to check it's not invalid? |
AFAIK (and what I could briefly search), we don't set the host-name as part of the playbook (at least, for Windows). I think it's either given to us, or set when the machine is provisioned - however, we could fairly easily add a check in Ansible - It'd just be a case of getting the output of |
"Checking that it's correct" would be better - if we had a notion of what "correct" is. |
The machine, as defined in Azure, is called @Willsparker I'd suggest |
Okay, I've renamed
Well, we could go off the Wikipedia article! From reading it, I gathered the following rules:
The rules are probably better defined in RFC 1178, but that's a lot of reading. |
I think it's fair to say that most of those scenarios are pretty unlikely. If we really want to do a check I'd be ok with just the |
You're a brave man 😅 . I'll look into creating an Ansible task :-) |
test-azure-win2019-x64-1: jdk_rmi java/rmi/Naming/legalRegistryNames/LegalRegistryNames.java fails on
test-azure-win2019-x64-1
. It does not fail ontest-aws-win2019-x64-1
It fails on openj9 and hotspot, jdk8 jdk11 and jdk16.
Failing job link: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/80/console
To rerun just the failing test
Several subtests fail with a
java.net.MalformedURLException
such as:According to https://en.wikipedia.org/wiki/Hostname, hostnames cannot end with a hyphen. On that basis, the test is failing correctly.
The hostname value used in the test is assigned as follows:
So I assume there is something in the configuration of
test-azure-win2019-x64-1
which is incorrect - computer name or a registry entry?The text was updated successfully, but these errors were encountered: