bugGNU Parallel - Bugs: bug #62672, Triggered a bug with --filter-host

 
 

bug #62672: Triggered a bug with --filter-host

Submitter:  None
Submitted:  Sat 25 Jun 2022 02:42:25 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  tange
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 06 Aug 2022 08:33:44 PM UTC, comment #3: 

Fixed in [b74f2d56].

Ole Tange <tange>
Group administrator
Sun 03 Jul 2022 06:38:03 PM UTC, comment #2: 

There was no parallel installed on the target machine (10.64.5.5). For this response I've installed 20220622 in my bin directory, and had to use a different, but very similar, host.

$ ssh ec2-user@10.64.5.186 'true ec2-user@10.64.5.186; bin/parallel --number-of-sockets'
1
$ ssh ec2-user@10.64.5.186 'true ec2-user@10.64.5.186; bin/parallel --number-of-cores'
1
$ ssh ec2-user@10.64.5.186 'true ec2-user@10.64.5.186; bin/parallel --max-line-length-allowed'
131063
$ ssh ec2-user@10.64.5.186 'true ec2-user@10.64.5.186; echo $host'

$ ssh ec2-user@10.64.5.186 'true ec2-user@10.64.5.186; bin/parallel --number-of-threads'
2

Everything looks right except maybe $host, but I wouldn't have expected that to have a value.

Also, just to be sure:

larryp-MBP:~ larry$ parallel --nonall -S 2/ec2-user@10.64.5.186 hostname
ip-10-64-5-186.us-west-2.compute.internal
larryp-MBP:~ larry$ parallel --nonall -S 2/ec2-user@10.64.5.186 --filter-hosts hostname
parallel: This should not happen. You have found a bug. Please follow
https://www.gnu.org/software/parallel/man.html#reporting-bugs

Include this in the report:
* The version number: 20220622
* The bugid: col8 does not contain host: 0
* The command line being run
* The files being read (put the files on a webserver if they are big)

If you get the error on smaller/fewer files, please include those instead.


Larry Ploetz <larryp>
Thu 30 Jun 2022 11:27:24 PM UTC, comment #1: 

This is cause by one of these giving the wrong output:

    ssh ec2-user@10.64.5.5 'true ec2-user@10.64.5.5;
 parallel --number-of-sockets'
    ssh ec2-user@10.64.5.5 'true ec2-user@10.64.5.5; parallel --number-of-cores'
    ssh ec2-user@10.64.5.5 'true ec2-user@10.64.5.5; parallel --number-of-cores'
    ssh ec2-user@10.64.5.5 'true ec2-user@10.64.5.5; parallel --max-line-length-allowed'
    ssh ec2-user@10.64.5.5 'true ec2-user@10.64.5.5; echo $host'

Paste the output of those.

Ole Tange <tange>
Group administrator
Sat 25 Jun 2022 02:42:25 AM UTC, original submission:  

I seem to have triggered a bug in this version.

$ parallel --version
GNU parallel 20220622
Copyright (C) 2007-2022 Ole Tange, http://ole.tange.dk and Free Software
Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
GNU parallel comes with no warranty.

Web site: https://www.gnu.org/software/parallel

When using programs that use GNU Parallel to process data for publication
please cite as described in 'parallel --citation'.

The bug text is

parallel: This should not happen. You have found a bug. Please follow
https://www.gnu.org/software/parallel/man.html#reporting-bugs

Include this in the report:
* The version number: 20220622
* The bugid: col8 does not contain host: 0
* The command line being run
* The files being read (put the files on a webserver if they are big)

If you get the error on smaller/fewer files, please include those instead.

The command run (stripped down to the most basic that fails):

$ parallel --nonall --slf /tmp/api3.hostlist --filter-h hostname

The file /tmp/api3.hostlist contains:

2/ec2-user@10.64.5.5

This does not fail with no --filter-h specified.

ยท Larry Ploetz, -email is unavailable-

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 larryp (Posted a comment)
  • -email is unavailable- added by tange (Posted a comment)
  •  

    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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-08-06 tange StatusNeed Info Fixed
        Assigned toNone tange
        Open/ClosedOpen Closed
    2022-07-01 tange StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code