Comment 5 for bug 1836929

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

This has been fixed by Debian upstream in file:

- debian/patches/update_processing_of_packet_log.patch:

""""
From 62d6aed6a64b887c9e3b7f03d9e0db1deaa2696a Mon Sep 17 00:00:00 2001
From: Miroslav Lichvar <email address hidden>
Date: Tue, 18 Jun 2019 15:41:50 +0200
Subject: test: update processing of packet log

Two new fields have been added to the packet log, which broke some
of the simulation tests.

Applied-Upstream: https://git.tuxfamily.org/chrony/chrony.git/commit/?id=62d6aed6a64b887c9e3b7f03d9e0db1deaa2696a
--- a/test/simulation/test.common
+++ b/test/simulation/test.common
@@ -391,9 +391,9 @@ check_packet_port() {
    for i in $(seq 1 $(get_chronyd_nodes)); do
        test_message 3 0 "node $i:"

- grep -E -q " $port [0-9]+\$" tmp/log.packets && \
+ grep -E -q "^([0-9e.+-]+ ){5}$port " tmp/log.packets && \
            ! grep -E "^[0-9e.+-]+ $i " tmp/log.packets | \
- grep -E -q -v " $port [0-9]+\$" && \
+ grep -E -q -v "^([0-9e.+-]+ ){5}$port " && \
            test_ok || test_bad
        [ $? -eq 0 ] || ret=1
    done
""""

in version:

chrony (3.5-2) unstable; urgency=medium