Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

MatlabEngineTest Failing in Bamboo

Hi Team,

We are trying to build maven project via bamboo cicd.  In that we are using matlab to execute our test cases.  While building test cases are failed with below matlab error.

MatlabEngineTest.initMatlab:22 » UnsatisfiedLink Failed to find the library mc...

 

Please share your valuable input to fix this error.

Note - I have installed matlab in my system and that installed location in path variable as well.

 

1 answer

0 votes

Hi @MuruganSankar

It would be great if you could share the build log errors right before this one. They would probably help us to see what could be causing this one. I'm assuming this is working on terminal, but not in Bamboo. Is that correct?

Please keep in mind that after changing/adding environment variables you need to make sure the remote agent is also restarted. If you are using a local agent you will need to restart the Bamboo server. This happens because environment variables are inherited from the parent process when Bamboo or the remote agent is started and new changes are not noticed. This is not an issue, but the way the OS works.

Suggestions for moving forward :

  • Restart the server or remote agent if necessary.
  • Check if this maven build is working from the terminal (considering the agent machine used for this build).
  • Share more log lines around this error to allow us sharing more ideas for troubleshooting this.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

673 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you