I had some tools that sometimes worked and sometimes didn't. After digging into it I found that some of the hosts of toolforge have jq version 1.3 installed, while others have jq version 1.4 installed.
So when I submit a job with jsub sometimes it's executed on a host with jq 1.3 and sometimes on a host with jq 1.4. Both are incompatible to each other. So a script designed to work with 1.4 might not run with 1.3 and vice versa.
Is it possible to update to jq 1.4 everywhere?
How to reproduce
$ cat test.sh #!/bin/bash jq -V >> testfile $ /usr/bin/jsub -N test1 -once -quiet path/to/test.sh $ /usr/bin/jsub -N test2 -once -quiet path/to/test.sh $ /usr/bin/jsub -N test3 -once -quiet path/to/test.sh # ...
will get something like
jq-1.4-1-e73951f jq version 1.3 jq-1.4-1-e73951f jq-1.4-1-e73951f jq version 1.3