/
Copy of How to run dtrace tests
Copy of How to run dtrace tests
Setup VM with:
CPU - 4
Memory - 8GB
Hard disk - 100GB
Have to use DEBUG build, where we have debug macro
Create user:
sudo useradd -m -d /var/ztest -g staff -s /bin/bash ztest
Add password for remote ssh:
sudo passwd ztest
Add user to sudo:
echo "ztest ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers.d/ztest
Install packages for zfs tests:
sudo apt update
sudo apt install system-dtrace-tests build-essential oracle-java8-jdk perl
Login by user ztest and run tests:
sudo /opt/SUNWdtrt/bin/dtest -d /var/tmp
Test run script
#!/bin/bash
LOG="/var/tmp/dtrace-test.`date "+%F-%T"`.txt"
uname -a > ${LOG}
sudo /opt/SUNWdtrt/bin/dtest -d /var/tmp 2>&1 | /usr/bin/tee -a ${LOG}
Wait for about 90 minutes.
Fault logs will be saved at:
/var/tmp/failure.*
, multiple selections available,
Related content
Copy of How to run os tests
Copy of How to run os tests
More like this
Copy of How to run libc tests
Copy of How to run libc tests
More like this
How to run UTIL & MDB tests on VM environment
How to run UTIL & MDB tests on VM environment
More like this
How to prepare a VM for tests
How to prepare a VM for tests
More like this
Copy of How to run net tests
Copy of How to run net tests
Read with this
How to run DTRACE tests on VM environment
How to run DTRACE tests on VM environment
More like this