-
Notifications
You must be signed in to change notification settings - Fork 22
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
zonemaster-cli outputs no message at all if name server given by --ns lacks required glue #402
Comments
When I try the same thing in GUI I get a strange result, https://zonemaster.net/en/result/16bfef5c7cf1fc33 |
I think there is a change in Engine that does not stop testing. If I test |
I’m not sure about that. I’ve tried installing Zonemaster-Engine version 5.0.0 (from 2023.2) and 6.0.0 (from 2024.1) and I still get the same lack of output on the command line I tested.
Yes, in the second case, the test should have been halted after Basic02 reported its errors, right? There is something in the design of add_fake_delegation() in Zonemaster::Engine that seems strange to me. This function reports errors in two ways: either by calling At this stage, however, |
I think basic should break if there is a message with level CRITICAL, which there is in both cases. But they are different messages from different sources.
Aren't the |
I think you are discussing two separate issues. When running the full test suite, the stop condition is ruled by this line of code. It resides in the The change was introduced by zonemaster/zonemaster-engine@b874598 (PR zonemaster/zonemaster-engine#1312). |
I do not see why undelegated tests should be handled differently in this respect. I support the removal of those lines. |
I created zonemaster/zonemaster-engine#1401 to fix that. |
On current
develop
, ifzonemaster-cli
is given fake delegation by means of--ns
, the name server is in-bailiwick but is missing glue, then I get no error message at all:Using
git bisect
, it seems that commit 69b71a6 is the one introducing the problem. If I check out its ancestor commit (2476edb), then I get the following output, which seems more correct:Update: with
--raw
added to the first command line, messages do appear, so it really is related to the translator.The text was updated successfully, but these errors were encountered: