matlab-actions / run-command

Run MATLAB scripts, functions, and statements.
BSD 3-Clause "New" or "Revised" License
53 stars 11 forks source link

Non-deterministic License Manager Error 4402 with latest release of MATLAB with windows-latest or macos-latest #43

Closed traversaro closed 9 months ago

traversaro commented 1 year ago

I have a GitHub Action job that frequently (around 4 times out of 5) on with release: latest on a step that uses matlab-actions/run-command@v1 with error:

  ======BEGIN LICENSE MANAGER ERROR======
  License checkout failed.
  License Manager Error 4402
  Missing root element in response

  Troubleshoot this issue by visiting: 
  https://www.mathworks.com/support/lme/4402

  Diagnostic Information:
  Feature: MATLAB_Distrib_Comp_Engine 
  License path:  
  Licensing error: 4402,0.
  ======END LICENSE MANAGER ERROR======

  exit status 1

other job that use R2022a or R2022b work fine all the time.

The job is https://github.com/robotology/robotology-superbuild/blob/master/.github/workflows/matlab-one-line-install-test.yml , recent job execution:

Downstream issue: https://github.com/robotology/robotology-superbuild/issues/1492 .

traversaro commented 1 year ago

Another job in which I am experiencing this is https://github.com/robotology/idyntree/blob/master/.github/workflows/matlab.yml .

mcafaro commented 1 year ago

Hi @traversaro,

Thanks for the report. We are looking into it.

Best, Mark

traversaro commented 1 year ago

Thanks for the feedback @mcafaro !

traversaro commented 1 year ago

Probably related PR: https://github.com/osqp/osqp-matlab/pull/51 .

fangq commented 1 year ago

also saw this error on windows-2019 with MATLAB latest https://github.com/fangq/jsonlab/actions/runs/6669729937/job/18128129445

mcafaro commented 9 months ago

This issue should hopefully be resolved. Can you please give it a try and report back?

traversaro commented 9 months ago

This issue should hopefully be resolved. Can you please give it a try and report back?

Thanks, I opened https://github.com/robotology/robotology-superbuild/pull/1593 to check this . It is supposed to be solved in general or just for v2? No problem in updating to v2, just to understand.

mcafaro commented 9 months ago

It should be resolved on both v1 and v2.

traversaro commented 9 months ago

Everything seems to be working fine, thanks a lot! Let's close the issue, if anyone experience something similar feel free to re-open or open a new issue.