Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

status.report unit tests #284

Open
swiftgist opened this issue May 24, 2017 · 0 comments
Open

status.report unit tests #284

swiftgist opened this issue May 24, 2017 · 0 comments
Assignees

Comments

@swiftgist
Copy link
Contributor

The status report runner works fine, but the unit tests seem to randomly succeed/fail after successive runs.

Here is an example of the output from test_report_6_of_9 from four separate runs with no changes:

tests/unit/runners/test_status.py::TestStatusReport::test_report_6_of_9   salt: 2015.0.1
  os: SUSE Linux Enterprise Server 12 SP2
  ceph: ceph version 10.0.2-269-g9148e53 (9148e530e27266064881e628ccadecb4975b0904)

  mon1.ceph:
    os: SUSE Linux Enterprise Server 12 SP3
  data5.ceph:
    os: SUSE Linux Enterprise Server 12 SP3
    salt: 2016.11.4
    ceph: ceph version 12.0.2-269-g9148e53 (9148e530e27266064877e632ccadecb4979b0904)
  data3.ceph:
    os: SUSE Linux Enterprise Server 12 SP3
    salt: 2016.11.4
    ceph: ceph version 12.0.2-269-g9148e53 (9148e530e27266064877e632ccadecb4979b0904)
  data2.ceph:
    salt: 2016.11.4
    ceph: ceph version 12.0.2-269-g9148e53 (9148e530e27266064877e632ccadecb4979b0904)
FAILED


ests/unit/runners/test_status.py::TestStatusReport::test_report_6_of_9   salt: 2015.0.1
  ceph: ceph version 10.0.2-269-g9148e53 (9148e530e27266064881e628ccadecb4975b0904)
  os: SUSE Linux Enterprise Server 12 SP2

  admin.ceph:
    os: SUSE Linux Enterprise Server 12 SP3
    ceph: ceph version 12.0.2-269-g9148e53 (9148e530e27266064877e632ccadecb4979b0904)
    salt: 2016.11.4
  mon1.ceph:
    os: SUSE Linux Enterprise Server 12 SP3
    ceph: ceph version 12.0.2-269-g9148e53 (9148e530e27266064877e632ccadecb4979b0904)
    salt: 2016.11.4
  mon2.ceph:
    os: SUSE Linux Enterprise Server 12 SP3
    ceph: ceph version 12.0.2-269-g9148e53 (9148e530e27266064877e632ccadecb4979b0904)
    salt: 2016.11.4
PASSED

tests/unit/runners/test_status.py::TestStatusReport::test_report_6_of_9   salt: 2015.0.1
  os: SUSE Linux Enterprise Server 12 SP2
  ceph: ceph version 10.0.2-269-g9148e53 (9148e530e27266064881e628ccadecb4975b0904)

  mon3.ceph:
    os: SUSE Linux Enterprise Server 12 SP3
    salt: 2016.11.4
    ceph: ceph version 12.0.2-269-g9148e53 (9148e530e27266064877e632ccadecb4979b0904)
  data5.ceph:
    os: SUSE Linux Enterprise Server 12 SP3
    salt: 2016.11.4
    ceph: ceph version 12.0.2-269-g9148e53 (9148e530e27266064877e632ccadecb4979b0904)
  data4.ceph:
    os: SUSE Linux Enterprise Server 12 SP3
    salt: 2016.11.4
    ceph: ceph version 12.0.2-269-g9148e53 (9148e530e27266064877e632ccadecb4979b0904)
PASSED

tests/unit/runners/test_status.py::TestStatusReport::test_report_6_of_9   salt: 2015.0.1
  ceph: ceph version 10.0.2-269-g9148e53 (9148e530e27266064881e628ccadecb4975b0904)
  os: SUSE Linux Enterprise Server 12 SP2

  data3.ceph:
    os: SUSE Linux Enterprise Server 12 SP3
    ceph: ceph version 12.0.2-269-g9148e53 (9148e530e27266064877e632ccadecb4979b0904)
    salt: 2016.11.4
  admin.ceph:
    os: SUSE Linux Enterprise Server 12 SP3
    ceph: ceph version 12.0.2-269-g9148e53 (9148e530e27266064877e632ccadecb4979b0904)
    salt: 2016.11.4
  mon1.ceph:
    os: SUSE Linux Enterprise Server 12 SP3
  data2.ceph:
    salt: 2016.11.4
    ceph: ceph version 12.0.2-269-g9148e53 (9148e530e27266064877e632ccadecb4979b0904)
FAILED

I would spend time debugging this, but packaging for the milestone tomorrow is a higher priority. I am not concerned about the runner causing any issues and have set all the tests to skip for now.

swiftgist added a commit that referenced this issue May 24, 2017
@jschmid1 jschmid1 self-assigned this May 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants