Re: [chrony-dev] 008-ntpera test failure

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


On Mon, Jan 10, 2022 at 03:34:28PM +0100, Vincent Blut wrote:
> SUMMARY:
>   TOTAL  1
>   PASSED 0
>   FAILED 1    (008-ntpera) (24505)
>   SKIPPED 0   ()
> 
> Do you have any tips on how to properly debug this?

On what arch is the test running and what CFLAGS/CPPFLAGS are used for
the build?

How is NTP_ERA_SPLIT set in the generated config.h file?

You could compare the bash debug output with a 64-bit system where it
works. My first guess would be wrong calculation of the *START_DATE
variable.

$ bash -x ./008-ntpera |& grep -o START_DATE=.*
START_DATE=2085977996
START_DATE=2085977996
START_DATE=0
START_DATE=0
START_DATE=4294957296
START_DATE=4294957296
START_DATE=-10000
START_DATE=-10000
START_DATE=4294967296
START_DATE=4294967296
START_DATE=0
START_DATE=0
START_DATE=4294957296
START_DATE=4294957296
START_DATE=-10000
START_DATE=-10000
START_DATE=4294967296
START_DATE=4294967296

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/