Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 701b2d2e57fb1354ae8d37288041524d4b5d440639e948c73a4cd7202187073c
Ticket: 407b70361c1487732ef3e1fff67d61e60903431a
New test failures. Maybe unix pipe troubles?
User & Date: dgp on 2023-07-24 14:26:54
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    On a CentOS 7.9 system there are new test failures on the tip of 8.6 branch:
    
    ==== exec-9.1 commands returning errors FAILED
    ==== Contents of test case:
    
        set x [catch {exec gorp456} msg]
        list $x [string tolower $msg] [string tolower $errorCode]
    
    ---- Result was:
    1 {child process exited abnormally} {childstatus 30357 127}
    ---- Result should have been (exact matching):
    1 {couldn't execute "gorp456": no such file or directory} {posix enoent {no such file or directory}}
    ==== exec-9.1 FAILED
    
    
    
    ==== exec-9.2 commands returning errors FAILED
    ==== Contents of test case:
    
        string tolower [list [catch {exec [interpreter] echo foo | foo123} msg] $msg $errorCode]
    
    ---- Result was:
    1 {error writing "stdout": broken pipe
        while executing
    "puts {}"
        (file "echo" line 6)} {childstatus 30359 127}
    ---- Result should have been (exact matching):
    1 {couldn't execute "foo123": no such file or directory} {posix enoent {no such file or directory}}
    ==== exec-9.2 FAILED
    
    
    
    ==== exec-9.5 commands returning errors FAILED
    ==== Contents of test case:
    
        exec gorp456 | [interpreter] echo a b c
    
    ---- Result was:
    a b c
    child process exited abnormally
    ---- Result should have been (exact matching):
    couldn't execute "gorp456": no such file or directory
    ==== exec-9.5 FAILED
    
    
    
    ==== exec-13.3 setting errorCode variable FAILED
    ==== Contents of test case:
    
        set x [catch {exec _weird_cmd_} msg]
        list $x [string tolower $msg] [lindex $errorCode 0]  [string tolower [lrange $errorCode 2 end]]
    
    ---- Result was:
    1 {child process exited abnormally} CHILDSTATUS 127
    ---- Result should have been (exact matching):
    1 {couldn't execute "_weird_cmd_": no such file or directory} POSIX {{no such file or directory}}
    ==== exec-13.3 FAILED
    
    
    
    ==== exec-14.4 -- switch FAILED
    ==== Contents of test case:
    
        exec -- -gorp
    
    ---- Result was:
    child process exited abnormally
    ---- Result should have been (exact matching):
    couldn't execute "-gorp": no such file or directory
    ==== exec-14.4 FAILED
    
    
    
    ==== exec-17.1 inheriting standard I/O FAILED
    ==== Contents of test case:
    
        catch {exec [interpreter] $path(script)} result
        list $result [readfile $path(gorp.file)]
    
    ---- Result was:
    {} {}
    ---- Result should have been (exact matching):
    {} foobar
    ==== exec-17.1 FAILED
    
    
    ==== iocmd-11.4 I/O to command pipelines FAILED
    ==== Contents of test case:
    
        list [catch {open "| no_such_command_exists" rb} msg] $msg $::errorCode
    
    ---- Result was:
    0 file3 {TCL OPERATION EXEC BADREDIRECT}
    ---- Result should have been (exact matching):
    1 {couldn't execute "no_such_command_exists": no such file or directory} {POSIX ENOENT {no such file or directory}}
    ==== iocmd-11.4 FAILED
    
  5. foundin changed to: "core-8-6-branch"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "8e2300e85be5dd1445b9666eb9429055951e33be"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "dgp"
  14. subsystem changed to: "25. Channel System"
  15. title changed to: "New test failures. Maybe unix pipe troubles?"
  16. type changed to: "Bug"