Week 3

Homepage

Tasks Accomplished

This week I set up the Regression Engine Test Suite to run the tests cases. Using the Linux Virtual Machine I installed and set up last week. I ran the test suite in the Ubuntu Terminal.

  • Before running the test suite, you will need to install the HPCC Platform on the Linux Machine, Installing HPCC Platform , this link will help you download the HPCC Platform on your machine, then use WinSCP to transfer files from your machine to your Virtual Machine
  • Now that you have the HPCC Systems on your VM, use the command

git install hpcc

  • on your VM terminal to clone the HPCC Systems or transfer the HPCC files from your local machine to Virtual Machine via WinSCP. This will allow you to access the test cases.
  • Open you VM terminal and type the command

sudo dpkg -i <deb filename> && sudo apt-get install -f

  • this command installs the HPCC Systems on your VM
  • Following the pervious command, you will need the command below to start the HPCC System

sudo /etc/init.d/hpcc-init start

You can use sudo /etc/init.d/hpcc-init status to check if the system is running or not

  • Your terminal should look like the image above.
  • If these instructions are unclear, you can also click here to follow along
  • Finally, now you are ready to run your Regression Test Suite.
  • You will need to open your Ubuntu Terminal, type the command

cd HPCC-Platform/testing/regress

  • It will allow you access to all the test cases in the regress folder

./ecl-test query -t roxie <filename>*

  • The -t allows you to specify the specific cluster you want to run your test file whether it is roxie or thor
  • The star after the filenames allows you to run all the test cases with the filename…, so for example, if you have a file named action1, actiona, action5, replacing <filename>* with action* will run all the three test cases.
  • Once setup correctly, your VM should display the result like shown above.
  • That’s how you run the Regression Test Suite on your Linux Virtual Machine

Issues

At first, I ran into few issues. When I first ran, the test cases failed two tests. But later I learned that you need to start the HPCC Systems, you can also you the command below to start and run your HPCC Systems, but the command above works as well.

sudo systemctl start hpccsystems-platform.target

Blog at WordPress.com.

Design a site like this with WordPress.com
Get started