The workaround used is the test environment is to create a wrapper script, such as /usr/local/bin/maas with: #!/bin/bash flock -w 10 /var/lib/jenkins/maas.lock -c "/usr/bin/maas $*"
The workaround used is the test environment is to create a wrapper script, such as /usr/local/bin/maas with: jenkins/ maas.lock -c "/usr/bin/maas $*"
#!/bin/bash
flock -w 10 /var/lib/