Story #3163

[Tests] Non-destructive test script suitable for running on a production VM/server in order to verify correct operation of basic features.

Added by Tom Clegg almost 5 years ago. Updated almost 5 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Tests
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
(Total: 4.00 h)
Story points:
2.0

Description

The script should be suitable for invoking automatically (e.g., crontab, post-deploy) on a shell VM.
  • Run in an unprivileged account.
  • API token, API host:port, and Workbench URL are provided via environment variables or command line args.
  • Avoid doing anything that could be destructive or disruptive in a live environment. For example, don't try to delete existing non-writable objects in order to confirm that the permission system is working.

This version of the script should test a small subset of functionality. (Future versions will support bigger/different subsets, e.g., submit a long-running pipeline and make sure it produces the expected result.)

Specific things to check:
  • Store a tiny collection in Keep using arv-put, read it back with arv-get, and verify data integrity.
  • Get a list of shared/available projects. Make sure it's not empty.
  • Load the front page of Workbench. Make sure it has a "log in" button.

The objective here is to stub a starting point, rather than to start testing a lot of things right away. We'll start running the initial version regularly in live environments, then add more tests later.


Subtasks

Task #3190: [Blocker] Clarify design/requirementsNewTom Clegg

History

#1 Updated by Tom Clegg almost 5 years ago

  • Target version set to 2014-08-06 Sprint

#2 Updated by Tom Clegg almost 5 years ago

  • Subject changed from Non-destructive test script suitable for running on a production VM/server in order to verify correct operation of basic features. to [Tests] Non-destructive test script suitable for running on a production VM/server in order to verify correct operation of basic features.
  • Category set to Tests

#3 Updated by Tom Clegg almost 5 years ago

  • Description updated (diff)

#4 Updated by Tom Clegg almost 5 years ago

  • Description updated (diff)

#5 Updated by Brett Smith almost 5 years ago

  • Assigned To set to Brett Smith

#6 Updated by Tom Clegg almost 5 years ago

  • Target version changed from 2014-08-06 Sprint to Arvados Future Sprints

#7 Updated by Brett Smith almost 5 years ago

  • Assigned To deleted (Brett Smith)

Also available in: Atom PDF