View Ticket
Not logged in
2024-08-29
20:53
Merge [b497561f05f012a4]: strengthening time64bit constraint (try to fix test failures[fd91b0ca09cb1... check-in: 8e1d174eee user: pooryorick tags: unchained, INCOMPATIBLE_LICENSE
2024-07-28
19:24
tests/cmdAH.test: amend to [fd91b0ca09cb171f] - fixed typos check-in: ae8c436150 user: sebres tags: core-8-6-branch
2024-07-02
17:06 Ticket [fd91b0ca09] failed tests status still Closed with 5 other changes artifact: 695021cdb4 user: dgp
2024-07-01
20:07 Ticket [fd91b0ca09]: 5 changes artifact: 930cdaf9d2 user: sebres
20:04
further attempt to fix [fd91b0ca09cb171f] (check whether some disk/driver may have 2038 problem) check-in: da79c3c0b8 user: sebres tags: core-8-6-branch
19:08 Ticket [fd91b0ca09] failed tests status still Closed with 5 other changes artifact: 4f0fea5dd4 user: dgp
18:59 Ticket [fd91b0ca09]: 5 changes artifact: cf109692a3 user: sebres
18:26 Ticket [fd91b0ca09]: 5 changes artifact: ab708bd1d1 user: dgp
2024-06-28
09:02 Closed ticket [fd91b0ca09]. artifact: dc00f640fe user: sebres
2024-06-27
10:22 Ticket [fd91b0ca09]: 3 changes artifact: 77d15d0d38 user: sebres
10:20
cmdAH.test: strengthening time64bit constraint (try to fix test failures [fd91b0ca09cb171f]), always... check-in: 86f4472816 user: sebres tags: core-8-6-branch
2024-06-26
13:06 Ticket [fd91b0ca09] failed tests status still Open with 3 other changes artifact: e6cb9bca72 user: dgp
12:53 New ticket [fd91b0ca09]. artifact: 8b7c9eca37 user: dgp

Ticket UUID: fd91b0ca09cb171f007311695750ffb6d36236c0
Title: failed tests
Type: Bug Version: 8.6+
Submitter: dgp Created on: 2024-06-26 12:53:04
Subsystem: 16. Commands A-H Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2024-07-02 17:06:43
Resolution: Fixed Closed By: dgp
    Closed on: 2024-07-02 17:06:43
Description:
First time building/testing Tcl on a new work system.  It is some version of Ubuntu.  
This is probably a platform bug and not a Tcl bug, but would prefer the test suite not to complain.

==== cmdAH-24.20.1 Tcl_FileObjCmd: atime 64-bit time_t, bug [4718b41c56] FAILED
==== Contents of test case:

    list [file atime $filename 3155760000] [file atime $filename]

---- Result was:
2147483647 2147483647
---- Result should have been (exact matching):
3155760000 3155760000
==== cmdAH-24.20.1 FAILED



==== cmdAH-24.20.2 Tcl_FileObjCmd: mtime 64-bit time_t, bug [4718b41c56] FAILED
==== Contents of test case:

    list [file mtime $filename 3155760000] [file mtime $filename]

---- Result was:
2147483647 2147483647
---- Result should have been (exact matching):
3155760000 3155760000
==== cmdAH-24.20.2 FAILED
User Comments: dgp added on 2024-07-02 17:06:43:
Branch tips all show the tests no longer failing.

sebres added on 2024-07-01 20:07:03:

NP. You could try it again (8.6 only at the moment), [da79c3c0b87a14cc] must fix it (I hope).


dgp added on 2024-07-01 19:08:40:
Thanks for the followups.  I will engage our local admins to see what they might know.

sebres added on 2024-07-01 18:59:12:

So then it's probably the disk drive or driver or whatever IO-related there, seeming to have year 2038 problem.

I don't really know how to organize the test suite not to complain here, excepting a constraint using linux commands (touch/stat, but the last with --format is not really posix, imho).

I'll try to provide something here.


dgp added on 2024-07-01 18:26:34:
% puts pointerSize:\t$::tcl_platform(pointerSize)
pointerSize:	8
% puts st_mtime:\t[testsize st_mtime]
st_mtime:	8

Tests still failing on branch tips.

$ uname -a
Linux HOSTNAME 5.15.0-112-generic #122-Ubuntu SMP Thu May 23 07:48:21 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

sebres added on 2024-06-28 09:02:40:

Found a box where it was reproducible previously, and looks OK now, so the constraint work as expected, however only with tcltest-module... it may fail without that, but since it is mostly working (especially on all completely 64-bit platforms), I'll leave it as it is (instead of disabling if no testsize command)...
So I'll close it for now.


sebres added on 2024-06-27 10:22:25:

Hmm... it looks like continuation of [10aa8403d064439f]... I tried to target there similar issue by extend the constraint for all platforms (previously testsize was for windows only). Seems to be not enough (or we'd need to rewrite the constraint time64bit for some constellation).

The question is what do you see with following lines (in tcltest or in tclsh with loading test-module):

puts pointerSize:\t$::tcl_platform(pointerSize)
puts st_mtime:\t[testsize st_mtime]

I committed my last attempt of more strict attempt in [fd91b0ca09cb171f], would it help?

By the way: is it 32 or 64 bit platform (and kernel)?


dgp added on 2024-06-26 13:06:03:
Further examination reveals that this is an "Ubuntu 22.04.4 LTS" system.