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

Note

When doing user-level install, then include the pip binary install path in your PATH definition. For example PATH="$PATH:$HOME/.local/bin"

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


Release history Release notifications

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
cijoe-pkg-lightnvm-0.0.5.tar.gz (5.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page