New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jenkins-CI is not trustworthy #1774
Comments
Well, not surprising for me because travis env is precise aka 12.04 release ( not supported by hets anymore) and thus is probably using an outdated hets version (actually it should fail, because AFAICS the hets PPA does not provide any precise packages anymore) ... |
The errors are not related to Hets. They are pure misused Rails 3.2 methods. |
jenkins is just java - has nothing to do with rails, just executes the tests. So if application tests fail, you need to find out first, why your tests do not produce the expected results. Since I don't have a clue, what you wanna test and what you expect, what side conditions need to be met, etc., I can't help solving this problem. |
To investigate this, we need ssh access to ohj. We need to run a rails console in the project directory (in the environment "test") and debug the test that actually should fail. Without this ssh access and the knowledge, where the project directory is, we can't find out what's wrong. |
We took a look at the console output of jenkins. The first few lines of ontohub-PRs/206 say:
Here,
basically checks out staging instead of the commit that needs to be changed (which is mentioned in the first line). In conclusion, Jenkins-CI always tests staging and never tests the pull request. Edit: I see the checked-out commit is not HEAD of staging, but it is a commit that is merged into staging. |
Tests pass on our Jenkins-CI while they should be failing. See http://ohj.iks.cs.ovgu.de:8080/job/ontohub-PRs/162/consoleFull and https://travis-ci.org/ontohub/ontohub/builds/151223864.
These two test the same commit. Travis fails (because there actually is something wrong in our code) while Jenkins says that everything is just fine.
The text was updated successfully, but these errors were encountered: