Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-06-13
09:09 • Ticket [c057378986] exec-19.1 test failure on Ubuntu (WSL) status still Open... artifact: 35d505074d user: apnadkarni
08:08 • New ticket [c057378986]. artifact: 3d6898ce60 user: apnadkarni

exec-19.1 test failure on Ubuntu (WSL)

Openc0573789867c68d4eb40ae0cd8132d61d6243be7Created 173 days agoUpdated 173 days ago
Descriptionplain2026-06-13 08:08:20
I see this consistent failure on trunk, I don't recall seeing before.

Tests began at 2026-06-13 13:34:13 IST
exec.test


==== exec-19.1 exec >> uses O_APPEND FAILED
==== Contents of test case:

    # Note that we have to allow for the current contents of the temporary
    # file, which is why the result is 14 and not 12
    exec /bin/sh -c  {for a in 1 2 3; do sleep 1; echo $a; done} >>$tmpfile &
    exec /bin/sh -c  {for a in 4 5 6; do sleep 1; echo $a >&2; done} 2>>$tmpfile &
    exec /bin/sh -c  {for a in a b c; do sleep 1; echo $a; done} >>$tmpfile &
    exec /bin/sh -c  {for a in d e f; do sleep 1; echo $a >&2; done} 2>>$tmpfile &
    # The above four shell invocations take about 3 seconds to finish, so allow
    # 5s (in case the machine is busy)
    after 5000
    # Check that no bytes have got lost through mixups with overlapping
    # appends, which is only guaranteed to work when we set O_APPEND on the
    # file descriptor in the [exec >>...]
    file size $tmpfile

---- Result was:
22
---- Result should have been (exact matching):
26
==== exec-19.1 FAILED
apnadkarniplain2026-06-13 09:09:28
I am suspecting this has something to do with running on WSL with a NTFS file system. The failure is showing with commits from past few months but bisecting is not reliably reproducible. Not clear why I have never seen this before, possibly a Windows update from last week changed something...
Log in (anonymous is fine) to add a comment.