aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2019-04-19 15:27:31 +0530
committerRiku Voipio <riku.voipio@linaro.org>2019-05-03 09:18:42 +0300
commit217a75135db924a492152d117e2c90b1800969c5 (patch)
treed2b1d6bf21f910a143f0fbd51d4a1dbb4b49ab46
parente7296994681e5ed2da84e521239a2a46df795228 (diff)
downloadconfigs-217a75135db924a492152d117e2c90b1800969c5.tar.gz
Cleanup: remove all deleted jobs
Change-Id: I59a2856f5d246141f169efb6f4ba2a19a3a9a6d7 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--96boards-dragonboard820c-aosp-master.yaml75
-rw-r--r--96boards-hikey-4.1.yaml258
-rw-r--r--96boards-hikey-4.4-android.yaml133
-rw-r--r--96boards-hikey-android.yaml119
-rw-r--r--96boards-hikey-uefi.yaml114
-rw-r--r--96boards-hikey.yaml324
-rw-r--r--96boards-poplar-android-o.yaml94
-rw-r--r--android-chromium-clang-armv7.yaml93
-rw-r--r--android-chromium-clang-armv8.yaml93
-rw-r--r--android-chromium-gcc-armv7.yaml93
-rw-r--r--android-chromium-gcc-armv8.yaml93
-rw-r--r--jdk10-build-and-test.yaml127
-rw-r--r--jdk10-build-image.yaml137
-rw-r--r--jdk10-build-release.yaml153
-rw-r--r--jdk10-email-results.yaml36
-rw-r--r--jdk10-generate-email-report.yaml74
-rw-r--r--jdk10-jcstress-test-persist-results.yaml97
-rw-r--r--jdk10-jcstress-test-publish-results.yaml54
-rw-r--r--jdk10-jcstress-test.yaml112
-rw-r--r--jdk10-jtreg-test-persist-results.yaml120
-rw-r--r--jdk10-jtreg-test-publish-results.yaml71
-rw-r--r--jdk10-jtreg-test.yaml228
-rw-r--r--jdk10-persist-all-results.yaml51
-rw-r--r--jdk10-publish-all-results.yaml56
-rw-r--r--jdk10-publish-and-report.yaml63
-rw-r--r--jdk10-specjbb2015-benchmark-persist-results.yaml87
-rw-r--r--jdk10-specjbb2015-benchmark-publish-results.yaml59
-rw-r--r--jdk10-specjbb2015-benchmark.yaml127
-rw-r--r--jdk10-terasort-benchmark-persist-results.yaml85
-rw-r--r--jdk10-terasort-benchmark-publish-results.yaml67
-rw-r--r--jdk10-terasort-benchmark.yaml140
-rw-r--r--jdk10-update-src-tree-persist.yaml56
-rw-r--r--jdk10-update-src-tree.yaml94
-rw-r--r--jdk8-specjbb2013-benchmark-persist-results.yaml83
-rw-r--r--jdk8-specjbb2013-benchmark.yaml118
-rw-r--r--jdk9-archive-test-scripts.yaml34
-rw-r--r--jdk9-build-and-test.yaml127
-rw-r--r--jdk9-build-image.yaml136
-rw-r--r--jdk9-build-release.yaml153
-rw-r--r--jdk9-email-results.yaml36
-rw-r--r--jdk9-generate-email-report.yaml74
-rw-r--r--jdk9-jcstress-test-persist-results.yaml97
-rw-r--r--jdk9-jcstress-test-publish-results.yaml54
-rw-r--r--jdk9-jcstress-test.yaml112
-rw-r--r--jdk9-jtreg-test-persist-results.yaml120
-rw-r--r--jdk9-jtreg-test-publish-results.yaml71
-rw-r--r--jdk9-jtreg-test.yaml232
-rw-r--r--jdk9-persist-all-results.yaml51
-rw-r--r--jdk9-publish-all-results.yaml56
-rw-r--r--jdk9-publish-and-report.yaml63
-rw-r--r--jdk9-specjbb2013-benchmark-persist-results.yaml83
-rw-r--r--jdk9-specjbb2013-benchmark-publish-results.yaml55
-rw-r--r--jdk9-specjbb2013-benchmark.yaml118
-rw-r--r--jdk9-specjbb2015-benchmark-persist-results.yaml87
-rw-r--r--jdk9-specjbb2015-benchmark-publish-results.yaml59
-rw-r--r--jdk9-specjbb2015-benchmark.yaml127
-rw-r--r--jdk9-terasort-benchmark-persist-results.yaml85
-rw-r--r--jdk9-terasort-benchmark-publish-results.yaml67
-rw-r--r--jdk9-terasort-benchmark.yaml140
-rw-r--r--jdk9-update-src-tree-persist.yaml56
-rw-r--r--jdk9-update-src-tree.yaml152
-rw-r--r--khilman-buildroot.yaml72
-rw-r--r--khilman-kbuilder.yaml231
-rw-r--r--khilman-kernel-build-complete.yaml67
-rw-r--r--khilman-trigger-flex.yaml420
-rw-r--r--kvm-guest-image.yaml101
-rw-r--r--leg-tiancore-edk2-build-test.yaml132
-rw-r--r--lhg-oe-build-next.yaml74
-rw-r--r--linaro-art-stable-build-ARTHostTest.yaml158
-rw-r--r--linaro-art-stable-build-ARTTargetTest.yaml165
-rw-r--r--linaro-art-stable-build-ARTVixlTest.yaml179
-rw-r--r--linaro-art-stable-build-MicroBenchmarks.yaml174
-rw-r--r--linaro-art-tip-build-ARTBoot2guiTest.yaml83
-rw-r--r--linaro-art-vixl-art-host-test.yaml140
-rw-r--r--linaro-art-vixl-art-target-test.yaml134
-rw-r--r--linaro-edk2-capsule.yaml134
-rw-r--r--linaro-edk2-prep-matrix.yaml498
-rw-r--r--linux-eas.yaml173
-rw-r--r--linux-kvm.yaml65
-rw-r--r--linux-leg.yaml226
-rw-r--r--linux-linaro-tracking-ll-ilp32.yaml169
-rw-r--r--linux-linaro-tracking-ll.yaml270
-rw-r--r--linux-linaro-tracking-llct.yaml212
-rw-r--r--linux-linaro-tracking-mainline-ilp32.yaml174
-rw-r--r--linux-xen.yaml58
-rw-r--r--lkft-ssh-testrunner.yaml116
-rw-r--r--ltp-upstream.yaml123
-rw-r--r--ofp-perf-tests.yaml71
-rw-r--r--openembedded-lkft-aosp-4.14.yaml151
-rw-r--r--openembedded-lkft-aosp-4.4.yaml151
-rw-r--r--openembedded-lkft-aosp-4.9.yaml151
-rw-r--r--package-and-publish-linux-linaro-stable.yaml142
-rw-r--r--package-and-publish-linux-linaro.yaml158
-rw-r--r--post-build-repo.yaml92
-rw-r--r--post-build-rpm.yaml60
-rw-r--r--qa-manual-test-definitions-sanity-check.yaml63
-rw-r--r--robher-aosp-gendev.yaml121
-rw-r--r--robher-aosp.yaml139
-rw-r--r--rpb-aosp-hikey.yaml363
-rw-r--r--rpb-kernel-matrix.yaml149
-rw-r--r--rpb-kernel.yaml143
-rw-r--r--rsalveti-db410c-debian-gateway.yaml313
-rw-r--r--tcwg-monitoring-christophe.yaml55
-rw-r--r--tcwg-trigger-gcc-linaro-7.yaml167
-rw-r--r--tcwg-upstream-monitoring-go.yaml136
-rw-r--r--trigger-96boards-b2260.yaml21
-rw-r--r--trigger-96boards-hikey-4.1.yaml31
-rw-r--r--trigger-96boards-hikey-edk2.yaml35
-rw-r--r--trigger-96boards-hikey.yaml33
-rw-r--r--trigger-debian-arm64-rootfs.yaml21
-rw-r--r--trigger-debian-armhf-rootfs.yaml21
-rw-r--r--trigger-erp-test-automation-weekly.yaml37
-rw-r--r--trigger-lhg-oe-build-next.yaml22
-rw-r--r--trigger-linux-leg.yaml33
-rw-r--r--trigger-lkft-linux-clang-mainline.yaml49
-rw-r--r--trigger-lkft-linux-clang-stable.yaml49
-rw-r--r--trigger-openembedded-lkft-linaro-hikey-stable-4.4.yaml58
-rw-r--r--trigger-rpb-kernel-packaging.yaml40
-rw-r--r--ubuntu-arm64-rootfs.yaml94
-rw-r--r--ubuntu-armhf-pre-built-images.yaml170
-rw-r--r--ubuntu-armhf-rootfs.yaml94
-rw-r--r--xen-packages.yaml90
-rw-r--r--zephyr-aeolus.yaml78
123 files changed, 0 insertions, 14178 deletions
diff --git a/96boards-dragonboard820c-aosp-master.yaml b/96boards-dragonboard820c-aosp-master.yaml
deleted file mode 100644
index 7a92648b7..000000000
--- a/96boards-dragonboard820c-aosp-master.yaml
+++ /dev/null
@@ -1,75 +0,0 @@
-- job:
- name: 96boards-dragonboard820c-aosp-master
- project-type: freestyle
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 30
- artifact-num-to-keep: 1
- parameters:
- - string:
- name: BUILD_CONFIG_FILENAME
- default: 'dragonboard820c-aosp-master'
- - string:
- name: QA_SERVER
- default: 'https://qa-reports.linaro.org'
- - string:
- name: BUILD_DIR
- default: 'aosp-master'
- - string:
- name: PUB_DEST
- default: '96boards/dragonboard820c/linaro/aosp-master/${BUILD_NUMBER}'
- disabled: true
- node: docker-xenial-aosp
- display-name: 'DELETE ME'
- concurrent: true
- triggers:
- - timed : '@daily'
- wrappers:
- - timestamps
- - timeout:
- timeout: 500
- - credentials-binding:
- - text:
- credential-id: QA_REPORTS_TOKEN
- variable: QA_REPORTS_TOKEN
- - text:
- credential-id: ARTIFACTORIAL_TOKEN
- variable: ARTIFACTORIAL_TOKEN
- - text:
- credential-id: AP_SSID
- variable: AP_SSID
- - text:
- credential-id: AP_KEY
- variable: AP_KEY
- builders:
- - shell:
- !include-raw:
- - android-lcr/common/builders.sh
- - 96boards-dragonboard-aosp-master/builders.sh
- - inject:
- properties-file: publish_parameters
- - linaro-publish-token
- - shell:
- !include-raw:
- - android/linaro-publisher.sh
- publishers:
- - archive:
- artifacts: '*.xml,*.json'
- latest-only: true
- - logparser:
- parse-rules: '/var/jenkins_home/userContent/android.parse'
- unstable-on-warning: false
- fail-on-error: false
- - fingerprint:
- files: 'build/fingerprints/*'
- - email:
- recipients: 'vishal.bhoj@linaro.org fathi.boudra@linaro.org nicolas.dechesne@linaro.org todor.tomov@linaro.org'
diff --git a/96boards-hikey-4.1.yaml b/96boards-hikey-4.1.yaml
deleted file mode 100644
index 56ecec5d4..000000000
--- a/96boards-hikey-4.1.yaml
+++ /dev/null
@@ -1,258 +0,0 @@
-- job:
- name: 96boards-hikey-4.1
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- parameters:
- - string:
- name: ROOTFS
- default: 'alip developer'
- disabled: true
- node: docker-jessie-amd64
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://github.com/96boards-hikey/linux.git
- refspec: +refs/heads/android-hikey-linaro-4.1:refs/remotes/origin/android-hikey-linaro-4.1
- name: origin
- branches:
- - refs/heads/android-hikey-linaro-4.1
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- sudo kpartx -dv out/hikey-jessie_*.img || true
- rm -rf builddir*
- rm -rf out
- }
-
- sudo apt-get update
- sudo apt-get install -y android-tools-fsutils kpartx python-requests
- wget -q \
- http://repo.linaro.org/ubuntu/linaro-tools/pool/main/l/linaro-image-tools/linaro-image-tools_2016.05-1linarojessie1_amd64.deb \
- http://repo.linaro.org/ubuntu/linaro-tools/pool/main/l/linaro-image-tools/python-linaro-image-tools_2016.05-1linarojessie1_all.deb
- sudo dpkg -i --force-all *.deb
- rm -f *.deb
-
- export LANG=C
- export make_bootwrapper=false
- export make_install=true
- export kernel_flavour=hikey
- export kernel_config=hikey_defconfig
- export MAKE_DTBS=true
- export ARCH=arm64
- export tcbindir="${HOME}/srv/toolchain/arm64-tc-15.08/bin"
- export toolchain_url=http://releases.linaro.org/components/toolchain/binaries/5.1-2015.08/aarch64-linux-gnu/gcc-linaro-5.1-2015.08-x86_64_aarch64-linux-gnu.tar.xz
-
- rm -rf configs lci-build-tools
- git clone --depth 1 http://git.linaro.org/ci/lci-build-tools.git
- git clone --depth 1 http://git.linaro.org/ci/job/configs.git
- bash -x lci-build-tools/jenkins_kernel_build_inst
- rm -rf out/dtbs
- cp -a linux-*.deb out/
-
- git clone --depth 1 https://github.com/OP-TEE/optee_linuxdriver.git
- export PATH=${WORKSPACE}/srv/toolchain/arm64-tc-15.08/bin:${PATH}
- export CROSS_COMPILE=aarch64-linux-gnu-
- #make -C ${KERNEL_PATH} M=${WORKSPACE}/optee_linuxdriver modules
- #make -C ${KERNEL_PATH} M=${WORKSPACE}/optee_linuxdriver INSTALL_MOD_PATH=${WORKSPACE}/build-utilites/fs modules_install
- cd ${WORKSPACE}
-
- # Create the hardware pack
- cp -a configs/96boards-hikey/hwpacks/linaro-hikey .
-
- VERSION=`date +%Y%m%d`-${BUILD_NUMBER}
- linaro-hwpack-create --debug linaro-hikey ${VERSION}
- linaro-hwpack-replace -t `ls hwpack_linaro-hikey_*_arm64_supported.tar.gz` -p `ls linux-image-*-linaro-hikey_*.deb` -r linux-image -d -i
- linaro-hwpack-replace -t `ls hwpack_linaro-hikey_*_arm64_supported.tar.gz` -p `ls linux-headers-*-linaro-hikey_*.deb` -r linux-headers -d -i
-
- FASTBOOT_EFI_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/job/96boards-hikey-uefi/lastSuccessfulBuild/buildNumber`
- FASTBOOT_EFI_URL="http://snapshots.linaro.org/96boards/hikey/linaro/uefi/${FASTBOOT_EFI_BUILD_NUMBER}/AndroidFastbootApp.efi"
- wget --progress=dot ${FASTBOOT_EFI_URL} -O fastboot.efi
-
- GRUB_EFI_URL="http://snapshots.linaro.org/96boards/hikey/linaro/grub/latest"
- wget --progress=dot ${GRUB_EFI_URL}/grubaa64.efi -O grubaa64.efi
-
- cat > out/README.txt << EOF
- Build information:
- * build: ${BUILD_URL}
- * git URL: ${GIT_URL}
- * git branch: ${GIT_BRANCH}
- * git commit: ${GIT_COMMIT}
- * uefi: http://snapshots.linaro.org/96boards/hikey/linaro/uefi/${FASTBOOT_EFI_BUILD_NUMBER}
- EOF
-
- for rootfs in ${ROOTFS}; do
- # Get rootfs
- export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/job/debian-arm64-rootfs/label=docker-jessie-arm64,rootfs=${rootfs}/lastSuccessfulBuild/buildNumber`
- export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/job/debian-arm64-rootfs/label=docker-jessie-arm64,rootfs=${rootfs}/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd`
- export ROOTFS_BUILD_URL="http://snapshots.linaro.org/debian/images/${rootfs}-arm64/${ROOTFS_BUILD_NUMBER}/linaro-jessie-${rootfs}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.tar.gz"
- wget --progress=dot -e dotbytes=2M ${ROOTFS_BUILD_URL}
-
- cat >> out/README.txt << EOF
- * rootfs (${rootfs}): http://snapshots.linaro.org/debian/images/${rootfs}-arm64/${ROOTFS_BUILD_NUMBER}
- EOF
-
- if [ "${rootfs}" = "alip" ]; then
- mali_pkg="libmali-450_0.0.1-1_all.deb"
- wget https://snapshots.linaro.org/96boards/hikey/linaro/binaries/20150825/${mali_pkg} -O ${mali_pkg}
- linaro-hwpack-append -t `ls hwpack_linaro-hikey_*_arm64_supported.tar.gz` -p ${mali_pkg} -d -i
- rm -f ${mali_pkg}
- armsoc_pkg="xserver-xorg-video-armsoc_1.4.0-0linaro1.linarojessie.4_arm64.deb"
- wget http://repo.linaro.org/ubuntu/linaro-overlay/pool/main/x/xf86-video-armsoc/${armsoc_pkg} -O ${armsoc_pkg}
- linaro-hwpack-append -t `ls hwpack_linaro-hikey_*_arm64_supported.tar.gz` -p ${armsoc_pkg} -d -i
- rm -f ${armsoc_pkg}
- fi
-
- # Create pre-built image(s)
- linaro-media-create --dev fastmodel --output-directory ${WORKSPACE}/out --image-file hikey-jessie_${rootfs}_${VERSION}.img --image-size 2G --binary linaro-jessie-${rootfs}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.tar.gz --hwpack hwpack_linaro-hikey_*.tar.gz --hwpack-force-yes --bootloader uefi
-
- # Create eMMC rootfs image(s)
- mkdir boot rootfs
- for device in $(sudo kpartx -avs out/hikey-jessie_${rootfs}_${VERSION}.img | cut -d' ' -f3); do
- partition=$(echo ${device} | cut -d'p' -f3)
- [ "${partition}" = "1" ] && sudo mount -o loop /dev/mapper/${device} boot
- [ "${partition}" = "2" ] && sudo mount -o loop /dev/mapper/${device} rootfs
- done
-
- if [ "${rootfs}" = "developer" ]; then
- sed -e "s|^PULSEAUDIO_SYSTEM_START=0|PULSEAUDIO_SYSTEM_START=1|" \
- -e "s|^DISALLOW_MODULE_LOADING=1|DISALLOW_MODULE_LOADING=0|" \
- < rootfs/usr/share/doc/pulseaudio/examples/pulseaudio.default.example \
- | sudo tee rootfs/etc/default/pulseaudio
- sudo install -D -p -m0755 \
- rootfs/usr/share/doc/pulseaudio/examples/pulseaudio.init.example \
- rootfs/etc/init.d/pulseaudio
- cat << EOF | sudo tee -a rootfs/etc/pulse/system.pa
-
- ### Automatically load driver modules for Bluetooth hardware
- .ifexists module-bluetooth-policy.so
- load-module module-bluetooth-policy
- .endif
-
- .ifexists module-bluetooth-discover.so
- load-module module-bluetooth-discover
- .endif
- EOF
- else
- sudo install -D -p -m0644 \
- rootfs/etc/xdg/lxsession/LXDE/autostart \
- rootfs/home/linaro/.config/lxsession/LXDE/autostart
- cat << EOF | sudo tee -a rootfs/home/linaro/.config/lxsession/LXDE/autostart
- @bash -c /home/linaro/bin/xmms2-output-plugin-pulse
- EOF
- fi
-
- sudo mkdir rootfs/boot/grub
- (cd rootfs/boot/grub && sudo ln -sf /boot/efi/EFI/BOOT/grub.cfg)
- (cd rootfs/boot && sudo ln -s Image-* Image)
- sudo cp -a out/hi6220-hikey.dtb rootfs/boot/
- (cd rootfs/boot && sudo ln -s initrd.img-* initrd.img)
-
- cat << EOF | sudo tee rootfs/etc/NetworkManager/dispatcher.d/99hikey
- #!/bin/sh
-
- if [ "$1" = "wlan0" -a "$2" = "pre-up" ]; then
- /sbin/iw wlan0 set power_save off
- echo 0 > /sys/kernel/debug/ieee80211/phy0/wlcore/sleep_auth
- fi
- EOF
-
- cat << EOF | sudo tee rootfs/etc/fstab
- /dev/disk/by-partlabel/system / ext4 errors=remount-ro 0 1
- /dev/disk/by-partlabel/boot /boot/efi vfat defaults 0 0
- EOF
-
- sudo rm -rf rootfs/dev rootfs/var/lib/apt/lists
- sudo mkdir rootfs/dev rootfs/var/lib/apt/lists rootfs/home/linaro/bin
-
- sudo wget https://raw.githubusercontent.com/96boards/usb_speed_switch/master/usb_speed -O rootfs/home/linaro/bin/usb_speed
- cat << EOF | sudo tee -a rootfs/home/linaro/bin/xmms2-output-plugin-pulse
- #!/bin/sh
-
- [ ! -f "\$HOME/.config/xmms2/xmms2.conf" ] && xmms2 server config output.plugin pulse
- EOF
- cat << EOF | sudo tee -a rootfs/home/linaro/.profile
-
- /home/linaro/bin/xmms2-output-plugin-pulse
- EOF
- sudo chmod a+x rootfs/home/linaro/bin/* \
- rootfs/etc/NetworkManager/dispatcher.d/99hikey
- sudo chown -R 1000:1000 rootfs/home/linaro
-
- # ******** TI wl18xx R8.6 - out of tree firmware ********
- git clone -b R8.6 --depth 1 git://git.ti.com/wilink8-wlan/wl18xx_fw.git
- sudo cp -a ./wl18xx_fw/wl18xx-fw-4.bin rootfs/lib/firmware/ti-connectivity/
- rm -rf wl18xx_fw
- # ******** TI wl18xx R8.6 - out of tree firmware ********
-
- sudo mkfs.ext4 -L rootfs out/hikey-jessie_${rootfs}_${VERSION}.emmc.img.ext4 2G
- mkdir rootfs-ext4
- sudo mount -o loop out/hikey-jessie_${rootfs}_${VERSION}.emmc.img.ext4 rootfs-ext4
- sudo cp -a rootfs/* rootfs-ext4
- sudo umount boot rootfs rootfs-ext4
- sudo kpartx -dv out/hikey-jessie_${rootfs}_${VERSION}.img
- sudo ext2simg -v out/hikey-jessie_${rootfs}_${VERSION}.emmc.img.ext4 out/hikey-jessie_${rootfs}_${VERSION}.emmc.img
- sudo rm -rf boot rootfs rootfs-ext4 out/*.ext4
-
- # Compress image(s)
- gzip -9 out/hikey-jessie_${rootfs}_${VERSION}.emmc.img
- gzip -9 out/hikey-jessie_${rootfs}_${VERSION}.img
- done
-
- # Create boot image(s)
- mkdir boot-fat
-
- dd if=/dev/zero of=out/boot-fat.uefi.img bs=512 count=131072
- sudo mkfs.fat -F32 -n "boot" out/boot-fat.uefi.img
- sudo mount -o loop,rw,sync out/boot-fat.uefi.img boot-fat
- sudo mkdir -p boot-fat/EFI/BOOT
- sudo cp -a fastboot.efi boot-fat/EFI/BOOT/fastboot.efi || true
- sudo cp -a grubaa64.efi boot-fat/EFI/BOOT/grubaa64.efi || true
- sudo cp -a configs/96boards-hikey/boot/grub.cfg boot-fat/EFI/BOOT/grub.cfg || true
- sudo umount boot-fat
- sudo chmod 777 out/boot-fat.uefi.img
-
- rm -rf boot-fat
-
- # Compress boot partition image(s)
- gzip -9 out/boot-fat.uefi.img
-
- # Create MD5SUMS file
- (cd out && md5sum * > MD5SUMS.txt)
-
- # Publish
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- wget https://git.linaro.org/ci/job/configs.git/blob_plain/HEAD:/96boards-hikey/build-info/template.txt -O out/BUILD-INFO.txt
- time python ${HOME}/bin/linaro-cp.py \
- --server ${PUBLISH_SERVER} \
- --build-info out/BUILD-INFO.txt \
- --link-latest \
- out 96boards/hikey/community/hikey-4.1/${BUILD_NUMBER}
- publishers:
- - email:
- recipients: 'fathi.boudra@linaro.org'
diff --git a/96boards-hikey-4.4-android.yaml b/96boards-hikey-4.4-android.yaml
deleted file mode 100644
index 30983c1f6..000000000
--- a/96boards-hikey-4.4-android.yaml
+++ /dev/null
@@ -1,133 +0,0 @@
-- job:
- name: 96boards-hikey-4.4-android
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 60
- numToKeep: 60
- properties:
- - authorization:
- anonymous:
- - job-read
- linaro:
- - job-build
- - job-cancel
- parameters:
- - string:
- name: BUILD_CONFIG_FILENAME
- default: 'armv8-android-hikey-4.4'
- disabled: true
- node: docker-xenial-aosp
- display-name: 'DELETE ME'
- concurrent: true
- wrappers:
- - timestamps
- - timeout:
- timeout: 500
- builders:
- - shell: |
- #!/bin/bash
-
- java -version
-
- sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
- sudo apt-get update
- sudo apt-get install -y gcc-4.9-multilib bison git gperf libxml2-utils python-mako zip time python-requests genisoimage patch mtools
-
- mkdir -p ${HOME}/bin ${WORKSPACE}/build/out
- curl https://storage.googleapis.com/git-repo-downloads/repo > ${HOME}/bin/repo
- chmod a+x ${HOME}/bin/*
- export PATH=${HOME}/bin:${PATH}
-
- if [ ! -d "/home/buildslave/srv/${JOB_NAME}" ]; then
- sudo mkdir -p /home/buildslave/srv/${JOB_NAME}
- sudo chmod 777 /home/buildslave/srv/${JOB_NAME}
- fi
- cd /home/buildslave/srv/${JOB_NAME}
-
- git config --global user.email "ci_notify@linaro.org"
- git config --global user.name "Linaro CI"
-
- # Runs as ubuntu
- set -xe
- rm -rf build-tools jenkins-tools build/out build/android-patchsets build-configs
- git clone --depth 1 https://git.linaro.org/infrastructure/linaro-android-build-tools.git build-tools
- git clone --depth 1 https://git.linaro.org/infrastructure/linaro-jenkins-tools.git jenkins-tools
- git clone --depth 1 http://android-git.linaro.org/git/android-build-configs.git build-configs
-
- # Early test
- if [ ! -f build-configs/${BUILD_CONFIG_FILENAME} ]; then
- echo "No config file named ${BUILD_CONFIG_FILENAME} exists"
- echo "in android-build-configs.git"
- exit 1
- fi
-
- cat << EOF > config.txt
- BUILD_CONFIG_REPO=http://android-git.linaro.org/git/android-build-configs.git
- BUILD_CONFIG_BRANCH=master
- EOF
- echo config.txt
- export CONFIG=`base64 -w 0 config.txt`
-
- build-tools/node/build us-east-1.ec2-git-mirror.linaro.org "${CONFIG}"
- cp -a /home/buildslave/srv/${JOB_NAME}/build/out/*.xml ${WORKSPACE}/
-
- # Create bigger userdata partition for 8gb emmc
- cd build/
- out/host/linux-x86/bin/make_ext4fs -s -T -1 -S out/root/file_contexts -L data -l 5588893184 -a data out/userdata-8gb.img out/data
- cd -
-
- cd build/out
- rm -f boot.img ramdisk.img
- for image in "boot_fat.uefi.img" "system.img" "userdata.img" "userdata-8gb.img" "cache.img"; do
- echo "Compressing ${image}"
- tar -Jcf ${image}.tar.xz ${image}
- rm -f ${image}
- done
- cd -
-
- # Publish parameters
- cat << EOF > ${WORKSPACE}/publish_parameters
- PUB_DEST=96boards/hikey/linaro/aosp-4.4-kernel/${BUILD_NUMBER}
- PUB_SRC=${PWD}/build/out
- EOF
-
- # Construct post-build-lava parameters
- source build-configs/${BUILD_CONFIG_FILENAME}
- cat << EOF > ${WORKSPACE}/post_build_lava_parameters
- DEVICE_TYPE=${LAVA_DEVICE_TYPE:-${TARGET_PRODUCT}}
- TARGET_PRODUCT=${TARGET_PRODUCT}
- MAKE_TARGETS=${MAKE_TARGETS}
- JOB_NAME=${JOB_NAME}
- BUILD_NUMBER=${BUILD_NUMBER}
- BUILD_URL=${BUILD_URL}
- LAVA_SERVER=validation.linaro.org/RPC2/
- IMAGE_EXTENSION=img.tar.xz
- LAVA_STREAM=${BUNDLE_STREAM_NAME}
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- FRONTEND_JOB_NAME=${JOB_NAME}
- DOWNLOAD_URL=${PUBLISH_SERVER}/${PUB_DEST}
- CUSTOM_JSON_URL=https://git.linaro.org/qa/test-plans.git/blob_plain/HEAD:/android/hikey/template.json
- EOF
- - inject:
- properties-file: publish_parameters
- - linaro-publish-token
- - shell:
- !include-raw:
- - android/linaro-publisher.sh
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- publishers:
- - archive:
- artifacts: '*.xml'
- latest-only: true
- - logparser:
- parse-rules: '/var/jenkins_home/userContent/android.parse'
- unstable-on-warning: false
- fail-on-error: false
- - fingerprint:
- files: 'build/fingerprints/*'
- - email:
- recipients: 'vishal.bhoj@linaro.org fathi.boudra@linaro.org'
diff --git a/96boards-hikey-android.yaml b/96boards-hikey-android.yaml
deleted file mode 100644
index 18b30d38a..000000000
--- a/96boards-hikey-android.yaml
+++ /dev/null
@@ -1,119 +0,0 @@
-- job:
- name: 96boards-hikey-android
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 60
- numToKeep: 60
- properties:
- - authorization:
- anonymous:
- - job-read
- linaro:
- - job-build
- - job-cancel
- parameters:
- - string:
- name: BUILD_CONFIG_FILENAME
- default: 'armv8-android-hikey-3.18'
- disabled: true
- node: docker-xenial-aosp
- display-name: 'DELETE ME'
- concurrent: true
- wrappers:
- - timestamps
- - timeout:
- timeout: 500
- builders:
- - shell: |
- #!/bin/bash
-
- java -version
-
- sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
- sudo apt-get update
- sudo apt-get install -y gcc-4.9-multilib bison git gperf libxml2-utils python-mako zip time python-requests genisoimage patch mtools
-
- mkdir -p ${HOME}/bin ${WORKSPACE}/build/out
- curl https://storage.googleapis.com/git-repo-downloads/repo > ${HOME}/bin/repo
- chmod a+x ${HOME}/bin/*
- export PATH=${HOME}/bin:${PATH}
-
- if [ ! -d "/home/buildslave/srv/${JOB_NAME}" ]; then
- sudo mkdir -p /home/buildslave/srv/${JOB_NAME}
- sudo chmod 777 /home/buildslave/srv/${JOB_NAME}
- fi
- cd /home/buildslave/srv/${JOB_NAME}
-
- git config --global user.email "ci_notify@linaro.org"
- git config --global user.name "Linaro CI"
-
- # Runs as ubuntu
- set -xe
- rm -rf build-tools jenkins-tools build/out build/android-patchsets
- git clone --depth 1 https://git.linaro.org/infrastructure/linaro-android-build-tools.git build-tools
- git clone --depth 1 https://git.linaro.org/infrastructure/linaro-jenkins-tools.git jenkins-tools
-
- cat << EOF > config.txt
- BUILD_CONFIG_REPO=http://android-git.linaro.org/git/android-build-configs.git
- BUILD_CONFIG_BRANCH=master
- EOF
- echo config.txt
- export CONFIG=`base64 -w 0 config.txt`
-
- # Build Android
- build-tools/node/build us-east-1.ec2-git-mirror.linaro.org "${CONFIG}"
- cp -a /home/buildslave/srv/${JOB_NAME}/build/out/*.xml ${WORKSPACE}/
-
- # Create bigger userdata partition for 8gb emmc
- cd build/
- out/host/linux-x86/bin/make_ext4fs -s -T -1 -S out/root/file_contexts -L data -l 5588893184 -a data out/userdata-8gb.img out/data
- cd -
-
- cd build/out
- mv userdata.img userdata-4gb.img
- rm -f boot.img ramdisk.img
- for image in "boot_fat.uefi.img" "system.img" "userdata-4gb.img" "userdata-8gb.img" "cache.img"; do
- echo "Compressing ${image}"
- tar -Jcf ${image}.tar.xz ${image}
- rm -f ${image}
- done
- cd -
-
- # Publish parameters
- cat << EOF > ${WORKSPACE}/publish_parameters
- PUB_DEST=96boards/hikey/linaro/aosp/${BUILD_NUMBER}
- PUB_SRC=${PWD}/build/out
- EOF
- - inject:
- properties-file: publish_parameters
- - linaro-publish-token
- - shell:
- !include-raw:
- - android/linaro-publisher.sh
- - shell:
- cd /home/buildslave/srv/${JOB_NAME}
- build-tools/node/lava-submit "${CONFIG}"
-
- for f in $(ls -1 build/out/lava-job-info* 2>/dev/null); do
- time linaro-cp.py \
- --no-build-info \
- --split-job-owner \
- --server ${PUBLISH_SERVER} \
- ${f} \
- ${PUB_DEST}
- done
-
- echo "Build finished"
- publishers:
- - archive:
- artifacts: '*.xml'
- latest-only: true
- - logparser:
- parse-rules: '/var/jenkins_home/userContent/android.parse'
- unstable-on-warning: false
- fail-on-error: false
- - fingerprint:
- files: 'build/fingerprints/*'
- - email:
- recipients: 'vishal.bhoj@linaro.org fathi.boudra@linaro.org'
diff --git a/96boards-hikey-uefi.yaml b/96boards-hikey-uefi.yaml
deleted file mode 100644
index c29199853..000000000
--- a/96boards-hikey-uefi.yaml
+++ /dev/null
@@ -1,114 +0,0 @@
-- job:
- name: 96boards-hikey-uefi
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- disabled: true
- node: docker-jessie-amd64
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://github.com/96boards-hikey/edk2.git
- refspec: +refs/heads/hikey:refs/remotes/origin/hikey
- name: origin
- branches:
- - refs/heads/hikey
- basedir: linaro-edk2
- skip-tag: true
- shallow-clone: true
- clean: true
- wipe-workspace: false
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- rm -rf arm64-tc
- rm -rf arm-trusted-firmware
- rm -rf uefi-tools
- rm -rf l-loader
- rm -rf out
- }
-
- sudo apt-get update
- sudo apt-get install -y python-requests python-crypto
-
- # Use pre-installed linaro toolchain
- export PATH="${HOME}/srv/toolchain/arm-tc-15.02/bin:${HOME}/srv/toolchain/arm64-tc-15.02/bin:$PATH"
- export CROSS_COMPILE_ta_arm64=aarch64-linux-gnu-
- export CROSS_COMPILE_ta_arm32=arm-linux-gnueabihf-
-
- # Check out arm-trusted-firmware
- git clone -b hikey --depth 1 https://github.com/96boards-hikey/arm-trusted-firmware.git
-
- # Check out optee_os
- git clone --depth 1 https://github.com/OP-TEE/optee_os.git
-
- git clone git://git.linaro.org/uefi/uefi-tools.git
-
- export AARCH64_TOOLCHAIN=GCC49
- export EDK2_DIR=${WORKSPACE}/linaro-edk2
- export UEFI_TOOLS_DIR=${WORKSPACE}/uefi-tools
- export JENKINS_WORKSPACE=${WORKSPACE}
- unset WORKSPACE
-
- cd ${EDK2_DIR}
- ${UEFI_TOOLS_DIR}/uefi-build.sh -b RELEASE -a ../arm-trusted-firmware -s ../optee_os hikey
-
- unset WORKSPACE
- export WORKSPACE=${JENKINS_WORKSPACE}
-
- cd ${WORKSPACE}
- mkdir -p out/optee
- cp -a ${EDK2_DIR}/Build/HiKey/RELEASE_GCC49/FV/*.bin out/
- cp -a ${EDK2_DIR}/Build/HiKey/RELEASE_GCC49/AARCH64/AndroidFastbootApp.efi out/
- # Don't ship BL33_AP_UEFI.fd, mcuimage.bin and tee.bin
- # (already included in the firmware image package - fip)
- #cp -a ${EDK2_DIR}/Build/HiKey/RELEASE_GCC49/FV/*.fd out/
- #cp -a ${EDK2_DIR}/HisiPkg/HiKeyPkg/NonFree/mcuimage.bin out/
- rm -f out/tee.bin
-
- # Ship nvme.img with UEFI binaries for convenience
- dd if=/dev/zero of=out/nvme.img bs=128 count=1024
-
- # Ship files needed to build OP-TEE test suite
- tar -C ${WORKSPACE}/optee_os/out -acvf \
- ${WORKSPACE}/out/optee/arm-plat-hikey.tar.xz \
- arm-plat-hikey/export-ta_arm64 arm-plat-hikey/export-ta_arm32
-
- git clone --depth 1 https://github.com/96boards-hikey/l-loader.git
- cd l-loader
- ln -s ${WORKSPACE}/out/bl1.bin
- make
- cp -a l-loader.bin ptable*.img ${WORKSPACE}/out/
- cd ${WORKSPACE}
-
- # Publish
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- time python ${HOME}/bin/linaro-cp.py \
- --server ${PUBLISH_SERVER} \
- --link-latest \
- out 96boards/hikey/linaro/uefi/${BUILD_NUMBER}
- publishers:
- - email:
- recipients: 'fathi.boudra@linaro.org'
diff --git a/96boards-hikey.yaml b/96boards-hikey.yaml
deleted file mode 100644
index 8ad150426..000000000
--- a/96boards-hikey.yaml
+++ /dev/null
@@ -1,324 +0,0 @@
-- job:
- name: 96boards-hikey
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- parameters:
- - string:
- name: BUNDLE_STREAM_NAME
- default: '/public/team/hisilicon/hikey/'
- - string:
- name: DEVICE_TYPE
- default: 'hi6220-hikey'
- - string:
- name: LAVA_SERVER
- default: 'validation.linaro.org/RPC2/'
- - string:
- name: ROOTFS
- default: 'alip developer'
- disabled: true
- node: docker-jessie-amd64
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://github.com/96boards-hikey/linux.git
- refspec: +refs/heads/hikey:refs/remotes/origin/hikey
- name: origin
- branches:
- - refs/heads/hikey
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- wrappers:
- - timestamps
- - copy-to-slave:
- includes:
- - wifi.r8.5.tar.gz
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- sudo kpartx -dv out/hikey-jessie_*.img || true
- rm -rf builddir*
- rm -rf out
- }
-
- sudo apt-get update
- sudo apt-get install -y android-tools-fsutils kpartx python-requests
- wget -q \
- http://repo.linaro.org/ubuntu/linaro-tools/pool/main/l/linaro-image-tools/linaro-image-tools_2016.05-1linarojessie1_amd64.deb \
- http://repo.linaro.org/ubuntu/linaro-tools/pool/main/l/linaro-image-tools/python-linaro-image-tools_2016.05-1linarojessie1_all.deb
- sudo dpkg -i --force-all *.deb
- rm -f *.deb
-
- export LANG=C
- export make_bootwrapper=false
- export make_install=true
- export kernel_flavour=hikey
- export kernel_config=defconfig
- export MAKE_DTBS=true
- export ARCH=arm64
- export tcbindir="${HOME}/srv/toolchain/arm64-tc-15.08/bin"
- export toolchain_url=http://releases.linaro.org/components/toolchain/binaries/5.1-2015.08/aarch64-linux-gnu/gcc-linaro-5.1-2015.08-x86_64_aarch64-linux-gnu.tar.xz
-
- # Disable wireless configuration API
- # TI wl18xx R8.5 is using a backported CFG80211 and MAC80211
- tar zxf wifi.r8.5.tar.gz
- patch -p1 < ${WORKSPACE}/wifi.r8.5/kernel.patch/0001-defconfig-hikey-discard-CFG80211-and-MAC80211.patch
- echo "CONFIG_LOCALVERSION=\"-linaro-hikey\"" >> arch/arm64/configs/defconfig
- touch .scmversion
-
- rm -rf configs lci-build-tools
- git clone --depth 1 http://git.linaro.org/ci/lci-build-tools.git
- git clone --depth 1 http://git.linaro.org/ci/job/configs.git
- bash -x lci-build-tools/jenkins_kernel_build_inst
- rm -rf out/dtbs
- cp -a linux-*.deb out/
-
- # ******** TI wl18xx R8.5 - out of tree modules ********
- git clone --depth 1 https://github.com/96boards-hikey/wilink8-wlan_build-utilites.git build-utilites
- KERNEL_PATH=$(find ${WORKSPACE} -maxdepth 1 -type d -name 'builddir-*-linaro-hikey')
- make O=${KERNEL_PATH} INSTALL_MOD_PATH=${WORKSPACE}/build-utilites/fs modules_install
- cp -a build-utilites/setup-env.sample build-utilites/setup-env
- sed -e "s|^export TOOLCHAIN_PATH=.*|export TOOLCHAIN_PATH=${HOME}/srv/toolchain/arm64-tc-14.09/bin|" \
- -e "s|^export KERNEL_PATH=.*|export KERNEL_PATH=${KERNEL_PATH}|" \
- -e "s|^export CROSS_COMPILE=.*|export CROSS_COMPILE=aarch64-linux-gnu-|" \
- -e "s|^export ARCH=.*|export ARCH=arm64|" \
- -i build-utilites/setup-env
-
- git clone -b hikey --depth 1 https://github.com/96boards-hikey/wilink8-wlan_wl18xx.git build-utilites/src/driver
- git clone -b R8.5 --depth 1 https://github.com/96boards-hikey/wilink8-wlan_wl18xx_fw.git build-utilites/src/fw_download
- git clone -b hikey --depth 1 https://github.com/96boards-hikey/wilink8-wlan_backports.git build-utilites/src/backports
-
- # XXX FIXME local hack to avoid setlocalversion to pick up and add a plus sign
- touch ${WORKSPACE}/build-utilites/src/driver/.scmversion
-
- cd ${WORKSPACE}/build-utilites
- ./build_wl18xx.sh modules
- ./build_wl18xx.sh firmware
- cd ${WORKSPACE}
- # ******** TI wl18xx R8.5 - out of tree modules ********
-
- git clone --depth 1 https://github.com/OP-TEE/optee_linuxdriver.git
- export PATH=${WORKSPACE}/srv/toolchain/arm64-tc-15.08/bin:${PATH}
- export CROSS_COMPILE=aarch64-linux-gnu-
- make -C ${KERNEL_PATH} M=${WORKSPACE}/optee_linuxdriver modules
- make -C ${KERNEL_PATH} M=${WORKSPACE}/optee_linuxdriver INSTALL_MOD_PATH=${WORKSPACE}/build-utilites/fs modules_install
- cd ${WORKSPACE}
-
- # Create the hardware pack
- cp -a configs/96boards-hikey/hwpacks/linaro-hikey .
-
- VERSION=`date +%Y%m%d`-${BUILD_NUMBER}
- linaro-hwpack-create --debug linaro-hikey ${VERSION}
- linaro-hwpack-replace -t `ls hwpack_linaro-hikey_*_arm64_supported.tar.gz` -p `ls linux-image-*-linaro-hikey_*.deb` -r linux-image -d -i
- linaro-hwpack-replace -t `ls hwpack_linaro-hikey_*_arm64_supported.tar.gz` -p `ls linux-headers-*-linaro-hikey_*.deb` -r linux-headers -d -i
-
- FASTBOOT_EFI_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/job/96boards-hikey-uefi/lastSuccessfulBuild/buildNumber`
- FASTBOOT_EFI_URL="http://snapshots.linaro.org/96boards/hikey/linaro/uefi/${FASTBOOT_EFI_BUILD_NUMBER}/AndroidFastbootApp.efi"
- wget --progress=dot ${FASTBOOT_EFI_URL} -O fastboot.efi
-
- GRUB_EFI_URL="http://snapshots.linaro.org/96boards/hikey/linaro/grub/latest"
- wget --progress=dot ${GRUB_EFI_URL}/grubaa64.efi -O grubaa64.efi
-
- cat > out/README.txt << EOF
- Build information:
- * build: ${BUILD_URL}
- * git URL: ${GIT_URL}
- * git branch: ${GIT_BRANCH}
- * git commit: ${GIT_COMMIT}
- * uefi: http://snapshots.linaro.org/96boards/hikey/linaro/uefi/${FASTBOOT_EFI_BUILD_NUMBER}
- EOF
-
- for rootfs in ${ROOTFS}; do
- # Get rootfs
- export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/job/debian-arm64-rootfs/label=docker-jessie-arm64,rootfs=${rootfs}/lastSuccessfulBuild/buildNumber`
- export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/job/debian-arm64-rootfs/label=docker-jessie-arm64,rootfs=${rootfs}/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd`
- export ROOTFS_BUILD_URL="http://snapshots.linaro.org/debian/images/${rootfs}-arm64/${ROOTFS_BUILD_NUMBER}/linaro-jessie-${rootfs}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.tar.gz"
- wget --progress=dot -e dotbytes=2M ${ROOTFS_BUILD_URL}
-
- cat >> out/README.txt << EOF
- * rootfs (${rootfs}): http://snapshots.linaro.org/debian/images/${rootfs}-arm64/${ROOTFS_BUILD_NUMBER}
- EOF
-
- if [ "${rootfs}" = "alip" ]; then
- mali_pkg="libmali-450_0.0.1-1_all.deb"
- wget https://snapshots.linaro.org/96boards/hikey/linaro/binaries/20150825/${mali_pkg} -O ${mali_pkg}
- linaro-hwpack-append -t `ls hwpack_linaro-hikey_*_arm64_supported.tar.gz` -p ${mali_pkg} -d -i
- rm -f ${mali_pkg}
- armsoc_pkg="xserver-xorg-video-armsoc_1.4.0-0linaro1.linarojessie.4_arm64.deb"
- wget http://repo.linaro.org/ubuntu/linaro-overlay/pool/main/x/xf86-video-armsoc/${armsoc_pkg} -O ${armsoc_pkg}
- linaro-hwpack-append -t `ls hwpack_linaro-hikey_*_arm64_supported.tar.gz` -p ${armsoc_pkg} -d -i
- rm -f ${armsoc_pkg}
- fi
-
- # Create pre-built image(s)
- linaro-media-create --dev fastmodel --output-directory ${WORKSPACE}/out --image-file hikey-jessie_${rootfs}_${VERSION}.img --image-size 2G --binary linaro-jessie-${rootfs}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.tar.gz --hwpack hwpack_linaro-hikey_*.tar.gz --hwpack-force-yes --bootloader uefi
-
- # Create eMMC rootfs image(s)
- mkdir boot rootfs
- for device in $(sudo kpartx -avs out/hikey-jessie_${rootfs}_${VERSION}.img | cut -d' ' -f3); do
- partition=$(echo ${device} | cut -d'p' -f3)
- [ "${partition}" = "1" ] && sudo mount -o loop /dev/mapper/${device} boot
- [ "${partition}" = "2" ] && sudo mount -o loop /dev/mapper/${device} rootfs
- done
-
- if [ "${rootfs}" = "developer" ]; then
- sed -e "s|^PULSEAUDIO_SYSTEM_START=0|PULSEAUDIO_SYSTEM_START=1|" \
- -e "s|^DISALLOW_MODULE_LOADING=1|DISALLOW_MODULE_LOADING=0|" \
- < rootfs/usr/share/doc/pulseaudio/examples/pulseaudio.default.example \
- | sudo tee rootfs/etc/default/pulseaudio
- sudo install -D -p -m0755 \
- rootfs/usr/share/doc/pulseaudio/examples/pulseaudio.init.example \
- rootfs/etc/init.d/pulseaudio
- cat << EOF | sudo tee -a rootfs/etc/pulse/system.pa
-
- ### Automatically load driver modules for Bluetooth hardware
- .ifexists module-bluetooth-policy.so
- load-module module-bluetooth-policy
- .endif
-
- .ifexists module-bluetooth-discover.so
- load-module module-bluetooth-discover
- .endif
- EOF
- else
- sudo install -D -p -m0644 \
- rootfs/etc/xdg/lxsession/LXDE/autostart \
- rootfs/home/linaro/.config/lxsession/LXDE/autostart
- cat << EOF | sudo tee -a rootfs/home/linaro/.config/lxsession/LXDE/autostart
- @bash -c /home/linaro/bin/xmms2-output-plugin-pulse
- EOF
- [ -f "rootfs/etc/chromium.d/default-flags" ] && cat << EOF | sudo tee -a rootfs/etc/chromium.d/default-flags
- export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --use-gl=swiftshader"
- EOF
- fi
-
- sudo mkdir rootfs/boot/grub
- (cd rootfs/boot/grub && sudo ln -sf /boot/efi/EFI/BOOT/grub.cfg)
- (cd rootfs/boot && sudo ln -s Image-* Image)
- sudo cp -a out/hi6220-hikey.dtb rootfs/boot/
- (cd rootfs/boot && sudo ln -s initrd.img-* initrd.img)
-
- cat << EOF | sudo tee rootfs/etc/NetworkManager/dispatcher.d/99hikey
- #!/bin/sh
-
- if [ "$1" = "wlan0" -a "$2" = "pre-up" ]; then
- /sbin/iw wlan0 set power_save off
- echo 0 > /sys/kernel/debug/ieee80211/phy0/wlcore/sleep_auth
- fi
- EOF
-
- cat << EOF | sudo tee rootfs/etc/fstab
- /dev/disk/by-partlabel/system / ext4 errors=remount-ro 0 1
- /dev/disk/by-partlabel/boot /boot/efi vfat defaults 0 0
- EOF
-
- sudo rm -rf rootfs/dev rootfs/var/lib/apt/lists rootfs/lib/modules/*-linaro-hikey
- sudo mkdir rootfs/dev rootfs/var/lib/apt/lists rootfs/home/linaro/bin
-
- sudo wget https://raw.githubusercontent.com/96boards/usb_speed_switch/master/usb_speed -O rootfs/home/linaro/bin/usb_speed
- cat << EOF | sudo tee -a rootfs/home/linaro/bin/xmms2-output-plugin-pulse
- #!/bin/sh
-
- [ ! -f "\$HOME/.config/xmms2/xmms2.conf" ] && xmms2 server config output.plugin pulse
- EOF
- cat << EOF | sudo tee -a rootfs/home/linaro/.profile
-
- /home/linaro/bin/xmms2-output-plugin-pulse
- EOF
- sudo chmod a+x rootfs/home/linaro/bin/* \
- rootfs/etc/NetworkManager/dispatcher.d/99hikey
- sudo chown -R 1000:1000 rootfs/home/linaro
-
- # ******** TI wl18xx R8.5 - out of tree modules ********
- sudo find ${WORKSPACE}/build-utilites/fs/lib/modules -type l -delete
- sudo cp -a ${WORKSPACE}/build-utilites/fs/lib/modules/*-linaro-hikey rootfs/lib/modules/
- # ******** TI wl18xx R8.5 - out of tree modules ********
-
- sudo mkfs.ext4 -L rootfs out/hikey-jessie_${rootfs}_${VERSION}.emmc.img.ext4 2G
- mkdir rootfs-ext4
- sudo mount -o loop out/hikey-jessie_${rootfs}_${VERSION}.emmc.img.ext4 rootfs-ext4
- sudo cp -a rootfs/* rootfs-ext4
- sudo umount boot rootfs rootfs-ext4
- sudo kpartx -dv out/hikey-jessie_${rootfs}_${VERSION}.img
- sudo ext2simg -v out/hikey-jessie_${rootfs}_${VERSION}.emmc.img.ext4 out/hikey-jessie_${rootfs}_${VERSION}.emmc.img
- sudo rm -rf boot rootfs rootfs-ext4 out/*.ext4
-
- # Compress image(s)
- gzip -9 out/hikey-jessie_${rootfs}_${VERSION}.emmc.img
- gzip -9 out/hikey-jessie_${rootfs}_${VERSION}.img
- done
-
- # Create boot image(s)
- mkdir boot-fat
-
- dd if=/dev/zero of=out/boot-fat.uefi.img bs=512 count=131072
- sudo mkfs.fat -F32 -n "boot" out/boot-fat.uefi.img
- sudo mount -o loop,rw,sync out/boot-fat.uefi.img boot-fat
- sudo mkdir -p boot-fat/EFI/BOOT
- sudo cp -a fastboot.efi boot-fat/EFI/BOOT/fastboot.efi || true
- sudo cp -a grubaa64.efi boot-fat/EFI/BOOT/grubaa64.efi || true
- sudo cp -a configs/96boards-hikey/boot/grub.cfg boot-fat/EFI/BOOT/grub.cfg || true
- sudo umount boot-fat
- sudo chmod 777 out/boot-fat.uefi.img
-
- rm -rf boot-fat
-
- # Compress boot partition image(s)
- gzip -9 out/boot-fat.uefi.img
-
- # Create MD5SUMS file
- (cd out && md5sum * > MD5SUMS.txt)
-
- # Publish
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- wget https://git.linaro.org/ci/job/configs.git/blob_plain/HEAD:/96boards-hikey/build-info/template.txt -O out/BUILD-INFO.txt
- time python ${HOME}/bin/linaro-cp.py \
- --server ${PUBLISH_SERVER} \
- --build-info out/BUILD-INFO.txt \
- --link-latest \
- out 96boards/hikey/linaro/debian/${BUILD_NUMBER}
- - shell: |
- VERSION=$(date +%Y%m%d)-${BUILD_NUMBER}
-
- export BOOT_URL=https://snapshots.linaro.org/96boards/hikey/linaro/debian/${BUILD_NUMBER}/boot-fat.uefi.img.gz
- export SYSTEM_URL=https://snapshots.linaro.org/96boards/hikey/linaro/debian/${BUILD_NUMBER}/hikey-jessie_alip_${VERSION}-4g.emmc.img.gz
-
- ./lci-build-tools/yaml-to-json.py configs/${JOB_NAME}/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json
-
- cat << EOF > post_build_lava_parameters
- DEVICE_TYPE=${DEVICE_TYPE}
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json
- LAVA_SERVER=${LAVA_SERVER}
- EOF
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- publishers:
- - email:
- recipients: 'fathi.boudra@linaro.org'
- - email-ext:
- recipients: 'qa-team@linaro.org'
- always: true
diff --git a/96boards-poplar-android-o.yaml b/96boards-poplar-android-o.yaml
deleted file mode 100644
index 5c5f8f7dd..000000000
--- a/96boards-poplar-android-o.yaml
+++ /dev/null
@@ -1,94 +0,0 @@
-- job:
- name: 96boards-poplar-android-o
- project-type: freestyle
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-build
- - job-cancel
- - build-discarder:
- num-to-keep: 60
- days-to-keep: 60
- disabled: true
- node: docker-xenial-aosp
- display-name: 'DELETE ME'
- concurrent: true
- triggers:
- - timed : '@daily'
- wrappers:
- - timestamps
- - timeout:
- timeout: 500
- - ssh-agent-credentials:
- users:
- - 'ASPEN_PRIVATE_KEY_SSH'
- builders:
- - shell: |
- #!/bin/bash -xe
-
- export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
-
- java -version
-
- sudo apt-get update
- sudo apt-get install -y gcc-4.9-multilib bison git gperf libxml2-utils python-mako zip time python-requests genisoimage patch mtools python-pip
-
-
- mkdir -p ${HOME}/bin ${WORKSPACE}/build/out
- curl https://storage.googleapis.com/git-repo-downloads/repo > ${HOME}/bin/repo
- chmod a+x ${HOME}/bin/*
- export PATH=${HOME}/bin:${PATH}
-
- git config --global user.email "ci_notify@linaro.org"
- git config --global user.name "Linaro CI"
-
- repo init -u https://android.googlesource.com/platform/manifest.git -b android-8.0.0_r17
- repo sync -j8
-
- mkdir device/hisilicon
- git clone https://github.com/96boards-poplar/poplar-device.git device/hisilicon/poplar
- git clone https://github.com/96boards-poplar/poplar-kernel.git device/hisilicon/poplar-kernel
- git clone ssh://git@dev-private-git.linaro.org/aspen/device/vendor_dev.git vendor/hisilicon/poplar
-
- source build/envsetup.sh
- lunch poplar-eng
- make -j"$(nproc)"
-
- pushd out/target/product/poplar
- for image in "boot.img" "system.img" "userdata.img" "cache.img"; do
- echo "Compressing ${image}"
- xz ${image}
- done
- popd
-
- repo manifest -r -o out/target/product/poplar/pinned-manifest.xml
- wget https://git.linaro.org/ci/job/configs.git/blob_plain/HEAD:/poplar/build-info/template.txt -O out/target/product/poplar/BUILD-INFO.txt
-
-
- # Publish parameters
- cat << EOF > ${WORKSPACE}/publish_parameters
- PUB_DEST=96boards/poplar/linaro/aosp/${BUILD_NUMBER}
- PUB_SRC=${PWD}/out/target/product/poplar/
- PUB_EXTRA_INC=^[^/]+zip
- EOF
- - inject:
- properties-file: publish_parameters
- - linaro-publish-token
- - shell:
- !include-raw:
- - android/linaro-publisher.sh
- - inject:
- properties-file: publish_parameters
- publishers:
- - logparser:
- parse-rules: '/var/jenkins_home/userContent/android.parse'
- unstable-on-warning: false
- fail-on-error: false
- - fingerprint:
- files: 'build/fingerprints/*'
- - email:
- recipients: 'vishal.bhoj@linaro.org fathi.boudra@linaro.org bin.chen@linaro.org'
diff --git a/android-chromium-clang-armv7.yaml b/android-chromium-clang-armv7.yaml
deleted file mode 100644
index 8e05922d9..000000000
--- a/android-chromium-clang-armv7.yaml
+++ /dev/null
@@ -1,93 +0,0 @@
-- job:
- name: android-chromium-clang-armv7
- project-type: freestyle
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 60
- num-to-keep: 60
- artifact-num-to-keep: 1
- parameters:
- - string:
- name: ARGS
- default: 'clang_arm'
- disabled: true
- node: docker-xenial-chromium
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- - timeout:
- timeout: 500
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -e
-
- if [ ! -d "/home/buildslave/srv/${JOB_NAME}" ]; then
- sudo mkdir -p /home/buildslave/srv/${JOB_NAME}
- sudo chmod 777 /home/buildslave/srv/${JOB_NAME}
- fi
- cd /home/buildslave/srv/${JOB_NAME}
-
- git config --global user.email "ci_notify@linaro.org"
- git config --global user.name "Linaro CI"
-
- rm -rf configs
- git clone https://git.linaro.org/ci/job/configs.git
- ./configs/android-chromium/chromium-build.sh
-
- # Publish
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- time python ${HOME}/bin/linaro-cp.py \
- --api_version 3 \
- --link-latest \
- chromium/src/out/Default/apks \
- android/${JOB_NAME}/${BUILD_NUMBER} \
- --include "^[^/]+[._](img[^/]*|tar[^/]*|xml|sh|apk)$" \
- --include "^[BHi][^/]+txt$" \
- --include "^(MANIFEST|MD5SUMS|changelog.txt)$"
- time python ${HOME}/bin/linaro-cp.py \
- --api_version 3 \
- --link-latest \
- ./configs/android-chromium/lava-job-definitions/hikey \
- android/${JOB_NAME}/${BUILD_NUMBER}/hikey \
- --include "^[^/]+[._](img[^/]*|tar[^/]*|xml|sh|apk|json)$" \
- --include "^[BHi][^/]+txt$" \
- --include "^(MANIFEST|MD5SUMS|changelog.txt)$"
-
- cat << EOF > ${WORKSPACE}/post_build_lava_parameters
- DEVICE_TYPE=hi6220-hikey
- TARGET_PRODUCT=hikey
- JOB_NAME=${JOB_NAME}
- BUILD_NUMBER=${BUILD_NUMBER}
- BUILD_URL=${BUILD_URL}
- LAVA_SERVER=validation.linaro.org/RPC2/
- CUSTOM_JSON_URL=https://snapshots.linaro.org/android/${JOB_NAME}/${BUILD_NUMBER}/hikey/template.json
- DOWNLOAD_URL=https://snapshots.linaro.org/android/${JOB_NAME}/${BUILD_NUMBER}
- EOF
-
- echo "Build finished"
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
-
- publishers:
- - logparser:
- parse-rules: '/var/jenkins_home/userContent/android.parse'
- unstable-on-warning: false
- fail-on-error: false
- - fingerprint:
- files: 'build/fingerprints/*'
- - email:
- recipients: 'vishal.bhoj@linaro.org fathi.boudra@linaro.org daniel.diaz@linaro.org'
diff --git a/android-chromium-clang-armv8.yaml b/android-chromium-clang-armv8.yaml
deleted file mode 100644
index b867aa8dc..000000000
--- a/android-chromium-clang-armv8.yaml
+++ /dev/null
@@ -1,93 +0,0 @@
-- job:
- name: android-chromium-clang-armv8
- project-type: freestyle
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 60
- num-to-keep: 60
- artifact-num-to-keep: 1
- parameters:
- - string:
- name: ARGS
- default: 'clang_arm64'
- disabled: true
- node: docker-xenial-chromium
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- - timeout:
- timeout: 500
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -e
-
- if [ ! -d "/home/buildslave/srv/${JOB_NAME}" ]; then
- sudo mkdir -p /home/buildslave/srv/${JOB_NAME}
- sudo chmod 777 /home/buildslave/srv/${JOB_NAME}
- fi
- cd /home/buildslave/srv/${JOB_NAME}
-
- git config --global user.email "ci_notify@linaro.org"
- git config --global user.name "Linaro CI"
-
- rm -rf configs
- git clone https://git.linaro.org/ci/job/configs.git
- ./configs/android-chromium/chromium-build.sh
-
- # Publish
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- time python ${HOME}/bin/linaro-cp.py \
- --api_version 3 \
- --link-latest \
- chromium/src/out/Default/apks \
- android/${JOB_NAME}/${BUILD_NUMBER} \
- --include "^[^/]+[._](img[^/]*|tar[^/]*|xml|sh|apk)$" \
- --include "^[BHi][^/]+txt$" \
- --include "^(MANIFEST|MD5SUMS|changelog.txt)$"
- time python ${HOME}/bin/linaro-cp.py \
- --api_version 3 \
- --link-latest \
- ./configs/android-chromium/lava-job-definitions/hikey \
- android/${JOB_NAME}/${BUILD_NUMBER}/hikey \
- --include "^[^/]+[._](img[^/]*|tar[^/]*|xml|sh|apk|json)$" \
- --include "^[BHi][^/]+txt$" \
- --include "^(MANIFEST|MD5SUMS|changelog.txt)$"
-
- cat << EOF > ${WORKSPACE}/post_build_lava_parameters
- DEVICE_TYPE=hi6220-hikey
- TARGET_PRODUCT=hikey
- JOB_NAME=${JOB_NAME}
- BUILD_NUMBER=${BUILD_NUMBER}
- BUILD_URL=${BUILD_URL}
- LAVA_SERVER=validation.linaro.org/RPC2/
- CUSTOM_JSON_URL=https://snapshots.linaro.org/android/${JOB_NAME}/${BUILD_NUMBER}/hikey/template.json
- DOWNLOAD_URL=https://snapshots.linaro.org/android/${JOB_NAME}/${BUILD_NUMBER}
- EOF
-
- echo "Build finished"
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
-
- publishers:
- - logparser:
- parse-rules: '/var/jenkins_home/userContent/android.parse'
- unstable-on-warning: false
- fail-on-error: false
- - fingerprint:
- files: 'build/fingerprints/*'
- - email:
- recipients: 'vishal.bhoj@linaro.org fathi.boudra@linaro.org daniel.diaz@linaro.org'
diff --git a/android-chromium-gcc-armv7.yaml b/android-chromium-gcc-armv7.yaml
deleted file mode 100644
index cffac3ec4..000000000
--- a/android-chromium-gcc-armv7.yaml
+++ /dev/null
@@ -1,93 +0,0 @@
-- job:
- name: android-chromium-gcc-armv7
- project-type: freestyle
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 60
- num-to-keep: 60
- artifact-num-to-keep: 1
- parameters:
- - string:
- name: ARGS
- default: 'gcc_arm'
- disabled: true
- node: docker-xenial-chromium
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- - timeout:
- timeout: 500
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -e
-
- if [ ! -d "/home/buildslave/srv/${JOB_NAME}" ]; then
- sudo mkdir -p /home/buildslave/srv/${JOB_NAME}
- sudo chmod 777 /home/buildslave/srv/${JOB_NAME}
- fi
- cd /home/buildslave/srv/${JOB_NAME}
-
- git config --global user.email "ci_notify@linaro.org"
- git config --global user.name "Linaro CI"
-
- rm -rf configs
- git clone https://git.linaro.org/ci/job/configs.git
- ./configs/android-chromium/chromium-build.sh
-
- # Publish
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- time python ${HOME}/bin/linaro-cp.py \
- --api_version 3 \
- --link-latest \
- chromium/src/out/Default/apks \
- android/${JOB_NAME}/${BUILD_NUMBER} \
- --include "^[^/]+[._](img[^/]*|tar[^/]*|xml|sh|apk)$" \
- --include "^[BHi][^/]+txt$" \
- --include "^(MANIFEST|MD5SUMS|changelog.txt)$"
- time python ${HOME}/bin/linaro-cp.py \
- --api_version 3 \
- --link-latest \
- ./configs/android-chromium/lava-job-definitions/hikey \
- android/${JOB_NAME}/${BUILD_NUMBER}/hikey \
- --include "^[^/]+[._](img[^/]*|tar[^/]*|xml|sh|apk|json)$" \
- --include "^[BHi][^/]+txt$" \
- --include "^(MANIFEST|MD5SUMS|changelog.txt)$"
-
- cat << EOF > ${WORKSPACE}/post_build_lava_parameters
- DEVICE_TYPE=hi6220-hikey
- TARGET_PRODUCT=hikey
- JOB_NAME=${JOB_NAME}
- BUILD_NUMBER=${BUILD_NUMBER}
- BUILD_URL=${BUILD_URL}
- LAVA_SERVER=validation.linaro.org/RPC2/
- CUSTOM_JSON_URL=https://snapshots.linaro.org/android/${JOB_NAME}/${BUILD_NUMBER}/hikey/template.json
- DOWNLOAD_URL=https://snapshots.linaro.org/android/${JOB_NAME}/${BUILD_NUMBER}
- EOF
-
- echo "Build finished"
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
-
- publishers:
- - logparser:
- parse-rules: '/var/jenkins_home/userContent/android.parse'
- unstable-on-warning: false
- fail-on-error: false
- - fingerprint:
- files: 'build/fingerprints/*'
- - email:
- recipients: 'vishal.bhoj@linaro.org fathi.boudra@linaro.org daniel.diaz@linaro.org'
diff --git a/android-chromium-gcc-armv8.yaml b/android-chromium-gcc-armv8.yaml
deleted file mode 100644
index 657e9a11e..000000000
--- a/android-chromium-gcc-armv8.yaml
+++ /dev/null
@@ -1,93 +0,0 @@
-- job:
- name: android-chromium-gcc-armv8
- project-type: freestyle
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 60
- num-to-keep: 60
- artifact-num-to-keep: 1
- parameters:
- - string:
- name: ARGS
- default: 'gcc_arm64'
- disabled: true
- node: docker-xenial-chromium
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- - timeout:
- timeout: 500
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -e
-
- if [ ! -d "/home/buildslave/srv/${JOB_NAME}" ]; then
- sudo mkdir -p /home/buildslave/srv/${JOB_NAME}
- sudo chmod 777 /home/buildslave/srv/${JOB_NAME}
- fi
- cd /home/buildslave/srv/${JOB_NAME}
-
- git config --global user.email "ci_notify@linaro.org"
- git config --global user.name "Linaro CI"
-
- rm -rf configs
- git clone https://git.linaro.org/ci/job/configs.git
- ./configs/android-chromium/chromium-build.sh
-
- # Publish
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- time python ${HOME}/bin/linaro-cp.py \
- --api_version 3 \
- --link-latest \
- chromium/src/out/Default/apks \
- android/${JOB_NAME}/${BUILD_NUMBER} \
- --include "^[^/]+[._](img[^/]*|tar[^/]*|xml|sh|apk)$" \
- --include "^[BHi][^/]+txt$" \
- --include "^(MANIFEST|MD5SUMS|changelog.txt)$"
- time python ${HOME}/bin/linaro-cp.py \
- --api_version 3 \
- --link-latest \
- ./configs/android-chromium/lava-job-definitions/hikey \
- android/${JOB_NAME}/${BUILD_NUMBER}/hikey \
- --include "^[^/]+[._](img[^/]*|tar[^/]*|xml|sh|apk|json)$" \
- --include "^[BHi][^/]+txt$" \
- --include "^(MANIFEST|MD5SUMS|changelog.txt)$"
-
- cat << EOF > ${WORKSPACE}/post_build_lava_parameters
- DEVICE_TYPE=hi6220-hikey
- TARGET_PRODUCT=hikey
- JOB_NAME=${JOB_NAME}
- BUILD_NUMBER=${BUILD_NUMBER}
- BUILD_URL=${BUILD_URL}
- LAVA_SERVER=validation.linaro.org/RPC2/
- CUSTOM_JSON_URL=https://snapshots.linaro.org/android/${JOB_NAME}/${BUILD_NUMBER}/hikey/template.json
- DOWNLOAD_URL=https://snapshots.linaro.org/android/${JOB_NAME}/${BUILD_NUMBER}
- EOF
-
- echo "Build finished"
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
-
- publishers:
- - logparser:
- parse-rules: '/var/jenkins_home/userContent/android.parse'
- unstable-on-warning: false
- fail-on-error: false
- - fingerprint:
- files: 'build/fingerprints/*'
- - email:
- recipients: 'vishal.bhoj@linaro.org fathi.boudra@linaro.org daniel.diaz@linaro.org'
diff --git a/jdk10-build-and-test.yaml b/jdk10-build-and-test.yaml
deleted file mode 100644
index bd9897920..000000000
--- a/jdk10-build-and-test.yaml
+++ /dev/null
@@ -1,127 +0,0 @@
-- job:
- name: jdk10-build-and-test
- project-type: multijob
- defaults: global
- description: |
- * This jobs builds the jdk images and runs tests and benchmarks against the built images.<br>
- * <b>Note:</b> this job is usually triggered by a source change (ie. the "jdk10-update-src-tree" job).<br>
- If it is run manually it will use the source tarball from the last successful build of that job.<br>
- * If this jobs runs to completion the results are published to http://openjdk.linaro.org/.
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: YEAR
- default: 'default'
- - string:
- name: DAY_OF_YEAR
- default: 'default'
- disabled: true
- node: master
- display-name: 'DELETE ME'
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- builders:
- - multijob:
- name: 'OpenJDK Clean job'
- condition: SUCCESSFUL
- projects:
- - name: jdk-clean-job
- current-parameters: true
- kill-phase-on: NEVER
- - multijob:
- name: 'Build jdk images'
- condition: SUCCESSFUL
- projects:
- - name: jdk10-build-image
- current-parameters: true
- kill-phase-on: FAILURE
-# FIXME - set SPECjbb2015 benchmark continuation condition from SUCCESSFUL to ALWAYS
-# Exception in thread "main" java.util.ServiceConfigurationError:
-# org.spec.jbb.core.comm.connectivity.ConnectivityProvider:
-# Provider org.spec.jbb.core.comm.connectivity.GrizzlyNioProvider could not be instantiated
-# Caused by: java.lang.IllegalStateException: java.lang.RuntimeException: java.lang.NullPointerException
- - multijob:
- name: 'SPECjbb2015 benchmark'
- condition: ALWAYS
- projects:
- - name: jdk10-specjbb2015-benchmark
- current-parameters: true
- restrict-matrix-project: 'JVM_VARIANT == "server"'
- kill-phase-on: FAILURE
- - multijob:
- name: '1GB Terasort benchmark'
- condition: SUCCESSFUL
- projects:
- - name: jdk10-terasort-benchmark
- current-parameters: true
- kill-phase-on: NEVER
- - multijob:
- name: 'JTREG tests'
- condition: SUCCESSFUL
- projects:
- - name: jdk10-jtreg-test
- current-parameters: true
- predefined-parameters: 'XJTREG_SUBCATEGORIES=tools/javap/typeAnnotations'
- kill-phase-on: NEVER
- - multijob:
- name: 'jcstress'
- condition: COMPLETED
- projects:
- - name: jdk10-jcstress-test
- current-parameters: true
- restrict-matrix-project: 'JVM_VARIANT == "server"'
- kill-phase-on: FAILURE
- - multijob:
- name: 'Publish results to openjdk.linaro.org'
- condition: SUCCESSFUL
- projects:
- - name: jdk10-publish-and-report
- current-parameters: true
- kill-phase-on: FAILURE
- - copyartifact:
- project: jdk10-update-src-tree
- filter: 'out/*'
- target: out
- flatten: true
- - copyartifact:
- project: jdk10-build-image
- filter: 'out/**/*'
- target: out
- flatten: true
- - copyartifact:
- project: jdk10-specjbb2015-benchmark
- filter: 'out/**/*'
- target: out
- flatten: true
- - copyartifact:
- project: jdk10-terasort-benchmark
- filter: 'out/**/*'
- target: out
- flatten: true
- - copyartifact:
- project: jdk10-jtreg-test
- filter: 'out/**/*'
- target: out
- flatten: true
- stable: true
- - copyartifact:
- project: jdk10-jcstress-test
- filter: 'out/**/*'
- target: out
- flatten: true
- publishers:
- - archive:
- artifacts: 'out/**/*'
diff --git a/jdk10-build-image.yaml b/jdk10-build-image.yaml
deleted file mode 100644
index 88a01960e..000000000
--- a/jdk10-build-image.yaml
+++ /dev/null
@@ -1,137 +0,0 @@
-- job:
- name: jdk10-build-image
- project-type: matrix
- defaults: global
- description: |
- * Configures and builds jdk10 (ie, bin/java, bin/javac, et al) for various configurations.<br>
- * The source tarball is copied from the jdk10-update-src-tree job.<br>
- * <b>Note:</b> we are no longer building -fastdebug variants as there is not enough time to test the images.
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - job-workspace
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: JDK_URL
- default: 'http://openjdk.linaro.org/releases/jdk9-server-release-1708.tar.xz'
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
-# - zero
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
- - copyartifact:
- project: jdk10-update-src-tree
- filter: 'out/jdk10u.tar.gz'
- target: incoming
- flatten: true
-# - copyartifact:
-# project: archive-primordial-jdk10
-# filter: 'out/primordial-jdk10.tar.gz'
-# target: incoming
-# flatten: true
- - shell: |
- #!/bin/bash
-
- set -exu
-
- #export CCACHE_DIR=~/.ccache-${JVM_VARIANT}-${BUILD_TYPE}
- #ccache -M 1G
- #ccache -s
-
- ccache_build_opts=--disable-ccache
-
- rm -rf jdk* primordial-jdk* build*
-
- wget --progress=dot -e dotbytes=2M ${JDK_URL}
- tar -Jxf jdk*.tar.xz
-
- cd jdk*/lib/security/
- rm -f cacerts
- ln -s /etc/ssl/certs/java/cacerts
-
- cd ${WORKSPACE}/jdk*
- export JAVA_HOME=${PWD}
-
- export PATH=${JAVA_HOME}/bin:${PATH}
-
- cd ${WORKSPACE}
-
- # Extract sources from upstream job
- tar xf incoming/jdk10u.tar.gz
-
- shopt -s nullglob
-
- # Extract boot jdk
- # Not used. tar xf incoming/primordial-jdk10.tar.gz
-
- # Configure and build
- mkdir -p build-stage1 build-stage2
-
- two_stage_build=0
-
- which java
- java -version
-
- if [ $two_stage_build = 1 ]; then
- pushd build-stage1
- sh ../jdk10u/configure --with-jvm-variants=${JVM_VARIANT} --with-debug-level=${BUILD_TYPE} --with-boot-jdk=${WORKSPACE}/primordial-jdk10 ${ccache_build_opts}
- make images build-test-hotspot-jtreg-native build-test-jdk-jtreg-native
- popd
-
- pushd build-stage2
- sh ../jdk10u/configure --with-jvm-variants=${JVM_VARIANT} --with-debug-level=${BUILD_TYPE} --with-boot-jdk=${WORKSPACE}/build-stage1/images/jdk ${ccache_build_opts}
- make images build-test-hotspot-jtreg-native build-test-jdk-jtreg-native
- popd
- else
- pushd build-stage2
- sh ../jdk10u/configure --with-jvm-variants=${JVM_VARIANT} --with-debug-level=${BUILD_TYPE} ${ccache_build_opts}
- make images build-test-hotspot-jtreg-native build-test-jdk-jtreg-native
- popd
- fi
-
- # Archive the result
- rm -rf out
- mkdir out
- artifact_name=jdk10u-${JVM_VARIANT}-${BUILD_TYPE}
- tar -C build-stage2/images/jdk --exclude=\*.diz --transform="s!^./!$artifact_name/!" -acf out/${artifact_name}.tar.gz .
-
- # Archive test support files.
- tar -C build-stage2/ --exclude=hotspot/jtreg/native/support/\* --transform="s!^support/!${artifact_name}-support/support/!" -acf out/${artifact_name}-support.tar.gz support/test
- publishers:
- - archive:
- artifacts: 'out/*.tar.gz'
- - email:
- recipients: 'stuart.monteith@linaro.org fathi.boudra@linaro.org'
diff --git a/jdk10-build-release.yaml b/jdk10-build-release.yaml
deleted file mode 100644
index 17541bd1d..000000000
--- a/jdk10-build-release.yaml
+++ /dev/null
@@ -1,153 +0,0 @@
-- job:
- name: jdk10-build-release
- project-type: matrix
- defaults: global
- description: |
- * Configures and builds jdk10 for release. Run after the source has passed tests.
- * Tags build with Linaro-YYMM as per normal release procedure.
- * The source tarball is copied from the jdk10-update-src-tree job.<br>
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: JDK_URL
- default: 'http://openjdk.linaro.org/releases/jdk9-server-release-1708.tar.xz'
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
- - copyartifact:
- project: jdk10-update-src-tree
- filter: 'out/jdk10u.tar.gz'
- target: incoming
- flatten: true
-# - copyartifact:
-# project: archive-primordial-jdk10
-# filter: 'out/primordial-jdk10.tar.gz'
-# target: incoming
-# flatten: true
- - shell: |
- #!/bin/bash
-
- set -exu
-
- #export CCACHE_DIR=~/.ccache-${JVM_VARIANT}-${BUILD_TYPE}
- #ccache -M 1G
- #ccache -s
- export JVM_VARIANT=server
-
- # Generate files names dependent on year/month.
- RELEASE=$(date +%y%m)
- JDKDIR=jdk10u-${JVM_VARIANT}-${BUILD_TYPE}-${RELEASE}
- JDK_SRCDIR=jdk10u-src-${RELEASE}
-
- ccache_build_opts=--disable-ccache
-
- rm -rf jdk* primordial-jdk* build*
-
- # Download, setup JDK9 for building.
- wget --progress=dot -e dotbytes=2M ${JDK_URL}
- tar -Jxf jdk*.tar.xz
-
- cd jdk*/lib/security/
- rm -f cacerts
- ln -s /etc/ssl/certs/java/cacerts
-
- cd ${WORKSPACE}/jdk*
- export JAVA_HOME=${PWD}
-
- export PATH=${JAVA_HOME}/bin:${PATH}
-
- cd ${WORKSPACE}
-
- # Setup archive directory
- mkdir out
-
- # Extract sources from upstream job
- tar xaf incoming/jdk10u.tar.gz
-
- mv jdk10u $JDK_SRCDIR
- # Tar up the source before sullying it with a build.
- tar --exclude=.hg\* -acf out/jdk10u-src-${RELEASE}.tar.xz $JDK_SRCDIR
-
- mv $JDK_SRCDIR $JDKDIR
- shopt -s nullglob
-
- # Configure and build
- mkdir -p build-stage1 build-stage2
-
- two_stage_build=0
-
- which java
- java -version
-
- if [ $two_stage_build = 1 ]; then
- pushd build-stage1
- sh ../$JDKDIR/configure --with-jvm-variants=${JVM_VARIANT} --with-debug-level=${BUILD_TYPE} --with-boot-jdk=${WORKSPACE}/primordial-jdk10 ${ccache_build_opts}
- make images
- popd
-
- pushd build-stage2
- sh ../$JDKDIR/configure --with-jvm-variants=${JVM_VARIANT} \
- --with-debug-level=${BUILD_TYPE} \
- --with-boot-jdk=${WORKSPACE}/build-stage1/images/jdk \
- ${ccache_build_opts} \
- --with-version-opt="Linaro-$RELEASE" \
- --with-version-pre="release"
- make images
- popd
- else
- pushd build-stage2
- sh ../$JDKDIR/configure --with-jvm-variants=${JVM_VARIANT} \
- --with-debug-level=${BUILD_TYPE} \
- ${ccache_build_opts} \
- --with-version-opt="Linaro-$RELEASE" \
- --with-version-pre="release"
- make images
- popd
- fi
-
- # Archive the result
- artifact_name=jdk10u-${JVM_VARIANT}-${BUILD_TYPE}-${RELEASE}
-
- # This is different from ordinary builds.
- tar -C build-stage2/images --exclude=\*.debuginfo --transform="s!^jdk!$artifact_name!" -acf out/${artifact_name}.tar.xz jdk
- publishers:
- - archive:
- artifacts: 'out/*.tar.xz'
- - email:
- recipients: 'stuart.monteith@linaro.org fathi.boudra@linaro.org'
diff --git a/jdk10-email-results.yaml b/jdk10-email-results.yaml
deleted file mode 100644
index 45a2aa507..000000000
--- a/jdk10-email-results.yaml
+++ /dev/null
@@ -1,36 +0,0 @@
-- job:
- name: jdk10-email-results
- project-type: freestyle
- defaults: global
- description: |
- * Sends the report.txt file to the aarch64-port-dev mailing list.<br>
- * The text report is copied from the jdk10-generate-text-report job.
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: master
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- builders:
- - copyartifact:
- project: jdk10-generate-email-report
- filter: 'report.txt'
- publishers:
- - email-ext:
- recipients: 'stuart.monteith@linaro.org, fathi.boudra@linaro.org, aarch64-port-dev@openjdk.java.net'
- subject: 'JTREG, JCStress, SPECjbb2015 and Hadoop/Terasort results for OpenJDK 10u on AArch64'
- content-type: text
- body: |
- ${FILE,path="report.txt"}
- success: true
diff --git a/jdk10-generate-email-report.yaml b/jdk10-generate-email-report.yaml
deleted file mode 100644
index b87570c7b..000000000
--- a/jdk10-generate-email-report.yaml
+++ /dev/null
@@ -1,74 +0,0 @@
-- job:
- name: jdk10-generate-email-report
- project-type: freestyle
- defaults: global
- description: |
- This job aggregates the results from various jobs:<br>
- <br>
- * jcstress<br>
- * jtreg<br>
- * terasort<br>
- * specjbb<br>
- <br>
- in text form suitable for the aarch64-port-dev mailing list.
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: ZERO_BASELINE
- default: '14115'
- - string:
- name: SERVER_MAX_JOPS_BASELINE
- default: '4090'
- - string:
- name: SERVER_CRITICAL_JOPS_BASELINE
- default: '1015'
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
-# Replaced by parameters
-# - inject:
-# properties-file: '${HOME}/performance-baseline.properties'
- builders:
- - copyartifact:
- project: jtreg-build
- filter: 'jtreg-build-4.2.0-SNAPSHOT.tar.xz'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- tar xf incoming/jtreg-build-4.2.0-SNAPSHOT.tar.xz
- PATH=${WORKSPACE}/jtreg/bin:${PATH}
- PERSIST=$HOME/srv/openjdk10u
- export SPECJBB_PRODUCT_HOME=$PERSIST/SPECjbb2015
- export JDK_VERSION=10u
- which jtdiff
-
- TOP_DIR=${PERSIST}/openjdk-jtreg-nightly-tests ${PERSIST}/openjdk-test-scripts/openjdk-test-summary release > ${WORKSPACE}/report.txt
- echo "" >> ${WORKSPACE}/report.txt
-
- TOP_DIR=${PERSIST} ${PERSIST}/specjbb-test-scripts/specjbb-report >> ${WORKSPACE}/report.txt
- echo "" >> ${WORKSPACE}/report.txt
-
- BENCHMARK_RESULTS_DIR=$PERSIST/hadoop-terasort-benchmark-results ${PERSIST}/hadoop-test-scripts/benchmark-terasort-report >> ${WORKSPACE}/report.txt
- echo "" >> ${WORKSPACE}/report.txt
-
- TOP_DIR=${PERSIST} ${PERSIST}/jcstress-test-scripts/jcstress-report --url http://openjdk.linaro.org/jdk${JDK_VERSION}/ >> ${WORKSPACE}/report.txt
- publishers:
- - archive:
- artifacts: 'report.txt'
- - email:
- recipients: 'fathi.boudra@linaro.org'
diff --git a/jdk10-jcstress-test-persist-results.yaml b/jdk10-jcstress-test-persist-results.yaml
deleted file mode 100644
index 2c3a08c5c..000000000
--- a/jdk10-jcstress-test-persist-results.yaml
+++ /dev/null
@@ -1,97 +0,0 @@
-- job:
- name: jdk10-jcstress-test-persist-results
- project-type: matrix
- defaults: global
- description: |
- * Writes results to:<br>
- * /work/openjdk-testing/jcstress-nightly-runs<br>
- * /work/openjdk-testing/jcstress-results
- properties:
- - authorization:
- linaro:
- - job-read
- openjdk-members:
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: YEAR
- default: 'default'
- - string:
- name: DAY_OF_YEAR
- default: 'default'
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
-# - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
-# combination-filter: |
-# JVM_VARIANT=="server"
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
- - copyartifact:
- project: jdk10-update-src-tree
- filter: 'out/build-date.sh'
- target: incoming
- flatten: true
- - copyartifact:
- project: jdk10-jcstress-test
- filter: 'out/jcstress-results-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- set -exu
-
- PERSIST=$HOME/srv/openjdk10u
-
- : ${YEAR:=$(date +%Y)}
- : ${DAY_OF_YEAR:=$(date +%j)}
-
- JCSTRESS_RUN_DIR=$PERSIST/jcstress-nightly-runs
- JCSTRESS_RESULTS_DIR=$PERSIST/jcstress-results
- RESULTS_CSV=${JCSTRESS_RESULTS_DIR}/results.csv
-
- mkdir -p $JCSTRESS_RESULTS_DIR
-
- # Tolerate missing results.csv file.
- if [ ! -f $RESULTS_CSV ]; then
- touch $RESULTS_CSV
- fi
-
- mkdir -p ${JCSTRESS_RESULTS_DIR} ${JCSTRESS_RUN_DIR}/${YEAR}/${DAY_OF_YEAR}
- tar -C ${JCSTRESS_RUN_DIR}/${YEAR}/${DAY_OF_YEAR} --strip-components=1 -xzf incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT},label=${label}/jcstress-results-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz
- numeric_date=$(date +'%s' --date=$(date +'%Y-%m-%d'))
- echo "Previous Results"
- cat ${RESULTS_CSV}
- echo "${numeric_date},${JCSTRESS_RUN_DIR}/${YEAR}/${DAY_OF_YEAR},success" >> ${RESULTS_CSV}
- sort --unique --field-separator=',' --numeric-sort -o ${RESULTS_CSV} ${RESULTS_CSV}
-
diff --git a/jdk10-jcstress-test-publish-results.yaml b/jdk10-jcstress-test-publish-results.yaml
deleted file mode 100644
index f8609d921..000000000
--- a/jdk10-jcstress-test-publish-results.yaml
+++ /dev/null
@@ -1,54 +0,0 @@
-- job:
- name: jdk10-jcstress-test-publish-results
- project-type: freestyle
- defaults: global
- description: |
- * Reports are published to http://openjdk.linaro.org/jcstress-nightly-runs/
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: PUBLISH_DEST
- default: ''
- - string:
- name: PUBLISH_HOST
- default: ''
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- - ssh-agent-credentials:
- # openjdk-testing user id
- users:
- - '744cffb4-9ce1-4856-b103-9fdda06dad36'
- builders:
- - shell: |
- #!/bin/bash
-
-
- PERSIST=$HOME/srv/openjdk10u
- SCRIPT_DIR=$PERSIST/jcstress-test-scripts
- export JDK_VERSION=10u
-
- if [ -d $SCRIPT_DIR ]; then
- (cd $SCRIPT_DIR; git pull)
- else
- git clone https://git.linaro.org/leg/openjdk/jcstress-test-scripts.git $SCRIPT_DIR
- fi
- export TOP_DIR=$PERSIST
-
- $SCRIPT_DIR/jcstress-publish $PUBLISH_DEST
- publishers:
- - email:
- recipients: 'fathi.boudra@linaro.org'
diff --git a/jdk10-jcstress-test.yaml b/jdk10-jcstress-test.yaml
deleted file mode 100644
index 55ac15484..000000000
--- a/jdk10-jcstress-test.yaml
+++ /dev/null
@@ -1,112 +0,0 @@
-- job:
- name: jdk10-jcstress-test
- project-type: matrix
- defaults: global
- description: |
- This job runs the http://openjdk.java.net/projects/code-tools/jcstress/ tests.<br>
- <b>Note:</b> this test currently takes around <b>10 hours</b> to complete<br>
- This project currently runs the "server" variant only due to the amount of time both tests would take to complete.
- properties:
- - authorization:
- linaro:
- - job-read
- openjdk-members:
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- parameters:
- - string:
- name: JCSTRESS_MODE
- default: 'sanity'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
- - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- - timeout:
- timeout: 900
- builders:
- - copyartifact:
- project: jcstress-build
- filter: 'tests-custom/target/jcstress.jar, tests-all/target/jcstress.jar'
- target: incoming
- flatten: false
-# copyartifact is slow and the file is local
-# copy instead of going back and forth between master <-> slave
-# - copyartifact:
-# project: jdk10-build-image
-# filter: 'out/jdk10-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz'
-# target: incoming
-# flatten: true
- - shell: |
- #!/bin/bash
-
- set -eu
-
- TEST_TYPE=all
-
- # client variant uses server with -XX:TieredStopAtLevel=1
- # zero is a third possible value.
- REAL_VARIANT=${JVM_VARIANT/client/server}
-
- JCSTRESS_JAR=${WORKSPACE}/incoming/tests-${TEST_TYPE}/target/jcstress.jar
- rm -rf jdk10u*
- tar xf ~/workspace/jdk10-build-image/BUILD_TYPE/${BUILD_TYPE}/JVM_VARIANT/${REAL_VARIANT}/label/${NODE_NAME}/out/jdk10u-${REAL_VARIANT}-${BUILD_TYPE}.tar.gz
- export JAVA_HOME=${WORKSPACE}/jdk10u-${REAL_VARIANT}-${BUILD_TYPE}
- export PATH=${JAVA_HOME}/bin:${PATH}
- which java
- java -version
-
- # XXX Don't fail the job if jcstress itself fails.
- set +e
- java -jar ${JCSTRESS_JAR} -m ${JCSTRESS_MODE}
-
- test_result=$?
- set -e
-
- rm -rf out
- mkdir out
-
- out_dirname=jcstress-results-${JVM_VARIANT}-${BUILD_TYPE}
-
- rm -rf ${out_dirname}
- mkdir -p ${out_dirname}
- cp jcstress-results*.bin.gz ${out_dirname}
- cp -a results ${out_dirname}
-
- tar czvf out/${out_dirname}.tar.gz ${out_dirname}
- publishers:
- - archive:
- artifacts: 'out/jcstress-results-*.tar.gz'
- - html-publisher:
- name: 'HTML Report'
- dir: 'results'
- files: 'index.html'
- keep-all: true
diff --git a/jdk10-jtreg-test-persist-results.yaml b/jdk10-jtreg-test-persist-results.yaml
deleted file mode 100644
index 94a49106c..000000000
--- a/jdk10-jtreg-test-persist-results.yaml
+++ /dev/null
@@ -1,120 +0,0 @@
-- job:
- name: jdk10-jtreg-test-persist-results
- project-type: matrix
- defaults: global
- description: |
- * Writes the results to $HOME/srv/openjdk10/openjdk-jtreg-nightly-tests.
- properties:
- - authorization:
- linaro:
- - job-read
- openjdk-members:
- - job-extended-read
- - job-build
- - job-cancel
- - job-workspace
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: YEAR
- default: 'default'
- - string:
- name: DAY_OF_YEAR
- default: 'default'
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
- - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: user-defined
- name: JTREG_CATEGORY
- values:
- - jdk
- - hotspot
- - langtools
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
- - copyartifact:
- project: jdk10-jtreg-test
- filter: 'out/jtreg-results-${JTREG_CATEGORY}-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz'
- target: incoming
- flatten: true
- - copyartifact:
- project: jdk10-build-image
- filter: 'out/jdk10u-server-${BUILD_TYPE}.tar.gz'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- set -exu
-
- tree -f .
-
- PERSIST=$HOME/srv/openjdk10u
- export JDK_VERSION=10u
-
- result_tarball=${WORKSPACE}/incoming/BUILD_TYPE=${BUILD_TYPE},JTREG_CATEGORY=${JTREG_CATEGORY},JVM_VARIANT=${JVM_VARIANT},label=${label}/jtreg-results-${JTREG_CATEGORY}-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz
-
- image_tarball=${WORKSPACE}/incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=server,label=${label}/jdk10u-server-${BUILD_TYPE}.tar.gz
-
- : ${YEAR:=$(date +%Y)}
- : ${DAY_OF_YEAR:=$(date +%j)}
-
- basedir=$PERSIST/openjdk-jtreg-nightly-tests
- src_dir=${basedir}/src/${YEAR}/${DAY_OF_YEAR}
- work_dir=${basedir}/builds/${JVM_VARIANT}-${BUILD_TYPE}/${YEAR}/${DAY_OF_YEAR}/JTwork-${JTREG_CATEGORY}
- report_dir=${basedir}/reports/${JVM_VARIANT}-${BUILD_TYPE}/${JTREG_CATEGORY}/$(uname -m)/${YEAR}/${DAY_OF_YEAR}/JTreport
- image_dir=${basedir}/builds/${JVM_VARIANT}-${BUILD_TYPE},label=${label}/${YEAR}/${DAY_OF_YEAR}/images/jdk
-
- rm -rf ${image_dir}
- mkdir -p ${image_dir}
-
- tar -C ${basedir} \
- --transform="s/YYY__DAY_OF_YEAR__YYY/$DAY_OF_YEAR/;s/XXX__YEAR__XXX/$YEAR/" \
- --show-transformed-names \
- --overwrite \
- -xvf ${result_tarball}
-
- tar -C ${image_dir} \
- --strip-components=1 \
- --show-transformed-names \
- --overwrite \
- -xvf ${image_tarball}
-
- # Change location.
- # Match the exact output of the cron-based scripts.
- sed_expr1=$(echo s!XXX__YEAR__XXX!$YEAR!g)
- sed_expr2=$(echo s!YYY__DAY_OF_YEAR__YYY!$DAY_OF_YEAR!g)
-
- find ${work_dir} -type f -exec perl -p -i -e "$sed_expr1" {} \;
- find ${work_dir} -type f -exec perl -p -i -e "$sed_expr2" {} \;
-
- find ${report_dir} -type f -exec perl -p -i -e "$sed_expr1" {} \;
- find ${report_dir} -type f -exec perl -p -i -e "$sed_expr2" {} \;
diff --git a/jdk10-jtreg-test-publish-results.yaml b/jdk10-jtreg-test-publish-results.yaml
deleted file mode 100644
index c9e6828d6..000000000
--- a/jdk10-jtreg-test-publish-results.yaml
+++ /dev/null
@@ -1,71 +0,0 @@
-- job:
- name: jdk10-jtreg-test-publish-results
- project-type: freestyle
- defaults: global
- description: |
- * Results are published to http://openjdk.linaro.org/jdk10/openjdk-jtreg-nightly-tests/
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: PUBLISH_DEST
- default: ''
- - string:
- name: PUBLISH_HOST
- default: ''
- - string:
- name: YEAR
- default: 'default'
- - string:
- name: DAY_OF_YEAR
- default: 'default'
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- - ssh-agent-credentials:
- users:
- - '744cffb4-9ce1-4856-b103-9fdda06dad36'
- builders:
- - copyartifact:
- project: jtreg-build
- filter: 'jtreg-build-4.2.0-SNAPSHOT.tar.xz'
- flatten: true
- - shell: |
- #!/bin/bash
-
- set -ex
-
- PERSIST=$HOME/srv/openjdk10u
- SCRIPT_DIR=$PERSIST/openjdk-test-scripts
- export JDK_VERSION=10u
-
- (unset PRIVATE_KEY; env | sort >$WORKSPACE/env.out)
- tree -fd -L 5 $PERSIST | xz >$WORKSPACE/tree.out.xz
-
- if [ -d $SCRIPT_DIR ]; then
- (cd $SCRIPT_DIR; git pull)
- else
- git clone https://git.linaro.org/leg/openjdk/openjdk-test-scripts.git $SCRIPT_DIR
- fi
-
- tar xf jtreg-build-4.2.0-SNAPSHOT.tar.xz
- export PATH=${WORKSPACE}/jtreg/bin:$PATH
- which jtdiff
- TOP_DIR=$PERSIST/openjdk-jtreg-nightly-tests bash -x $SCRIPT_DIR/publish $PUBLISH_DEST $NODE_NAME
- publishers:
- - archive:
- artifacts: 'tree.out.xz, env.out'
- - email:
- recipients: 'fathi.boudra@linaro.org stuart.monteith@linaro.org'
diff --git a/jdk10-jtreg-test.yaml b/jdk10-jtreg-test.yaml
deleted file mode 100644
index e5187cc76..000000000
--- a/jdk10-jtreg-test.yaml
+++ /dev/null
@@ -1,228 +0,0 @@
-- job:
- name: jdk10-jtreg-test
- project-type: matrix
- defaults: global
- description: |
- * Runs the jtreg tests.
- properties:
- - authorization:
- linaro:
- - job-read
- openjdk-members:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: YEAR
- default: 'default'
- - string:
- name: DAY_OF_YEAR
- default: 'default'
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
- - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: user-defined
- name: JTREG_CATEGORY
- values:
- - hotspot
- - langtools
- - jdk
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
- sequential: true
- wrappers:
- - xvfb:
- auto-display-name: true
- additional-options: '-p unix'
- debug: true
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
- - copyartifact:
- project: jtreg-build
- filter: 'jtreg-build-4.2.0-SNAPSHOT.tar.xz'
- target: incoming
- flatten: true
-# copyartifact is slow and the file is local
-# copy instead of going back and forth between master <-> slave
-# - copyartifact:
-# project: jdk10-build-image
-# filter: 'out/jdk10-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz'
-# target: incoming
-# flatten: true
- - copyartifact:
- project: jdk10-update-src-tree
- filter: 'out/jdk10u.tar.gz, out/build-date.sh'
- target: incoming
- flatten: true
- - copyartifact:
- project: jcstress-build
- filter: 'tests-all/target/jcstress.jar'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- echo "DISPLAY=${DISPLAY}"
-
- set -exu
-
- source incoming/build-date.sh
-
- export JDK_VERSION=10u
- # client variant uses server with -XX:TieredStopAtLevel=1
- # zero is a third possible value.
- REAL_VARIANT=${JVM_VARIANT/client/server}
- IMAGE_DIR=${WORKSPACE}/jdk10u-${REAL_VARIANT}-${BUILD_TYPE}
- PERSIST=$HOME/srv/openjdk10u
-
- JCSTRESS=$PWD/incoming/jcstress.jar
-
- tar xf incoming/jdk10u.tar.gz
- tar xf ~/workspace/jdk10-build-image/BUILD_TYPE/${BUILD_TYPE}/JVM_VARIANT/${REAL_VARIANT}/label/${NODE_NAME}/out/jdk10u-${REAL_VARIANT}-${BUILD_TYPE}.tar.gz
- tar xf incoming/jtreg-build-4.2.0-SNAPSHOT.tar.xz
- tar xf ~/workspace/jdk10-build-image/BUILD_TYPE/${BUILD_TYPE}/JVM_VARIANT/${REAL_VARIANT}/label/${NODE_NAME}/out/jdk10u-${REAL_VARIANT}-${BUILD_TYPE}-support.tar.gz
-
- # All the output directories and general frobbing
- # output is to match the existing layout as expected
- # by the cron-based publish and reporting scripts.
- # XXX There's probably a better way.
-
- YEAR=XXX__YEAR__XXX
- DAY_OF_YEAR=YYY__DAY_OF_YEAR__YYY
-
- basedir=cron_output
- mkdir -p ${basedir}/{src,builds,reports}
-
- src_dir=${basedir}/src/${YEAR}/${DAY_OF_YEAR}
- work_dir=${basedir}/builds/${JVM_VARIANT}-${BUILD_TYPE}/${YEAR}/${DAY_OF_YEAR}/JTwork-${JTREG_CATEGORY}
- report_dir=${basedir}/reports/${JVM_VARIANT}-${BUILD_TYPE}/${JTREG_CATEGORY}/$(uname -m)/${YEAR}/${DAY_OF_YEAR}/JTreport
-
- mkdir -p out ${src_dir} ${work_dir} ${report_dir}
-
- mv jdk10u/* ${src_dir}
-
- blacklist=${WORKSPACE}/excludes.txt
- jdk_problem_list=${src_dir}/${JTREG_CATEGORY}/test/ProblemList.txt
-
- if [ -e $jdk_problem_list ]; then
- cat $jdk_problem_list > ${blacklist}
- fi
-
- aarch64_exclude_file=${src_dir}/test/exclude_aarch64.txt
-
- if [ -e ${aarch64_exclude_file} ]; then
- cat ${aarch64_exclude_file} >> ${blacklist}
- fi
-
- touch ${blacklist}
-
- echo "Blacklist"
- echo "========="
- cat ${blacklist}
- echo "---------"
-
- export JAVA_HOME=${WORKSPACE}/jdk10u-${REAL_VARIANT}-${BUILD_TYPE}
- export PATH=$JAVA_HOME/bin:${PATH}
-
- # For hotspot and jdk we pass a -nativepath: option to jtreg.
- # This enables the tests needing native libraries to run.
- NATIVEPATH=${WORKSPACE}/jdk10u-${REAL_VARIANT}-${BUILD_TYPE}-support/support/test/${JTREG_CATEGORY}/jtreg/native/lib
-
- if [ $JTREG_CATEGORY = "langtools" ]; then
- # The nativepath option we pass must be a valid directory, or
- # not at all.`
- NATIVE_OPT=
- else
- # Test executables are expected to be in same directory as libraries
- mv $NATIVEPATH/../bin/* $NATIVEPATH
- NATIVE_OPT=-nativepath:$NATIVEPATH
- fi
-
- PATH=${WORKSPACE}/jtreg/bin:${PATH}
- which java
- java -version
-
- # Ignore error in jtreg final result.
- set +e
-
- # hotspot splits its tests into gtest jtreg tests. We just do jtreg.
- if [ $JTREG_CATEGORY == "hotspot" ]; then
- TEST_SUBDIR=test/${JTREG_CATEGORY}/jtreg:hotspot_all_no_apps
- else
- TEST_SUBDIR=test/${JTREG_CATEGORY}
- fi
-
- if [ $JVM_VARIANT = "server" ]; then
- java -jar jtreg/lib/jtreg.jar \
- -dir:${src_dir} \
- -vmoption:-Djdk.test.lib.artifacts.jcstress-tests-all=$JCSTRESS \
- -vmoption:-XX:-TieredCompilation \
- -testjdk:${IMAGE_DIR} \
- -exclude:${blacklist} \
- -conc:auto \
- -r:${report_dir} \
- -w:${work_dir} \
- $NATIVE_OPT \
- -timeout:8 \
- -a -agentvm -ignore:quiet -v1 ${TEST_SUBDIR}| cat -n
- else
- java -jar jtreg/lib/jtreg.jar \
- -dir:${src_dir} \
- -vmoption:-Djdk.test.lib.artifacts.jcstress-tests-all=$JCSTRESS \
- -vmoption:-XX:+TieredCompilation \
- -vmoption:-XX:TieredStopAtLevel=1 \
- -testjdk:${IMAGE_DIR} \
- -exclude:${blacklist} \
- -conc:auto \
- -r:${report_dir} \
- -w:${work_dir} \
- $NATIVE_OPT \
- -timeout:8 \
- -a -agentvm -ignore:quiet -v1 ${TEST_SUBDIR} | cat -n
- fi
-
- # Kill leftover jstatd processes.
- killall -9 jstatd
- set -e
-
- # We don't care for the .class files.
- find ${work_dir} -name \*.class -exec rm {} \;
-
- # Match the exact output of the cron-based scripts.
- dest=$PERSIST/openjdk-jtreg-nightly-tests
- sed_expr=$(echo s!${WORKSPACE}/${basedir}!$dest!g)
- find ${work_dir} -type f -exec perl -p -i -e "$sed_expr" {} \;
- find ${report_dir} -type f -exec perl -p -i -e "$sed_expr" {} \;
-
- mkdir -p out
- tar -C ${basedir} --show-transformed-names -acvf out/jtreg-results-${JTREG_CATEGORY}-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz builds reports
- publishers:
- - archive:
- artifacts: 'out/jtreg-results-${JTREG_CATEGORY}-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz'
diff --git a/jdk10-persist-all-results.yaml b/jdk10-persist-all-results.yaml
deleted file mode 100644
index 788d6f34b..000000000
--- a/jdk10-persist-all-results.yaml
+++ /dev/null
@@ -1,51 +0,0 @@
-- job:
- name: jdk10-persist-all-results
- project-type: freestyle
- defaults: global
- description: |
- * This job persist all results.
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: YEAR
- default: 'default'
- - string:
- name: DAY_OF_YEAR
- default: 'default'
- disabled: true
- node: master
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- builders:
- - trigger-builds:
- - project: jdk10-jtreg-test-persist-results
- block: true
- current-parameters: true
- - trigger-builds:
- - project: jdk10-specjbb2015-benchmark-persist-results
- block: true
- current-parameters: true
- - trigger-builds:
- - project: jdk10-terasort-benchmark-persist-results
- block: true
- current-parameters: true
- - trigger-builds:
- - project: jdk10-jcstress-test-persist-results
- block: true
- current-parameters: true
- - trigger-builds:
- - project: jdk10-update-src-tree-persist
- block: true
- current-parameters: true
diff --git a/jdk10-publish-all-results.yaml b/jdk10-publish-all-results.yaml
deleted file mode 100644
index f3682bad2..000000000
--- a/jdk10-publish-all-results.yaml
+++ /dev/null
@@ -1,56 +0,0 @@
-- job:
- name: jdk10-publish-all-results
- project-type: freestyle
- defaults: global
- description: |
- * Convenience job to invoke all the scripts that sync the results to openjdk.linaro.org.
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: master
- display-name: 'DELETE ME'
- parameters:
- - string:
- name: PUBLISH_DEST
- default: '/home/openjdk-testing/jdk10'
- - string:
- name: PUBLISH_HOST
- default: 'stuart.monteith@people.linaro.org'
- - string:
- name: YEAR
- default: 'default'
- - string:
- name: DAY_OF_YEAR
- default: 'default'
- wrappers:
- - timestamps
- builders:
- - trigger-builds:
- - project: jdk10-jtreg-test-publish-results
- block: true
- current-parameters: true
- - trigger-builds:
- - project: jdk10-specjbb2015-benchmark-publish-results
- block: true
- current-parameters: true
- - trigger-builds:
- - project: jdk10-terasort-benchmark-publish-results
- block: true
- current-parameters: true
- - trigger-builds:
- - project: jdk10-jcstress-test-publish-results
- block: true
- current-parameters: true
- publishers:
- - email:
- recipients: 'fathi.boudra@linaro.org stuart.monteith@linaro.org'
diff --git a/jdk10-publish-and-report.yaml b/jdk10-publish-and-report.yaml
deleted file mode 100644
index bafe3f9de..000000000
--- a/jdk10-publish-and-report.yaml
+++ /dev/null
@@ -1,63 +0,0 @@
-- job:
- name: jdk10-publish-and-report
- project-type: multijob
- defaults: global
- description: |
- * This job publishes results and send e-mail reports.
- logrotate:
- numToKeep: 10
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- parameters:
- - string:
- name: DAYS
- default: '15'
- - string:
- name: YEAR
- default: 'default'
- - string:
- name: DAY_OF_YEAR
- default: 'default'
- disabled: true
- node: master
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
-# Replaced by parameters
-# - inject:
-# properties-content: 'DAYS=15'
- builders:
- - multijob:
- name: 'Persist results'
- condition: SUCCESSFUL
- projects:
- - name: jdk10-persist-all-results
- current-parameters: true
- kill-phase-on: FAILURE
- - multijob:
- name: 'Publish results to openjdk.linaro.org'
- condition: SUCCESSFUL
- projects:
- - name: jdk10-publish-all-results
- current-parameters: true
- kill-phase-on: FAILURE
- - multijob:
- name: 'Generate e-mail report'
- condition: SUCCESSFUL
- projects:
- - name: jdk10-generate-email-report
- current-parameters: true
- kill-phase-on: FAILURE
- - multijob:
- name: 'E-mail results'
- condition: SUCCESSFUL
- projects:
- - name: jdk10-email-results
- current-parameters: true
- kill-phase-on: FAILURE
diff --git a/jdk10-specjbb2015-benchmark-persist-results.yaml b/jdk10-specjbb2015-benchmark-persist-results.yaml
deleted file mode 100644
index 86ad6064f..000000000
--- a/jdk10-specjbb2015-benchmark-persist-results.yaml
+++ /dev/null
@@ -1,87 +0,0 @@
-- job:
- name: jdk10-specjbb2015-benchmark-persist-results
- project-type: matrix
- defaults: global
- description: |
- * Writes the results to $HOME/srv/openjdk10/SPECjbb2015-nightly-runs.<br>
- * This job has the client axis <b>disabled</b> until there is enough build/test time available.<br>
- * If the client axis is enabled the heap size for the VM will need to be adjusted using -Xmxm
- properties:
- - authorization:
- linaro:
- - job-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
-# - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
-# combination-filter: |
-# JVM_VARIANT=="server"
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
- - copyartifact:
- project: jdk10-specjbb2015-benchmark
- filter: 'out/specjbb*.gz'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- tree -f .
-
- PERSIST=$HOME/srv/openjdk10u
- TOP_DIR=$PERSIST
- export SPECJBB_PRODUCT_HOME=$PERSIST/SPECjbb2015
- mkdir -p $TOP_DIR
-
- SCRIPT_DIR=$PERSIST/specjbb-test-scripts
- if [ -d $SCRIPT_DIR ]; then
- (cd $SCRIPT_DIR; git pull)
- else
- git clone https://git.linaro.org/leg/openjdk/specjbb-test-scripts.git $SCRIPT_DIR
- fi
-
- source $SCRIPT_DIR/common.sh
-
- # Ensure nightly results dir exists.
- mkdir -p $SPECJBB_EXPANDED_RESULTS_DIR
-
- echo "Previous Results"
- cat ${RESULTS_CSV}
- set -eux
- result_tarball=${WORKSPACE}/incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT},label=${label}/specjbb-result-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz
- [ -e $result_tarball ] || exit 1
- tar -C ${SPECJBB_EXPANDED_RESULTS_DIR} -xf $result_tarball
- cp incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT},label=${label}/*.data.gz ${SPECJBB_EXPANDED_RESULTS_DIR}
- pushd ${SPECJBB_EXPANDED_RESULTS_DIR}
- echo "Updating ${RESULTS_CSV}"
- $SCRIPT_DIR/update-results-csv -- --verbose --output=${RESULTS_CSV}
diff --git a/jdk10-specjbb2015-benchmark-publish-results.yaml b/jdk10-specjbb2015-benchmark-publish-results.yaml
deleted file mode 100644
index 5d69cb304..000000000
--- a/jdk10-specjbb2015-benchmark-publish-results.yaml
+++ /dev/null
@@ -1,59 +0,0 @@
-- job:
- name: jdk10-specjbb2015-benchmark-publish-results
- project-type: freestyle
- defaults: global
- description: |
- * Reports are published to http://openjdk.linaro.org/jdk10/SPECjbb2015-results/
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: ZERO_BASELINE
- default: '14115'
- - string:
- name: SERVER_MAX_JOPS_BASELINE
- default: '4090'
- - string:
- name: SERVER_CRITICAL_JOPS_BASELINE
- default: '1015'
- - string:
- name: PUBLISH_DEST
- default: ''
- - string:
- name: PUBLISH_HOST
- default: ''
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- - ssh-agent-credentials:
- # openjdk-testing user id
- users:
- - '744cffb4-9ce1-4856-b103-9fdda06dad36'
-# Replaced by parameters
-# - inject:
-# properties-file: '${HOME}/performance-baseline.properties'
- builders:
- - shell: |
- #!/bin/bash
-
- set -exu
- PERSIST=$HOME/srv/openjdk10u
- export TOP_DIR=$PERSIST
- export SPECJBB_PRODUCT_HOME=$PERSIST/SPECjbb2015
-
- $PERSIST/specjbb-test-scripts/specjbb-publish $PUBLISH_DEST
- publishers:
- - email:
- recipients: 'fathi.boudra@linaro.org stuart.monteith@linaro.org'
diff --git a/jdk10-specjbb2015-benchmark.yaml b/jdk10-specjbb2015-benchmark.yaml
deleted file mode 100644
index 4ba023467..000000000
--- a/jdk10-specjbb2015-benchmark.yaml
+++ /dev/null
@@ -1,127 +0,0 @@
-- job:
- name: jdk10-specjbb2015-benchmark
- project-type: matrix
- defaults: global
- description: |
- * Runs the specjbb2015 benchmark in composite mode (i.e., single VM, single node).
- properties:
- - authorization:
- linaro:
- - job-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
- - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
-# copyartifact is slow and the file is local
-# copy instead of going back and forth between master <-> slave
-# - copyartifact:
-# project: jdk10-build-image
-# filter: 'out/jdk10-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz'
-# target: incoming
-# flatten: true
- - copyartifact:
- project: archive-specjbb2015-product-tarball
- filter: 'out/SPECjbb2015.tgz'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- set -exu
- #
- # client variant uses server with -XX:TieredStopAtLevel=1
- # zero is a third possible value.
- REAL_VARIANT=${JVM_VARIANT/client/server}
-
- ## Extract jdk
- tar xf ~/workspace/jdk10u-build-image/BUILD_TYPE/${BUILD_TYPE}/JVM_VARIANT/${REAL_VARIANT}/label/${NODE_NAME}/out/jdk10u-${REAL_VARIANT}-${BUILD_TYPE}.tar.gz
- export JAVA_HOME=${WORKSPACE}/jdk10u-${REAL_VARIANT}-${BUILD_TYPE}
- export PATH=$JAVA_HOME/bin:$PATH
- which java
- java -version
-
- ## Extract specjbb2015 product
- tar xf incoming/SPECjbb2015.tgz
-
- ## Run test
-
- SPECJBB_PRODUCT_HOME=SPECjbb2015
-
- # This commented-out invocation is a quick test that
- # takes about 10 minutes to complete - which can be
- # useful when debugging.
-
- #(cd $SPECJBB_PRODUCT_HOME; \
- # time java \
- # -Dspecjbb.controller.rtcurve.duration.min=500 \
- # -Dspecjbb.controller.rtcurve.duration.max=1500 \
- # -Dspecjbb.controller.type=PRESET \
- # -Dspecjbb.controller.preset.ir=4000 \
- # -Dspecjbb.controller.preset.duration=100 \
- # -jar specjbb2015.jar -m composite)
-
- if [ $JVM_VARIANT = "server" ]; then
- (cd $SPECJBB_PRODUCT_HOME; java --add-modules java.se.ee -XX:+UseLargePages -XX:-UseBiasedLocking -Xmx12g -Xms12g -XX:+UseParallelOldGC -jar specjbb2015.jar -m composite)
- else
- (cd $SPECJBB_PRODUCT_HOME; java --add-modules java.se.ee -XX:TieredStopAtLevel=1 -XX:+UseLargePages -XX:-UseBiasedLocking -Xmx12g -Xms12g -XX:+UseParallelOldGC -jar specjbb2015.jar -m composite)
- fi
-
- mkdir -p out
-
- datafile=$(basename $(echo $SPECJBB_PRODUCT_HOME/specjbb*.data.gz) | sed "s/\(specjbb2015\)/\1-${JVM_VARIANT}-${BUILD_TYPE}/")
-
- cp $SPECJBB_PRODUCT_HOME/specjbb*.data.gz out/$datafile
-
- java -jar $SPECJBB_PRODUCT_HOME/specjbb2015.jar \
- -m REPORTER \
- -raw $SPECJBB_PRODUCT_HOME/config/template-M.raw \
- -p $SPECJBB_PRODUCT_HOME/config/specjbb2015.props \
- -s $SPECJBB_PRODUCT_HOME/specjbb2015-C-*.data.gz \
- -l 1
-
- tar -acf out/specjbb-result-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz result
-
- rm -rf html
- mkdir html
- cp -a result/**/report-00001/* html
- cp html/*0001.html html/index.html
- publishers:
- - archive:
- artifacts: 'out/*.gz'
- - html-publisher:
- name: 'HTML Report'
- dir: 'html'
- files: 'index.html'
- keep-all: true
diff --git a/jdk10-terasort-benchmark-persist-results.yaml b/jdk10-terasort-benchmark-persist-results.yaml
deleted file mode 100644
index 3aac2a69a..000000000
--- a/jdk10-terasort-benchmark-persist-results.yaml
+++ /dev/null
@@ -1,85 +0,0 @@
-- job:
- name: jdk10-terasort-benchmark-persist-results
- project-type: matrix
- defaults: global
- description: |
- * Writes results to /work/openjdk-testing/hadoop-terasort-benchmark-results.
- properties:
- - authorization:
- linaro:
- - job-read
- openjdk-members:
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
- - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
- - copyartifact:
- project: jdk10-terasort-benchmark
- filter: 'out/terasort-results-${JVM_VARIANT}-${BUILD_TYPE}.csv'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- set -exu
-
- PERSIST=$HOME/srv/openjdk10u
- export BENCHMARK_RESULTS_DIR=$PERSIST/hadoop-terasort-benchmark-results
- new_results=incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT},label=${label}/*.csv
- prev_results=$BENCHMARK_RESULTS_DIR/results.csv
-
- # Ensure persistent directory exists.
- mkdir -p $BENCHMARK_RESULTS_DIR
-
- # Tolerate missing results.csv file.
- if [ ! -f $prev_results ]; then
- touch $prev_results
- fi
-
- SCRIPT_DIR=$PERSIST/hadoop-test-scripts
- if [ -d $SCRIPT_DIR ]; then
- (cd $SCRIPT_DIR; git pull)
- else
- git clone https://git.linaro.org/leg/openjdk/hadoop-test-scripts.git $SCRIPT_DIR
- fi
-
- echo "Previous Results"
- echo "----------------"
- cat ${prev_results}
- echo
-
- cat ${new_results} >> ${prev_results}
-
- $SCRIPT_DIR/update-results-db
diff --git a/jdk10-terasort-benchmark-publish-results.yaml b/jdk10-terasort-benchmark-publish-results.yaml
deleted file mode 100644
index 5aebbc961..000000000
--- a/jdk10-terasort-benchmark-publish-results.yaml
+++ /dev/null
@@ -1,67 +0,0 @@
-- job:
- name: jdk10-terasort-benchmark-publish-results
- project-type: freestyle
- defaults: global
- description: |
- * Results are published to http://openjdk.linaro.org/hadoop-terasort-benchmark-results/
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: ZERO_BASELINE
- default: '14115'
- - string:
- name: SERVER_MAX_JOPS_BASELINE
- default: '3275'
- - string:
- name: SERVER_CRITICAL_JOPS_BASELINE
- default: '854'
- - string:
- name: PUBLISH_DEST
- default: ''
- - string:
- name: PUBLISH_HOST
- default: ''
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - ssh-agent-credentials:
- # openjdk-testing user id
- users:
- - '744cffb4-9ce1-4856-b103-9fdda06dad36'
- - timestamps
-# Replaced by parameters
-# - inject:
-# properties-file: '${HOME}/performance-baseline.properties'
- builders:
- - shell: |
- #!/bin/bash
- PERSIST=$HOME/srv/openjdk10u
- export JDK_VERSION=10u
-
- export BENCHMARK_RESULTS_DIR=$PERSIST/hadoop-terasort-benchmark-results
- SCRIPT_DIR=$PERSIST/hadoop-test-scripts
-
- if [ -d $SCRIPT_DIR ]; then
- (cd $SCRIPT_DIR; git pull)
- else
- git clone https://git.linaro.org/leg/openjdk/hadoop-test-scripts.git $SCRIPT_DIR
- fi
-
- $SCRIPT_DIR/benchmark-terasort-publish $PUBLISH_DEST
- publishers:
- - email:
- recipients: 'fathi.boudra@linaro.org stuart.monteith@linaro.org'
diff --git a/jdk10-terasort-benchmark.yaml b/jdk10-terasort-benchmark.yaml
deleted file mode 100644
index 3d99c51b5..000000000
--- a/jdk10-terasort-benchmark.yaml
+++ /dev/null
@@ -1,140 +0,0 @@
-- job:
- name: jdk10-terasort-benchmark
- project-type: matrix
- defaults: global
- description: |
- * Runs the terasort benchmark.
- properties:
- - authorization:
- linaro:
- - job-read
- openjdk-members:
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
- - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
-# copyartifact is slow and the file is local
-# copy instead of going back and forth between master <-> slave
-# - copyartifact:
-# project: jdk10-build-image
-# filter: 'out/jdk10-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz'
-# target: incoming
-# flatten: true
- - copyartifact:
- project: openjdk8-hadoop-LCA14
- filter: 'out/openjdk8-hadoop-LCA14.tar.gz'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- set -exu
-
- NGIGABYTES=1
-
- # client variant uses server with -XX:TieredStopAtLevel=1
- # zero is a third possible value.
- REAL_VARIANT=${JVM_VARIANT/client/server}
-
- ## Extract jdk
- rm -rf jdk10u*
- tar xf ~/workspace/jdk10u-build-image/BUILD_TYPE/${BUILD_TYPE}/JVM_VARIANT/${REAL_VARIANT}/label/${NODE_NAME}/out/jdk10u-${REAL_VARIANT}-${BUILD_TYPE}.tar.gz
-
- export JAVA_HOME=${WORKSPACE}/jdk10u-${REAL_VARIANT}-${BUILD_TYPE}
- export PATH=${JAVA_HOME}/bin:$PATH
-
- ## Extract Hadoop pre-builts
- rm -rf openjdk8-hadooop-LCA14
- tar xf incoming/openjdk8-hadoop-LCA14.tar.gz
-
- ## Benchmark
- # FIXME
- #(cd incoming; wget --progress=dot -e dotbytes=10M http://openjdk-apm1/openjdk8-build-artefacts/${NGIGABYTES}GB.tar.gz; tar xf ${NGIGABYTES}GB.tar.gz)
- (cd incoming; tar xf ~/srv/hadoop-terasort-reference-files/${NGIGABYTES}GB.tar.gz)
-
- TERAGEN_BASELINE_DIR=${WORKSPACE}/incoming
- HADOOP_DIR=${WORKSPACE}/openjdk8-hadoop-LCA14
-
- rm -rf out
- mkdir out
-
- sed -i '/^export JAVA_HOME=/d' ${HADOOP_DIR}/conf/hadoop-env.sh
- echo "export JAVA_HOME=$JAVA_HOME" >> ${HADOOP_DIR}/conf/hadoop-env.sh
- sed -i 's|/work/${user.name}/hadoop-tmp|${user.home}/hadoop/tmp|' ${HADOOP_DIR}/conf/core-site.xml
-
- source ${HADOOP_DIR}/env.sh
-
- which hadoop
- which java
- which hdfs
- java -version
-
- stop-dfs.sh
- stop-yarn.sh
-
- rm -rf ${HOME}/hadoop
- mkdir -p ${HOME}/hadoop/tmp
- hdfs namenode -format -force
- start-dfs.sh
- start-yarn.sh
-
- # Need time for the datanodes to materialise.
- sleep 30
- jps
-
- hadoop fs -mkdir -p /user/$USER
- hadoop fs -copyFromLocal $TERAGEN_BASELINE_DIR/${NGIGABYTES}GB /user/$USER
-
- trap "stop-dfs.sh; stop-yarn.sh" EXIT
-
- # Use only C1 compiler for client runs.
- if [ $JVM_VARIANT = "client" ]; then
- VARIANT_OPT=-XX:TieredStopAtLevel=1
- else
- VARIANT_OPT=-Dharmless.property
- fi
-
- elapsed_time_file=$(mktemp /tmp/benchmark-terasort-XXXXXX.$$)
- HADOOP_OPTS=${VARIANT_OPT} /usr/bin/time -o $elapsed_time_file -f "%e" terasort ${NGIGABYTES}GB ${NGIGABYTES}GB-sorted
-
- hadoop fs -rm -R ${NGIGABYTES}GB-sorted
- sed -i 's/\..*//' $elapsed_time_file
- elapsed_time=$(cat $elapsed_time_file)
- date_as_epoch=$(date --date="$(date +'%Y-%m-%d')" +%s)
- echo "$date_as_epoch,$JVM_VARIANT,$NGIGABYTES,$elapsed_time" > out/terasort-results-${JVM_VARIANT}-${BUILD_TYPE}.csv
- rm -rf incoming/${NGIGABYTES}*
- publishers:
- - archive:
- artifacts: 'out/terasort-results-*.csv'
diff --git a/jdk10-update-src-tree-persist.yaml b/jdk10-update-src-tree-persist.yaml
deleted file mode 100644
index 9f54c22b0..000000000
--- a/jdk10-update-src-tree-persist.yaml
+++ /dev/null
@@ -1,56 +0,0 @@
-- job:
- name: jdk10-update-src-tree-persist
- project-type: freestyle
- defaults: global
- description: |
- This jobs writes the current jdk10 src tree to /work/openjdk-testing/jdk10/openjdk-jtreg-nightly-tests/...<br>
- It is used to report failure/errors against the jtreg results.
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: YEAR
- default: 'default'
- - string:
- name: DAY_OF_YEAR
- default: 'default'
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- builders:
- - copyartifact:
- project: jdk10-update-src-tree
- filter: 'out/*'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- set -exu
-
- : ${YEAR:=$(date +%Y)}
- : ${DAY_OF_YEAR:=$(date +%j)}
- PERSIST=$HOME/srv/openjdk10u
-
- TOP_DIR=$PERSIST/openjdk-jtreg-nightly-tests
- src_dir=$TOP_DIR/src/$YEAR/$DAY_OF_YEAR
- mkdir -p $src_dir
- echo "Extracting tarball to $src_dir"
- tar -C $src_dir --strip-components=1 -xf $WORKSPACE/incoming/jdk10u.tar.gz
-
- # Copy bill-of-materials to persistent area for email report.
- cp incoming/BOM $TOP_DIR
diff --git a/jdk10-update-src-tree.yaml b/jdk10-update-src-tree.yaml
deleted file mode 100644
index 9bc622836..000000000
--- a/jdk10-update-src-tree.yaml
+++ /dev/null
@@ -1,94 +0,0 @@
-- scm:
- name: jdk10u
- scm:
- - hg:
- url: https://hg.openjdk.java.net/jdk-updates/jdk10u
- clean: true
- subdir: jdk10u
-- job:
- name: jdk10-update-src-tree
- project-type: freestyle
- defaults: global
- description: |
- This job polls upstream Mercurial servers for changes and,<br>
- if there are any, triggers "jdk10-build-and-test".<br>
- Note: this job archives the src which is later required by the jtreg<br>
- report and publish job. The build-date.sh artefact contains shell<br>
- variables for the day and day-of-year the source was archived.
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- scm:
- - jdk10u
- triggers:
- # Trigger builds every Friday morning at 0:00 am.
- - pollscm:
- cron: '0 0 * * 5'
- wrappers:
- - timestamps
- builders:
- - shell: |
- #!/bin/bash
-
- set -eu
-
- rm -rf out
- mkdir out
-
- pushd jdk10u
- #find . -name BOM -exec rm {} \;
- #commit_id=$(hg identify | awk '{print $1}')
- #echo "jdk10-${commit_id}" | tee -a BOM
-
- #for i in corba jaxp jaxws langtools jdk hotspot nashorn; do
- # pushd $i
- # commit_id=$(hg identify | awk '{print $1}')
- # dir=$(basename $PWD)
- # echo "${dir}-${commit_id}" | tee -a ../BOM
- # popd
- #done
-
- ## Pull out subdirectory HG versions
- echo BOM for $(hg paths default) > BOM
- echo -e Subdir\\tHash\\t\\tTag\\tTag hash >> BOM
- echo -e .\\t$(hg head --template '{node|short}\t' tip; hg tags --template="{tag}\t{node|short}\n" | grep -ve '^tip' | head -n1) >>BOM
-
- cp BOM $WORKSPACE/out
-
- popd
-
- : ${YEAR:=$(date +%Y)}
- : ${DAY_OF_YEAR:=$(date +%j)}
-
- : ${YEAR_YESTERDAY:=$YEAR}
- : ${DAY_OF_YEAR_YESTERDAY:=$((10#$DAY_OF_YEAR - 1))}
-
- echo "YEAR=${YEAR}" >dates.prop
- echo "DAY_OF_YEAR=${DAY_OF_YEAR}" >>dates.prop
-
- echo "export YEAR=${YEAR}" > out/build-date.sh
- echo "export DAY_OF_YEAR=${DAY_OF_YEAR}" >> out/build-date.sh
-
- tar --exclude=.hg -acf out/jdk10u.tar.gz jdk10u
- publishers:
- - archive:
- artifacts: 'out/jdk10u.tar.gz, out/build-date.sh, out/BOM'
- - fingerprint:
- files: 'out/*'
- record-artifacts: true
- - trigger-parameterized-builds:
- - project: jdk10-build-and-test
- condition: SUCCESS
- property-file: dates.prop
diff --git a/jdk8-specjbb2013-benchmark-persist-results.yaml b/jdk8-specjbb2013-benchmark-persist-results.yaml
deleted file mode 100644
index 843b55d97..000000000
--- a/jdk8-specjbb2013-benchmark-persist-results.yaml
+++ /dev/null
@@ -1,83 +0,0 @@
-- job:
- name: jdk8-specjbb2013-benchmark-persist-results
- project-type: matrix
- defaults: global
- description: |
- * Writes the results to /work/openjdk-testing/SPECjbb2013-1.00-nightly-runs.<br>
- * This job has the client axis <b>disabled</b> until there is enough build/test time available.<br>
- * If the client axis is enabled the heap size for the VM will need to be adjusted using -Xmxm
- properties:
- - authorization:
- linaro:
- - job-read
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: j12-qrep-01
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
-# - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - j12-qrep-01
- execution-strategy:
-# combination-filter: |
-# JVM_VARIANT=="server"
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: j12-qrep-01
- builders:
- - copyartifact:
- project: jdk8-specjbb2013-benchmark
- filter: 'out/specjbb*.gz'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- tree -f .
-
- PERSIST=$HOME/srv/openjdk8u
- TOP_DIR=$PERSIST
- mkdir -p $TOP_DIR
-
- SCRIPT_DIR=$PERSIST/specjbb-test-scripts
- if [ -d $SCRIPT_DIR ]; then
- (cd $SCRIPT_DIR; git pull)
- else
- git clone https://git.linaro.org/leg/openjdk/specjbb-test-scripts.git $SCRIPT_DIR
- fi
-
- source $SCRIPT_DIR/common.sh
-
- # Ensure nightly results dir exists.
- mkdir -p $SPECJBB_EXPANDED_RESULTS_DIR
-
- echo "Previous Results"
- cat ${RESULTS_CSV}
- set -eux
- result_tarball=${WORKSPACE}/incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT},label=${label}/specjbb-result-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz
- [ -e $result_tarball ] || exit 1
- tar -C ${SPECJBB_EXPANDED_RESULTS_DIR} -xf $result_tarball
- cp incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT},label=${label}/*.data.gz ${SPECJBB_EXPANDED_RESULTS_DIR}
- pushd ${SPECJBB_EXPANDED_RESULTS_DIR}
- echo "Updating ${RESULTS_CSV}"
- $SCRIPT_DIR/update-results-csv -- --verbose --output=${RESULTS_CSV}
diff --git a/jdk8-specjbb2013-benchmark.yaml b/jdk8-specjbb2013-benchmark.yaml
deleted file mode 100644
index 19b9dd57e..000000000
--- a/jdk8-specjbb2013-benchmark.yaml
+++ /dev/null
@@ -1,118 +0,0 @@
-- job:
- name: jdk8-specjbb2013-benchmark
- project-type: matrix
- defaults: global
- description: |
- * Runs the specjbb benchmark in composite mode (i.e., single VM, single node).
- properties:
- - authorization:
- linaro:
- - job-read
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: j12-qrep-01
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
-# SRDM: Disable client build while waiting for LEG-347 to be fixed.
-# - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - j12-qrep-01
- execution-strategy:
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: j12-qrep-01
- builders:
-# copyartifact is slow and the file is local
-# copy instead of going back and forth between master <-> slave
-# - copyartifact:
-# project: jdk8-build-image
-# filter: 'out/jdk8-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz'
-# target: incoming
-# flatten: true
- - copyartifact:
- project: archive-specjbb2013-product-tarball
- filter: 'out/SPECjbb2013-1.00.tar.gz'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- set -exu
-
- ## Extract jdk
- tar xf ~/workspace/jdk8-build-image/BUILD_TYPE/${BUILD_TYPE}/JVM_VARIANT/${JVM_VARIANT}/label/${NODE_NAME}/out/jdk8u-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz
- export JAVA_HOME=${WORKSPACE}/jdk8u-${JVM_VARIANT}-${BUILD_TYPE}
- export PATH=$JAVA_HOME/bin:$PATH
- which java
- java -version
-
- ## Extract specjbb2013 product
- #(cd incoming; wget -nv http://openjdk-apm1/openjdk8-build-artefacts/SPECjbb2013-1.00.tar.gz)
- tar xf incoming/SPECjbb2013-1.00.tar.gz
-
- ## Run test
-
- SPECJBB_PRODUCT_HOME=SPECjbb2013-1.00
-
- # This commented-out invocation is a quick test that
- # takes about 10 minutes to complete - which can be
- # useful when debugging.
-
- #(cd $SPECJBB_PRODUCT_HOME; \
- # time java \
- # -Dspecjbb.controller.rtcurve.duration.min=500 \
- # -Dspecjbb.controller.rtcurve.duration.max=1500 \
- # -Dspecjbb.controller.type=PRESET \
- # -Dspecjbb.controller.preset.ir=4000 \
- # -Dspecjbb.controller.preset.duration=100 \
- # -jar specjbb2013.jar -m composite)
-
- (cd $SPECJBB_PRODUCT_HOME; java -XX:+UseLargePages -XX:-UseBiasedLocking -Xmx12g -Xms12g -XX:+UseParallelOldGC -jar specjbb2013.jar -m composite)
-
- mkdir -p out
-
- datafile=$(basename $(echo $SPECJBB_PRODUCT_HOME/specjbb*.data.gz) | sed "s/\(specjbb2013\)/\1-${JVM_VARIANT}-${BUILD_TYPE}/")
-
- cp $SPECJBB_PRODUCT_HOME/specjbb*.data.gz out/$datafile
-
- java -jar $SPECJBB_PRODUCT_HOME/specjbb2013.jar \
- -m REPORTER \
- -raw $SPECJBB_PRODUCT_HOME/config/template-M.raw \
- -p $SPECJBB_PRODUCT_HOME/config/specjbb2013.props \
- -s $SPECJBB_PRODUCT_HOME/specjbb2013-C-*.data.gz \
- -l 1
-
- tar -acf out/specjbb-result-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz result
-
- rm -rf html
- mkdir html
- cp -a result/**/report-00001/* html
- cp html/*0001.html html/index.html
- publishers:
- - archive:
- artifacts: 'out/*.gz'
- - html-publisher:
- name: 'HTML Report'
- dir: 'html'
- files: 'index.html'
- keep-all: true
diff --git a/jdk9-archive-test-scripts.yaml b/jdk9-archive-test-scripts.yaml
deleted file mode 100644
index 9d271add7..000000000
--- a/jdk9-archive-test-scripts.yaml
+++ /dev/null
@@ -1,34 +0,0 @@
-- job:
- name: jdk9-archive-test-scripts
- project-type: freestyle
- defaults: global
- description: |
- * This job is no longer necessary as these directories are held at git.linaro.org.
- logrotate:
- numToKeep: 10
- artifactNumToKeep: 1
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- builders:
- - shell: |
- #!/bin/bash
-
- set -exu
-
- rm -rf out
- mkdir out
- cd ~openjdk-testing
- tar --exclude=.git -acvf ${WORKSPACE}/out/specjbb-test-scripts.tar.gz specjbb-test-scripts
- tar --exclude=.git --exclude=jdk9 -acvf ${WORKSPACE}/out/openjdk-test-scripts.tar.gz openjdk-test-scripts
- tar --exclude=.git -acvf ${WORKSPACE}/out/hadoop-test-scripts.tar.gz hadoop-test-scripts
- publishers:
- - archive:
- artifacts: 'out/*.tar.gz'
diff --git a/jdk9-build-and-test.yaml b/jdk9-build-and-test.yaml
deleted file mode 100644
index d881ae875..000000000
--- a/jdk9-build-and-test.yaml
+++ /dev/null
@@ -1,127 +0,0 @@
-- job:
- name: jdk9-build-and-test
- project-type: multijob
- defaults: global
- description: |
- * This jobs builds the jdk images and runs tests and benchmarks against the built images.<br>
- * <b>Note:</b> this job is usually triggered by a source change (ie. the "jdk9-update-src-tree" job).<br>
- If it is run manually it will use the source tarball from the last successful build of that job.<br>
- * If this jobs runs to completion the results are published to http://openjdk.linaro.org/.
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: YEAR
- default: 'default'
- - string:
- name: DAY_OF_YEAR
- default: 'default'
- disabled: true
- node: master
- display-name: 'DELETE ME'
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- builders:
- - multijob:
- name: 'OpenJDK Clean job'
- condition: SUCCESSFUL
- projects:
- - name: jdk-clean-job
- current-parameters: true
- kill-phase-on: NEVER
- - multijob:
- name: 'Build jdk images'
- condition: SUCCESSFUL
- projects:
- - name: jdk9-build-image
- current-parameters: true
- kill-phase-on: FAILURE
-# FIXME - set SPECjbb2015 benchmark continuation condition from SUCCESSFUL to ALWAYS
-# Exception in thread "main" java.util.ServiceConfigurationError:
-# org.spec.jbb.core.comm.connectivity.ConnectivityProvider:
-# Provider org.spec.jbb.core.comm.connectivity.GrizzlyNioProvider could not be instantiated
-# Caused by: java.lang.IllegalStateException: java.lang.RuntimeException: java.lang.NullPointerException
- - multijob:
- name: 'SPECjbb2015 benchmark'
- condition: ALWAYS
- projects:
- - name: jdk9-specjbb2015-benchmark
- current-parameters: true
- restrict-matrix-project: 'JVM_VARIANT == "server"'
- kill-phase-on: FAILURE
- - multijob:
- name: '1GB Terasort benchmark'
- condition: SUCCESSFUL
- projects:
- - name: jdk9-terasort-benchmark
- current-parameters: true
- kill-phase-on: NEVER
- - multijob:
- name: 'JTREG tests'
- condition: SUCCESSFUL
- projects:
- - name: jdk9-jtreg-test
- current-parameters: true
- predefined-parameters: 'XJTREG_SUBCATEGORIES=tools/javap/typeAnnotations'
- kill-phase-on: NEVER
- - multijob:
- name: 'jcstress'
- condition: COMPLETED
- projects:
- - name: jdk9-jcstress-test
- current-parameters: true
- restrict-matrix-project: 'JVM_VARIANT == "server"'
- kill-phase-on: FAILURE
- - multijob:
- name: 'Publish results to openjdk.linaro.org'
- condition: SUCCESSFUL
- projects:
- - name: jdk9-publish-and-report
- current-parameters: true
- kill-phase-on: FAILURE
- - copyartifact:
- project: jdk9-update-src-tree
- filter: 'out/*'
- target: out
- flatten: true
- - copyartifact:
- project: jdk9-build-image
- filter: 'out/**/*'
- target: out
- flatten: true
- - copyartifact:
- project: jdk9-specjbb2015-benchmark
- filter: 'out/**/*'
- target: out
- flatten: true
- - copyartifact:
- project: jdk9-terasort-benchmark
- filter: 'out/**/*'
- target: out
- flatten: true
- - copyartifact:
- project: jdk9-jtreg-test
- filter: 'out/**/*'
- target: out
- flatten: true
- stable: true
- - copyartifact:
- project: jdk9-jcstress-test
- filter: 'out/**/*'
- target: out
- flatten: true
- publishers:
- - archive:
- artifacts: 'out/**/*'
diff --git a/jdk9-build-image.yaml b/jdk9-build-image.yaml
deleted file mode 100644
index 22242dbce..000000000
--- a/jdk9-build-image.yaml
+++ /dev/null
@@ -1,136 +0,0 @@
-- job:
- name: jdk9-build-image
- project-type: matrix
- defaults: global
- description: |
- * Configures and builds jdk9 (ie, bin/java, bin/javac, et al) for various configurations.<br>
- * The source tarball is copied from the jdk9-update-src-tree job.<br>
- * <b>Note:</b> we are no longer building -fastdebug variants as there is not enough time to test the images.
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: JDK_URL
- default: 'http://openjdk.linaro.org/releases/jdk8u-server-release-1708.tar.xz'
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
-# - zero
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
- - copyartifact:
- project: jdk9-update-src-tree
- filter: 'out/jdk9u.tar.gz'
- target: incoming
- flatten: true
- - copyartifact:
- project: archive-primordial-jdk8
- filter: 'out/primordial-jdk8.tar.gz'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- set -exu
-
- #export CCACHE_DIR=~/.ccache-${JVM_VARIANT}-${BUILD_TYPE}
- #ccache -M 1G
- #ccache -s
-
- ccache_build_opts=--disable-ccache
-
- rm -rf jdk* primordial-jdk* build*
-
- wget --progress=dot -e dotbytes=2M ${JDK_URL}
- tar -Jxf jdk*.tar.xz
-
- cd jdk*/jre/lib/security/
- rm -f cacerts
- ln -s /etc/ssl/certs/java/cacerts
-
- cd ${WORKSPACE}/jdk*
- export JAVA_HOME=${PWD}
-
- export PATH=${JAVA_HOME}/bin:${PATH}
-
- cd ${WORKSPACE}
-
- # Extract sources from upstream job
- tar xf incoming/jdk9u.tar.gz
-
- shopt -s nullglob
-
- # Extract boot jdk
- tar xf incoming/primordial-jdk8.tar.gz
-
- # Configure and build
- mkdir -p build-stage1 build-stage2
-
- two_stage_build=0
-
- which java
- java -version
-
- if [ $two_stage_build = 1 ]; then
- pushd build-stage1
- sh ../jdk9u/configure --with-jvm-variants=${JVM_VARIANT} --with-debug-level=${BUILD_TYPE} --with-boot-jdk=${WORKSPACE}/primordial-jdk8 ${ccache_build_opts}
- make images build-test-hotspot-jtreg-native build-test-jdk-jtreg-native
- popd
-
- pushd build-stage2
- sh ../jdk9u/configure --with-jvm-variants=${JVM_VARIANT} --with-debug-level=${BUILD_TYPE} --with-boot-jdk=${WORKSPACE}/build-stage1/images/j2sdk-image ${ccache_build_opts}
- make images build-test-hotspot-jtreg-native build-test-jdk-jtreg-native
- popd
- else
- pushd build-stage2
- sh ../jdk9u/configure --with-jvm-variants=${JVM_VARIANT} --with-debug-level=${BUILD_TYPE} ${ccache_build_opts}
- make images build-test-hotspot-jtreg-native build-test-jdk-jtreg-native
- popd
- fi
-
- # Archive the result
- rm -rf out
- mkdir out
- artifact_name=jdk9u-${JVM_VARIANT}-${BUILD_TYPE}
- tar -C build-stage2/images/jdk --exclude=\*.diz --transform="s!^./!$artifact_name/!" -acf out/${artifact_name}.tar.gz .
-
- # Archive test support files.
- tar -C build-stage2/ --exclude=hotspot/jtreg/native/support/\* --transform="s!^support/!${artifact_name}-support/support/!" -acf out/${artifact_name}-support.tar.gz support/test
- publishers:
- - archive:
- artifacts: 'out/*.tar.gz'
- - email:
- recipients: 'stuart.monteith@linaro.org fathi.boudra@linaro.org'
diff --git a/jdk9-build-release.yaml b/jdk9-build-release.yaml
deleted file mode 100644
index 847caf3c9..000000000
--- a/jdk9-build-release.yaml
+++ /dev/null
@@ -1,153 +0,0 @@
-- job:
- name: jdk9-build-release
- project-type: matrix
- defaults: global
- description: |
- * Configures and builds jdk9 for release. Run after the source has passed tests.
- * Tags build with Linaro-YYMM as per normal release procedure.
- * The source tarball is copied from the jdk9-update-src-tree job.<br>
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: JDK_URL
- default: 'http://openjdk.linaro.org/releases/jdk8u-server-release-1708.tar.xz'
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
- - copyartifact:
- project: jdk9-update-src-tree
- filter: 'out/jdk9u.tar.gz'
- target: incoming
- flatten: true
- - copyartifact:
- project: archive-primordial-jdk8
- filter: 'out/primordial-jdk8.tar.gz'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- set -exu
-
- #export CCACHE_DIR=~/.ccache-${JVM_VARIANT}-${BUILD_TYPE}
- #ccache -M 1G
- #ccache -s
- export JVM_VARIANT=server
-
- # Generate files names dependent on year/month.
- RELEASE=$(date +%y%m)
- JDKDIR=jdk9-${JVM_VARIANT}-${BUILD_TYPE}-${RELEASE}
- JDK_SRCDIR=jdk9u-src-${RELEASE}
-
- ccache_build_opts=--disable-ccache
-
- rm -rf jdk* primordial-jdk* build*
-
- # Download, setup JDK8 for building.
- wget --progress=dot -e dotbytes=2M ${JDK_URL}
- tar -Jxf jdk*.tar.xz
-
- cd jdk*/jre/lib/security/
- rm -f cacerts
- ln -s /etc/ssl/certs/java/cacerts
-
- cd ${WORKSPACE}/jdk*
- export JAVA_HOME=${PWD}
-
- export PATH=${JAVA_HOME}/bin:${PATH}
-
- cd ${WORKSPACE}
-
- # Setup archive directory
- mkdir out
-
- # Extract sources from upstream job
- tar xaf incoming/jdk9u.tar.gz
-
- mv jdk9u $JDK_SRCDIR
- # Tar up the source before sullying it with a build.
- tar --exclude=.hg\* -acf out/jdk9u-src-${RELEASE}.tar.xz $JDK_SRCDIR
-
- mv $JDK_SRCDIR $JDKDIR
- shopt -s nullglob
-
- # Configure and build
- mkdir -p build-stage1 build-stage2
-
- two_stage_build=0
-
- which java
- java -version
-
- if [ $two_stage_build = 1 ]; then
- pushd build-stage1
- sh ../$JDKDIR/configure --with-jvm-variants=${JVM_VARIANT} --with-debug-level=${BUILD_TYPE} --with-boot-jdk=${WORKSPACE}/primordial-jdk9 ${ccache_build_opts}
- make images
- popd
-
- pushd build-stage2
- sh ../$JDKDIR/configure --with-jvm-variants=${JVM_VARIANT} \
- --with-debug-level=${BUILD_TYPE} \
- --with-boot-jdk=${WORKSPACE}/build-stage1/images/jdk \
- ${ccache_build_opts} \
- --with-version-opt="Linaro-$RELEASE" \
- --with-version-pre="release"
- make images
- popd
- else
- pushd build-stage2
- sh ../$JDKDIR/configure --with-jvm-variants=${JVM_VARIANT} \
- --with-debug-level=${BUILD_TYPE} \
- ${ccache_build_opts} \
- --with-version-opt="Linaro-$RELEASE" \
- --with-version-pre="release"
- make images
- popd
- fi
-
- # Archive the result
- artifact_name=jdk9u-${JVM_VARIANT}-${BUILD_TYPE}-${RELEASE}
-
- # This is different from ordinary builds.
- tar -C build-stage2/images --exclude=\*.diz --transform="s!^jdk!$artifact_name!" -acf out/${artifact_name}.tar.xz jdk
- publishers:
- - archive:
- artifacts: 'out/*.tar.xz'
- - email:
- recipients: 'stuart.monteith@linaro.org fathi.boudra@linaro.org'
diff --git a/jdk9-email-results.yaml b/jdk9-email-results.yaml
deleted file mode 100644
index d398cb744..000000000
--- a/jdk9-email-results.yaml
+++ /dev/null
@@ -1,36 +0,0 @@
-- job:
- name: jdk9-email-results
- project-type: freestyle
- defaults: global
- description: |
- * Sends the report.txt file to the aarch64-port-dev mailing list.<br>
- * The text report is copied from the jdk9-generate-text-report job.
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: master
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- builders:
- - copyartifact:
- project: jdk9-generate-email-report
- filter: 'report.txt'
- publishers:
- - email-ext:
- recipients: 'stuart.monteith@linaro.org, fathi.boudra@linaro.org, aarch64-port-dev@openjdk.java.net'
- subject: 'JTREG, JCStress, SPECjbb2015 and Hadoop/Terasort results for OpenJDK 9u on AArch64'
- content-type: text
- body: |
- ${FILE,path="report.txt"}
- success: true
diff --git a/jdk9-generate-email-report.yaml b/jdk9-generate-email-report.yaml
deleted file mode 100644
index 2cbe836f8..000000000
--- a/jdk9-generate-email-report.yaml
+++ /dev/null
@@ -1,74 +0,0 @@
-- job:
- name: jdk9-generate-email-report
- project-type: freestyle
- defaults: global
- description: |
- This job aggregates the results from various jobs:<br>
- <br>
- * jcstress<br>
- * jtreg<br>
- * terasort<br>
- * specjbb<br>
- <br>
- in text form suitable for the aarch64-port-dev mailing list.
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: ZERO_BASELINE
- default: '14115'
- - string:
- name: SERVER_MAX_JOPS_BASELINE
- default: '4090'
- - string:
- name: SERVER_CRITICAL_JOPS_BASELINE
- default: '1015'
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
-# Replaced by parameters
-# - inject:
-# properties-file: '${HOME}/performance-baseline.properties'
- builders:
- - copyartifact:
- project: jtreg-build
- filter: 'jtreg-build-4.2.0-SNAPSHOT.tar.xz'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- tar xf incoming/jtreg-build-4.2.0-SNAPSHOT.tar.xz
- PATH=${WORKSPACE}/jtreg/bin:${PATH}
- PERSIST=$HOME/srv/openjdk9u
- export SPECJBB_PRODUCT_HOME=$PERSIST/SPECjbb2015
- export JDK_VERSION=9u
- which jtdiff
-
- TOP_DIR=${PERSIST}/openjdk-jtreg-nightly-tests ${PERSIST}/openjdk-test-scripts/openjdk-test-summary release > ${WORKSPACE}/report.txt
- echo "" >> ${WORKSPACE}/report.txt
-
- TOP_DIR=${PERSIST} ${PERSIST}/specjbb-test-scripts/specjbb-report >> ${WORKSPACE}/report.txt
- echo "" >> ${WORKSPACE}/report.txt
-
- BENCHMARK_RESULTS_DIR=$PERSIST/hadoop-terasort-benchmark-results ${PERSIST}/hadoop-test-scripts/benchmark-terasort-report >> ${WORKSPACE}/report.txt
- echo "" >> ${WORKSPACE}/report.txt
-
- TOP_DIR=${PERSIST} ${PERSIST}/jcstress-test-scripts/jcstress-report --url http://openjdk.linaro.org/jdk${JDK_VERSION}/ >> ${WORKSPACE}/report.txt
- publishers:
- - archive:
- artifacts: 'report.txt'
- - email:
- recipients: 'fathi.boudra@linaro.org'
diff --git a/jdk9-jcstress-test-persist-results.yaml b/jdk9-jcstress-test-persist-results.yaml
deleted file mode 100644
index 54ea969bc..000000000
--- a/jdk9-jcstress-test-persist-results.yaml
+++ /dev/null
@@ -1,97 +0,0 @@
-- job:
- name: jdk9-jcstress-test-persist-results
- project-type: matrix
- defaults: global
- description: |
- * Writes results to:<br>
- * /work/openjdk-testing/jcstress-nightly-runs<br>
- * /work/openjdk-testing/jcstress-results
- properties:
- - authorization:
- linaro:
- - job-read
- openjdk-members:
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: YEAR
- default: 'default'
- - string:
- name: DAY_OF_YEAR
- default: 'default'
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
-# - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
-# combination-filter: |
-# JVM_VARIANT=="server"
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
- - copyartifact:
- project: jdk9-update-src-tree
- filter: 'out/build-date.sh'
- target: incoming
- flatten: true
- - copyartifact:
- project: jdk9-jcstress-test
- filter: 'out/jcstress-results-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- set -exu
-
- PERSIST=$HOME/srv/openjdk9u
-
- : ${YEAR:=$(date +%Y)}
- : ${DAY_OF_YEAR:=$(date +%j)}
-
- JCSTRESS_RUN_DIR=$PERSIST/jcstress-nightly-runs
- JCSTRESS_RESULTS_DIR=$PERSIST/jcstress-results
- RESULTS_CSV=${JCSTRESS_RESULTS_DIR}/results.csv
-
- mkdir -p $JCSTRESS_RESULTS_DIR
-
- # Tolerate missing results.csv file.
- if [ ! -f $RESULTS_CSV ]; then
- touch $RESULTS_CSV
- fi
-
- mkdir -p ${JCSTRESS_RESULTS_DIR} ${JCSTRESS_RUN_DIR}/${YEAR}/${DAY_OF_YEAR}
- tar -C ${JCSTRESS_RUN_DIR}/${YEAR}/${DAY_OF_YEAR} --strip-components=1 -xzf incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT},label=${label}/jcstress-results-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz
- numeric_date=$(date +'%s' --date=$(date +'%Y-%m-%d'))
- echo "Previous Results"
- cat ${RESULTS_CSV}
- echo "${numeric_date},${JCSTRESS_RUN_DIR}/${YEAR}/${DAY_OF_YEAR},success" >> ${RESULTS_CSV}
- sort --unique --field-separator=',' --numeric-sort -o ${RESULTS_CSV} ${RESULTS_CSV}
-
diff --git a/jdk9-jcstress-test-publish-results.yaml b/jdk9-jcstress-test-publish-results.yaml
deleted file mode 100644
index 170217e48..000000000
--- a/jdk9-jcstress-test-publish-results.yaml
+++ /dev/null
@@ -1,54 +0,0 @@
-- job:
- name: jdk9-jcstress-test-publish-results
- project-type: freestyle
- defaults: global
- description: |
- * Reports are published to http://openjdk.linaro.org/jcstress-nightly-runs/
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: PUBLISH_DEST
- default: ''
- - string:
- name: PUBLISH_HOST
- default: ''
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- - ssh-agent-credentials:
- # openjdk-testing user id
- users:
- - '744cffb4-9ce1-4856-b103-9fdda06dad36'
- builders:
- - shell: |
- #!/bin/bash
-
-
- PERSIST=$HOME/srv/openjdk9u
- SCRIPT_DIR=$PERSIST/jcstress-test-scripts
- export JDK_VERSION=9u
-
- if [ -d $SCRIPT_DIR ]; then
- (cd $SCRIPT_DIR; git pull)
- else
- git clone https://git.linaro.org/leg/openjdk/jcstress-test-scripts.git $SCRIPT_DIR
- fi
- export TOP_DIR=$PERSIST
-
- $SCRIPT_DIR/jcstress-publish $PUBLISH_DEST
- publishers:
- - email:
- recipients: 'fathi.boudra@linaro.org'
diff --git a/jdk9-jcstress-test.yaml b/jdk9-jcstress-test.yaml
deleted file mode 100644
index feb40eb4f..000000000
--- a/jdk9-jcstress-test.yaml
+++ /dev/null
@@ -1,112 +0,0 @@
-- job:
- name: jdk9-jcstress-test
- project-type: matrix
- defaults: global
- description: |
- This job runs the http://openjdk.java.net/projects/code-tools/jcstress/ tests.<br>
- <b>Note:</b> this test currently takes around <b>10 hours</b> to complete<br>
- This project currently runs the "server" variant only due to the amount of time both tests would take to complete.
- properties:
- - authorization:
- linaro:
- - job-read
- openjdk-members:
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- parameters:
- - string:
- name: JCSTRESS_MODE
- default: 'quick'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
- - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- - timeout:
- timeout: 900
- builders:
- - copyartifact:
- project: jcstress-build
- filter: 'tests-custom/target/jcstress.jar, tests-all/target/jcstress.jar'
- target: incoming
- flatten: false
-# copyartifact is slow and the file is local
-# copy instead of going back and forth between master <-> slave
-# - copyartifact:
-# project: jdk9-build-image
-# filter: 'out/jdk9-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz'
-# target: incoming
-# flatten: true
- - shell: |
- #!/bin/bash
-
- set -eu
-
- TEST_TYPE=all
-
- # client variant uses server with -XX:TieredStopAtLevel=1
- # zero is a third possible value.
- REAL_VARIANT=${JVM_VARIANT/client/server}
-
- JCSTRESS_JAR=${WORKSPACE}/incoming/tests-${TEST_TYPE}/target/jcstress.jar
- rm -rf jdk9u*
- tar xf ~/workspace/jdk9-build-image/BUILD_TYPE/${BUILD_TYPE}/JVM_VARIANT/${REAL_VARIANT}/label/${NODE_NAME}/out/jdk9u-${REAL_VARIANT}-${BUILD_TYPE}.tar.gz
- export JAVA_HOME=${WORKSPACE}/jdk9u-${REAL_VARIANT}-${BUILD_TYPE}
- export PATH=${JAVA_HOME}/bin:${PATH}
- which java
- java -version
-
- # XXX Don't fail the job if jcstress itself fails.
- set +e
- java -jar ${JCSTRESS_JAR} -m ${JCSTRESS_MODE}
-
- test_result=$?
- set -e
-
- rm -rf out
- mkdir out
-
- out_dirname=jcstress-results-${JVM_VARIANT}-${BUILD_TYPE}
-
- rm -rf ${out_dirname}
- mkdir -p ${out_dirname}
- cp jcstress-results*.bin.gz ${out_dirname}
- cp -a results ${out_dirname}
-
- tar czvf out/${out_dirname}.tar.gz ${out_dirname}
- publishers:
- - archive:
- artifacts: 'out/jcstress-results-*.tar.gz'
- - html-publisher:
- name: 'HTML Report'
- dir: 'results'
- files: 'index.html'
- keep-all: true
diff --git a/jdk9-jtreg-test-persist-results.yaml b/jdk9-jtreg-test-persist-results.yaml
deleted file mode 100644
index c1e1a7970..000000000
--- a/jdk9-jtreg-test-persist-results.yaml
+++ /dev/null
@@ -1,120 +0,0 @@
-- job:
- name: jdk9-jtreg-test-persist-results
- project-type: matrix
- defaults: global
- description: |
- * Writes the results to $HOME/srv/openjdk9u/openjdk-jtreg-nightly-tests.
- properties:
- - authorization:
- linaro:
- - job-read
- openjdk-members:
- - job-extended-read
- - job-build
- - job-cancel
- - job-workspace
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: YEAR
- default: 'default'
- - string:
- name: DAY_OF_YEAR
- default: 'default'
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
- - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: user-defined
- name: JTREG_CATEGORY
- values:
- - jdk
- - hotspot
- - langtools
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
- - copyartifact:
- project: jdk9-jtreg-test
- filter: 'out/jtreg-results-${JTREG_CATEGORY}-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz'
- target: incoming
- flatten: true
- - copyartifact:
- project: jdk9-build-image
- filter: 'out/jdk9u-server-${BUILD_TYPE}.tar.gz'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- set -exu
-
- tree -f .
-
- PERSIST=$HOME/srv/openjdk9u
- export JDK_VERSION=9u
-
- result_tarball=${WORKSPACE}/incoming/BUILD_TYPE=${BUILD_TYPE},JTREG_CATEGORY=${JTREG_CATEGORY},JVM_VARIANT=${JVM_VARIANT},label=${label}/jtreg-results-${JTREG_CATEGORY}-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz
-
- image_tarball=${WORKSPACE}/incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=server,label=${label}/jdk9u-server-${BUILD_TYPE}.tar.gz
-
- : ${YEAR:=$(date +%Y)}
- : ${DAY_OF_YEAR:=$(date +%j)}
-
- basedir=$PERSIST/openjdk-jtreg-nightly-tests
- src_dir=${basedir}/src/${YEAR}/${DAY_OF_YEAR}
- work_dir=${basedir}/builds/${JVM_VARIANT}-${BUILD_TYPE}/${YEAR}/${DAY_OF_YEAR}/JTwork-${JTREG_CATEGORY}
- report_dir=${basedir}/reports/${JVM_VARIANT}-${BUILD_TYPE}/${JTREG_CATEGORY}/$(uname -m)/${YEAR}/${DAY_OF_YEAR}/JTreport
- image_dir=${basedir}/builds/${JVM_VARIANT}-${BUILD_TYPE},label=${label}/${YEAR}/${DAY_OF_YEAR}/images/jdk
-
- rm -rf ${image_dir}
- mkdir -p ${image_dir}
-
- tar -C ${basedir} \
- --transform="s/YYY__DAY_OF_YEAR__YYY/$DAY_OF_YEAR/;s/XXX__YEAR__XXX/$YEAR/" \
- --show-transformed-names \
- --overwrite \
- -xvf ${result_tarball}
-
- tar -C ${image_dir} \
- --strip-components=1 \
- --show-transformed-names \
- --overwrite \
- -xvf ${image_tarball}
-
- # Change location.
- # Match the exact output of the cron-based scripts.
- sed_expr1=$(echo s!XXX__YEAR__XXX!$YEAR!g)
- sed_expr2=$(echo s!YYY__DAY_OF_YEAR__YYY!$DAY_OF_YEAR!g)
-
- find ${work_dir} -type f -exec perl -p -i -e "$sed_expr1" {} \;
- find ${work_dir} -type f -exec perl -p -i -e "$sed_expr2" {} \;
-
- find ${report_dir} -type f -exec perl -p -i -e "$sed_expr1" {} \;
- find ${report_dir} -type f -exec perl -p -i -e "$sed_expr2" {} \;
diff --git a/jdk9-jtreg-test-publish-results.yaml b/jdk9-jtreg-test-publish-results.yaml
deleted file mode 100644
index 2ccd118d9..000000000
--- a/jdk9-jtreg-test-publish-results.yaml
+++ /dev/null
@@ -1,71 +0,0 @@
-- job:
- name: jdk9-jtreg-test-publish-results
- project-type: freestyle
- defaults: global
- description: |
- * Results are published to http://openjdk.linaro.org/jdk9/openjdk-jtreg-nightly-tests/
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: PUBLISH_DEST
- default: ''
- - string:
- name: PUBLISH_HOST
- default: ''
- - string:
- name: YEAR
- default: 'default'
- - string:
- name: DAY_OF_YEAR
- default: 'default'
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- - ssh-agent-credentials:
- users:
- - '744cffb4-9ce1-4856-b103-9fdda06dad36'
- builders:
- - copyartifact:
- project: jtreg-build
- filter: 'jtreg-build-4.2.0-SNAPSHOT.tar.xz'
- flatten: true
- - shell: |
- #!/bin/bash
-
- set -ex
-
- PERSIST=$HOME/srv/openjdk9u
- SCRIPT_DIR=$PERSIST/openjdk-test-scripts
- export JDK_VERSION=9u
-
- (unset PRIVATE_KEY; env | sort >$WORKSPACE/env.out)
- tree -fd -L 5 $PERSIST | xz >$WORKSPACE/tree.out.xz
-
- if [ -d $SCRIPT_DIR ]; then
- (cd $SCRIPT_DIR; git pull)
- else
- git clone https://git.linaro.org/leg/openjdk/openjdk-test-scripts.git $SCRIPT_DIR
- fi
-
- tar xf jtreg-build-4.2.0-SNAPSHOT.tar.xz
- export PATH=${WORKSPACE}/jtreg/bin:$PATH
- which jtdiff
- TOP_DIR=$PERSIST/openjdk-jtreg-nightly-tests bash -x $SCRIPT_DIR/publish $PUBLISH_DEST $NODE_NAME
- publishers:
- - archive:
- artifacts: 'tree.out.xz, env.out'
- - email:
- recipients: 'fathi.boudra@linaro.org stuart.monteith@linaro.org'
diff --git a/jdk9-jtreg-test.yaml b/jdk9-jtreg-test.yaml
deleted file mode 100644
index 8226e5dd9..000000000
--- a/jdk9-jtreg-test.yaml
+++ /dev/null
@@ -1,232 +0,0 @@
-- job:
- name: jdk9-jtreg-test
- project-type: matrix
- defaults: global
- description: |
- * Runs the jtreg tests.
- properties:
- - authorization:
- linaro:
- - job-read
- openjdk-members:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: YEAR
- default: 'default'
- - string:
- name: DAY_OF_YEAR
- default: 'default'
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
- - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: user-defined
- name: JTREG_CATEGORY
- values:
- - hotspot
- - langtools
- - jdk
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
- sequential: true
- wrappers:
- - xvfb:
- auto-display-name: true
- additional-options: '-p unix'
- debug: true
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
- - copyartifact:
- project: jtreg-build
- filter: 'jtreg-build-4.2.0-SNAPSHOT.tar.xz'
- target: incoming
- flatten: true
-# copyartifact is slow and the file is local
-# copy instead of going back and forth between master <-> slave
-# - copyartifact:
-# project: jdk9-build-image
-# filter: 'out/jdk9-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz'
-# target: incoming
-# flatten: true
- - copyartifact:
- project: jdk9-update-src-tree
- filter: 'out/jdk9u.tar.gz, out/build-date.sh'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- echo "DISPLAY=${DISPLAY}"
-
- set -exu
-
- source incoming/build-date.sh
-
- export JDK_VERSION=9u
- # client variant uses server with -XX:TieredStopAtLevel=1
- # zero is a third possible value.
- REAL_VARIANT=${JVM_VARIANT/client/server}
- IMAGE_DIR=${WORKSPACE}/jdk9u-${REAL_VARIANT}-${BUILD_TYPE}
- PERSIST=$HOME/srv/openjdk9u
-
-
- # Only set =1 for debugging.
- use_subcategories=0
-
- if [ ${use_subcategories} -eq 1 ]; then
- case ${JTREG_CATEGORY} in
- langtools)
- JTREG_SUBCATEGORIES=tools/javap/typeAnnotations
- ;;
- jdk)
- JTREG_SUBCATEGORIES=jdk/net/Sockets
- ;;
- hotspot)
- JTREG_SUBCATEGORIES=runtime/CommandLine
- ;;
- esac
- fi
-
- : ${JTREG_SUBCATEGORIES:=.}
-
- tar xf incoming/jdk9u.tar.gz
- tar xf ~/workspace/jdk9-build-image/BUILD_TYPE/${BUILD_TYPE}/JVM_VARIANT/${REAL_VARIANT}/label/${NODE_NAME}/out/jdk9u-${REAL_VARIANT}-${BUILD_TYPE}.tar.gz
- tar xf incoming/jtreg-build-4.2.0-SNAPSHOT.tar.xz
- tar xf ~/workspace/jdk9-build-image/BUILD_TYPE/${BUILD_TYPE}/JVM_VARIANT/${REAL_VARIANT}/label/${NODE_NAME}/out/jdk9u-${REAL_VARIANT}-${BUILD_TYPE}-support.tar.gz
-
- # All the output directories and general frobbing
- # output is to match the existing layout as expected
- # by the cron-based publish and reporting scripts.
- # XXX There's probably a better way.
-
- YEAR=XXX__YEAR__XXX
- DAY_OF_YEAR=YYY__DAY_OF_YEAR__YYY
-
- basedir=cron_output
- mkdir -p ${basedir}/{src,builds,reports}
-
- src_dir=${basedir}/src/${YEAR}/${DAY_OF_YEAR}
- work_dir=${basedir}/builds/${JVM_VARIANT}-${BUILD_TYPE}/${YEAR}/${DAY_OF_YEAR}/JTwork-${JTREG_CATEGORY}
- report_dir=${basedir}/reports/${JVM_VARIANT}-${BUILD_TYPE}/${JTREG_CATEGORY}/$(uname -m)/${YEAR}/${DAY_OF_YEAR}/JTreport
-
- mkdir -p out ${src_dir} ${work_dir} ${report_dir}
-
- mv jdk9u/* ${src_dir}
-
- blacklist=${WORKSPACE}/excludes.txt
- jdk_problem_list=${src_dir}/${JTREG_CATEGORY}/test/ProblemList.txt
-
- if [ -e $jdk_problem_list ]; then
- cat $jdk_problem_list > ${blacklist}
- fi
-
- aarch64_exclude_file=${src_dir}/test/exclude_aarch64.txt
-
- if [ -e ${aarch64_exclude_file} ]; then
- cat ${aarch64_exclude_file} >> ${blacklist}
- fi
-
- touch ${blacklist}
-
- echo "Blacklist"
- echo "========="
- cat ${blacklist}
- echo "---------"
-
- export JAVA_HOME=${WORKSPACE}/jdk9u-${REAL_VARIANT}-${BUILD_TYPE}
- export PATH=$JAVA_HOME/bin:${PATH}
-
- # For hotspot and jdk we pass a -nativepath: option to jtreg.
- # This enables the tests needing native libraries to run.
- NATIVEPATH=${WORKSPACE}/jdk9u-${REAL_VARIANT}-${BUILD_TYPE}-support/support/test/${JTREG_CATEGORY}/jtreg/native/lib
-
- if [ $JTREG_CATEGORY = "langtools" ]; then
- # The nativepath option we pass must be a valid directory, or
- # not at all.`
- NATIVE_OPT=
- else
- # Test executables are expected to be in same directory as libraries
- mv $NATIVEPATH/../bin/* $NATIVEPATH
- NATIVE_OPT=-nativepath:$NATIVEPATH
- fi
-
- PATH=${WORKSPACE}/jtreg/bin:${PATH}
- which java
- java -version
-
- # Ignore error in jtreg final result.
- set +e
-
- if [ $JVM_VARIANT = "server" ]; then
- java -jar jtreg/lib/jtreg.jar \
- -dir:${src_dir}/${JTREG_CATEGORY}/test \
- -vmoption:-XX:-TieredCompilation \
- -testjdk:${IMAGE_DIR} \
- -exclude:${blacklist} \
- -conc:auto \
- -r:${report_dir} \
- -w:${work_dir} \
- $NATIVE_OPT \
- -timeout:8 \
- -a -agentvm -ignore:quiet -v1 ${JTREG_SUBCATEGORIES} | cat -n
- else
- java -jar jtreg/lib/jtreg.jar \
- -dir:${src_dir}/${JTREG_CATEGORY}/test \
- -vmoption:-XX:+TieredCompilation \
- -vmoption:-XX:TieredStopAtLevel=1 \
- -testjdk:${IMAGE_DIR} \
- -exclude:${blacklist} \
- -conc:auto \
- -r:${report_dir} \
- -w:${work_dir} \
- $NATIVE_OPT \
- -timeout:8 \
- -a -agentvm -ignore:quiet -v1 ${JTREG_SUBCATEGORIES} | cat -n
- fi
-
- # Kill leftover jstatd processes.
- killall -9 jstatd
- set -e
-
- # We don't care for the .class files.
- find ${work_dir} -name \*.class -exec rm {} \;
-
- # Match the exact output of the cron-based scripts.
- dest=$PERSIST/openjdk-jtreg-nightly-tests
- sed_expr=$(echo s!${WORKSPACE}/${basedir}!$dest!g)
- find ${work_dir} -type f -exec perl -p -i -e "$sed_expr" {} \;
- find ${report_dir} -type f -exec perl -p -i -e "$sed_expr" {} \;
-
- mkdir -p out
- tar -C ${basedir} --show-transformed-names -acvf out/jtreg-results-${JTREG_CATEGORY}-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz builds reports
- publishers:
- - archive:
- artifacts: 'out/jtreg-results-${JTREG_CATEGORY}-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz'
diff --git a/jdk9-persist-all-results.yaml b/jdk9-persist-all-results.yaml
deleted file mode 100644
index e4faf0fa9..000000000
--- a/jdk9-persist-all-results.yaml
+++ /dev/null
@@ -1,51 +0,0 @@
-- job:
- name: jdk9-persist-all-results
- project-type: freestyle
- defaults: global
- description: |
- * This job persist all results.
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: YEAR
- default: 'default'
- - string:
- name: DAY_OF_YEAR
- default: 'default'
- disabled: true
- node: master
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- builders:
- - trigger-builds:
- - project: jdk9-jtreg-test-persist-results
- block: true
- current-parameters: true
- - trigger-builds:
- - project: jdk9-specjbb2015-benchmark-persist-results
- block: true
- current-parameters: true
- - trigger-builds:
- - project: jdk9-terasort-benchmark-persist-results
- block: true
- current-parameters: true
- - trigger-builds:
- - project: jdk9-jcstress-test-persist-results
- block: true
- current-parameters: true
- - trigger-builds:
- - project: jdk9-update-src-tree-persist
- block: true
- current-parameters: true
diff --git a/jdk9-publish-all-results.yaml b/jdk9-publish-all-results.yaml
deleted file mode 100644
index ff6bab85b..000000000
--- a/jdk9-publish-all-results.yaml
+++ /dev/null
@@ -1,56 +0,0 @@
-- job:
- name: jdk9-publish-all-results
- project-type: freestyle
- defaults: global
- description: |
- * Convenience job to invoke all the scripts that sync the results to openjdk.linaro.org.
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: master
- display-name: 'DELETE ME'
- parameters:
- - string:
- name: PUBLISH_DEST
- default: '/home/openjdk-testing/jdk9u'
- - string:
- name: PUBLISH_HOST
- default: 'stuart.monteith@people.linaro.org'
- - string:
- name: YEAR
- default: 'default'
- - string:
- name: DAY_OF_YEAR
- default: 'default'
- wrappers:
- - timestamps
- builders:
- - trigger-builds:
- - project: jdk9-jtreg-test-publish-results
- block: true
- current-parameters: true
- - trigger-builds:
- - project: jdk9-specjbb2015-benchmark-publish-results
- block: true
- current-parameters: true
- - trigger-builds:
- - project: jdk9-terasort-benchmark-publish-results
- block: true
- current-parameters: true
- - trigger-builds:
- - project: jdk9-jcstress-test-publish-results
- block: true
- current-parameters: true
- publishers:
- - email:
- recipients: 'fathi.boudra@linaro.org stuart.monteith@linaro.org'
diff --git a/jdk9-publish-and-report.yaml b/jdk9-publish-and-report.yaml
deleted file mode 100644
index 2a60603e9..000000000
--- a/jdk9-publish-and-report.yaml
+++ /dev/null
@@ -1,63 +0,0 @@
-- job:
- name: jdk9-publish-and-report
- project-type: multijob
- defaults: global
- description: |
- * This job publishes results and send e-mail reports.
- logrotate:
- numToKeep: 10
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- parameters:
- - string:
- name: DAYS
- default: '15'
- - string:
- name: YEAR
- default: 'default'
- - string:
- name: DAY_OF_YEAR
- default: 'default'
- disabled: true
- node: master
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
-# Replaced by parameters
-# - inject:
-# properties-content: 'DAYS=15'
- builders:
- - multijob:
- name: 'Persist results'
- condition: SUCCESSFUL
- projects:
- - name: jdk9-persist-all-results
- current-parameters: true
- kill-phase-on: FAILURE
- - multijob:
- name: 'Publish results to openjdk.linaro.org'
- condition: SUCCESSFUL
- projects:
- - name: jdk9-publish-all-results
- current-parameters: true
- kill-phase-on: FAILURE
- - multijob:
- name: 'Generate e-mail report'
- condition: SUCCESSFUL
- projects:
- - name: jdk9-generate-email-report
- current-parameters: true
- kill-phase-on: FAILURE
- - multijob:
- name: 'E-mail results'
- condition: SUCCESSFUL
- projects:
- - name: jdk9-email-results
- current-parameters: true
- kill-phase-on: FAILURE
diff --git a/jdk9-specjbb2013-benchmark-persist-results.yaml b/jdk9-specjbb2013-benchmark-persist-results.yaml
deleted file mode 100644
index 72071911b..000000000
--- a/jdk9-specjbb2013-benchmark-persist-results.yaml
+++ /dev/null
@@ -1,83 +0,0 @@
-- job:
- name: jdk9-specjbb2013-benchmark-persist-results
- project-type: matrix
- defaults: global
- description: |
- * Writes the results to /work/openjdk-testing/SPECjbb2013-1.00-nightly-runs.<br>
- * This job has the client axis <b>disabled</b> until there is enough build/test time available.<br>
- * If the client axis is enabled the heap size for the VM will need to be adjusted using -Xmxm
- properties:
- - authorization:
- linaro:
- - job-read
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
-# - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
-# combination-filter: |
-# JVM_VARIANT=="server"
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
- - copyartifact:
- project: jdk9-specjbb2013-benchmark
- filter: 'out/specjbb*.gz'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- tree -f .
-
- PERSIST=$HOME/srv/openjdk9u
- TOP_DIR=$PERSIST
- mkdir -p $TOP_DIR
-
- SCRIPT_DIR=$PERSIST/specjbb-test-scripts
- if [ -d $SCRIPT_DIR ]; then
- (cd $SCRIPT_DIR; git pull)
- else
- git clone https://git.linaro.org/leg/openjdk/specjbb-test-scripts.git $SCRIPT_DIR
- fi
-
- source $SCRIPT_DIR/common.sh
-
- # Ensure nightly results dir exists.
- mkdir -p $SPECJBB_EXPANDED_RESULTS_DIR
-
- echo "Previous Results"
- cat ${RESULTS_CSV}
- set -eux
- result_tarball=${WORKSPACE}/incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT},label=${label}/specjbb-result-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz
- [ -e $result_tarball ] || exit 1
- tar -C ${SPECJBB_EXPANDED_RESULTS_DIR} -xf $result_tarball
- cp incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT},label=${label}/*.data.gz ${SPECJBB_EXPANDED_RESULTS_DIR}
- pushd ${SPECJBB_EXPANDED_RESULTS_DIR}
- echo "Updating ${RESULTS_CSV}"
- $SCRIPT_DIR/update-results-csv -- --verbose --output=${RESULTS_CSV}
diff --git a/jdk9-specjbb2013-benchmark-publish-results.yaml b/jdk9-specjbb2013-benchmark-publish-results.yaml
deleted file mode 100644
index e9707eca1..000000000
--- a/jdk9-specjbb2013-benchmark-publish-results.yaml
+++ /dev/null
@@ -1,55 +0,0 @@
-- job:
- name: jdk9-specjbb2013-benchmark-publish-results
- project-type: freestyle
- defaults: global
- description: |
- * Reports are published to http://openjdk.linaro.org/SPECjbb2013-1.00-results/
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: ZERO_BASELINE
- default: '14115'
- - string:
- name: SERVER_MAX_JOPS_BASELINE
- default: '3275'
- - string:
- name: SERVER_CRITICAL_JOPS_BASELINE
- default: '854'
- - string:
- name: PUBLISH_DEST
- default: ''
- - string:
- name: PUBLISH_HOST
- default: ''
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- - ssh-agent-credentials:
- # openjdk-testing user id
- users:
- - '744cffb4-9ce1-4856-b103-9fdda06dad36'
-# Replaced by parameters
-# - inject:
-# properties-file: '${HOME}/performance-baseline.properties'
- builders:
- - shell: |
- #!/bin/bash
-
- set -exu
- PERSIST=$HOME/srv/openjdk9u
- export TOP_DIR=$PERSIST
-
- $PERSIST/specjbb-test-scripts/specjbb-publish $PUBLISH_DEST
- publishers:
- - email:
- recipients: 'fathi.boudra@linaro.org stuart.monteith@linaro.org'
diff --git a/jdk9-specjbb2013-benchmark.yaml b/jdk9-specjbb2013-benchmark.yaml
deleted file mode 100644
index 96209caed..000000000
--- a/jdk9-specjbb2013-benchmark.yaml
+++ /dev/null
@@ -1,118 +0,0 @@
-- job:
- name: jdk9-specjbb2013-benchmark
- project-type: matrix
- defaults: global
- description: |
- * Runs the specjbb benchmark in composite mode (i.e., single VM, single node).
- properties:
- - authorization:
- linaro:
- - job-read
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
-# SRDM: Disable client build while waiting for LEG-347 to be fixed.
-# - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
-# copyartifact is slow and the file is local
-# copy instead of going back and forth between master <-> slave
-# - copyartifact:
-# project: jdk9-build-image
-# filter: 'out/jdk9-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz'
-# target: incoming
-# flatten: true
- - copyartifact:
- project: archive-specjbb2013-product-tarball
- filter: 'out/SPECjbb2013-1.00.tar.gz'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- set -exu
-
- ## Extract jdk
- tar xf ~/workspace/jdk9-build-image/BUILD_TYPE/${BUILD_TYPE}/JVM_VARIANT/${JVM_VARIANT}/label/${NODE_NAME}/out/jdk9u-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz
- export JAVA_HOME=${WORKSPACE}/jdk9u-${JVM_VARIANT}-${BUILD_TYPE}
- export PATH=$JAVA_HOME/bin:$PATH
- which java
- java -version
-
- ## Extract specjbb2013 product
- #(cd incoming; wget -nv http://openjdk-apm1/openjdk8-build-artefacts/SPECjbb2013-1.00.tar.gz)
- tar xf incoming/SPECjbb2013-1.00.tar.gz
-
- ## Run test
-
- SPECJBB_PRODUCT_HOME=SPECjbb2013-1.00
-
- # This commented-out invocation is a quick test that
- # takes about 10 minutes to complete - which can be
- # useful when debugging.
-
- #(cd $SPECJBB_PRODUCT_HOME; \
- # time java \
- # -Dspecjbb.controller.rtcurve.duration.min=500 \
- # -Dspecjbb.controller.rtcurve.duration.max=1500 \
- # -Dspecjbb.controller.type=PRESET \
- # -Dspecjbb.controller.preset.ir=4000 \
- # -Dspecjbb.controller.preset.duration=100 \
- # -jar specjbb2013.jar -m composite)
-
- (cd $SPECJBB_PRODUCT_HOME; java -XX:+UseLargePages -XX:-UseBiasedLocking -Xmx12g -Xms12g -XX:+UseParallelOldGC -jar specjbb2013.jar -m composite)
-
- mkdir -p out
-
- datafile=$(basename $(echo $SPECJBB_PRODUCT_HOME/specjbb*.data.gz) | sed "s/\(specjbb2013\)/\1-${JVM_VARIANT}-${BUILD_TYPE}/")
-
- cp $SPECJBB_PRODUCT_HOME/specjbb*.data.gz out/$datafile
-
- java -jar $SPECJBB_PRODUCT_HOME/specjbb2013.jar \
- -m REPORTER \
- -raw $SPECJBB_PRODUCT_HOME/config/template-M.raw \
- -p $SPECJBB_PRODUCT_HOME/config/specjbb2013.props \
- -s $SPECJBB_PRODUCT_HOME/specjbb2013-C-*.data.gz \
- -l 1
-
- tar -acf out/specjbb-result-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz result
-
- rm -rf html
- mkdir html
- cp -a result/**/report-00001/* html
- cp html/*0001.html html/index.html
- publishers:
- - archive:
- artifacts: 'out/*.gz'
- - html-publisher:
- name: 'HTML Report'
- dir: 'html'
- files: 'index.html'
- keep-all: true
diff --git a/jdk9-specjbb2015-benchmark-persist-results.yaml b/jdk9-specjbb2015-benchmark-persist-results.yaml
deleted file mode 100644
index 4dfe5fc8d..000000000
--- a/jdk9-specjbb2015-benchmark-persist-results.yaml
+++ /dev/null
@@ -1,87 +0,0 @@
-- job:
- name: jdk9-specjbb2015-benchmark-persist-results
- project-type: matrix
- defaults: global
- description: |
- * Writes the results to $HOME/srv/openjdk9u/SPECjbb2015-nightly-runs.<br>
- * This job has the client axis <b>disabled</b> until there is enough build/test time available.<br>
- * If the client axis is enabled the heap size for the VM will need to be adjusted using -Xmxm
- properties:
- - authorization:
- linaro:
- - job-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
-# - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
-# combination-filter: |
-# JVM_VARIANT=="server"
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
- - copyartifact:
- project: jdk9-specjbb2015-benchmark
- filter: 'out/specjbb*.gz'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- tree -f .
-
- PERSIST=$HOME/srv/openjdk9u
- TOP_DIR=$PERSIST
- export SPECJBB_PRODUCT_HOME=$PERSIST/SPECjbb2015
- mkdir -p $TOP_DIR
-
- SCRIPT_DIR=$PERSIST/specjbb-test-scripts
- if [ -d $SCRIPT_DIR ]; then
- (cd $SCRIPT_DIR; git pull)
- else
- git clone https://git.linaro.org/leg/openjdk/specjbb-test-scripts.git $SCRIPT_DIR
- fi
-
- source $SCRIPT_DIR/common.sh
-
- # Ensure nightly results dir exists.
- mkdir -p $SPECJBB_EXPANDED_RESULTS_DIR
-
- echo "Previous Results"
- cat ${RESULTS_CSV}
- set -eux
- result_tarball=${WORKSPACE}/incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT},label=${label}/specjbb-result-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz
- [ -e $result_tarball ] || exit 1
- tar -C ${SPECJBB_EXPANDED_RESULTS_DIR} -xf $result_tarball
- cp incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT},label=${label}/*.data.gz ${SPECJBB_EXPANDED_RESULTS_DIR}
- pushd ${SPECJBB_EXPANDED_RESULTS_DIR}
- echo "Updating ${RESULTS_CSV}"
- $SCRIPT_DIR/update-results-csv -- --verbose --output=${RESULTS_CSV}
diff --git a/jdk9-specjbb2015-benchmark-publish-results.yaml b/jdk9-specjbb2015-benchmark-publish-results.yaml
deleted file mode 100644
index f0baf82b3..000000000
--- a/jdk9-specjbb2015-benchmark-publish-results.yaml
+++ /dev/null
@@ -1,59 +0,0 @@
-- job:
- name: jdk9-specjbb2015-benchmark-publish-results
- project-type: freestyle
- defaults: global
- description: |
- * Reports are published to http://openjdk.linaro.org/jdk9u/SPECjbb2015-results/
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: ZERO_BASELINE
- default: '14115'
- - string:
- name: SERVER_MAX_JOPS_BASELINE
- default: '4090'
- - string:
- name: SERVER_CRITICAL_JOPS_BASELINE
- default: '1015'
- - string:
- name: PUBLISH_DEST
- default: ''
- - string:
- name: PUBLISH_HOST
- default: ''
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- - ssh-agent-credentials:
- # openjdk-testing user id
- users:
- - '744cffb4-9ce1-4856-b103-9fdda06dad36'
-# Replaced by parameters
-# - inject:
-# properties-file: '${HOME}/performance-baseline.properties'
- builders:
- - shell: |
- #!/bin/bash
-
- set -exu
- PERSIST=$HOME/srv/openjdk9u
- export TOP_DIR=$PERSIST
- export SPECJBB_PRODUCT_HOME=$PERSIST/SPECjbb2015
-
- $PERSIST/specjbb-test-scripts/specjbb-publish $PUBLISH_DEST
- publishers:
- - email:
- recipients: 'fathi.boudra@linaro.org stuart.monteith@linaro.org'
diff --git a/jdk9-specjbb2015-benchmark.yaml b/jdk9-specjbb2015-benchmark.yaml
deleted file mode 100644
index 8c4b94c89..000000000
--- a/jdk9-specjbb2015-benchmark.yaml
+++ /dev/null
@@ -1,127 +0,0 @@
-- job:
- name: jdk9-specjbb2015-benchmark
- project-type: matrix
- defaults: global
- description: |
- * Runs the specjbb2015 benchmark in composite mode (i.e., single VM, single node).
- properties:
- - authorization:
- linaro:
- - job-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
- - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
-# copyartifact is slow and the file is local
-# copy instead of going back and forth between master <-> slave
-# - copyartifact:
-# project: jdk9-build-image
-# filter: 'out/jdk9-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz'
-# target: incoming
-# flatten: true
- - copyartifact:
- project: archive-specjbb2015-product-tarball
- filter: 'out/SPECjbb2015.tgz'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- set -exu
- #
- # client variant uses server with -XX:TieredStopAtLevel=1
- # zero is a third possible value.
- REAL_VARIANT=${JVM_VARIANT/client/server}
-
- ## Extract jdk
- tar xf ~/workspace/jdk9-build-image/BUILD_TYPE/${BUILD_TYPE}/JVM_VARIANT/${REAL_VARIANT}/label/${NODE_NAME}/out/jdk9u-${REAL_VARIANT}-${BUILD_TYPE}.tar.gz
- export JAVA_HOME=${WORKSPACE}/jdk9u-${REAL_VARIANT}-${BUILD_TYPE}
- export PATH=$JAVA_HOME/bin:$PATH
- which java
- java -version
-
- ## Extract specjbb2015 product
- tar xf incoming/SPECjbb2015.tgz
-
- ## Run test
-
- SPECJBB_PRODUCT_HOME=SPECjbb2015
-
- # This commented-out invocation is a quick test that
- # takes about 10 minutes to complete - which can be
- # useful when debugging.
-
- #(cd $SPECJBB_PRODUCT_HOME; \
- # time java \
- # -Dspecjbb.controller.rtcurve.duration.min=500 \
- # -Dspecjbb.controller.rtcurve.duration.max=1500 \
- # -Dspecjbb.controller.type=PRESET \
- # -Dspecjbb.controller.preset.ir=4000 \
- # -Dspecjbb.controller.preset.duration=100 \
- # -jar specjbb2015.jar -m composite)
-
- if [ $JVM_VARIANT = "server" ]; then
- (cd $SPECJBB_PRODUCT_HOME; java --add-modules java.se.ee -XX:+UseLargePages -XX:-UseBiasedLocking -Xmx12g -Xms12g -XX:+UseParallelOldGC -jar specjbb2015.jar -m composite)
- else
- (cd $SPECJBB_PRODUCT_HOME; java --add-modules java.se.ee -XX:TieredStopAtLevel=1 -XX:+UseLargePages -XX:-UseBiasedLocking -Xmx12g -Xms12g -XX:+UseParallelOldGC -jar specjbb2015.jar -m composite)
- fi
-
- mkdir -p out
-
- datafile=$(basename $(echo $SPECJBB_PRODUCT_HOME/specjbb*.data.gz) | sed "s/\(specjbb2015\)/\1-${JVM_VARIANT}-${BUILD_TYPE}/")
-
- cp $SPECJBB_PRODUCT_HOME/specjbb*.data.gz out/$datafile
-
- java -jar $SPECJBB_PRODUCT_HOME/specjbb2015.jar \
- -m REPORTER \
- -raw $SPECJBB_PRODUCT_HOME/config/template-M.raw \
- -p $SPECJBB_PRODUCT_HOME/config/specjbb2015.props \
- -s $SPECJBB_PRODUCT_HOME/specjbb2015-C-*.data.gz \
- -l 1
-
- tar -acf out/specjbb-result-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz result
-
- rm -rf html
- mkdir html
- cp -a result/**/report-00001/* html
- cp html/*0001.html html/index.html
- publishers:
- - archive:
- artifacts: 'out/*.gz'
- - html-publisher:
- name: 'HTML Report'
- dir: 'html'
- files: 'index.html'
- keep-all: true
diff --git a/jdk9-terasort-benchmark-persist-results.yaml b/jdk9-terasort-benchmark-persist-results.yaml
deleted file mode 100644
index 8d3b67a99..000000000
--- a/jdk9-terasort-benchmark-persist-results.yaml
+++ /dev/null
@@ -1,85 +0,0 @@
-- job:
- name: jdk9-terasort-benchmark-persist-results
- project-type: matrix
- defaults: global
- description: |
- * Writes results to /work/openjdk-testing/hadoop-terasort-benchmark-results.
- properties:
- - authorization:
- linaro:
- - job-read
- openjdk-members:
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
- - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
- - copyartifact:
- project: jdk9-terasort-benchmark
- filter: 'out/terasort-results-${JVM_VARIANT}-${BUILD_TYPE}.csv'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- set -exu
-
- PERSIST=$HOME/srv/openjdk9u
- export BENCHMARK_RESULTS_DIR=$PERSIST/hadoop-terasort-benchmark-results
- new_results=incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT},label=${label}/*.csv
- prev_results=$BENCHMARK_RESULTS_DIR/results.csv
-
- # Ensure persistent directory exists.
- mkdir -p $BENCHMARK_RESULTS_DIR
-
- # Tolerate missing results.csv file.
- if [ ! -f $prev_results ]; then
- touch $prev_results
- fi
-
- SCRIPT_DIR=$PERSIST/hadoop-test-scripts
- if [ -d $SCRIPT_DIR ]; then
- (cd $SCRIPT_DIR; git pull)
- else
- git clone https://git.linaro.org/leg/openjdk/hadoop-test-scripts.git $SCRIPT_DIR
- fi
-
- echo "Previous Results"
- echo "----------------"
- cat ${prev_results}
- echo
-
- cat ${new_results} >> ${prev_results}
-
- $SCRIPT_DIR/update-results-db
diff --git a/jdk9-terasort-benchmark-publish-results.yaml b/jdk9-terasort-benchmark-publish-results.yaml
deleted file mode 100644
index 7eaac0a34..000000000
--- a/jdk9-terasort-benchmark-publish-results.yaml
+++ /dev/null
@@ -1,67 +0,0 @@
-- job:
- name: jdk9-terasort-benchmark-publish-results
- project-type: freestyle
- defaults: global
- description: |
- * Results are published to http://openjdk.linaro.org/hadoop-terasort-benchmark-results/
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: ZERO_BASELINE
- default: '14115'
- - string:
- name: SERVER_MAX_JOPS_BASELINE
- default: '3275'
- - string:
- name: SERVER_CRITICAL_JOPS_BASELINE
- default: '854'
- - string:
- name: PUBLISH_DEST
- default: ''
- - string:
- name: PUBLISH_HOST
- default: ''
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - ssh-agent-credentials:
- # openjdk-testing user id
- users:
- - '744cffb4-9ce1-4856-b103-9fdda06dad36'
- - timestamps
-# Replaced by parameters
-# - inject:
-# properties-file: '${HOME}/performance-baseline.properties'
- builders:
- - shell: |
- #!/bin/bash
- PERSIST=$HOME/srv/openjdk9u
- export JDK_VERSION=9u
-
- export BENCHMARK_RESULTS_DIR=$PERSIST/hadoop-terasort-benchmark-results
- SCRIPT_DIR=$PERSIST/hadoop-test-scripts
-
- if [ -d $SCRIPT_DIR ]; then
- (cd $SCRIPT_DIR; git pull)
- else
- git clone https://git.linaro.org/leg/openjdk/hadoop-test-scripts.git $SCRIPT_DIR
- fi
-
- $SCRIPT_DIR/benchmark-terasort-publish $PUBLISH_DEST
- publishers:
- - email:
- recipients: 'fathi.boudra@linaro.org stuart.monteith@linaro.org'
diff --git a/jdk9-terasort-benchmark.yaml b/jdk9-terasort-benchmark.yaml
deleted file mode 100644
index 0323fe5b0..000000000
--- a/jdk9-terasort-benchmark.yaml
+++ /dev/null
@@ -1,140 +0,0 @@
-- job:
- name: jdk9-terasort-benchmark
- project-type: matrix
- defaults: global
- description: |
- * Runs the terasort benchmark.
- properties:
- - authorization:
- linaro:
- - job-read
- openjdk-members:
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: JVM_VARIANT
- values:
- - server
- - client
- - axis:
- type: user-defined
- name: BUILD_TYPE
- values:
- - release
- - axis:
- type: slave
- name: label
- values:
- - aarch64-06
- execution-strategy:
- sequential: true
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- - matrix-tie-parent:
- node: aarch64-06
- builders:
-# copyartifact is slow and the file is local
-# copy instead of going back and forth between master <-> slave
-# - copyartifact:
-# project: jdk9-build-image
-# filter: 'out/jdk9-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz'
-# target: incoming
-# flatten: true
- - copyartifact:
- project: openjdk8-hadoop-LCA14
- filter: 'out/openjdk8-hadoop-LCA14.tar.gz'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- set -exu
-
- NGIGABYTES=1
-
- # client variant uses server with -XX:TieredStopAtLevel=1
- # zero is a third possible value.
- REAL_VARIANT=${JVM_VARIANT/client/server}
-
- ## Extract jdk
- rm -rf jdk9u*
- tar xf ~/workspace/jdk9-build-image/BUILD_TYPE/${BUILD_TYPE}/JVM_VARIANT/${REAL_VARIANT}/label/${NODE_NAME}/out/jdk9u-${REAL_VARIANT}-${BUILD_TYPE}.tar.gz
-
- export JAVA_HOME=${WORKSPACE}/jdk9u-${REAL_VARIANT}-${BUILD_TYPE}
- export PATH=${JAVA_HOME}/bin:$PATH
-
- ## Extract Hadoop pre-builts
- rm -rf openjdk8-hadooop-LCA14
- tar xf incoming/openjdk8-hadoop-LCA14.tar.gz
-
- ## Benchmark
- # FIXME
- #(cd incoming; wget --progress=dot -e dotbytes=10M http://openjdk-apm1/openjdk8-build-artefacts/${NGIGABYTES}GB.tar.gz; tar xf ${NGIGABYTES}GB.tar.gz)
- (cd incoming; tar xf ~/srv/hadoop-terasort-reference-files/${NGIGABYTES}GB.tar.gz)
-
- TERAGEN_BASELINE_DIR=${WORKSPACE}/incoming
- HADOOP_DIR=${WORKSPACE}/openjdk8-hadoop-LCA14
-
- rm -rf out
- mkdir out
-
- sed -i '/^export JAVA_HOME=/d' ${HADOOP_DIR}/conf/hadoop-env.sh
- echo "export JAVA_HOME=$JAVA_HOME" >> ${HADOOP_DIR}/conf/hadoop-env.sh
- sed -i 's|/work/${user.name}/hadoop-tmp|${user.home}/hadoop/tmp|' ${HADOOP_DIR}/conf/core-site.xml
-
- source ${HADOOP_DIR}/env.sh
-
- which hadoop
- which java
- which hdfs
- java -version
-
- stop-dfs.sh
- stop-yarn.sh
-
- rm -rf ${HOME}/hadoop
- mkdir -p ${HOME}/hadoop/tmp
- hdfs namenode -format -force
- start-dfs.sh
- start-yarn.sh
-
- # Need time for the datanodes to materialise.
- sleep 30
- jps
-
- hadoop fs -mkdir -p /user/$USER
- hadoop fs -copyFromLocal $TERAGEN_BASELINE_DIR/${NGIGABYTES}GB /user/$USER
-
- trap "stop-dfs.sh; stop-yarn.sh" EXIT
-
- # Use only C1 compiler for client runs.
- if [ $JVM_VARIANT = "client" ]; then
- VARIANT_OPT=-XX:TieredStopAtLevel=1
- else
- VARIANT_OPT=-Dharmless.property
- fi
-
- elapsed_time_file=$(mktemp /tmp/benchmark-terasort-XXXXXX.$$)
- HADOOP_OPTS=${VARIANT_OPT} /usr/bin/time -o $elapsed_time_file -f "%e" terasort ${NGIGABYTES}GB ${NGIGABYTES}GB-sorted
-
- hadoop fs -rm -R ${NGIGABYTES}GB-sorted
- sed -i 's/\..*//' $elapsed_time_file
- elapsed_time=$(cat $elapsed_time_file)
- date_as_epoch=$(date --date="$(date +'%Y-%m-%d')" +%s)
- echo "$date_as_epoch,$JVM_VARIANT,$NGIGABYTES,$elapsed_time" > out/terasort-results-${JVM_VARIANT}-${BUILD_TYPE}.csv
- rm -rf incoming/${NGIGABYTES}*
- publishers:
- - archive:
- artifacts: 'out/terasort-results-*.csv'
diff --git a/jdk9-update-src-tree-persist.yaml b/jdk9-update-src-tree-persist.yaml
deleted file mode 100644
index da62fda86..000000000
--- a/jdk9-update-src-tree-persist.yaml
+++ /dev/null
@@ -1,56 +0,0 @@
-- job:
- name: jdk9-update-src-tree-persist
- project-type: freestyle
- defaults: global
- description: |
- This jobs writes the current jdk9 src tree to /work/openjdk-testing/jdk9/openjdk-jtreg-nightly-tests/...<br>
- It is used to report failure/errors against the jtreg results.
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- parameters:
- - string:
- name: YEAR
- default: 'default'
- - string:
- name: DAY_OF_YEAR
- default: 'default'
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- wrappers:
- - workspace-cleanup:
- dirmatch: false
- - timestamps
- builders:
- - copyartifact:
- project: jdk9-update-src-tree
- filter: 'out/*'
- target: incoming
- flatten: true
- - shell: |
- #!/bin/bash
-
- set -exu
-
- : ${YEAR:=$(date +%Y)}
- : ${DAY_OF_YEAR:=$(date +%j)}
- PERSIST=$HOME/srv/openjdk9u
-
- TOP_DIR=$PERSIST/openjdk-jtreg-nightly-tests
- src_dir=$TOP_DIR/src/$YEAR/$DAY_OF_YEAR
- mkdir -p $src_dir
- echo "Extracting tarball to $src_dir"
- tar -C $src_dir --strip-components=1 -xf $WORKSPACE/incoming/jdk9u.tar.gz
-
- # Copy bill-of-materials to persistent area for email report.
- cp incoming/BOM $TOP_DIR
diff --git a/jdk9-update-src-tree.yaml b/jdk9-update-src-tree.yaml
deleted file mode 100644
index ad7b0d872..000000000
--- a/jdk9-update-src-tree.yaml
+++ /dev/null
@@ -1,152 +0,0 @@
-- scm:
- name: jdk9u
- scm:
- - hg:
- url: https://hg.openjdk.java.net/jdk-updates/jdk9u
- clean: true
- subdir: jdk9u
-- scm:
- name: corba
- scm:
- - hg:
- url: https://hg.openjdk.java.net/jdk-updates/jdk9u/corba
- clean: true
- subdir: jdk9u/corba
-- scm:
- name: hotspot
- scm:
- - hg:
- url: https://hg.openjdk.java.net/jdk-updates/jdk9u/hotspot
- clean: true
- subdir: jdk9u/hotspot
-- scm:
- name: jaxp
- scm:
- - hg:
- url: https://hg.openjdk.java.net/jdk-updates/jdk9u/jaxp
- clean: true
- subdir: jdk9u/jaxp
-- scm:
- name: jaxws
- scm:
- - hg:
- url: https://hg.openjdk.java.net/jdk-updates/jdk9u/jaxws
- clean: true
- subdir: jdk9u/jaxws
-- scm:
- name: jdk
- scm:
- - hg:
- url: https://hg.openjdk.java.net/jdk-updates/jdk9u/jdk
- clean: true
- subdir: jdk9u/jdk
-- scm:
- name: langtools
- scm:
- - hg:
- url: https://hg.openjdk.java.net/jdk-updates/jdk9u/langtools
- clean: true
- subdir: jdk9u/langtools
-- scm:
- name: nashorn
- scm:
- - hg:
- url: https://hg.openjdk.java.net/jdk-updates/jdk9u/nashorn
- clean: true
- subdir: jdk9u/nashorn
-- job:
- name: jdk9-update-src-tree
- project-type: freestyle
- defaults: global
- description: |
- This job polls upstream Mercurial servers for changes and,<br>
- if there are any, triggers "jdk9-build-and-test".<br>
- Note: this job archives the src which is later required by the jtreg<br>
- report and publish job. The build-date.sh artefact contains shell<br>
- variables for the day and day-of-year the source was archived.
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- openjdk-members:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 10
- artifact-num-to-keep: 5
- disabled: true
- node: aarch64-06
- display-name: 'DELETE ME'
- scm:
- - jdk9u
- - corba
- - hotspot
- - jaxp
- - jaxws
- - jdk
- - langtools
- - nashorn
- triggers:
- - pollscm: 'H 12 */2 * *'
- wrappers:
- - timestamps
- builders:
- - shell: |
- #!/bin/bash
-
- set -eu
-
- rm -rf out
- mkdir out
-
- pushd jdk9u
- #find . -name BOM -exec rm {} \;
- #commit_id=$(hg identify | awk '{print $1}')
- #echo "jdk9-${commit_id}" | tee -a BOM
-
- #for i in corba jaxp jaxws langtools jdk hotspot nashorn; do
- # pushd $i
- # commit_id=$(hg identify | awk '{print $1}')
- # dir=$(basename $PWD)
- # echo "${dir}-${commit_id}" | tee -a ../BOM
- # popd
- #done
-
- ## Pull out subdirectory HG versions
- SUBREPOS=". corba jaxp jaxws langtools jdk hotspot nashorn"
-
- echo BOM for $(hg paths default) > BOM
- echo -e Subdir\\tHash\\t\\tTag\\tTag hash >> BOM
- for x in $SUBREPOS; do
- echo -e $x\\t$(cd $x; hg head --template '{node|short}\t' tip; hg tags --template="{tag}\t{node|short}\n" | grep -ve '^tip' | head -n1) >>BOM
- done
-
- cp BOM $WORKSPACE/out
-
- popd
-
- : ${YEAR:=$(date +%Y)}
- : ${DAY_OF_YEAR:=$(date +%j)}
-
- : ${YEAR_YESTERDAY:=$YEAR}
- : ${DAY_OF_YEAR_YESTERDAY:=$((10#$DAY_OF_YEAR - 1))}
-
- echo "YEAR=${YEAR}" >dates.prop
- echo "DAY_OF_YEAR=${DAY_OF_YEAR}" >>dates.prop
-
- echo "export YEAR=${YEAR}" > out/build-date.sh
- echo "export DAY_OF_YEAR=${DAY_OF_YEAR}" >> out/build-date.sh
-
- tar --exclude=.hg -acf out/jdk9u.tar.gz jdk9u
- publishers:
- - archive:
- artifacts: 'out/jdk9u.tar.gz, out/build-date.sh, out/BOM'
- - fingerprint:
- files: 'out/*'
- record-artifacts: true
- - trigger-parameterized-builds:
- - project: jdk9-build-and-test
- condition: SUCCESS
- property-file: dates.prop
diff --git a/khilman-buildroot.yaml b/khilman-buildroot.yaml
deleted file mode 100644
index 9a4225825..000000000
--- a/khilman-buildroot.yaml
+++ /dev/null
@@ -1,72 +0,0 @@
-- job:
- name: khilman-buildroot
- project-type: matrix
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- khilman@kernel.org:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- - github:
- url: https://github.com/kernelci/buildroot/
- disabled: true
- node: kernelci
- child-workspace: .
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://github.com/kernelci/buildroot.git
- refspec: +refs/heads/kernelci/latest:refs/remotes/origin/kernelci/latest
- name: origin
- branches:
- - refs/heads/kernelci/latest
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- axes:
- - axis:
- type: slave
- name: label
- values:
- - kernelci
- - axis:
- type: user-defined
- name: arch
- values:
- - armel
- - armeb
- - arm64
- - arm64be
- - x86
- - axis:
- type: user-defined
- name: frag
- values:
- - base
- - tests
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- builders:
- - shell: |
- #!/bin/bash
-
- make clean
- ./configs/frags/build ${arch} ${frag}
- - shell: |
- #!/bin/bash -x
-
- ssh storage.armcloud.us mkdir -p /var/www/images/kernel-ci/images/rootfs/buildroot/${arch}/${frag}
- scp output/images/* storage.armcloud.us:/var/www/images/kernel-ci/images/rootfs/buildroot/${arch}/${frag}/
- publishers:
- - email:
- recipients: 'khilman@kernel.org'
diff --git a/khilman-kbuilder.yaml b/khilman-kbuilder.yaml
deleted file mode 100644
index 190d69cdc..000000000
--- a/khilman-kbuilder.yaml
+++ /dev/null
@@ -1,231 +0,0 @@
-- job:
- name: khilman-kbuilder
- project-type: matrix
- defaults: global
- parameters:
- - string:
- name: ARCH_LIST
- default: 'arm'
- - string:
- name: DEFCONFIG_LIST
- default: 'defconfig'
- - string:
- name: TREE
- default: 'http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git'
- - string:
- name: BRANCH
- default: 'master'
- - string:
- name: COMMIT_ID
- default: ''
- - string:
- name: TREE_NAME
- default: 'mainline'
- - bool:
- name: PUBLISH
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- khilman@kernel.org:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- - job-configure
- milo.casagrande@linaro.org:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 7
- num-to-keep: 30
- - throttle:
- max-total: 6
- option: project
- - inject
- disabled: true
- node: x86_64
- retry-count: 3
- child-workspace: .
- display-name: 'DELETE ME'
- auth-token: ${AUTH_TOKEN}
- axes:
- - axis:
- type: slave
- name: label
- values:
- - kernel_build_vps
- - axis:
- type: dynamic
- name: arch
- values:
- - ARCH_LIST
- - axis:
- type: dynamic
- name: defconfig
- values:
- - DEFCONFIG_LIST
- wrappers:
- - timestamps
- - matrix-tie-parent:
- node: x86_64
- - timeout:
- timeout: 45
- builders:
- - shell: |
- #!/bin/bash
-
- set -x
-
- # local copy of build scripts
- if [ ! -d local ]; then
- mkdir -p local
- (cd local; git clone --depth=1 https://github.com/kernelci/kernelci-build.git)
- fi
-
- (cd local/kernelci-build; git pull)
- export PATH=${WORKSPACE}/local/kernelci-build:${PATH}
-
- # Ensure TREE URL is decoded
- TREE=`python -c "import urllib, sys; print urllib.unquote(sys.argv[1])" ${TREE}`
- BRANCH=`python -c "import urllib, sys; print urllib.unquote(sys.argv[1])" ${BRANCH}`
-
- #
- # Kernel tree -- clone Linus' tree and add ${TREE} as remote. This takes advantage
- # of all the tags in Linus' tree for more useful git-describe output.
- #
- MIRROR=/srv/mirrors/linux.git
- REFSPEC=+refs/heads/${BRANCH}:refs/remotes/origin/${BRANCH}
- if [ -e ${TREE_NAME} ]; then
- cd ${TREE_NAME} && \
- timeout --preserve-status -k 10s 5m git fetch --tags linus && \
- timeout --preserve-status -k 10s 5m git fetch --tags ${TREE} ${REFSPEC}
- else
- git clone -o linus --reference ${MIRROR} http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git ${TREE_NAME}
- cd ${TREE_NAME} && \
- git remote add origin ${TREE} && \
- timeout --preserve-status -k 10s 5m git fetch origin
- # (cd ${TREE_NAME}; git remote add origin ${TREE}; git fetch origin ${REFSPEC})
- fi
- if [ $? != 0 ]; then
- exit 1
- fi
-
- #rm -rf _install_
- git clean -df
- timeout --preserve-status -k 10s 5m git fetch origin ${REFSPEC}
- if [ $? != 0 ]; then
- exit 1
- fi
- if [ -z ${COMMIT_ID} ]; then
- git checkout -f origin/${BRANCH}
- else
- git checkout -f origin/${BRANCH}
- git branch -D local/${BRANCH}
- git checkout -b local/${BRANCH} -f ${COMMIT_ID}
- fi
- if [ $? != 0 ]; then
- exit 1
- fi
-
- # Ensure abbrev SHA1s are 12 chars
- git config --global core.abbrev 12
-
- # Only use v3.x tags in arm-soc tree
- unset describe_args
- [ ${TREE_NAME} = "arm-soc" ] && describe_args="--match=v\*"
- GIT_DESCRIBE=$(eval git describe $describe_args)
- GIT_DESCRIBE=${GIT_DESCRIBE//\//_} # replace any '/' with '_'
- echo GIT_DESCRIBE=${GIT_DESCRIBE} > env.properties
- export GIT_DESCRIBE # so it overrides default done by build.py
-
- #export CCACHE_DISABLE=true
-
- # Convert defconfig of form "foo+bar" into "foo -c bar"
- defconfig_translated=`echo ${defconfig} | sed 's/\+/ \-c /g'`
-
- # Build kernel/modules and install (default: ./_install_ dir)
- export LANG=C
- export ARCH=${arch}
- if [ $PUBLISH != true ]; then
- build.py -i -c ${defconfig_translated}
- else
- build.py -i -p production -c ${defconfig_translated}
- fi
- RC=$?
-
- # Remove the build output (important stuff in _install_ dir)
- rm -rf build
-
- echo "Kernel build result: ${RC}"
- echo ${RC} > build.result
-
- # Always return success here so pass/fail results can still be published
- exit 0
- - inject:
- properties-file: ${TREE_NAME}/env.properties
-
- - shell: |
- #!/bin/bash
- #
- # This script determines overall result of jenkins job
- #
- exit `cat ${TREE_NAME}/build.result`
-
- BUILD_DIR=${TREE_NAME}/_install_/${GIT_DESCRIBE}/${arch}-${defconfig}
- BUILD_META=${BUILD_DIR}/build.meta
-
- grep build_result: ${BUILD_META} |grep -cq PASS
- RC=$?
-
- exit $RC
- publishers:
- - groovy-postbuild:
- script: |
- def build_number = manager.build.getEnvironment(manager.listener)['BUILD_NUMBER']
- def tree_name = manager.build.getEnvironment(manager.listener)['TREE_NAME']
- def branch = manager.build.getEnvironment(manager.listener)["BRANCH"]
- def description = manager.build.getEnvironment(manager.listener)['GIT_DESCRIBE']
- def arch = manager.build.getEnvironment(manager.listener)['ARCH_LIST']
- def publish = manager.build.getEnvironment(manager.listener)['PUBLISH']
- def resultsUrl="https://kernelci.org/build/${tree_name}/kernel/${description}/"
-
- def jobDescription = "&nbsp;ARCH: ${arch}"
- // FIXME: resultsURL is only valid when PUBLISH = "true"
- jobDescription = jobDescription + ",&nbsp;<a href='${resultsUrl}'>Results db</a>"
-
- manager.build.setDisplayName("#" + build_number + "-" + tree_name + '/' + branch + "-" + description)
- manager.build.setDescription(jobDescription)
-
- def cause = manager.build.getAction(hudson.model.CauseAction.class).getCauses()
- def upstreamBuild = cause[0].upstreamBuild
- def upstreamProject = cause[0].upstreamProject
- def jobName = upstreamProject
- def jobConfiguration = upstreamProject
-
- // Multi-configuration project
- if (upstreamProject.contains("/")) {
- jobName = upstreamProject.split("/")[0]
- jobConfiguration = upstreamProject.split("/")[1]
- }
-
- def jobs = hudson.model.Hudson.instance.getItem(jobName).getAllJobs()
-
- for (job in jobs) {
- if(job.name == jobConfiguration) {
- job.getLastBuild().setDisplayName("#" + build_number + "-" + tree_name + '/' + branch + "-" + description)
- job.getLastBuild().setDescription(jobDescription)
- }
- }
- - trigger-parameterized-builds:
- - project: khilman-kernel-build-complete
- property-file: ${TREE_NAME}/env.properties
- condition: ALWAYS
- predefined-parameters: |
- PUBLISH=${PUBLISH}
- TREE_NAME=${TREE_NAME}
- ARCH_LIST=${ARCH_LIST}
- GIT_DESCRIBE=${GIT_DESCRIBE}
diff --git a/khilman-kernel-build-complete.yaml b/khilman-kernel-build-complete.yaml
deleted file mode 100644
index 6e9899064..000000000
--- a/khilman-kernel-build-complete.yaml
+++ /dev/null
@@ -1,67 +0,0 @@
-- job:
- name: khilman-kernel-build-complete
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- kevin.hilman@linaro.org:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- parameters:
- - string:
- name: TREE_NAME
- default: ''
- - string:
- name: PUBLISH
- default: ''
- - string:
- name: GIT_DESCRIBE
- default: ''
- - string:
- name: ARCH_LIST
- default: ''
- - text:
- name: RESULTS
- default: 'No Results'
- disabled: true
- node: kci-x86_64-build-complete-01
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://github.com/kernelci/kernelci-build.git
- refspec: +refs/heads/master:refs/remotes/origin/master
- name: origin
- branches:
- - refs/heads/master
- basedir: local/kernelci-build
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- wrappers:
- - timestamps
- builders:
- - shell: |
- #!/bin/bash
-
- bash -x ./local/kernelci-build/build-complete.sh
- publishers:
- - trigger-parameterized-builds:
- - project: tbaker-kboot-bot
- condition: ALWAYS
- predefined-parameters: |
- URL=http://storage.kernelci.org/${TREE_NAME}/${GIT_DESCRIBE}/
- ARCH=${ARCH_LIST}
- - project: mhart-kboot-bot
- condition: ALWAYS
- predefined-parameters: |
- TREE=${TREE_NAME}
- BRANCH=${GIT_DESCRIBE}
- ARCH=${ARCH_LIST}
diff --git a/khilman-trigger-flex.yaml b/khilman-trigger-flex.yaml
deleted file mode 100644
index 8156d966e..000000000
--- a/khilman-trigger-flex.yaml
+++ /dev/null
@@ -1,420 +0,0 @@
-- job:
- name: khilman-trigger-flex
- project-type: matrix
- defaults: global
- logrotate:
- daysToKeep: 7
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- khilman@kernel.org:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- - job-configure
- - throttle:
- max-total: 1
- option: project
- - inject
- disabled: true
- node: kci-x86_64-build-complete-01
- child-workspace: .
- display-name: 'DELETE ME'
- triggers:
- - timed: 'H/60 * * * *'
- axes:
- - axis:
- type: slave
- name: label
- values:
- - kci-x86_64-build-complete-01
- - axis:
- type: user-defined
- name: ARCH
- values:
- - arm
- - arm64
- - mips
- - x86
- - axis:
- type: user-defined
- name: TREE_BRANCH
- values:
- - mainline#master
- - next#master
- - arm-soc#for-next
- - arm-soc#to-build
- - stable#linux-4.9.y
- - stable#linux-4.8.y
- - stable#linux-4.7.y
- - stable#linux-4.6.y
- - stable#linux-4.5.y
- - stable#linux-4.4.y
- - stable#linux-4.2.y
- - stable#linux-4.0.y
- - stable#linux-3.19.y
- - stable#linux-3.17.y
- - stable#linux-3.16.y
- - stable#linux-3.15.y
- - stable#linux-3.14.y
- - stable#linux-3.13.y
- - stable#linux-3.12.y
- - stable#linux-3.11.y
- - stable#linux-3.10.y
- - stable-sasha#linux-3.18.y-queue
- - stable-sasha#linux-3.18.y
- - stable-sasha#linux-4.1.y-queue
- - stable-sasha#linux-4.1.y
- - stable-rc#linux-3.14.y
- - stable-rc#linux-4.4.y
- - stable-rc#linux-4.6.y
- - stable-rc#linux-4.7.y
- - stable-rc#linux-4.8.y
- - stable-rc#linux-4.9.y
-# - net-next#master
-# - android#android-4.4
-# - android#android-4.4.y
-# - android#android-4.9
-# - drm-tip#drm-tip
- - arnd#to-build
-# - rmk#for-next
-# - rmk#to-build
-# - omap#for-next
-# - khilman#to-build
-# - qcom-lt#integration-linux-qcomlt
-# - samsung#for-next
-# - dlezcano#kevin-bot
-# - tbaker#to-build
-# - collabora#for-master
-# - collabora#for-next
-# - collabora#for-kernelci
-# - rt-stable#v3.2-rt
-# - rt-stable#v3.4-rt
-# - rt-stable#v3.10-rt
-# - rt-stable#v3.12-rt
-# - tegra#for-next
-# - anders#to-build
-# - anders#v3.18-rt-test
-# - anders#v4.0-rt-test
-# - anders#v4.1-rt-test
-# - viresh#for-kernelci
-# - alex#kernel-ci
-# - krzysztof#for-next
-# - agross#for-next
-# - broonie-regmap#for-next
-# - broonie-regulator#for-next
-# - broonie-sound#for-next
-# - broonie-spi#for-next
-# - renesas#next
-# - renesas#devel
-# - llvm#for-next
-# - llvm#master
-# - ulfh#next
-# - ardb#arm32-efi-for-kernelci
-# - evalenti#for-kernelci
-# - amitk#96b-kernelci
-# - pmwg#integ
-# - amlogic#for-next
-# - leg#leg-kernel
-# - efi#next
-# - linaro-android#linaro-android-llct
-# - linaro-android#lsk-v4.4-android
-# - linaro-android#lsk-v4.1-android
-# - linaro-android#lsk-v3.18-android
-# - lsk#for-test
-# - lsk#linux-linaro-lsk-v3.10
-# - lsk#linux-linaro-lsk-v3.10-test
-# - lsk#linux-linaro-lsk-v3.10-rt
-# - lsk#linux-linaro-lsk-v3.10-rt-test
-# - lsk#linux-linaro-lsk-v3.14
-# - lsk#linux-linaro-lsk-v3.14-test
-# - lsk#linux-linaro-lsk-v3.14-rt
-# - lsk#linux-linaro-lsk-v3.14-rt-test
-# - lsk#linux-linaro-lsk-v3.18
-# - lsk#linux-linaro-lsk-v3.18-test
-# - lsk#linux-linaro-lsk-v3.18-rt
-# - lsk#linux-linaro-lsk-v3.18-rt-test
-# - lsk#linux-linaro-lsk-v3.18-android
-# - lsk#linux-linaro-lsk-v3.18-android-test
-# - lsk#linux-linaro-lsk-v3.18-eas-test
-# - lsk#linux-linaro-lsk-v4.1
-# - lsk#linux-linaro-lsk-v4.1-test
-# - lsk#linux-linaro-lsk-v4.1-rt
-# - lsk#linux-linaro-lsk-v4.1-rt-test
-# - lsk#linux-linaro-lsk-v4.1-android
-# - lsk#linux-linaro-lsk-v4.1-android-test
-# - lsk#linux-linaro-lsk-v4.4
-# - lsk#linux-linaro-lsk-v4.4-test
-# - lsk#linux-linaro-lsk-v4.4-rt
-# - lsk#linux-linaro-lsk-v4.4-rt-test
-# - lsk#linux-linaro-lsk-v4.4-android
-# - lsk#linux-linaro-lsk-v4.4-android-test
-# - lsk#for-test
- execution-strategy:
- sequential: true
- wrappers:
- - timestamps
- - matrix-tie-parent:
- node: x86_64-01
- - timeout:
- timeout: 30
- builders:
- - shell: |
- #!/bin/bash
-
- set -x
-
- REFERENCE=/srv/mirrors/linux.git
-
- declare -A trees
- trees=(
- [mainline]="http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
- [next]="http://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git"
- [arm-soc]="http://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git"
- [rmk]="git://git.armlinux.org.uk/~rmk/linux-arm.git"
- [stable]="http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git"
- [omap]="http://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git"
- [linux-linaro]="https://git.linaro.org/kernel/linux-linaro-tracking.git"
- [lsk]="https://git.linaro.org/kernel/linux-linaro-stable.git"
- [khilman]="http://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux.git"
- [stable-sasha]="http://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git"
- [qcom-lt]="https://git.linaro.org/landing-teams/working/qualcomm/kernel.git"
- [samsung]="http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git"
- [dlezcano]="https://git.linaro.org/people/daniel.lezcano/linux.git"
- [tbaker]="https://github.com/EmbeddedAndroid/linux.git"
- [collabora]="http://cgit.collabora.com/git/linux.git"
- [rt-stable]="http://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux-stable-rt.git"
- [tegra]="http://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git"
- [anders]="https://git.linaro.org/people/anders.roxell/linux-rt.git"
- [viresh]="http://git.kernel.org/pub/scm/linux/kernel/git/vireshk/linux.git"
- [alex]="https://git.linaro.org/people/alex.bennee/linux.git"
- [krzysztof]="http://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git"
- [agross]="http://git.kernel.org/pub/scm/linux/kernel/git/agross/linux.git"
- [broonie-regmap]="http://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git"
- [broonie-regulator]="http://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git"
- [broonie-sound]="http://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git"
- [broonie-spi]="http://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git"
- [renesas]="http://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git"
- [llvm]="http://git.linuxfoundation.org/llvmlinux/kernel.git"
- [ulfh]="http://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git"
- [ardb]="https://git.linaro.org/people/ard.biesheuvel/linux-arm.git"
- [evalenti]="http://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal.git"
- [amitk]="https://git.linaro.org/people/amit.kucheria/kernel.git"
- [pmwg]="https://git.linaro.org/power/linux.git"
- [net-next]="git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git"
- [amlogic]="http://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic.git"
- [leg]="http://git.linaro.org/leg/acpi/leg-kernel.git"
- [stable-rc]="http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git"
- [efi]="http://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git"
- [android]="https://android.googlesource.com/kernel/common"
- [linaro-android]="https://android-git.linaro.org/git/kernel/linaro-android.git"
- [drm-tip]="https://anongit.freedesktop.org/git/drm/drm-tip.git"
- [arnd]=" http://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git"
- )
-
- OFS=${IFS}
- IFS='#'
- arr=($TREE_BRANCH)
- IFS=${OFS}
-
- tree_name=${arr[0]}
- tree_url=${trees[$tree_name]}
- branch=${arr[1]}
- if [[ -z ${branch} ]]; then
- branch="master"
- fi
-
- if [ ! -e $tree_name ]; then
- git clone --reference $REFERENCE $tree_url $tree_name
- else
- (cd $tree_name; git remote update)
- fi
-
- rm -f *.properties
- cd $tree_name
- rm -f *.properties
- git remote update
- git checkout -f origin/$branch
- if [ $? != 0 ]; then
- echo "ERROR: branch $branch doesn't exist"
- exit 1
- fi
-
- GIT_DESCRIBE=$(git describe)
- COMMIT_ID=$(git log -n1 --format=%H)
-
- echo "${tree_name}/${branch}-${GIT_DESCRIBE}"
-
- THIS_COMMIT=$branch-this.commit
- LAST_COMMIT=$branch-last.commit
- if [ ${ARCH} != "arm" ]; then
- THIS_COMMIT=$ARCH-$branch-this.commit
- LAST_COMMIT=$ARCH-$branch-last.commit
- fi
-
- if [ ! -e $LAST_COMMIT ]; then
- echo 0 > $LAST_COMMIT
- fi
-
- git log -n1 --format=%H > $THIS_COMMIT
- diff $LAST_COMMIT $THIS_COMMIT
- if [ $? == 0 ]; then
- echo "Nothing new in $tree_name/$branch. Skipping"
- exit 0
- fi
- cp $THIS_COMMIT $LAST_COMMIT
-
- ARCH_LIST=${ARCH}
-
- # defconfigs
- DEFCONFIG_LIST="allnoconfig "
- DEFCONFIG_LIST+=`(cd arch/${ARCH}/configs; echo *defconfig)`
- DEFCONFIG_LIST+=" "
-
- base_defconfig="defconfig"
- if [ ${ARCH} = "arm" ]; then
- base_defconfig="multi_v7_defconfig"
- fi
-
- # tinyconfig
- if [ -e kernel/configs/tiny.config ]; then
- DEFCONFIG_LIST+="tinyconfig "
- fi
-
- # defconfigs + fragments
- if [ ${ARCH} = "arm" ]; then
- DEFCONFIG_LIST+="allmodconfig "
- DEFCONFIG_LIST+="multi_v7_defconfig+CONFIG_ARM_LPAE=y "
- DEFCONFIG_LIST+="multi_v7_defconfig+CONFIG_CPU_BIG_ENDIAN=y "
- DEFCONFIG_LIST+="multi_v7_defconfig+CONFIG_PROVE_LOCKING=y "
- DEFCONFIG_LIST+="versatile_defconfig+CONFIG_OF_UNITTEST=y "
- DEFCONFIG_LIST+="multi_v7_defconfig+CONFIG_THUMB2_KERNEL=y+CONFIG_ARM_MODULE_PLTS=y "
- DEFCONFIG_LIST+="multi_v7_defconfig+CONFIG_SMP=n "
- DEFCONFIG_LIST+="multi_v7_defconfig+CONFIG_EFI=y "
- DEFCONFIG_LIST+="multi_v7_defconfig+CONFIG_EFI=y+CONFIG_ARM_LPAE=y "
-
- # Platform specific
- if [ -e arch/${ARCH}/configs/mvebu_v7_defconfig ]; then
- DEFCONFIG_LIST+="mvebu_v7_defconfig+CONFIG_CPU_BIG_ENDIAN=y "
- fi
- fi
-
- if [ ${ARCH} = "arm64" ]; then
- DEFCONFIG_LIST+="defconfig+CONFIG_CPU_BIG_ENDIAN=y "
- DEFCONFIG_LIST+="defconfig+CONFIG_OF_UNITTEST=y "
- DEFCONFIG_LIST+="defconfig+CONFIG_RANDOMIZE_BASE=y "
- # ACPI currently depends on EXPERT on arm64
- DEFCONFIG_LIST+="defconfig+CONFIG_EXPERT=y+CONFIG_ACPI=y "
- DEFCONFIG_LIST+="allmodconfig "
-
- # Enable KASAN for non-stable until image size issues are sorted out
- if [ ${tree_name} != "stable" ] && [ ${tree_name} != "stable-rc" ]; then
- DEFCONFIG_LIST+="defconfig+CONFIG_KASAN=y "
- fi
- fi
-
- if [ ${ARCH} = "x86" ]; then
- DEFCONFIG_LIST+="defconfig+CONFIG_OF_UNITTEST=y "
- DEFCONFIG_LIST+="defconfig+CONFIG_KASAN=y "
- DEFCONFIG_LIST+="allmodconfig "
- DEFCONFIG_LIST+="allmodconfig+CONFIG_OF=n "
- DEFCONFIG_LIST+="i386_defconfig "
-
- # Fragments
- FRAGS="arch/x86/configs/kvm_guest.config"
- for frag in ${FRAGS}; do
- if [ -e $frag ]; then
- DEFCONFIG_LIST+="defconfig+$frag "
- fi
- done
- fi
-
- # Tree specific fragments: LSK + KVM fragments
- if [ ${tree_name} = "stable" ]; then
- # Don't do allmodconfig builds
- DEFCONFIG_LIST=${DEFCONFIG_LIST/allmodconfig/}
- fi
-
- # Security testing features
- DEFCONFIG_LIST+="$base_defconfig+CONFIG_LKDTM=y "
-
- # Tree specific fragments: LSK + KVM fragments
- if [ ${tree_name} = "lsk" ] || [ ${tree_name} = "anders" ]; then
- # Don't do allmodconfig builds
- DEFCONFIG_LIST=${DEFCONFIG_LIST/allmodconfig/}
-
- FRAGS="linaro/configs/kvm-guest.conf"
-
- # For -rt kernels, build with RT fragment
- RT_FRAG=kernel/configs/preempt-rt.config
- if [ ! -f ${RT_FRAG} ]; then
- RT_FRAG=linaro/configs/preempt-rt.conf
- fi
-
- grep -q "config PREEMPT_RT_FULL" kernel/Kconfig.preempt
- if [ $? = 0 ]; then
- FRAGS+=" $RT_FRAG "
- fi
-
- for frag in ${FRAGS}; do
- if [ -e $frag ]; then
- DEFCONFIG_LIST+="$base_defconfig+$frag "
- fi
- done
-
- # KVM host: only enable for LPAE-enabled kernels
- KVM_HOST_FRAG=linaro/configs/kvm-host.conf
- if [ -e $KVM_HOST_FRAG ]; then
- lpae_base="multi_v7_defconfig+CONFIG_ARM_LPAE=y"
- if [[ $DEFCONFIG_LIST == *"${lpae_base}"* ]]; then
- DEFCONFIG_LIST+="${lpae_base}+$KVM_HOST_FRAG "
- fi
- fi
-
- # Linaro base + distro frags
- if [ -e linaro/configs/linaro-base.conf -a -e linaro/configs/distribution.conf ]; then
- DEFCONFIG_LIST+="$base_defconfig+linaro/configs/linaro-base.conf+linaro/configs/distribution.conf "
- fi
-
- # Android/AOSP fragments: combined together
- if [ -e android/configs ]; then
- FRAG_A=""
- FRAGS="android/configs/android-base.cfg android/configs/android-recommended.cfg"
- for frag in ${FRAGS}; do
- if [ -e $frag ]; then
- FRAG_A+="+$frag"
- fi
- done
- if [ -n "$FRAG_A" ]; then
- DEFCONFIG_LIST+=" $base_defconfig$FRAG_A "
- # Also build vexpress_defconfig + Android for testing on QEMU
- if [ ${ARCH} = "arm" ]; then
- DEFCONFIG_LIST+=" vexpress_defconfig$FRAG_A "
- fi
- fi
- fi
- fi
-
- cat << EOF > ${WORKSPACE}/${TREE_BRANCH}-build.properties
- ARCH_LIST=$ARCH_LIST
- DEFCONFIG_LIST=$DEFCONFIG_LIST
-
- TREE=$tree_url
- TREE_NAME=$tree_name
- BRANCH=$branch
- COMMIT_ID=$COMMIT_ID
- PUBLISH=true
- EOF
-
- cat ${WORKSPACE}/${TREE_BRANCH}-build.properties
- - trigger-builds:
- - project: 'khilman-kbuilder'
- property-file: ${TREE_BRANCH}-build.properties
- - shell: |
- #!/bin/bash
-
- rm -f ${TREE_BRANCH}-build.properties
diff --git a/kvm-guest-image.yaml b/kvm-guest-image.yaml
deleted file mode 100644
index 2f499aae7..000000000
--- a/kvm-guest-image.yaml
+++ /dev/null
@@ -1,101 +0,0 @@
-- job:
- name: kvm-guest-image
- project-type: matrix
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- disabled: true
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: slave
- name: label
- values:
- - docker-jessie-arm64
- - docker-jessie-armhf
- triggers:
- - timed: '@monthly'
- wrappers:
- - timestamps
- - matrix-tie-parent:
- node: master
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- sudo umount /mnt || true
- sudo kpartx -dv kvm.raw || true
- }
-
- sudo apt-get update
- sudo apt-get -y install kpartx parted pixz qemu-utils python-requests
-
- arch=`dpkg-architecture -qDEB_HOST_ARCH`
- case "${arch}" in
- armhf)
- export ROOTFS_BUILD_URL="http://releases.linaro.org/debian/images/developer-armhf/15.12/linaro-jessie-developer-20151210-10.tar.gz"
- ;;
- arm64)
- export ROOTFS_BUILD_URL="http://releases.linaro.org/debian/images/developer-arm64/15.12/linaro-jessie-developer-20150325-10.tar.gz"
- ;;
- esac
- wget -nc --progress=dot -e dotbytes=2M ${ROOTFS_BUILD_URL} -O nano.tgz
-
- dd if=/dev/zero of=kvm.raw bs=2048 seek=1M count=0
- /sbin/parted --script kvm.raw mklabe gpt
- /sbin/parted --script kvm.raw mkpart p fat32 1 50
- /sbin/parted --script -- kvm.raw mkpart p ext4 50 -0
- /sbin/parted --script kvm.raw set 1 boot
-
- for device in $(sudo kpartx -avs kvm.raw | cut -d' ' -f3); do
- partition=$(echo ${device} | cut -d'p' -f3)
- case "${partition}" in
- 1)
- sudo mkfs.vfat -F 32 /dev/mapper/${device}
- ;;
- 2)
- sudo mkfs.ext4 /dev/mapper/${device}
- sudo mount /dev/mapper/${device} /mnt/
- sudo tar xaf nano.tgz -C /mnt --strip-components=1
- cat << EOF | sudo tee /mnt/etc/network/interfaces.d/eth0
- auto lo
- iface lo inet loopback
-
- auto eth0
- iface eth0 inet dhcp
- EOF
- sudo umount /mnt
- ;;
- esac
- done
-
- sudo kpartx -dv kvm.raw
- qemu-img convert -f raw -O qcow2 kvm.raw kvm.qcow2
- time pixz kvm.qcow2
-
- # Publish to snapshots
- mkdir out; mv kvm.qcow2.xz out/kvm-${arch}.qcow2.xz
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- python ${HOME}/bin/linaro-cp.py --api_version 3 out ubuntu/images/kvm-guest/${BUILD_NUMBER}/${arch}
- publishers:
- - email:
- recipients: 'riku.voipio@linaro.org'
diff --git a/leg-tiancore-edk2-build-test.yaml b/leg-tiancore-edk2-build-test.yaml
deleted file mode 100644
index 8fd387d2b..000000000
--- a/leg-tiancore-edk2-build-test.yaml
+++ /dev/null
@@ -1,132 +0,0 @@
-- job:
- name: leg-tianocore-edk2-build-test
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- parameters:
- - string:
- name: GIT_REPO
- default: 'https://git.linaro.org/people/ard.biesheuvel/uefi-next.git'
- - string:
- name: GIT_BRANCH
- default: 'unify-gcc-v2'
- disabled: true
- node: docker-xenial-amd64
- display-name: 'DELETE ME'
- scm:
- - git:
- url: ${GIT_REPO}
- refspec: +refs/heads/${GIT_BRANCH}:refs/remotes/origin/${GIT_BRANCH}
- name: origin
- branches:
- - refs/heads/${GIT_BRANCH}
- basedir: edk2
- skip-tag: true
- shallow-clone: true
- clean: true
- wipe-workspace: true
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- rm -rf out edk2/Build
- }
-
- # use the GCC 4.[89] toolchains that are already available on the build host
- export GCC48_AARCH64_PREFIX=${HOME}/srv/toolchain/arm64-tc-14.04/bin/aarch64-linux-gnu-
- export GCC48_ARM_PREFIX=${HOME}/srv/toolchain/arm-tc-14.04/bin/arm-linux-gnueabihf-
-
- export GCC49_AARCH64_PREFIX=${HOME}/srv/toolchain/arm64-tc-14.09/bin/aarch64-linux-gnu-
- export GCC49_ARM_PREFIX=${HOME}/srv/toolchain/arm-tc-14.09/bin/arm-linux-gnueabihf-
-
- # reuse the binutils that ship with GCC 4.9 for the CLANG35 builds
- export CLANG35_AARCH64_PREFIX=${HOME}/srv/toolchain/arm64-tc-14.09/bin/aarch64-linux-gnu-
-
- sudo apt-get update
- sudo apt-get install -y --no-install-recommends clang gcc-4.4 gcc-4.6 gcc-4.7 gcc-4.8 gcc-4.9 gcc-mingw-w64 nasm
-
- # set up the paths for the various GCC versions
- for i in 4 6 7 8 9
- do
- export GCC4${i}_BIN=${WORKSPACE}/GCC4${i}/
-
- mkdir ${WORKSPACE}/GCC4${i}
- for t in objcopy ld ar make
- do
- ln -s /usr/bin/$t ${WORKSPACE}/GCC4${i}/
- done
- ln -s /usr/bin/gcc-4.${i} ${WORKSPACE}/GCC4${i}/gcc
- done
-
- export OUTDIR=${WORKSPACE}/out
-
- (
- unset WORKSPACE
-
- NUM_THREADS=$((`getconf _NPROCESSORS_ONLN` + 1))
-
- # Initialise the build environment
- cd edk2
- git clean -dxf BaseTools/
- make -C BaseTools
-
- source edksetup.sh
-
- # override the mingw prefixes
- sed 's/^\(DEFINE.\+UNIXGCC_IA32_PETOOLS_PREFIX.\+=\).\+/\1 i686-w64-mingw32-/' -i Conf/tools_def.txt
- sed 's/^\(DEFINE.\+UNIXGCC_X64_PETOOLS_PREFIX.\+=\).\+/\1 x86_64-w64-mingw32-/' -i Conf/tools_def.txt
-
- # download and unpack the OpenSSL tarball
- cd ${WORKSPACE}/CryptoPkg/Library/OpensslLib
-
- # capture OpenSSL version number from the HOWTO
- VERSION=$(grep 'Current supported OpenSSL version' Patch-HOWTO.txt |sed 's/^[^0-9]\+\([0-9]\(\.[0-9]\)\+[a-z]*\).*\r\?$/\1/')
-
- wget -O - -q "http://www.openssl.org/source/openssl-${VERSION}.tar.gz" | tar xzf -
- ( cd openssl-${VERSION}; patch -p0 -i ../EDKII_openssl-${VERSION}.patch )
- ./Install.sh
-
- cd ${WORKSPACE}
-
- build -n $NUM_THREADS -b DEBUG -b RELEASE -a AARCH64 -t GCC48 -t GCC49 -t CLANG35 -p ArmVirtPkg/ArmVirtQemu.dsc -D SECURE_BOOT_ENABLE
- build -n $NUM_THREADS -b DEBUG -b RELEASE -a AARCH64 -t GCC48 -t GCC49 -t CLANG35 -p ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.dsc
- build -n $NUM_THREADS -b DEBUG -b RELEASE -a AARCH64 -t GCC48 -t GCC49 -t CLANG35 -p ArmVirtPkg/ArmVirtXen.dsc
- build -n $NUM_THREADS -b DEBUG -b RELEASE -a AARCH64 -t GCC48 -t GCC49 -t CLANG35 -p ArmPlatformPkg/ArmJunoPkg/ArmJuno.dsc
- build -n $NUM_THREADS -b DEBUG -b RELEASE -a ARM -t GCC48 -t GCC49 -p ArmVirtPkg/ArmVirtQemu.dsc
-
- build -n $NUM_THREADS -b DEBUG -a IA32 -t GCC44 -t GCC46 -t GCC47 -t GCC48 -t GCC49 -t UNIXGCC -p OvmfPkg/OvmfPkgIa32.dsc -D SECURE_BOOT_ENABLE
- build -n $NUM_THREADS -b DEBUG -a X64 -t GCC44 -t GCC46 -t GCC47 -t GCC48 -t GCC49 -t UNIXGCC -p OvmfPkg/OvmfPkgX64.dsc -D SECURE_BOOT_ENABLE
-
- build -n $NUM_THREADS -b RELEASE -a IA32 -t GCC44 -t GCC46 -t GCC47 -t GCC48 -t GCC49 -p OvmfPkg/OvmfPkgIa32.dsc
- build -n $NUM_THREADS -b RELEASE -a X64 -t GCC44 -t GCC46 -t GCC47 -t GCC48 -t GCC49 -p OvmfPkg/OvmfPkgX64.dsc
-
- )
-
- publishers:
- - email:
- recipients: 'ard.biesheuvel@linaro.org'
diff --git a/lhg-oe-build-next.yaml b/lhg-oe-build-next.yaml
deleted file mode 100644
index 56caf5338..000000000
--- a/lhg-oe-build-next.yaml
+++ /dev/null
@@ -1,74 +0,0 @@
-- job:
- name: lhg-oe-build-next
- project-type: matrix
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- artifactNumToKeep: 1
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-build
- - job-cancel
- - job-configure
- parameters:
- - string:
- name: MANIFEST_REPO
- default: 'https://github.com/linaro-mmwg/lhg-oe-manifests.git'
- - string:
- name: MANIFEST_BRANCH
- default: 'morty-staging'
- - string:
- name: DISTRO
- default: 'rpb-wayland'
- - string:
- name: IMAGES
- default: 'rpb-westonchromium-image'
- disabled: true
- node: lhg
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: slave
- name: label
- values:
- - docker-stretch-amd64-lhg
- - axis:
- type: user-defined
- name: MACHINE
- values:
- - dragonboard-410c
- - hikey
- - am57xx-evm
- execution-strategy:
- sequential: true
- wrappers:
- - timestamps
- builders:
- - shell:
- !include-raw: lhg-oe-build/builders.sh
- - inject:
- properties-file: post_build_lava_parameters
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- # Publish
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- time python ${HOME}/bin/linaro-cp.py \
- --server ${PUBLISH_SERVER} \
- --link-latest \
- ${DEPLOY_DIR_IMAGE}/ \
- openembedded/pre-built/lhg/${MANIFEST_BRANCH}/${MACHINE}/${DISTRO}/${BUILD_NUMBER}
- publishers:
-# We can only archive files that are located in the workspace
-# - archive:
-# artifacts: 'out/*'
- - email:
- recipients: 'andrey.konovalov@linaro.org'
diff --git a/linaro-art-stable-build-ARTHostTest.yaml b/linaro-art-stable-build-ARTHostTest.yaml
deleted file mode 100644
index 2b4544f10..000000000
--- a/linaro-art-stable-build-ARTHostTest.yaml
+++ /dev/null
@@ -1,158 +0,0 @@
-- scm:
- name: art
- scm:
- - git:
- url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/art.git
- branches:
- - origin/linaro-stable
- credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
-- scm:
- name: build
- scm:
- - git:
- url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/build.git
- branches:
- - origin/linaro-stable
- credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
-- scm:
- name: vixl
- scm:
- - git:
- url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/external/vixl.git
- branches:
- - origin/linaro-stable
- credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
-- job:
- name: linaro-art-stable-build-ARTHostTest
- project-type: freestyle
- defaults: global
- description: >
- Runs the
- <a href="https://android-git.linaro.org/linaro-art/art-build-scripts.git/tree/tests/test_art_host.sh">Host Tests</a>
- on the stable branch.
-
- The git revisions all track the linaro-stable branch for the following projects (in order):
- - art
- - build
- - external/vixl
- properties:
- - authorization:
- anonymous:
- - job-discover
- linaro-android-builders:
- - job-read
- - job-extended-read
- - job-workspace
- linaro-art:
- - job-build
- - job-read
- - job-extended-read
- - job-workspace
- - build-discarder:
- days-to-keep: 60
- num-to-keep: 60
- parameters:
- - string:
- name: BUILD_CONFIG_REPO
- default: 'git://android-git.linaro.org/android-build-configs.git'
- - string:
- name: BUILD_CONFIG_BRANCH
- default: 'master'
- - string:
- name: BUILD_CONFIG_FILENAME
- default: 'linaro-art-stable'
- disabled: true
- node: docker-utopic-art
- display-name: 'DELETE ME'
- concurrent: true
- scm:
- - art
- - build
- - vixl
- triggers:
- - pollscm: 'H/5 * * * *'
- - gerrit:
- server-name: 'dev-private-review.linaro.org'
- override-votes: true
- gerrit-build-successful-verified-value: 1
- gerrit-build-failed-verified-value: -1
- trigger-on:
- - patchset-created-event
- projects:
- - project-compare-type: 'PLAIN'
- project-pattern: 'linaro-art/platform/art'
- branches:
- - branch-pattern: 'linaro-stable'
- - project-compare-type: 'PLAIN'
- project-pattern: 'linaro-art/platform/build'
- branches:
- - branch-pattern: 'linaro-stable'
- - project-compare-type: 'PLAIN'
- project-pattern: 'linaro-art/platform/external/vixl'
- branches:
- - branch-pattern: 'linaro-stable'
- wrappers:
- - timestamps
- - timeout:
- timeout: 500
- - ssh-agent-credentials:
- users:
- - '768c1ba1-6052-4b97-a531-7e4fabda6979'
- builders:
- - shell: |
- CI_MAIL_RECIPIENTS="${GERRIT_CHANGE_OWNER_EMAIL},${GERRIT_EVENT_ACCOUNT_EMAIL}"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},vishal.bhoj@linaro.org"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},daniel.diaz@linaro.org"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},julien.duraj@linaro.org"
- echo "CI_MAIL_RECIPIENTS=${CI_MAIL_RECIPIENTS}" > env_var_parameters
- - inject:
- properties-file: env_var_parameters
- - shell: |
- #!/bin/bash -xe
-
- ulimit -c unlimited
-
- # Build scripts
- ANDROID_BUILD_DIR="${HOME}/srv/${JOB_NAME}/android"
- ART_BUILD_SCRIPTS_DIR="${WORKSPACE}/art-build-scripts"
- git clone https://android-git.linaro.org/git/linaro-art/art-build-scripts.git ${ART_BUILD_SCRIPTS_DIR}
-
- cd ${ART_BUILD_SCRIPTS_DIR}/jenkins
- ./setup_host.sh
- ./setup_android.sh
-
- cd ${ANDROID_BUILD_DIR}
- perl scripts/jenkins/test_launcher.pl \
- scripts/tests/test_art_host.sh
- publishers:
- - email-ext:
- recipients: '${CI_MAIL_RECIPIENTS}'
- content-type: text
- body: |
- Build Triggered by: ${GERRIT_CHANGE_SUBJECT}: ${GERRIT_CHANGE_URL}
- Build URL: ${PROJECT_URL}${BUILD_NUMBER}/
- Full log: ${PROJECT_URL}${BUILD_NUMBER}/consoleText
- Parsed warnings/errors: ${PROJECT_URL}${BUILD_NUMBER}/parsed_console
-
- Errors:
- ${BUILD_LOG_REGEX, regex=".*ERROR:.* ", linesBefore=0, linesAfter=0, showTruncatedLines=false}
- - archive:
- artifacts: '*.txt, *.xml'
- - logparser:
- parse-rules: '/var/jenkins_home/userContent/android-art.parse'
- unstable-on-warning: false
- fail-on-error: false
- - groovy-postbuild:
- script:
- !include-raw:
- - linaro-art/tests.groovy
- - linaro-art/global.groovy
diff --git a/linaro-art-stable-build-ARTTargetTest.yaml b/linaro-art-stable-build-ARTTargetTest.yaml
deleted file mode 100644
index e1d9dff1f..000000000
--- a/linaro-art-stable-build-ARTTargetTest.yaml
+++ /dev/null
@@ -1,165 +0,0 @@
-- scm:
- name: art
- scm:
- - git:
- url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/art.git
- branches:
- - origin/linaro-stable
- credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
-- scm:
- name: build
- scm:
- - git:
- url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/build.git
- branches:
- - origin/linaro-stable
- credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
-- scm:
- name: vixl
- scm:
- - git:
- url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/external/vixl.git
- branches:
- - origin/linaro-stable
- credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
-- job:
- name: linaro-art-stable-build-ARTTargetTest
- project-type: freestyle
- defaults: global
- description: >
- Runs the
- <a href="https://android-git.linaro.org/linaro-art/art-build-scripts.git/tree/tests/test_art_target.sh">Target Tests</a>
- on a device via adb using android root.<br>
- The build slave in the cloud is able to reach the physical device using port forwarding via SSH.<br>
- This job is for the stable branch.<br>
-
- The git revisions all track the linaro-stable branch for the following projects (in order):<br>
- - art<br>
- - build<br>
- - external/vixl
- properties:
- - authorization:
- anonymous:
- - job-discover
- linaro-android-builders:
- - job-read
- - job-extended-read
- - job-workspace
- linaro-art:
- - job-build
- - job-read
- - job-extended-read
- - job-workspace
- - build-discarder:
- days-to-keep: 60
- num-to-keep: 60
- parameters:
- - string:
- name: ADB_VERSION
- default: 'adb-stable'
- - string:
- name: BUILD_CONFIG_REPO
- default: 'git://android-git.linaro.org/android-build-configs.git'
- - string:
- name: BUILD_CONFIG_BRANCH
- default: 'master'
- - string:
- name: BUILD_CONFIG_FILENAME
- default: 'linaro-art-stable'
- disabled: true
- node: docker-utopic-art
- display-name: 'DELETE ME'
- concurrent: true
- scm:
- - art
- - build
- - vixl
- triggers:
- - pollscm: 'H/5 * * * *'
- - gerrit:
- server-name: 'dev-private-review.linaro.org'
- override-votes: true
- gerrit-build-successful-verified-value: 1
- gerrit-build-failed-verified-value: -1
- trigger-on:
- - patchset-created-event
- projects:
- - project-compare-type: 'PLAIN'
- project-pattern: 'linaro-art/platform/art'
- branches:
- - branch-pattern: 'linaro-stable'
- - project-compare-type: 'PLAIN'
- project-pattern: 'linaro-art/platform/build'
- branches:
- - branch-pattern: 'linaro-stable'
- - project-compare-type: 'PLAIN'
- project-pattern: 'linaro-art/platform/external/vixl'
- branches:
- - branch-pattern: 'linaro-stable'
- wrappers:
- - timestamps
- - timeout:
- timeout: 500
- - ssh-agent-credentials:
- users:
- - '768c1ba1-6052-4b97-a531-7e4fabda6979'
- builders:
- - shell: |
- CI_MAIL_RECIPIENTS="${GERRIT_CHANGE_OWNER_EMAIL},${GERRIT_EVENT_ACCOUNT_EMAIL}"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},vishal.bhoj@linaro.org"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},daniel.diaz@linaro.org"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},julien.duraj@linaro.org"
- echo "CI_MAIL_RECIPIENTS=${CI_MAIL_RECIPIENTS}" > env_var_parameters
- - inject:
- properties-file: env_var_parameters
- - shell: |
- #!/bin/bash -xe
-
- # Build scripts
- ANDROID_BUILD_DIR="${HOME}/srv/${JOB_NAME}/android"
- ART_BUILD_SCRIPTS_DIR="${WORKSPACE}/art-build-scripts"
- git clone https://android-git.linaro.org/git/linaro-art/art-build-scripts.git ${ART_BUILD_SCRIPTS_DIR}
-
- cd ${ART_BUILD_SCRIPTS_DIR}/jenkins
- # Port forwarding magic to have access to Nexus devices
- source /home/buildslave/srv/nexus-config
- export ANDROID_SERIAL=${BULLHEAD}
- ./setup_adb.sh
- ./setup_host.sh
- ./setup_android.sh
-
- cd ${ANDROID_BUILD_DIR}
- perl scripts/jenkins/test_launcher.pl \
- scripts/tests/test_art_target.sh --default
- publishers:
- - email-ext:
- recipients: '${CI_MAIL_RECIPIENTS}'
- content-type: text
- body: |
- Build Triggered by: ${GERRIT_CHANGE_SUBJECT}: ${GERRIT_CHANGE_URL}
- Build URL: ${PROJECT_URL}${BUILD_NUMBER}/
- Full log: ${PROJECT_URL}${BUILD_NUMBER}/consoleText
- Parsed warnings/errors: ${PROJECT_URL}${BUILD_NUMBER}/parsed_console
-
- Errors:
- ${BUILD_LOG_REGEX, regex=".*ERROR:.* ", linesBefore=0, linesAfter=0, showTruncatedLines=false}
- - archive:
- artifacts: '*.txt, *.xml'
- - logparser:
- parse-rules: '/var/jenkins_home/userContent/android-art.parse'
- unstable-on-warning: false
- fail-on-error: false
- - groovy-postbuild:
- script:
- !include-raw:
- - linaro-art/tests.groovy
- - linaro-art/global.groovy
diff --git a/linaro-art-stable-build-ARTVixlTest.yaml b/linaro-art-stable-build-ARTVixlTest.yaml
deleted file mode 100644
index f33a03fe1..000000000
--- a/linaro-art-stable-build-ARTVixlTest.yaml
+++ /dev/null
@@ -1,179 +0,0 @@
-- scm:
- name: art
- scm:
- - git:
- url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/art.git
- branches:
- - origin/linaro-stable
- credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
-- scm:
- name: build
- scm:
- - git:
- url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/build.git
- branches:
- - origin/linaro-stable
- credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
-- scm:
- name: vixl
- scm:
- - git:
- url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/external/vixl.git
- branches:
- - origin/linaro-stable
- credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
-- job:
- name: linaro-art-stable-build-ARTVixlTest
- project-type: freestyle
- defaults: global
- description: >
- Runs the
- <a href="https://android-git.linaro.org/linaro-art/art-build-scripts.git/tree/tests/test_art_vixl.sh">Vixl Tests</a>
- on the stable branch.<br>
-
- The git revisions all track the linaro-stable branch for the following projects (in order):<br>
- - art<br>
- - build<br>
- - external/vixl
- properties:
- - authorization:
- anonymous:
- - job-discover
- linaro-android-builders:
- - job-read
- - job-extended-read
- - job-workspace
- linaro-art:
- - job-build
- - job-read
- - job-extended-read
- - job-workspace
- - build-discarder:
- days-to-keep: 60
- num-to-keep: 60
- parameters:
- - string:
- name: BUILD_CONFIG_REPO
- default: 'git://android-git.linaro.org/android-build-configs.git'
- - string:
- name: BUILD_CONFIG_BRANCH
- default: 'master'
- - string:
- name: BUILD_CONFIG_FILENAME
- default: 'linaro-art-stable'
- disabled: true
- node: docker-utopic-art
- display-name: 'DELETE ME'
- concurrent: true
- scm:
- - art
- - build
- - vixl
- triggers:
- - gerrit:
- server-name: dev-private-review.linaro.org
- override-votes: true
- gerrit-build-successful-verified-value: 1
- gerrit-build-failed-verified-value: -1
- trigger-on:
- - patchset-created-event
- projects:
- - project-compare-type: 'PLAIN'
- project-pattern: 'linaro-art/platform/build'
- branches:
- - branch-pattern: 'linaro-stable'
- - project-compare-type: 'PLAIN'
- project-pattern: 'linaro-art/platform/art'
- branches:
- - branch-pattern: 'linaro-stable'
- - project-compare-type: 'PLAIN'
- project-pattern: 'linaro-art/platform/external/vixl'
- branches:
- - branch-pattern: 'linaro-stable'
- wrappers:
- - timestamps
- - timeout:
- timeout: 500
- - ssh-agent-credentials:
- users:
- - '768c1ba1-6052-4b97-a531-7e4fabda6979'
- builders:
- - shell: |
- CI_MAIL_RECIPIENTS="${GERRIT_CHANGE_OWNER_EMAIL},${GERRIT_EVENT_ACCOUNT_EMAIL}"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},vishal.bhoj@linaro.org"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},daniel.diaz@linaro.org"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},julien.duraj@linaro.org"
- echo "CI_MAIL_RECIPIENTS=${CI_MAIL_RECIPIENTS}" > env_var_parameters
- - inject:
- properties-file: env_var_parameters
- - shell: |
- #!/bin/bash -xe
-
- # Some Docker instances mount ${HOME}/.ssh/config from the host.
- mv ${HOME}/.ssh{,.not}
- mkdir -p "${HOME}/bin"
- export PATH="${HOME}/bin:${PATH}"
-
- # Build scripts
- ANDROID_BUILD_DIR="${HOME}/srv/${JOB_NAME}/android"
- ART_BUILD_SCRIPTS_DIR="${WORKSPACE}/art-build-scripts"
- git clone https://android-git.linaro.org/git/linaro-art/art-build-scripts.git ${ART_BUILD_SCRIPTS_DIR}
-
- # clang-format-3.6
- wget -q http://mirrors.kernel.org/ubuntu/pool/universe/l/llvm-toolchain-3.6/clang-format-3.6_3.6-2ubuntu1~trusty1_amd64.deb \
- http://mirrors.kernel.org/ubuntu/pool/main/l/llvm-toolchain-3.6/libllvm3.6_3.6-2ubuntu1~trusty1_amd64.deb
- sudo dpkg -i clang-format-3.6_3.6-2ubuntu1~trusty1_amd64.deb libllvm3.6_3.6-2ubuntu1~trusty1_amd64.deb
-
- cd ${ART_BUILD_SCRIPTS_DIR}/jenkins
- ./setup_host.sh
- ./setup_android.sh
-
- cd ${ANDROID_BUILD_DIR}
- perl ${ART_BUILD_SCRIPTS_DIR}/jenkins/test_launcher.pl \
- ${ART_BUILD_SCRIPTS_DIR}/tests/test_art_vixl.sh
- publishers:
- - email-ext:
- recipients: '${CI_MAIL_RECIPIENTS}'
- content-type: text
- body: |
- Build Triggered by: ${GERRIT_CHANGE_SUBJECT}: ${GERRIT_CHANGE_URL}
- Build URL: ${PROJECT_URL}${BUILD_NUMBER}/
- Full log: ${PROJECT_URL}${BUILD_NUMBER}/consoleText
- Parsed warnings/errors: ${PROJECT_URL}${BUILD_NUMBER}/parsed_console
-
- Errors:
- ${BUILD_LOG_REGEX, regex=".*ERROR:.* ", linesBefore=0, linesAfter=0, showTruncatedLines=false}
- - archive:
- artifacts: '*.txt, *.xml'
- - logparser:
- parse-rules: '/var/jenkins_home/userContent/android-art.parse'
- unstable-on-warning: false
- fail-on-error: false
- - groovy-postbuild:
- script:
- !include-raw:
- - linaro-art/global.groovy
- - plot:
- - title: 'Sync Time'
- group: 'Time Measurements'
- yaxis: 'Seconds'
- style: line
- series:
- - file: time_repo.txt
- format: properties
- - title: 'Test Time'
- group: 'Time Measurements'
- yaxis: 'Seconds'
- style: line
- series:
- - file: time_test.txt
- format: properties
diff --git a/linaro-art-stable-build-MicroBenchmarks.yaml b/linaro-art-stable-build-MicroBenchmarks.yaml
deleted file mode 100644
index a0f48310a..000000000
--- a/linaro-art-stable-build-MicroBenchmarks.yaml
+++ /dev/null
@@ -1,174 +0,0 @@
-- scm:
- name: art
- scm:
- - git:
- url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/art.git
- branches:
- - origin/linaro-stable
- credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
-- scm:
- name: build
- scm:
- - git:
- url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/build.git
- branches:
- - origin/linaro-stable
- credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
-- scm:
- name: vixl
- scm:
- - git:
- url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/external/vixl.git
- branches:
- - origin/linaro-stable
- credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
-- job:
- name: linaro-art-stable-build-MicroBenchmarks
- project-type: freestyle
- defaults: global
- description: >
- Runs the
- <a href="https://android-git.linaro.org/linaro-art/art-build-scripts.git/tree/benchmarks/benchmarks_run_target.sh">Microbenchmarks Test script</a>
- on the stable branch.<br>
-
- The git revisions all track the linaro-stable branch for the following projects (in order):<br>
- - art<br>
- - build<br>
- - external/vixl
- properties:
- - authorization:
- anonymous:
- - job-discover
- linaro-android-builders:
- - job-read
- - job-extended-read
- - job-workspace
- linaro-art:
- - job-build
- - job-read
- - job-extended-read
- - job-workspace
- - build-discarder:
- days-to-keep: 60
- num-to-keep: 60
- - copyartifact:
- projects: post-build-reports
- parameters:
- - string:
- name: ADB_VERSION
- default: 'adb-stable'
- - string:
- name: BUILD_CONFIG_REPO
- default: 'git://android-git.linaro.org/android-build-configs.git'
- - string:
- name: BUILD_CONFIG_BRANCH
- default: 'master'
- - string:
- name: BUILD_CONFIG_FILENAME
- default: 'linaro-art-stable'
- disabled: true
- node: docker-utopic-art
- display-name: 'DELETE ME'
- concurrent: true
- scm:
- - art
- - build
- - vixl
- triggers:
- - pollscm: 'H/5 * * * *'
- - gerrit:
- server-name: dev-private-review.linaro.org
- override-votes: true
- gerrit-build-successful-verified-value: 1
- gerrit-build-failed-verified-value: -1
- trigger-on:
- - patchset-created-event
- projects:
- - project-compare-type: 'PLAIN'
- project-pattern: 'linaro-art/platform/build'
- branches:
- - branch-pattern: 'linaro-stable'
- - project-compare-type: 'PLAIN'
- project-pattern: 'linaro-art/platform/art'
- branches:
- - branch-pattern: 'linaro-stable'
- - project-compare-type: 'PLAIN'
- project-pattern: 'linaro-art/platform/external/vixl'
- branches:
- - branch-pattern: 'linaro-stable'
- wrappers:
- - timestamps
- - timeout:
- timeout: 500
- - ssh-agent-credentials:
- users:
- - '768c1ba1-6052-4b97-a531-7e4fabda6979'
- builders:
- - shell: |
- #!/bin/bash -xe
-
- # Build scripts
- ANDROID_BUILD_DIR="${HOME}/srv/${JOB_NAME}/android"
- ART_BUILD_SCRIPTS_DIR="${WORKSPACE}/art-build-scripts"
- git clone https://android-git.linaro.org/git/linaro-art/art-build-scripts.git ${ART_BUILD_SCRIPTS_DIR}
-
- cd ${ART_BUILD_SCRIPTS_DIR}/jenkins
- # Port forwarding magic to have access to Nexus devices
- source /home/buildslave/srv/nexus-config
- export ANDROID_SERIAL=${BULLHEAD}
- ./setup_adb.sh
- ./setup_host.sh
- ./setup_android.sh
-
- alias python=python3
- cd ${ANDROID_BUILD_DIR}
- perl scripts/jenkins/test_launcher.pl \
- scripts/benchmarks/benchmarks_run_target.sh --default
-
- # create parameters for post-build-reports
- cat << EOF > ${WORKSPACE}/post_build_reports_parameters
- SOURCE_PROJECT_NAME=${JOB_NAME}
- SOURCE_BUILD_NUMBER=${BUILD_NUMBER}
- SOURCE_BUILD_ID=${BUILD_NUMBER}
- SOURCE_BUILD_URL=${BUILD_URL}
- ART_URL=https://art-reports.linaro.org/api/
- SOURCE_BRANCH_NAME=linaro-stable
- QA_REPORTS_URL=https://qa-reports.linaro.org
- EOF
-
- if [[ ${GERRIT_CHANGE_NUMBER} ]]; then
- echo SOURCE_GERRIT_CHANGE_NUMBER=${GERRIT_CHANGE_NUMBER} >> ${WORKSPACE}/post_build_reports_parameters
- fi
- if [[ ${GERRIT_CHANGE_ID} ]]; then
- echo SOURCE_GERRIT_CHANGE_ID=${GERRIT_CHANGE_ID} >> ${WORKSPACE}/post_build_reports_parameters
- fi
- if [[ ${GERRIT_CHANGE_URL} ]]; then
- echo SOURCE_GERRIT_CHANGE_URL=${GERRIT_CHANGE_URL} >> ${WORKSPACE}/post_build_reports_parameters
- fi
- if [[ ${GERRIT_PATCHSET_NUMBER} ]]; then
- echo SOURCE_GERRIT_PATCHSET_NUMBER=${GERRIT_PATCHSET_NUMBER} >> ${WORKSPACE}/post_build_reports_parameters
- fi
-
- publishers:
- - archive:
- artifacts: '*.txt, *.xml, *.json'
- - logparser:
- parse-rules: '/var/jenkins_home/userContent/android-art.parse'
- unstable-on-warning: false
- fail-on-error: false
- - groovy-postbuild:
- script:
- !include-raw:
- - linaro-art/global.groovy
- - trigger-parameterized-builds:
- - project: 'post-build-reports'
- property-file: post_build_reports_parameters
diff --git a/linaro-art-tip-build-ARTBoot2guiTest.yaml b/linaro-art-tip-build-ARTBoot2guiTest.yaml
deleted file mode 100644
index 791e64167..000000000
--- a/linaro-art-tip-build-ARTBoot2guiTest.yaml
+++ /dev/null
@@ -1,83 +0,0 @@
-- job:
- name: linaro-art-tip-build-ARTBoot2guiTest
- project-type: freestyle
- defaults: global
- description: >
- Builds the tip of AOSP nightly and tests whether boot to gui is successful using the emulator.
- properties:
- - authorization:
- anonymous:
- - job-discover
- linaro-android-builders:
- - job-read
- - job-extended-read
- - job-workspace
- linaro-art:
- - job-build
- - job-read
- - job-extended-read
- - job-workspace
- - build-discarder:
- days-to-keep: 90
- num-to-keep: 90
- parameters:
- - string:
- name: BUILD_CONFIG_REPO
- default: 'git://android-git.linaro.org/android-build-configs.git'
- - string:
- name: BUILD_CONFIG_BRANCH
- default: 'master'
- - string:
- name: BUILD_CONFIG_FILENAME
- default: 'linaro-art-tip'
- disabled: true
- node: docker-utopic-art
- display-name: 'DELETE ME'
- concurrent: true
- triggers:
- - timed: '@daily'
- wrappers:
- - timestamps
- - timeout:
- timeout: 500
- - ssh-agent-credentials:
- users:
- - '768c1ba1-6052-4b97-a531-7e4fabda6979'
- builders:
- - shell: |
- CI_MAIL_RECIPIENTS="${GERRIT_CHANGE_OWNER_EMAIL},${GERRIT_EVENT_ACCOUNT_EMAIL}"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},vishal.bhoj@linaro.org"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},daniel.diaz@linaro.org"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},julien.duraj@linaro.org"
- echo "CI_MAIL_RECIPIENTS=${CI_MAIL_RECIPIENTS}" > env_var_parameters
- - inject:
- properties-file: env_var_parameters
- - shell: |
- #!/bin/bash -xe
-
- # Build scripts
- ANDROID_BUILD_DIR="${HOME}/srv/${JOB_NAME}/android"
- ART_BUILD_SCRIPTS_DIR="${WORKSPACE}/art-build-scripts"
- git clone https://android-git.linaro.org/git/linaro-art/art-build-scripts.git ${ART_BUILD_SCRIPTS_DIR}
-
- cd ${ART_BUILD_SCRIPTS_DIR}/jenkins
- ./setup_host.sh
- ./setup_android.sh
-
- cd ${ANDROID_BUILD_DIR}
- perl scripts/jenkins/test_launcher.pl \
- scripts/tests/test_boot_to_gui_emulator.sh
- publishers:
- - email-ext:
- recipients: '${CI_MAIL_RECIPIENTS}'
- content-type: text
- body: |
- Build Triggered by: ${GERRIT_CHANGE_SUBJECT}: ${GERRIT_CHANGE_URL}
- Build URL: ${PROJECT_URL}${BUILD_NUMBER}/
- Full log: ${PROJECT_URL}${BUILD_NUMBER}/consoleText
- Parsed warnings/errors: ${PROJECT_URL}${BUILD_NUMBER}/parsed_console
-
- Errors:
- ${BUILD_LOG_REGEX, regex=".*ERROR:.* ", linesBefore=0, linesAfter=0, showTruncatedLines=false}
- - archive:
- artifacts: '*.txt, *.xml'
diff --git a/linaro-art-vixl-art-host-test.yaml b/linaro-art-vixl-art-host-test.yaml
deleted file mode 100644
index 4302ff77b..000000000
--- a/linaro-art-vixl-art-host-test.yaml
+++ /dev/null
@@ -1,140 +0,0 @@
-- job:
- name: linaro-art-vixl-art-host-test
- project-type: freestyle
- defaults: global
- description: >
- Runs the ART
- <a href="https://android-git.linaro.org/linaro-art/art-build-scripts.git/tree/tests/test_art_host.sh">Host Tests</a>
- on the tip using the
- <a href="https://git.linaro.org/arm/vixl.git">latest VIXL tree.</a><br>
- This job will be launched nightly.<br>
- This build can also be triggered by adding the comment "IncludeVixlArtTests" in your Gerrit patch.
- properties:
- - authorization:
- anonymous:
- - job-discover
- - job-read
- linaro-android-builders:
- - job-read
- - job-extended-read
- - job-workspace
- linaro-art:
- - job-build
- - job-read
- - job-extended-read
- - job-workspace
- - build-discarder:
- days-to-keep: 60
- num-to-keep: 60
- parameters:
- - string:
- name: BUILD_CONFIG_REPO
- default: 'git://android-git.linaro.org/android-build-configs.git'
- - string:
- name: BUILD_CONFIG_BRANCH
- default: 'master'
- - string:
- name: BUILD_CONFIG_FILENAME
- default: 'linaro-art-tip'
- disabled: true
- node: docker-utopic-art
- display-name: 'DELETE ME'
- concurrent: true
- scm:
- - git:
- url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/art.git
- branches:
- - origin/master
- credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- triggers:
- - gerrit:
- override-votes: true
- gerrit-build-successful-verified-value: 1
- gerrit-build-failed-verified-value: -1
- trigger-on:
- - comment-added-contains-event:
- comment-contains-value: '.*IncludeVixlArtTests.*'
- projects:
- - project-compare-type: 'PLAIN'
- project-pattern: 'linaro-art/platform/art'
- branches:
- - branch-pattern: 'master'
- - project-compare-type: 'PLAIN'
- project-pattern: 'arm/vixl'
- branches:
- - branch-pattern: 'master'
- wrappers:
- - timestamps
- - timeout:
- timeout: 500
- - ssh-agent-credentials:
- users:
- - '768c1ba1-6052-4b97-a531-7e4fabda6979'
- builders:
- - shell: |
- CI_MAIL_RECIPIENTS="${GERRIT_CHANGE_OWNER_EMAIL},${GERRIT_EVENT_ACCOUNT_EMAIL}"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},vishal.bhoj@linaro.org"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},daniel.diaz@linaro.org"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},julien.duraj@linaro.org"
- echo "CI_MAIL_RECIPIENTS=${CI_MAIL_RECIPIENTS}" > env_var_parameters
- - inject:
- properties-file: env_var_parameters
- - shell: |
- #!/bin/bash -xe
-
- # Build scripts
- ANDROID_BUILD_DIR="${HOME}/srv/${JOB_NAME}/android"
- ART_BUILD_SCRIPTS_DIR="${WORKSPACE}/art-build-scripts"
- git clone https://android-git.linaro.org/git/linaro-art/art-build-scripts.git ${ART_BUILD_SCRIPTS_DIR}
-
- cd ${ART_BUILD_SCRIPTS_DIR}/jenkins
- ./setup_host.sh
- ./setup_android.sh
-
- cd ${ANDROID_BUILD_DIR}
- rm -rf external/vixl
- git clone https://git.linaro.org/arm/vixl external/vixl
- cp external/vixl/third_party/android/Android.* external/vixl/
- perl scripts/jenkins/test_launcher.pl \
- scripts/tests/test_art_host.sh
- publishers:
- - email-ext:
- recipients: '${CI_MAIL_RECIPIENTS}'
- content-type: text
- body: |
- Build Triggered by: ${GERRIT_CHANGE_SUBJECT}: ${GERRIT_CHANGE_URL}
- Build URL: ${PROJECT_URL}${BUILD_NUMBER}/
- Full log: ${PROJECT_URL}${BUILD_NUMBER}/consoleText
- Parsed warnings/errors: ${PROJECT_URL}${BUILD_NUMBER}/parsed_console
-
- Errors:
- ${BUILD_LOG_REGEX, regex=".*ERROR:.* ", linesBefore=0, linesAfter=0, showTruncatedLines=false}
- - archive:
- artifacts: '*.txt, *.xml'
- - logparser:
- parse-rules: '/var/jenkins_home/userContent/android-art.parse'
- unstable-on-warning: false
- fail-on-error: false
- - groovy-postbuild:
- script:
- !include-raw:
- - linaro-art/tests.groovy
- - linaro-art/global.groovy
- - plot:
- - title: 'Sync Time'
- group: 'Time Measurements'
- yaxis: 'Seconds'
- style: line
- series:
- - file: time_repo.txt
- format: properties
- - title: 'Test Time'
- group: 'Time Measurements'
- yaxis: 'Seconds'
- style: line
- series:
- - file: time_test.txt
- format: properties
diff --git a/linaro-art-vixl-art-target-test.yaml b/linaro-art-vixl-art-target-test.yaml
deleted file mode 100644
index f01a2f85f..000000000
--- a/linaro-art-vixl-art-target-test.yaml
+++ /dev/null
@@ -1,134 +0,0 @@
-- job:
- name: linaro-art-vixl-art-target-test
- project-type: freestyle
- defaults: global
- description: >
- Runs the ART
- <a href="https://android-git.linaro.org/linaro-art/art-build-scripts.git/tree/tests/test_art_target.sh">Target Tests</a>
- on a device via adb using android root.<br>
- The build slave in the cloud is
- able to reach the physical device using port forwarding via SSH.<br>
- This job is using the latest VIXL tree.<br>
- This job will be launched nightly.<br>
- This build can also be triggered by adding the comment "IncludeVixlArtTests" in your Gerrit patch.
- properties:
- - authorization:
- anonymous:
- - job-discover
- - job-read
- linaro-android-builders:
- - job-read
- - job-extended-read
- - job-workspace
- linaro-art:
- - job-build
- - job-read
- - job-extended-read
- - job-workspace
- - build-discarder:
- days-to-keep: 60
- num-to-keep: 60
- parameters:
- - string:
- name: ADB_VERSION
- default: 'adb-tip'
- - string:
- name: BUILD_CONFIG_REPO
- default: 'git://android-git.linaro.org/android-build-configs.git'
- - string:
- name: BUILD_CONFIG_BRANCH
- default: 'master'
- - string:
- name: BUILD_CONFIG_FILENAME
- default: 'linaro-art-tip'
- disabled: true
- node: docker-utopic-art
- display-name: 'DELETE ME'
- concurrent: true
- scm:
- - git:
- url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/art.git
- branches:
- - origin/master
- credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- triggers:
- - gerrit:
- override-votes: true
- gerrit-build-successful-verified-value: 1
- gerrit-build-failed-verified-value: -1
- trigger-on:
- - comment-added-contains-event:
- comment-contains-value: '.*IncludeVixlArtTests.*'
- projects:
- - project-compare-type: 'PLAIN'
- project-pattern: 'linaro-art/platform/art'
- branches:
- - branch-pattern: 'master'
- - project-compare-type: 'PLAIN'
- project-pattern: 'arm/vixl'
- branches:
- - branch-pattern: 'master'
- wrappers:
- - timestamps
- - timeout:
- timeout: 500
- - ssh-agent-credentials:
- users:
- - '768c1ba1-6052-4b97-a531-7e4fabda6979'
- builders:
- - shell: |
- CI_MAIL_RECIPIENTS="${GERRIT_CHANGE_OWNER_EMAIL},${GERRIT_EVENT_ACCOUNT_EMAIL}"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},vishal.bhoj@linaro.org"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},daniel.diaz@linaro.org"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},julien.duraj@linaro.org"
- echo "CI_MAIL_RECIPIENTS=${CI_MAIL_RECIPIENTS}" > env_var_parameters
- - inject:
- properties-file: env_var_parameters
- - shell: |
- #!/bin/bash -xe
-
- # Build scripts
- ANDROID_BUILD_DIR="${HOME}/srv/${JOB_NAME}/android"
- ART_BUILD_SCRIPTS_DIR="${WORKSPACE}/art-build-scripts"
- git clone https://android-git.linaro.org/git/linaro-art/art-build-scripts.git ${ART_BUILD_SCRIPTS_DIR}
-
- cd ${ART_BUILD_SCRIPTS_DIR}/jenkins
- # Port forwarding magic to have access to Nexus devices
- source /home/buildslave/srv/nexus-config
- export ANDROID_SERIAL=${BULLHEAD}
- ./setup_adb.sh
- ./setup_host.sh
- ./setup_android.sh
-
- cd ${ANDROID_BUILD_DIR}
- rm -rf external/vixl
- git clone https://git.linaro.org/arm/vixl external/vixl
- cp external/vixl/third_party/android/Android.* external/vixl/
- perl scripts/jenkins/test_launcher.pl \
- scripts/tests/test_art_target.sh --default
- publishers:
- - email-ext:
- recipients: '${CI_MAIL_RECIPIENTS}'
- content-type: text
- body: |
- Build Triggered by: ${GERRIT_CHANGE_SUBJECT}: ${GERRIT_CHANGE_URL}
- Build URL: ${PROJECT_URL}${BUILD_NUMBER}/
- Full log: ${PROJECT_URL}${BUILD_NUMBER}/consoleText
- Parsed warnings/errors: ${PROJECT_URL}${BUILD_NUMBER}/parsed_console
-
- Errors:
- ${BUILD_LOG_REGEX, regex=".*ERROR:.* ", linesBefore=0, linesAfter=0, showTruncatedLines=false}
- - archive:
- artifacts: '*.txt, *.xml'
- - logparser:
- parse-rules: '/var/jenkins_home/userContent/android-art.parse'
- unstable-on-warning: false
- fail-on-error: false
- - groovy-postbuild:
- script:
- !include-raw:
- - linaro-art/tests.groovy
- - linaro-art/global.groovy
diff --git a/linaro-edk2-capsule.yaml b/linaro-edk2-capsule.yaml
deleted file mode 100644
index 495bee301..000000000
--- a/linaro-edk2-capsule.yaml
+++ /dev/null
@@ -1,134 +0,0 @@
-- job:
- name: linaro-edk2-capsule
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- parameters:
- - string:
- name: BUNDLE_STREAM_NAME
- default: '/private/team/linaro/leg-edk2/'
- - string:
- name: DEVICE_TYPE
- default: 'rtsm_fvp_base-aemv8a'
- - string:
- name: LAVA_SERVER
- default: 'validation.linaro.org/RPC2/'
- disabled: true
- node: build
- display-name: 'DELETE ME'
- scm:
- - git:
- url: http://git.linaro.org/git/uefi/linaro-edk2.git
- refspec: +refs/heads/linaro-topic-capsule:refs/remotes/origin/linaro-topic-capsule
- name: origin
- branches:
- - refs/heads/linaro-topic-capsule
- basedir: linaro-edk2
- skip-tag: true
- shallow-clone: true
- clean: true
- wipe-workspace: false
- triggers:
- - pollscm: 'H/5 * * * *'
- wrappers:
- - timestamps
- - copy-to-slave:
- includes:
- - gcc-linaro-aarch64-linux-gnu-4.8-2014.04_linux.tar.xz
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- rm -rf arm64-tc
- rm -rf arm-trusted-firmware
- rm -rf uefi-tools
- rm -rf out
- }
-
- # Install custom toolchain
- mkdir arm64-tc
- tar --strip-components=1 -C ${WORKSPACE}/arm64-tc -xf gcc-linaro-aarch64-linux-gnu-4.8-*_linux.tar.xz
- export PATH="${WORKSPACE}/arm64-tc/bin:$PATH"
-
- # Check out arm-trusted-firmware - at a locked-down known-good version
- git clone -b v1.0 --depth 1 https://github.com/ARM-software/arm-trusted-firmware.git
-
- git clone git://git.linaro.org/uefi/uefi-tools.git
-
- export AARCH64_TOOLCHAIN=GCC48
- export EDK2_DIR=${WORKSPACE}/linaro-edk2
- export UEFI_TOOLS_DIR=${WORKSPACE}/uefi-tools
- export JENKINS_WORKSPACE=${WORKSPACE}
- unset WORKSPACE
-
- cd ${EDK2_DIR}
- ${UEFI_TOOLS_DIR}/uefi-build.sh -b RELEASE -a ../arm-trusted-firmware fvp
-
- unset WORKSPACE
- export WORKSPACE=${JENKINS_WORKSPACE}
-
- cd ${WORKSPACE}
- mkdir out
- cp -a ${EDK2_DIR}/Build/ArmVExpress-FVP-AArch64/RELEASE_GCC48/FV/*.bin out/
- cp -a ${EDK2_DIR}/Build/ArmVExpress-FVP-AArch64/RELEASE_GCC48/FV/*.fd out/
- ${HOME}/bin/linaro-cp --api_version 3 out components/kernel/${JOB_NAME}/${BUILD_NUMBER}
-
- IMAGE_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/linux-leg/lastSuccessfulBuild/buildNumber`
- cat << EOF > lava_job_definition_parameters
- IMAGE_URL=http://snapshots.linaro.org/kernel-hwpack/linux-leg-vexpress64/${IMAGE_BUILD_NUMBER}/vexpress64-leg-sd.img.gz
- STARTUP_NSH=http://snapshots.linaro.org/kernel-hwpack/linux-leg-vexpress64/${IMAGE_BUILD_NUMBER}/startup.nsh
- EOF
- - inject:
- properties-file: lava_job_definition_parameters
- - shell: |
- BL1_URL=https://snapshots.linaro.org/components/kernel/${JOB_NAME}/${BUILD_NUMBER}/bl1.bin
- FIP_URL=https://snapshots.linaro.org/components/kernel/${JOB_NAME}/${BUILD_NUMBER}/fip.bin
-
- rm -rf configs
- git clone --depth 1 http://git.linaro.org/ci/job/configs.git
-
- sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \
- -e "s|\${BUILD_URL}|${BUILD_URL}|" \
- -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \
- -e "s|\${BL1_URL}|${BL1_URL}|" \
- -e "s|\${FIP_URL}|${FIP_URL}|" \
- -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \
- -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \
- -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \
- -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \
- -e "s|\${GIT_URL}|${GIT_URL}|" \
- -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \
- -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \
- < configs/linaro-edk2-capsule/lava-job-definitions/${DEVICE_TYPE}/template.json \
- > custom_lava_job_definition.json
-
- cat << EOF > post_build_lava_parameters
- DEVICE_TYPE=${DEVICE_TYPE}
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition.json
- LAVA_SERVER=${LAVA_SERVER}
- EOF
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- publishers:
- - email:
- recipients: 'fathi.boudra@linaro.org'
diff --git a/linaro-edk2-prep-matrix.yaml b/linaro-edk2-prep-matrix.yaml
deleted file mode 100644
index 4235d6f64..000000000
--- a/linaro-edk2-prep-matrix.yaml
+++ /dev/null
@@ -1,498 +0,0 @@
-- job:
- name: linaro-edk2-prep-matrix
- project-type: matrix
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- parameters:
- - string:
- name: BUNDLE_STREAM_NAME
- default: '/private/team/linaro/leg-edk2/'
- - string:
- name: LAVA_SERVER
- default: 'validation.linaro.org/RPC2/'
- disabled: true
- node: build
- child-workspace: .
- display-name: 'DELETE ME'
- scm:
- - git:
- url: http://git.linaro.org/git/uefi/linaro-edk2.git
- refspec: +refs/heads/release-prep:refs/remotes/origin/release-prep
- name: origin
- branches:
- - refs/heads/release-prep
- basedir: linaro-edk2
- skip-tag: true
- shallow-clone: true
- clean: true
- wipe-workspace: false
- triggers:
- - pollscm: 'H/5 * * * *'
- axes:
- - axis:
- type: user-defined
- name: MX_B
- values:
- - qemu64
- - fvp-base-armbds
- - qemu
- - fvp-foundation-armbds
- - juno-armbds
-# - mustang
- - rtsm_a15mpcore-armbds
- - tc2-armbds
- - beagle-armbds
- - xen64
- - axis:
- type: user-defined
- name: MX_TYPE
- values:
- - RELEASE
- - DEBUG
- - axis:
- type: user-defined
- name: MX_TC
- values:
-
- - 48
- - 49
- - axis:
- type: slave
- name: label
- values:
- - docker-xenial-amd64
- execution-strategy:
- sequential: true
-# Touchstone is used to build "most interesting" board first, and to also
-# key actions that should only be done once per build (such as creating
-# source tarball.
- touchstone:
- expr: 'MX_B=="qemu64" && MX_TYPE=="RELEASE" && MX_TC=="48"'
- wrappers:
- - timestamps
-# - build-name:
-# name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- - matrix-tie-parent:
- node: build
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- export JOB_NAME=linaro-edk2-prep-matrix
- pwd
- echo "JOB_URL: ${JOB_URL}"
- echo "BUILD_URL: ${BUILD_URL}"
- echo "WORKSPACE: ${WORKSPACE}"
- echo "BUILD_NUMBER: ${BUILD_NUMBER}"
-
- # Create lower case debug/release string for use in paths
- BUILD_TYPE="${MX_TYPE,,}"
-
- set -ex
-
- sudo apt-get update
- sudo apt-get install -y acpica-tools python-requests zip
- wget --progress=dot -e dotbytes=2M http://ftp.de.debian.org/debian/pool/main/a/acpica-unix/acpica-tools_20140926-1_amd64.deb -O acpica-tools_20140926-1_amd64.deb
- sudo dpkg -i --force-all acpica-tools_*.deb
- rm -f acpica-tools_*.deb
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- rm -rf uefi-ci uefi-tools
- rm -rf ${JOB_NAME}-build
- rm -rf out
- }
-
- # Use pre-installed linaro toolchain
- [ ${MX_TC} == "48" ] && export PATH="${HOME}/srv/toolchain/arm-tc-14.04/bin:${HOME}/srv/toolchain/arm64-tc-14.04/bin:$PATH"
- [ ${MX_TC} == "49" ] && export PATH="${HOME}/srv/toolchain/arm-tc-15.02/bin:${HOME}/srv/toolchain/arm64-tc-15.02/bin:$PATH"
-
- git clone git://git.linaro.org/uefi/uefi-tools.git
- git clone git://git.linaro.org/people/roy.franz/uefi-ci.git -b rfranz-jenkins-test uefi-ci
- bash -x uefi-ci/uefi.sh
-
- builddir=${WORKSPACE}/${JOB_NAME}-build
- outdir=${WORKSPACE}/out
-
- rm -rf ${outdir}
- mkdir -p ${outdir}/gcc-${MX_TC}
-
- # move any *orig.tar.bz2 files separately to non-gcc based dir
- for f in ${builddir}/*orig.tar.bz2; do
- ## Check if the glob gets expanded to existing files.
- ## If not, f here will be exactly the pattern above
- ## and the exists test will evaluate to false.
- [ -e "$f" ] || break # No files exist, $f is glob pattern
-
- mv ${builddir}/*orig.tar.bz2 ${outdir}/
- break
- done
- mv ${builddir}/* ${outdir}/gcc-${MX_TC}
- find ${outdir}/ -name '*QEMU_EFI.fd' -exec bash -c 'in=${1}; out=${in%fd}img; cat $in /dev/zero | dd iflag=fullblock bs=1M count=64 of=$out; gzip -9 $out' _ {} \;
-
- if [ "${MX_B}" == "qemu64" ]; then
- echo "The default boot selection will start in" > out/gcc-${MX_TC}/${BUILD_TYPE}/qemu64/startup-qemu-aarch64.nsh
- echo "Image console=ttyAMA0 root=/dev/vda2 rootwait rootfstype=ext4 rw verbose debug uefi_debug ignore_loglevel" >> out/gcc-${MX_TC}/${BUILD_TYPE}/qemu64/startup-qemu-aarch64.nsh
- fi
-
- IMAGE_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/linux-leg/lastSuccessfulBuild/buildNumber`
- cat << EOF > lava_job_definition_parameters
- IMAGE_URL=http://snapshots.linaro.org/kernel-hwpack/linux-leg-vexpress64/${IMAGE_BUILD_NUMBER}/vexpress64-leg-sd.img.gz
- STARTUP_NSH=http://snapshots.linaro.org/kernel-hwpack/linux-leg-vexpress64/${IMAGE_BUILD_NUMBER}/startup.nsh
- EOF
-
- # Publish to snapshots
- # Publish
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- time python ${HOME}/bin/linaro-cp.py \
- --link-latest \
- out components/kernel/${JOB_NAME}/${BUILD_NUMBER}
- - inject:
- properties-file: lava_job_definition_parameters
-
-
-###############################################################################
-# qemu64 iSCSI boot
-###############################################################################
- - shell: |
- #!/bin/bash
-
- # Test only valid for qemu64
- if [ "${MX_B}" != "qemu64" ]; then
- echo "Missing post_build_lava_parameters_qemu_iscsi_in_kvm file is expected"
- exit 0
- fi
- DEVICE_TYPE=kvm
- # Convert MX_TYPE to lower case for use in path
- BUILD_TYPE="${MX_TYPE,,}"
-
- if [ "${MX_TYPE}" == "DEBUG" ];then
- PREFIX="debug-"
- else
- PREFIX=""
- fi
-
- rm -rf configs
- git clone --depth 1 http://git.linaro.org/ci/job/configs.git
-
- QEMU_EFI_URL=https://snapshots.linaro.org/components/kernel/linaro-edk2-prep-matrix/${BUILD_NUMBER}/gcc-${MX_TC}/${BUILD_TYPE}/qemu64/${PREFIX}QEMU_EFI.fd
-
- sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \
- -e "s|\${BUILD_URL}|${BUILD_URL}|" \
- -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \
- -e "s|\${QEMU_EFI_URL}|${QEMU_EFI_URL}|" \
- -e "s|\${INITRD_URL}|${INITRD_URL}|" \
- -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \
- -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \
- -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \
- -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \
- -e "s|\${GIT_URL}|${GIT_URL}|" \
- -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \
- -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"edk2-test-case\" : \"qemu64-iscsi\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"edk2-job\" : \"edk2-prep-matrix\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"edk2-matrix-type\" : \"${MX_TC},${MX_B},${MX_TYPE}\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"MX_TC\" : \"${MX_TC}\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"MX_B\" : \"${MX_B}\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"MX_TYPE\" : \"${MX_TYPE}\",|" \
- < configs/linaro-edk2-prep/lava-job-definitions/${DEVICE_TYPE}/template-qemu-iscsi-in-kvm.json \
- > custom_lava_job_definition_qemu_iscsi_in_kvm.json
-
- cat << EOF > post_build_lava_parameters_qemu_iscsi_in_kvm
- DEVICE_TYPE=${DEVICE_TYPE}
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_qemu_iscsi_in_kvm.json
-
- LAVA_SERVER=${LAVA_SERVER}
- EOF
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters_qemu_iscsi_in_kvm
- block: true
-
-###############################################################################
-# FVP base GRUB install
-###############################################################################
- - shell: |
- #!/bin/bash
-
- # Test only valid for fvp-base-armbds
- if [ "${MX_B}" != "fvp-base-armbds" ]; then
- echo "Missing post_build_lava_parameters_grub_install file is expected"
- exit 0
- fi
- DEVICE_TYPE=rtsm_fvp_base-aemv8a
- # Convert MX_TYPE to lower case for use in path
- BUILD_TYPE="${MX_TYPE,,}"
-
- BL1_URL=https://snapshots.linaro.org/components/kernel/linaro-edk2-prep-matrix/${BUILD_NUMBER}/gcc-${MX_TC}/${BUILD_TYPE}/fvp-base-armbds/bl1.bin
- FIP_URL=https://snapshots.linaro.org/components/kernel/linaro-edk2-prep-matrix/${BUILD_NUMBER}/gcc-${MX_TC}/${BUILD_TYPE}/fvp-base-armbds/fip.bin
- INITRD_URL=http://releases.linaro.org/14.12/openembedded/images/minimal-initramfs-armv8/linaro-image-minimal-initramfs-genericarmv8-20141212-729.rootfs.cpio.gz
-
- rm -rf configs
- git clone --depth 1 http://git.linaro.org/ci/job/configs.git
-
- sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \
- -e "s|\${BUILD_URL}|${BUILD_URL}|" \
- -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \
- -e "s|\${BL1_URL}|${BL1_URL}|" \
- -e "s|\${FIP_URL}|${FIP_URL}|" \
- -e "s|\${INITRD_URL}|${INITRD_URL}|" \
- -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \
- -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \
- -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \
- -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \
- -e "s|\${GIT_URL}|${GIT_URL}|" \
- -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \
- -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"edk2-test-case\" : \"fvp-grub-install\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"edk2-job\" : \"edk2-prep-matrix\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"edk2-matrix-type\" : \"${MX_TC},${MX_B},${MX_TYPE}\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"MX_TC\" : \"${MX_TC}\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"MX_B\" : \"${MX_B}\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"MX_TYPE\" : \"${MX_TYPE}\",|" \
- < configs/linaro-edk2-prep/lava-job-definitions/${DEVICE_TYPE}/template-grub-install.json \
- > custom_lava_job_definition_grub_install.json
-
- cat << EOF > post_build_lava_parameters_grub_install
- DEVICE_TYPE=${DEVICE_TYPE}
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_grub_install.json
- LAVA_SERVER=${LAVA_SERVER}
- EOF
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters_grub_install
- block: true
-
-
-###############################################################################
-# FVP base startup_boot
-###############################################################################
- - shell: |
- #!/bin/bash
- # Test only valid for fvp-base-armbds
- if [ "${MX_B}" != "fvp-base-armbds" ]; then
- echo "Missing post_build_lava_parameters_startup_boot file is expected"
- exit 0
- fi
- DEVICE_TYPE=rtsm_fvp_base-aemv8a
- # Convert MX_TYPE to lower case for use in path
- BUILD_TYPE="${MX_TYPE,,}"
-
- BL1_URL=https://snapshots.linaro.org/components/kernel/linaro-edk2-prep-matrix/${BUILD_NUMBER}/gcc-${MX_TC}/${BUILD_TYPE}/fvp-base-armbds/bl1.bin
- FIP_URL=https://snapshots.linaro.org/components/kernel/linaro-edk2-prep-matrix/${BUILD_NUMBER}/gcc-${MX_TC}/${BUILD_TYPE}/fvp-base-armbds/fip.bin
-
- sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \
- -e "s|\${BUILD_URL}|${BUILD_URL}|" \
- -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \
- -e "s|\${BL1_URL}|${BL1_URL}|" \
- -e "s|\${FIP_URL}|${FIP_URL}|" \
- -e "s|\${INITRD_URL}|${INITRD_URL}|" \
- -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \
- -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \
- -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \
- -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \
- -e "s|\${GIT_URL}|${GIT_URL}|" \
- -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \
- -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"edk2-test-case\" : \"fvp-startup-boot\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"edk2-job\" : \"edk2-prep-matrix\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"edk2-matrix-type\" : \"${MX_TC},${MX_B},${MX_TYPE}\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"MX_TC\" : \"${MX_TC}\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"MX_B\" : \"${MX_B}\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"MX_TYPE\" : \"${MX_TYPE}\",|" \
- < configs/linaro-edk2-prep/lava-job-definitions/${DEVICE_TYPE}/template-startup-boot.json \
- > custom_lava_job_definition_startup_boot.json
-
- cat << EOF > post_build_lava_parameters_startup_boot
- DEVICE_TYPE=${DEVICE_TYPE}
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_startup_boot.json
- LAVA_SERVER=${LAVA_SERVER}
- EOF
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters_startup_boot
- block: true
-
-###############################################################################
-# FVP base menu boot
-###############################################################################
-
- - shell: |
- #!/bin/bash
- # Test only valid for fvp-base-armbds
- if [ "${MX_B}" != "fvp-base-armbds" ]; then
- echo "Missing post_build_lava_parameters_menu_boot file is expected"
- exit 0
- fi
- DEVICE_TYPE=rtsm_fvp_base-aemv8a
- # Convert MX_TYPE to lower case for use in path
- BUILD_TYPE="${MX_TYPE,,}"
-
- BL1_URL=https://snapshots.linaro.org/components/kernel/linaro-edk2-prep-matrix/${BUILD_NUMBER}/gcc-${MX_TC}/${BUILD_TYPE}/fvp-base-armbds/bl1.bin
- FIP_URL=https://snapshots.linaro.org/components/kernel/linaro-edk2-prep-matrix/${BUILD_NUMBER}/gcc-${MX_TC}/${BUILD_TYPE}/fvp-base-armbds/fip.bin
-
- sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \
- -e "s|\${BUILD_URL}|${BUILD_URL}|" \
- -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \
- -e "s|\${BL1_URL}|${BL1_URL}|" \
- -e "s|\${FIP_URL}|${FIP_URL}|" \
- -e "s|\${INITRD_URL}|${INITRD_URL}|" \
- -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \
- -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \
- -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \
- -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \
- -e "s|\${GIT_URL}|${GIT_URL}|" \
- -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \
- -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"edk2-test-case\" : \"fvp-menu-boot\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"edk2-job\" : \"edk2-prep-matrix\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"edk2-matrix-type\" : \"${MX_TC},${MX_B},${MX_TYPE}\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"MX_TC\" : \"${MX_TC}\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"MX_B\" : \"${MX_B}\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"MX_TYPE\" : \"${MX_TYPE}\",|" \
- < configs/linaro-edk2-prep/lava-job-definitions/${DEVICE_TYPE}/template-menu-boot.json \
- > custom_lava_job_definition_menu_boot.json
-
- cat << EOF > post_build_lava_parameters_menu_boot
- DEVICE_TYPE=${DEVICE_TYPE}
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_menu_boot.json
- LAVA_SERVER=${LAVA_SERVER}
- EOF
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters_menu_boot
- block: true
-
-###############################################################################
-# FVP base menu boot w/initrd
-###############################################################################
-
- - shell: |
- #!/bin/bash
- # Test only valid for fvp-base-armbds
- if [ "${MX_B}" != "fvp-base-armbds" ]; then
- echo "Missing post_build_lava_parameters_menu_boot_with_initrd file is expected"
- exit 0
- fi
- DEVICE_TYPE=rtsm_fvp_base-aemv8a
- # Convert MX_TYPE to lower case for use in path
- BUILD_TYPE="${MX_TYPE,,}"
-
- INITRD_URL=http://releases.linaro.org/14.12/openembedded/images/minimal-initramfs-armv8/linaro-image-minimal-initramfs-genericarmv8-20141212-729.rootfs.cpio.gz
- BL1_URL=https://snapshots.linaro.org/components/kernel/linaro-edk2-prep-matrix/${BUILD_NUMBER}/gcc-${MX_TC}/${BUILD_TYPE}/fvp-base-armbds/bl1.bin
- FIP_URL=https://snapshots.linaro.org/components/kernel/linaro-edk2-prep-matrix/${BUILD_NUMBER}/gcc-${MX_TC}/${BUILD_TYPE}/fvp-base-armbds/fip.bin
-
- sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \
- -e "s|\${BUILD_URL}|${BUILD_URL}|" \
- -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \
- -e "s|\${BL1_URL}|${BL1_URL}|" \
- -e "s|\${FIP_URL}|${FIP_URL}|" \
- -e "s|\${INITRD_URL}|${INITRD_URL}|" \
- -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \
- -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \
- -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \
- -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \
- -e "s|\${GIT_URL}|${GIT_URL}|" \
- -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \
- -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"edk2-test-case\" : \"fvp-menu-boot-initrd\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"edk2-job\" : \"edk2-prep-matrix\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"edk2-matrix-type\" : \"${MX_TC},${MX_B},${MX_TYPE}\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"MX_TC\" : \"${MX_TC}\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"MX_B\" : \"${MX_B}\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"MX_TYPE\" : \"${MX_TYPE}\",|" \
- < configs/linaro-edk2-prep/lava-job-definitions/${DEVICE_TYPE}/template-menu-boot-with-initrd.json \
- > custom_lava_job_definition_menu_boot_with_initrd.json
-
- cat << EOF > post_build_lava_parameters_menu_boot_with_initrd
- DEVICE_TYPE=${DEVICE_TYPE}
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_menu_boot_with_initrd.json
- LAVA_SERVER=${LAVA_SERVER}
- EOF
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters_menu_boot_with_initrd
- block: true
-
-###############################################################################
-# qemu64 parameters
-###############################################################################
-
- - shell: |
- #!/bin/bash
-
- echo "Skipping tests on staging.linaro.org during downtime"
- exit 0
- # Test only valid for qemu64
- if [ "${MX_B}" != "qemu64" ]; then
- echo "Missing post_build_lava_parameters_qemu_aarch64_uefi file is expected"
- exit 0
- fi
- DEVICE_TYPE=qemu-aarch64
- # Convert MX_TYPE to lower case for use in path
- BUILD_TYPE="${MX_TYPE,,}"
-
- # qemu-aarch64 not available in production yet.
- BUNDLE_STREAM_NAME=/anonymous/debug/
- LAVA_SERVER=staging.validation.linaro.org/RPC2/
-
- QEMU_EFI_URL=https://snapshots.linaro.org/components/kernel/linaro-edk2-prep-matrix/${BUILD_NUMBER}/gcc-${MX_TC}/${BUILD_TYPE}/qemu64/${PREFIX}QEMU_EFI.img.gz
- STARTUP_NSH=https://snapshots.linaro.org/components/kernel/linaro-edk2-prep-matrix/${BUILD_NUMBER}/gcc-${MX_TC}/${BUILD_TYPE}/qemu64/startup-qemu-aarch64.nsh
-
- QEMU_PFLASH_URL=http://people.linaro.org/~fu.wei/LAVA/test/QEMU/flash1.uefishell.qemu.gz
-
- sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \
- -e "s|\${BUILD_URL}|${BUILD_URL}|" \
- -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \
- -e "s|\${QEMU_EFI_URL}|${QEMU_EFI_URL}|" \
- -e "s|\${QEMU_PFLASH_URL}|${QEMU_PFLASH_URL}|" \
- -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \
- -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \
- -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \
- -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \
- -e "s|\${GIT_URL}|${GIT_URL}|" \
- -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \
- -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"edk2-test-case\" : \"qemu64-uefi-rtc\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"edk2-job\" : \"edk2-prep-matrix\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"edk2-matrix-type\" : \"${MX_TC},${MX_B},${MX_TYPE}\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"MX_TC\" : \"${MX_TC}\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"MX_B\" : \"${MX_B}\",|" \
- -e "s|\"metadata\": {|\"metadata\": {\n \"MX_TYPE\" : \"${MX_TYPE}\",|" \
- < configs/linaro-edk2-prep/lava-job-definitions/${DEVICE_TYPE}/template.json \
- > custom_lava_job_definition_qemu_aarch64_uefi.json
-
- cat << EOF > post_build_lava_parameters_qemu_aarch64_uefi
- DEVICE_TYPE=${DEVICE_TYPE}
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- CUSTOM_JSON_URL=${JOB_URL}ws/custom_lava_job_definition_qemu_aarch64_uefi.json
- LAVA_SERVER=${LAVA_SERVER}
- EOF
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters_qemu_aarch64_uefi
- block: true
-
diff --git a/linux-eas.yaml b/linux-eas.yaml
deleted file mode 100644
index ee7e41a4d..000000000
--- a/linux-eas.yaml
+++ /dev/null
@@ -1,173 +0,0 @@
-- job:
- name: linux-eas
- project-type: matrix
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- parameters:
- - file:
- name: defconfig.properties
- - string:
- name: BUNDLE_STREAM_NAME
- default: '/public/team/linaro/eas/'
- - string:
- name: LAVA_SERVER
- default: 'validation.linaro.org/RPC2/'
- - string:
- name: ROOTFS_BUILD_URL
- default: 'http://releases.linaro.org/14.12/openembedded/images/minimal-armv7a/linaro-image-minimal-genericarmv7a-20141212-311.rootfs.tar.gz'
- disabled: true
- node: build
- child-workspace: .
- display-name: 'DELETE ME'
- scm:
- - git:
- url: http://git.linaro.org/kernel/eas-backports.git
- refspec: +refs/heads/eas-test:refs/remotes/origin/eas-test
- name: origin
- branches:
- - refs/heads/eas-test
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- axes:
- - axis:
- type: user-defined
- name: ARCH
- values:
- - arm
- - axis:
- type: dynamic
- name: defconfig
- values:
- - defconfig_list
- - axis:
- type: slave
- name: label
- values:
- - build
- execution-strategy:
- combination-filter: |
- (ARCH=="arm" && defconfig!="defconfig") || (ARCH=="arm64" && defconfig=="defconfig")
- sequential: true
- wrappers:
- - timestamps
- - copy-to-slave:
- includes:
- - gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- - matrix-tie-parent:
- node: build
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- rm -rf builddir*
- rm -rf out
- }
-
- export LANG=C
- CCACHE_DIR="$HOME/ccache"
- CCACHE_UNIFY=1
- CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros
- export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS
- export use_ccache=true
- export make_silent=false
- export make_deb=true
- export make_bootwrapper=false
- export make_install=true
- export kernel_flavour="${defconfig}"
- export kernel_config="${defconfig}_defconfig"
- export MAKE_DTBS=true
- export toolchain_url="http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz"
-
- case "${defconfig}" in
- omap2plus)
- export hwpack_type="panda"
- export kernel_flavour="omap"
- export DEVICE_TYPE="panda-es"
- unset kernel_config
- export use_config_fragment=1
- export conf_filenames="arch/arm/configs/${defconfig}_defconfig linaro/configs/workaround.conf"
- # XXX workaround omap2plus defconfig
- mkdir -p linaro/configs
- cat << EOF > linaro/configs/workaround.conf
- CONFIG_USB_EHCI_HCD=y
- CONFIG_USB_OHCI_HCD=y
- EOF
- ;;
- vexpress)
- export hwpack_type="vexpress"
- export kernel_flavour="vexpress"
- export DEVICE_TYPE="vexpress-tc2"
- unset kernel_config
- export use_config_fragment=1
- export conf_filenames="arch/arm/configs/${defconfig}_defconfig linaro/configs/workaround.conf"
- # XXX workaround vexpress defconfig
- mkdir -p linaro/configs
- cat << EOF > linaro/configs/workaround.conf
- CONFIG_DEVTMPFS=y
- CONFIG_DEVTMPFS_MOUNT=y
- CONFIG_REGULATOR=y
- CONFIG_REGULATOR_VEXPRESS=y
- CONFIG_EXT4_FS=y
- EOF
- ;;
- esac
-
- test -d lci-build-tools || git clone --depth 1 https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools
- bash lci-build-tools/jenkins_kernel_build_inst
-
- [ "${defconfig}" = "omap2plus" ] && mkimage -A arm -O linux -C none -T kernel -a 0x80008000 -e 0x80008000 -n Linux -d out/zImage out/uImage
- mv hwpack_linaro-${hwpack_type}* out/
-
- # Publish to snapshots
- ${HOME}/bin/linaro-cp --api_version 3 out kernel-hwpack/linux-eas/${defconfig}/${BUILD_NUMBER}
-
- CCACHE_DIR=${CCACHE_DIR} ccache -M 30G
- CCACHE_DIR=${CCACHE_DIR} ccache -s
-
- KERNEL_URL=http://snapshots.linaro.org/kernel-hwpack/linux-eas/${defconfig}/${BUILD_NUMBER}
- DTB_URL=${KERNEL_URL}/dtbs
- HWPACK_BUILD_URL=${KERNEL_URL}/`ls out/hwpack_linaro-${hwpack_type}_*_armhf_supported.tar.gz |xargs basename`
-
- cat << EOF > post_build_lava_parameters
- DEVICE_TYPE=${DEVICE_TYPE}
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json
- LAVA_SERVER=${LAVA_SERVER}
- KERNEL_URL=${KERNEL_URL}
- DTB_URL=${DTB_URL}
- HWPACK_BUILD_URL=${HWPACK_BUILD_URL}
- EOF
- - inject:
- properties-file: post_build_lava_parameters
- - shell: |
- git clone --depth 1 http://git.linaro.org/ci/job/configs.git
- ./lci-build-tools/yaml-to-json.py configs/linux-eas/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json
-
- rm -rf lci-build-tools
- rm -rf configs
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- publishers:
- - email:
- recipients: 'alex.shi@linaro.org fathi.boudra@linaro.org'
diff --git a/linux-kvm.yaml b/linux-kvm.yaml
deleted file mode 100644
index cfdcac3e7..000000000
--- a/linux-kvm.yaml
+++ /dev/null
@@ -1,65 +0,0 @@
-- job:
- name: linux-kvm
- project-type: matrix
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 30
- disabled: true
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: hwpack
- values:
- - arndale
- - juno
- - mustang
- - axis:
- type: slave
- name: label
- values:
- - docker-xenial-amd64
- triggers:
- - timed: 'H(0-30) H(9-11) * * *'
- wrappers:
- - timestamps
- - matrix-tie-parent:
- node: master
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -e
-
- rm -rf kvm-ci
- git clone git://git.linaro.org/ci/kvm-ci.git kvm-ci
- bash ./kvm-ci/jenkins-run
-
- # Publish
- mkdir out
- mv *.gz uImage* Image* zImage* *.dtb *.deb out/ ||true
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- time python ${HOME}/bin/linaro-cp.py \
- --api_version 3 \
- --link-latest \
- out ubuntu/images/kvm/${hwpack}/${BUILD_NUMBER}
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- publishers:
- - email:
- recipients: 'riku.voipio@linaro.org'
diff --git a/linux-leg.yaml b/linux-leg.yaml
deleted file mode 100644
index 0bc2b76d7..000000000
--- a/linux-leg.yaml
+++ /dev/null
@@ -1,226 +0,0 @@
-- job:
- name: linux-leg
- project-type: matrix
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- parameters:
- - string:
- name: BUNDLE_STREAM_NAME
- default: '/private/team/linaro/leg-kernel/'
- - string:
- name: DEVICE_TYPE
- default: 'rtsm_fvp_base-aemv8a'
- - string:
- name: LAVA_SERVER
- default: 'validation.linaro.org/RPC2/'
- - string:
- name: INITRD_URL
- default: 'http://releases.linaro.org/14.12/openembedded/images/minimal-initramfs-armv8/linaro-image-minimal-initramfs-genericarmv8-20141212-729.rootfs.cpio.gz'
- - string:
- name: BL1_URL
- default: 'http://releases.linaro.org/15.05/components/kernel/uefi-linaro/release/fvp-base-armbds/bl1.bin'
- - string:
- name: FIP_URL
- default: 'http://releases.linaro.org/15.05/components/kernel/uefi-linaro/release/fvp-base-armbds/fip.bin'
- disabled: true
- node: build
- child-workspace: .
- display-name: 'DELETE ME'
- scm:
- - git:
- url: git://git.linaro.org/leg/acpi/leg-kernel.git
- refspec: +refs/heads/leg-kernel:refs/remotes/origin/leg-kernel
- name: origin
- branches:
- - refs/heads/leg-kernel
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- axes:
- - axis:
- type: user-defined
- name: hwpack
- values:
- - vexpress64
- - axis:
- type: slave
- name: label
- values:
- - docker-xenial-amd64
- execution-strategy:
- sequential: true
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- - matrix-tie-parent:
- node: build
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- rm -rf lci-build-tools
- rm -rf builddir*
- rm -rf out
- }
-
- sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
- sudo apt-get update
- sudo apt-get install -y python-requests python-beautifulsoup python-html2text
-
- export LANG=C
- export make_install=true
- export hwpack_type=vexpress64
- export board_types=${DEVICE_TYPE}
- export kernel_flavour=vexpress64
- export use_config_fragment=1
- export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/vexpress64.conf linaro/configs/distribution.conf linaro/configs/acpi.conf linaro/configs/efi.conf"
- export MAKE_DTBS=true
- export ARCH=arm64
- export tcbindir="${HOME}/srv/toolchain/arm64-tc-15.11/bin"
- export toolchain_url="https://releases.linaro.org/components/toolchain/binaries/5.2-2015.11-2/aarch64-linux-gnu/gcc-linaro-5.2-2015.11-2-x86_64_aarch64-linux-gnu.tar.xz"
- export rootfs_arch=armv8
- export rootfs_type=lamp
-
- test -d lci-build-tools || git clone https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools
- bash lci-build-tools/jenkins_kernel_build_inst
-
- # Get rootfs
- rm -f linaro-image-${rootfs_type}-generic*.tar.gz
- export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-${rootfs_arch}-rootfs/gcc_version=5.2,label=build,rootfs=${rootfs_type}/lastSuccessfulBuild/buildNumber`
- export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-${rootfs_arch}-rootfs/gcc_version=5.2,label=build,rootfs=${rootfs_type}/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd`
- export ROOTFS_BUILD_URL="http://snapshots.linaro.org/openembedded/images/${rootfs_type}-${rootfs_arch}-gcc-5.2/${ROOTFS_BUILD_NUMBER}/linaro-image-${rootfs_type}-generic${rootfs_arch}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.rootfs.tar.gz"
- wget --progress=dot -e dotbytes=2M ${ROOTFS_BUILD_URL}
-
- # Create pre-built image(s)
- linaro-media-create --dev fastmodel --output-directory ${WORKSPACE} --image-size 2G --binary linaro-image-${rootfs_type}-generic${rootfs_arch}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.rootfs.tar.gz --hwpack hwpack_linaro-${hwpack_type}*.tar.gz --hwpack-force
-
- # Compress image(s)
- mv sd.img ${hwpack}-leg-sd.img
- gzip -9 ${hwpack}-leg-sd.img
-
- mv hwpack_* out/
- mv ${hwpack}-leg-sd.img.gz out/
- mv *.bin out/
-
- cat << EOF > out/startup.nsh
- Image console=ttyAMA0 earlycon=pl011,0x1c090000 root=/dev/vda2 rootwait rootfstype=ext4 rw verbose debug uefi_debug ignore_loglevel acpi=force
- EOF
-
- # Publish to snapshots
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- time python ${HOME}/bin/linaro-cp.py \
- --api_version 3 \
- --link-latest \
- out kernel-hwpack/linux-leg-${hwpack}/${BUILD_NUMBER}
-
- cat << EOF > lava_job_definition_parameters
- IMAGE_URL=http://snapshots.linaro.org/kernel-hwpack/linux-leg-${hwpack}/${BUILD_NUMBER}/${hwpack}-leg-sd.img.gz
- STARTUP_NSH=http://snapshots.linaro.org/kernel-hwpack/linux-leg-${hwpack}/${BUILD_NUMBER}/startup.nsh
- EOF
- - inject:
- properties-file: lava_job_definition_parameters
- - shell: |
- rm -rf configs
- git clone --depth 1 http://git.linaro.org/ci/job/configs.git
-
- sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \
- -e "s|\${BUILD_URL}|${BUILD_URL}|" \
- -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \
- -e "s|\${BL1_URL}|${BL1_URL}|" \
- -e "s|\${FIP_URL}|${FIP_URL}|" \
- -e "s|\${INITRD_URL}|${INITRD_URL}|" \
- -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \
- -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \
- -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \
- -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \
- -e "s|\${GIT_URL}|${GIT_URL}|" \
- -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \
- -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \
- < configs/linux-leg/lava-job-definitions/${DEVICE_TYPE}/template.json \
- > custom_lava_job_definition.json
-
- cat << EOF > post_build_lava_parameters
- DEVICE_TYPE=${DEVICE_TYPE}
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json
- LAVA_SERVER=${LAVA_SERVER}
- EOF
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \
- -e "s|\${BUILD_URL}|${BUILD_URL}|" \
- -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \
- -e "s|\${BL1_URL}|${BL1_URL}|" \
- -e "s|\${FIP_URL}|${FIP_URL}|" \
- -e "s|\${INITRD_URL}|${INITRD_URL}|" \
- -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \
- -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \
- -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \
- -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \
- -e "s|\${GIT_URL}|${GIT_URL}|" \
- -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \
- -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \
- < configs/linux-leg/lava-job-definitions/${DEVICE_TYPE}/template-grub-install.json \
- > custom_lava_job_definition_grub_install.json
-
- cat << EOF > post_build_lava_parameters_grub_install
- DEVICE_TYPE=${DEVICE_TYPE}
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition_grub_install.json
- LAVA_SERVER=${LAVA_SERVER}
- EOF
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters_grub_install
- block: true
- - shell: |
- sed -e "s|\${BUILD_NUMBER}|${BUILD_NUMBER}|" \
- -e "s|\${BUILD_URL}|${BUILD_URL}|" \
- -e "s|\${BUNDLE_STREAM_NAME}|${BUNDLE_STREAM_NAME}|" \
- -e "s|\${BL1_URL}|${BL1_URL}|" \
- -e "s|\${FIP_URL}|${FIP_URL}|" \
- -e "s|\${INITRD_URL}|${INITRD_URL}|" \
- -e "s|\${STARTUP_NSH}|${STARTUP_NSH}|" \
- -e "s|\${DEVICE_TYPE}|${DEVICE_TYPE}|" \
- -e "s|\${GIT_BRANCH}|${GIT_BRANCH}|" \
- -e "s|\${GIT_COMMIT}|${GIT_COMMIT}|" \
- -e "s|\${GIT_URL}|${GIT_URL}|" \
- -e "s|\${IMAGE_URL}|${IMAGE_URL}|" \
- -e "s|\${LAVA_SERVER}|${LAVA_SERVER}|" \
- < configs/linux-leg/lava-job-definitions/${DEVICE_TYPE}/template-acpi.json \
- > custom_lava_job_definition_acpi.json
-
- cat << EOF > post_build_lava_parameters_acpi
- DEVICE_TYPE=${DEVICE_TYPE}
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition_acpi.json
- LAVA_SERVER=${LAVA_SERVER}
- EOF
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters_acpi
- block: true
- publishers:
- - email:
- recipients: 'graeme.gregory@linaro.org fathi.boudra@linaro.org'
diff --git a/linux-linaro-tracking-ll-ilp32.yaml b/linux-linaro-tracking-ll-ilp32.yaml
deleted file mode 100644
index 1b2331c23..000000000
--- a/linux-linaro-tracking-ll-ilp32.yaml
+++ /dev/null
@@ -1,169 +0,0 @@
-- job:
- name: linux-linaro-tracking-ll-ilp32
- project-type: matrix
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- parameters:
- - string:
- name: BUNDLE_STREAM_NAME
- default: '/public/team/linaro/ilp32/'
- - string:
- name: DEVICE_TYPE
- default: 'juno'
- - string:
- name: LAVA_SERVER
- default: 'validation.linaro.org/RPC2/'
- disabled: true
- node: build
- child-workspace: .
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://git.linaro.org/kernel/linux-linaro-tracking.git
- refspec: +refs/heads/linux-linaro-extra:refs/remotes/origin/linux-linaro-extra
- name: origin
- branches:
- - refs/heads/linux-linaro-extra
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- axes:
- - axis:
- type: user-defined
- name: abi
- values:
- - ilp32
- - lp64
- - axis:
- type: slave
- name: label
- values:
- - docker-xenial-amd64
- execution-strategy:
- sequential: true
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- - matrix-tie-parent:
- node: build
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- rm -rf lci-build-tools
- rm -rf builddir*
- rm -rf out
- rm -f linux-*.deb
- }
-
- sudo apt-get update
- sudo apt-get install -y python-requests python-beautifulsoup python-html2text
-
- export LANG=C
- export make_bootwrapper=false
- export make_install=true
- export hwpack_type="vexpress64"
- export kernel_flavour="vexpress64"
- export use_config_fragment=1
- export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/linaro-base64.conf linaro/configs/distribution.conf linaro/configs/kvm-guest.conf linaro/configs/kvm-host.conf linaro/configs/vexpress64.conf linaro/configs/workaround.conf"
- export MAKE_DTBS=true
- export make_bootwrapper=false
- export ARCH=arm64
- export tcbindir="${HOME}/srv/toolchain/arm64-tc-14.11/bin"
- export toolchain_url="http://releases.linaro.org/14.11/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu.tar.xz"
-
- echo "# CONFIG_FTRACE is not set" > linaro/configs/workaround.conf
- [ "${abi}" = "ilp32" ] && echo "CONFIG_AARCH32_EL0=y" >> linaro/configs/workaround.conf
- [ "${abi}" = "ilp32" ] && echo "CONFIG_ARM64_ILP32=y" >> linaro/configs/workaround.conf
-
- test -d lci-build-tools || git clone --depth 1 https://git.linaro.org/ci/lci-build-tools.git
- bash -x lci-build-tools/jenkins_kernel_build_inst
-
- mv hwpack_linaro-${hwpack_type}* out/
-
- cat << EOF > out/startup.nsh
- fs3:\Image dtb=juno\juno.dtb console=ttyAMA0,115200 earlyprintk=pl011,0x7ff80000 root=/dev/sda5 rootwait rootfstype=ext4 rw verbose debug uefi_debug ignore_loglevel
- EOF
-
- # These tests seem to hang in ILP32
- cat << EOF >> out/skipfile-ilp32
- msgctl07
- msgrcv01
- msgrcv02
- msgrcv03
- msgrcv04
- msgrcv05
- msgrcv06
- msgrcv07
- msgsnd01
- EOF
-
- # Publish to snapshots
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- python ${HOME}/bin/linaro-cp.py out kernel-hwpack/linux-linaro-tracking-ll-ilp32/${abi}/${BUILD_NUMBER}
-
- KERNEL_URL="http://snapshots.linaro.org/kernel-hwpack/linux-linaro-tracking-ll-ilp32/${abi}/${BUILD_NUMBER}"
- HWPACK_BUILD_URL="${KERNEL_URL}/`ls out/hwpack_linaro-${hwpack_type}*.tar.gz |xargs basename`"
- STARTUP_NSH="${KERNEL_URL}/startup.nsh"
-
- # Create post-build-lava parameters
- cat << EOF > post_build_lava_parameters
- DEVICE_TYPE=${DEVICE_TYPE}
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json
- LAVA_SERVER=${LAVA_SERVER}
- KERNEL_URL=${KERNEL_URL}
- HWPACK_BUILD_URL=${HWPACK_BUILD_URL}
- STARTUP_NSH=${STARTUP_NSH}
- hwpack_type=${hwpack_type}
- EOF
- - inject:
- properties-file: post_build_lava_parameters
- - shell: |
- rootfs="lamp"
- export rootfs_type="lamp-armv8-gcc-4.9"
- [ "${abi}" = "ilp32" ] && {
- rootfs="minimal"
- rootfs_ext="-ltp"
- export rootfs_type="minimal-ltp-armv8-ilp32-gcc-4.9"
- img_abi="-ilp32"
- }
-
- export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-armv8${img_abi}-rootfs/gcc_version=4.9,label=build,rootfs=${rootfs}${rootfs_ext}/lastSuccessfulBuild/buildNumber`
- export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-armv8${img_abi}-rootfs/gcc_version=4.9,label=build,rootfs=${rootfs}${rootfs_ext}/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd`
- export ROOTFS_BUILD_URL="http://snapshots.linaro.org/openembedded/images/${rootfs_type}/${ROOTFS_BUILD_NUMBER}/linaro-image-${rootfs}${rootfs_ext}-genericarmv8${img_abi}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.rootfs.tar.gz"
-
- rm -rf configs lci-build-tools
- git clone --depth 1 http://git.linaro.org/ci/lci-build-tools.git
- git clone --depth 1 http://git.linaro.org/ci/job/configs.git
- ./lci-build-tools/yaml-to-json.py configs/linux-linaro-tracking-ll-ilp32/lava-job-definitions/${DEVICE_TYPE}/template-efi.yaml > custom_lava_job_definition.json
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- publishers:
- - email:
- recipients: 'andrey.konovalov@linaro.org fathi.boudra@linaro.org'
diff --git a/linux-linaro-tracking-ll.yaml b/linux-linaro-tracking-ll.yaml
deleted file mode 100644
index e0c15ebce..000000000
--- a/linux-linaro-tracking-ll.yaml
+++ /dev/null
@@ -1,270 +0,0 @@
-- job:
- name: linux-linaro-tracking-ll
- project-type: matrix
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- parameters:
- - string:
- name: BUNDLE_STREAM_NAME
- default: '/private/team/linaro/ci-linux-linaro-tracking-ll/'
- - string:
- name: LAVA_SERVER
- default: 'validation.linaro.org/RPC2/'
- disabled: true
- node: build
- child-workspace: .
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://git.linaro.org/kernel/linux-linaro-tracking.git
- refspec: +refs/heads/linux-linaro:refs/remotes/origin/linux-linaro
- name: origin
- branches:
- - refs/heads/linux-linaro
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- axes:
- - axis:
- type: user-defined
- name: hwpack
- values:
- - arndale
- - arndale-octa
- - arndale-uprobes
- - beaglebone
- - beaglebone-uprobes
- - ifc6410
- - panda
- - vexpress
- - vexpress64
- - axis:
- type: slave
- name: label
- values:
- - build
- execution-strategy:
- sequential: true
- wrappers:
- - timestamps
- - copy-to-slave:
- includes:
- - gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
- - gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- - matrix-tie-parent:
- node: build
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- rm -rf builddir*
- rm -rf out
- rm -f hwpack_linaro-* linux-*.deb
- }
-
- export LANG=C
- CCACHE_DIR="$HOME/ccache"
- CCACHE_UNIFY=1
- CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros
- export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS
- export use_ccache=true
- export use_config_fragment=1
- export MAKE_DTBS=true
- export make_bootwrapper=false
- export toolchain_url="http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz"
-
- case "${hwpack}" in
- arndale)
- export hwpack_type="arndale"
- export board_types="arndale"
- export kernel_flavour="arndale"
- export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/kvm-host.conf linaro/configs/xen.conf linaro/configs/arndale.conf"
- export DEVICE_TYPE="arndale"
- ;;
- arndale-octa)
- export hwpack_type="arndale-octa"
- export board_types="arndale-octa"
- export kernel_flavour="arndale-octa"
- export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/arndale_octa.conf"
- export DEVICE_TYPE="arndale-octa"
- ;;
- arndale-uprobes)
- export hwpack_type="arndale"
- export board_types="arndale"
- export kernel_flavour="arndale"
- export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/kvm-host.conf linaro/configs/xen.conf linaro/configs/uprobes.conf linaro/configs/arndale.conf"
- export DEVICE_TYPE="arndale"
- ;;
- beaglebone)
- export hwpack_type="beaglebone"
- export board_types="beaglebone-black"
- export kernel_flavour="am335x"
- export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/multi_v7.conf linaro/configs/beaglebone.conf"
- export DEVICE_TYPE="beaglebone-black"
- ;;
- beaglebone-uprobes)
- export hwpack_type="beaglebone"
- export board_types="beaglebone-black"
- export kernel_flavour="am335x"
- export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/uprobes.conf linaro/configs/multi_v7.conf linaro/configs/beaglebone.conf"
- export DEVICE_TYPE="beaglebone-black"
- ;;
- ifc6410)
- export kernel_flavour="ifc6410"
- export conf_filenames="arch/arm/configs/qcom_defconfig linaro/configs/linaro-base.conf linaro/configs/distribution.conf"
- export DEVICE_TYPE="ifc6410"
- ;;
- panda)
- export hwpack_type="panda"
- export board_types="panda-es"
- export kernel_flavour="omap"
- export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/omap2plus.conf linaro/configs/panda.conf"
- export DEVICE_TYPE="panda-es"
- ;;
- vexpress)
- export hwpack_type="vexpress"
- export board_types="vexpress-tc2"
- export kernel_flavour="vexpress"
- export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/kvm-guest.conf linaro/configs/xen.conf linaro/configs/big-LITTLE-IKS.conf linaro/configs/vexpress.conf"
- export DEVICE_TYPE="vexpress-tc2"
- ;;
- vexpress64)
- export hwpack_type="vexpress64"
- export board_types="rtsm_fvp_base-aemv8a"
- export kernel_flavour="vexpress64"
- export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/linaro-base64.conf linaro/configs/distribution.conf linaro/configs/kvm-guest.conf linaro/configs/kvm-host.conf linaro/configs/audit.conf linaro/configs/vexpress64.conf linaro/configs/workaround.conf"
- export DEVICE_TYPE="rtsm_fvp_base-aemv8a"
- export ARCH="arm64"
- export toolchain_url="http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz"
- cat << EOF > startup.nsh
- fs3:\Image dtb=juno\juno.dtb console=ttyAMA0,115200 earlyprintk=pl011,0x7ff80000 root=/dev/sda5 rootwait rootfstype=ext4 rw verbose debug uefi_debug ignore_loglevel
- EOF
- cat << EOF > linaro/configs/workaround.conf
- CONFIG_PREEMPT=y
- # CONFIG_DEBUG_PREEMPT is not set
- EOF
- ;;
- esac
-
- rm -rf configs lci-build-tools
- git clone --depth 1 http://git.linaro.org/ci/lci-build-tools.git
- git clone --depth 1 http://git.linaro.org/ci/job/configs.git
- bash -x lci-build-tools/jenkins_kernel_build_inst
-
- mkdir -p out
- rm -rf artifacts
- mkdir artifacts
- [ "${hwpack}" = "arndale-uprobes" ] && python linaro-image-tools/linaro-hwpack-replace -t `ls hwpack_linaro-arndale_*_armhf_supported.tar.gz` -p `ls linux-headers-*-linaro-arndale_*.deb` -r linux-headers -d -i
- [ "${hwpack}" = "beaglebone-uprobes" ] && python linaro-image-tools/linaro-hwpack-replace -t `ls hwpack_linaro-beaglebone_*_armhf_supported.tar.gz` -p `ls linux-headers-*-linaro-am335x_*.deb` -r linux-headers -d -i
- [ "${hwpack}" = "ifc6410" ] && {
- cp -a *.deb out/
- cat builddir-*-${kernel_flavour}/arch/arm/boot/zImage builddir-*-${kernel_flavour}/arch/arm/boot/dts/qcom-apq8064-ifc6410.dtb > out/zImage_ifc6410
- cp -a linux-[ih]*-linaro-ifc6410_*.deb out/zImage_ifc6410 artifacts/
- }
- [ "${hwpack}" = "vexpress64" ] && mv startup.nsh out/
- [ "${hwpack}" = "vexpress64" ] && cp -a builddir-*-${kernel_flavour}/.config kernel.config
- cp -a builddir-*-${kernel_flavour}/.config out/kernel_config_${kernel_flavour}
- [ "${hwpack}" != "ifc6410" ] && mv hwpack_linaro-${hwpack_type}* out/
-
- ${HOME}/bin/linaro-cp --api_version 3 out kernel-hwpack/linux-linaro-tracking-ll/${hwpack}/${BUILD_NUMBER}
-
- CCACHE_DIR=${CCACHE_DIR} ccache -M 20G
- CCACHE_DIR=${CCACHE_DIR} ccache -s
-
- KERNEL_URL="http://snapshots.linaro.org/kernel-hwpack/linux-linaro-tracking-ll/${hwpack}/${BUILD_NUMBER}"
- [ "${hwpack}" != "ifc6410" ] && HWPACK_BUILD_URL="${KERNEL_URL}/`ls out/hwpack_linaro-${hwpack_type}*.tar.gz |xargs basename`"
- STARTUP_NSH="${KERNEL_URL}/startup.nsh"
-
- # Create post-build-lava parameters
- cat << EOF > post_build_lava_parameters
- DEVICE_TYPE=${DEVICE_TYPE}
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json
- LAVA_SERVER=${LAVA_SERVER}
- HWPACK_BUILD_URL=${HWPACK_BUILD_URL}
- STARTUP_NSH=${STARTUP_NSH}
- hwpack_type=${hwpack_type}
- EOF
- - inject:
- properties-file: post_build_lava_parameters
- - shell: |
- case "${hwpack}" in
- arndale|beaglebone|panda|vexpress)
- # Get rootfs URL
- export ROOTFS_BUILD_NUMBER=704
- export ROOTFS_BUILD_URL="http://releases.linaro.org/15.05/ubuntu/vivid-images/developer/linaro-vivid-developer-20150522-704.tar.gz"
-
- ./lci-build-tools/yaml-to-json.py configs/linux-linaro-tracking-ll/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json
- ;;
- vexpress64)
- # Get rootfs URL
- export ROOTFS_BUILD_NUMBER=752
- export ROOTFS_BUILD_URL="http://releases.linaro.org/15.05/openembedded/images/lamp-armv8/linaro-image-lamp-genericarmv8-20150522-752.rootfs.tar.gz"
-
- ./lci-build-tools/yaml-to-json.py configs/linux-linaro-tracking-ll/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json
- ;;
- arndale-octa|arndale-uprobes|beaglebone-uprobes|ifc6410)
- echo "Skip"
- cat << EOF > post_build_lava_parameters
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json
- LAVA_SERVER=${LAVA_SERVER}
- EOF
- ;;
- esac
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - conditional-step:
- condition-kind: strings-match
- condition-string1: '${ENV,var="hwpack"}'
- condition-string2: 'vexpress64'
- steps:
- - shell: |
- DEVICE_TYPE=juno
-
- # Get rootfs URL
- export ROOTFS_BUILD_NUMBER=752
- export ROOTFS_BUILD_URL="http://releases.linaro.org/15.05/openembedded/images/lamp-armv8/linaro-image-lamp-genericarmv8-20150522-752.rootfs.tar.gz"
-
- if grep -Fxq 'CONFIG_EFI=y' kernel.config; then
- ./lci-build-tools/yaml-to-json.py configs/linux-linaro-tracking-ll/lava-job-definitions/${DEVICE_TYPE}/template-efi.yaml > custom_lava_job_definition.json
- else
- ./lci-build-tools/yaml-to-json.py configs/linux-linaro-tracking-ll/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json
- fi
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- publishers:
- - archive:
- artifacts: 'artifacts/*'
- allow-empty: true
- - email-ext:
- recipients: 'andrey.konovalov@linaro.org, fathi.boudra@linaro.org'
- attach-build-log: true
- matrix-trigger: both
diff --git a/linux-linaro-tracking-llct.yaml b/linux-linaro-tracking-llct.yaml
deleted file mode 100644
index bd332296d..000000000
--- a/linux-linaro-tracking-llct.yaml
+++ /dev/null
@@ -1,212 +0,0 @@
-- job:
- name: linux-linaro-tracking-llct
- project-type: matrix
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- parameters:
- - string:
- name: BUNDLE_STREAM_NAME
- default: '/private/team/linaro/ci-linux-linaro-tracking-llct/'
- - string:
- name: LAVA_SERVER
- default: 'validation.linaro.org/RPC2/'
- disabled: true
- node: build
- child-workspace: .
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://git.linaro.org/kernel/linux-linaro-tracking.git
- refspec: +refs/heads/linux-linaro-core-tracking:refs/remotes/origin/linux-linaro-core-tracking
- name: origin
- branches:
- - refs/heads/linux-linaro-core-tracking
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- axes:
- - axis:
- type: user-defined
- name: hwpack
- values:
- - arndale
- - beaglebone
- - panda
- - vexpress64
- - axis:
- type: slave
- name: label
- values:
- - build
- execution-strategy:
- sequential: true
- wrappers:
- - timestamps
- - copy-to-slave:
- includes:
- - gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
- - gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- - matrix-tie-parent:
- node: build
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- rm -rf builddir*
- rm -rf out
- rm -f hwpack_linaro-* linux-*.deb
- }
-
- export LANG=C
- CCACHE_DIR="$HOME/ccache"
- CCACHE_UNIFY=1
- CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros
- export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS
- export use_ccache=true
- export use_config_fragment=1
- export MAKE_DTBS=true
- export make_bootwrapper=false
- export toolchain_url="http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz"
-
- case "${hwpack}" in
- arndale)
- export hwpack_type="arndale"
- export board_types="arndale"
- export kernel_flavour="arndale"
- export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/kvm-host.conf linaro/configs/xen.conf linaro/configs/arndale.conf"
- export DEVICE_TYPE="arndale"
- ;;
- beaglebone)
- export hwpack_type="beaglebone"
- export board_types="beaglebone-black"
- export kernel_flavour="am335x"
- export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/multi_v7.conf linaro/configs/beaglebone.conf"
- export DEVICE_TYPE="beaglebone-black"
- ;;
- panda)
- export hwpack_type="panda"
- export board_types="panda-es"
- export kernel_flavour="omap"
- export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/omap2plus.conf linaro/configs/panda.conf"
- export DEVICE_TYPE="panda-es"
- ;;
- vexpress64)
- export hwpack_type="vexpress64"
- export board_types="rtsm_fvp_base-aemv8a"
- export kernel_flavour="vexpress64"
- export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/linaro-base64.conf linaro/configs/distribution.conf linaro/configs/kvm-guest.conf linaro/configs/kvm-host.conf linaro/configs/audit.conf linaro/configs/vexpress64.conf linaro/configs/workaround.conf"
- export DEVICE_TYPE="rtsm_fvp_base-aemv8a"
- export ARCH="arm64"
- export toolchain_url="http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz"
- cat << EOF > startup.nsh
- fs3:\Image dtb=juno\juno.dtb console=ttyAMA0,115200 earlyprintk=pl011,0x7ff80000 root=/dev/sda5 rootwait rootfstype=ext4 rw verbose debug uefi_debug ignore_loglevel
- EOF
- cat << EOF > linaro/configs/workaround.conf
- CONFIG_PREEMPT=y
- # CONFIG_DEBUG_PREEMPT is not set
- EOF
- ;;
- esac
-
- rm -rf configs lci-build-tools
- git clone --depth 1 http://git.linaro.org/ci/lci-build-tools.git
- git clone --depth 1 http://git.linaro.org/ci/job/configs.git
- bash -x lci-build-tools/jenkins_kernel_build_inst
-
- mkdir -p out
- [ "${hwpack}" = "vexpress64" ] && mv startup.nsh out/
- [ "${hwpack}" = "vexpress64" ] && cp -a builddir-*-${kernel_flavour}/.config kernel.config
- cp -a builddir-*-${kernel_flavour}/.config out/kernel_config_${kernel_flavour}
- mv hwpack_linaro-${hwpack_type}* out/
-
- ${HOME}/bin/linaro-cp --api_version 3 out kernel-hwpack/linux-linaro-tracking-llct/${hwpack}/${BUILD_NUMBER}
-
- CCACHE_DIR=${CCACHE_DIR} ccache -M 20G
- CCACHE_DIR=${CCACHE_DIR} ccache -s
-
- KERNEL_URL="http://snapshots.linaro.org/kernel-hwpack/linux-linaro-tracking-llct/${hwpack}/${BUILD_NUMBER}"
- HWPACK_BUILD_URL="${KERNEL_URL}/`ls out/hwpack_linaro-${hwpack_type}*.tar.gz |xargs basename`"
- STARTUP_NSH="${KERNEL_URL}/startup.nsh"
-
- # Create post-build-lava parameters
- cat << EOF > post_build_lava_parameters
- DEVICE_TYPE=${DEVICE_TYPE}
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json
- LAVA_SERVER=${LAVA_SERVER}
- HWPACK_BUILD_URL=${HWPACK_BUILD_URL}
- STARTUP_NSH=${STARTUP_NSH}
- hwpack_type=${hwpack_type}
- EOF
- - inject:
- properties-file: post_build_lava_parameters
- - shell: |
- case "${hwpack}" in
- arndale|beaglebone|panda)
- # Get rootfs URL
- export ROOTFS_BUILD_NUMBER=704
- export ROOTFS_BUILD_URL="http://releases.linaro.org/15.05/ubuntu/vivid-images/developer/linaro-vivid-developer-20150522-704.tar.gz"
-
- ./lci-build-tools/yaml-to-json.py configs/linux-linaro-tracking-llct/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json
- ;;
- vexpress64)
- # Get rootfs URL
- export ROOTFS_BUILD_NUMBER=752
- export ROOTFS_BUILD_URL="http://releases.linaro.org/15.05/openembedded/images/lamp-armv8/linaro-image-lamp-genericarmv8-20150522-752.rootfs.tar.gz"
-
- ./lci-build-tools/yaml-to-json.py configs/linux-linaro-tracking-llct/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json
- ;;
- esac
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - conditional-step:
- condition-kind: strings-match
- condition-string1: '${ENV,var="hwpack"}'
- condition-string2: 'vexpress64'
- steps:
- - shell: |
- DEVICE_TYPE=juno
-
- # Get rootfs URL
- export ROOTFS_BUILD_NUMBER=752
- export ROOTFS_BUILD_URL="http://releases.linaro.org/15.05/openembedded/images/lamp-armv8/linaro-image-lamp-genericarmv8-20150522-752.rootfs.tar.gz"
-
- if grep -Fxq 'CONFIG_EFI=y' kernel.config; then
- ./lci-build-tools/yaml-to-json.py configs/linux-linaro-tracking-llct/lava-job-definitions/${DEVICE_TYPE}/template-efi.yaml > custom_lava_job_definition.json
- else
- ./lci-build-tools/yaml-to-json.py configs/linux-linaro-tracking-llct/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json
- fi
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- publishers:
- - email-ext:
- recipients: 'andrey.konovalov@linaro.org, fathi.boudra@linaro.org'
- attach-build-log: true
- matrix-trigger: both
diff --git a/linux-linaro-tracking-mainline-ilp32.yaml b/linux-linaro-tracking-mainline-ilp32.yaml
deleted file mode 100644
index ecc70e25e..000000000
--- a/linux-linaro-tracking-mainline-ilp32.yaml
+++ /dev/null
@@ -1,174 +0,0 @@
-- job:
- name: linux-linaro-tracking-mainline-ilp32
- project-type: matrix
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- parameters:
- - string:
- name: BUNDLE_STREAM_NAME
- default: '/public/team/linaro/ilp32/'
- - string:
- name: DEVICE_TYPE
- default: 'juno'
- - string:
- name: LAVA_SERVER
- default: 'validation.linaro.org/RPC2/'
- disabled: true
- node: build
- child-workspace: .
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://git.linaro.org/people/andrey.konovalov/linux-linaro-tracking.git
- refspec: +refs/heads/ILP32-patchset-v6-2015.11.18:refs/remotes/origin/ILP32-patchset-v6-2015.11.18
- name: origin
- branches:
- - refs/heads/ILP32-patchset-v6-2015.11.18
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- axes:
- - axis:
- type: user-defined
- name: abi
- values:
- - ilp32
- - lp64
- - axis:
- type: slave
- name: label
- values:
- - docker-xenial-amd64
- execution-strategy:
- sequential: true
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- - matrix-tie-parent:
- node: build
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- rm -rf lci-build-tools
- rm -rf linaro
- rm -rf linaro-configs
- rm -rf builddir*
- rm -rf out
- rm -f linux-*.deb
- }
-
- sudo apt-get update
- sudo apt-get install -y python-requests python-beautifulsoup python-html2text
-
- export LANG=C
- export make_bootwrapper=false
- export make_install=true
- export hwpack_type="vexpress64"
- export kernel_flavour="vexpress64"
- export use_config_fragment=1
- export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/linaro-base64.conf linaro/configs/distribution.conf linaro/configs/kvm-guest.conf linaro/configs/kvm-host.conf linaro/configs/vexpress64.conf linaro/configs/workaround.conf"
- export MAKE_DTBS=true
- export make_bootwrapper=false
- export ARCH=arm64
- export tcbindir="${HOME}/srv/toolchain/arm64-tc-14.11/bin"
- export toolchain_url="http://releases.linaro.org/14.11/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu.tar.xz"
-
- test -d linaro-configs || git clone -b config-tracking --depth 1 https://git.linaro.org/kernel/configs.git linaro-configs
- test -h linaro || ln -s linaro-configs/linaro
-
- echo "# CONFIG_FTRACE is not set" > linaro/configs/workaround.conf
- [ "${abi}" = "ilp32" ] && echo "CONFIG_AARCH32_EL0=y" >> linaro/configs/workaround.conf
- [ "${abi}" = "ilp32" ] && echo "CONFIG_ARM64_ILP32=y" >> linaro/configs/workaround.conf
-
- test -d lci-build-tools || git clone --depth 1 https://git.linaro.org/ci/lci-build-tools.git
- bash -x lci-build-tools/jenkins_kernel_build_inst
-
- mv hwpack_linaro-${hwpack_type}* out/
-
- cat << EOF > out/startup.nsh
- fs3:\Image dtb=juno\juno.dtb console=ttyAMA0,115200 earlyprintk=pl011,0x7ff80000 root=/dev/sda5 rootwait rootfstype=ext4 rw verbose debug uefi_debug ignore_loglevel
- EOF
-
- # These tests seem to hang in ILP32
- cat << EOF >> out/skipfile-ilp32
- msgctl07
- msgrcv01
- msgrcv02
- msgrcv03
- msgrcv04
- msgrcv05
- msgrcv06
- msgrcv07
- msgsnd01
- EOF
-
- # Publish to snapshots
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- python ${HOME}/bin/linaro-cp.py out kernel-hwpack/linux-linaro-tracking-mainline-ilp32/${abi}/${BUILD_NUMBER}
-
- KERNEL_URL="http://snapshots.linaro.org/kernel-hwpack/linux-linaro-tracking-mainline-ilp32/${abi}/${BUILD_NUMBER}"
- HWPACK_BUILD_URL="${KERNEL_URL}/`ls out/hwpack_linaro-${hwpack_type}*.tar.gz |xargs basename`"
- STARTUP_NSH="${KERNEL_URL}/startup.nsh"
-
- # Create post-build-lava parameters
- cat << EOF > post_build_lava_parameters
- DEVICE_TYPE=${DEVICE_TYPE}
- BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME}
- CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json
- LAVA_SERVER=${LAVA_SERVER}
- KERNEL_URL=${KERNEL_URL}
- HWPACK_BUILD_URL=${HWPACK_BUILD_URL}
- STARTUP_NSH=${STARTUP_NSH}
- hwpack_type=${hwpack_type}
- EOF
- - inject:
- properties-file: post_build_lava_parameters
- - shell: |
- rootfs="lamp"
- export rootfs_type="lamp-armv8-gcc-4.9"
- [ "${abi}" = "ilp32" ] && {
- rootfs="minimal"
- rootfs_ext="-ltp"
- export rootfs_type="minimal-ltp-armv8-ilp32-gcc-4.9"
- img_abi="-ilp32"
- }
-
- export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-armv8${img_abi}-rootfs/gcc_version=4.9,label=build,rootfs=${rootfs}${rootfs_ext}/lastSuccessfulBuild/buildNumber`
- export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-armv8${img_abi}-rootfs/gcc_version=4.9,label=build,rootfs=${rootfs}${rootfs_ext}/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd`
- export ROOTFS_BUILD_URL="http://snapshots.linaro.org/openembedded/images/${rootfs_type}/${ROOTFS_BUILD_NUMBER}/linaro-image-${rootfs}${rootfs_ext}-genericarmv8${img_abi}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.rootfs.tar.gz"
-
- rm -rf configs lci-build-tools
- git clone --depth 1 http://git.linaro.org/ci/lci-build-tools.git
- git clone --depth 1 http://git.linaro.org/ci/job/configs.git
- ./lci-build-tools/yaml-to-json.py configs/linux-linaro-tracking-mainline-ilp32/lava-job-definitions/${DEVICE_TYPE}/template-efi.yaml > custom_lava_job_definition.json
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- publishers:
- - email:
- recipients: 'andrey.konovalov@linaro.org'
diff --git a/linux-xen.yaml b/linux-xen.yaml
deleted file mode 100644
index 40c6762ce..000000000
--- a/linux-xen.yaml
+++ /dev/null
@@ -1,58 +0,0 @@
-- job:
- name: linux-xen
- project-type: matrix
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- disabled: true
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: hwpack
- values:
- - arndale
- - mustang
- - axis:
- type: slave
- name: label
- values:
- - docker-jessie-amd64
- triggers:
- - timed: 'H(0-30) H(12) * * *'
- wrappers:
- - timestamps
- - matrix-tie-parent:
- node: master
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash -e
- rm -rf xen-ci
- git clone git://git.linaro.org/ci/xen-ci.git xen-ci
-
- bash ./xen-ci/jenkins/xen-image
- # Publish
- mkdir -p out/
- mv xenlava-${hwpack}.img.xz xenlava-${hwpack}.tar.xz *.dtb Image* uXen* out/||true
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- python ${HOME}/bin/linaro-cp.py --api_version 3 --link-latest out ubuntu/images/xen/${hwpack}/${BUILD_NUMBER}/
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- publishers:
- - email:
- recipients: 'riku.voipio@linaro.org'
diff --git a/lkft-ssh-testrunner.yaml b/lkft-ssh-testrunner.yaml
deleted file mode 100644
index cd8b62523..000000000
--- a/lkft-ssh-testrunner.yaml
+++ /dev/null
@@ -1,116 +0,0 @@
-- job:
- name: lkft-ssh-testrunner
- project-type: matrix
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 30
- artifact-num-to-keep: 1
- disabled: true
- node: master
- display-name: 'DELETE ME'
- triggers:
- # run at noon every day
- - timed: 'H 12 * * *'
- axes:
- - axis:
- type: user-defined
- name: BUILD_NAME
- values:
- - '4.4'
- - '4.9'
- - 'linux-lt-4.4'
- - 'linux-lts-4.4'
- - 'linux-next'
- - 'linux-mainline'
- - 'linux-stable-4.9'
- - 'linux-stable-rc-4.9'
- - axis:
- type: user-defined
- name: QA_SERVER
- values:
- #- 'https://qa-reports.linaro.org'
- - 'https://staging-qa-reports.linaro.org'
- - axis:
- type: user-defined
- name: LAVA_SERVER
- values:
- - 'https://lkft.validation.linaro.org/RPC2/'
- - axis:
- type: user-defined
- name: DEVICE_TYPE
- values:
- - 'hi6220-hikey'
- execution-strategy:
- sequential: false
- wrappers:
- - timestamps
- - ssh-agent-credentials:
- users:
- - 'OE_COMMIT_BOT_KEY'
- - credentials-binding:
- - text:
- credential-id: QA_REPORTS_TOKEN
- variable: QA_REPORTS_TOKEN
- builders:
- - shell: |
- #!/bin/bash
-
- export SNAPSHOTS_BASE_URL="http://snapshots.linaro.org/openembedded/lkft/morty/hikey/rpb/${BUILD_NAME}/latest/"
-
- MD5_FILENAME="MD5SUMS.txt"
- wget -O "${MD5_FILENAME}" "${SNAPSHOTS_BASE_URL}${MD5_FILENAME}"
- ROOTFS_FILENAME=$(grep -E "rpb-console-image-hikey-[0-9]{14}-[0-9]+\.rootfs\.img\.gz" "${MD5_FILENAME}" | awk '{print $2}')
- OE_BUILD_NUMBER="$(echo "${ROOTFS_FILENAME}" | awk -F'-' '{print $NF}' | awk -F'.' '{print $1}')"
- export SNAPSHOTS_BASE_URL="http://snapshots.linaro.org/openembedded/lkft/morty/hikey/rpb/${BUILD_NAME}/${OE_BUILD_NUMBER}/"
- BOOT_FILENAME=$(grep -E "boot\S*uefi\.img" "${MD5_FILENAME}" | awk '{print $2}')
- export BOOT_URL="${SNAPSHOTS_BASE_URL}${BOOT_FILENAME}"
- export SYSTEM_URL="${SNAPSHOTS_BASE_URL}${ROOTFS_FILENAME}"
- export KERNEL_BRANCH="lkft-lava-staging-${BUILD_NAME}"
- export KERNEL_VERSION="lkft-lava-staging-${BUILD_NAME}"
- export KERNEL_REPO="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/"
- export KERNEL_COMMIT="lkft-lava-staging-${BUILD_NUMBER}"
- export KERNEL_DESCRIBE="Kernel Describe"
- export KERNEL_CONFIG_URL="${SNAPSHOTS_BASE_URL}/defconfig"
- export KSELFTESTS_MAINLINE_URL="kselftest_url"
- export KSELFTESTS_MAINLINE_VERSION="kselftest_version"
- export LTP_URL="ltp_url"
- export LTP_VERSION="ltp_version"
- export LTP_REVISION="ltp_revision"
- export LIBHUGETLBFS_URL="libhugetlbfs_url"
- export LIBHUGETLBFS_VERSION="libhugetlbfs_version"
- export LIBHUGETLBFS_REVISION="libhugetlbfs_revision"
- export MAKE_KERNELVERSION="make_kernelversion"
-
- rm -rf configs
- git clone --depth 1 http://git.linaro.org/ci/job/configs.git
-
- python configs/lkft-ssh-testrunner/submit_for_testing.py \
- --device-type ${DEVICE_TYPE} \
- --build-number ${BUILD_NUMBER} \
- --lava-server ${LAVA_SERVER} \
- --qa-server ${QA_SERVER} \
- --qa-server-team staging-lkft-ssh \
- --qa-server-project ${BUILD_NAME} \
- --git-commit ${BUILD_NUMBER} \
- --template-path configs/lkft-ssh-testrunner/lava-job-definitions \
- --template-names template-kselftest.yaml template-ltp.yaml template-libhugetlbfs.yaml
- publishers:
- - groovy-postbuild:
- script:
- !include-raw: openembedded-lkft/postbuild.groovy
- - email-ext:
- recipients: 'milosz.wasilewski@linaro.org'
- always: true
- matrix-trigger: only-parent
diff --git a/ltp-upstream.yaml b/ltp-upstream.yaml
deleted file mode 100644
index ce2304a85..000000000
--- a/ltp-upstream.yaml
+++ /dev/null
@@ -1,123 +0,0 @@
-- job:
- name: ltp-upstream
- project-type: matrix
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 30
- artifact-num-to-keep: 1
- parameters:
- - string:
- name: SRCREV_ltp
- - string:
- name: IMAGES
- default: 'rpb-console-image'
- - string:
- name: IMAGES_RPB
- default: ''
- - string:
- name: IMAGES_RPB_WAYLAND
- default: ''
- - string:
- name: MANIFEST_URL
- default: 'https://github.com/96boards/oe-rpb-manifest.git'
- - string:
- name: MANIFEST_BRANCH
- default: 'lkft/rocko'
- - string:
- name: BASE_URL
- default: 'http://snapshots.linaro.org/'
- - string:
- name: PUB_DEST
- default: 'openembedded/ltp/${MANIFEST_BRANCH}/${MACHINE}/${BUILD_NUMBER}/${DISTRO}'
- - string:
- name: LAVA_SERVER
- default: 'validation.linaro.org/RPC2/'
- - string:
- name: QA_SERVER
- default: 'https://qa-reports.linaro.org'
- - string:
- name: QA_SERVER_PROJECT
- default: 'rpb-oe'
- - string:
- name: QA_SERVER_TEAM
- default: 'rpb'
- disabled: true
- node: master
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: MACHINE
- values:
- - 'hikey'
- - axis:
- type: user-defined
- name: DISTRO
- values:
- - lkft
- - axis:
- type: slave
- name: label
- values:
- - docker-stretch-amd64
- execution-strategy:
- sequential: false
- wrappers:
- - timestamps
- - ssh-agent-credentials:
- users:
- - 'OE_COMMIT_BOT_KEY'
- - credentials-binding:
- - text:
- credential-id: QA_REPORTS_TOKEN
- variable: QA_REPORTS_TOKEN
- builders:
- - shell: |
- #!/bin/bash
-
- # Mapping for MACHINE -> DEVICE_TYPE
- case "${MACHINE}" in
- hikey)
- DEVICE_TYPE=hi6220-hikey
- ;;
- *)
- echo "Skip DEVICE_TYPE for ${MACHINE}"
- ;;
- esac
-
- echo "DEVICE_TYPE=${DEVICE_TYPE}" > device_type_parameters
- - inject:
- properties-file: device_type_parameters
- - shell:
- !include-raw: rpb-openembedded/builders-ltp.sh
- - inject:
- properties-file: post_build_lava_parameters
- - linaro-publish-token
- - shell:
- !include-raw: rpb-openembedded/publishers.sh
-# - shell:
-# !include-raw: rpb-openembedded/submit_for_testing.sh
- publishers:
- - groovy-postbuild:
- script:
- !include-raw:
- - openembedded-lkft/postbuild.groovy
-# We can only archive files that are located in the workspace
-# - archive:
-# artifacts: 'build/tmp-*glibc/deploy/images/${MACHINE}/*'
- - email-ext:
- recipients: 'fathi.boudra@linaro.org'
- always: true
- matrix-trigger: only-parent
diff --git a/ofp-perf-tests.yaml b/ofp-perf-tests.yaml
deleted file mode 100644
index 01ad9b0b3..000000000
--- a/ofp-perf-tests.yaml
+++ /dev/null
@@ -1,71 +0,0 @@
-- job:
- name: ofp-perf-tests
- project-type: freestyle
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 30
- artifact-num-to-keep: 30
- parameters:
- - string:
- name: LAVA_SERVER
- default: 'lng.validation.linaro.org/RPC2/'
- disabled: true
- node: master
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- builders:
- - shell: |
- #!/bin/bash -e
-
- rm -rf ofp_ci
- git clone --depth 1 http://git.linaro.org/lng/ofp_ci.git
-
- cat << EOF > ofp_fpm_burstmode_x86_dpdk_4_cores
- CUSTOM_YAML_URL=${JOB_URL}/ws/ofp_ci/ofp_fpm_burstmode/ofp_fpm_burstmode_x86_dpdk_4_cores.yaml
- DEVICE_TYPE=x86
- LAVA_SERVER=${LAVA_SERVER}
- EOF
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: ofp_fpm_burstmode_x86_dpdk_4_cores
- block: true
- - shell: |
- #!/bin/bash -e
-
- cat << EOF > ofp_udp_fwd_socket_x86_dpdk_2_cores
- CUSTOM_YAML_URL=${JOB_URL}/ws/ofp_ci/ofp_udp_fwd_socket/ofp_udp_fwd_socket_x86_dpdk_2_cores.yaml
- DEVICE_TYPE=x86
- LAVA_SERVER=${LAVA_SERVER}
- EOF
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: ofp_udp_fwd_socket_x86_dpdk_2_cores
- block: true
- - shell: |
- #!/bin/bash -e
-
- cat << EOF > ofp_webserver2_x86_dpdk_4_cores_direct_rss
- CUSTOM_YAML_URL=${JOB_URL}/ws/ofp_ci/ofp_webserver2/ofp_webserver2_x86_dpdk_4_cores_direct_rss.yaml
- DEVICE_TYPE=x86
- LAVA_SERVER=${LAVA_SERVER}
- EOF
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: ofp_webserver2_x86_dpdk_4_cores_direct_rss
- block: true
- publishers:
- - email:
- recipients: 'fathi.boudra@linaro.org bogdan.pricope@linaro.org'
diff --git a/openembedded-lkft-aosp-4.14.yaml b/openembedded-lkft-aosp-4.14.yaml
deleted file mode 100644
index c4db07f6e..000000000
--- a/openembedded-lkft-aosp-4.14.yaml
+++ /dev/null
@@ -1,151 +0,0 @@
-- job:
- name: openembedded-lkft-aosp-4.14
- project-type: matrix
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 30
- artifact-num-to-keep: 1
- parameters:
- - string:
- name: KERNEL_BRANCH
- default: 'android-hikey-linaro-4.14'
- - string:
- name: KERNEL_VERSION
- default: '4.14'
- - string:
- name: KERNEL_RECIPE
- default: 'linux-hikey-aosp'
- - string:
- name: KERNEL_REPO
- default: 'https://android.googlesource.com/kernel/hikey-linaro'
- - string:
- name: KERNEL_DESCRIBE
- - string:
- name: SRCREV_kernel
- - string:
- name: MAKE_KERNELVERSION
- - string:
- name: IMAGES
- default: 'rpb-console-image'
- - string:
- name: MANIFEST_BRANCH
- default: 'morty'
- - string:
- name: PUB_DEST
- default: 'openembedded/lkft/${MANIFEST_BRANCH}/${MACHINE}/${DISTRO}/${KERNEL_VERSION}/${BUILD_NUMBER}'
- - string:
- name: LAVA_SERVER
- default: 'https://lkft.validation.linaro.org/RPC2/'
- - string:
- name: QA_SERVER
- default: 'https://qa-reports.linaro.org'
- - string:
- name: QA_SERVER_PROJECT
- default: 'android-hikey-linaro-4.14-oe'
- - string:
- name: QA_SERVER_TEAM
- default: 'android-lkft'
- - string:
- name: SKIP_LAVA
- default: ''
- - string:
- name: LAVA_JOB_PRIORITY
- default: 'medium'
- disabled: true
- node: master
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: MACHINE
- values:
-# - 'am57xx-evm'
- - 'hikey'
-# - 'intel-core2-32'
- - axis:
- type: user-defined
- name: DISTRO
- values:
- - rpb
- - axis:
- type: slave
- name: label
- values:
- - docker-stretch-amd64
- execution-strategy:
- sequential: false
- wrappers:
- - timeout:
- timeout: 180
- - timestamps
- - ssh-agent-credentials:
- users:
- - 'OE_COMMIT_BOT_KEY'
- - credentials-binding:
- - text:
- credential-id: QA_REPORTS_TOKEN
- variable: QA_REPORTS_TOKEN
- builders:
- - shell: |
- #!/bin/bash
-
- # Mapping for MACHINE -> DEVICE_TYPE
- case "${MACHINE}" in
- hikey)
- DEVICE_TYPE=hi6220-hikey
- ;;
- intel-core2-32)
- DEVICE_TYPE=x86
- ;;
- esac
-
- echo "DEVICE_TYPE=${DEVICE_TYPE}" > device_type_parameters
- echo "#${BUILD_NUMBER}-${SRCREV_kernel:0:8}" > ${WORKSPACE}/version.txt
- - build-name-setter:
- name: 'version.txt'
- file: true
- - inject:
- properties-file: device_type_parameters
- - shell:
- !include-raw: openembedded-lkft/builders.sh
- - inject:
- properties-file: post_build_lava_parameters
- - linaro-publish-token
- - shell:
- !include-raw: openembedded-lkft/publishers.sh
- - shell:
- !include-raw: openembedded-lkft/submit_for_testing.sh
- publishers:
- - groovy-postbuild:
- script:
- !include-raw:
- - rpb-openembedded/postbuild.groovy
- - openembedded-lkft/postbuild.groovy
- - email-ext:
- recipients: 'lkft-maintainers@lists.linaro.org'
- matrix-trigger: only-configurations
- subject: '[CI] ${MACHINE}: ${KERNEL_BRANCH} {{SRCREV_kernel}} ${BUILD_STATUS}'
- body: |
- Build URL: ${PROJECT_URL}${BUILD_NUMBER}/
- Full log: ${PROJECT_URL}${BUILD_NUMBER}/consoleText
- Parsed warnings/errors: ${PROJECT_URL}${BUILD_NUMBER}/parsed_console
- Git branch: ${KERNEL_BRANCH}
- Git URL: ${KERNEL_REPO}
- Git commit: ${SRCREV_kernel}
-
- Errors:
- ${BUILD_LOG_REGEX, regex="^ERROR:.* ", linesBefore=0, linesAfter=0, showTruncatedLines=false}
- presend-script:
- !include-raw: openembedded-lkft/presend-script.groovy
diff --git a/openembedded-lkft-aosp-4.4.yaml b/openembedded-lkft-aosp-4.4.yaml
deleted file mode 100644
index 9f30d6a56..000000000
--- a/openembedded-lkft-aosp-4.4.yaml
+++ /dev/null
@@ -1,151 +0,0 @@
-- job:
- name: openembedded-lkft-aosp-4.4
- project-type: matrix
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 30
- artifact-num-to-keep: 1
- parameters:
- - string:
- name: KERNEL_BRANCH
- default: 'android-hikey-linaro-4.4'
- - string:
- name: KERNEL_VERSION
- default: '4.4'
- - string:
- name: KERNEL_RECIPE
- default: 'linux-hikey-aosp'
- - string:
- name: KERNEL_REPO
- default: 'https://android.googlesource.com/kernel/hikey-linaro'
- - string:
- name: KERNEL_DESCRIBE
- - string:
- name: SRCREV_kernel
- - string:
- name: MAKE_KERNELVERSION
- - string:
- name: IMAGES
- default: 'rpb-console-image'
- - string:
- name: MANIFEST_BRANCH
- default: 'morty'
- - string:
- name: PUB_DEST
- default: 'openembedded/lkft/${MANIFEST_BRANCH}/${MACHINE}/${DISTRO}/${KERNEL_VERSION}/${BUILD_NUMBER}'
- - string:
- name: LAVA_SERVER
- default: 'https://lkft.validation.linaro.org/RPC2/'
- - string:
- name: QA_SERVER
- default: 'https://qa-reports.linaro.org'
- - string:
- name: QA_SERVER_PROJECT
- default: 'android-hikey-linaro-4.4-oe'
- - string:
- name: QA_SERVER_TEAM
- default: 'android-lkft'
- - string:
- name: SKIP_LAVA
- default: ''
- - string:
- name: LAVA_JOB_PRIORITY
- default: 'medium'
- disabled: true
- node: master
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: MACHINE
- values:
-# - 'am57xx-evm'
- - 'hikey'
-# - 'intel-core2-32'
- - axis:
- type: user-defined
- name: DISTRO
- values:
- - rpb
- - axis:
- type: slave
- name: label
- values:
- - docker-stretch-amd64
- execution-strategy:
- sequential: false
- wrappers:
- - timeout:
- timeout: 180
- - timestamps
- - ssh-agent-credentials:
- users:
- - 'OE_COMMIT_BOT_KEY'
- - credentials-binding:
- - text:
- credential-id: QA_REPORTS_TOKEN
- variable: QA_REPORTS_TOKEN
- builders:
- - shell: |
- #!/bin/bash
-
- # Mapping for MACHINE -> DEVICE_TYPE
- case "${MACHINE}" in
- hikey)
- DEVICE_TYPE=hi6220-hikey
- ;;
- intel-core2-32)
- DEVICE_TYPE=x86
- ;;
- esac
-
- echo "DEVICE_TYPE=${DEVICE_TYPE}" > device_type_parameters
- echo "#${BUILD_NUMBER}-${SRCREV_kernel:0:8}" > ${WORKSPACE}/version.txt
- - build-name-setter:
- name: 'version.txt'
- file: true
- - inject:
- properties-file: device_type_parameters
- - shell:
- !include-raw: openembedded-lkft/builders.sh
- - inject:
- properties-file: post_build_lava_parameters
- - linaro-publish-token
- - shell:
- !include-raw: openembedded-lkft/publishers.sh
- - shell:
- !include-raw: openembedded-lkft/submit_for_testing.sh
- publishers:
- - groovy-postbuild:
- script:
- !include-raw:
- - rpb-openembedded/postbuild.groovy
- - openembedded-lkft/postbuild.groovy
- - email-ext:
- recipients: 'lkft-maintainers@lists.linaro.org'
- matrix-trigger: only-configurations
- subject: '[CI] ${MACHINE}: ${KERNEL_BRANCH} {{SRCREV_kernel}} ${BUILD_STATUS}'
- body: |
- Build URL: ${PROJECT_URL}${BUILD_NUMBER}/
- Full log: ${PROJECT_URL}${BUILD_NUMBER}/consoleText
- Parsed warnings/errors: ${PROJECT_URL}${BUILD_NUMBER}/parsed_console
- Git branch: ${KERNEL_BRANCH}
- Git URL: ${KERNEL_REPO}
- Git commit: ${SRCREV_kernel}
-
- Errors:
- ${BUILD_LOG_REGEX, regex="^ERROR:.* ", linesBefore=0, linesAfter=0, showTruncatedLines=false}
- presend-script:
- !include-raw: openembedded-lkft/presend-script.groovy
diff --git a/openembedded-lkft-aosp-4.9.yaml b/openembedded-lkft-aosp-4.9.yaml
deleted file mode 100644
index d82090777..000000000
--- a/openembedded-lkft-aosp-4.9.yaml
+++ /dev/null
@@ -1,151 +0,0 @@
-- job:
- name: openembedded-lkft-aosp-4.9
- project-type: matrix
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 30
- artifact-num-to-keep: 1
- parameters:
- - string:
- name: KERNEL_BRANCH
- default: 'android-hikey-linaro-4.9'
- - string:
- name: KERNEL_VERSION
- default: '4.9'
- - string:
- name: KERNEL_RECIPE
- default: 'linux-hikey-aosp'
- - string:
- name: KERNEL_REPO
- default: 'https://android.googlesource.com/kernel/hikey-linaro'
- - string:
- name: KERNEL_DESCRIBE
- - string:
- name: SRCREV_kernel
- - string:
- name: MAKE_KERNELVERSION
- - string:
- name: IMAGES
- default: 'rpb-console-image'
- - string:
- name: MANIFEST_BRANCH
- default: 'morty'
- - string:
- name: PUB_DEST
- default: 'openembedded/lkft/${MANIFEST_BRANCH}/${MACHINE}/${DISTRO}/${KERNEL_VERSION}/${BUILD_NUMBER}'
- - string:
- name: LAVA_SERVER
- default: 'https://lkft.validation.linaro.org/RPC2/'
- - string:
- name: QA_SERVER
- default: 'https://qa-reports.linaro.org'
- - string:
- name: QA_SERVER_PROJECT
- default: 'android-hikey-linaro-4.9-oe'
- - string:
- name: QA_SERVER_TEAM
- default: 'android-lkft'
- - string:
- name: SKIP_LAVA
- default: ''
- - string:
- name: LAVA_JOB_PRIORITY
- default: 'medium'
- disabled: true
- node: master
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: MACHINE
- values:
-# - 'am57xx-evm'
- - 'hikey'
-# - 'intel-core2-32'
- - axis:
- type: user-defined
- name: DISTRO
- values:
- - rpb
- - axis:
- type: slave
- name: label
- values:
- - docker-stretch-amd64
- execution-strategy:
- sequential: false
- wrappers:
- - timeout:
- timeout: 180
- - timestamps
- - ssh-agent-credentials:
- users:
- - 'OE_COMMIT_BOT_KEY'
- - credentials-binding:
- - text:
- credential-id: QA_REPORTS_TOKEN
- variable: QA_REPORTS_TOKEN
- builders:
- - shell: |
- #!/bin/bash
-
- # Mapping for MACHINE -> DEVICE_TYPE
- case "${MACHINE}" in
- hikey)
- DEVICE_TYPE=hi6220-hikey
- ;;
- intel-core2-32)
- DEVICE_TYPE=x86
- ;;
- esac
-
- echo "DEVICE_TYPE=${DEVICE_TYPE}" > device_type_parameters
- echo "#${BUILD_NUMBER}-${SRCREV_kernel:0:8}" > ${WORKSPACE}/version.txt
- - build-name-setter:
- name: 'version.txt'
- file: true
- - inject:
- properties-file: device_type_parameters
- - shell:
- !include-raw: openembedded-lkft/builders.sh
- - inject:
- properties-file: post_build_lava_parameters
- - linaro-publish-token
- - shell:
- !include-raw: openembedded-lkft/publishers.sh
- - shell:
- !include-raw: openembedded-lkft/submit_for_testing.sh
- publishers:
- - groovy-postbuild:
- script:
- !include-raw:
- - rpb-openembedded/postbuild.groovy
- - openembedded-lkft/postbuild.groovy
- - email-ext:
- recipients: 'lkft-maintainers@lists.linaro.org'
- matrix-trigger: only-configurations
- subject: '[CI] ${MACHINE}: ${KERNEL_BRANCH} {{SRCREV_kernel}} ${BUILD_STATUS}'
- body: |
- Build URL: ${PROJECT_URL}${BUILD_NUMBER}/
- Full log: ${PROJECT_URL}${BUILD_NUMBER}/consoleText
- Parsed warnings/errors: ${PROJECT_URL}${BUILD_NUMBER}/parsed_console
- Git branch: ${KERNEL_BRANCH}
- Git URL: ${KERNEL_REPO}
- Git commit: ${SRCREV_kernel}
-
- Errors:
- ${BUILD_LOG_REGEX, regex="^ERROR:.* ", linesBefore=0, linesAfter=0, showTruncatedLines=false}
- presend-script:
- !include-raw: openembedded-lkft/presend-script.groovy
diff --git a/package-and-publish-linux-linaro-stable.yaml b/package-and-publish-linux-linaro-stable.yaml
deleted file mode 100644
index 3306fa301..000000000
--- a/package-and-publish-linux-linaro-stable.yaml
+++ /dev/null
@@ -1,142 +0,0 @@
-- job:
- name: package-and-publish-linux-linaro-stable
- project-type: matrix
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 60
- num-to-keep: 100
- artifact-num-to-keep: 1
- disabled: true
- node: build
- child-workspace: .
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://git.linaro.org/kernel/linux-linaro-stable.git
- refspec: +refs/heads/linux-linaro-lsk:refs/remotes/origin/linux-linaro-lsk
- name: origin
- branches:
- - refs/heads/linux-linaro-lsk
- basedir: reference-git
- skip-tag: true
- shallow-clone: false
- wipe-workspace: false
- axes:
- - axis:
- type: user-defined
- name: hwpack
- values:
- - lsk-arndale-be
- - lsk-vexpress
- - lsk-vexpress-be
- - lsk-vexpress64
- - lsk-vexpress64-be
- - lt-vexpress64
- - axis:
- type: slave
- name: label
- values:
- - build
- execution-strategy:
- sequential: true
- wrappers:
- - timestamps
- - copy-to-slave:
- includes:
- - .gnupg/
- - default_git_publish_keyfile
- - gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
- - gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
- - gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux.tar.bz2
- relative-to: 'somewhereElse'
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- - matrix-tie-parent:
- node: build
- builders:
- - shell: |
- # this step ensures we have gpg configured
- # requires "Copy files into the job's workspace before building" above
- # with "Files to copy" of .gnupg/
- cp -a .gnupg ~
- gpg --list-keys
- rm -rf .gnupg
-
- exit 0
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- sudo umount kernel_build
- }
-
- dpkg -s dpkg |grep '^Version'
-
- test -d kernel_build || mkdir kernel_build
- sudo mount -t tmpfs -o size=6G tmpfs kernel_build
-
- rm -rf ubuntu-kernel-ci
- git clone git://git.linaro.org/ci/ubuntu-kernel-ci.git ubuntu-kernel-ci
-
- # export parent_workspace="/mnt/ci_build/workspace/package-and-publish-linux-linaro-stable"
- # export reference_git="${parent_workspace}/reference-git"
- # export nearby_git="${reference_git}/.git"
-
- export nearby_git="${WORKSPACE}/reference-git/.git"
-
- # test -d ${reference_git} || git clone -b linux-linaro-lsk git://git.linaro.org/kernel/linux-linaro-stable.git ${reference_git}
-
- case "${hwpack}" in
- lsk-arndale-be|lsk-omap-be|lsk-vexpress-be)
- export TCBINDIR=${WORKSPACE}/tc/armeb/bin
- export toolchain_url=file://${WORKSPACE}/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux.tar.bz2
- export conf_options="do_publish_source_pkg=false do_create_artifact_dir=false do_publish_release_tag=false"
- ;;
- lsk-vexpress)
- export TCBINDIR=${WORKSPACE}/tc/armhf/bin
- export toolchain_url=file://${WORKSPACE}/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
- export conf_options="do_publish_release_tag=false"
- export conf_options="-k B86C70FE do_publish_release_tag=false"
- ;;
- lsk-vexpress64|lsk-vexpress64-be|lt-vexpress64)
- export TCBINDIR=${WORKSPACE}/tc/arm64/bin
- export toolchain_url=file://${WORKSPACE}/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
- export conf_options="do_publish_source_pkg=false do_create_artifact_dir=false do_publish_release_tag=false"
- ;;
- esac
-
- ./ubuntu-kernel-ci/scripts/package_kernel --cfg ${hwpack}.cfg nearby_git=${nearby_git} ${conf_options}
-
- # Display changelog
- cat ${WORKSPACE}/kernel_build/linux/debian/changelog
-
- # Publish
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- #time python ${HOME}/bin/linaro-cp.py \
- # --api_version 3 \
- # --link-latest \
- # out kernel-hwpack/package-and-publish-linux-linaro-stable-${hwpack}/${BUILD_NUMBER}
- publishers:
- - archive:
- artifacts: 'out/*.deb'
- excludes: 'out/*dbgsym*.deb'
- - email:
- recipients: 'fathi.boudra@linaro.org'
diff --git a/package-and-publish-linux-linaro.yaml b/package-and-publish-linux-linaro.yaml
deleted file mode 100644
index 202dd7f18..000000000
--- a/package-and-publish-linux-linaro.yaml
+++ /dev/null
@@ -1,158 +0,0 @@
-- job:
- name: package-and-publish-linux-linaro
- project-type: matrix
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 60
- num-to-keep: 100
- artifact-num-to-keep: 1
- disabled: true
- node: build
- child-workspace: .
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://git.linaro.org/kernel/linux-linaro-tracking.git
- refspec: +refs/heads/linux-linaro:refs/remotes/origin/linux-linaro
- name: origin
- branches:
- - refs/heads/linux-linaro
- basedir: reference-git
- skip-tag: true
- shallow-clone: false
- wipe-workspace: false
- axes:
- - axis:
- type: user-defined
- name: hwpack
- values:
- - arndale
- - arndale-be
- - lt-vexpress
- - vexpress
- - vexpress64
- - vexpress64-be
- - axis:
- type: slave
- name: label
- values:
- - build
- execution-strategy:
- sequential: true
- wrappers:
- - timestamps
- - copy-to-slave:
- includes:
- - .gnupg/
- - .ssh/
- - .dput.cf
- - default_git_publish_keyfile
- - gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
- - gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
- - gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux.tar.bz2
- relative-to: 'somewhereElse'
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- - matrix-tie-parent:
- node: build
- builders:
- - shell: |
- # this step ensures we have gpg configured
- # requires "Copy files into the job's workspace before building" above
- # with "Files to copy" of .gnupg/
- cp -a .gnupg ~
- gpg --list-keys
- rm -rf .gnupg
-
- # Set up local ssh keys for upload signing
- cp -a .ssh ~
- rm -rf .ssh
- chmod og-rwx ~/.ssh ~/.ssh/id_rsa
-
- #set up upload config for repo.l.o
- mv .dput.cf ~
-
- exit 0
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- sudo umount kernel_build
- }
-
- dpkg -s dpkg |grep '^Version'
-
- test -d kernel_build || mkdir kernel_build
- sudo mount -t tmpfs -o size=6G tmpfs kernel_build
-
- rm -rf ubuntu-kernel-ci
- git clone git://git.linaro.org/ci/ubuntu-kernel-ci.git ubuntu-kernel-ci
-
- # export parent_workspace="/mnt/ci_build/workspace/package-and-publish-linux-linaro"
- # export reference_git="${parent_workspace}/reference-git"
- # export nearby_git="${reference_git}/.git"
-
- export nearby_git="${WORKSPACE}/reference-git/.git"
-
- # test -d ${reference_git} || git clone -b master git://git.linaro.org/kernel/linux-linaro-tracking.git ${reference_git}
-
- case "${hwpack}" in
- arndale|arndale-octa|beaglebone|highbank|lt-vexpress|midway|omap|u8500|vexpress)
- export TCBINDIR=${WORKSPACE}/arm-tc/bin
- export toolchain_url=file://${WORKSPACE}/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
- export conf_options="do_publish_release_tag=false"
- export conf_options="-k B86C70FE do_publish_release_tag=false"
- ;;
- arndale-be|omap-be)
- export TCBINDIR=${WORKSPACE}/armeb-tc/bin
- export toolchain_url=file://${WORKSPACE}/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux.tar.bz2
- export conf_options="do_publish_source_pkg=false do_create_artifact_dir=false do_publish_release_tag=false"
- ;;
- vexpress64)
- export HOST_PPA=linaro-overlay
- export TCBINDIR=${WORKSPACE}/arm64-tc/bin
- export toolchain_url=file://${WORKSPACE}/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
- export conf_options="-k B86C70FE do_publish_release_tag=false"
- ;;
- vexpress64-be)
- export TCBINDIR=${WORKSPACE}/arm64-tc/bin
- export toolchain_url=file://${WORKSPACE}/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
- export conf_options="do_publish_source_pkg=false do_create_artifact_dir=false do_publish_release_tag=false"
- ;;
- esac
-
- ./ubuntu-kernel-ci/scripts/package_kernel --cfg ${hwpack}.cfg nearby_git=${nearby_git} ${conf_options}
-
- # Display changelog
- cat ${WORKSPACE}/kernel_build/linux/debian/changelog
-
- # Publish
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- #time python ${HOME}/bin/linaro-cp.py \
- # --api_version 3 \
- # --link-latest \
- # out kernel-hwpack/package-and-publish-linux-linaro-${hwpack}/${BUILD_NUMBER}
- publishers:
- - archive:
- artifacts: 'out/*.deb'
- excludes: 'out/*dbgsym*.deb'
- - email:
- recipients: 'fathi.boudra@linaro.org'
diff --git a/post-build-repo.yaml b/post-build-repo.yaml
deleted file mode 100644
index 08a274696..000000000
--- a/post-build-repo.yaml
+++ /dev/null
@@ -1,92 +0,0 @@
-- job:
- name: post-build-repo
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- parameters:
- - file:
- name: post_build_ppa_parameters
- description: "where to find changes file"
- disabled: true
- node: master
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- builders:
- - shell: |
- #!/bin/bash
- set -e
- echo "Build success: ${build_success}"
- echo "Package job name: ${pkg_job_name}"
- echo "Debsign key ID: ${key_id}"
- echo "Package changes file: ${pkg_changes}"
- echo "Host repo: ${host_ppa}"
- [ "${build_success}" = "false" ] && exit 0
-
- job_path=/var/lib/jenkins/jobs/${pkg_job_name}/workspace/
- job_path_axis=$(echo ${job_path} | sed -e 's,/label=,/configurations/axis-label/,')
- temp=$(echo ${pkg_job_name} | sed -e 's,/,/workspace/,' -e 's,=,/,')
- job_path_matrix=/var/lib/jenkins/jobs/${temp}/
-
- for path in ${job_path} ${job_path_axis} ${job_path_matrix}
- do
- if [ -r "${path}/${pkg_changes}" ]
- then
- cd ${path}
- break
- fi
- done
-
- if [ -n "${pkg_url}" ]; then
- echo "Source URL: ${pkg_url}"
- # workaround race where post-build-repo gets called too early
- timeout=5
- set +e
- while [ true ]; do
- wget --no-check-certificate --progress=dot -e dotbytes=1M ${pkg_url}/${pkg_changes}
- [ -r "${pkg_changes}" ] && break
- sleep 60
- timeout=$((timeout - 1))
- [ $timeout -eq 0 ] && break
- done
- set -e
-
- for file in $(dcmd ${pkg_changes})
- do
- wget --no-check-certificate --progress=dot -e dotbytes=1M ${pkg_url}/${file}
- done
- fi
- chmod 0700 ~/.ssh/
- chmod 0600 ~/.ssh/*
-
- ls -l .
- if [ ! -r "${pkg_changes}" ]; then
- echo "${pkg_changes} missing"
- exit 1
- fi
- debsign -k${key_id} ${pkg_changes}
- dput ${host_ppa} ${pkg_changes}
- set +e
- logname=${pkg_changes/changes/log}
- ssh upload@repo.linaro.org curl -o /srv/repos/ubuntu/$host_ppa/incoming/$logname $pkg_build_url/consoleText
- for file in $(dcmd ${pkg_changes})
- do
- rm -f $file
- done
- rm -f ${pkg_changes} *.upload
- find . -mtime +1 -exec rm -f {} \;
- publishers:
- - email:
- recipients: 'packages@lists.linaro.org'
diff --git a/post-build-rpm.yaml b/post-build-rpm.yaml
deleted file mode 100644
index 7bce47236..000000000
--- a/post-build-rpm.yaml
+++ /dev/null
@@ -1,60 +0,0 @@
-- job:
- name: post-build-rpm
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- parameters:
- - file:
- name: repo_parameters
- description: "where to find rpms to upload"
- disabled: true
- node: master
- display-name: 'DELETE ME'
- wrappers:
- - timestamps
- builders:
- - shell: |
- #!/bin/bash
- set -e
- echo "Build success: ${build_success}"
- echo "Job name: ${pkg_job_name}"
- echo "Repo: ${repo}"
- echo "Distribution: ${dist}"
- [ "${build_success}" = "false" ] && exit 0
- if [ -z "${repo}" ] || [ -z "${dist}" ]
- then
- echo "missing repo or dist"
- exit 1
- fi
- job_path=/var/lib/jenkins/jobs/${pkg_job_name}/workspace/
- job_path_axis=$(echo ${job_path} | sed -e 's,/label=,/configurations/axis-label/,')
- temp=$(echo ${pkg_job_name} | sed -e 's,/,/workspace/,' -e 's,=,/,')
- job_path_matrix=/var/lib/jenkins/jobs/${temp}/
-
- for path in ${job_path} ${job_path_axis} ${job_path_matrix}
- do
- if [ "$(ls -A ${path}/*.rpm)" ]
- then
- cd ${path}
- break
- fi
- done
- pwd
- ls -l .
- scp *rpm upload@repo.linaro.org:/srv/repos/rpm/${repo}/$dist/incoming
- rm -f *rpm
- publishers:
- - email:
- recipients: 'riku.voipio@linaro.org'
diff --git a/qa-manual-test-definitions-sanity-check.yaml b/qa-manual-test-definitions-sanity-check.yaml
deleted file mode 100644
index eb57ceccc..000000000
--- a/qa-manual-test-definitions-sanity-check.yaml
+++ /dev/null
@@ -1,63 +0,0 @@
-- job:
- name: qa-manual-test-definitions-sanity-check
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- disabled: true
- node: docker-stretch-amd64
- display-name: 'DELETE ME'
- triggers:
- - gerrit:
- server-name: 'review.linaro.org'
- override-votes: true
- gerrit-build-successful-verified-value: 1
- gerrit-build-failed-verified-value: -1
- gerrit-build-successful-codereview-value: 1
- gerrit-build-failed-codereview-value: -1
- readable-message: true
- successful-message: 'Sanity check OK'
- failure-message: '[OUTPUT]:'
- failure-message-file: 'build-error.txt'
- trigger-for-unreviewed-patches: true
- projects:
- - project-compare-type: 'ANT'
- project-pattern: 'qa/manual-test-definitions'
- branches:
- - branch-compare-type: 'ANT'
- branch-pattern: 'master'
- wrappers:
- - timestamps
- builders:
- - shell: |
- #!/bin/bash
-
- set -ex
-
- sudo apt-get update
- sudo apt-get install -y python3-pep8 python3-pycodestyle python3-yaml
-
- echo ""
- echo "########################################################################"
- echo " Gerrit Environment"
- env |grep GERRIT
- echo "########################################################################"
-
- echo "#${BUILD_NUMBER}-${GERRIT_PATCHSET_REVISION:0:8}" > ${WORKSPACE}/version.txt
-
- git clone -b ${GERRIT_BRANCH} --depth 1 https://git.linaro.org/${GERRIT_PROJECT}
- cd $(basename ${GERRIT_PROJECT})
- git fetch https://review.linaro.org/${GERRIT_PROJECT} ${GERRIT_REFSPEC}
- git checkout -q FETCH_HEAD
-
- wget -q https://git.linaro.org/qa/test-definitions-ci.git/blob_plain/HEAD:/test-definitions-ci.py -O test-definitions-ci.py
- python test-definitions-ci.py E501
- - build-name-setter:
- name: 'version.txt'
- file: true
diff --git a/robher-aosp-gendev.yaml b/robher-aosp-gendev.yaml
deleted file mode 100644
index d91af8e56..000000000
--- a/robher-aosp-gendev.yaml
+++ /dev/null
@@ -1,121 +0,0 @@
-- job:
- name: robher-aosp-gendev
- project-type: matrix
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- vishal.bhoj@linaro.org:
- - job-build
- - job-read
- - job-extended-read
- - job-configure
- - job-cancel
- rob.herring@linaro.org:
- - job-build
- - job-read
- - job-extended-read
- - job-configure
- - job-cancel
- - build-discarder:
- days-to-keep: 60
- num-to-keep: 60
- disabled: true
- display-name: 'DELETE ME'
- triggers:
- - timed: 'H H * * *'
- axes:
- - axis:
- type: slave
- name: label
- values:
- - docker-xenial-aosp
- - axis:
- type: user-defined
- name: LUNCH_TARGET
- values:
- - linaro_arm-userdebug
- - linaro_arm64-userdebug
- - linaro_x86_64-userdebug
- - db410c-userdebug
- execution-strategy:
- sequential: true
- wrappers:
- - timestamps
- - timeout:
- timeout: 500
- builders:
- - shell:
- !include-raw: android-lcr/common/builders.sh
- - shell: |
- #!/bin/bash
-
- set -ex
-
- # Clean any artifacts related to previous build
- rm -rf out/target/product/*/system/ out/target/product/*/data/ out/target/product/*/*.xml out/target/product/*/obj/kernel/
- rm -rf out/target/product/*/*.zip out/target/product/*/*.img out/target/product/*/*.xz
-
- # Runs as ubuntu
- repo init -u https://android.googlesource.com/platform/manifest -b master
- cd .repo
- rm -rf local_manifests
- git clone https://github.com/robherring/android_manifest -b master local_manifests
- cd ..
- repo sync -f --force-sync -j16
-
- source build/envsetup.sh
-
- if [ ${LUNCH_TARGET} == "db410c-userdebug" ]; then
- BUILD_TARGET="systemimage userdataimage cacheimage ramdisk"
- else
- BUILD_TARGET="systemimage ramdisk"
- fi
-
- lunch ${LUNCH_TARGET}
- make -k -j"$(nproc)" "${BUILD_TARGET}"
-
- cp .repo/manifest.xml out/source-manifest.xml
- repo manifest -r -o ${ANDROID_PRODUCT_OUT}/pinned-manifest.xml
-
- # Un-sparse the image
- mv ${ANDROID_PRODUCT_OUT}/system.img ${ANDROID_PRODUCT_OUT}/system.simg
- simg2img ${ANDROID_PRODUCT_OUT}/system.simg ${ANDROID_PRODUCT_OUT}/system.img
- rm ${ANDROID_PRODUCT_OUT}/system.simg
-
- # Publish binaries
- wget https://git.linaro.org/ci/job/configs.git/blob_plain/HEAD:/android-lcr/generic/build-info/public-template.txt -O ${ANDROID_PRODUCT_OUT}/BUILD-INFO.txt
- # Delete sources after build to save space
- rm -rf art/ dalvik/ kernel/ bionic/ developers/ libcore/ sdk/ bootable/ development/ libnativehelper/ system/ build/ device/ test/ build-info/ docs/ packages/ toolchain/ .ccache/ external/ pdk/ tools/ compatibility/ frameworks/ platform_testing/ vendor/ cts/ hardware/ prebuilts/ linaro*
-
- # Publish parameters
- cat << EOF > ${WORKSPACE}/publish_parameters
- PUB_DEST=/android/robher-aosp-gendev/${BUILD_NUMBER}/${LUNCH_TARGET}
- PUB_SRC=${ANDROID_PRODUCT_OUT}
- EOF
- - inject:
- properties-file: publish_parameters
- - linaro-publish-token
- - shell:
- !include-raw:
- - android/linaro-publisher.sh
- publishers:
- - logparser:
- parse-rules: '/var/jenkins_home/userContent/android.parse'
- unstable-on-warning: false
- fail-on-error: false
- - email:
- recipients: 'rob.herring@linaro.org'
- - email-ext:
- recipients: 'rob.herring@linaro.org'
- content-type: text
- subject: 'errors for mesa master Android build ${BUILD_NUMBER}'
- body: |
- Build URL: ${PROJECT_URL}${BUILD_NUMBER}/
- Full log: ${PROJECT_URL}${BUILD_NUMBER}/consoleText
- Parsed warnings/errors: ${PROJECT_URL}${BUILD_NUMBER}/parsed_console
-
- ERRORS:
- ${BUILD_LOG_REGEX, regex="^.*? error: .*?$", linesBefore=0, linesAfter=2, showTruncatedLines=false}
- unstable: true
diff --git a/robher-aosp.yaml b/robher-aosp.yaml
deleted file mode 100644
index 3a44e3780..000000000
--- a/robher-aosp.yaml
+++ /dev/null
@@ -1,139 +0,0 @@
-- job:
- name: robher-aosp
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 60
- numToKeep: 60
- properties:
- - authorization:
- anonymous:
- - job-read
- vishal.bhoj@linaro.org:
- - job-build
- - job-read
- - job-extended-read
- - job-configure
- - job-cancel
- rob.herring@linaro.org:
- - job-build
- - job-read
- - job-extended-read
- - job-configure
- - job-cancel
- scm:
- - git:
- url: git://anongit.freedesktop.org/mesa/mesa
- branches:
- - origin/master
- - origin/android/*
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- basedir: /home/buildslave/srv/${JOB_NAME}/external/mesa3d
- parameters:
- - string:
- name: MESA_GIT_TREE
- default:
- - string:
- name: MESA_EMAIL_RECIPIENTS
- default:
- disabled: true
- node: docker-xenial-aosp
- display-name: 'DELETE ME'
- concurrent: true
- wrappers:
- - timestamps
- - timeout:
- timeout: 500
- builders:
- - linaro-publish-token:
- host: snapshots.linaro.org
- - shell:
- !include-raw: android-lcr/common/builders.sh
- - shell: |
- cd /home/buildslave/srv/${JOB_NAME}/external/mesa3d
- echo "CI_MAIL_RECIPIENTS=$(git --no-pager log -1 --pretty='%cE,%aE')" > ${WORKSPACE}/env_var_parameters
- - inject:
- properties-file: env_var_parameters
- - shell: |
- #!/bin/bash
-
- set -ex
-
- if [ ! -d "/home/buildslave/srv/${JOB_NAME}" ]; then
- sudo mkdir -p /home/buildslave/srv/${JOB_NAME}
- sudo chmod 777 /home/buildslave/srv/${JOB_NAME}
- fi
-
- cd /home/buildslave/srv/${JOB_NAME}
-
- # Clean any artifacts related to previous build
- rm -rf out/target/product/*/system/ out/target/product/*/data/ out/target/product/*/*.xml out/target/product/*/obj/kernel/
- rm -rf out/target/product/*/*.zip out/target/product/*/*.img out/target/product/*/*.xz
-
- # Runs as ubuntu
- repo init -u https://android.googlesource.com/platform/manifest -b master
- cd .repo
- rm -rf local_manifests
- git clone https://github.com/robherring/android_manifest -b mesa-master-test local_manifests
- cd ..
- repo sync -q -f --force-sync -j"$(nproc)"
-
- mkdir -p out
- cp .repo/manifest.xml out/source-manifest.xml
- repo manifest -r -o out/pinned-manifest.xml
-
- cd external/mesa3d
-
- if [ -n "${MESA_GIT_TREE}" ]; then
- git fetch ${MESA_GIT_TREE}
- git checkout FETCH_HEAD
- fi
-
- # Enable gpu drivers
- echo 'BOARD_GPU_DRIVERS := "i915 i965 i915g r300g r600g nouveau swrast vc4 virgl"' > Android.mk.new
- cat Android.mk >> Android.mk.new
- mv Android.mk.new Android.mk
- # Commit it so repo will throw it away
- git commit -m "Android: enable GPU drivers" -a -s
-
- cd ../..
-
- source build/envsetup.sh
-
- lunch linaro_arm64-userdebug
- make -k -j"$(nproc)" gallium_dri libGLES_mesa || { true; failed=1; }
-
- lunch linaro_x86_64-userdebug
- make -k -j"$(nproc)" gallium_dri i915_dri i965_dri libGLES_mesa || { true; failed=1; }
-
- # Delete sources after build to save space
- rm -rf art/ dalvik/ kernel/ bionic/ developers/ libcore/ sdk/ bootable/ development/ libnativehelper/ system/ build/ device/ test/ build-info/ docs/ packages/ toolchain/ .ccache/ external/ pdk/ tools/ compatibility/ frameworks/ platform_testing/ vendor/ cts/ hardware/ prebuilts/ linaro*
-
- ###### Don't care about artifacts for now ######
- echo "Build for mesa rev ${rev} finished - ret ${failed}"
- exit ${failed}
- publishers:
- - logparser:
- parse-rules: '/var/jenkins_home/userContent/android.parse'
- unstable-on-warning: false
- fail-on-error: false
- - email:
- recipients: 'rob.herring@linaro.org vishal.bhoj@linaro.org'
- - email-ext:
- recipients: 'rob.herring@linaro.org, ${CI_MAIL_RECIPIENTS}, ${MESA_EMAIL_RECIPIENTS}'
- content-type: text
- subject: 'errors for mesa master Android build ${BUILD_NUMBER}'
- body: |
- Build URL: ${PROJECT_URL}${BUILD_NUMBER}/
- Full log: ${PROJECT_URL}${BUILD_NUMBER}/consoleText
- Parsed warnings/errors: ${PROJECT_URL}${BUILD_NUMBER}/parsed_console
-
- branch: ${GIT_BRANCH}
- commit: ${GIT_COMMIT}
-
- ERRORS:
- ${BUILD_LOG_REGEX, regex="^.*? error: .*?$", linesBefore=0, linesAfter=2, showTruncatedLines=false}
- first-failure: true
- failure: false
diff --git a/rpb-aosp-hikey.yaml b/rpb-aosp-hikey.yaml
deleted file mode 100644
index 3377003b7..000000000
--- a/rpb-aosp-hikey.yaml
+++ /dev/null
@@ -1,363 +0,0 @@
-- job:
- name: 96boards-reference-platform-aosp-hikey
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 60
- numToKeep: 60
- properties:
- - authorization:
- anonymous:
- - job-read
- linaro:
- - job-build
- - job-cancel
- parameters:
- - string:
- name: BUILD_CONFIG_FILENAME
- default: 'reference-platform-aosp-hikey'
- - string:
- name: ART_URL
- default: https://android-qa-reports.linaro.org/api/
- disabled: true
- node: docker-xenial-aosp
- display-name: 'DELETE ME'
- concurrent: true
- triggers:
- - timed : 'H H * * 6'
- - gerrit:
- server-name: __ANY__
- trigger-on:
- - change-merged-event
- projects:
- - project-compare-type: 'PLAIN'
- project-pattern: 'android-patchsets'
- branches:
- - branch-compare-type: 'PLAIN'
- branch-pattern: 'master'
- - project-compare-type: 'PLAIN'
- project-pattern: 'platform/manifest'
- branches:
- - branch-compare-type: 'PLAIN'
- branch-pattern: 'linaro-marshmallow'
- - project-compare-type: 'PLAIN'
- project-pattern: 'device/linaro/common'
- branches:
- - branch-compare-type: 'PLAIN'
- branch-pattern: 'linaro-marshmallow'
- - project-compare-type: 'PLAIN'
- project-pattern: 'android-build-configs'
- branches:
- - branch-compare-type: 'PLAIN'
- branch-pattern: 'master'
- file-paths:
- - compare-type: 'PLAIN'
- pattern: 'reference-platform-aosp-hikey'
- wrappers:
- - timestamps
- - timeout:
- timeout: 500
- builders:
- - shell: |
- CI_MAIL_RECIPIENTS="${GERRIT_CHANGE_OWNER_EMAIL},${GERRIT_EVENT_ACCOUNT_EMAIL}"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},vishal.bhoj@linaro.org"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},fathi.boudra@linaro.org"
- CI_MAIL_RECIPIENTS="${CI_MAIL_RECIPIENTS},daniel.diaz@linaro.org"
- echo "CI_MAIL_RECIPIENTS=${CI_MAIL_RECIPIENTS}" > env_var_parameters
- - inject:
- properties-file: env_var_parameters
- - shell: |
- #!/bin/bash
-
- java -version
-
- sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
- sudo apt-get update
- sudo apt-get install -y gcc-4.9-multilib bison git gperf libxml2-utils python-mako zip time python-requests genisoimage patch mtools
-
- mkdir -p ${HOME}/bin ${WORKSPACE}/build/out
- curl https://storage.googleapis.com/git-repo-downloads/repo > ${HOME}/bin/repo
- chmod a+x ${HOME}/bin/*
- export PATH=${HOME}/bin:${PATH}
-
- if [ ! -d "/home/buildslave/srv/${JOB_NAME}" ]; then
- sudo mkdir -p /home/buildslave/srv/${JOB_NAME}
- sudo chmod 777 /home/buildslave/srv/${JOB_NAME}
- fi
- cd /home/buildslave/srv/${JOB_NAME}
-
- git config --global user.email "ci_notify@linaro.org"
- git config --global user.name "Linaro CI"
-
- # Runs as ubuntu
- set -xe
- rm -rf build-tools jenkins-tools build/out build/android-patchsets build-configs
- git clone --depth 1 https://git.linaro.org/infrastructure/linaro-android-build-tools.git build-tools
- git clone --depth 1 https://git.linaro.org/infrastructure/linaro-jenkins-tools.git jenkins-tools
- git clone --depth 1 http://android-git.linaro.org/git/android-build-configs.git build-configs
-
- export BUILD_CONFIG_FILENAME=${BUILD_CONFIG_FILENAME:-${JOB_NAME#android-*}}
-
- # Early test
- if [ ! -f build-configs/${BUILD_CONFIG_FILENAME} ]; then
- echo "No config file named ${BUILD_CONFIG_FILENAME} exists"
- echo "in android-build-configs.git"
- exit 1
- fi
-
- cat << EOF > config.txt
- BUILD_CONFIG_REPO=http://android-git.linaro.org/git/android-build-configs.git
- BUILD_CONFIG_BRANCH=master
- EOF
- echo config.txt
- export CONFIG=`base64 -w 0 config.txt`
-
- # Download vendor binaries for hikey.
- mkdir -p build
- cd build/
- wget https://dl.google.com/dl/android/aosp/linaro-hikey-20160226-67c37b1a.tgz
- tar -xvf linaro-hikey-20160226-67c37b1a.tgz
- yes "I ACCEPT" | ./extract-linaro-hikey.sh
- cd -
-
- # Build Android
- build-tools/node/build us-east-1.ec2-git-mirror.linaro.org "${CONFIG}"
- cp -a /home/buildslave/srv/${JOB_NAME}/build/out/*.xml /home/buildslave/srv/${JOB_NAME}/build/out/*.json ${WORKSPACE}/
-
- # Create smaller userdata partition for 4gb emmc
- cd build/
- out/host/linux-x86/bin/make_ext4fs -s -T -1 -S out/root/file_contexts -L data -l 1342177280 -a data out/userdata-4gb.img out/data
- cd -
-
- cd build/out
- rm -f ramdisk.img
- for image in "boot.img" "boot_fat.uefi.img" "system.img" "userdata.img" "userdata-4gb.img" "cache.img"; do
- echo "Compressing ${image}"
- tar -Jcf ${image}.tar.xz ${image}
- rm -f ${image}
- done
- cd -
-
- rm -rf build/out/BUILD-INFO.txt
- wget https://git.linaro.org/ci/job/configs.git/blob_plain/HEAD:/android-lcr/hikey/build-info/r-lcr-template.txt -O build/out/BUILD-INFO.txt
-
- # Publish parameters
- cat << EOF > ${WORKSPACE}/publish_parameters
- PUB_SRC=${PWD}/build/out
- PUB_DEST=96boards/reference-platform/aosp/hikey/${BUILD_NUMBER}
- EOF
-
- # Construct post-build-lava parameters
- source build-configs/${BUILD_CONFIG_FILENAME}
- cat << EOF > ${WORKSPACE}/post_build_lava_parameters
- DEVICE_TYPE=${LAVA_DEVICE_TYPE:-${TARGET_PRODUCT}}
- TARGET_PRODUCT=${TARGET_PRODUCT}
- MAKE_TARGETS=${MAKE_TARGETS}
- JOB_NAME=${JOB_NAME}
- BUILD_NUMBER=${BUILD_NUMBER}
- BUILD_URL=${BUILD_URL}
- LAVA_SERVER=validation.linaro.org/RPC2/
- IMAGE_EXTENSION=img.tar.xz
- FRONTEND_JOB_NAME=${JOB_NAME}
- DOWNLOAD_URL=${PUBLISH_SERVER}/${PUB_DEST}
- CUSTOM_JSON_URL=https://git.linaro.org/qa/test-plans.git/blob_plain/HEAD:/android/hikey/template-boot.json
- SKIP_REPORT=false
- EOF
- - inject:
- properties-file: publish_parameters
- - linaro-publish-token
- - shell:
- !include-raw:
- - android/linaro-publisher.sh
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-cts-focused1.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-cts-focused2.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-antutu2.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-antutu3.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-antutu5.7.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-benchmarkpi.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-cf-bench.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-gearses2eclair.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-geekbench3.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-javawhetstone.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-jbench.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-linpack.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-quadrantpro.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-scimark.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-sqlite.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-rl-sqlite.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-vellamo3.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-applications.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-caffeinemark.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-antutu6.0.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- if [ -n "$GERRIT_PROJECT" ]; then
- echo "SKIP_LAVA=1" >> ${WORKSPACE}/post_build_lava_parameters
- fi
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-cts-part1.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-cts-part2.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-cts-opengl.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-cts-media.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-andebenchpro2015.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-glbenchmark-2.5.1.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- - shell: |
- sed -i "s/CUSTOM_JSON_URL=.*/CUSTOM_JSON_URL=https:\/\/git.linaro.org\/qa\/test-plans.git\/blob_plain\/HEAD:\/android\/hikey\/template-weekly.json/g" ${WORKSPACE}/post_build_lava_parameters
- - trigger-builds:
- - project: 'post-build-lava'
- property-file: post_build_lava_parameters
- block: true
- publishers:
- - email-ext:
- recipients: '${CI_MAIL_RECIPIENTS}'
- content-type: text
- body: |
- Build Triggered by: ${GERRIT_CHANGE_SUBJECT}: ${GERRIT_CHANGE_URL}
- Build URL: ${PROJECT_URL}${BUILD_NUMBER}/
- Full log: ${PROJECT_URL}${BUILD_NUMBER}/consoleText
- Parsed warnings/errors: ${PROJECT_URL}${BUILD_NUMBER}/parsed_console
-
- Errors:
- ${BUILD_LOG_REGEX, regex=".*ERROR:.* ", linesBefore=0, linesAfter=0, showTruncatedLines=false}
- - archive:
- artifacts: '*.xml,*.json'
- latest-only: true
- - logparser:
- parse-rules: '/var/jenkins_home/userContent/android.parse'
- unstable-on-warning: false
- fail-on-error: false
- - fingerprint:
- files: 'build/fingerprints/*'
- - email:
- recipients: 'vishal.bhoj@linaro.org fathi.boudra@linaro.org'
diff --git a/rpb-kernel-matrix.yaml b/rpb-kernel-matrix.yaml
deleted file mode 100644
index 1bafe0740..000000000
--- a/rpb-kernel-matrix.yaml
+++ /dev/null
@@ -1,149 +0,0 @@
-- job:
- name: 96boards-reference-kernel-matrix
- project-type: matrix
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- disabled: true
- node: build
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: user-defined
- name: MX_PLATFORM
- values:
- - hikey
- - dragonboard410c
- - axis:
- type: slave
- name: label
- values:
- - docker-jessie-amd64
- execution-strategy:
- sequential: true
- touchstone:
- expr: 'MX_PLATFORM=="hikey"'
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}'
- - matrix-tie-parent:
- node: build
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- sudo apt-get update
- sudo apt-get install -y ccache python-requests
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- rm -rf linux
- rm -rf out
- }
-
- export LANG=C
- CCACHE_DIR="${HOME}/srv/ccache"
- CCACHE_UNIFY=1
- CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros
- export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS
- export use_ccache=true
- export make_bootwrapper=false
- export make_install=true
- export kernel_flavour=reference-${MX_PLATFORM}
- export kernel_config="defconfig distro.config"
- export MAKE_DTBS=true
- export ARCH=arm64
- export tcbindir="${HOME}/srv/toolchain/arm64-tc-15.02/bin"
- export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu.tar.xz"
- export KERNEL_URL=https://github.com/rsalveti/linux.git
-
- if [ "${MX_PLATFORM}" == "hikey" ]; then
- KERNEL_BRANCH=reference-hikey-rebase
- elif [ "${MX_PLATFORM}" == "dragonboard410c" ]; then
- KERNEL_BRANCH=reference-qcom-rebase
- fi
-
- git clone -b ${KERNEL_BRANCH} --depth 1 ${KERNEL_URL} linux
- cd linux
- export JENKINS_WORKSPACE=${WORKSPACE}
- unset WORKSPACE
-
- # Export the kernel packaging version
- kernel_version=`make kernelversion`
- kernel_release=${kernel_version}-linaro-${kernel_flavour}
- export KDEB_PKGVERSION="${kernel_release}-${BUILD_NUMBER}"
-
- # Build the kernel
- rm -rf lci-build-tools
- git clone --depth 1 http://git.linaro.org/ci/lci-build-tools.git
- bash -x lci-build-tools/jenkins_kernel_build_inst
-
- # Final preparation for publishing
- cp -a *.dsc *.changes *.deb out/
- cp linux*orig.tar.gz out/
-
- # Build information
- KERNEL_GIT_HEAD=`git log --format="%H" -1`
- cat > out/HEADER.textile << EOF
-
- h4. Reference Platform - Linux Kernel ($MX_PLATFORM)
-
- Linux Kernel build consumed by the Reference Platform Builds
-
- Build Description:
- * Build URL: "$BUILD_URL":$BUILD_URL
- * Kernel tree: "$KERNEL_URL":$KERNEL_URL
- * Kernel branch: $KERNEL_BRANCH
- * Kernel version: $kernel_version
- * Kernel release: $kernel_release
- * Kernel deb version: $KDEB_PKGVERSION
- EOF
-
- # Create MD5SUMS file
- (cd out && md5sum *.tar.gz *.deb > MD5SUMS.txt)
-
- unset WORKSPACE
- export WORKSPACE=${JENKINS_WORKSPACE}
- cd ${WORKSPACE}
-
- # Publish
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- time python ${HOME}/bin/linaro-cp.py \
- --server ${PUBLISH_SERVER} \
- --link-latest \
- linux/out reference-platform/components/linux/${MX_PLATFORM}/${BUILD_NUMBER}/
-
- CCACHE_DIR=${CCACHE_DIR} ccache -M 30G
- CCACHE_DIR=${CCACHE_DIR} ccache -s
-
- # Create post-build parameters (useful for other jobs)
- cat << EOF >> post_build_parameters
- KERNEL_VERSION=${kernel_version}
- KERNEL_RELEASE=${kernel_release}
- KDEB_PKGVERSION=${KDEB_PKGVERSION}
- EOF
- - inject:
- properties-file: post_build_parameters
- publishers:
- - email:
- recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org'
diff --git a/rpb-kernel.yaml b/rpb-kernel.yaml
deleted file mode 100644
index f056b41f2..000000000
--- a/rpb-kernel.yaml
+++ /dev/null
@@ -1,143 +0,0 @@
-- job:
- name: 96boards-reference-kernel
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 60
- numToKeep: 60
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- parameters:
- - string:
- name: KERNEL_GIT_BRANCH
- default: 'erp-noupstream'
- - string:
- name: KERNEL_GIT_URL
- default: 'https://github.com/Linaro/rpk.git'
- - string:
- name: TARGET_REPO
- default: 'linaro-staging'
- disabled: true
- node: docker-jessie-rp
- display-name: 'DELETE ME'
- scm:
- - git:
- url: ${KERNEL_GIT_URL}
- refspec: +refs/heads/${KERNEL_GIT_BRANCH}:refs/remotes/origin/${KERNEL_GIT_BRANCH}
- name: origin
- branches:
- - refs/heads/${KERNEL_GIT_BRANCH}
- basedir: linux
- skip-tag: true
- shallow-clone: false
- wipe-workspace: false
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}'
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- sudo apt-get update
- sudo apt-get install -y ccache python-requests quilt cpio rsync
-
- # Checkout source code
- git clone --depth 1 -b rpb-stretch https://github.com/Linaro/debian-kernel-packaging.git debian-pkg
-
- # Export the kernel packaging version
- cd ${WORKSPACE}/linux
-
- kernel_version=$(make kernelversion)
- kernel_deb_pkg_version=$(echo ${kernel_version} | sed -e 's/\.0-rc/~rc/')
- export KDEB_PKGVERSION="${kernel_deb_pkg_version}.linaro.${BUILD_NUMBER}-1"
- git tag v${kernel_deb_pkg_version//\~/-}
-
- # Build the debian source kernel
- cd ${WORKSPACE}/debian-pkg
-
- # Allow our own versioning scheme
- sed -i 's/dfsg/linaro/g' debian/bin/genorig.py debian/lib/python/debian_linux/debian.py
-
- # Use build number as ABI
- sed -i "s/^abiname:.*/abiname: ${BUILD_NUMBER}/g" debian/config/defines
-
- cat << EOF > debian/changelog
- linux ($KDEB_PKGVERSION) unstable; urgency=medium
-
- * Auto build:
- - URL: ${GIT_URL}
- - Branch: ${GIT_BRANCH}
- - Commit: ${GIT_COMMIT}
-
- -- 96Boards Team <dev@lists.96boards.org> $(date -R)
-
- EOF
-
- debian/rules clean || true
- debian/bin/genorig.py ../linux
- debian/rules orig
- fakeroot debian/rules source
- debuild -S -uc -us
- cd ..
-
- cat > ${WORKSPACE}/build-package-params-stretch <<EOF
- source=${BUILD_URL}/artifact/$(echo *.dsc)
- repo=${TARGET_REPO}
- codename=stretch
- appendversion=false
- EOF
-
- # Final preparation for publishing
- mkdir out
- rm *.orig.tar.xz
- cp -a orig/*.orig.tar.xz ${WORKSPACE}/
- cp -a *.dsc *.changes *.debian.tar.xz *.orig.tar.xz out/
-
- # Create MD5SUMS file
- (cd out && md5sum * > MD5SUMS.txt)
-
- # Build information
- cat > out/HEADER.textile << EOF
-
- h4. Reference Platform - Linux Kernel
-
- Linux Kernel build consumed by the Reference Platform Builds
-
- Build Description:
- * Build URL: "${BUILD_URL}":${BUILD_URL}
- * Git tree: "${GIT_URL}":${GIT_URL}
- * Git branch: ${GIT_BRANCH}
- * Git commit: ${GIT_COMMIT}
- * Kernel version: ${kernel_version}
- * Kernel deb version: ${KDEB_PKGVERSION}
- EOF
-
- # Publish
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- time python ${HOME}/bin/linaro-cp.py \
- --server ${PUBLISH_SERVER} \
- --link-latest \
- out reference-platform/components/linux/common/${BUILD_NUMBER}/
- publishers:
- - archive:
- artifacts: '*.dsc, *.xz'
- - trigger-parameterized-builds:
- - project: build-package
- property-file: build-package-params-stretch
- condition: SUCCESS
- - email:
- recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org'
diff --git a/rsalveti-db410c-debian-gateway.yaml b/rsalveti-db410c-debian-gateway.yaml
deleted file mode 100644
index 9e6f4b860..000000000
--- a/rsalveti-db410c-debian-gateway.yaml
+++ /dev/null
@@ -1,313 +0,0 @@
-- job:
- name: rsalveti-db410c-debian-gateway
- project-type: freestyle
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 30
- artifact-num-to-keep: 1
- parameters:
- - string:
- name: VENDOR
- default: 'rsalveti'
- - string:
- name: OS_FLAVOUR
- default: 'jessie'
- - string:
- name: PLATFORM_NAME
- default: 'qcom-snapdragon-arm64'
- - string:
- name: ROOTFS
- default: 'developer,arm64,1800M'
- - string:
- name: DTBS
- default: 'msm8916-mtp.dtb apq8016-sbc.dtb'
- - string:
- name: SERIAL_CONSOLE
- default: 'ttyMSM0'
- - string:
- name: KERNEL_BRANCH
- default: 'rsalveti-qcomlt-4.4'
- - string:
- name: QCOM_FIRMWARE
- default: 'http://snapshots.linaro.org/96boards/dragonboard410c/binaries/20160620/linux-board-support-package-v1.3.zip'
- - string:
- name: QCOM_FIRMWARE_MD5
- default: '810c7d39c86f8e39f3eb64eb1122aefb'
- disabled: true
- node: docker-jessie-amd64
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://github.com/rsalveti/linux.git
- refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/origin/${KERNEL_BRANCH}
- name: origin
- branches:
- - refs/heads/${KERNEL_BRANCH}
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- builders:
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- sudo kpartx -dv out/${VENDOR}-${OS_FLAVOUR}-*.sd.img || true
- rm -rf lci-build-tools
- rm -rf builddir*
- }
-
- sudo apt-get update
- sudo apt-get install -y kpartx python-requests device-tree-compiler zip libfdt-dev mtools android-tools-fsutils
- wget -q \
- http://repo.linaro.org/ubuntu/linaro-tools/pool/main/l/linaro-image-tools/linaro-image-tools_2016.05-1linarojessie1_amd64.deb \
- http://repo.linaro.org/ubuntu/linaro-tools/pool/main/l/linaro-image-tools/python-linaro-image-tools_2016.05-1linarojessie1_all.deb
- sudo dpkg -i --force-all *.deb
- rm -f *.deb
-
- # get the boot image tools, and keep track of commit info in the traces
- git clone git://codeaurora.org/quic/kernel/skales
- (cd skales && git log -1)
- export PATH=`pwd`/skales:$PATH
-
- export LANG=C
- export make_bootwrapper=false
- export make_install=true
- export kernel_flavour=rsalveti-lt-qcom
- export kernel_config="defconfig distro.config"
- export MAKE_DTBS=true
- export ARCH=arm64
- export tcbindir="${HOME}/srv/toolchain/arm64-tc-14.09/bin"
- export toolchain_url=http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
-
- test -d lci-build-tools || git clone https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools
- bash -x lci-build-tools/jenkins_kernel_build_inst
-
- # Create the hardware pack
- cat << EOF > ${VENDOR}-lt-qcom.default
- format: '3.0'
- name: ${VENDOR}-lt-qcom
- architectures:
- - arm64
- origin: Linaro
- maintainer: Linaro Platform <linaro-dev@lists.linaro.org>
- support: supported
- serial_tty: ${SERIAL_CONSOLE}
- kernel_addr: '0x80208000'
- initrd_addr: '0x83000000'
- load_addr: '0x60008000'
- dtb_addr: '0x61000000'
- partition_layout: bootfs_rootfs
- mmc_id: '0:1'
- kernel_file: boot/Image-*-qcom
- initrd_file: boot/initrd.img-*-qcom
- dtb_file: lib/firmware/*-qcom/device-tree/msm8916-mtp.dtb
- boot_script: boot.scr
- boot_min_size: 64
- extra_serial_options:
- - console=tty0
- - console=${SERIAL_CONSOLE},115200n8
- assume_installed:
- - adduser
- - apt
- - apt-utils
- - debconf-i18n
- - debian-archive-keyring
- - gcc-4.9
- - gnupg
- - ifupdown
- - initramfs-tools
- - iproute2
- - irqbalance
- - isc-dhcp-client
- - kmod
- - netbase
- - udev
- - linaro-artwork
- sources:
- qcom: http://repo.linaro.org/ubuntu/qcom-overlay ${OS_FLAVOUR} main
- repo: http://repo.linaro.org/ubuntu/linaro-overlay ${OS_FLAVOUR} main
- rsalveti: http://repo.linaro.org/ubuntu/rsalveti ${OS_FLAVOUR} main
- debian: http://ftp.debian.org/debian/ ${OS_FLAVOUR} main contrib non-free
- backports: http://ftp.debian.org/debian/ ${OS_FLAVOUR}-backports main
- packages:
- - linux-image-arm64
- - linux-headers-arm64
- - firmware-linux
- - wcnss-wlan
- - wcnss-bt
- - wcnss-start
- - ndppd
- - radvd
- - bluez
- - libbluetooth3
- EOF
-
- # Download license file and firmware
- rm -f license.txt
- wget https://git.linaro.org/landing-teams/working/qualcomm/lt-docs.git/blob_plain/HEAD:/license/license.txt
-
- rm -rf qcom_firmware && mkdir qcom_firmware && cd qcom_firmware
- wget -q ${QCOM_FIRMWARE}
- echo "${QCOM_FIRMWARE_MD5} $(basename ${QCOM_FIRMWARE})" > MD5
- md5sum -c MD5
- unzip $(basename ${QCOM_FIRMWARE})
- cd -
- rm -f qcom_firmware/linux-board-support-package-*/proprietary-linux/wlan/macaddr0
- rm -f qcom_firmware/linux-board-support-package-*/proprietary-linux/firmware.tar
- sudo MTOOLS_SKIP_CHECK=1 mcopy -i qcom_firmware/linux-board-support-package-*/bootloaders-linux/NON-HLOS.bin \
- ::image/modem.* ::image/mba.mbn qcom_firmware/linux-board-support-package-*/proprietary-linux
-
- ## Default config file templates
- # Enable forwarding by default, required by radvd
- cat << EOF > gateway.conf
- #net.ipv6.conf.wlan0.accept_ra=2
- #net.ipv6.conf.all.forwarding=1
- #net.ipv6.conf.all.proxy_ndp=1
- EOF
- # Default address for the bt le 6lowpan interface
- cat << EOF > bt0
- #auto bt0
- #allow-hotplug bt0
- #iface bt0 inet6 static
- # address 2001:db8::4
- # netmask 68
- EOF
- cat << EOF > radvd.conf
- #interface bt0
- #{
- # IgnoreIfMissing on;
- # AdvSendAdvert on;
- # prefix 2001:db8::/64
- # {
- # AdvOnLink off;
- # AdvAutonomous on;
- # AdvRouterAddr on;
- # };
- #};
- EOF
- cat << EOF > ndppd.conf
- #route-ttl 30000
- #proxy wlan0 {
- # router yes
- # timeout 500
- # ttl 30000
- # rule 2001:db8::/68 {
- # static
- # }
- #}
- EOF
-
- for rootfs in ${ROOTFS}; do
-
- rootfs_arch=$(echo $rootfs | cut -f2 -d,)
- rootfs_sz=$(echo $rootfs | cut -f3 -d,)
- rootfs=$(echo $rootfs | cut -f1 -d,)
-
- cat ${VENDOR}-lt-qcom.default > ${VENDOR}-lt-qcom
-
- rm -f `ls hwpack_${VENDOR}-lt-qcom_*_${rootfs_arch}_supported.tar.gz`
- VERSION=`date +%Y%m%d`-${BUILD_NUMBER}
- linaro-hwpack-create --debug --backports ${VENDOR}-lt-qcom ${VERSION}
- linaro-hwpack-replace -t `ls hwpack_${VENDOR}-lt-qcom_*_${rootfs_arch}_supported.tar.gz` -p `ls linux-image-*-${VENDOR}-lt-qcom_*.deb` -r linux-image -d -i
- linaro-hwpack-replace -t `ls hwpack_${VENDOR}-lt-qcom_*_${rootfs_arch}_supported.tar.gz` -p `ls linux-headers-*-${VENDOR}-lt-qcom_*.deb` -r linux-headers -d -i
-
- # Get rootfs
- export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/debian-${rootfs_arch}-rootfs/label=docker-jessie-${rootfs_arch},rootfs=${rootfs}/lastSuccessfulBuild/buildNumber`
- export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/debian-${rootfs_arch}-rootfs/label=docker-jessie-${rootfs_arch},rootfs=${rootfs}/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd`
- export ROOTFS_BUILD_URL="http://snapshots.linaro.org/debian/images/${rootfs}-${rootfs_arch}/${ROOTFS_BUILD_NUMBER}/linaro-${OS_FLAVOUR}-${rootfs}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.tar.gz"
- wget --progress=dot -e dotbytes=2M ${ROOTFS_BUILD_URL}
-
- # Create pre-built image(s)
- linaro-media-create --dev fastmodel --output-directory ${WORKSPACE}/out --image-file ${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.sd.img --image-size 2G --binary linaro-${OS_FLAVOUR}-${rootfs}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.tar.gz --hwpack hwpack_${VENDOR}-lt-qcom_*.tar.gz --hwpack-force-yes --bootloader uefi
-
- # Create eMMC rootfs image(s)
- mkdir rootfs
- for device in $(sudo kpartx -avs out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.sd.img | cut -d' ' -f3); do
- partition=$(echo ${device} | cut -d'p' -f3)
- [ "${partition}" = "2" ] && sudo mount -o loop /dev/mapper/${device} rootfs
- done
-
- sudo rm -rf rootfs/dev rootfs/var/lib/apt/lists
- sudo mkdir rootfs/dev rootfs/var/lib/apt/lists
-
- # clean up fstab
- sudo sed -i '/UUID/d' rootfs/etc/fstab
-
- # add license file in the generated rootfs
- sudo cp -f license.txt rootfs/etc/license.txt
-
- # add firmware (adreno, venus and WCN)
- sudo cp -a qcom_firmware/linux-board-support-package-*/proprietary-linux/* rootfs/lib/firmware
-
- # add default config file templates
- sudo cp gateway.conf rootfs/etc/sysctl.d/
- sudo cp bt0 rootfs/etc/network/interfaces.d/
- sudo cp radvd.conf rootfs/etc/radvd.conf
- sudo cp ndppd.conf rootfs/etc/ndppd.conf
-
- sudo mkfs.ext4 -L rootfs out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.img.raw ${rootfs_sz}
- mkdir rootfs2
- sudo mount -o loop out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.img.raw rootfs2
- sudo cp -a rootfs/* rootfs2
- rootfs_sz_real=$(sudo du -sh rootfs2 | cut -f1)
- sudo umount rootfs2 rootfs
- sudo ext2simg -v out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.img.raw out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.img
- sudo kpartx -dv out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.sd.img
- sudo rm -rf rootfs out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.sd.img rootfs2 out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.img.raw
-
- # Compress image(s)
- gzip -9 out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.img
-
- done
-
- # Move all relevant DTBs in out/
- for f in ${DTBS} ; do
- mv out/dtbs/${f} out/
- done
- rm -rf out/dtbs
-
- # Create device tree table
- dtbTool -o out/dt.img -s 2048 out/
-
- # Create boot image
- mkbootimg \
- --kernel out/Image \
- --ramdisk out/initrd.img-* \
- --output out/boot-${VENDOR}-${OS_FLAVOUR}-${PLATFORM_NAME}-${VERSION}.img \
- --dt out/dt.img \
- --pagesize "2048" \
- --base "0x80000000" \
- --cmdline "root=/dev/disk/by-partlabel/rootfs rw rootwait console=tty0 console=${SERIAL_CONSOLE},115200n8"
- gzip -9 out/boot-${VENDOR}-${OS_FLAVOUR}-${PLATFORM_NAME}-${VERSION}.img
-
- # Final preparation for publishing
- cp -a linux-*.deb out/
-
- # Create MD5SUMS file
- (cd out && md5sum * > MD5SUMS.txt)
-
- publishers:
- - archive:
- artifacts: 'out/*'
- - email:
- recipients: 'ricardo.salveti@linaro.org'
diff --git a/tcwg-monitoring-christophe.yaml b/tcwg-monitoring-christophe.yaml
deleted file mode 100644
index 482cc087c..000000000
--- a/tcwg-monitoring-christophe.yaml
+++ /dev/null
@@ -1,55 +0,0 @@
-- job:
- name: tcwg-monitoring-christophe
- project-type: freestyle
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 60
- parameters:
- - string:
- name: scripts_branch
- default: master
- description: 'Scripts branch to use'
- disabled: true
- node: tcwg-coordinator
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://git-us.linaro.org/people/christophe.lyon/jenkins.git
- refspec: +refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/changes/*
- branches:
- - ${scripts_branch}
- skip-tag: true
- shallow-clone: true
- wipe-workspace: true
- triggers:
- # Every 30 minutes
- - timed: '2,32 * * * *'
- wrappers:
- - timeout:
- timeout: 600
- - timestamps
- - ssh-agent-credentials:
- # tcwg-buildslave user id
- users:
- - 'e0958a95-204f-4c14-a66c-5e2be6c5d50a'
- builders:
- - shell: |
- #!/bin/bash
-
- set -e
- set -x
-
- ./check-all.sh
- publishers:
- - email-ext:
- recipients: 'christophe.lyon@linaro.org'
- aborted: true
diff --git a/tcwg-trigger-gcc-linaro-7.yaml b/tcwg-trigger-gcc-linaro-7.yaml
deleted file mode 100644
index e8f8591df..000000000
--- a/tcwg-trigger-gcc-linaro-7.yaml
+++ /dev/null
@@ -1,167 +0,0 @@
-- scm:
- name: gcc
- scm:
- - git:
- url: https://git-us.linaro.org/toolchain/gcc.git
- refspec: +refs/heads/*:refs/remotes/origin/*
- branches:
- - origin/linaro/gcc-7-branch
- basedir: gcc
- scm-name: GCC
- skip-tag: true
- wipe-workspace: false
- reference-repo: /home/tcwg-buildslave/snapshots-ref/gcc.git
- clean:
- before: true
-- scm:
- name: glibc
- scm:
- - git:
- url: https://git-us.linaro.org/toolchain/glibc.git
- refspec: +refs/heads/*:refs/remotes/origin/*
- branches:
- - origin/release/2.25/master
- basedir: glibc
- scm-name: Glibc
- skip-tag: true
- wipe-workspace: false
- reference-repo: /home/tcwg-buildslave/snapshots-ref/glibc.git
- clean:
- before: true
-- scm:
- name: binutils
- scm:
- - git:
- url: https://git-us.linaro.org/toolchain/binutils-gdb.git
- refspec: +refs/heads/*:refs/remotes/origin/*
- branches:
- - origin/binutils-2_28-branch
- basedir: binutils
- scm-name: Binutils
- skip-tag: true
- wipe-workspace: false
- reference-repo: /home/tcwg-buildslave/snapshots-ref/binutils-gdb.git
- clean:
- before: true
-- job:
- name: tcwg-trigger-gcc-linaro-7
- project-type: multijob
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 30
- parameters:
- - string:
- name: override
- default: ''
- description: 'Versions of components to build; e.g. binutils=binutils-gdb.git/binutils-2_28-branch gcc=gcc.git~linaro/gcc-7-branch glibc=glibc.git~release/2.25/master'
- - string:
- name: log_server
- default: dev-01.tcwglab:logs
- description: 'Log_Server'
- - string:
- name: abe_branch
- default: tested
- description: 'ABE revision to test'
- - string:
- name: scripts_branch
- default: tested
- description: 'jenkins-scripts revision to use'
- - string:
- name: ref_build
- default: 'previous'
- description: 'Reference build for comparison, e.g., "lastSuccess" or "previous" or job number or empty string to skip comparison'
- disabled: true
- node: tcwg-coordinator
- concurrent: true
- display-name: 'DELETE ME'
- scm:
- - gcc
- - glibc
- - binutils
- triggers:
- - pollscm:
- cron: 'H * * * *'
- wrappers:
- - timeout:
- timeout: 600
- - timestamps
- - ssh-agent-credentials:
- # tcwg-buildslave user id
- users:
- - 'e0958a95-204f-4c14-a66c-5e2be6c5d50a'
- builders:
- - shell: |
- #!/bin/bash
-
- set -ex
-
- shopt -s extglob
-
- for i in gcc glibc binutils; do
- pushd $i
- comp_rev=$(git rev-parse HEAD)
- comp_list="$i=$i.git@$comp_rev $comp_list"
- popd
- done
-
- cat << EOF > buildfarm_parameters
- override=$comp_list --extraconfigdir ../config/gcc7 $override
- log_name=${JOB_NAME}-${BUILD_NUMBER}/@@host@@.\$target
- log_server=$log_server
- abe_branch=$abe_branch
- scripts_branch=$scripts_branch
- target_list=aarch64-linux-gnu armv8l-linux-gnueabihf arm-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf aarch64-none-elf aarch64_be-none-elf tcwg-x86_64-build tcwg-x86_32-build
- runtests=aarch64-linux-gnu armv8l-linux-gnueabihf arm-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf aarch64-none-elf aarch64_be-none-elf tcwg-x86_64-build tcwg-x86_32-build
- try_bootstrap=true
- rebuild=false
- dont_fail=false
- host_x86_64_excludecheck=gdb
- host_aarchXX_excludecheck=
- displaytag=gcc-linaro-7-${BUILD_NUMBER}
- EOF
-
- if [ x"$ref_build" != x ] ; then
- case "$ref_build" in
- lastSuccess) ref_build_num=$(wget -q --no-check-certificate -O - "${JOB_URL}lastSuccessfulBuild/buildNumber") ;;
- previous) ref_build_num=$(wget -q --no-check-certificate -O - "${JOB_URL}lastCompletedBuild/buildNumber") ;;
- [1-9]*([0-9])) ref_build_num="$ref_build" ;;
- *) echo "ERROR: Cannot handle ref_build: $ref_build"; exit 1 ;;
- esac
-
- # Scrambled indentation because of here-doc
- cat << EOF > compare_results_parameters
- ref_logs=${JOB_NAME}-$ref_build_num
- new_logs=${JOB_NAME}-$BUILD_NUMBER
- log_server=$log_server
- EOF
- fi
- - multijob:
- name: 'Builds'
- projects:
- - name: tcwg-buildfarm
- condition: COMPLETED
- property-file: buildfarm_parameters
- - conditional-step:
- condition-kind: file-exists
- condition-filename: compare_results_parameters
- steps:
- - trigger-builds:
- - project: tcwg-compare-results
- property-file: compare_results_parameters
- block: true
- publishers:
- - workspace-cleanup:
- include:
- - "*_parameters"
- - email-ext:
- recipients: 'tcwg-validation@linaro.org'
- aborted: true
diff --git a/tcwg-upstream-monitoring-go.yaml b/tcwg-upstream-monitoring-go.yaml
deleted file mode 100644
index adf55a0b3..000000000
--- a/tcwg-upstream-monitoring-go.yaml
+++ /dev/null
@@ -1,136 +0,0 @@
-- job:
- name: tcwg-upstream-monitoring-go
- project-type: matrix
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 30
- parameters:
- - string:
- name: override
- default: ''
- description: 'Versions of components to build; e.g. binutils=binutils-gdb.git/linaro_binutils-2_25-branch gcc=gcc.git~linaro/gcc-5-branch glibc=glibc.git~release/2.21/master'
- - string:
- name: native_x86_64_languages
- default: 'go'
- description: 'Languages to build for x86_64 native toolchains, e.g., "c,c++" or "all" or "default"'
- - string:
- name: native_aarchXX_languages
- default: 'go'
- description: 'Languages to build for AArchXX native toolchains, e.g., "c,c++" or "all" or "default"'
- - string:
- name: log_server
- default: dev-01.tcwglab:logs
- description: 'Log_Server'
- - string:
- name: ref_build
- default: 'previous'
- description: 'Reference build for comparison, e.g., "lastSuccess" or "previous" or job number'
- disabled: true
- node: tcwg-coordinator
- child-workspace: $branch
- concurrent: true
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: slave
- name: label
- values:
- - tcwg-x86_64-build
- - axis:
- type: user-defined
- name: branch
- values:
- - gcc-master
- triggers:
- # Three times a week, Mon, Wed, Fri at 02:20
- - timed: '20 2 * * 1,3,5'
- wrappers:
- - timeout:
- timeout: 600
- - timestamps
- - ssh-agent-credentials:
- # tcwg-buildslave user id
- users:
- - 'e0958a95-204f-4c14-a66c-5e2be6c5d50a'
- - build-name:
- name: '${branch} #${BUILD_NUMBER}'
- builders:
- - shell: |
- #!/bin/bash
-
- set -ex
-
- shopt -s extglob
-
- case "$branch" in
- all-master)
- gcc_branch=master
- config=master ;;
- gcc-master)
- gcc_branch=master
- config=latest-rel ;;
- gcc-*-branch)
- gcc_branch=$branch
- config=latest-rel ;;
- *) echo "ERROR: Unsupported branch: $branch"; exit 1 ;;
- esac
-
- cat <<EOF > buildfarm_parameters
- override=gcc=gcc.git~$gcc_branch --extraconfigdir ../config/$config $override
- log_name=tcwg-upstream-monitoring-go/${branch}-$BUILD_NUMBER/@@host@@.\$target
- runtests=tcwg-x86_64-build tcwg-x86_32-build tcwg-apm_64-build tcwg-apm_32-build
- host_x86_64_excludecheck=gdb
- host_aarchXX_excludecheck=gdb
- host_x86_64_languages=$native_x86_64_languages
- host_aarchXX_languages=$native_aarchXX_languages
- target_list=tcwg-x86_64-build tcwg-x86_32-build tcwg-apm_64-build tcwg-apm_32-build
- log_server=$log_server
- abe_branch=tested
- scripts_branch=tested
- displaytag=upstream-monitoring-go-$branch-${BUILD_NUMBER}
- EOF
- - trigger-builds:
- - project: tcwg-buildfarm
- property-file: buildfarm_parameters
- block: true
- block-thresholds:
- build-step-failure-threshold: 'never'
- unstable-threshold: 'never'
- failure-threshold: 'never'
- - shell: |
- #!/bin/bash
-
- set -ex
-
- shopt -s extglob
-
- case "$ref_build" in
- lastSuccess) ref_build_num=$(wget -q --no-check-certificate -O - "${JOB_URL}lastSuccessfulBuild/buildNumber") ;;
- previous) ref_build_num=$(wget -q --no-check-certificate -O - "${JOB_URL}lastCompletedBuild/buildNumber") ;;
- [1-9]*([0-9])) ref_build_num="$ref_build" ;;
- *) echo "ERROR: Cannot handle ref_build: $ref_build"; exit 1 ;;
- esac
-
- cat <<EOF > compare_results_parameters
- ref_logs=tcwg-upstream-monitoring-go/${branch}-$ref_build_num
- new_logs=tcwg-upstream-monitoring-go/${branch}-$BUILD_NUMBER
- show_results=false
- log_server=$log_server
- EOF
- - trigger-builds:
- - project: tcwg-compare-results
- property-file: compare_results_parameters
- block: true
- publishers:
- - workspace-cleanup:
- include:
- - "*_parameters"
diff --git a/trigger-96boards-b2260.yaml b/trigger-96boards-b2260.yaml
deleted file mode 100644
index b953cd2c3..000000000
--- a/trigger-96boards-b2260.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-- job:
- name: trigger-96boards-b2260
- project-type: freestyle
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 30
- disabled: true
- node: master
- display-name: 'DELETE ME'
- triggers:
- - timed: '@monthly'
- wrappers:
- - timestamps
- builders:
- - trigger-builds:
- - project: '96boards-b2260'
diff --git a/trigger-96boards-hikey-4.1.yaml b/trigger-96boards-hikey-4.1.yaml
deleted file mode 100644
index d73488e5a..000000000
--- a/trigger-96boards-hikey-4.1.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-- job:
- name: trigger-96boards-hikey-4.1
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- disabled: true
- node: build
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://github.com/96boards-hikey/linux.git
- refspec: +refs/heads/android-hikey-linaro-4.1:refs/remotes/origin/android-hikey-linaro-4.1
- name: origin
- branches:
- - refs/heads/android-hikey-linaro-4.1
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- builders:
- - trigger-builds:
- - project: '96boards-hikey-4.1'
diff --git a/trigger-96boards-hikey-edk2.yaml b/trigger-96boards-hikey-edk2.yaml
deleted file mode 100644
index 92e4fcff4..000000000
--- a/trigger-96boards-hikey-edk2.yaml
+++ /dev/null
@@ -1,35 +0,0 @@
-- job:
- name: trigger-96boards-hikey-edk2
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- disabled: true
- node: build
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://github.com/96boards-hikey/edk2.git
- refspec: +refs/heads/hikey:refs/remotes/origin/hikey
- name: origin
- branches:
- - refs/heads/hikey
- basedir: linaro-edk2
- skip-tag: true
- shallow-clone: true
- clean: true
- wipe-workspace: false
- triggers:
- - pollscm: 'H/5 * * * *'
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- builders:
- - trigger-builds:
- - project: '96boards-hikey-uefi'
diff --git a/trigger-96boards-hikey.yaml b/trigger-96boards-hikey.yaml
deleted file mode 100644
index a91be6dc2..000000000
--- a/trigger-96boards-hikey.yaml
+++ /dev/null
@@ -1,33 +0,0 @@
-- job:
- name: trigger-96boards-hikey
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- disabled: true
- node: build
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://github.com/96boards-hikey/linux.git
- refspec: +refs/heads/hikey:refs/remotes/origin/hikey
- name: origin
- branches:
- - refs/heads/hikey
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- triggers:
- - pollscm: 'H/5 * * * *'
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- builders:
- - trigger-builds:
- - project: '96boards-hikey, 96boards-hikey-android'
diff --git a/trigger-debian-arm64-rootfs.yaml b/trigger-debian-arm64-rootfs.yaml
deleted file mode 100644
index 035ec1fe4..000000000
--- a/trigger-debian-arm64-rootfs.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-- job:
- name: trigger-debian-arm64-rootfs
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- disabled: true
- node: build
- display-name: 'DELETE ME'
- triggers:
- - timed: '@weekly'
- wrappers:
- - timestamps
- builders:
- - trigger-builds:
- - project: 'debian-arm64-rootfs'
diff --git a/trigger-debian-armhf-rootfs.yaml b/trigger-debian-armhf-rootfs.yaml
deleted file mode 100644
index 44e588fce..000000000
--- a/trigger-debian-armhf-rootfs.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-- job:
- name: trigger-debian-armhf-rootfs
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- disabled: true
- node: build
- display-name: 'DELETE ME'
- triggers:
- - timed: '@weekly'
- wrappers:
- - timestamps
- builders:
- - trigger-builds:
- - project: 'debian-armhf-rootfs'
diff --git a/trigger-erp-test-automation-weekly.yaml b/trigger-erp-test-automation-weekly.yaml
deleted file mode 100644
index 9268018e2..000000000
--- a/trigger-erp-test-automation-weekly.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-- job:
- name: trigger-erp-test-automation-weekly
- display-name: 'DELETE ME'
- project-type: freestyle
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 30
- disabled: true
- node: master
- triggers:
- - timed: '@weekly'
- wrappers:
- - timestamps
- builders:
- - trigger-builds:
- - project: erp-test-automation-matrix
- predefined-parameters: |
- BUILD_ENV=staging
- BUILD_NUM=latest
- BUILD_DISTRO=debian
- - project: erp-test-automation-matrix
- predefined-parameters: |
- BUILD_ENV=staging
- BUILD_NUM=latest
- BUILD_DISTRO=centos
diff --git a/trigger-lhg-oe-build-next.yaml b/trigger-lhg-oe-build-next.yaml
deleted file mode 100644
index 83b6fa072..000000000
--- a/trigger-lhg-oe-build-next.yaml
+++ /dev/null
@@ -1,22 +0,0 @@
-- job:
- name: trigger-lhg-oe-build-next
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- disabled: true
- node: master
- display-name: 'DELETE ME'
- triggers:
- # Run the builds every Monday, Wednesday, and Friday in the morning
- - timed: 'H H(0-6) * * 1,3,5'
- wrappers:
- - timestamps
- builders:
- - trigger-builds:
- - project: 'lhg-oe-build-next'
diff --git a/trigger-linux-leg.yaml b/trigger-linux-leg.yaml
deleted file mode 100644
index c077259d5..000000000
--- a/trigger-linux-leg.yaml
+++ /dev/null
@@ -1,33 +0,0 @@
-- job:
- name: trigger-linux-leg
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- disabled: true
- node: build
- display-name: 'DELETE ME'
- scm:
- - git:
- url: git://git.linaro.org/leg/acpi/leg-kernel.git
- refspec: +refs/heads/leg-kernel:refs/remotes/origin/leg-kernel
- name: origin
- branches:
- - refs/heads/leg-kernel
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- triggers:
- - pollscm: 'H/5 * * * *'
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- builders:
- - trigger-builds:
- - project: 'linux-leg'
diff --git a/trigger-lkft-linux-clang-mainline.yaml b/trigger-lkft-linux-clang-mainline.yaml
deleted file mode 100644
index 72861ab57..000000000
--- a/trigger-lkft-linux-clang-mainline.yaml
+++ /dev/null
@@ -1,49 +0,0 @@
-- job:
- name: trigger-lkft-linux-clang-mainline
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 60
- numToKeep: 300
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- parameters:
- - string:
- name: KERNEL_BRANCH
- default: 'master'
- disabled: true
- node: master
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
- refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/torvalds/${KERNEL_BRANCH}
- name: torvalds
- branches:
- - torvalds/${KERNEL_BRANCH}
- skip-tag: true
- shallow-clone: false
- wipe-workspace: false
- triggers:
- - pollscm: 'H/5 * * * *'
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- builders:
- - shell: |
- #!/bin/bash -e
- git clean -fdx
- echo KERNEL_GITREF=torvalds/${KERNEL_BRANCH} > lkft_parameters
- echo KERNEL_DESCRIBE=$(git describe --always) >> lkft_parameters
- echo GIT_COMMIT=${GIT_COMMIT} >> lkft_parameters
- echo MAKE_KERNELVERSION=$(make kernelversion) >> lkft_parameters
- cat lkft_parameters
- - trigger-builds:
- - project:
- - 'lkft-linux-clang'
- property-file: lkft_parameters
- block: true
diff --git a/trigger-lkft-linux-clang-stable.yaml b/trigger-lkft-linux-clang-stable.yaml
deleted file mode 100644
index 289a5d161..000000000
--- a/trigger-lkft-linux-clang-stable.yaml
+++ /dev/null
@@ -1,49 +0,0 @@
-- job:
- name: trigger-lkft-linux-clang-stable
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 60
- numToKeep: 300
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- parameters:
- - string:
- name: KERNEL_BRANCH
- default: 'linux-4.17.y'
- disabled: true
- node: master
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
- refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/linux-stable/${KERNEL_BRANCH}
- name: linux-stable
- branches:
- - linux-stable/${KERNEL_BRANCH}
- skip-tag: true
- shallow-clone: false
- wipe-workspace: false
- triggers:
- - pollscm: 'H/5 * * * *'
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- builders:
- - shell: |
- #!/bin/bash -e
- git clean -fdx
- echo KERNEL_GITREF=linux-stable/${KERNEL_BRANCH} > lkft_parameters
- echo KERNEL_DESCRIBE=$(git describe --always) >> lkft_parameters
- echo GIT_COMMIT=${GIT_COMMIT} >> lkft_parameters
- echo MAKE_KERNELVERSION=$(make kernelversion) >> lkft_parameters
- cat lkft_parameters
- - trigger-builds:
- - project:
- - 'lkft-linux-clang'
- property-file: lkft_parameters
- block: true
diff --git a/trigger-openembedded-lkft-linaro-hikey-stable-4.4.yaml b/trigger-openembedded-lkft-linaro-hikey-stable-4.4.yaml
deleted file mode 100644
index 76028c44a..000000000
--- a/trigger-openembedded-lkft-linaro-hikey-stable-4.4.yaml
+++ /dev/null
@@ -1,58 +0,0 @@
-- job:
- name: trigger-openembedded-lkft-linaro-hikey-stable-4.4
- project-type: freestyle
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 30
- disabled: true
- node: master
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://git.linaro.org/people/sumit.semwal/linux-lts.git
- refspec: +refs/tags/*:refs/remotes/origin/tags/*
- name: origin
- branches:
- - refs/tags/4.4.*-hikey
- skip-tag: true
- shallow-clone: false
- wipe-workspace: false
- triggers:
- - pollscm:
- cron: 'H/5 * * * *'
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- builders:
- - shell: |
- #!/bin/bash -e
- git clean -fdx
- echo KERNEL_BRANCH=$(git describe --tags --abbrev=0) > lkft_parameters
- echo KERNEL_DESCRIBE=$(git describe --always --tags) >> lkft_parameters
- echo SRCREV_kernel=${GIT_COMMIT} >> lkft_parameters
- echo MAKE_KERNELVERSION=$(make kernelversion) >> lkft_parameters
- cat lkft_parameters
- publishers:
- - trigger-parameterized-builds:
- - project:
- - 'openembedded-lkft-linaro-hikey-stable-4.4'
- condition: SUCCESS
- property-file: lkft_parameters
- - email-ext:
- recipients: 'lkft-maintainers@lists.linaro.org, sumit.semwal@linaro.org, fathi.boudra@linaro.org, milosz.wasilewski@linaro.org'
- body: |
- Project: ${PROJECT_NAME}
- Build number: ${BUILD_NUMBER}
- Build status: ${BUILD_STATUS}
- Build URL: ${BUILD_URL}
-
- New upstream tag:
- https://git.linaro.org/people/sumit.semwal/linux-lts.git ${GIT_BRANCH} ${GIT_COMMIT}
- always: true
diff --git a/trigger-rpb-kernel-packaging.yaml b/trigger-rpb-kernel-packaging.yaml
deleted file mode 100644
index d5a55581e..000000000
--- a/trigger-rpb-kernel-packaging.yaml
+++ /dev/null
@@ -1,40 +0,0 @@
-- job:
- name: trigger-rpb-kernel-packaging
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- parameters:
- - string:
- name: GIT_BRANCH
- default: 'rpb-stretch-2019'
- - string:
- name: GIT_URL
- default: 'https://github.com/Linaro/debian-kernel-packaging.git'
- disabled: true
- node: build
- display-name: 'DELETE ME'
- scm:
- - git:
- url: ${GIT_URL}
- refspec: +refs/heads/${GIT_BRANCH}:refs/remotes/origin/${GIT_BRANCH}
- name: origin
- branches:
- - refs/heads/${GIT_BRANCH}
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- triggers:
- - pollscm: 'H/5 * * * *'
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- builders:
- - trigger-builds:
- - project: '96boards-reference-kernel-enterprise'
diff --git a/ubuntu-arm64-rootfs.yaml b/ubuntu-arm64-rootfs.yaml
deleted file mode 100644
index 0ff867245..000000000
--- a/ubuntu-arm64-rootfs.yaml
+++ /dev/null
@@ -1,94 +0,0 @@
-- job:
- name: ubuntu-arm64-rootfs
- project-type: matrix
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- artifactNumToKeep: 1
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-build
- - job-cancel
- disabled: true
- node: build
- child-workspace: .
- display-name: 'DELETE ME'
- scm:
- - git:
- url: git://git.linaro.org/ci/ubuntu-build-service.git
- refspec: +refs/heads/master:refs/remotes/origin/master
- name: origin
- branches:
- - refs/heads/master
- skip-tag: true
- shallow-clone: true
- clean:
- after: true
- wipe-workspace: false
- axes:
- - axis:
- type: slave
- name: label
- values:
- - docker-xenial-arm64
- - axis:
- type: user-defined
- name: rootfs
- values:
- - alip
- - developer
- - gnome
- - nano
- wrappers:
- - timestamps
- - matrix-tie-parent:
- node: build
- - timeout:
- timeout: 120
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- sudo umount builddir
- }
-
- sudo apt-get update
- sudo apt-get install -y --no-install-recommends cpio debootstrap live-build python-requests uuid-runtime
- sudo dpkg -i --force-all packages/live-build_3.0.5-1linaro1_all.deb
-
- dpkg -s qemu-user-static |grep '^Version'
- dpkg -s live-build |grep '^Version'
-
- test -d builddir || mkdir builddir
- sudo mount -t tmpfs -o size=6G tmpfs builddir
- cp -a vivid-arm64-${rootfs} builddir/
- cd builddir/vivid-arm64-${rootfs}
- ./configure
- make
-
- cd ${WORKSPACE}
- sudo rm -rf out && mkdir out
- sudo mv builddir/vivid-arm64-${rootfs}/linaro-vivid-* out
-
- # Publish
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- time python ${HOME}/bin/linaro-cp.py --api_version 3 --link-latest out ubuntu/images/${rootfs}-arm64/${BUILD_NUMBER}
- publishers:
- - archive:
- artifacts: 'out/linaro-vivid-${rootfs}-*'
- - email:
- recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org'
diff --git a/ubuntu-armhf-pre-built-images.yaml b/ubuntu-armhf-pre-built-images.yaml
deleted file mode 100644
index c5a54f37f..000000000
--- a/ubuntu-armhf-pre-built-images.yaml
+++ /dev/null
@@ -1,170 +0,0 @@
-- job:
- name: ubuntu-armhf-pre-built-images
- project-type: matrix
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-build
- - job-cancel
- disabled: true
- node: build
- display-name: 'DELETE ME'
- scm:
- - git:
- url: git://git.linaro.org/ci/pre-built-images.git
- refspec: +refs/heads/master:refs/remotes/origin/master
- name: origin
- branches:
- - refs/heads/master
- skip-tag: true
- shallow-clone: true
- wipe-workspace: false
- axes:
- - axis:
- type: user-defined
- name: hwpack
- values:
- - arndale
- - lsk-vexpress
- - panda
- - vexpress
- - axis:
- type: slave
- name: label
- values:
- - docker-xenial-amd64
- execution-strategy:
- sequential: true
- wrappers:
- - timestamps
- - matrix-tie-parent:
- node: build
- builders:
- - copyartifact:
- project: ubuntu-armhf-rootfs
- filter: 'out/linaro-vivid-*.tar.gz'
- target: artifacts
- - copyartifact:
- project: ubuntu-armhf-hwpacks/hwpack=${hwpack},label=build
- filter: 'out/hwpack_linaro-${hwpack}*.tar.gz'
- target: artifacts
- parameter-filters: 'hwpack=${hwpack},label=build'
- - shell: |
- #!/bin/bash
-
- test -d out || mkdir out
- sudo mount -t tmpfs -o size=6G tmpfs out
-
- case "${hwpack}" in
- snowball)
- # XXX Hook to accept ST-Ericsson Limited License Agreement
- export LIT="lp:~fboudra/linaro-image-tools/ste-license-agreement"
- ;;
- lsk-vexpress|vexpress)
- export BOOTLOADER="uefi"
- ;;
- esac
-
- export PYTHONUNBUFFERED=1
- export HWPACK_JOB_NAME="${JOB_NAME}"
- export TMPDIR="${WORKSPACE}/out"
-
- case "${hwpack}" in
- arndale|arndale-octa|highbank|midway|lsk-vexpress|panda|snowball|vexpress)
- export ROOTFS_TYPE="developer nano"
- python pre-built-images.py ${hwpack} -b developer -b nano
- ;;
- esac
- - ssh:
- site: 'snapshots.linaro.org'
- target: '${JOB_NAME}/${BUILD_NUMBER}'
- source: 'out/**/*.txt, out/**/*.img.gz*'
- timeout: 120000
- remove-prefix: 'out'
- always-publish-from-master: true
- - ssh:
- site: 'snapshots.linaro.org file-move'
- target: ''
- source: ''
- command: 'reshuffle-files --job-type prebuilt --job-name ${JOB_NAME} --build-num ${BUILD_NUMBER}'
- timeout: 120000
- always-publish-from-master: true
- - shell: |
- #!/bin/bash
-
- export PYTHONUNBUFFERED=1
- export HWPACK_JOB_NAME="${JOB_NAME}"
-
- case "${hwpack}" in
- arndale|arndale-octa|highbank|midway)
- export DEVICE_TYPE=${hwpack}
- ;;
- panda)
- export DEVICE_TYPE=panda-es
-
- export ROOTFS_TYPE=developer
- export HWPACK_FILE_NAME=`find out -type f -name '*_developer_*.img.gz' |xargs basename`
- export HWPACK_BUILD_NUMBER=`echo ${HWPACK_FILE_NAME} |cut -d'_' -f3 |cut -d'-' -f2`
- export HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER%%.img.gz}
- python lava-submit.py
-
- export ROOTFS_TYPE=nano
- export HWPACK_FILE_NAME=`find out -type f -name '*_nano_*.img.gz' |xargs basename`
- export HWPACK_BUILD_NUMBER=`echo ${HWPACK_FILE_NAME} |cut -d'_' -f3 |cut -d'-' -f2`
- export HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER%%.img.gz}
- python lava-submit.py
-
- export DEVICE_TYPE=panda
- ;;
- snowball)
- export DEVICE_TYPE=snowball_sd
- ;;
- lsk-vexpress)
- export DEVICE_TYPE=vexpress-a9
- ;;
- vexpress)
- export DEVICE_TYPE=vexpress-a9
- ;;
- esac
-
- case "${hwpack}" in
- arndale|arndale-octa|highbank|lsk-vexpress|midway|panda|snowball|vexpress)
- export ROOTFS_TYPE=developer
- export HWPACK_FILE_NAME=`find out -type f -name '*_developer_*.img.gz' |xargs basename`
- export HWPACK_BUILD_NUMBER=`echo ${HWPACK_FILE_NAME} |cut -d'_' -f3 |cut -d'-' -f2`
- export HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER%%.img.gz}
- python lava-submit.py
-
- export ROOTFS_TYPE=nano
- export HWPACK_FILE_NAME=`find out -type f -name '*_nano_*.img.gz' |xargs basename`
- export HWPACK_BUILD_NUMBER=`echo ${HWPACK_FILE_NAME} |cut -d'_' -f3 |cut -d'-' -f2`
- export HWPACK_BUILD_NUMBER=${HWPACK_BUILD_NUMBER%%.img.gz}
- python lava-submit.py
- ;;
- esac
-
- sudo umount out
- - ssh:
- site: 'snapshots.linaro.org'
- target: '${JOB_NAME}/${BUILD_NUMBER}/vivid'
- source: 'out/**/*.html'
- timeout: 120000
- remove-prefix: 'out'
- always-publish-from-master: true
- - ssh:
- site: 'snapshots.linaro.org file-move'
- target: ''
- source: ''
- command: 'reshuffle-files --job-type prebuilt --job-name ${JOB_NAME} --build-num ${BUILD_NUMBER}'
- timeout: 120000
- always-publish-from-master: true
- publishers:
- - email:
- recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org'
diff --git a/ubuntu-armhf-rootfs.yaml b/ubuntu-armhf-rootfs.yaml
deleted file mode 100644
index 8176dff47..000000000
--- a/ubuntu-armhf-rootfs.yaml
+++ /dev/null
@@ -1,94 +0,0 @@
-- job:
- name: ubuntu-armhf-rootfs
- project-type: matrix
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- artifactNumToKeep: 1
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-build
- - job-cancel
- disabled: true
- node: build
- child-workspace: .
- display-name: 'DELETE ME'
- scm:
- - git:
- url: git://git.linaro.org/ci/ubuntu-build-service.git
- refspec: +refs/heads/master:refs/remotes/origin/master
- name: origin
- branches:
- - refs/heads/master
- skip-tag: true
- shallow-clone: true
- clean:
- after: true
- wipe-workspace: false
- axes:
- - axis:
- type: slave
- name: label
- values:
- - docker-xenial-armhf
- - axis:
- type: user-defined
- name: rootfs
- values:
- - alip
- - developer
- - gnome
- - nano
- wrappers:
- - timestamps
- - matrix-tie-parent:
- node: build
- - timeout:
- timeout: 120
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- sudo umount builddir
- }
-
- sudo apt-get update
- sudo apt-get install -y --no-install-recommends cpio debootstrap live-build python-requests uuid-runtime
- sudo dpkg -i --force-all packages/live-build_3.0.5-1linaro1_all.deb
-
- dpkg -s qemu-user-static |grep '^Version'
- dpkg -s live-build |grep '^Version'
-
- test -d builddir || mkdir builddir
- sudo mount -t tmpfs -o size=6G tmpfs builddir
- cp -a vivid-armhf-${rootfs} builddir/
- cd builddir/vivid-armhf-${rootfs}
- ./configure
- make
-
- cd ${WORKSPACE}
- sudo rm -rf out && mkdir out
- sudo mv builddir/vivid-armhf-${rootfs}/linaro-vivid-* out
-
- # Publish
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- time python ${HOME}/bin/linaro-cp.py --api_version 3 --link-latest out ubuntu/images/${rootfs}/${BUILD_NUMBER}
- publishers:
- - archive:
- artifacts: 'out/linaro-vivid-${rootfs}-*'
- - email:
- recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org'
diff --git a/xen-packages.yaml b/xen-packages.yaml
deleted file mode 100644
index ac2229859..000000000
--- a/xen-packages.yaml
+++ /dev/null
@@ -1,90 +0,0 @@
-- job:
- name: xen-packages
- project-type: matrix
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- disabled: true
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: slave
- name: label
- values:
- - docker-jessie-arm64
- - docker-jessie-armhf
- triggers:
- - timed: 'H(0-30) H(9-11) * * *'
- wrappers:
- - timestamps
- - matrix-tie-parent:
- node: master
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- sudo apt-get update
- sudo apt-get -y install build-essential libncurses-dev uuid-dev libglib2.0-dev libssl-dev libaio-dev libyajl-dev gettext git python-dev libfdt-dev libpixman-1-dev wget fakeroot lsb-release e2fslibs-dev liblzma-dev pkg-config zlib1g-dev iasl python-requests u-boot-tools
-
- rm -rf xen
- git clone -b staging git://xenbits.xen.org/xen.git
-
- arch=`dpkg-architecture -qDEB_HOST_ARCH`
- case "${arch}" in
- armhf)
- personality=linux32
- xenarch=arm32
- ;;
- arm64)
- xenarch=arm64
- ;;
- amd64)
- xenarch=x86_64
- ;;
- esac
-
- cd xen
- git log --oneline -n1
- $personality ./configure --prefix=/usr --with-system-qemu
- $personality make -j`getconf _NPROCESSORS_ONLN` debug=y dist-xen tools XEN_TARGET_ARCH=${xenarch}
- $personality make debball debug=y XEN_TARGET_ARCH=${xenarch}
-
- mkdir ${WORKSPACE}/out
- cp -L dist/xen*.deb ${WORKSPACE}/out/xen-${arch}.deb
- cp -L dist/install/boot/xen ${WORKSPACE}/out/xen-${arch}
- if [ ${arch} == arm64 ]
- then
- mkimage -A arm -C none -T kernel -a 0x0200000 -e 0x00200000 -n Xen -d ${WORKSPACE}/out/xen-arm64 ${WORKSPACE}/out/uXen-arm64
- fi
- cd ..
-
- # Publish
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- time python ${HOME}/bin/linaro-cp.py \
- --api_version 3 \
- out components/platform/xen/${BUILD_NUMBER}/${arch}
- python ${HOME}/bin/linaro-cp.py \
- --api_version 3 \
- --make-link \
- components/platform/xen/${BUILD_NUMBER}
- publishers:
- - archive:
- artifacts: 'out/*'
- latest-only: true
- - email:
- recipients: 'riku.voipio@linaro.org wookey@linaro.org Ian.Campbell@citrix.com fathi.boudra@linaro.org'
diff --git a/zephyr-aeolus.yaml b/zephyr-aeolus.yaml
deleted file mode 100644
index adf169225..000000000
--- a/zephyr-aeolus.yaml
+++ /dev/null
@@ -1,78 +0,0 @@
-- job:
- name: zephyr-aeolus
- project-type: matrix
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- linaro:
- - job-read
- - job-extended-read
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 30
- disabled: true
- node: master
- child-workspace: .
- display-name: 'DELETE ME'
- axes:
- - axis:
- type: slave
- name: label
- values:
- - docker-xenial-amd64-13
- - axis:
- type: user-defined
- name: ZEPHYR_GCC_VARIANT
- values:
-# - gccarmemb
- - zephyr
- - axis:
- type: user-defined
- name: PLATFORM
- values:
- - 96b_carbon
- - cc3200_launchxl
- - frdm_k64f
- - nucleo_l476rg
- - qemu_cortex_m3
- - qemu_x86
- - v2m_beetle
- - axis:
- type: user-defined
- name: PROJECT
- values:
- - jerryscript
- - micropython
- - zephyr.js
- wrappers:
- - timestamps
- builders:
- - shell:
- !include-raw: zephyr-aeolus/builders.sh
- - inject:
- properties-file: env_var_parameters
- - build-name-setter:
- template: '#${BUILD_NUMBER}-${GIT_COMMIT}'
- macro: true
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- # Publish
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
- time python ${HOME}/bin/linaro-cp.py \
- --api_version 3 \
- --link-latest \
- out/${PLATFORM} components/kernel/aeolus/${ZEPHYR_GCC_VARIANT}/${PROJECT}/${PLATFORM}/${BUILD_NUMBER}
-
- rm -rf out
- publishers:
- - email:
- recipients: 'fathi.boudra@linaro.org kumar.gala@linaro.org paul.sokolovsky@linaro.org'