bugGNU Parallel - Bugs: bug #61899, Parallel silently skips first task...

 
 

bug #61899: Parallel silently skips first task if "--bar" is set and tasks are delayed.

Submitter:  None
Submitted:  Sat 22 Jan 2022 10:55:25 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Invalid
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 22 Jan 2022 11:21:56 PM UTC, comment #1: 

Does not affect GNU parallel 20220122.
Issue lies with Debian/Ubuntu.

Anonymous
Sat 22 Jan 2022 10:55:25 PM UTC, original submission:  

Example below: the "echo 1" is not executed with the longer delay.

$ # Short delay works.
$ (sleep 1; echo -e "echo 1\necho 2" ) | parallel --bar
0% 0:2=0s echo 2                                                                1
50% 1:1=0s echo 2                                                               2
100% 2:0=0s echo 2

$ # Longer delay fails.
$ (sleep 15; echo -e "echo 1\necho 2" ) | parallel --bar
parallel: Warning: Reading 0 arguments took longer than 10 seconds.
parallel: Warning: Consider removing --bar.
0% 0:1=0s echo 2                                                                2
100% 1:0=0s echo 2

$ parallel -V
GNU parallel 20161222
Copyright (C) 2007,2008,2009,2010,2011,2012,2013,2014,2015,2016
...

$ lsb_release -d
Description:    Debian GNU/Linux 11 (bullseye)


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tange (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-02-21 tange StatusNone Invalid
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code