Skip to main content

CIJOE: lightnvm package

Project description

cijoe-pkg-lightnvm: cijoe package for the lightnvm subsystem, PBLK, and ZBLK

PyPI Build Status

Install

The package is distributed via PyPi, run the following to command to install:

Install cijoe-pkg-lightnvm system-wide via the pip:

sudo pip install cijoe-pkg-lightnvm

Or install it user-level:

pip install --user cijoe-pkg-lightnvm

Create environment definition for CIJOE

Run CIJOE interactively and define the target environment:

# Start cijoe
cijoe

# Use refence definitions as a template for defining your environment
cat $CIJ_ENVS/refenv-u1604.sh > target_env.sh
tail -n +2 $CIJ_ENVS/refenv-pblk.sh >> target_env.sh

# Open up your favorite editor and modify accordingly
vim target_env.sh

Create virtual environment definition for CIJOE

Run CIJOE interactively and define the target environment:

# Start cijoe
cijoe

# Use refence definitions as a template for defining your environment
cat $CIJ_ENVS/refenv-u1604.sh > target_env.sh

# The following is the qemu variables to define
tail -n +2 $CIJ_ENVS/qemu.sh >> target_env.sh

# Lastly, the variables used by pblk testcases
tail -n +2 $CIJ_ENVS/refenv-pblk.sh >> target_env.sh

# Open up your favorite editor and modify accordingly
vim target_env.sh

Running tests

Start the test-runner and view the report:

# Create directory to store results
RESULTS=$(mktemp -d trun.XXXXXX -p /tmp)

# Run e.g. the pblk smoketest
cij_runner \
    $CIJ_TESTPLANS/pblk_000_smoketest.plan \
    target_env.sh \
    --output $RESULTS

# Create test report
cij_reporter $RESULTS

# Inspect the test-report
xdg-open $RESULTS/report.html

If you find bugs or need help then feel free to submit an Issue. If you want to get involved head over to the GitHub page to get the source code and submit a Pull request with your changes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cijoe-pkg-lightnvm-0.0.5.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file cijoe-pkg-lightnvm-0.0.5.tar.gz.

File metadata

  • Download URL: cijoe-pkg-lightnvm-0.0.5.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for cijoe-pkg-lightnvm-0.0.5.tar.gz
Algorithm Hash digest
SHA256 a51db68625751faf4b741b8a952a55230d8d4eed6b508e3d242b8f162c517f8e
MD5 39669dfb10b542ae232c5f76a51df198
BLAKE2b-256 4e9b79551fce49c829b4022c65658ec5c3bcf3cf883c783c50aaa96784a35d19

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page