Skip to content

[CI][MATLAB] Tests fail with Licensing error #40034

@Tom-Newton

Description

@Tom-Newton

Describe the bug, including details regarding any error messages, version, and platform.

Run matlab-actions/run-tests@v2
  with:
    select-by-folder: matlab/test
    strict: false
    use-parallel: false
  env:
    ARROW_USE_CCACHE: ON
    CCACHE_COMPILERCHECK: content
    CCACHE_COMPRESS: 1
    CCACHE_COMPRESSLEVEL: 6
    CCACHE_MAXSIZE: 1G
    LD_PRELOAD: /usr/lib/x86_64-linux-gnu/libstdc++.so.6
    MATLABPATH: matlab/install/arrow_matlab
Generate script
  Successfully generated script
Run command
  /home/runner/work/_actions/matlab-actions/run-tests/v[2](https://github.com/apache/arrow/actions/runs/7857518729/job/21441500404?pr=40021#step:10:2)/dist/bin/glnxa64/run-matlab-command setenv('MW_ORIG_WORKING_FOLDER', cd('/tmp/run_matlab_command-Tq5uLK'));command_1f1f145d_1c4b_40ff_9266_cd4c[3](https://github.com/apache/arrow/actions/runs/7857518729/job/21441500404?pr=40021#step:10:3)7d107bf 
  License checkout failed.
  License Manager Error -1
  The license file cannot be found.
  
  Troubleshoot this issue by visiting: 
  https://www.mathworks.com/support/lme/1
  
  Diagnostic Information:
  Feature: MATLAB 
  License path: /home/runner/.matlab/R2023a_licenses:/opt/hostedtoolcache/MATLAB/2023.1.999/x6[4](https://github.com/apache/arrow/actions/runs/7857518729/job/21441500404?pr=40021#step:10:4)/licenses/license.dat:/opt/hostedtoolcache/MATLAB/2023.1.999/x64/licenses 
  Licensing error: -1,3[5](https://github.com/apache/arrow/actions/runs/7857518729/job/21441500404?pr=40021#step:10:5)9. System Error: 2
  exit status 1
Error: Error: The process '/home/runner/work/_actions/matlab-actions/run-tests/v2/dist/bin/glnxa[6](https://github.com/apache/arrow/actions/runs/7857518729/job/21441500404?pr=40021#step:10:6)4/run-matlab-command' failed with exit code 1

Example failed builds:
https://github.com/apache/arrow/actions/runs/7857518729/job/21441500404?pr=40021
https://github.com/apache/arrow/actions/runs/7857518729/job/21441500338?pr=40021
https://github.com/apache/arrow/actions/runs/7857518729/job/21441500458?pr=40021

It looks like the same issues is effecting linux, mac OS and windows builds.

Component(s)

MATLAB

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions