| #!/bin/bash -i |
| echo "hello" |
| export PYTHONUNBUFFERED=1 |
| cd ~ |
| export PATH=$PATH:onos/tools/test/bin |
| echo "Test date: " |
| date |
| |
| source .bash_killcmd |
| killTestONall |
| |
| # Reset csv files for posting |
| source /var/lib/jenkins/workspace/OnosProdCHOpost/log-summary-reset |
| |
| cd ~/OnosSystemTest/TestON/bin |
| |
| echo "*** copy Apache Karaf log config to onos directory for packaging." |
| cp /home/admin/Applications/apache-karaf-3.0.5/etc/org.ops4j.pax.logging.cfg /home/admin/onos/tools/package/etc/ |
| timeout 240 stc shutdown | head -100 |
| timeout 240 stc teardown | head -100 |
| #Start TestON test |
| ./cleanup.sh |
| ./cli.py run CHOTestMonkey |