Bug#1029928: dials: autopkgtest failure on arm64/ppc64el

Adrian Bunk bunk at debian.org
Sun Jan 29 02:36:55 GMT 2023


Source: dials
Version: 3.12.1+dfsg3-4
Severity: serious

https://ci.debian.net/data/autopkgtest/testing/arm64/d/dials/30737888/log.gz
https://ci.debian.net/data/autopkgtest/testing/ppc64el/d/dials/30737889/log.gz

...
================================== FAILURES ===================================
___________________________ test_versus_brute_force ____________________________

    def test_versus_brute_force():
        """Perform a regression test by comparing to indices generated by the brute
        force method"""
    
        # cubic, 50A cell, 1A radiation, 1 deg osciillation, everything ideal
        a = 50.0
        ub_beg = matrix.sqr((1.0 / a, 0.0, 0.0, 0.0, 1.0 / a, 0.0, 0.0, 0.0, 1.0 / a))
        axis = matrix.col((0, 1, 0))
        r_osc = matrix.sqr(
            r3_rotation_axis_and_angle_as_matrix(axis=axis, angle=1.0, deg=True)
        )
        ub_end = r_osc * ub_beg
        uc = unit_cell((a, a, a, 90, 90, 90))
        sg = space_group(space_group_symbols("P23").hall())
        s0 = matrix.col((0, 0, 1))
        wavelength = 1.0
        dmin = 1.5
    
        # get the full set of indices
        indices = full_sphere_indices(unit_cell=uc, resolution_limit=dmin, space_group=sg)
    
        # find the observed indices
        ra = rotation_angles(dmin, ub_beg, wavelength, axis)
        obs_indices, obs_angles = ra.observed_indices_and_angles_from_angle_range(
            phi_start_rad=0.0 * math.pi / 180.0,
            phi_end_rad=1.0 * math.pi / 180.0,
            indices=indices,
        )
    
        # r = reeke_model(ub_beg, ub_end, axis, s0, dmin, 1.0)
        # reeke_indices = r.generate_indices()
    
        # now try the Reeke method to generate indices
        r = ReekeIndexGenerator(ub_beg, ub_end, sg.type(), axis, s0, dmin, margin=1)
        reeke_indices = r.to_array()
    
        for oi in obs_indices:
>           assert tuple(map(int, oi)) in reeke_indices
E           assert (-30, 0, -10) in <cctbx_array_family_flex_ext.miller_index object at 0xffff4ef45460>
E            +  where (-30, 0, -10) = tuple(<map object at 0xffff4ef67af0>)
E            +    where <map object at 0xffff4ef67af0> = map(int, (-30.0, 0.0, -10.0))

tests/algorithms/spot_prediction/test_reeke_index_generator.py:134: AssertionError
...
=========================== short test summary info ============================
FAILED tests/algorithms/spot_prediction/test_reeke_index_generator.py::test_versus_brute_force
= 1 failed, 820 passed, 531 skipped, 1 xfailed, 43 warnings in 1466.82s (0:24:26) =
autopkgtest [23:44:38]: test command1: -----------------------]
autopkgtest [23:44:38]: test command1:  - - - - - - - - - - results - - - - - - - - - -
command1             FAIL non-zero exit status 1



More information about the debian-science-maintainers mailing list