openmc-dev / openmc

OpenMC Monte Carlo Code
https://docs.openmc.org
Other
772 stars 498 forks source link

Python tests are broken #2450

Closed yurivict closed 1 year ago

yurivict commented 1 year ago
===>   py39-OpenMC-0.13.3 depends on file: /usr/local/bin/python3.9 - found
cd /usr/ports/science/py-OpenMC/work-py39/openmc-0.13.3 && /usr/bin/env XDG_DATA_HOME=/usr/ports/science/py-OpenMC/work-py39  XDG_CONFIG_HOME=/usr/ports/science/py-OpenMC/work-py39  XDG_CACHE_HOME=/usr/ports/science/py-OpenMC/work-py39/.cache  HOME=/usr/ports/science/py-OpenMC/work-py39 PATH=/usr/local/libexec/ccache:/usr/ports/science/py-OpenMC/work-py39/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/usr/ports/science/py-OpenMC/work-py39/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" CCACHE_DIR="/tmp/.ccache" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" PYTHONPATH=/usr/ports/science/py-OpenMC/work-py39/stage/usr/local/lib/python3.9/site-packages /usr/local/bin/python3.9 -m pytest -k '' -rs -v -o addopts= 
========================================================================================== test session starts ==========================================================================================
platform freebsd13 -- Python 3.9.16, pytest-7.2.1, pluggy-1.0.0 -- /usr/local/bin/python3.9
cachedir: .pytest_cache
Using --randomly-seed=2724110514
rootdir: /usr/ports/science/py-OpenMC/work-py39/openmc-0.13.3, configfile: pytest.ini
plugins: forked-1.4.0, cov-2.9.0, randomly-3.12.0, timeout-2.1.0, rerunfailures-10.1, flaky-3.7.0, xdist-2.5.0, env-0.6.2, mock-3.10.0, freezegun-0.4.2, typeguard-3.0.2
collected 782 items / 3 skipped                                                                                                                                                                         

