Skip to content

runTheMatrix.py --command option broken #35565

@smuzaffar

Description

@smuzaffar

Looks like #35263 change broke the --command option e.g the igprof jobs for 12.1.X are failing with error

runTheMatrix.py -w upgrade -l 23434.21 --command '-n 10 --profile pp'
usage: usage: runTheMatrix.py --show -s  [-h] [-b BATCHNAME] [-m MEMORYOFFSET]
                                         [--addMemPerCore MEMPERCORE]
....
                                         [--force-cuda-runtime-version CUDARUNTIMEVERSION]
usage: runTheMatrix.py --show -s : error: argument --command: expected one argument

Strange thing is that the following works

  • runTheMatrix.py -w upgrade -l 23434.21 --command ' -n 10 --profile pp'
    which shows that opt.command is -n 10 --profile pp

  • runTheMatrix.py -w upgrade -l 23434.21 --command='-n 10 --profile pp'
    which shows that opt.command is -n 10 --profile pp

I will update the bot to add the extra space for igprof tests. I do not know if there is any fix to avoid this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions