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

[Telemetry Collection] Telemetry table excluding start and end bound values #5095

Closed
3 of 5 tasks
nikhilmandlik opened this issue Apr 21, 2022 · 9 comments · Fixed by #5096
Closed
3 of 5 tasks

[Telemetry Collection] Telemetry table excluding start and end bound values #5095

nikhilmandlik opened this issue Apr 21, 2022 · 9 comments · Fixed by #5096
Labels
bug:regression It used to work. Now it doesn't :( severity:critical type:bug

Comments

@nikhilmandlik
Copy link
Contributor

nikhilmandlik commented Apr 21, 2022

Summary

Telemetry table excluding start and end bound data values.

Expected vs Current Behavior

Telemetry table should include values at start and/or end bound timestamp

Steps to Reproduce

  1. Create Telemetry Table
  2. Add telemetry point to it
  3. For reference for latest value create Lad table and add same telemetry point to it
  4. in Display layout add Telemetry Table (sort desc) and Lad table compare values in realtime (should match)
  5. now change to fixed time and observe/compare latest value in Lad Table vs Telemetry Table (refer to attached snapshot)

Environment

VIPER Version Information
Version: 2.0.2
Build Date: Thu Apr 07 2022 14:51:04 GMT-0700 (Pacific Daylight Time)
Revision: 06c9ce01e361e45d1814775eff9709a63f5d0977
Branch: release/2.0.2

Openmct Version Information
Version: 2.0.2
Build Date: Tue Apr 05 2022 16:53:46 GMT-0700 (Pacific Daylight Time)
Revision: 05b4a81
Branch: release/2.0.2

System:

  • OS: macOS 11.6.4
  • CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  • Memory: 57.27 MB / 16.00 GB
  • Shell: 5.8 - /bin/zsh

Binaries:

  • Node: 18.0.0 - ~/.nvm/versions/node/v18.0.0/bin/node
  • npm: 8.6.0 - ~/.nvm/versions/node/v18.0.0/bin/npm

Languages:

  • Bash: 3.2.57 - /bin/bash
  • Perl: 5.30.2 - /usr/bin/perl
  • PHP: 7.3.29 - /usr/bin/php
  • Python: 2.7.16 - /usr/bin/python
  • Python3: 3.9.8 - /Users/nmandlik/Desktop/NASA/brew/bin/python3
  • Ruby: 2.6.3 - /usr/bin/ruby

Browsers:

  • Brave Browser: 100.1.37.113
  • Chrome: 100.0.4896.127
  • Safari: 15.4

Impact Check List

  • Data loss or misrepresented data?
  • Regression? Did this used to work or has it always been broken?
  • Is there a workaround available?
  • Does this impact a critical component?
  • Is this just a visual bug with no functional impact?

Additional Information

issue at lines: 187/188 openmct/src/api/telemetry/TelemetryCollection.js

beforeStartOfBounds = parsedValue < this.lastBounds.start;

Screen Shot 2022-04-21 at 9 51 57 AM

@nikhilmandlik nikhilmandlik added severity:critical bug:regression It used to work. Now it doesn't :( labels Apr 21, 2022
@nikhilmandlik nikhilmandlik self-assigned this Apr 21, 2022
@nikhilmandlik nikhilmandlik changed the title [Telemetry Collection] Telemetry table ignoring start and/or end bound values [Telemetry Collection] Telemetry table excluding start and end bound values Apr 21, 2022
@davetsay
Copy link
Contributor

davetsay commented Apr 25, 2022

verified but filed new issue #5111

@akhenry akhenry reopened this Apr 25, 2022
@akhenry
Copy link
Contributor

akhenry commented Apr 25, 2022

NOT verified per @davetsay

@charlesh88
Copy link
Contributor

Verified fixed Testathon 4/28/22

@jvigliotta
Copy link
Contributor

Verified Fixed - Testathon: 4/28/2022

@nikhilmandlik
Copy link
Contributor Author

Verified Fixed.

@jvigliotta jvigliotta self-assigned this Apr 28, 2022
@davetsay
Copy link
Contributor

Not verified
Reproduction steps

  1. create a telemetry table
  2. drag and drop a telemetry endpoint into the table
  3. set time conductor to fixed time
  4. go to the latest timestamped row
  5. change the time conductor to match the timestamp of the last row exactly
  6. observe that the row is removed from the table
  • same behavior is observed with matching the start input of the time conductor with the timestamp of the first row

@jvigliotta
Copy link
Contributor

Testing

  • SAME as before... but, there is a YAMCS bug
  • if the end time === datum timestamp, it will not show up. this is a YAMCS bug, and will not prevent this fix from passing

@davetsay
Copy link
Contributor

davetsay commented May 2, 2022

verified (locally since yamcs has a bug)

@nikhilmandlik
Copy link
Contributor Author

Verified Fixed. (expect YAMCS issue)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:regression It used to work. Now it doesn't :( severity:critical type:bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants