Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Code Bug]: test_SolarFieldOutput.py fails with a ‘Killed’ message (arm64, M2 MacOS) #206

Open
1 task done
e10harvey opened this issue Jan 22, 2025 · 0 comments
Open
1 task done
Assignees
Labels
bug Something isn't working

Comments

@e10harvey
Copy link
Collaborator

Contact Details

eharvey@sandia.gov

What happened?

When running the entire opencsp testsuite on M2 macos, the test_SolarFieldOutput.py fails with a 'Killed' message. However, when running that test in isolation via pytest -k test_SolarFieldOutput, it passes.

Version

develop@783b11bd6bc39bef1a62174d28843d5065c30869

What OS are you seeing this on?

MacOS

Relevant dependency versions

Python 3.11.11
ffmpeg version 7.0.2-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 8 (Debian 8.3.0-6)
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzimg
libavutil      59.  8.100 / 59.  8.100
libavcodec     61.  3.100 / 61.  3.100
libavformat    61.  1.100 / 61.  1.100
libavdevice    61.  1.100 / 61.  1.100
libavfilter    10.  1.100 / 10.  1.100
libswscale      8.  1.100 /  8.  1.100
libswresample   5.  1.100 /  5.  1.100
libpostproc    58.  1.100 / 58.  1.100
Package               Version
--------------------- -----------
asttokens             3.0.0
certifi               2024.12.14
comm                  0.2.2
contourpy             1.3.1
coverage              7.6.10
cycler                0.12.1
debugpy               1.8.12
decorator             5.1.1
et_xmlfile            2.0.0
executing             2.1.0
fonttools             4.55.4
h5py                  3.12.1
imageio               2.37.0
iniconfig             2.0.0
ipykernel             6.29.5
ipython               8.31.0
jedi                  0.19.2
jupyter_client        8.6.3
jupyter_core          5.7.2
kiwisolver            1.4.8
lxml                  5.3.0
matplotlib            3.8.4
matplotlib-inline     0.1.7
mpmath                1.3.0
nest-asyncio          1.6.0
numpy                 1.26.4
opencv-contrib-python 4.10.0.82
openpyxl              3.1.5
packaging             24.2
pandas                2.2.3
parso                 0.8.4
pexpect               4.9.0
pillow                11.1.0
pip                   22.3.1
pip-licenses          5.0.0
pip-review            1.3.0
platformdirs          4.3.6
pluggy                1.5.0
prettytable           3.12.0
prompt_toolkit        3.0.50
psutil                6.1.1
ptyprocess            0.7.0
pure_eval             0.2.3
Pygments              2.19.1
pyparsing             3.2.1
pyproj                3.7.0
pypylon               2.3.0
pysolar               0.13
pytest                8.3.4
pytest-cov            6.0.0
pytest-xvfb           3.0.0
python-dateutil       2.9.0.post0
python-pptx           1.0.2
pytz                  2024.2
PyVirtualDisplay      3.0
pyzmq                 26.2.0
rawpy                 0.24.0
scipy                 1.14.1
setuptools            65.5.1
six                   1.17.0
stack-data            0.6.3
sympy                 1.13.3
tomli                 2.2.1
tornado               6.4.2
tqdm                  4.67.1
traitlets             5.14.3
typing_extensions     4.12.2
tzdata                2025.1
wcwidth               0.2.13
XlsxWriter            3.2.0

python script that produces the error

cd /path/to/opencsp
pytest -rs

Relevant console output

# pytest -rs
pytest-xvfb could not find Xvfb. You can install it to prevent windows from being shown.
============================================================================================================ test session starts ============================================================================================================
platform linux -- Python 3.11.11, pytest-8.3.4, pluggy-1.5.0
rootdir: /code
configfile: pyproject.toml
plugins: cov-6.0.0, xvfb-3.0.0
collected 496 items                                                                                                                                                                                                                         

