5 Star 0 Fork 6

src-openEuler / python-mpmath

 / 详情

python-mpmath build problem in openEuler:22.09:Epol

已完成
缺陷
创建于  
2022-09-05 15:14

评论 (3)

small_leek 创建了缺陷

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

small_leek 添加协作者small_leek
small_leek 负责人small_leek 修改为caodongxia

报错信息:
[ 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提供,与该包功能无关

small_leek 任务状态待办的 修改为已完成

补充说明:
也可以通过修改spec中测试执行方式来规避该类问题
修改前:
%check
cd build/lib/mpmath/tests/
xvfb-run -a pytest-3 -v

修改后:
%check
cd build/lib/mpmath/tests/
py.test

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/src-openeuler/python-mpmath.git
git@gitee.com:src-openeuler/python-mpmath.git
src-openeuler
python-mpmath
python-mpmath

搜索帮助