]> git.apps.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
4 years agoceph-pr-commits: skip non-ascii chars 1682/head
Kefu Chai [Wed, 7 Oct 2020 09:03:08 +0000 (17:03 +0800)]
ceph-pr-commits: skip non-ascii chars

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #1681 from ceph/wip-bump-jjb
David Galloway [Tue, 6 Oct 2020 17:31:31 +0000 (13:31 -0400)]
Merge pull request #1681 from ceph/wip-bump-jjb

jjb: Unpin jjb version

4 years agojjb: Unpin jjb version 1681/head
David Galloway [Tue, 6 Oct 2020 17:24:16 +0000 (13:24 -0400)]
jjb: Unpin jjb version

Pinning it keeps biting us more often than fixing/updating job yamls would.

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1668 from ceph/wip-pipeline-master
David Galloway [Tue, 6 Oct 2020 17:01:20 +0000 (13:01 -0400)]
Merge pull request #1668 from ceph/wip-pipeline-master

ceph: enable multibranch pipeline

4 years agoMerge pull request #1678 from tchaikov/wip-drop-bashism
Kefu Chai [Tue, 6 Oct 2020 16:54:15 +0000 (00:54 +0800)]
Merge pull request #1678 from tchaikov/wip-drop-bashism

ceph-perf-pull-requests: s/source/./

Reviewed-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1680 from tchaikov/wip-ceph-pr-commits-junit
Kefu Chai [Tue, 6 Oct 2020 16:43:22 +0000 (00:43 +0800)]
Merge pull request #1680 from tchaikov/wip-ceph-pr-commits-junit

ceph-pr-commits: skip test for doc only changes

Reviewed-by: Zack Cerza <zack@redhat.com>
Reviewed-by: David Galloway <dgallowa@redhat.com>
4 years agoceph-pr-commits: add a doc_test checking title of commit message 1680/head
Kefu Chai [Tue, 6 Oct 2020 16:14:15 +0000 (00:14 +0800)]
ceph-pr-commits: add a doc_test checking title of commit message

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-pr-commits: port test_commits.py to py3
Kefu Chai [Tue, 6 Oct 2020 15:20:32 +0000 (23:20 +0800)]
ceph-pr-commits: port test_commits.py to py3

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-pr-commits: skip "code_test" tests for commits changing "doc/"
Kefu Chai [Tue, 6 Oct 2020 15:16:03 +0000 (23:16 +0800)]
ceph-pr-commits: skip "code_test" tests for commits changing "doc/"

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-pr-commits: add "code_test" for test_signed_off_by() test
Kefu Chai [Tue, 6 Oct 2020 15:13:41 +0000 (23:13 +0800)]
ceph-pr-commits: add "code_test" for test_signed_off_by() test

this test should only apply to changes which modifies code. for the doc
only changes, we should skip this test for lowering the bar for
contributors willing to improve the document.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-perf-pull-requests: s/source/./ 1678/head
Kefu Chai [Tue, 6 Oct 2020 10:40:36 +0000 (18:40 +0800)]
ceph-perf-pull-requests: s/source/./

turns out we have ubuntu test nodes labeled with "performance", and
they use dash for "sh", and jenkins use "sh" for running the embedded
scripts.

let's avoid bashism, and use "." instead.

this change is a follow-up of 4e0a8987c7d19004d33c153b107057f684b547de

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #1677 from ceph/wip-dpkg-a
David Galloway [Mon, 5 Oct 2020 18:39:10 +0000 (14:39 -0400)]
Merge pull request #1677 from ceph/wip-dpkg-a

ceph-pr-api: Clean dpkg db on job abort

4 years agoceph-pr-api: Clean dpkg db on job abort 1677/head
David Galloway [Mon, 5 Oct 2020 16:33:55 +0000 (12:33 -0400)]
ceph-pr-api: Clean dpkg db on job abort

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1676 from ceph/wip-xml-signed
Kefu Chai [Mon, 5 Oct 2020 14:47:02 +0000 (22:47 +0800)]
Merge pull request #1676 from ceph/wip-xml-signed

ceph-pr-commits: Allow empty junit results

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-pr-commits: Allow empty junit results 1676/head
David Galloway [Mon, 5 Oct 2020 14:35:27 +0000 (10:35 -0400)]
ceph-pr-commits: Allow empty junit results

report.xml wasn't getting written for docs-only changes because the job `exit 0`s.  The junit plugin was failing the build in those instances but we don't need or want it to.

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1675 from ceph/guits-remove_ooo_collocation
Guillaume Abrioux [Sun, 4 Oct 2020 08:26:37 +0000 (10:26 +0200)]
Merge pull request #1675 from ceph/guits-remove_ooo_collocation

ceph-ansible: remove ooo_collocation

4 years agoceph-ansible: remove ooo_collocation 1675/head
Guillaume Abrioux [Sun, 4 Oct 2020 08:22:34 +0000 (10:22 +0200)]
ceph-ansible: remove ooo_collocation

This job is not needed anymore, we already have 'collocation' for that.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
4 years agoceph: add multibranch pipeline 1668/head
Ernesto Puerta [Mon, 28 Sep 2020 15:54:29 +0000 (17:54 +0200)]
ceph: add multibranch pipeline

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoMerge pull request #1672 from tchaikov/wip-ceph-deploy-tag
Kefu Chai [Thu, 1 Oct 2020 15:54:23 +0000 (23:54 +0800)]
Merge pull request #1672 from tchaikov/wip-ceph-deploy-tag

ceph-deploy-tag: use ceph-build:origin/master

Reviewed-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1674 from dmick/master
David Galloway [Thu, 1 Oct 2020 15:51:34 +0000 (11:51 -0400)]
Merge pull request #1674 from dmick/master

ceph-dev{,-new}-build: add SHA1 to build name

4 years agoceph-deploy-build: inject chacractl credentials 1672/head
Kefu Chai [Thu, 1 Oct 2020 11:46:24 +0000 (19:46 +0800)]
ceph-deploy-build: inject chacractl credentials

otherwise we would have

requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://chacra.ceph.com/binaries/ceph-deploy/test/c6ff0a05523cdeda86ebac732dd186620261dc01/centos/7/source/

when posting the created package to chacra

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoscripts/build_utils: remove duplicated get_rpm_dist()
Kefu Chai [Thu, 1 Oct 2020 10:33:02 +0000 (18:33 +0800)]
scripts/build_utils: remove duplicated get_rpm_dist()

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-deploy-*: install build deps for python3
Kefu Chai [Thu, 1 Oct 2020 10:15:27 +0000 (18:15 +0800)]
ceph-deploy-*: install build deps for python3

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-deploy-build: build on bionic and centos8 for python3 package
Kefu Chai [Thu, 1 Oct 2020 07:23:11 +0000 (15:23 +0800)]
ceph-deploy-build: build on bionic and centos8 for python3 package

* s/xenial/bionic/ for building python3 package
* add centos8

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph-deploy-tag: use ceph-build:origin/master
Kefu Chai [Thu, 1 Oct 2020 06:55:35 +0000 (14:55 +0800)]
ceph-deploy-tag: use ceph-build:origin/master

otherwise it fails when trying to use the release.yml playbook:

ERROR! the playbook: release.yml could not be found
Build step 'Execute shell' marked build as failure

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #1673 from ceph/revert-1648-wip-junit_dashboard-master
Ernesto Puerta [Thu, 1 Oct 2020 09:26:55 +0000 (11:26 +0200)]
Merge pull request #1673 from ceph/revert-1648-wip-junit_dashboard-master

Revert "test: analyze JUnit results in PR jobs"

4 years agoceph-dev{,-new}-build: add SHA1 to build name 1674/head
Dan Mick [Thu, 1 Oct 2020 09:22:33 +0000 (09:22 +0000)]
ceph-dev{,-new}-build: add SHA1 to build name

Signed-off-by: Dan Mick <dmick@redhat.com>
4 years agoRevert "test: analyze JUnit results in PR jobs" 1673/head
Ernesto Puerta [Thu, 1 Oct 2020 09:14:49 +0000 (11:14 +0200)]
Revert "test: analyze JUnit results in PR jobs"

4 years agoMerge pull request #1671 from ceph/wip-signed-docs
David Galloway [Wed, 30 Sep 2020 17:49:36 +0000 (13:49 -0400)]
Merge pull request #1671 from ceph/wip-signed-docs

ceph-pr-commits: Don't require signed commits for doc/ dir

4 years agoceph-pr-commits: Don't require signed commits for doc/ dir 1671/head
David Galloway [Wed, 30 Sep 2020 16:24:36 +0000 (12:24 -0400)]
ceph-pr-commits: Don't require signed commits for doc/ dir

Signed-off-by: David Galloway <dgallowa@redhat.com>
4 years agoMerge pull request #1648 from ceph/wip-junit_dashboard-master
David Galloway [Wed, 30 Sep 2020 15:38:48 +0000 (11:38 -0400)]
Merge pull request #1648 from ceph/wip-junit_dashboard-master

test: analyze JUnit results in PR jobs

4 years agoMerge pull request #1670 from dmick/master
David Galloway [Wed, 30 Sep 2020 14:51:17 +0000 (10:51 -0400)]
Merge pull request #1670 from dmick/master

ceph-dev, ceph-dev-new: get shorter branch name, add SHA1 to build name

4 years agotest: add JUnit result analysis to jobs 1648/head
Ernesto Puerta [Mon, 24 Aug 2020 15:59:27 +0000 (17:59 +0200)]
test: add JUnit result analysis to jobs

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoceph-dev, ceph-dev-new: add SHA1 to build names 1670/head
Dan Mick [Tue, 29 Sep 2020 19:51:28 +0000 (19:51 +0000)]
ceph-dev, ceph-dev-new: add SHA1 to build names

Signed-off-by: Dan Mick <dmick@redhat.com>
4 years agoceph-dev, ceph-dev-new: copy branch artifact too for short name
Dan Mick [Tue, 29 Sep 2020 08:29:14 +0000 (08:29 +0000)]
ceph-dev, ceph-dev-new: copy branch artifact too for short name

BRANCH is set by the github plugin to, say, origin/master.  The
-setup jobs change that back to just 'master', so, copy their
saved env-setting artifact 'branch' as well so the parent job
can also use the short branch name in its build name.

Signed-off-by: Dan Mick <dmick@redhat.com>
4 years agoMerge pull request #1669 from dmick/master
David Galloway [Tue, 29 Sep 2020 21:39:53 +0000 (17:39 -0400)]
Merge pull request #1669 from dmick/master

ceph-dev, ceph-dev-new: copyartifact permission: no spaces

4 years agoceph-dev, ceph-dev-new: copyartifact permission: no spaces 1669/head
Dan Mick [Tue, 29 Sep 2020 04:09:49 +0000 (04:09 +0000)]
ceph-dev, ceph-dev-new: copyartifact permission: no spaces

I don't see why from examining the plugin source, but it appears
that if you use both a comma and a space, the second entry will not
be found (as though the space is becoming part of the string for
comparison inside the plugin).  Stopping fighting and just letting it happen.

Signed-off-by: Dan Mick <dmick@redhat.com>
5 years agoMerge pull request #1667 from dmick/master
David Galloway [Fri, 25 Sep 2020 14:58:31 +0000 (10:58 -0400)]
Merge pull request #1667 from dmick/master

Fix intermittent error with last copyartifacts change

5 years agoFix intermittent error with last copyartifacts change 1667/head
Dan Mick [Fri, 25 Sep 2020 08:04:51 +0000 (08:04 +0000)]
Fix intermittent error with last copyartifacts change

Apparently, sometimes, Jenkins can't find a toplevel job by "name", and
one must specify an "absolute path" to the job by prefixing "/".  This
was causing ceph-dev builds to fail to find ceph-dev-setup, but changing
to /ceph-dev-setup fixed the failure-to-find.  It didn't affect ceph-dev-new.
I've no idea why it affected one and not the other.

Signed-off-by: Dan Mick <dmick@redhat.com>
5 years agoMerge pull request #1665 from dmick/master
Dan Mick [Thu, 24 Sep 2020 22:56:23 +0000 (15:56 -0700)]
Merge pull request #1665 from dmick/master

Grab SHA1 into parent job's environment for human or program

5 years agoGrab SHA1 into parent job's environment for human or program 1665/head
Dan Mick [Thu, 24 Sep 2020 17:26:07 +0000 (17:26 +0000)]
Grab SHA1 into parent job's environment for human or program

The Ceph SHA1 is divined by the -setup job, and not available in the
parent job.  That's easily fixed by the same method it's passed to the
-build job: grab the file artifact and use it to inject SHA1 into the
environment.  This means the parent job can show the SHA1 in its build
label for humans, and can also be searched by Jenkins API calls.

Signed-off-by: Dan Mick <dmick@redhat.com>
5 years agoMerge pull request #1663 from ceph/ceph_ansible_nightly_quay_ceph_v2
Guillaume Abrioux [Mon, 21 Sep 2020 17:17:09 +0000 (19:17 +0200)]
Merge pull request #1663 from ceph/ceph_ansible_nightly_quay_ceph_v2

ceph-ansible-nightly: use latest stable tag

5 years agoceph-ansible-nightly: use latest stable tag 1663/head
Dimitri Savineau [Mon, 21 Sep 2020 15:35:32 +0000 (11:35 -0400)]
ceph-ansible-nightly: use latest stable tag

Currently the curl command is returning all tags matching the ceph
release so the variable contains multiple values.
We only need to have the latest one.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
5 years agoMerge pull request #1662 from dmick/master
David Galloway [Mon, 21 Sep 2020 14:00:07 +0000 (10:00 -0400)]
Merge pull request #1662 from dmick/master

ceph-dev{-new}: add build names

5 years agoceph-dev{-new}: add build names 1662/head
Dan Mick [Sun, 20 Sep 2020 01:15:24 +0000 (01:15 +0000)]
ceph-dev{-new}: add build names

Name builds by their build number as well as branch, distros, and flavor,
for easier viewing on the Jenkins UI.  Uses a new-to-us jenkins plugin.

Signed-off-by: Dan Mick <dmick@redhat.com>
5 years agoMerge pull request #1661 from ceph/wip-restart-when-necessary
David Galloway [Thu, 17 Sep 2020 14:07:03 +0000 (10:07 -0400)]
Merge pull request #1661 from ceph/wip-restart-when-necessary

ansible: REstart the jenkins agent service when changes are made

5 years agoansible: REstart the jenkins agent service when changes are made 1661/head
David Galloway [Wed, 16 Sep 2020 16:07:33 +0000 (12:07 -0400)]
ansible: REstart the jenkins agent service when changes are made

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1652 from ceph/wip-abbrev
Kefu Chai [Wed, 16 Sep 2020 13:16:06 +0000 (21:16 +0800)]
Merge pull request #1652 from ceph/wip-abbrev

ceph*setup: Abbreviate the tag

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1660 from ceph/guits-cv_tox_labels
Jan Fajerski [Wed, 16 Sep 2020 10:05:47 +0000 (12:05 +0200)]
Merge pull request #1660 from ceph/guits-cv_tox_labels

ceph-volume-pr: change nodes for tox testing

5 years agoceph-volume-pr: change nodes for tox testing 1660/head
Guillaume Abrioux [Wed, 16 Sep 2020 09:47:43 +0000 (11:47 +0200)]
ceph-volume-pr: change nodes for tox testing

We are currently running this job on a ubuntu xenial slave which run
python 3.5 where we need python 3.6.

Switching to these centos7 nodes which use python 3.6 should fix this
issue.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoMerge pull request #1659 from ceph/wip-dontfollow
David Galloway [Tue, 15 Sep 2020 17:40:42 +0000 (13:40 -0400)]
Merge pull request #1659 from ceph/wip-dontfollow

ansible: Don't follow symlinks

5 years agoansible: Don't follow symlinks 1659/head
David Galloway [Tue, 15 Sep 2020 17:39:11 +0000 (13:39 -0400)]
ansible: Don't follow symlinks

Something in ceph.git creates an infinite loop that this task gets stuck on

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1658 from ceph/wip-unexpose
David Galloway [Tue, 15 Sep 2020 15:45:42 +0000 (11:45 -0400)]
Merge pull request #1658 from ceph/wip-unexpose

ansible: Pass API key to slave.jar as file

5 years agoansible: Pass API key to slave.jar as file 1658/head
David Galloway [Tue, 15 Sep 2020 14:30:23 +0000 (10:30 -0400)]
ansible: Pass API key to slave.jar as file

vstart_runner.py runs 'ps ww' for the jenkins-build user.  This exposes the API key by showing the java.jar process in Jenkins logs.  If we pass the credentials as a file, there's less of a chance of it getting exposed.

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1656 from ceph/wip-start-libvirt
Guillaume Abrioux [Tue, 8 Sep 2020 14:05:53 +0000 (16:05 +0200)]
Merge pull request #1656 from ceph/wip-start-libvirt

ansible: Start libvirt services on slave spinup

5 years agoMerge pull request #1655 from ceph/ceph_ansible_nightly_quay_ceph
Dimitri Savineau [Tue, 8 Sep 2020 14:03:38 +0000 (10:03 -0400)]
Merge pull request #1655 from ceph/ceph_ansible_nightly_quay_ceph

ceph-ansible-nightly: use quay.ceph.io registry

5 years agoansible: Start libvirt services on slave spinup 1656/head
David Galloway [Tue, 8 Sep 2020 13:56:43 +0000 (09:56 -0400)]
ansible: Start libvirt services on slave spinup

I accidentally left these out when I combined all the slave playbooks.  It wasn't caught till now because I hadn't actually pulled the latest ceph-build.git on prado

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1654 from ceph/wip-kernel-drop-centos7
Ilya Dryomov [Sun, 6 Sep 2020 09:13:51 +0000 (11:13 +0200)]
Merge pull request #1654 from ceph/wip-kernel-drop-centos7

kernel: drop centos7 builds and arm64 cruft

5 years agoceph-ansible-nightly: use quay.ceph.io registry 1655/head
Dimitri Savineau [Fri, 4 Sep 2020 17:58:09 +0000 (13:58 -0400)]
ceph-ansible-nightly: use quay.ceph.io registry

In order to avoid the docker.io rate limit.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
5 years agoMerge pull request #1653 from ceph/wip-cleanup-home
David Galloway [Fri, 4 Sep 2020 12:31:25 +0000 (08:31 -0400)]
Merge pull request #1653 from ceph/wip-cleanup-home

ceph-api-nightly: Clean up after yourself

5 years agokernel: drop arm64 cruft 1654/head
Ilya Dryomov [Fri, 4 Sep 2020 09:55:33 +0000 (11:55 +0200)]
kernel: drop arm64 cruft

Don't pretend we can build an arm64 kernel: our kernel config is for
x86_64.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
5 years agokernel: drop centos7 builds
Ilya Dryomov [Fri, 4 Sep 2020 09:30:20 +0000 (11:30 +0200)]
kernel: drop centos7 builds

The gcc version requirement was raised to 4.9 in kernel 4.8.  centos7
is on gcc 4.8 and these builds have been failing for the last couple of
months.

While we could switch to devtoolset-7 or devtoolset-8, both of which
are installed on our centos7 build agents, let's just drop them.  For
one-off testing of older releases, trusty and xenial would do.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
5 years agoceph-api-nightly: Clean up after yourself 1653/head
David Galloway [Thu, 3 Sep 2020 16:58:01 +0000 (12:58 -0400)]
ceph-api-nightly: Clean up after yourself

This job has a bunch of templates.  Each one reaches 30-50GB in size which quickly fills up our builder home dirs.

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoceph*setup: Abbreviate the tag 1652/head
David Galloway [Thu, 3 Sep 2020 17:02:11 +0000 (13:02 -0400)]
ceph*setup: Abbreviate the tag

I don't know what changed or when but `git describe` started returning a longer string.  Our tooling relies on there only being 8 characters in the last portion of the version so we need to keep naming our packages that way.

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1651 from ceph/wip-timeout
David Galloway [Mon, 31 Aug 2020 16:28:50 +0000 (12:28 -0400)]
Merge pull request #1651 from ceph/wip-timeout

bz-mill: Scrap job

5 years agoMerge pull request #1649 from ceph/wip-xterm
David Galloway [Mon, 31 Aug 2020 14:37:19 +0000 (10:37 -0400)]
Merge pull request #1649 from ceph/wip-xterm

ansicolor jobs: Set TERM=xterm

5 years agobz-mill: Scrap job 1651/head
David Galloway [Thu, 27 Aug 2020 20:05:25 +0000 (16:05 -0400)]
bz-mill: Scrap job

Checked with Christina.  She no longer uses this job.

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1650 from tspmelo/wip-cypress-libxss1
Laura Paduano [Thu, 27 Aug 2020 12:52:27 +0000 (14:52 +0200)]
Merge pull request #1650 from tspmelo/wip-cypress-libxss1

install-e2e-test-deps.sh: Add libxss1 to debian distros

Reviewed-by: Ernesto Puertat <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoinstall-e2e-test-deps.sh: Add libxss1 to debian distros 1650/head
Tiago Melo [Thu, 27 Aug 2020 11:26:35 +0000 (11:26 +0000)]
install-e2e-test-deps.sh: Add libxss1 to debian distros

Cypress is failing due to a missing package.

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agoansicolor jobs: Set TERM=xterm 1649/head
David Galloway [Wed, 26 Aug 2020 18:28:32 +0000 (14:28 -0400)]
ansicolor jobs: Set TERM=xterm

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1647 from ceph/wip-cancel_on_pr_udpate-master
Kefu Chai [Mon, 24 Aug 2020 11:26:46 +0000 (19:26 +0800)]
Merge pull request #1647 from ceph/wip-cancel_on_pr_udpate-master

ceph-*pull-requests*: cancel job on PR update

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-By: Kefu Chai <kchai@redhat.com>
5 years agobuild: cancel job on PR update 1647/head
Ernesto Puerta [Mon, 24 Aug 2020 10:56:21 +0000 (12:56 +0200)]
build: cancel job on PR update

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
5 years agoMerge pull request #1646 from tchaikov/wip-ceph-perf-pull-requests-ln
Kefu Chai [Mon, 24 Aug 2020 10:28:45 +0000 (18:28 +0800)]
Merge pull request #1646 from tchaikov/wip-ceph-perf-pull-requests-ln

ceph-perf-pull-requests: do not fail if symblink already exists

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoceph-perf-pull-requests: s/source/./ 1646/head
Kefu Chai [Sat, 22 Aug 2020 03:20:17 +0000 (11:20 +0800)]
ceph-perf-pull-requests: s/source/./

turns out we have ubuntu test nodes labeled with "performance", and they
use dash for "sh", and jenkins use "sh" for running the embedded
scripts.

let's avoid bashism, and use "." instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-perf-pull-requests: install clang-10 on debian/ubuntu
Kefu Chai [Sat, 22 Aug 2020 03:14:04 +0000 (11:14 +0800)]
ceph-perf-pull-requests: install clang-10 on debian/ubuntu

and always install clang for both classic and crimson job

so we can see the warnings spit by clang when running classic perf tests

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-perf-pull-requests: do not fail if symblink already exists
Kefu Chai [Sat, 22 Aug 2020 02:27:08 +0000 (10:27 +0800)]
ceph-perf-pull-requests: do not fail if symblink already exists

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1645 from tchaikov/wip-remove-unexpected-token
Kefu Chai [Fri, 21 Aug 2020 13:44:37 +0000 (21:44 +0800)]
Merge pull request #1645 from tchaikov/wip-remove-unexpected-token

ceph-perf-pull-requests: remove superfluous ";;"

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoceph-perf-pull-requests: remove superfluous ";;" 1645/head
Kefu Chai [Fri, 21 Aug 2020 09:50:59 +0000 (17:50 +0800)]
ceph-perf-pull-requests: remove superfluous ";;"

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1644 from tchaikov/wip-crimson-clang-10
Kefu Chai [Thu, 20 Aug 2020 10:09:23 +0000 (18:09 +0800)]
Merge pull request #1644 from tchaikov/wip-crimson-clang-10

ceph-perf-pull-requests: enable llvm-toolset-10 repo for clang-10

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoceph-perf-pull-requests: enable llvm-toolset-10 repo for clang-10 1644/head
Kefu Chai [Thu, 20 Aug 2020 03:19:27 +0000 (11:19 +0800)]
ceph-perf-pull-requests: enable llvm-toolset-10 repo for clang-10

we need clang for detecting build failures with this compiler, and for
performing static analysis.

recently, seastar started to require better C++17 compatible compiler,
and it dropped the support of C++14. so before llvm-toolset-10 is added
to RHEL8/CentOS8, we need to use our own copr repo for clang-10.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1643 from ceph/wip-cansiblerpm
David Galloway [Tue, 18 Aug 2020 19:19:28 +0000 (15:19 -0400)]
Merge pull request #1643 from ceph/wip-cansiblerpm

ceph-ansible-rpm: Add missing CHACRACTL_KEY

5 years agoceph-ansible-rpm: Add missing CHACRACTL_KEY 1643/head
David Galloway [Tue, 18 Aug 2020 17:42:40 +0000 (13:42 -0400)]
ceph-ansible-rpm: Add missing CHACRACTL_KEY

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1642 from ceph/guits-refact_labels
Guillaume Abrioux [Mon, 17 Aug 2020 11:00:40 +0000 (13:00 +0200)]
Merge pull request #1642 from ceph/guits-refact_labels

ceph-ansible: only use smithi nodes for all_daemons

5 years agoceph-ansible: only use smithi nodes for all_daemons 1642/head
Guillaume Abrioux [Mon, 17 Aug 2020 09:17:42 +0000 (11:17 +0200)]
ceph-ansible: only use smithi nodes for all_daemons

Using `(smithi || centos7)` allows ovh slave nodes to be used for all
`all_daemons` based scenario which is not what we want since the latest
makes the playbook failing for these scenarios.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoMerge pull request #1641 from tchaikov/wip-dts-9
Kefu Chai [Sat, 15 Aug 2020 10:38:57 +0000 (18:38 +0800)]
Merge pull request #1641 from tchaikov/wip-dts-9

scripts/build_utils: add copr repo for latest gcc-toolset-9

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoscripts/build_utils: add copr repo for latest gcc-toolset-9 1641/head
Kefu Chai [Sat, 15 Aug 2020 03:48:58 +0000 (11:48 +0800)]
scripts/build_utils: add copr repo for latest gcc-toolset-9

see also https://copr.fedorainfracloud.org/coprs/tchaikov/gcc-toolset-9

we can drop it once devtoolset-9-gcc-c++ >= 9.2.1-2.3 is available in
CentOS8/RHEL8.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-*build/setup_rpm: extract setup_rpm_build_deps
Kefu Chai [Sat, 15 Aug 2020 03:47:46 +0000 (11:47 +0800)]
ceph-*build/setup_rpm: extract setup_rpm_build_deps

less repeatings this way

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1640 from ceph/guits-braggi
Guillaume Abrioux [Thu, 13 Aug 2020 12:17:03 +0000 (14:17 +0200)]
Merge pull request #1640 from ceph/guits-braggi

ceph-ansible: do not play 'all_daemons' scenarios on braggi

5 years agoceph-ansible: do not play 'all_daemons' scenarios on braggi 1640/head
Guillaume Abrioux [Thu, 13 Aug 2020 12:07:11 +0000 (14:07 +0200)]
ceph-ansible: do not play 'all_daemons' scenarios on braggi

braggi nodes don't have enough resources to support these scenarios.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoMerge pull request #1639 from ceph/guits-add_braggi
Guillaume Abrioux [Wed, 12 Aug 2020 18:53:12 +0000 (20:53 +0200)]
Merge pull request #1639 from ceph/guits-add_braggi

ceph-ansible: add back braggi node

5 years agoceph-ansible: add back braggi node 1639/head
Guillaume Abrioux [Wed, 12 Aug 2020 18:44:09 +0000 (20:44 +0200)]
ceph-ansible: add back braggi node

This commit adds back braggi nodes for all_daemons based scenario.
Also, it adds back ooo_collocation scenario which was removed by
mistake.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoMerge pull request #1638 from ceph/wip-nodename
David Galloway [Wed, 12 Aug 2020 18:13:26 +0000 (14:13 -0400)]
Merge pull request #1638 from ceph/wip-nodename

Fixes to builder playbook

5 years agoansible: Use JNLP for permanent. SSH for ephemeral. 1638/head
David Galloway [Wed, 12 Aug 2020 18:11:20 +0000 (14:11 -0400)]
ansible: Use JNLP for permanent.  SSH for ephemeral.

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoansible: Set nodename=ansible_hostname on static builders
David Galloway [Wed, 12 Aug 2020 18:02:18 +0000 (14:02 -0400)]
ansible: Set nodename=ansible_hostname on static builders

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1637 from ceph/wip-copy-perms
David Galloway [Wed, 12 Aug 2020 17:23:22 +0000 (13:23 -0400)]
Merge pull request #1637 from ceph/wip-copy-perms

ceph*setup: Give ceph*build jobs permission to copy artifacts

5 years agoceph*setup: Give ceph*build jobs permission to copy artifacts 1637/head
David Galloway [Wed, 12 Aug 2020 17:09:15 +0000 (13:09 -0400)]
ceph*setup: Give ceph*build jobs permission to copy artifacts

This is a new setting in the newest CopyArtifact plugin.

https://stackoverflow.com/a/32084538/6225562

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1636 from ceph/guits_refact_ca
Guillaume Abrioux [Wed, 12 Aug 2020 10:32:39 +0000 (12:32 +0200)]
Merge pull request #1636 from ceph/guits_refact_ca

ceph-ansible: refact project definition

5 years agoceph-ansible: refact project definition 1636/head
Guillaume Abrioux [Wed, 12 Aug 2020 09:03:50 +0000 (11:03 +0200)]
ceph-ansible: refact project definition

This commit modifies the current project definitions:

1/ it uses the exclude keyword to avoid duplicating project
2/ it declares a new project to only use smithi nodes for 'large'
scenario testing (basically all scenario based on 'all_daemons'
scenario).
3/ exclude 'non_container-cephadm_adopt' for non_containerized
deployments
4/ reindent jobs section

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoMerge pull request #1633 from ceph/jan--f-patch-c-v-pr-build
Guillaume Abrioux [Thu, 6 Aug 2020 08:58:41 +0000 (10:58 +0200)]
Merge pull request #1633 from ceph/jan--f-patch-c-v-pr-build

Let tox.ini decide which environments to use

5 years agoMerge pull request #1635 from ceph/ceph_ansible_remove_tox_dashboard
Guillaume Abrioux [Thu, 6 Aug 2020 07:06:08 +0000 (09:06 +0200)]
Merge pull request #1635 from ceph/ceph_ansible_remove_tox_dashboard

ceph-ansible: remove tox dashboard