# puppetlabs_spec_helper creates a default symlink but then fails build because a symlink exists - what is going on?

We have a Jenkins build that runs on updates to our modules, and as part of the spec tests it includes puppetlabs_spec_helper.

Note: there is no symlink defined in .fixtures.yml or any symlinks pre-existing.

During the rake exec a symbolic link is created automatically as per this code it seems: https://github.com/puppetlabs/puppetl...

Then the rake test fails because there is a sym link: https://github.com/puppetlabs/puppetl...

What is going on? What am I doing wrong?

## Output from rake:

rake aborted!

/var/lib/jenkins/workspace/mymodule_tools_PR-52-SYHK7BFH357RS5GIKYAVKE7XOLQMQKADCXS3JHWX4QPVTT3CWZUA/gems/ruby/2.4.0/gems/puppetlabs_spec_helper-2.4.0/lib/puppetlabs_spec_helper/rake_tasks.rb:607:in block (2 levels) in <top (required)&gt;'<="" p="">

/var/lib/jenkins/workspace/mymodule_tools_PR-52-SYHK7BFH357RS5GIKYAVKE7XOLQMQKADCXS3JHWX4QPVTT3CWZUA/gems/ruby/2.4.0/gems/rake-12.3.1/exe/rake:27:in <top (required)&gt;'<="" p="">

....etc....

/opt/rh/rh-ruby24/root/usr/bin/bundle:22:in load'

/opt/rh/rh-ruby24/root/usr/bin/bundle:22:in <main>'