Skip to content

Functional test for indexing, test_index_all, fails with missing unpack status #3209

@portante

Description

@portante

You can see in this slightly modified functional test output that all tar balls get indexed, but the test never completes because the unpack status is not present.

It is possible that the backup operation is colliding with the unpack operation and the backup status is overwriting the unpack status.

test_put.py::TestPut::test_index_all  ... reporting behaviors ...
[0.00] Checking ...
        ... on /srv/pbench/archive/fs-version-001/dhcp31-44.perf.lab.eng.bos.redhat.com/fio_rw_2018.02.01T22.40.57.tar.xz
                state='Uploaded' status={'upload': 'ok'}
        ... on /srv/pbench/archive/fs-version-001/ctlrA/linpack_mock_2020.02.28T19.10.55.tar.xz
                state='Uploaded' status={'upload': 'ok'}
        ... on /srv/pbench/archive/fs-version-001/ansible-host/pbench-user-benchmark_example-vmstat_2018.10.24T14.38.18.tar.xz
                state='Uploaded' status={'upload': 'ok'}
        ... on /srv/pbench/archive/fs-version-001/perf122.perf.lab.eng.bos.redhat.com/trafficgen_basic-forwarding-example_tg:trex-profile_pf:forwarding_test.json_ml:5_tt:bs__2019-08-27T14:58:38.tar.xz
                state='Uploaded' status={'upload': 'ok'}
        ... on /srv/pbench/archive/fs-version-001/rhel8-1/uperf_rhel8.1_4.18.0-107.el8_snap4_25gb_virt_2019.06.21T01.28.57.tar.xz
                state='Uploaded' status={'upload': 'ok'}
[89.03] Checking ...
        ... on /srv/pbench/archive/fs-version-001/dhcp31-44.perf.lab.eng.bos.redhat.com/fio_rw_2018.02.01T22.40.57.tar.xz
                state='Uploaded' status={'backup': 'ok', 'unpack': 'ok', 'upload': 'ok'}
        ... on /srv/pbench/archive/fs-version-001/ctlrA/linpack_mock_2020.02.28T19.10.55.tar.xz
                state='Uploaded' status={'backup': 'ok', 'unpack': 'ok', 'upload': 'ok'}
        ... on /srv/pbench/archive/fs-version-001/ansible-host/pbench-user-benchmark_example-vmstat_2018.10.24T14.38.18.tar.xz
                state='Uploaded' status={'backup': 'ok', 'upload': 'ok'}
        ... on /srv/pbench/archive/fs-version-001/perf122.perf.lab.eng.bos.redhat.com/trafficgen_basic-forwarding-example_tg:trex-profile_pf:forwarding_test.json_ml:5_tt:bs__2019-08-27T14:58:38.tar.xz
                state='Uploaded' status={'backup': 'ok', 'unpack': 'ok', 'upload': 'ok'}
        ... on /srv/pbench/archive/fs-version-001/rhel8-1/uperf_rhel8.1_4.18.0-107.el8_snap4_25gb_virt_2019.06.21T01.28.57.tar.xz
                state='Uploaded' status={'backup': 'ok', 'unpack': 'ok', 'upload': 'ok'}
[149.05] Checking ...
        ... on /srv/pbench/archive/fs-version-001/dhcp31-44.perf.lab.eng.bos.redhat.com/fio_rw_2018.02.01T22.40.57.tar.xz
        ... on /srv/pbench/archive/fs-version-001/ctlrA/linpack_mock_2020.02.28T19.10.55.tar.xz
        ... on /srv/pbench/archive/fs-version-001/ansible-host/pbench-user-benchmark_example-vmstat_2018.10.24T14.38.18.tar.xz
                state='Indexed' status={'backup': 'ok', 'index': 'ok', 'upload': 'ok'}
        ... on /srv/pbench/archive/fs-version-001/perf122.perf.lab.eng.bos.redhat.com/trafficgen_basic-forwarding-example_tg:trex-profile_pf:forwarding_test.json_ml:5_tt:bs__2019-08-27T14:58:38.tar.xz
        ... on /srv/pbench/archive/fs-version-001/rhel8-1/uperf_rhel8.1_4.18.0-107.el8_snap4_25gb_virt_2019.06.21T01.28.57.tar.xz
    Indexed /srv/pbench/archive/fs-version-001/dhcp31-44.perf.lab.eng.bos.redhat.com/fio_rw_2018.02.01T22.40.57.tar.xz
    Indexed /srv/pbench/archive/fs-version-001/ctlrA/linpack_mock_2020.02.28T19.10.55.tar.xz
    Indexed /srv/pbench/archive/fs-version-001/perf122.perf.lab.eng.bos.redhat.com/trafficgen_basic-forwarding-example_tg:trex-profile_pf:forwarding_test.json_ml:5_tt:bs__2019-08-27T14:58:38.tar.xz
    Indexed /srv/pbench/archive/fs-version-001/rhel8-1/uperf_rhel8.1_4.18.0-107.el8_snap4_25gb_virt_2019.06.21T01.28.57.tar.xz
[209.05] Checking ...
        ... on /srv/pbench/archive/fs-version-001/ansible-host/pbench-user-benchmark_example-vmstat_2018.10.24T14.38.18.tar.xz
                state='Indexed' status={'backup': 'ok', 'index': 'ok', 'upload': 'ok'}
[269.04] Checking ...
        ... on /srv/pbench/archive/fs-version-001/ansible-host/pbench-user-benchmark_example-vmstat_2018.10.24T14.38.18.tar.xz
                state='Indexed' status={'backup': 'ok', 'index': 'ok', 'upload': 'ok'}
[329.06] Checking ...
        ... on /srv/pbench/archive/fs-version-001/ansible-host/pbench-user-benchmark_example-vmstat_2018.10.24T14.38.18.tar.xz
                state='Indexed' status={'backup': 'ok', 'index': 'ok', 'upload': 'ok'}
FAILED

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions