We use Travis CI to maintain our project on git. The issue here is on Travis we have 2 processes running a random selection of specs each with different seed numbers, now when there is a failure, I try to run:
- the exact spec with the seed number
- the exact spec without a seed number
- the spec file with a seed number
- the spec file with a seed number and --bisect
- the spec file without a seed number but with --bisect
In the above 5 scenarios whether locally or even on a ssh when debugging the travis build, I find no failures and bisect always fails.
Also in a completely different scenario if I run parallel:spec locally with the default 8 processes, I do get failures but if I run each alone with the 'rspec' cmd, gives no failures.
I've also tried locally to run parallel:spec whilst having the --bisect option in the .parallel-spec file in the root of our application. the minimal reproduction commands I get still give no failures.
What am I missing here? does this issue have to do with running multiple processes and having to run the minimal reproduction lines with rspec? becuase currently it seems to me that if specs are run on more than 1 process I'm never able to reproduce the failing specs. On the other hand if locally i run rspec --bisect after 8 hours I find it has not started 1 process even and I'm on a macbook pro (but yeah we have around 4k specs)
p.s. we're on rails 4.2.7.1, ruby 2.3.3 and rspec 3.4.4
Thanks
Update: ran parallel spec verbose to obtain the specs order and then ran the process command in which a spec fails with the seed number then another time with the seed number and --bisect. still no failures.