Project

General

Profile

Actions

Idea #3163

closed

[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 10 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Low
Assigned To:
-
Category:
Git hosting
Target version:
-
Start date:
Due date:
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.

Actions #1

Updated by Tom Clegg almost 10 years ago

  • Target version set to 2014-08-06 Sprint
Actions #2

Updated by Tom Clegg almost 10 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
Actions #3

Updated by Tom Clegg almost 10 years ago

  • Description updated (diff)
Actions #4

Updated by Tom Clegg almost 10 years ago

  • Description updated (diff)
Actions #5

Updated by Brett Smith almost 10 years ago

  • Assigned To set to Brett Smith
Actions #6

Updated by Tom Clegg almost 10 years ago

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

Updated by Brett Smith almost 10 years ago

  • Assigned To deleted (Brett Smith)
Actions #8

Updated by Peter Amstutz almost 3 years ago

  • Priority changed from Normal to Low
  • Status changed from New to Resolved
  • Category changed from Tests to Git hosting
Actions #9

Updated by Ward Vandewege almost 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions

Also available in: Atom PDF