mathworks / jenkins-matlab-plugin

This plugin enables you to run MATLAB® and Simulink® as part of your Jenkins™ build.
47 stars 54 forks source link

Concurrent builds are sometimes affected when installing MATLAB using MPM feature #371

Closed Vahila closed 1 day ago

Vahila commented 2 weeks ago

When the tool is being used for first time(installation of products happen) and multiple jobs using same tool are started at almost same time, the jobs gets stalled because more than one process is trying to use same MPM file. The user has to cancel the stalled job and start them again making sure the jobs run one after another Attaching screenshots of the jobs that are stalled image image

When the stalled jobs are cancelled the job fails.

When there are multiple jobs that uses the same tool on same agent and installing using MPM, there is an error stating the files are busy as shown below image

Vahila commented 1 week ago

When two jobs are accessing the same MATLAB tool, the MPM installation happens but the error is thrown with matlab-batch is busy

nbhoski commented 4 days ago

Fixed

nbhoski commented 4 days ago

appears to be fixed please verify and reopen if required. Ihave synchronized the run however there's more that we can think of here for more reliability.

Vahila commented 2 days ago

Opening this issue as it still occurs with latest fix.

nbhoski commented 1 day ago

Handled this issues with temp file name. f