Something broken - decodenetnum

Matthew Selsky Matthew.Selsky at twosigma.com
Wed May 2 20:30:43 UTC 2018


On Wed, May 02, 2018 at 01:20:18PM -0700, Hal Murray via devel wrote:
> I just pushed a simple fix.  GitLab tells me:
>   Subject: ntpsec | Pipeline #21417003 has failed for master | 7f1a350a
> 
> Anybody recognize this?
> 
> It works for me on Fedora 27.  The tests that fail are clang-basic and 
> clang-refclocks and the same pair again and python-coverage.
> 
> The previous pipeline was 4 days ago.  It passed.  My change was in 
> ntpd/ntp_proto.c, far from libntp.
> 
> 
> TEST(clocktime, AlwaysInLimit) PASS
> TEST(decodenetnum, Services)../../tests/libntp/decodenetnum.c:27::FAIL: 
> Expected Not-Equal
> TEST(decodenetnum, IPv4AddressOnly)../../tests/libntp/decodenetnum.c:44::FAIL:
>  Expected 0 Was -8
> TEST(decodenetnum, IPv4AddressWithPort) PASS
> TEST(decodenetnum, IPv4AddressWithPort2)../../tests/libntp/decodenetnum.c:76::
> FAIL: Expected 0 Was -8
> TEST(decodenetnum, IPv6AddressOnly)../../tests/libntp/decodenetnum.c:98::FAIL:
>  Expected 0 Was -8
> TEST(decodenetnum, IPv6AddressWithPort) PASS
> TEST(decodenetnum, IllegalAddress) PASS
> TEST(decodenetnum, IllegalCharInPort) PASS
> TEST(hextolfp, PositiveInteger) PASS

This sounds like https://gitlab.com/NTPsec/ntpsec/issues/477

Maybe the docker images that clang-* and python-coverage are based on advanced and now we need to explicitly install the netbase package...?

I'll take a look at the images tonight.

Thanks,
-Matt


More information about the devel mailing list