From: | "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> |
---|---|
To: | 'Alexander Lakhin' <exclusion(at)gmail(dot)com> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>, Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp> |
Subject: | RE: stats.sql might fail due to shared buffers also used by parallel tests |
Date: | 2025-07-23 06:15:57 |
Message-ID: | OSCPR01MB149668081E98F6FD5B3A7F9ACF55FA@OSCPR01MB14966.jpnprd01.prod.outlook.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Dear Alexander,
> And here it is [1]:
> diff --strip-trailing-cr -U3
> c:/build-farm-local/buildroot/HEAD/pgsql/src/test/isolation/expected/stats.ou
> t
> c:/build-farm-local/buildroot/HEAD/pgsql.build/testrun/isolation/isolation/res
> ults/stats.out
> ---
> c:/build-farm-local/buildroot/HEAD/pgsql/src/test/isolation/expected/stats.ou
> t 2025-07-22 20:08:30 +0900
> +++
> c:/build-farm-local/buildroot/HEAD/pgsql.build/testrun/isolation/isolation/res
> ults/stats.out 2025-07-22 20:30:47 +0900
> @@ -3729,7 +3729,7 @@
>
> name |pg_stat_get_function_calls|total_above_zero|self_above_zero
> --------------+--------------------------+----------------+---------------
> -test_stat_func| 1|t |t
> +test_stat_func| 1|f |f
> (1 row)
>
> Not related to subscriptions this time, but still related to pg_stat and
> time measurement.
It looks like for me that we measured the execution time of the function in
millisecond but it was "zero", right?
> So I think we could observe such anomalies if, say, the OS kernel can't
> read system clock in time (stalls for a millisecond when accessing it)...
I also feel like that. But if so, how should we fix tests? We must remove all
stuff which assumes the time is monotonic?
Best regards,
Hayato Kuroda
FUJITSU LIMITED
From | Date | Subject | |
---|---|---|---|
Next Message | Bertrand Drouvot | 2025-07-23 06:22:16 | Re: Verify predefined LWLocks tranches have entries in wait_event_names.txt |
Previous Message | TAKATSUKA Haruka | 2025-07-23 05:48:51 | Re: [Buildfarm:84] Re: stats.sql might fail due to shared buffers also used by parallel tests |