tests/regression_tests/trace/test.py::test_trace FAILED                                                                                                                                           [  0%]
tests/regression_tests/tally_assumesep/test.py::test_tally_assumesep FAILED                                                                                                                       [  0%]
tests/regression_tests/triso/test.py::test_triso FAILED                                                                                                                                           [  0%]
tests/regression_tests/dagmc/refl/test.py::test_refl SKIPPED (DAGMC CAD geometry is not enabled.)                                                                                                 [  0%]
tests/unit_tests/weightwindows/test.py::test_lower_ww_bounds_shape PASSED                                                                                                                         [  0%]
tests/unit_tests/weightwindows/test.py::test_roundtrip PASSED                                                                                                                                     [  0%]
tests/unit_tests/weightwindows/test.py::test_weightwindows FAILED                                                                                                                                 [  0%]
tests/unit_tests/test_pin.py::test_pins_of_universes PASSED                                                                                                                                       [  1%]
tests/unit_tests/test_pin.py::test_subdivide[XCylinder] PASSED                                                                                                                                    [  1%]
tests/unit_tests/test_pin.py::test_subdivide[YCylinder] PASSED                                                                                                                                    [  1%]
tests/unit_tests/test_pin.py::test_subdivide[ZCylinder] PASSED                                                                                                                                    [  1%]
tests/unit_tests/test_pin.py::test_failure PASSED                                                                                                                                                 [  1%]
tests/regression_tests/diff_tally/test.py::test_diff_tally FAILED                                                                                                                                 [  1%]
tests/unit_tests/test_plots.py::test_xml_element PASSED                                                                                                                                           [  1%]
tests/unit_tests/test_plots.py::test_attributes PASSED                                                                                                                                            [  1%]
tests/unit_tests/test_plots.py::test_highlight_domains PASSED                                                                                                                                     [  2%]
tests/unit_tests/test_plots.py::test_from_geometry PASSED                                                                                                                                         [  2%]
tests/unit_tests/test_plots.py::test_plots PASSED                                                                                                                                                 [  2%]
tests/unit_tests/test_plots.py::test_repr PASSED                                                                                                                                                  [  2%]
tests/regression_tests/lattice_hex_x/test.py::test_lattice_hex_ox_surf FAILED                                                                                                                     [  2%]
tests/unit_tests/test_lattice.py::test_get_nuclides PASSED                                                                                                                                        [  2%]
tests/unit_tests/test_lattice.py::test_show_indices PASSED                                                                                                                                        [  2%]
tests/unit_tests/test_lattice.py::test_clone PASSED                                                                                                                                               [  2%]
tests/unit_tests/test_lattice.py::test_get_universe PASSED                                                                                                                                        [  3%]
tests/unit_tests/test_lattice.py::test_indices_hex PASSED                                                                                                                                         [  3%]
tests/unit_tests/test_lattice.py::test_repr PASSED                                                                                                                                                [  3%]
tests/unit_tests/test_lattice.py::test_get_all_materials PASSED                                                                                                                                   [  3%]
tests/unit_tests/test_lattice.py::test_get_all_universes PASSED                                                                                                                                   [  3%]
tests/unit_tests/test_lattice.py::test_unset_universes PASSED                                                                                                                                     [  3%]
tests/unit_tests/test_lattice.py::test_get_all_cells PASSED                                                                                                                                       [  3%]
tests/unit_tests/test_lattice.py::test_xml_rect PASSED                                                                                                                                            [  3%]
tests/unit_tests/test_lattice.py::test_xml_hex PASSED                                                                                                                                             [  4%]
tests/unit_tests/test_lattice.py::test_indices_rect PASSED                                                                                                                                        [  4%]
tests/unit_tests/test_lattice.py::test_find PASSED                                                                                                                                                [  4%]
tests/regression_tests/uniform_fs/test.py::test_uniform_fs FAILED                                                                                                                                 [  4%]
tests/unit_tests/test_config.py::test_config_set_envvar PASSED                                                                                                                                    [  4%]
tests/unit_tests/test_config.py::test_config_basics PASSED                                                                                                                                        [  4%]
tests/regression_tests/sourcepoint_batch/test.py::test_sourcepoint_batch FAILED                                                                                                                   [  4%]
tests/unit_tests/test_universe.py::test_get_all_materials PASSED                                                                                                                                  [  4%]
tests/unit_tests/test_universe.py::test_create_xml PASSED                                                                                                                                         [  5%]
tests/unit_tests/test_universe.py::test_basic PASSED                                                                                                                                              [  5%]
tests/unit_tests/test_universe.py::test_bounding_box PASSED                                                                                                                                       [  5%]
tests/unit_tests/test_universe.py::test_get_all_universes PASSED                                                                                                                                  [  5%]
tests/unit_tests/test_universe.py::test_cells PASSED                                                                                                                                              [  5%]
tests/unit_tests/test_universe.py::test_clone PASSED                                                                                                                                              [  5%]
tests/unit_tests/test_universe.py::test_get_nuclides PASSED                                                                                                                                       [  5%]
tests/unit_tests/test_universe.py::test_get_nuclide_densities PASSED                                                                                                                              [  6%]
tests/unit_tests/test_universe.py::test_plot FAILED                                                                                                                                               [  6%]
tests/regression_tests/filter_energyfun/test.py::test_filter_energyfun FAILED                                                                                                                     [  6%]
tests/unit_tests/test_filters.py::test_lethargy_bin_width PASSED                                                                                                                                  [  6%]
tests/unit_tests/test_filters.py::test_spherical_harmonics PASSED                                                                                                                                 [  6%]
tests/unit_tests/test_filters.py::test_cell_instance PASSED                                                                                                                                       [  6%]
tests/unit_tests/test_filters.py::test_legendre PASSED                                                                                                                                            [  6%]
tests/unit_tests/test_filters.py::test_zernike_radial PASSED                                                                                                                                      [  6%]
tests/unit_tests/test_filters.py::test_energy PASSED                                                                                                                                              [  7%]
tests/unit_tests/test_filters.py::test_collision PASSED                                                                                                                                           [  7%]
tests/unit_tests/test_filters.py::test_spatial_legendre PASSED                                                                                                                                    [  7%]
tests/unit_tests/test_filters.py::test_zernike PASSED                                                                                                                                             [  7%]
tests/unit_tests/test_filters.py::test_energyfunc PASSED                                                                                                                                          [  7%]
tests/unit_tests/test_filters.py::test_first_moment FAILED                                                                                                                                        [  7%]
tests/unit_tests/test_filters.py::test_tabular_from_energyfilter PASSED                                                                                                                           [  7%]
tests/unit_tests/test_source_mesh.py::test_roundtrip SKIPPED (Unstructured mesh is not enabled in this build.)                                                                                    [  7%]
tests/unit_tests/test_source_mesh.py::test_strengths_size_failure SKIPPED (Unstructured mesh support unavailable.)                                                                                [  8%]
tests/unit_tests/test_source_mesh.py::test_unstructured_mesh_sampling[moab-uniform] SKIPPED (DAGMC (and MOAB) mesh not enabled in this build.)                                                    [  8%]
tests/unit_tests/test_source_mesh.py::test_unstructured_mesh_sampling[libmesh-manual] SKIPPED (LibMesh is not enabled in this build.)                                                             [  8%]
tests/unit_tests/test_source_mesh.py::test_unstructured_mesh_sampling[moab-manual] SKIPPED (DAGMC (and MOAB) mesh not enabled in this build.)                                                     [  8%]
tests/unit_tests/test_source_mesh.py::test_unstructured_mesh_sampling[libmesh-uniform] SKIPPED (LibMesh is not enabled in this build.)                                                            [  8%]
tests/regression_tests/fixed_source/test.py::test_fixed_source FAILED                                                                                                                             [  8%]
tests/unit_tests/test_polynomials.py::test_zernike PASSED                                                                                                                                         [  8%]
tests/unit_tests/test_polynomials.py::test_zernike_radial PASSED                                                                                                                                  [  8%]
tests/regression_tests/iso_in_lab/test.py::test_iso_in_lab FAILED                                                                                                                                 [  9%]
tests/unit_tests/test_lib.py::test_global_bounding_box *** Error code 255\

Version: 0.13.3 Python-3.9 FreeBSD 13.1

yurivict commented 1 year ago

Duplicate of https://github.com/openmc-dev/openmc/issues/2186