Skip to content

mgr/dashboard: fix flaky inventory e2e test#43992

Merged
epuertat merged 1 commit intoceph:masterfrom
rhcs-dashboard:flaky-inventory-test-fix
Nov 22, 2021
Merged

mgr/dashboard: fix flaky inventory e2e test#43992
epuertat merged 1 commit intoceph:masterfrom
rhcs-dashboard:flaky-inventory-test-fix

Conversation

@nizamial09
Copy link
Member

@nizamial09 nizamial09 commented Nov 18, 2021

When inventory.getTableCount('total').should('be.eq', totalDiskCount);
this line is executed the table was not loaded properly and hence the
getTableCount returns 0 on the first try but on second try it passes
since the table is loaded. But in orch e2es the retries are set to 0. I
am not sure if it makes sense to set it to 1. Anyway I am adapting the
test a bit to expect the count to be equal to totalDiskCount so that the
test will wait a bit.

Fixes: https://tracker.ceph.com/issues/53353
Signed-off-by: Nizamudeen A nia@redhat.com

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
  • Teuthology
    • Completed teuthology run
    • No teuthology test necessary (e.g., documentation)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@pereman2
Copy link
Contributor

jenkins test make check

@pereman2
Copy link
Contributor

jenkins test dashboard cephadm

1 similar comment
@nizamial09
Copy link
Member Author

jenkins test dashboard cephadm

@nizamial09
Copy link
Member Author

jenkins test dashboard cephadm

1 similar comment
@nizamial09
Copy link
Member Author

jenkins test dashboard cephadm

@nizamial09
Copy link
Member Author

jenkins test dashboard cephadm

@epuertat
Copy link
Member

@nizamial09 a tracker is needed before merging this

When `inventory.getTableCount('total').should('be.eq', totalDiskCount);`
this line is executed the table was not loaded properly and hence the
getTableCount returns 0 on the first try but on second try it passes
since the table is loaded. But in orch e2es the retries are set to 0. I
am not sure if it makes sense to set it to 1. Anyway I am adapting the
test a bit to expect the count to be equal to totalDiskCount so that the
test will wait a bit.

Fixes: https://tracker.ceph.com/issues/53353
Signed-off-by: Nizamudeen A <nia@redhat.com>
@nizamial09 nizamial09 force-pushed the flaky-inventory-test-fix branch from 6cfc6c2 to cdce5f7 Compare November 22, 2021 05:43
@nizamial09
Copy link
Member Author

@nizamial09 a tracker is needed before merging this

@epuertat done!

@epuertat
Copy link
Member

jenkins test api

@epuertat
Copy link
Member

API test error unknown.

@epuertat
Copy link
Member

jenkins test dashboard

@epuertat epuertat merged commit 6017132 into ceph:master Nov 22, 2021
@epuertat epuertat deleted the flaky-inventory-test-fix branch November 22, 2021 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants