Hello,
I'm using bitbucket-pipeline for system tests.
One of the test script (python) is calling: os.system("python3 run_system.py')
run_system.py - is a script that walks through files in the input folder, then writes file into the output folder.
When I run the system test locally, on my computer, it run without any problem and the test passes.
When I run the system test on bitbucket-pipelines - it fails to write the file into the output folder. What made me think this is a permissions issue.
* Note that if I run run_system.py directly on bitbucket-pipelines (running the script itself and not the test script that runs run_system.py using os.system) - it runs perfectly, and writes file without a problem.
The problem occurs only when I use os.system.
* I tried using subprocess.Popen instead of os.system - same problem