[0KRunning with gitlab-runner 11.2.0 (35e8515d) [0;m[0K on universal-tn4 d3cf9985 [0;m[0KUsing Docker executor with image quantumtinkerer/research ... [0;m[0KPulling docker image quantumtinkerer/research ... [0;m[0KUsing docker image sha256:237019a51070e1987eb51477023434dc66fa49228c26b4a74e285fd644753b73 for quantumtinkerer/research ... [0;msection_start:1537453158:prepare_script [0KRunning on runner-d3cf9985-project-233-concurrent-0 via tnw-tn4.tudelft.net... section_end:1537453160:prepare_script [0Ksection_start:1537453160:get_sources [0K[32;1mFetching changes...[0;m Removing .coverage Removing .pytest_cache/ Removing adaptive/__pycache__/ Removing adaptive/learner/__pycache__/ Removing adaptive/tests/__pycache__/ Removing htmlcov/ HEAD is now at a48fc88 add a test for the 'BalancingLearner' with various learners, closes #102' From https://gitlab.kwant-project.org/qt/adaptive + 35b137a...fd4c076 tell_pending -> origin/tell_pending (forced update) [32;1mChecking out fd4c076a as tell_pending...[0;m [32;1mSkipping Git submodules setup[0;m section_end:1537453162:get_sources [0Ksection_start:1537453162:restore_cache [0Ksection_end:1537453164:restore_cache [0Ksection_start:1537453164:download_artifacts [0Ksection_end:1537453165:download_artifacts [0Ksection_start:1537453165:build_script [0K[32;1m$ pip install -r test-requirements.txt[0;m Requirement already satisfied: pytest in /opt/conda/lib/python3.6/site-packages (from -r test-requirements.txt (line 1)) (3.7.4) Collecting pytest-randomly (from -r test-requirements.txt (line 2)) Downloading https://files.pythonhosted.org/packages/df/5c/46e343b3421368a5a01ab6039198e9b0f1ff1c7999ee485d5b530023f504/pytest_randomly-1.2.3-py2.py3-none-any.whl Collecting pytest-cov (from -r test-requirements.txt (line 3)) Downloading https://files.pythonhosted.org/packages/30/0a/1b009b525526cd3cd9f52f52391b426c5a3597447be811a10bcb1f6b05eb/pytest_cov-2.6.0-py2.py3-none-any.whl Requirement already satisfied: py>=1.5.0 in /opt/conda/lib/python3.6/site-packages (from pytest->-r test-requirements.txt (line 1)) (1.6.0) Requirement already satisfied: six>=1.10.0 in /opt/conda/lib/python3.6/site-packages (from pytest->-r test-requirements.txt (line 1)) (1.11.0) Requirement already satisfied: setuptools in /opt/conda/lib/python3.6/site-packages (from pytest->-r test-requirements.txt (line 1)) (40.0.0) Requirement already satisfied: attrs>=17.4.0 in /opt/conda/lib/python3.6/site-packages (from pytest->-r test-requirements.txt (line 1)) (18.1.0) Requirement already satisfied: more-itertools>=4.0.0 in /opt/conda/lib/python3.6/site-packages (from pytest->-r test-requirements.txt (line 1)) (4.3.0) Requirement already satisfied: atomicwrites>=1.0 in /opt/conda/lib/python3.6/site-packages (from pytest->-r test-requirements.txt (line 1)) (1.1.5) Requirement already satisfied: pluggy>=0.7 in /opt/conda/lib/python3.6/site-packages (from pytest->-r test-requirements.txt (line 1)) (0.7.1) Collecting coverage>=4.4 (from pytest-cov->-r test-requirements.txt (line 3)) Downloading https://files.pythonhosted.org/packages/3d/a0/b12090c40e0b8196b973962ec71c1c541a6c04af58ba5ad85683b3de251a/coverage-4.5.1-cp36-cp36m-manylinux1_x86_64.whl (202kB) Installing collected packages: pytest-randomly, coverage, pytest-cov Successfully installed coverage-4.5.1 pytest-cov-2.6.0 pytest-randomly-1.2.3 [32;1m$ conda install -y -q scikit-optimize[0;m Solving environment: ...working... done ## Package Plan ## environment location: /opt/conda added / updated specs: - scikit-optimize The following packages will be downloaded: package | build ---------------------------|----------------- scikit-optimize-0.5.2 | py_0 51 KB conda-forge scikit-learn-0.19.2 |py36_blas_openblasha84fab4_201 12.7 MB conda-forge ------------------------------------------------------------ Total: 12.7 MB The following NEW packages will be INSTALLED: scikit-learn: 0.19.2-py36_blas_openblasha84fab4_201 conda-forge [blas_openblas] scikit-optimize: 0.5.2-py_0 conda-forge Preparing transaction: ...working... done Verifying transaction: ...working... done Executing transaction: ...working... done [32;1m$ py.test --verbose --cov=adaptive --cov-report term --cov-report html adaptive[0;m ============================= test session starts ============================== platform linux -- Python 3.6.6, pytest-3.7.4, py-1.6.0, pluggy-0.7.1 -- /opt/conda/bin/python cachedir: .pytest_cache Using --randomly-seed=1537453245 rootdir: /builds/qt/adaptive, inifile: pytest.ini plugins: randomly-1.2.3, flakes-4.0.0, cov-2.6.0 collecting ... collected 127 items adaptive/tests/test_runner.py::test_nonconforming_output PASSED [ 0%] adaptive/tests/test_average_learner.py::test_only_returns_new_points PASSED [ 1%] adaptive/tests/test_learner1d.py::test_loss_interpolation PASSED [ 2%] adaptive/tests/test_learner1d.py::test_order_adding_points PASSED [ 3%] adaptive/tests/test_learner1d.py::test_pending_loss_intervals PASSED [ 3%] adaptive/tests/test_learner1d.py::test_small_deviations PASSED [ 4%] adaptive/tests/test_learner1d.py::test_loss_at_machine_precision_interval_is_zero PASSED [ 5%] adaptive/tests/test_learner1d.py::test_loss_interpolation_for_unasked_point PASSED [ 6%] adaptive/tests/test_learner1d.py::test_termination_on_discontinuities PASSED [ 7%] adaptive/tests/test_learner1d.py::test_first_iteration PASSED [ 7%] adaptive/tests/test_learner1d.py::test_adding_existing_point_passes_silently PASSED [ 8%] adaptive/tests/test_cquad.py::test_removed_choose_mutiple_points_at_once xfail [ 9%] adaptive/tests/test_cquad.py::test_machine_precision XPASS [ 10%] adaptive/tests/test_cquad.py::test_choosing_and_adding_points_one_by_one PASSED [ 11%] adaptive/tests/test_cquad.py::test_approximating_intervals PASSED [ 11%] adaptive/tests/test_cquad.py::test_removed_ask_one_by_one PASSED [ 12%] adaptive/tests/test_cquad.py::test_machine_precision2 PASSED [ 13%] adaptive/tests/test_cquad.py::test_tell_in_random_order_first_add_33 xfail [ 14%] adaptive/tests/test_cquad.py::test_that_gives_same_intervals_as_reference_implementation XPASS [ 14%] adaptive/tests/test_cquad.py::test_tell_in_random_order XPASS [ 15%] adaptive/tests/test_cquad.py::test_choosing_and_adding_multiple_points_at_once PASSED [ 16%] adaptive/tests/test_cquad.py::test_adding_points_and_skip_one_point PASSED [ 17%] adaptive/tests/test_cquad.py::test_divergence PASSED [ 18%] adaptive/tests/test_skopt_learner.py::test_skopt_learner_runs PASSED [ 18%] adaptive/tests/test_learnernd.py::test_faiure_case_LearnerND PASSED [ 19%] adaptive/tests/test_triangulation.py::test_adding_point_inside_standard_simplex[False-4] PASSED [ 20%] adaptive/tests/test_triangulation.py::test_adding_point_outside_standard_simplex_in_negative_orthant[4] PASSED [ 21%] adaptive/tests/test_triangulation.py::test_initialisation_accepts_more_than_one_simplex[3] PASSED [ 22%] adaptive/tests/test_triangulation.py::test_initialisation_raises_when_points_coplanar[3] PASSED [ 22%] adaptive/tests/test_triangulation.py::test_adding_point_outside_circumscribed_hypersphere_in_positive_orthant[2] PASSED [ 23%] adaptive/tests/test_triangulation.py::test_triangulation_volume_is_less_than_bounding_box[4] PASSED [ 24%] adaptive/tests/test_triangulation.py::test_triangulation_volume_is_less_than_bounding_box[2] PASSED [ 25%] adaptive/tests/test_triangulation.py::test_initialisation_raises_when_not_enough_points[3] PASSED [ 25%] adaptive/tests/test_triangulation.py::test_adding_point_on_standard_simplex_face[4] PASSED [ 26%] adaptive/tests/test_triangulation.py::test_initialisation_raises_when_points_coplanar[2] PASSED [ 27%] adaptive/tests/test_triangulation.py::test_triangulation_is_deterministic[3] PASSED [ 28%] adaptive/tests/test_triangulation.py::test_triangulation_volume_is_less_than_bounding_box[3] PASSED [ 29%] adaptive/tests/test_triangulation.py::test_adding_point_coplanar_with_a_face[3] PASSED [ 29%] adaptive/tests/test_triangulation.py::test_adding_point_colinear_with_first_edge[4] PASSED [ 30%] adaptive/tests/test_triangulation.py::test_adding_point_coplanar_with_a_face[4] PASSED [ 31%] adaptive/tests/test_triangulation.py::test_adding_point_on_standard_simplex_face[3] PASSED [ 32%] adaptive/tests/test_triangulation.py::test_adding_point_inside_standard_simplex[True-4] PASSED [ 33%] adaptive/tests/test_triangulation.py::test_initialisation_raises_when_points_coplanar[4] PASSED [ 33%] adaptive/tests/test_triangulation.py::test_initialisation_raises_when_not_enough_points[2] PASSED [ 34%] adaptive/tests/test_triangulation.py::test_adding_point_on_standard_simplex_edge[3] PASSED [ 35%] adaptive/tests/test_triangulation.py::test_adding_point_outside_circumscribed_hypersphere_in_positive_orthant[4] PASSED [ 36%] adaptive/tests/test_triangulation.py::test_triangulation_is_deterministic[4] PASSED [ 37%] adaptive/tests/test_triangulation.py::test_adding_point_on_standard_simplex_edge[4] PASSED [ 37%] adaptive/tests/test_triangulation.py::test_zero_volume_initial_simplex_raises_exception[2] PASSED [ 38%] adaptive/tests/test_triangulation.py::test_triangulation_of_standard_simplex[4] PASSED [ 39%] adaptive/tests/test_triangulation.py::test_initialisation_raises_when_not_enough_points[4] PASSED [ 40%] adaptive/tests/test_triangulation.py::test_adding_point_inside_circumscribed_circle[4] PASSED [ 40%] adaptive/tests/test_triangulation.py::test_adding_point_inside_standard_simplex[True-3] PASSED [ 41%] adaptive/tests/test_triangulation.py::test_adding_point_outside_standard_simplex_in_negative_orthant[3] PASSED [ 42%] adaptive/tests/test_triangulation.py::test_triangulation_is_deterministic[2] PASSED [ 43%] adaptive/tests/test_triangulation.py::test_adding_point_on_standard_simplex_face[2] PASSED [ 44%] adaptive/tests/test_triangulation.py::test_adding_point_inside_standard_simplex[False-2] PASSED [ 44%] adaptive/tests/test_triangulation.py::test_adding_point_colinear_with_first_edge[2] PASSED [ 45%] adaptive/tests/test_triangulation.py::test_adding_point_colinear_with_first_edge[3] PASSED [ 46%] adaptive/tests/test_triangulation.py::test_adding_point_outside_standard_simplex_in_negative_orthant[2] PASSED [ 47%] adaptive/tests/test_triangulation.py::test_triangulation_raises_exception_for_1d_points PASSED [ 48%] adaptive/tests/test_triangulation.py::test_initialisation_accepts_more_than_one_simplex[2] PASSED [ 48%] adaptive/tests/test_triangulation.py::test_triangulation_of_standard_simplex[3] PASSED [ 49%] adaptive/tests/test_triangulation.py::test_initialisation_accepts_more_than_one_simplex[4] PASSED [ 50%] adaptive/tests/test_triangulation.py::test_adding_point_outside_circumscribed_hypersphere_in_positive_orthant[3] PASSED [ 51%] adaptive/tests/test_triangulation.py::test_adding_point_inside_standard_simplex[True-2] PASSED [ 51%] adaptive/tests/test_triangulation.py::test_zero_volume_initial_simplex_raises_exception[4] PASSED [ 52%] adaptive/tests/test_triangulation.py::test_adding_point_coplanar_with_a_face[2] PASSED [ 53%] adaptive/tests/test_triangulation.py::test_zero_volume_initial_simplex_raises_exception[3] PASSED [ 54%] adaptive/tests/test_triangulation.py::test_adding_point_on_standard_simplex_edge[2] PASSED [ 55%] adaptive/tests/test_triangulation.py::test_adding_point_inside_standard_simplex[False-3] PASSED [ 55%] adaptive/tests/test_triangulation.py::test_adding_point_inside_circumscribed_circle[2] PASSED [ 56%] adaptive/tests/test_triangulation.py::test_adding_point_inside_circumscribed_circle[3] PASSED [ 57%] adaptive/tests/test_triangulation.py::test_triangulation_of_standard_simplex[2] PASSED [ 58%] adaptive/tests/test_triangulation.py::test_triangulation_raises_exception_for_1d_list PASSED [ 59%] adaptive/tests/test_learners.py::test_convergence_for_arbitrary_ordering[LearnerND-sphere_of_fire-learner_kwargs4] xfail [ 59%] adaptive/tests/test_learners.py::test_learner_accepts_lists[Learner1D-bounds0] PASSED [ 60%] adaptive/tests/test_learners.py::test_learner_performance_is_invariant_under_scaling[LearnerND-sphere_of_fire-learner_kwargs4] xfail [ 61%] adaptive/tests/test_learners.py::test_uniform_sampling1D[Learner1D-quadratic-learner_kwargs0] PASSED [ 62%] adaptive/tests/test_learners.py::test_convergence_for_arbitrary_ordering[LearnerND-ring_of_fire-learner_kwargs3] xfail [ 62%] adaptive/tests/test_learners.py::test_adding_non_chosen_data[AverageLearner-gaussian-learner_kwargs5] PASSED [ 63%] adaptive/tests/test_learners.py::test_adding_existing_data_is_idempotent[Learner1D-quadratic-learner_kwargs0] XPASS [ 64%] adaptive/tests/test_learners.py::test_convergence_for_arbitrary_ordering[Learner2D-ring_of_fire-learner_kwargs2] xfail [ 65%] adaptive/tests/test_learners.py::test_convergence_for_arbitrary_ordering[Learner1D-quadratic-learner_kwargs0] xfail [ 66%] adaptive/tests/test_learners.py::test_learner_subdomain[Learner2D-ring_of_fire-learner_kwargs2] xfail [ 66%] adaptive/tests/test_learners.py::test_convergence_for_arbitrary_ordering[Learner1D-linear_with_peak-learner_kwargs1] xfail [ 67%] adaptive/tests/test_learners.py::test_balancing_learner[LearnerND-ring_of_fire-learner_kwargs3] FAILED [ 68%] adaptive/tests/test_learners.py::test_learner_subdomain[LearnerND-sphere_of_fire-learner_kwargs4] xfail [ 69%] adaptive/tests/test_learners.py::test_learner_performance_is_invariant_under_scaling[Learner1D-quadratic-learner_kwargs0] PASSED [ 70%] adaptive/tests/test_learners.py::test_learner_subdomain[LearnerND-ring_of_fire-learner_kwargs3] xfail [ 70%] adaptive/tests/test_learners.py::test_expected_loss_improvement_is_less_than_total_loss[Learner1D-quadratic-learner_kwargs0] PASSED [ 71%] adaptive/tests/test_learners.py::test_balancing_learner[LearnerND-sphere_of_fire-learner_kwargs4] PASSED [ 72%] adaptive/tests/test_learners.py::test_balancing_learner[Learner2D-ring_of_fire-learner_kwargs2] PASSED [ 73%] adaptive/tests/test_learners.py::test_learner_subdomain[Learner1D-linear_with_peak-learner_kwargs1] xfail [ 74%] adaptive/tests/test_learners.py::test_expected_loss_improvement_is_less_than_total_loss[Learner1D-linear_with_peak-learner_kwargs1] PASSED [ 74%] adaptive/tests/test_learners.py::test_adding_existing_data_is_idempotent[Learner2D-ring_of_fire-learner_kwargs2] PASSED [ 75%] adaptive/tests/test_learners.py::test_learner_subdomain[Learner1D-quadratic-learner_kwargs0] xfail [ 76%] adaptive/tests/test_learners.py::test_learner_performance_is_invariant_under_scaling[LearnerND-ring_of_fire-learner_kwargs3] xfail [ 77%] adaptive/tests/test_learners.py::test_balancing_learner[Learner1D-linear_with_peak-learner_kwargs1] PASSED [ 77%] adaptive/tests/test_learners.py::test_adding_existing_data_is_idempotent[LearnerND-ring_of_fire-learner_kwargs3] PASSED [ 78%] adaptive/tests/test_learners.py::test_expected_loss_improvement_is_less_than_total_loss[AverageLearner-gaussian-learner_kwargs5] PASSED [ 79%] adaptive/tests/test_learners.py::test_balancing_learner[Learner1D-quadratic-learner_kwargs0] PASSED [ 80%] adaptive/tests/test_learners.py::test_point_adding_order_is_irrelevant[Learner2D-ring_of_fire-learner_kwargs2] xfail [ 81%] adaptive/tests/test_learners.py::test_uniform_sampling2D[Learner2D-ring_of_fire-learner_kwargs0] XPASS [ 81%] adaptive/tests/test_learners.py::test_uniform_sampling2D[LearnerND-sphere_of_fire-learner_kwargs2] xfail [ 82%] adaptive/tests/test_learners.py::test_adding_existing_data_is_idempotent[Learner1D-linear_with_peak-learner_kwargs1] XPASS [ 83%] adaptive/tests/test_learners.py::test_adding_non_chosen_data[Learner1D-linear_with_peak-learner_kwargs1] PASSED [ 84%] adaptive/tests/test_learners.py::test_learner_performance_is_invariant_under_scaling[Learner1D-linear_with_peak-learner_kwargs1] PASSED [ 85%] adaptive/tests/test_learners.py::test_expected_loss_improvement_is_less_than_total_loss[Learner2D-ring_of_fire-learner_kwargs2] PASSED [ 85%] adaptive/tests/test_learners.py::test_learner_performance_is_invariant_under_scaling[Learner2D-ring_of_fire-learner_kwargs2] XPASS [ 86%] adaptive/tests/test_learners.py::test_adding_non_chosen_data[Learner1D-quadratic-learner_kwargs0] PASSED [ 87%] adaptive/tests/test_learners.py::test_learner_accepts_lists[Learner2D-bounds1] PASSED [ 88%] adaptive/tests/test_learners.py::test_point_adding_order_is_irrelevant[LearnerND-sphere_of_fire-learner_kwargs4] xfail [ 88%] adaptive/tests/test_learners.py::test_point_adding_order_is_irrelevant[LearnerND-ring_of_fire-learner_kwargs3] xfail [ 89%] adaptive/tests/test_learners.py::test_expected_loss_improvement_is_less_than_total_loss[LearnerND-ring_of_fire-learner_kwargs3] PASSED [ 90%] adaptive/tests/test_learners.py::test_uniform_sampling1D[Learner1D-linear_with_peak-learner_kwargs1] PASSED [ 91%] adaptive/tests/test_learners.py::test_adding_existing_data_is_idempotent[LearnerND-sphere_of_fire-learner_kwargs4] PASSED [ 92%] adaptive/tests/test_learners.py::test_adding_non_chosen_data[Learner2D-ring_of_fire-learner_kwargs2] XPASS [ 92%] adaptive/tests/test_learners.py::test_uniform_sampling2D[LearnerND-ring_of_fire-learner_kwargs1] xfail [ 93%] adaptive/tests/test_learners.py::test_adding_non_chosen_data[LearnerND-sphere_of_fire-learner_kwargs4] PASSED [ 94%] adaptive/tests/test_learners.py::test_expected_loss_improvement_is_less_than_total_loss[LearnerND-sphere_of_fire-learner_kwargs4] PASSED [ 95%] adaptive/tests/test_learners.py::test_adding_non_chosen_data[LearnerND-ring_of_fire-learner_kwargs3] PASSED [ 96%] adaptive/tests/test_learners.py::test_point_adding_order_is_irrelevant[Learner1D-quadratic-learner_kwargs0] xfail [ 96%] adaptive/tests/test_learners.py::test_learner_accepts_lists[LearnerND-bounds2] PASSED [ 97%] adaptive/tests/test_learners.py::test_balancing_learner[AverageLearner-gaussian-learner_kwargs5] PASSED [ 98%] adaptive/tests/test_learners.py::test_point_adding_order_is_irrelevant[AverageLearner-gaussian-learner_kwargs5] PASSED [ 99%] adaptive/tests/test_learners.py::test_point_adding_order_is_irrelevant[Learner1D-linear_with_peak-learner_kwargs1] xfail [100%] =================================== FAILURES =================================== ________ test_balancing_learner[LearnerND-ring_of_fire-learner_kwargs3] ________ learner_type = <class 'adaptive.learner.learnerND.LearnerND'> f = <function ring_of_fire at 0x7f82cdbce1e0> learner_kwargs = {'bounds': ((-1, 1), (-1, 1))} @run_with(Learner1D, Learner2D, LearnerND, AverageLearner) def test_balancing_learner(learner_type, f, learner_kwargs): """Test if the BalancingLearner works with the different types of learners.""" learners = [learner_type(generate_random_parametrization(f), **learner_kwargs) for i in range(4)] learner = BalancingLearner(learners) # Emulate parallel execution stash = [] for i in range(100): n = random.randint(1, 10) m = random.randint(0, n) > xs, _ = learner.ask(n, tell_pending=False) adaptive/tests/test_learners.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ adaptive/learner/balancing_learner.py:90: in ask return self._ask_and_tell(n) adaptive/learner/balancing_learner.py:74: in _ask_and_tell n=1, tell_pending=False) adaptive/learner/learnerND.py:321: in ask return self._ask_and_tell_pending(n) adaptive/learner/learnerND.py:314: in _ask_and_tell_pending xs, losses = zip(*(self._ask() for _ in range(n))) adaptive/learner/learnerND.py:314: in <genexpr> xs, losses = zip(*(self._ask() for _ in range(n))) adaptive/learner/learnerND.py:402: in _ask return self._ask_best_point() # O(log N) adaptive/learner/learnerND.py:383: in _ask_best_point self.tell_pending(point_new, simplex=simplex) # O(??) adaptive/learner/learnerND.py:289: in tell_pending self._update_subsimplex_losses(simpl, to_add) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <adaptive.learner.learnerND.LearnerND object at 0x7f82caea06d8> simplex = (0, 1, 2), new_subsimplices = {(0, 1, 3), (0, 2, 3)} def _update_subsimplex_losses(self, simplex, new_subsimplices): > loss = self._losses[simplex] E KeyError: (0, 1, 2) adaptive/learner/learnerND.py:304: KeyError ----------- coverage: platform linux, python 3.6.6-final-0 ----------- Name Stmts Miss Cover ------------------------------------------------------------ adaptive/__init__.py 13 0 100% adaptive/_static_version.py 3 3 0% adaptive/learner/__init__.py 11 0 100% adaptive/learner/average_learner.py 72 12 83% adaptive/learner/balancing_learner.py 88 35 60% adaptive/learner/base_learner.py 22 4 82% adaptive/learner/data_saver.py 21 12 43% adaptive/learner/integrator_coeffs.py 85 2 98% adaptive/learner/integrator_learner.py 295 22 93% adaptive/learner/learner1D.py 182 21 88% adaptive/learner/learner2D.py 204 36 82% adaptive/learner/learnerND.py 276 92 67% adaptive/learner/skopt_learner.py 49 25 49% adaptive/learner/triangulation.py 287 34 88% adaptive/notebook_integration.py 88 69 22% adaptive/runner.py 231 79 66% adaptive/tests/__init__.py 0 0 100% adaptive/tests/algorithm_4.py 341 94 72% adaptive/tests/test_average_learner.py 11 0 100% adaptive/tests/test_cquad.py 161 12 93% adaptive/tests/test_learner1d.py 120 0 100% adaptive/tests/test_learnernd.py 6 0 100% adaptive/tests/test_learners.py 202 1 99% adaptive/tests/test_runner.py 16 0 100% adaptive/tests/test_skopt_learner.py 16 2 88% adaptive/tests/test_triangulation.py 186 0 100% adaptive/utils.py 17 3 82% adaptive/version.py 99 39 61% ------------------------------------------------------------ TOTAL 3102 597 81% Coverage HTML written to dir htmlcov =============================== warnings summary =============================== adaptive/tests/test_cquad.py::test_tell_in_random_order_first_add_33 /builds/qt/adaptive/adaptive/tests/algorithm_4.py:403: RuntimeWarning: divide by zero encountered in double_scalars return x * np.sin(1/x) * np.sqrt(abs(1 - x)) /builds/qt/adaptive/adaptive/tests/algorithm_4.py:403: RuntimeWarning: invalid value encountered in sin return x * np.sin(1/x) * np.sqrt(abs(1 - x)) /builds/qt/adaptive/adaptive/tests/algorithm_4.py:403: RuntimeWarning: divide by zero encountered in true_divide return x * np.sin(1/x) * np.sqrt(abs(1 - x)) /builds/qt/adaptive/adaptive/tests/algorithm_4.py:417: RuntimeWarning: overflow encountered in cosh y += 1 / np.cosh(20**i * (x - 2 * i / 10)) adaptive/tests/test_cquad.py::test_that_gives_same_intervals_as_reference_implementation /builds/qt/adaptive/adaptive/tests/algorithm_4.py:403: RuntimeWarning: divide by zero encountered in true_divide return x * np.sin(1/x) * np.sqrt(abs(1 - x)) /builds/qt/adaptive/adaptive/tests/algorithm_4.py:403: RuntimeWarning: invalid value encountered in sin return x * np.sin(1/x) * np.sqrt(abs(1 - x)) /builds/qt/adaptive/adaptive/tests/algorithm_4.py:403: RuntimeWarning: divide by zero encountered in double_scalars return x * np.sin(1/x) * np.sqrt(abs(1 - x)) /builds/qt/adaptive/adaptive/tests/algorithm_4.py:407: RuntimeWarning: divide by zero encountered in power return x**-0.5 /builds/qt/adaptive/adaptive/tests/algorithm_4.py:407: RuntimeWarning: divide by zero encountered in double_scalars return x**-0.5 /builds/qt/adaptive/adaptive/tests/algorithm_4.py:417: RuntimeWarning: overflow encountered in cosh y += 1 / np.cosh(20**i * (x - 2 * i / 10)) adaptive/tests/test_cquad.py::test_tell_in_random_order /builds/qt/adaptive/adaptive/tests/algorithm_4.py:403: RuntimeWarning: divide by zero encountered in double_scalars return x * np.sin(1/x) * np.sqrt(abs(1 - x)) /builds/qt/adaptive/adaptive/tests/algorithm_4.py:403: RuntimeWarning: invalid value encountered in sin return x * np.sin(1/x) * np.sqrt(abs(1 - x)) /builds/qt/adaptive/adaptive/tests/algorithm_4.py:403: RuntimeWarning: divide by zero encountered in true_divide return x * np.sin(1/x) * np.sqrt(abs(1 - x)) /builds/qt/adaptive/adaptive/tests/algorithm_4.py:417: RuntimeWarning: overflow encountered in cosh y += 1 / np.cosh(20**i * (x - 2 * i / 10)) /builds/qt/adaptive/adaptive/tests/algorithm_4.py:407: RuntimeWarning: divide by zero encountered in double_scalars return x**-0.5 /builds/qt/adaptive/adaptive/tests/algorithm_4.py:407: RuntimeWarning: divide by zero encountered in power return x**-0.5 -- Docs: https://docs.pytest.org/en/latest/warnings.html === 1 failed, 97 passed, 21 xfailed, 8 xpassed, 16 warnings in 83.23 seconds === section_end:1537453329:build_script [0Ksection_start:1537453329:after_script [0Ksection_end:1537453331:after_script [0Ksection_start:1537453331:upload_artifacts_on_failure [0Ksection_end:1537453333:upload_artifacts_on_failure [0K[31;1mERROR: Job failed: exit code 1 [0;m