Knowledge Base Administration Guide

Simscope Release History — v470 — 479

1.479

1. feature Improved database and HTTP port locking

Simscope now includes database and network port locking, to prevent two instances from running running simultaneously and corrupting each other.

2. feature Script option --apitoken=PATH

Simscope scripts now allow a command-line option of --apitoken=PATH, for secure API token passing from the command-line.

  • For example, bin/simscope-regr-search --apitoken=~/.simscope.apitoken --days=3

3. feature New Chart X-axis options

Added two new Chart X-axis choices:

  • X-axis by-project
  • X-axis by-user

4. feature Pie Chart: added subtitle

Pie charts (and other charts that do not have a time-based X-axis) now add a summary line to indicate the time range of the data in the chart.

  • For example: Last 3 days

Pie subtitle

5. feature Readonly DB mode

Simscope now can be started with a --readonly mode, to allow opening of the databases in read-only mode, for inspection/analysis. This mode also automatically turns off RabbitMQ.


1.478

1. bugfix Common pie chart color scheme

Pie charts now use the same color scheme as line/bar charts, so they have consistent series colors when used in dashboards.

2. feature Added extid index for faster Job lookups

When publishing job updates through the Simscope API, you can now use an extid option to update jobs based on external ID's.

  • Note: this requires your job schema must have unique extid values (ie no have duplicates between jobs). If you have multiple jobs with the same extid value, Simscope will match the most-recent-imported extid job.

This feature also applies to the Quick Search:

  • If you type a unique extid in the Quick Search, you will be redirected to the job details page.

3. bugfix Chart Triage Metric calculation fix

SIMSCOPE-92

Triage Chart Metrics now use this expression for calculating % Triaged:

Triaged   = (OPEN + FIXED + WONTFIX + IGNORE)
Total     = (NEW + ASSIGNED + OPEN + FIXED + WONTFIX + IGNORE)

% Triaged = (Triaged / Total)

1.477

1. feature Google Sites support

In previous versions, Simscope would not authenticate when embedded as an iframe within Google Sites, due to browser cookie issues.

This is now fixed by adding secure attributes to the cookies:

  • Secure
  • Partitioned

2. bugfix Improved OIDC authentication

OIDC authentication has been rewritten to support iframe and https cookies, and has improved performance, by only validating id-tokens during session authentication, rather than upon every request.

3. feature Improved RabbitMQ error indicators

If RabbitMQ is disconnected or does not receive messages within the watchdog time limit, these are easier to see within the web client.

Added the --filter-live option for simscope-regr-search, to allow filtering of live vs finished regressions when querying.


1.476

1. feature Improvements to simscope-test-summary

The simscope-test-summary script now can group across multiple fields, to generate multiple group summary tables.

2. feature Improved memory monitor (watchdog)

The memory monitor now tracks physical memory, so that if it runs low, the administrator can receive a notification email.

  • Otherwise the Simscope process may swap, which can substantially affect performance.

1.475

1. bugfix Fixed JIRA plugin to work with old versions of the jira package

The simscope-jira-create.py script now works with older versions of the jira package.

2. bugfix Coverage now implements saturation when merging large numbers

The Coverage DB now implements a saturation during merge.

  • If a coverpoint hit increments beyond a value (1<<31) (ie 2 billion), the value will now be clipped at (1<<31)-1 automatically.
  • If a coverage DB is published with values larger than this, it will be rejected.

1.474

feature Added Signature priority field

Signatures can now be prioritized, to allow ordering by priority (e.g. high vs. low priority).

Notes:

  • Priority is a global attribute, per signature.
  • Only Manager/Admin users can change priority.
  • Priority can be used to sort signatures, by highest priority to lowest.

Example simscope.config with 3 priority choices:

[sigs]

# Signature priorities
priorities = "Low:1"
priorities = "Medium:3"
priorities = "High:5"

Signature priorities


1.473

1. bugfix Triage Terminology

Changed the Triage Report terminology to show more coherent statistics:

  • Assigned: Signatures with an assignee.
  • Triaged: Signatures with an assignee and either:
    • in Resolved state (i.e. Fixed / Wontfix).
    • or has an Issue/Bug linked.

2. bugfix Triage Chart Metrics

SIMSCOPE-88

The Triage Chart Metrics are now Signature-based metrics, instead of Job-based metrics, to match the Triage Report:

  • % Signatures Assigned
  • % Signatures Triaged
  • % Signatures Resolved

3. feature Improved simscope-test-summary

The simscope-test-summary plugin script now has an external configuration file.


1.472

If a user enters a duplicate rule, Simscope now shows a hyperlink that the user can click on to view the rule, rather than just getting an error message.

2. bugfix simscope-test-search shortest-sigs bugfix

Fixed a bug where the simscope-test-search script would crash if using the --shortest-sigs option and there were no fail signatures found.

3. bugfix Fixed Rule edit/cancel behavior

Redirect back to the previous page.

4. bugfix Fixed Javascript timestamp flash

Fixed a display problem where the local timestamp button could flash upon page reload.


1.471

1. feature Improved Tag-based Chart Grouping

SIMSCOPE-89

If Job Tags are enabled, Simscope Charts now include 2 series group-by choices:

  • Per Tag: split into series by each individual tag.
  • Full Tag: split into series by each full tag (unsplit).

Previously, these were combined into one group-by choice, so charts would be confusing.

2. bugfix Fixed simscope-git-model-update timestamp bug

The simscope-git-model-update script had a bug where it was publishing author timestamps instead of commit timestamps, causing model_timestamp warnings.

3. bugfix Improved Simscope shutdown to run SMTP in parallel

Simscope now publishes shutdown email from a separate thread, in case SMTP email is slow.

This improves Simscope shutdown time, so the database can be closed earlier.

4. feature Improved Job Rule Inspector

The Job Rule inspector now shows visually which fields mismatch, to make debugging rules more intuitive.

Rule Inspector

5. bugfix Triage Report uses regression timestamps for date filtering

SIMSCOPE-90

The Triage Report now uses Regression timestamps instead of Job timestamps when filtering by date ranges, to make the report more consistent if you have multi-day regressions.


1.470

1. feature New simscope-test-summary script

New simscope-test-summary script, which will compute test summary, based on one or more regressions.

2. feature Regression REST API duration_ms field

Regressions now populate a duration_ms field, which indicates the wallclock duration of the regression.

3. bugfix Fixed ~ expansion for regrplugin

[regrplugin] commands now allow ~ expansion in the command-line.

  • For example ~/bin/cmd.py will expand to the current user's $HOME directory.