Skip to content

AssertionError: Test declared after harness completion happened #37618

@BruceDai

Description

@BruceDai

Reproduce steps of executing following commands on Linux platform with installed Python3.6

git clone https://github.com/web-platform-tests/wpt
cd wpt
./tools/ci/ci_resources_unittest.sh

Details as follows

=================================== FAILURES ===================================
___ https://web-platform.test:8443/resources/test/tests/unit/late-test.html ____
.tox/py36/lib/python3.6/site-packages/pluggy/_hooks.py:265: in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
.tox/py36/lib/python3.6/site-packages/pluggy/_manager.py:80: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
.tox/py36/lib/python3.6/site-packages/_pytest/runner.py:176: in pytest_runtest_call
    raise e
.tox/py36/lib/python3.6/site-packages/_pytest/runner.py:168: in pytest_runtest_call
    item.runtest()
conftest.py:206: in runtest
    self._run_unit_test()
conftest.py:229: in _run_unit_test
    assert test[u'status_string'] == u'PASS', msg
E   AssertionError: Test declared after harness completion
E     assert_equals: expected 1 but got 2
E   assert 'FAIL' == 'PASS'
E     - PASS
E     + FAIL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions