]> git.apps.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
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 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

5 years agoceph-ansible: remove tox dashboard 1635/head
Dimitri Savineau [Wed, 5 Aug 2020 19:25:00 +0000 (15:25 -0400)]
ceph-ansible: remove tox dashboard

This file doesn't exist anymore.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
5 years agoMerge pull request #1634 from ceph/ceph_ansible_shrink_osd_nightly
Dimitri Savineau [Wed, 5 Aug 2020 14:35:06 +0000 (10:35 -0400)]
Merge pull request #1634 from ceph/ceph_ansible_shrink_osd_nightly

ceph-ansible-nightly: add new shrink_osd scenarios

5 years agoceph-ansible-nightly: add new shrink_osd scenarios 1634/head
Dimitri Savineau [Wed, 5 Aug 2020 14:29:22 +0000 (10:29 -0400)]
ceph-ansible-nightly: add new shrink_osd scenarios

This replaces the shrink_osd scenario by shrink_osd_multiple and
shrink_osd_single.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
5 years agoLet tox.ini decide which environments to use 1633/head
Jan Fajerski [Wed, 5 Aug 2020 11:34:25 +0000 (13:34 +0200)]
Let tox.ini decide which environments to use

Otherwise we have two places that define envs.

5 years agoMerge pull request #1632 from ceph/wip-delete_backend_api
Kefu Chai [Tue, 4 Aug 2020 08:54:10 +0000 (16:54 +0800)]
Merge pull request #1632 from ceph/wip-delete_backend_api

ceph-dashboard-pr-backend: delete

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-dashboard-pr-backend: delete 1632/head
Ernesto Puerta [Mon, 3 Aug 2020 18:18:55 +0000 (20:18 +0200)]
ceph-dashboard-pr-backend: delete

As it's been overridden by ceph-api.

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
5 years agoMerge pull request #1630 from tchaikov/wip-slimmer-tests
Kefu Chai [Mon, 3 Aug 2020 16:58:51 +0000 (00:58 +0800)]
Merge pull request #1630 from tchaikov/wip-slimmer-tests

ceph-api: do not build/run tests for api tests

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puertat <epuertat@redhat.com>
5 years agoMerge pull request #1627 from tspmelo/wip-cypress-record
Laura Paduano [Fri, 24 Jul 2020 13:36:45 +0000 (15:36 +0200)]
Merge pull request #1627 from tspmelo/wip-cypress-record

ceph-api-nightly: Enable recording of E2E runs

5 years agoMerge pull request #1608 from tchaikov/wip-crimson-libc-allocator
Kefu Chai [Thu, 23 Jul 2020 16:24:21 +0000 (00:24 +0800)]
Merge pull request #1608 from tchaikov/wip-crimson-libc-allocator

ceph-*-setup: use libc allocator for crimson flavor

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoMerge pull request #1631 from tchaikov/wip-slimmer-backend-tests
Kefu Chai [Wed, 22 Jul 2020 15:16:47 +0000 (23:16 +0800)]
Merge pull request #1631 from tchaikov/wip-slimmer-backend-tests

ceph-dashboard-pr-backend: do not build/run tests for api tests

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoceph-dashboard-pr-backend: do not build/run tests for api tests 1631/head
Kefu Chai [Wed, 22 Jul 2020 12:29:26 +0000 (20:29 +0800)]
ceph-dashboard-pr-backend: do not build/run tests for api tests

as ceph-pull-requests already covers them.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-api: do not build/run tests for api tests 1630/head
Kefu Chai [Wed, 22 Jul 2020 12:14:51 +0000 (20:14 +0800)]
ceph-api: do not build/run tests for api tests

as ceph-pull-requests already covers them.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1629 from ceph/guits-split_shrink_osds
Guillaume Abrioux [Wed, 22 Jul 2020 09:56:10 +0000 (11:56 +0200)]
Merge pull request #1629 from ceph/guits-split_shrink_osds

ceph-ansible: split shrink_osd scenario

5 years agoceph-ansible: split shrink_osd scenario 1629/head
Guillaume Abrioux [Wed, 22 Jul 2020 08:57:13 +0000 (10:57 +0200)]
ceph-ansible: split shrink_osd scenario

This is for testing in two ways:

1/ shrinking OSDs one by one
2/ shrinking multiple OSDs with a single call of the playbook

Related ceph-ansible PR: ceph/ceph-ansible#5569

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoceph-api-nightly: Enable recording of E2E runs 1627/head
Tiago Melo [Tue, 21 Jul 2020 11:15:45 +0000 (11:15 +0000)]
ceph-api-nightly: Enable recording of E2E runs

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agoceph-api: rename dasboard-backed-api to ceph-api 1626/head
Ernesto Puerta [Fri, 17 Jul 2020 16:51:21 +0000 (18:51 +0200)]
ceph-api: rename dasboard-backed-api to ceph-api

