Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

CI flaky test: onnx cpu: TypeError: attrib() got an unexpected keyword argument 'convert' #16394

@TaoLv

Description

@TaoLv

The failing case is observed on both master branch and mkldnn-v1.0 feature branch.

Master branch: http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Funix-cpu/detail/PR-16369/5/pipeline
mkldnn-v1.0 branch: http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Funix-cpu/detail/PR-16263/5/pipeline

+ python tests/python-pytest/onnx/backend_test.py

/work/mxnet/python/mxnet/numpy_op_signature.py:62: UserWarning: Some mxnet.numpy operator signatures may not be displayed consistently with their counterparts in the official NumPy package due to too-low Python version 2.7.12 (default, Aug 22 2019, 16:36:40) 

[GCC 5.4.0 20160609]. Python >= 3.5 is required to make the signatures display correctly.

  .format(str(version)))

Traceback (most recent call last):

  File "tests/python-pytest/onnx/backend_test.py", line 89, in <module>

    unittest.TextTestRunner().run(test_suite(BACKEND_TESTS.enable_report()))

  File "/usr/local/lib/python2.7/dist-packages/onnx/backend/test/runner/__init__.py", line 96, in enable_report

    import pytest  # type: ignore

  File "/usr/local/lib/python2.7/dist-packages/pytest.py", line 13, in <module>

    from _pytest.fixtures import fixture, yield_fixture

  File "/usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py", line 832, in <module>

    class FixtureFunctionMarker(object):

  File "/usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py", line 834, in FixtureFunctionMarker

    params = attr.ib(convert=attr.converters.optional(tuple))

TypeError: attrib() got an unexpected keyword argument 'convert'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions