Skip to content

Commit

Permalink
ci: run lscpu at end of build
Browse files Browse the repository at this point in the history
We have been running into cpu frequency issues in our ci, this change
will allow us to check whether the build was affected by the problem.

Signed-off-by: Maciej Kwiek <maciej@isovalent.com>
  • Loading branch information
nebril authored and joestringer committed Jun 2, 2020
1 parent 3da5bcf commit f00dc2a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions jenkinsfiles/Jenkinsfile.nightly
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ pipeline {
}
post {
always {
sh 'lscpu'
sh "cd ${TESTDIR}; K8S_VERSION=1.12 vagrant destroy -f || true"
sh "cd ${TESTDIR}; vagrant destroy -f || true"
sh 'cd ${TESTDIR}; ./post_build_agent.sh || true'
Expand Down
1 change: 1 addition & 0 deletions jenkinsfiles/ginkgo-kernel.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ pipeline {

post {
always {
sh 'lscpu'
cleanWs()
sh '/usr/local/bin/cleanup || true'
}
Expand Down
1 change: 1 addition & 0 deletions jenkinsfiles/ginkgo-kubernetes-all.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ pipeline {
}
post {
always {
sh 'lscpu'
archiveArtifacts artifacts: '*.zip'
junit testDataPublishers: [[$class: 'AttachmentPublisher']], testResults: 'src/github.com/cilium/cilium/test/*.xml'
cleanWs()
Expand Down
3 changes: 2 additions & 1 deletion jenkinsfiles/ginkgo-runtime-kernel.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pipeline {
}

environment {
CONTAINER_RUNTIME=setIfLabel("area/containerd", "containerd", "docker")
CONTAINER_RUNTIME=setIfLabel("area/containerd", "containerd", "docker")
GOPATH="${WORKSPACE}/${TESTED_SUITE}-gopath"
TESTDIR="${GOPATH}/${PROJ_PATH}/test"
KUBECONFIG="vagrant-kubeconfig"
Expand Down Expand Up @@ -157,6 +157,7 @@ pipeline {

post {
always {
sh 'lscpu'
cleanWs()
sh '/usr/local/bin/cleanup || true'
}
Expand Down
1 change: 1 addition & 0 deletions jenkinsfiles/ginkgo.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ pipeline {

post {
always {
sh 'lscpu'
cleanWs()
sh '/usr/local/bin/cleanup || true'
}
Expand Down
1 change: 1 addition & 0 deletions jenkinsfiles/kubernetes-upstream.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ pipeline {
}
post {
always {
sh 'lscpu'
sh 'cd ${TESTDIR}; K8S_VERSION=${K8S_VERSION} vagrant destroy -f || true'
cleanWs()
sh '/usr/local/bin/cleanup || true'
Expand Down

0 comments on commit f00dc2a

Please sign in to comment.