jobs:
- 'honeycomb-verify-{stream}-{os}'
- 'honeycomb-merge-{stream}-{os}'
- - 'honeycomb-integration-{stream}-{os}'
- - 'honeycomb-verify-image-{stream}-{os}'
+ - 'honeycomb-benchmark-master'
project: 'honeycomb'
os:
- - ubuntu1404:
- repo-os-part: 'ubuntu.trusty.main'
- skip-site: 'false'
- - centos7:
- repo-os-part: 'centos7'
+ - ubuntu1604:
+ repo-os-part: 'ubuntu.xenial.main'
skip-site: 'true'
stream:
- master:
- job-template:
name: 'honeycomb-verify-{stream}-{os}'
project-type: maven
- node: verify-{os}
+ node: '{os}-basebuild-4c-4g'
concurrent: true
+ jdk: openjdk8-{os}
logrotate:
daysToKeep: '{build-days-to-keep}'
scm:
- gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
+ credentials-id: 'jenkins-gerrit-credentials'
refspec: '$GERRIT_REFSPEC'
choosing-strategy: 'gerrit'
wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- fdio-infra-wrappers:
build-timeout: '{build-timeout}'
- shell: |
if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi
maven:
- maven-name: '{mvn33}'
- root-pom: 'pom.xml'
- goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dkaraf.keep.unpack=true site'
- maven-opts: '-Xmx2048m -Dmaven.compile.fork=true'
- settings: 'honeycomb-settings'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
-
- publishers:
- - email-notification:
- email-prefix: '[honeycomb]'
-
-- job-template:
- name: 'honeycomb-verify-image-{stream}-{os}'
- project-type: maven
- node: 'verify-image-{os}'
- concurrent: true
-
- logrotate:
- daysToKeep: '{build-days-to-keep}'
- numToKeep: '{build-num-to-keep}'
- artifactDaysToKeep: '{build-artifact-days-to-keep}'
- artifactNumToKeep: '{build-artifact-num-to-keep}'
-
- parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameter:
- branch: '{branch}'
- - os-parameter:
- os: '{os}'
-
- scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
-
- wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- - fdio-infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- - gerrit:
- server-name: 'Primary'
- trigger-on:
- - comment-added-contains-event:
- comment-contains-value: 'verify-images'
- projects:
- - project-compare-type: 'ANT'
- project-pattern: '{project}'
- branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**/{branch}'
- skip-vote:
- successful: true
- failed: true
- unstable: true
- notbuilt: true
-
- prebuilders:
- - shell: |
- if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi
- maven:
- maven-name: '{mvn33}'
+ maven-name: 'mvn33-new'
root-pom: 'pom.xml'
- goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dkaraf.keep.unpack=true'
+ goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge site'
maven-opts: '-Xmx2048m -Dmaven.compile.fork=true'
settings: 'honeycomb-settings'
settings-type: cfp
publishers:
- email-notification:
email-prefix: '[honeycomb]'
+ - fdio-infra-shiplogs:
+ maven-version: 'mvn33-new'
- job-template:
name: 'honeycomb-merge-{stream}-{os}'
project-type: maven
- node: merge-{os}
+ node: '{os}-basebuild-4c-4g'
jdk: openjdk8-{os}
logrotate:
- os-parameter:
os: '{os}'
- maven-project-parameter:
- maven: '{mvn33}'
+ maven: 'mvn33-new'
+ - maven-exec:
+ maven-version: 'mvn33-new'
- repo-name-parameter:
repo-name: '{repo-stream-part}.{repo-os-part}'
scm:
- gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
+ credentials-id: 'jenkins-gerrit-credentials'
refspec: ''
choosing-strategy: 'default'
wrappers:
- ssh-agent-credentials:
users:
- - '{ssh-credentials}'
+ - 'jenkins-gerrit-credentials'
- fdio-infra-wrappers:
build-timeout: '{build-timeout}'
branch: '{branch}'
maven:
- maven-name: '{mvn33}'
+ maven-name: 'mvn33-new'
root-pom: 'pom.xml'
- goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dkaraf.keep.unpack=true -Dsonar -Dmaven.site.skip={skip-site} site -Dmaven.site.deploy.skip={skip-site} site:deploy'
+ goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dsonar -Dmaven.site.skip={skip-site} site -Dmaven.site.deploy.skip={skip-site} site:deploy'
maven-opts: '-Xmx2048m -Dmaven.compile.fork=true'
settings: 'honeycomb-settings'
settings-type: cfp
global-settings: 'global-settings'
global-settings-type: cfp
+ postbuilders:
+ - maven-target:
+ maven-version: 'mvn33-new'
+ goals: '--version'
+ settings: 'honeycomb-settings'
+ settings-type: cfp
+ global-settings: 'global-settings'
+ global-settings-type: cfp
+ - provide-maven-settings:
+ settings-file: 'honeycomb-settings'
+ global-settings-file: 'global-settings'
+
reporters:
- findbugs
branch: '{stream}'
- email-notification:
email-prefix: '[honeycomb]'
+ - maven-deploy:
+ id: ''
+ unique-version: true
+ deploy-unstable: false
+ - fdio-infra-shiplogs:
+ maven-version: 'mvn33-new'
- job-template:
- name: 'honeycomb-integration-{stream}-{os}'
+ name: 'honeycomb-benchmark-master'
project-type: maven
- node: merge-{os}
+ node: ubuntu1604-basebuild-4c-4g
+ jdk: openjdk8-ubuntu1604
logrotate:
daysToKeep: '{build-days-to-keep}'
- project-parameter:
project: '{project}'
- os-parameter:
- os: '{os}'
+ os: 'ubuntu1604'
- maven-project-parameter:
- maven: '{mvn33}'
+ maven: 'mvn33-new'
+ - maven-exec:
+ maven-version: 'mvn33-new'
- repo-name-parameter:
- repo-name: '{repo-stream-part}.{repo-os-part}'
+ repo-name: 'master.ubuntu.xenial.main'
scm:
- git-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- branch: '{branch}'
+ credentials-id: 'jenkins-gerrit-credentials'
+ branch: 'master'
wrappers:
- ssh-agent-credentials:
users:
- - '{ssh-credentials}'
+ - 'jenkins-gerrit-credentials'
- fdio-infra-wrappers:
build-timeout: '{build-timeout}'
triggers:
- - reverse:
- jobs: 'vpp-merge-{stream}-{os},honeycomb-merge-{stream}-{os}'
- result: 'success'
-
- prebuilders:
- - shell: |
- if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi
+ - timed: '@daily'
maven:
- maven-name: '{mvn33}'
+ maven-name: 'mvn33-new'
root-pom: 'pom.xml'
- goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dkaraf.keep.unpack=true'
+ goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Pbenchmark'
maven-opts: '-Xmx2048m -Dmaven.compile.fork=true'
settings: 'honeycomb-settings'
settings-type: cfp
global-settings: 'global-settings'
global-settings-type: cfp
- postbuilders:
- - maven-target:
- maven-version: '{mvn33}'
- goals: '--version'
- settings: 'honeycomb-settings'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- - provide-maven-settings:
- settings-file: 'honeycomb-settings'
- global-settings-file: 'global-settings'
- - shell:
- !include-raw-escape:
- - ../scripts/maven_push_functions.sh
- - include-raw-honeycomb-pkg-push.sh
- reporters:
- - findbugs
-
publishers:
- - email-notification:
- email-prefix: '[honeycomb]'
- - maven-deploy:
- id: ''
- unique-version: true
- deploy-unstable: false
+ - plot:
+ - title: 'Infrastructure CFG write benchmark (simple-container)'
+ yaxis: 'ops/second'
+ csv-file-name: 'simple-container.csv'
+ group: 'infra-bench'
+ keep-records: true
+ numbuilds: '20'
+ style: 'line'
+ use-description: false
+ series:
+ - file: 'infra/it/benchmark/target/simple-container.csv'
+ display-table: true
+ format: 'csv'
+ inclusion-flag: 'include-by-string'
+ exclude: 'persistence=true freq=1,persistence=true freq=10,persistence=false freq=1,persistence=false freq=10'
+ - plot:
+ - title: 'Infrastructure CFG write benchmark (list-in-container)'
+ yaxis: 'ops/second'
+ csv-file-name: 'list-in-container.csv'
+ group: 'infra-bench'
+ keep-records: true
+ numbuilds: '20'
+ style: 'line'
+ use-description: false
+ series:
+ - file: 'infra/it/benchmark/target/list-in-container.csv'
+ display-table: true
+ format: 'csv'
+ inclusion-flag: 'include-by-string'
+ exclude: 'persistence=true freq=1,persistence=true freq=10,persistence=false freq=1,persistence=false freq=10'
+ - plot:
+ - title: 'Infrastructure CFG write benchmark (complex-list-in-container)'
+ yaxis: 'ops/second'
+ csv-file-name: 'complex-list-in-container.csv'
+ group: 'infra-bench'
+ keep-records: true
+ numbuilds: '20'
+ style: 'line'
+ use-description: false
+ series:
+ - file: 'infra/it/benchmark/target/complex-list-in-container.csv'
+ display-table: true
+ format: 'csv'
+ inclusion-flag: 'include-by-string'
+ exclude: 'persistence=true freq=1,persistence=true freq=10,persistence=false freq=1,persistence=false freq=10'
+ - plot:
+ - title: 'Infrastructure CFG read benchmark'
+ yaxis: 'ops/second'
+ csv-file-name: 'operational-read.csv'
+ group: 'infra-bench'
+ keep-records: true
+ numbuilds: '20'
+ style: 'line'
+ use-description: false
+ series:
+ - file: 'infra/it/benchmark/target/operational-read.csv'
+ display-table: true
+ format: 'csv'
+ inclusion-flag: 'include-by-string'
+ exclude: 'simple-container,list-in-container,complex-list-in-container'
+ - fdio-infra-shiplogs:
+ maven-version: 'mvn33-new'