Hi small_leek, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-python-modules, and any of the maintainers: @yangzhao_kl , @myeuler , @木得感情的openEuler机器人 , @caodongxia , @xu_ping
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
报错信息:
[ 609s] test_matrices.py::test_interval_matrix_matrix_mult XFAIL [ 85%]
[ 609s] test_matrices.py::test_matrix_conversion_to_iv PASSED [ 85%]
[ 609s] test_matrices.py::test_interval_matrix_mult_bug PASSED [ 85%]
[ 609s] test_mpmath.py::test_newstyle_classes PASSED [ 86%]
[ 609s] test_ode.py::test_odefun_rational PASSED [ 86%]
[ 609s] test_ode.py::test_odefun_sinc_large PASSED [ 86%]
[ 609s] test_ode.py::test_odefun_harmonic PASSED [ 87%]
[ 609s] test_pickle.py::test_pickle PASSED [ 87%]
[ 609s] test_power.py::test_fractional_pow PASSED [ 87%]
[ 609s] test_power.py::test_pow_integer_direction PASSED [ 87%]
[ 609s] test_power.py::test_pow_epsilon_rounding PASSED [ 88%]
[ 610s] test_quad.py::test_basic_integrals PASSED [ 88%]
[ 610s] test_quad.py::test_multiple_intervals PASSED [ 88%]
[ 610s] test_quad.py::test_quad_symmetry PASSED [ 89%]
[ 611s] test_quad.py::test_quad_infinite_mirror PASSED [ 89%]
[ 611s] test_quad.py::test_quadgl_linear PASSED [ 89%]
[ 611s] test_quad.py::test_complex_integration PASSED [ 89%]
[ 611s] test_quad.py::test_quadosc PASSED [ 90%]
[ 611s] test_quad.py::test_double_trivial PASSED [ 90%]
[ 611s] test_quad.py::test_double_1 PASSED [ 90%]
[ 612s] test_quad.py::test_double_2 PASSED [ 91%]
[ 612s] test_quad.py::test_double_3 PASSED [ 91%]
[ 612s] test_quad.py::test_double_4 PASSED [ 91%]
[ 613s] test_quad.py::test_double_5 PASSED [ 92%]
[ 614s] test_quad.py::test_double_6 PASSED [ 92%]
[ 618s] test_quad.py::test_double_7 PASSED [ 92%]
[ 619s] test_quad.py::test_expmath_integrals PASSED [ 92%]
[ 619s] test_quad.py::test_expmath_fail XFAIL [ 93%]
[ 619s] test_rootfinding.py::test_findroot PASSED [ 93%]
[ 619s] test_rootfinding.py::test_bisection PASSED [ 93%]
[ 619s] test_rootfinding.py::test_mnewton PASSED [ 94%]
[ 619s] test_rootfinding.py::test_anewton PASSED [ 94%]
[ 619s] test_rootfinding.py::test_muller PASSED [ 94%]
[ 619s] test_rootfinding.py::test_multiplicity PASSED [ 94%]
[ 619s] test_rootfinding.py::test_multidimensional PASSED [ 95%]
[ 619s] test_rootfinding.py::test_trivial PASSED [ 95%]
[ 619s] test_special.py::test_special PASSED [ 95%]
[ 619s] test_special.py::test_special_powers PASSED [ 96%]
[ 619s] test_special.py::test_functions_special PASSED [ 96%]
[ 619s] test_special.py::test_convert_special PASSED [ 96%]
[ 619s] test_special.py::test_div_bug PASSED [ 97%]
[ 619s] test_str.py::test_nstr PASSED [ 97%]
[ 619s] test_summation.py::test_sumem PASSED [ 97%]
[ 619s] test_summation.py::test_nsum PASSED [ 97%]
[ 619s] test_summation.py::test_nprod PASSED [ 98%]
[ 619s] test_summation.py::test_fsum PASSED [ 98%]
[ 619s] test_summation.py::test_fprod PASSED [ 98%]
[ 619s] test_trig.py::test_trig_misc_hard PASSED [ 99%]
[ 619s] test_trig.py::test_trig_near_zero PASSED [ 99%]
[ 619s] test_trig.py::test_trig_near_n_pi PASSED [ 99%]
[ 619s] test_visualization.py::test_axes PASSED [100%]
[ 619s]
[ 619s] ================== 337 passed, 2 xfailed in 135.00s (0:02:15) ==================
[ 619s] /usr/bin/xvfb-run: line 186: kill: (2874264) - No such process
[ 619s] error: Bad exit status from /var/tmp/rpm-tmp.JVhvHU (%check)
[ 619s]
根据报错信息显示:该问题并不是2个 xfailed用例导致的失败,编译成功的日志中也存在这两个xfailed,xfailed属于用例的预期结果,不影响后续的执行也不会报告执行结果,编译成功的日志见:(https://build.openeuler.org/package/live_build_log/home:liyanan:branches:openEuler:22.09:Epol/python-mpmath/standard_aarch64/aarch64)。
该问题是由于执行/usr/bin/xvfb-run脚本的186行时 kill xvfb-run进程的时候,由于环境未做清理导致启动服务重复,kill到了不存在的进程,导致编译退出,该脚本不属于python-mpmath提供,与该包功能无关
补充说明:
也可以通过修改spec中测试执行方式来规避该类问题
修改前:
%check
cd build/lib/mpmath/tests/
xvfb-run -a pytest-3 -v
修改后:
%check
cd build/lib/mpmath/tests/
py.test
登录 后才可以发表评论