contrib/scripts/test/test_FileCache.py F.                                                                                                                                                                                             [  0%]
contrib/scripts/test/test_FileFingerprint.py ....                                                                                                                                                                                     [  1%]
contrib/scripts/test/test_SensitiveStringMatcher.py ..........                                                                                                                                                                        [  3%]
contrib/scripts/test/test_sensitive_strings.py F.F....                                                                                                                                                                                [  4%]
opencsp/app/camera_calibration/test/test_camera_calibration.py F..F..F.F                                                                                                                                                              [  6%]
opencsp/app/scene_reconstruction/test/test_SceneReconstruction.py ..                                                                                                                                                                  [  6%]
opencsp/app/sofast/test/test_CalibrateDisplayShape.py .ss                                                                                                                                                                             [  7%]
opencsp/app/sofast/test/test_CalibrateSofastFixedDots.py ...                                                                                                                                                                          [  8%]
opencsp/app/sofast/test/test_DisplayShape.py ......                                                                                                                                                                                   [  9%]
opencsp/app/sofast/test/test_DotLocationsFixedPattern.py ..                                                                                                                                                                           [  9%]
opencsp/app/sofast/test/test_Fringes.py .                                                                                                                                                                                             [  9%]
opencsp/app/sofast/test/test_ImageCalibrationGlobal.py ....                                                                                                                                                                           [ 10%]
opencsp/app/sofast/test/test_ParamsOpticGeometry.py .                                                                                                                                                                                 [ 10%]
opencsp/app/sofast/test/test_ParamsSofastFringe.py .                                                                                                                                                                                  [ 11%]
opencsp/app/sofast/test/test_PatternSofastFixed.py .                                                                                                                                                                                  [ 11%]
opencsp/app/sofast/test/test_ProcessSofastFixed.py .......                                                                                                                                                                            [ 12%]
opencsp/app/sofast/test/test_SofastConfiguration.py ....                                                                                                                                                                              [ 13%]
opencsp/app/sofast/test/test_SpatialOrientation.py ......                                                                                                                                                                             [ 14%]
opencsp/app/sofast/test/test_SystemSofastFixed.py .                                                                                                                                                                                   [ 14%]
opencsp/app/sofast/test/test_SystemSofastFringe.py ........                                                                                                                                                                           [ 16%]
opencsp/app/sofast/test/test_image_processing.py ..........                                                                                                                                                                           [ 18%]
opencsp/app/sofast/test/test_integration_multi_facet.py ....                                                                                                                                                                          [ 19%]
opencsp/app/sofast/test/test_integration_single_facet.py ...                                                                                                                                                                          [ 19%]
opencsp/app/sofast/test/test_integration_undefined.py .                                                                                                                                                                               [ 20%]
opencsp/app/sofast/test/test_load_sofast_hdf_data.py ....                                                                                                                                                                             [ 20%]
opencsp/app/sofast/test/test_project_fixed_pattern_target.py .                                                                                                                                                                        [ 21%]
opencsp/app/sofast/test/test_sofast_common_functions.py ......                                                                                                                                                                        [ 22%]
opencsp/app/sofast/test/test_spatial_processing.py ......                                                                                                                                                                             [ 23%]
opencsp/app/target/target_color/test/test_ImageColor.py .....                                                                                                                                                                         [ 24%]
opencsp/common/lib/camera/test/test_Camera.py ......                                                                                                                                                                                  [ 25%]
opencsp/common/lib/camera/test/test_ImageAcquisitionAbstract.py .....                                                                                                                                                                 [ 26%]
opencsp/common/lib/csp/test/test_Intersection.py ..........                                                                                                                                                                           [ 28%]
opencsp/common/lib/csp/test/test_MirrorParametric.py ....                                                                                                                                                                             [ 29%]
opencsp/common/lib/csp/test/test_MirrorPoint.py ..                                                                                                                                                                                    [ 30%]
opencsp/common/lib/csp/test/test_StandardPlotOutput.py .                                                                                                                                                                              [ 30%]
opencsp/common/lib/csp/test/test_VisualizeOrthorectifiedImage.py ........                                                                                                                                                             [ 31%]
opencsp/common/lib/csp/test/test_csp_optics_orientations.py ........                                                                                                                                                                  [ 33%]
opencsp/common/lib/cv/spot_analysis/image_processor/test/test_AbstractSpotAnalysisImageProcessor.py ........                                                                                                                          [ 35%]
opencsp/common/lib/cv/test/test_CacheableImage.py .......                                                                                                                                                                             [ 36%]
opencsp/common/lib/cv/test/test_OpticalFlow.py ...............                                                                                                                                                                        [ 39%]
opencsp/common/lib/deflectometry/test/test_CalibrationCameraPosition.py ..                                                                                                                                                            [ 39%]
opencsp/common/lib/deflectometry/test/test_ImageProjection.py .....                                                                                                                                                                   [ 40%]
opencsp/common/lib/deflectometry/test/test_SlopeSolver.py ....                                                                                                                                                                        [ 41%]
opencsp/common/lib/deflectometry/test/test_Surface2D.py .......                                                                                                                                                                       [ 43%]
opencsp/common/lib/file/test/test_AttributesManager.py .....                                                                                                                                                                          [ 44%]
opencsp/common/lib/file/test/test_CsvInterface.py ......                                                                                                                                                                              [ 45%]
opencsp/common/lib/geometry/test/test_EdgeXY.py ......                                                                                                                                                                                [ 46%]
opencsp/common/lib/geometry/test/test_LineXY.py ...............                                                                                                                                                                       [ 49%]
opencsp/common/lib/geometry/test/test_LoopXY.py ...........                                                                                                                                                                           [ 51%]
opencsp/common/lib/geometry/test/test_Pxy.py ..                                                                                                                                                                                       [ 52%]
opencsp/common/lib/geometry/test/test_Pxyz.py ..                                                                                                                                                                                      [ 52%]
opencsp/common/lib/geometry/test/test_RegionXY.py ...                                                                                                                                                                                 [ 53%]
opencsp/common/lib/geometry/test/test_TransformXYZ.py ........                                                                                                                                                                        [ 54%]
opencsp/common/lib/geometry/test/test_Uxy.py ...                                                                                                                                                                                      [ 55%]
opencsp/common/lib/geometry/test/test_Uxyz.py ...                                                                                                                                                                                     [ 56%]
opencsp/common/lib/geometry/test/test_Vxy.py ........................                                                                                                                                                                 [ 60%]
opencsp/common/lib/geometry/test/test_Vxyz.py ......................                                                                                                                                                                  [ 65%]
opencsp/common/lib/geometry/test/test_angle.py ....                                                                                                                                                                                   [ 66%]
opencsp/common/lib/opencsp_path/test/test_opencsp_root_path.py ......s                                                                                                                                                                [ 67%]
opencsp/common/lib/photogrammetry/test/test_bundle_adjustment.py ..                                                                                                                                                                   [ 67%]
opencsp/common/lib/photogrammetry/test/test_photogrammetry.py ..........                                                                                                                                                              [ 69%]
opencsp/common/lib/process/test/test_MultiprocessNonDaemonic.py .....                                                                                                                                                                 [ 70%]
opencsp/common/lib/process/test/test_ParallelPartitioner.py ...........                                                                                                                                                               [ 73%]
opencsp/common/lib/process/test/test_parallel_file_tools.py .....                                                                                                                                                                     [ 74%]
opencsp/common/lib/process/test/test_subprocess_tools.py ........                                                                                                                                                                     [ 75%]
opencsp/common/lib/render/test/test_Color.py ...........                                                                                                                                                                              [ 78%]
opencsp/common/lib/render/test/test_ImageAttributeParser.py ....                                                                                                                                                                      [ 78%]
opencsp/common/lib/render/test/test_VideoHandler.py ........                                                                                                                                                                          [ 80%]
opencsp/common/lib/render/test/test_View3d.py ........                                                                                                                                                                                [ 82%]
opencsp/common/lib/render/test/test_figure_management.py .....                                                                                                                                                                        [ 83%]
opencsp/common/lib/test/test_FluxMaps.py ..                                                                                                                                                                                           [ 83%]
opencsp/common/lib/test/test_MirrorOutput.py .....                                                                                                                                                                                    [ 84%]
opencsp/common/lib/test/test_RayTraceOutput.py .....                                                                                                                                                                                  [ 85%]
opencsp/common/lib/test/test_SolarFieldOutput.py ...Killed

Contribution Guidelines

  • I agree to follow this project's contribution guidelines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants