I've been struggling this week reconfiguring my existing, working bitbucket cloud pipeline to run multiple simultaneous builds. This pipeline has 3 steps, but only the first step, the build, is important for this issue (I think). It's building a .Net 8.0 IOS C# Xamarin app on a local MacOS, using a self-hosted runner. I need the ability to run this pipeline multiple times simultaneously. I can kick off individual pipelines with the Bitbucket API, that's not an issue at all. With only one runner, running on that self-hosted MacOS, it works perfectly. When I add another runner, and run it on the same MacOS, things go badly. I've got 3 configured, currently, each running in its own folder. I'm setting each one's workingDirectory in the start.sh command, and there shouldn't be anything in the yaml file that contradicts or interferes with that folder. And yet, when they run, they ALWAYS fail, with a System Error that complains about a folder that is definitely outside the folder set in the workingDirectory. Analysis of the runner logs mention that the runner couldn't find the sms folder or artifact folder, and there, it lists the correct directory (but again, can't find subfolders, and I believe it should be creating those subfolders, but is failing.) I've verified the user has full access rights to the folder structure in question.
Upon request, I can provide logs and the yaml file, though I will need to scrub them of company-sensitive information. At this stage, I'll take any insight I can get.