For the sake of simplicity (ceph-dashboard-backend-api vs. ceph-api) and
for spreading ownership of the Ceph API across teams, rename (currently
just a clone to minimize CI breakages) dashboard-backend-api to just
ceph-api.

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
5 years agoMerge pull request #1625 from ceph/guits_skip_jobs
Dimitri Savineau [Fri, 17 Jul 2020 15:18:59 +0000 (11:18 -0400)]
Merge pull request #1625 from ceph/guits_skip_jobs

ceph-ansible: play shrink_osd_legacy on 3.2 only

5 years agoceph-ansible: play shrink_osd_legacy on 3.2 only 1625/head
Guillaume Abrioux [Fri, 17 Jul 2020 15:12:24 +0000 (17:12 +0200)]
ceph-ansible: play shrink_osd_legacy on 3.2 only

Skip `shrink_osd_legacy` job on all branches but stable-3.2

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoMerge pull request #1624 from ceph/guits-skip_jobs
Dimitri Savineau [Fri, 17 Jul 2020 15:02:04 +0000 (11:02 -0400)]
Merge pull request #1624 from ceph/guits-skip_jobs

ceph-ansible: skip some scenarios

5 years agoceph-ansible: skip some scenarios 1624/head
Guillaume Abrioux [Fri, 17 Jul 2020 14:48:59 +0000 (16:48 +0200)]
ceph-ansible: skip some scenarios

Let's skip these scenarios, they don't make sense.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoMerge pull request #1623 from ceph/guits-inject_password
Guillaume Abrioux [Fri, 17 Jul 2020 08:30:51 +0000 (10:30 +0200)]
Merge pull request #1623 from ceph/guits-inject_password

ceph-ansible: inject password in scenario job

5 years agoceph-ansible: inject password in scenario job 1623/head
Guillaume Abrioux [Fri, 17 Jul 2020 08:22:27 +0000 (10:22 +0200)]
ceph-ansible: inject password in scenario job

this commit makes this 'individual job scenario testing' using the
`DOCKER_HUB_USERNAME` and `DOCKER_HUB_PASSWORD` environment variable so
the job can run with docker authentication.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoMerge pull request #1621 from ceph/wip-whoops-mock
Kefu Chai [Fri, 17 Jul 2020 02:59:09 +0000 (10:59 +0800)]
Merge pull request #1621 from ceph/wip-whoops-mock

ansible: mock is in EPEL only apparently

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1622 from ceph/wip-labextras
Kefu Chai [Fri, 17 Jul 2020 02:47:43 +0000 (10:47 +0800)]
Merge pull request #1622 from ceph/wip-labextras

ceph*build: Enable lab-extras repo on CentOS8 builders

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoceph*build: Enable lab-extras repo on CentOS8 builders 1622/head
David Galloway [Thu, 16 Jul 2020 21:20:58 +0000 (17:20 -0400)]
ceph*build: Enable lab-extras repo on CentOS8 builders

I discovered this was missing by reimaging a CentOS7 builder to CentOS8 and it failed the first build it tried to run.

```
+ sudo yum install -y yum-utils
Last metadata expiration check: 0:00:28 ago on Thu Jul 16 21:05:07 2020.
Package yum-utils-4.0.12-3.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
+ get_rpm_dist
+ LSB_RELEASE=/usr/bin/lsb_release
+ '[' '!' -x /usr/bin/lsb_release ']'
++ /usr/bin/lsb_release --short --id
+ ID=CentOS
+ case $ID in
++ /usr/bin/lsb_release --short --release
++ cut -d. -f1
+ RELEASE=8
+ DIST=el8
+ DISTRO=centos
+ echo el8
el8
+ '[' 8 = 7 ']'
+ '[' 8 = 8 ']'
+ sudo dnf config-manager --set-enabled PowerTools
+ sed -e s/@//g
+ '[' default = crimson ']'
+ sudo yum install -y python3-devel
CentOS-8 - PowerTools                            13 kB/s | 4.3 kB     00:00
Package python36-devel-3.6.8-2.module_el8.1.0+245+c39af44f.x86_64 is already installed.

Dependencies resolved.
Nothing to do.
Complete!
+ sudo yum-builddep -y '--setopt=*.skip_if_unavailable=true' /tmp/install-deps.49348/ceph.spec
Last metadata expiration check: 0:00:01 ago on Thu Jul 16 21:05:36 2020.

Package platform-python-devel-3.6.8-23.el8.x86_64 is already installed.
Package checkpolicy-2.9-1.el8.x86_64 is already installed.
Package cmake-3.11.4-7.el8.x86_64 is already installed.
Package cryptsetup-2.2.0-2.el8.x86_64 is already installed.
Package gcc-c++-8.3.1-5.el8.0.2.x86_64 is already installed.
Package gdbm-1:1.18-1.el8.x86_64 is already installed.
Package keyutils-libs-devel-1.5.10-6.el8.x86_64 is already installed.
No matching package to install: 'libbabeltrace-devel'
```

We're already enabling this repo in `install-deps.sh` but that's obviously not soon enough.

Signed-off-by: David Galloway <dgallowa@redhat.com>