Revert "Adding TCP Dump"
This reverts commit b04e188d083711b5983ad2859fc5851f25dd046d.
Reason for revert: ETSI IT discovered root cause and we no longer need this large data with every build.
Change-Id: If998fba52a951041f32694ec0393a82a691824fa
Signed-off-by: beierlm <mark.beierl@canonical.com>
(cherry picked from commit 7875aedf960fc966a4b15062b82713b7885cf0bd)
diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy
index 4fea591..c8bcd1e 100644
--- a/jenkins/ci-pipelines/ci_stage_3.groovy
+++ b/jenkins/ci-pipelines/ci_stage_3.groovy
@@ -153,8 +153,7 @@
sshCommand remote: remote, command: '''ls -al logs'''
sshGet remote: remote, from: 'logs', into: '.', override: true
sh 'cp logs/* .'
- sshGet remote: remote, from: 'ens3.pcap', into: 'ens3.pcap', override: true
- archiveArtifacts artifacts: '*.log, *.pcap'
+ archiveArtifacts artifacts: '*.log'
}
String get_value(String key, String output) {
@@ -450,7 +449,6 @@
]
// Force time sync to avoid clock drift and invalid certificates
- sshCommand remote: remote, command: 'nohup sudo tcpdump -i ens3 -w ens3.pcap -s 400 & sleep 5'
sshCommand remote: remote, command: 'sudo apt-get update'
sshCommand remote: remote, command: 'sudo apt-get install -y chrony'
sshCommand remote: remote, command: 'sudo service chrony stop'
@@ -546,10 +544,6 @@
prometheusPort = 9091
osmHostname = IP_ADDRESS
}
- sshCommand remote: remote, command: """
- sudo killall tcpdump
- """
-
} // stage("Install")
///////////////////////////////////////////////////////////////////////////////////////
// Health check of installed OSM in remote vm
@@ -572,7 +566,6 @@
if ( params.DO_ROBOT ) {
try {
stage('System Integration Test') {
-
if (useCharmedInstaller) {
tempdir = sh(returnStdout: true, script: 'mktemp -d').trim()
sh(script: "touch ${tempdir}/hosts")