{"action":"created","issue":{"url":"https://api.github.com/repos/OpenMS/OpenMS/issues/1584","repository_url":"https://api.github.com/repos/OpenMS/OpenMS","labels_url":"https://api.github.com/repos/OpenMS/OpenMS/issues/1584/labels{/name}","comments_url":"https://api.github.com/repos/OpenMS/OpenMS/issues/1584/comments","events_url":"https://api.github.com/repos/OpenMS/OpenMS/issues/1584/events","html_url":"https://github.com/OpenMS/OpenMS/issues/1584","id":104378678,"number":1584,"title":"failed tests with boost 1.58","user":{"login":"hroest","id":464014,"avatar_url":"https://avatars3.githubusercontent.com/u/464014?v=3","gravatar_id":"","url":"https://api.github.com/users/hroest","html_url":"https://github.com/hroest","followers_url":"https://api.github.com/users/hroest/followers","following_url":"https://api.github.com/users/hroest/following{/other_user}","gists_url":"https://api.github.com/users/hroest/gists{/gist_id}","starred_url":"https://api.github.com/users/hroest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hroest/subscriptions","organizations_url":"https://api.github.com/users/hroest/orgs","repos_url":"https://api.github.com/users/hroest/repos","events_url":"https://api.github.com/users/hroest/events{/privacy}","received_events_url":"https://api.github.com/users/hroest/received_events","type":"User","site_admin":false},"labels":[{"id":74106860,"url":"https://api.github.com/repos/OpenMS/OpenMS/labels/(Unit)%20Tests","name":"(Unit) Tests","color":"207de5","default":false},{"id":74111674,"url":"https://api.github.com/repos/OpenMS/OpenMS/labels/contrib","name":"contrib","color":"207de5","default":false},{"id":74106459,"url":"https://api.github.com/repos/OpenMS/OpenMS/labels/defect","name":"defect","color":"f7c6c7","default":false},{"id":74106461,"url":"https://api.github.com/repos/OpenMS/OpenMS/labels/major","name":"major","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/OpenMS/OpenMS/milestones/10","html_url":"https://github.com/OpenMS/OpenMS/milestone/10","labels_url":"https://api.github.com/repos/OpenMS/OpenMS/milestones/10/labels","id":946633,"number":10,"title":"Release 2.1","description":null,"creator":{"login":"hroest","id":464014,"avatar_url":"https://avatars3.githubusercontent.com/u/464014?v=3","gravatar_id":"","url":"https://api.github.com/users/hroest","html_url":"https://github.com/hroest","followers_url":"https://api.github.com/users/hroest/followers","following_url":"https://api.github.com/users/hroest/following{/other_user}","gists_url":"https://api.github.com/users/hroest/gists{/gist_id}","starred_url":"https://api.github.com/users/hroest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hroest/subscriptions","organizations_url":"https://api.github.com/users/hroest/orgs","repos_url":"https://api.github.com/users/hroest/repos","events_url":"https://api.github.com/users/hroest/events{/privacy}","received_events_url":"https://api.github.com/users/hroest/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":69,"state":"open","created_at":"2015-01-22T09:15:39Z","updated_at":"2017-02-28T18:55:04Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-09-02T00:09:31Z","updated_at":"2017-02-28T21:28:52Z","closed_at":null,"body":"I get a couple of failed tests when compiling against boost 1.58\n\n```\n99% tests passed, 5 tests failed out of 1735\n\nTotal Test time (real) = 194.53 sec\n\nThe following tests FAILED:\n        326 - SvmTheoreticalSpectrumGenerator_test (Failed)\n        328 - SvmTheoreticalSpectrumGeneratorSet_test (Failed)\n        490 - IonizationSimulation_test (Failed)\n        491 - MSSim_test (Failed)\n        494 - RawTandemMSSignalSimulation_test (Failed)\nErrors while running CTest\n```\n\nThis may have something to do with the random number generator in boost, but I am not sure about this\n\n```\n326: checking void simulate(RichPeakSpectrum &spectrum, const AASequence &peptide, boost::random::mt19937_64&rng, Size precursor_charge) ... SVM model file loaded: testModel_11__1_class.svm\n326: SVM model file loaded: testModel_11__1_reg.svm\n326:\n326:  +  line 103:  TEST_EQUAL(exp.size(),1): got 1, expected 1\n326:  -  line 106:  TEST_EQUAL(spec.size(),exp[0].size()): got 8, expected 7\n326:  +  line 111:  TEST_REAL_SIMILAR(spec[i].getPosition()[0],(exp[0][i]).getPosition()[0]): got 147.112804913371, expected 147.112804913371\n326:  +  line 112:  TEST_REAL_SIMILAR(spec[i].getIntensity(),(exp[0][i]).getIntensity()): got 0.235752, expected 0.235752\n326:  +  line 111:  TEST_REAL_SIMILAR(spec[i].getPosition()[0],(exp[0][i]).getPosition()[0]): got 204.134269009071, expected 204.134269009071\n326:  +  line 112:  TEST_REAL_SIMILAR(spec[i].getIntensity(),(exp[0][i]).getIntensity()): got 0.466184, expected 0.466184\n326:  -  line 111:  TEST_REAL_SIMILAR(spec[i].getPosition()[0],(exp[0][i]).getPosition()[0]): got 216.134269009071, expected 303.202683296171 (absolute: 87.0684142871 [1e-05], relative: 1.40284409634016 [1.00001], message: \"ratio of numbers is large\"\n326:  -  line 112:  TEST_REAL_SIMILAR(spec[i].getIntensity(),(exp[0][i]).getIntensity()): got 0.490215, expected 0.734385 (absolute: 0.24417 [1e-05], relative: 1.49809 [1.00001], message: \"ratio of numbers is large\"\n326:  -  line 111:  TEST_REAL_SIMILAR(spec[i].getPosition()[0],(exp[0][i]).getPosition()[0]): got 303.202683296171, expected 333.184490732371 (absolute: 29.9818074362 [1e-05], relative: 1.09888371405643 [1.00001], message: \"ratio of numbers is large\"\n326:  -  line 112:  TEST_REAL_SIMILAR(spec[i].getIntensity(),(exp[0][i]).getIntensity()): got 0.734385, expected 0.957302 (absolute: 0.222917 [1e-05], relative: 1.30354 [1.00001], message: \"ratio of numbers is large\"\n326:  -  line 111:  TEST_REAL_SIMILAR(spec[i].getPosition()[0],(exp[0][i]).getPosition()[0]): got 333.184490732371, expected 431.261261551371 (absolute: 98.076770819 [1e-05], relative: 1.29436175316389 [1.00001], message: \"ratio of numbers is large\"\n326:  -  line 112:  TEST_REAL_SIMILAR(spec[i].getIntensity(),(exp[0][i]).getIntensity()): got 0.0317678, expected 0.707035 (absolute: 0.675267 [1e-05], relative: 22.2564 [1.00001], message: \"ratio of numbers is large\"\n326:  -  line 111:  TEST_REAL_SIMILAR(spec[i].getPosition()[0],(exp[0][i]).getPosition()[0]): got 431.261261551371, expected 518.293290710871 (absolute: 87.0320291595 [1e-05], relative: 1.20180813098404 [1.00001], message: \"ratio of numbers is large\"\n326:  -  line 112:  TEST_REAL_SIMILAR(spec[i].getIntensity(),(exp[0][i]).getIntensity()): got 0.707035, expected 0.584489 (absolute: 0.122546 [1e-05], relative: 1.20966 [1.00001], message: \"ratio of numbers is large\"\n326:  -  line 111:  TEST_REAL_SIMILAR(spec[i].getPosition()[0],(exp[0][i]).getPosition()[0]): got 518.293290710871, expected 665.361704997971 (absolute: 147.0684142871 [1e-05], relative: 1.28375519599219 [1.00001], message: \"ratio of numbers is large\"\n326:  -  line 112:  TEST_REAL_SIMILAR(spec[i].getIntensity(),(exp[0][i]).getIntensity()): got 0.584489, expected 0.631471 (absolute: 0.0469818 [1e-05], relative: 1.08038 [1.00001], message: \"ratio of numbers is large\"\n326: : failed\n326:\n\n```\n\nall works fine when compiling against boost 1.52\n"},"comment":{"url":"https://api.github.com/repos/OpenMS/OpenMS/issues/comments/283165666","html_url":"https://github.com/OpenMS/OpenMS/issues/1584#issuecomment-283165666","issue_url":"https://api.github.com/repos/OpenMS/OpenMS/issues/1584","id":283165666,"user":{"login":"hroest","id":464014,"avatar_url":"https://avatars3.githubusercontent.com/u/464014?v=3","gravatar_id":"","url":"https://api.github.com/users/hroest","html_url":"https://github.com/hroest","followers_url":"https://api.github.com/users/hroest/followers","following_url":"https://api.github.com/users/hroest/following{/other_user}","gists_url":"https://api.github.com/users/hroest/gists{/gist_id}","starred_url":"https://api.github.com/users/hroest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hroest/subscriptions","organizations_url":"https://api.github.com/users/hroest/orgs","repos_url":"https://api.github.com/users/hroest/repos","events_url":"https://api.github.com/users/hroest/events{/privacy}","received_events_url":"https://api.github.com/users/hroest/received_events","type":"User","site_admin":false},"created_at":"2017-02-28T21:28:52Z","updated_at":"2017-02-28T21:28:52Z","body":"I can confirm now: Ubuntu 16.04 runs all tests through using boost (e.g. contrib 5c54339636ea128f822bdee3b53205ae55381ca5 tagged as Release 2.0.1) using boost 1.52 "}}
{"actor":{"display_login":"hroest"}}