Testing testombackground ... FAILED
Message: will run ./testombackground for no longer than 600 seconds.
Producing output ...
ombackground:- Executing (routine): ombackground plotfile=testombackgroundfile imageset=P0123920101OMS006IMAGE_1000.FIT backgroundset=background.fits boxwidth=40 histbins=40  -w 1 -V 4
ombackground:- ombackground (ombackground-0.7.5)  [21.0.1-79c786f42-20240514] started:  2024-05-14T10:27:35.000
Traceback (most recent call last):
  File "/sasbuild/build/sas/bin/om_background_plots.py", line 24, in <module>
    import pysas.pyutils.pyutils as pyutils
  File "/sasbuild/build/sas/lib/python/pysas/pyutils/__init__.py", line 1, in <module>
    from . import pyutils
  File "/sasbuild/build/sas/lib/python/pysas/pyutils/pyutils.py", line 28, in <module>
    from astropy.io import fits
  File "/sasbuild/tools/python/lib/python3.10/site-packages/astropy/io/fits/__init__.py", line 74, in <module>
    from . import card, column, convenience, hdu
  File "/sasbuild/tools/python/lib/python3.10/site-packages/astropy/io/fits/convenience.py", line 66, in <module>
    from .diff import FITSDiff, HDUDiff
  File "/sasbuild/tools/python/lib/python3.10/site-packages/astropy/io/fits/diff.py", line 29, in <module>
    from .hdu.hdulist import HDUList, fitsopen  # pylint: disable=W0611
  File "/sasbuild/tools/python/lib/python3.10/site-packages/astropy/io/fits/hdu/__init__.py", line 3, in <module>
    from .base import BITPIX2DTYPE, DELAYED, DTYPE2BITPIX, register_hdu, unregister_hdu
  File "/sasbuild/tools/python/lib/python3.10/site-packages/astropy/io/fits/hdu/base.py", line 15, in <module>
    from astropy.io.fits.file import _File
  File "/sasbuild/tools/python/lib/python3.10/site-packages/astropy/io/fits/file.py", line 45, in <module>
    import bz2
  File "/sasbuild/tools/python/lib/python3.10/bz2.py", line 17, in <module>
    from _bz2 import BZ2Compressor, BZ2Decompressor
ModuleNotFoundError: No module named '_bz2'
STOP 1
 ERROR while running om_background_plots.py
Error while running ./testombackground
Testing testombackground_plots ... FAILED
Message: will run ./testombackground_plots for no longer than 600 seconds.
ls: cannot access '*log*': No such file or directory
============================= test session starts ==============================
platform linux -- Python 3.10.6, pytest-8.2.0, pluggy-1.5.0 -- /sasbuild/tools/python-3.10.6/bin/python3
cachedir: .pytest_cache
rootdir: /sasbuild/build/sas/packages/ombackground/test
plugins: anyio-4.3.0
collecting ... collected 0 items / 1 error

==================================== ERRORS ====================================
____________________ ERROR collecting test_ombackground.py _____________________
ImportError while importing test module '/sasbuild/build/sas/packages/ombackground/test/test_ombackground.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/sasbuild/tools/python/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test_ombackground.py:27: in <module>
    import om_background_plots
../../../bin/om_background_plots.py:24: in <module>
    import pysas.pyutils.pyutils as pyutils
../../../lib/python/pysas/pyutils/__init__.py:1: in <module>
    from . import pyutils
../../../lib/python/pysas/pyutils/pyutils.py:28: in <module>
    from astropy.io import fits
/sasbuild/tools/python-3.10.6/lib/python3.10/site-packages/astropy/io/fits/__init__.py:74: in <module>
    from . import card, column, convenience, hdu
/sasbuild/tools/python-3.10.6/lib/python3.10/site-packages/astropy/io/fits/convenience.py:66: in <module>
    from .diff import FITSDiff, HDUDiff
/sasbuild/tools/python-3.10.6/lib/python3.10/site-packages/astropy/io/fits/diff.py:29: in <module>
    from .hdu.hdulist import HDUList, fitsopen  # pylint: disable=W0611
/sasbuild/tools/python-3.10.6/lib/python3.10/site-packages/astropy/io/fits/hdu/__init__.py:3: in <module>
    from .base import BITPIX2DTYPE, DELAYED, DTYPE2BITPIX, register_hdu, unregister_hdu
/sasbuild/tools/python-3.10.6/lib/python3.10/site-packages/astropy/io/fits/hdu/base.py:15: in <module>
    from astropy.io.fits.file import _File
/sasbuild/tools/python-3.10.6/lib/python3.10/site-packages/astropy/io/fits/file.py:45: in <module>
    import bz2
/sasbuild/tools/python/lib/python3.10/bz2.py:17: in <module>
    from _bz2 import BZ2Compressor, BZ2Decompressor
E   ModuleNotFoundError: No module named '_bz2'
=========================== short test summary info ============================
ERROR test_ombackground.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 1.03s ===============================
Error while running ./testombackground_plots
ERROR: one of the tests failed
