]> git.apps.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
5 years agoceph-pull-requests-arm64: Don't make check on CentOS8 yet 1423/head
David Galloway [Wed, 23 Oct 2019 16:26:53 +0000 (12:26 -0400)]
ceph-pull-requests-arm64: Don't make check on CentOS8 yet

Until deps are in epel8 or we figure out an alternative

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1421 from ceph/wip-ansible-examples-leap15
David Galloway [Wed, 23 Oct 2019 14:18:38 +0000 (10:18 -0400)]
Merge pull request #1421 from ceph/wip-ansible-examples-leap15

ansible/examples/slave: add leap15

5 years agoansible/examples/slave: add leap15 1421/head
Kyr Shatskyy [Wed, 23 Oct 2019 14:12:25 +0000 (16:12 +0200)]
ansible/examples/slave: add leap15

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1420 from ceph/wip-mock-slave
Alfredo Deza [Wed, 23 Oct 2019 13:42:32 +0000 (09:42 -0400)]
Merge pull request #1420 from ceph/wip-mock-slave

Add jenkins-build user to mock group during slave setup

5 years agoAdd jenkins-build user to mock group during slave setup 1420/head
David Galloway [Wed, 23 Oct 2019 13:18:49 +0000 (09:18 -0400)]
Add jenkins-build user to mock group during slave setup

Instead of during each individual job

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1415 from ceph/wip-centos8
Alfredo Deza [Tue, 22 Oct 2019 13:01:12 +0000 (09:01 -0400)]
Merge pull request #1415 from ceph/wip-centos8

ansible: Update playbooks for CentOS8 compatibility

5 years agoMerge pull request #1418 from ceph/add_ca_ooo
Guillaume Abrioux [Tue, 22 Oct 2019 07:06:30 +0000 (09:06 +0200)]
Merge pull request #1418 from ceph/add_ca_ooo

ceph-ansible-prs: run ooo_collocation on container only

5 years agoceph-ansible-prs: run ooo_collocation on container only 1418/head
Guillaume Abrioux [Tue, 22 Oct 2019 06:55:52 +0000 (08:55 +0200)]
ceph-ansible-prs: run ooo_collocation on container only

Add a dedicated project for ooo_collocation since we don't want it to
run in non_container context.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoMerge pull request #1417 from ceph/add_ca_ooo
Guillaume Abrioux [Tue, 22 Oct 2019 05:51:49 +0000 (07:51 +0200)]
Merge pull request #1417 from ceph/add_ca_ooo

ceph-ansible-prs: re-add ooo_collocation

5 years agoceph-ansible-prs: re-add ooo_collocation 1417/head
Guillaume Abrioux [Tue, 22 Oct 2019 05:47:49 +0000 (07:47 +0200)]
ceph-ansible-prs: re-add ooo_collocation

This commit adds the ooo_collocation that were removed recently.
Related ceph-ansible PR : https://github.com/ceph/ceph-ansible/pull/4401

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoMerge pull request #1414 from tchaikov/wip-ceph-pr-submodules
Alfredo Deza [Fri, 18 Oct 2019 15:00:38 +0000 (11:00 -0400)]
Merge pull request #1414 from tchaikov/wip-ceph-pr-submodules

ceph-pr-submodules: do not use shallow-clone

5 years agoansible: Update playbooks for CentOS8 compatibility 1415/head
David Galloway [Thu, 17 Oct 2019 18:07:57 +0000 (14:07 -0400)]
ansible: Update playbooks for CentOS8 compatibility

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1413 from ceph/ceph_ansible_triggered_jobs
Guillaume Abrioux [Wed, 16 Oct 2019 14:18:32 +0000 (16:18 +0200)]
Merge pull request #1413 from ceph/ceph_ansible_triggered_jobs

ceph-ansible-prs: re-add shrink/rgw_multisite jobs

5 years agoceph-pr-submodules: do not use shallow-clone 1414/head
Kefu Chai [Wed, 16 Oct 2019 03:28:40 +0000 (11:28 +0800)]
ceph-pr-submodules: do not use shallow-clone

we use
```
git diff --submodule=log origin/$ghprbTargetBranch...$ghprbActualCommit
```

for checking the differences between the delta since their common
ancestor, so we have to do a non-shallow clone for accessing the
common ancestor.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-ansible-prs: re-add shrink/rgw_multisite jobs 1413/head
Dimitri Savineau [Tue, 15 Oct 2019 15:57:57 +0000 (11:57 -0400)]
ceph-ansible-prs: re-add shrink/rgw_multisite jobs

Since the pipeline refactoring we're not able to trigger manually the
shrink and rgw_multisite jobs. The shrink jobs were only configured for
ubuntu and rgw_multisite was missing.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
5 years agoMerge pull request #1395 from tchaikov/wip-scm-faster-clone
Kefu Chai [Tue, 15 Oct 2019 08:19:07 +0000 (16:19 +0800)]
Merge pull request #1395 from tchaikov/wip-scm-faster-clone

*/scm: faster clone

Reviewed-by: Alfredo Deza <adeza@redhat.com>
5 years agoMerge pull request #1400 from ceph/wip-report-osc-release
David Galloway [Thu, 10 Oct 2019 12:37:16 +0000 (08:37 -0400)]
Merge pull request #1400 from ceph/wip-report-osc-release

osc: report osc build release correctly

5 years agoMerge pull request #1408 from ceph/wip-add-teuthology-admins
David Galloway [Wed, 9 Oct 2019 13:40:21 +0000 (09:40 -0400)]
Merge pull request #1408 from ceph/wip-add-teuthology-admins

teuthology: add more admins to allow testing pr

5 years agoMerge pull request #1412 from ceph/guits-ca_pipeline
Guillaume Abrioux [Wed, 9 Oct 2019 07:38:41 +0000 (09:38 +0200)]
Merge pull request #1412 from ceph/guits-ca_pipeline

ceph-ansible-syntax: enable automatic run on PRs

5 years agoceph-ansible-syntax: enable automatic run on PRs 1412/head
Guillaume Abrioux [Wed, 9 Oct 2019 07:34:59 +0000 (09:34 +0200)]
ceph-ansible-syntax: enable automatic run on PRs

Automatically run this job on PRs.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoMerge pull request #1411 from ceph/guits-ca_pipeline
Guillaume Abrioux [Wed, 9 Oct 2019 07:01:07 +0000 (09:01 +0200)]
Merge pull request #1411 from ceph/guits-ca_pipeline

ceph-ansible-prs: revert commit 54ed76efcf9

5 years agoceph-ansible-prs: revert commit 54ed76efcf9 1411/head
Guillaume Abrioux [Wed, 9 Oct 2019 06:53:19 +0000 (08:53 +0200)]
ceph-ansible-prs: revert commit 54ed76efcf9

This approach doesn't work as expected, it skips almost all jobs.
Setting back the condition in the build script until we figure out
something better.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoMerge pull request #1410 from ceph/guits-ca_pipeline
Guillaume Abrioux [Wed, 9 Oct 2019 06:04:12 +0000 (08:04 +0200)]
Merge pull request #1410 from ceph/guits-ca_pipeline

ceph-ansible-prs: remove non breaking space

5 years agoceph-ansible-prs: remove non breaking space 1410/head
Guillaume Abrioux [Wed, 9 Oct 2019 05:58:06 +0000 (07:58 +0200)]
ceph-ansible-prs: remove non breaking space

remove non breaking space introduced by 54ed76efcf9b956079daf22669dbfc14b6114224

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoMerge pull request #1409 from ceph/guits-ca_pipeline
Guillaume Abrioux [Wed, 9 Oct 2019 05:50:56 +0000 (07:50 +0200)]
Merge pull request #1409 from ceph/guits-ca_pipeline

ceph-ansible-prs: don't display podman job on github on stable-3.2

5 years agoceph-ansible-prs: don't display podman job on github on stable-3.2 1409/head
Guillaume Abrioux [Wed, 9 Oct 2019 05:10:46 +0000 (07:10 +0200)]
ceph-ansible-prs: don't display podman job on github on stable-3.2

This should avoid to display this job on the github status.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoteuthology: add more admins to allow testing pr 1408/head
Kyr Shatskyy [Tue, 8 Oct 2019 23:21:09 +0000 (01:21 +0200)]
teuthology: add more admins to allow testing pr

Since only one of the admins responds (gregsfortytwo) and
other do not react to new PRs at all, could please add
me (kshtsk) and Nathan (smithfarm) to admin list so we
can aprove pull requests testing for teuthology.

5 years agoMerge pull request #1407 from ceph/guits-ca_pipeline
Dimitri Savineau [Tue, 8 Oct 2019 16:15:47 +0000 (12:15 -0400)]
Merge pull request #1407 from ceph/guits-ca_pipeline

ceph-ansible: remove stable-3.1 testing

5 years agoceph-ansible: don't run podman on stable-3.2 1407/head
Guillaume Abrioux [Tue, 8 Oct 2019 16:12:09 +0000 (18:12 +0200)]
ceph-ansible: don't run podman on stable-3.2

skip podman job when target branch is stable-3.2 since it doesn't
support podman.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoceph-ansible-prs: specify which tox config file is used
Guillaume Abrioux [Tue, 8 Oct 2019 15:59:17 +0000 (17:59 +0200)]
ceph-ansible-prs: specify which tox config file is used

When throwing this error, the name can be different according to the
scenario name.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoceph-ansible: remove nightly jobs on stable-3.1
Guillaume Abrioux [Tue, 8 Oct 2019 15:58:11 +0000 (17:58 +0200)]
ceph-ansible: remove nightly jobs on stable-3.1

stable-3.1 has no more engineering efforts.
Let's remove testing on this branch.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoMerge pull request #1406 from ceph/guits-ca_pipeline
Dimitri Savineau [Tue, 8 Oct 2019 15:06:44 +0000 (11:06 -0400)]
Merge pull request #1406 from ceph/guits-ca_pipeline

ceph-ansible: remove pipeline

5 years agoceph-ansible: remove pipeline 1406/head
Guillaume Abrioux [Tue, 8 Oct 2019 13:51:46 +0000 (15:51 +0200)]
ceph-ansible: remove pipeline

The current pipeline is time consuming, it takes ~3h to complete all phases.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
5 years agoMerge pull request #1405 from rzarzynski/wip-crimson-use-release-build-type
Kefu Chai [Tue, 8 Oct 2019 12:10:46 +0000 (20:10 +0800)]
Merge pull request #1405 from rzarzynski/wip-crimson-use-release-build-type

ceph-perf-pull-requests: use Release builds for crimson perf testing.

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-perf-pull-requests: use Release builds for crimson perf testing. 1405/head
Radoslaw Zarzynski [Tue, 8 Oct 2019 11:50:52 +0000 (13:50 +0200)]
ceph-perf-pull-requests: use Release builds for crimson perf testing.

This patch is mostly intended to build Seastar without `SEASTAR_DEBUG`
flag to avoid impact on performance. There is actually a warnining in
`src/core/app-template.cc`:

  ```cpp
  #ifdef SEASTAR_DEBUG
      fmt::print("WARNING: debug mode. Not for benchmarking or production\n");
  #endif
  ```

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoosc: report osc build release correctly 1400/head
Kyr Shatskyy [Tue, 1 Oct 2019 16:53:40 +0000 (18:53 +0200)]
osc: report osc build release correctly

This patch addresses the issue when for osc build
it has been reporting always a distro version of
the host system for any branch. However the target
release should be reported to shaman instead.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
5 years agoMerge pull request #1404 from tchaikov/wip-el8
Kefu Chai [Sat, 5 Oct 2019 07:06:42 +0000 (15:06 +0800)]
Merge pull request #1404 from tchaikov/wip-el8

ceph-dev-new-*: build for CentOS8

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoceph-dev-new-build/build/setup_rpm: install python2 for el7 1404/head
Kefu Chai [Sat, 5 Oct 2019 02:43:11 +0000 (10:43 +0800)]
ceph-dev-new-build/build/setup_rpm: install python2 for el7

otherwise we will have

Traceback (most recent call last):
  File "/tmp/venv.pAISkJ09vG/bin/chacractl", line 6, in <module>
    main.ChacraCtl()
  File "/tmp/venv.pAISkJ09vG/lib/python3.6/site-packages/chacractl/main.py", line 38, in __init__
    self.main(argv)
  File "/tmp/venv.pAISkJ09vG/lib/python3.6/site-packages/chacractl/decorators.py", line 68, in newfunc
    return f(*a, **kw)
  File "/tmp/venv.pAISkJ09vG/lib/python3.6/site-packages/chacractl/main.py", line 82, in main
    parser.dispatch()
  File "/tmp/venv.pAISkJ09vG/lib/python3.6/site-packages/tambo/dispatcher.py", line 21, in dispatch
    result = instance.main()
  File "/tmp/venv.pAISkJ09vG/lib/python3.6/site-packages/chacractl/api/exists.py", line 62, in main
    return self.head(url)
  File "/tmp/venv.pAISkJ09vG/lib/python3.6/site-packages/chacractl/decorators.py", line 68, in newfunc
    return f(*a, **kw)
  File "/tmp/venv.pAISkJ09vG/lib/python3.6/site-packages/chacractl/util.py", line 65, in inner_wrapper
    for counter in xrange(times):
NameError: name 'xrange' is not defined

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-dev-new-build: do not 'cd ceph-*'
Kefu Chai [Fri, 4 Oct 2019 19:33:51 +0000 (03:33 +0800)]
ceph-dev-new-build: do not 'cd ceph-*'

on cenos8, we will have

$ cd ceph-15.0.0-5635-gda7c5f3 ceph-15.0.0-5635-gda7c5f3.tar.bz2 ceph-15.0.0-5635-gda7c5f3.tar.gz
/tmp/jenkins8338985937861239310.sh: line 1055: cd: too many arguments

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-dev-new-*: build for centos8
Kefu Chai [Fri, 4 Oct 2019 18:19:34 +0000 (02:19 +0800)]
ceph-dev-new-*: build for centos8

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-dev-new-build: enable PowerTools repo for EL8
Kefu Chai [Fri, 4 Oct 2019 18:18:05 +0000 (02:18 +0800)]
ceph-dev-new-build: enable PowerTools repo for EL8

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-dev-new-build: get RELEASE early
Kefu Chai [Fri, 4 Oct 2019 18:16:13 +0000 (02:16 +0800)]
ceph-dev-new-build: get RELEASE early

so we can use it when enabling more repos

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1401 from tchaikov/wip-python3
Kefu Chai [Fri, 4 Oct 2019 17:02:09 +0000 (01:02 +0800)]
Merge pull request #1401 from tchaikov/wip-python3

ceph-*-build: s/python36-devel/python3-devel/

Reviewed-by: Alfredo Deza <adeza@redhat.com>
5 years agoceph-*/config: add "shalow-clone: true" 1395/head
Kefu Chai [Wed, 2 Oct 2019 04:00:51 +0000 (12:00 +0800)]
ceph-*/config: add "shalow-clone: true"

for faster git clone

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-*/config/definition: add "honor-refspec: true"
Kefu Chai [Fri, 13 Sep 2019 16:07:59 +0000 (00:07 +0800)]
ceph-*/config/definition: add "honor-refspec: true"

for faster clone

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-pull-requests-arm64: use jjb settings instead of raw xml
Kefu Chai [Fri, 13 Sep 2019 16:14:53 +0000 (00:14 +0800)]
ceph-pull-requests-arm64: use jjb settings instead of raw xml

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoceph-*/config/definition: only pull the PR under test
Kefu Chai [Sat, 7 Sep 2019 06:53:26 +0000 (14:53 +0800)]
ceph-*/config/definition: only pull the PR under test

see
https://github.com/jenkinsci/ghprb-plugin/blob/master/README.md#creating-a-job

no need to pull all PR references of the remote repo. it'd be faster
just pull the references of a single PR. actually, what we need is but

- refs/pull/${pr}/head
- refs/pull/${pr}/merge

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1403 from ceph/wip-fix-kernel
David Galloway [Wed, 2 Oct 2019 20:36:37 +0000 (16:36 -0400)]
Merge pull request #1403 from ceph/wip-fix-kernel

kernel-trigger: Build any wip branch

5 years agoMerge pull request #1402 from ceph/wip-kernel-statuses
Alfredo Deza [Wed, 2 Oct 2019 20:33:04 +0000 (16:33 -0400)]
Merge pull request #1402 from ceph/wip-kernel-statuses

kernel: Report build statuses to shaman

5 years agokernel-trigger: Build any wip branch 1403/head
David Galloway [Wed, 2 Oct 2019 18:42:41 +0000 (14:42 -0400)]
kernel-trigger: Build any wip branch

I honestly don't know why this works and origin/wip* didn't but here we are.

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agokernel: Report build status to shaman 1402/head
David Galloway [Wed, 2 Oct 2019 17:20:02 +0000 (13:20 -0400)]
kernel: Report build status to shaman

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agokernel: Update shaman status on failed build
David Galloway [Wed, 2 Oct 2019 17:18:41 +0000 (13:18 -0400)]
kernel: Update shaman status on failed build

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoceph-*-build: s/python36-devel/python3-devel/ 1401/head
Kefu Chai [Wed, 2 Oct 2019 03:48:25 +0000 (11:48 +0800)]
ceph-*-build: s/python36-devel/python3-devel/

to silence the warning of

Package python36-devel is obsoleted by python3-devel, trying to install
python3-devel-3.6.8-10.el7.x86_64

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #1399 from ceph/wip-kernel-usercopy-and-ceph-labels
Ilya Dryomov [Tue, 24 Sep 2019 09:24:26 +0000 (11:24 +0200)]
Merge pull request #1399 from ceph/wip-kernel-usercopy-and-ceph-labels

kernel: enable CONFIG_HARDENED_USERCOPY and CONFIG_CEPH_FS_SECURITY_LABEL

6 years agokernel: enable CONFIG_CEPH_FS_SECURITY_LABEL 1399/head
Ilya Dryomov [Tue, 24 Sep 2019 08:40:35 +0000 (10:40 +0200)]
kernel: enable CONFIG_CEPH_FS_SECURITY_LABEL

New in kernel 5.3.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
6 years agokernel: enable CONFIG_HARDENED_USERCOPY
Ilya Dryomov [Tue, 24 Sep 2019 08:40:35 +0000 (10:40 +0200)]
kernel: enable CONFIG_HARDENED_USERCOPY

This is something we had to work around in libceph, see linux.git
commit 7e241f647dc7 ("libceph: fall back to sendmsg for slab pages").
It is enabled by default in many distros.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
6 years agoMerge pull request #1398 from ceph/wip-build-wips-in-ceph-client
Ilya Dryomov [Mon, 23 Sep 2019 19:25:27 +0000 (21:25 +0200)]
Merge pull request #1398 from ceph/wip-build-wips-in-ceph-client

kernel: update the trigger list

6 years agokernel: update the trigger list 1398/head
Ilya Dryomov [Mon, 23 Sep 2019 18:28:36 +0000 (20:28 +0200)]
kernel: update the trigger list

We didn't trigger on wip* branches like other ceph projects because
there was a lot of old branches matching that mask in the repository.
Now that they are cleaned up, drop the workarounds (testing*/master*)
and add wip*.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
6 years agoMerge pull request #1397 from ceph/repo-cleanup
David Galloway [Wed, 18 Sep 2019 20:08:23 +0000 (16:08 -0400)]
Merge pull request #1397 from ceph/repo-cleanup

clean up shaman repos left behind after a build

6 years agotcmu-runner: remove custom shaman repos added after a build 1397/head
Alfredo Deza [Wed, 18 Sep 2019 19:58:38 +0000 (15:58 -0400)]
tcmu-runner: remove custom shaman repos added after a build

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agonfs-ganesha-stable: remove custom repo/list configuration files added
Alfredo Deza [Wed, 18 Sep 2019 19:57:23 +0000 (15:57 -0400)]
nfs-ganesha-stable: remove custom repo/list configuration files added

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #1396 from ceph/wip-centos-sclo-rh-source-skip
Alfredo Deza [Wed, 18 Sep 2019 19:43:05 +0000 (15:43 -0400)]
Merge pull request #1396 from ceph/wip-centos-sclo-rh-source-skip

ceph-*-build: skip unavailable repo when yum-builddep

6 years agoceph-*-build: skip unavailable repo when yum-builddep 1396/head
Brad Hubbard [Wed, 18 Sep 2019 07:12:22 +0000 (17:12 +1000)]
ceph-*-build: skip unavailable repo when yum-builddep

As centos-sclo-rh-source leads us to 404 at this moment. and we are not
using the source repo for building ceph. so we can just skip any
unavailable repo.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
6 years agoMerge pull request #1394 from ceph/revert-scm-changes
Andrew Schoen [Thu, 12 Sep 2019 20:06:12 +0000 (15:06 -0500)]
Merge pull request #1394 from ceph/revert-scm-changes

Revert "*/scm: only pull the PR under test"

6 years agoRevert "*/scm: only pull the PR under test" 1394/head
Alfredo Deza [Thu, 12 Sep 2019 20:02:08 +0000 (16:02 -0400)]
Revert "*/scm: only pull the PR under test"

This reverts commit 4eae5698a6a1383c69338ec7781e4cee6c087a9f.

It breaks all pull-request jobs for ceph-volume at least, haven't been
able to investigate all other affected

6 years agoMerge pull request #1393 from tchaikov/wip-crimson-perf
Alfredo Deza [Thu, 12 Sep 2019 16:36:46 +0000 (12:36 -0400)]
Merge pull request #1393 from tchaikov/wip-crimson-perf

ceph-perf-pull-requests: add ceph-perf-pull-requests

6 years agoMerge pull request #1392 from tchaikov/wip-scm-refspec
Alfredo Deza [Thu, 12 Sep 2019 16:29:53 +0000 (12:29 -0400)]
Merge pull request #1392 from tchaikov/wip-scm-refspec

*/scm: only pull the PR under test

6 years agoceph-perf-pull-requests: add ceph-perf-pull-requests 1393/head
Kefu Chai [Thu, 5 Sep 2019 07:29:49 +0000 (15:29 +0800)]
ceph-perf-pull-requests: add ceph-perf-pull-requests

for running cbt test against PR and master, then comparing them

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #1378 from dmick/wip-dmick
Alfredo Deza [Mon, 9 Sep 2019 22:53:31 +0000 (18:53 -0400)]
Merge pull request #1378 from dmick/wip-dmick

Add container builds using ceph-container.git for centos7

6 years agoMerge pull request #1391 from hjensas/issue#1390
Dimitri Savineau [Mon, 9 Sep 2019 14:34:47 +0000 (10:34 -0400)]
Merge pull request #1391 from hjensas/issue#1390

pr-syntax-check - install all requirements

6 years agopr-syntax-check - install all requirements 1391/head
Harald Jensås [Fri, 6 Sep 2019 18:16:36 +0000 (20:16 +0200)]
pr-syntax-check - install all requirements

This change removes the grep for 'ansible' when installing
requirements in ceph-ansible-pr-syntax-check. The grep
cause onlye the ansible requirement to be installed, ignoring
the other packages. This causes an issue in PR[1] which
introduce a filter plugin that depend on the netaddr package.

[1] https://github.com/ceph/ceph-ansible/pull/4339

Closes: #1390
Signed-off-by: Harald Jensås <hjensas@redhat.com>
6 years agoceph-build-pull-requests: pass --config-xml to "jenkins-jobs test" 1392/head
Kefu Chai [Sat, 7 Sep 2019 17:59:09 +0000 (01:59 +0800)]
ceph-build-pull-requests: pass --config-xml to "jenkins-jobs test"

to silence warnings like

WARNING:jenkins_jobs.cli.subcommand.test:(Deprecated) The default output
behavior of `jenkins-jobs test` when given the --output flag will change
in JJB 3.0. Instead of writing jobs to OUTPUT/jobname; they will be
written to OUTPUT/jobname/config.xml. The new behavior can be enabled by
the passing `--config-xml` parameter.

also redirect the test result to /dev/null, otherwise the test will fail
because the output directory may already exist.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoceph-build-pull-requests: ping jjb to 3.0.2
Kefu Chai [Sat, 7 Sep 2019 17:47:40 +0000 (01:47 +0800)]
ceph-build-pull-requests: ping jjb to 3.0.2

bump jjb's version

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years ago*/scm: only pull the PR under test
Kefu Chai [Sat, 7 Sep 2019 06:53:26 +0000 (14:53 +0800)]
*/scm: only pull the PR under test

see
https://github.com/jenkinsci/ghprb-plugin/blob/master/README.md#creating-a-job

no need to pull all PR references of the remote repo. it'd be faster
just pull the references of a single PR. actually, what we need is but

- refs/pull/${pr}/head
- refs/pull/${pr}/merge

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #1389 from tchaikov/wip-python-rpm-macro
Kefu Chai [Sat, 7 Sep 2019 00:57:43 +0000 (08:57 +0800)]
Merge pull request #1389 from tchaikov/wip-python-rpm-macro

ceph-*build: install python36-devel for rpm macros

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-*build: install python36-devel for rpm macros 1389/head
Kefu Chai [Thu, 5 Sep 2019 15:48:20 +0000 (23:48 +0800)]
ceph-*build: install python36-devel for rpm macros

see also 100a0fb5
see also https://github.com/ceph/ceph/pull/30190

Fixes: https://tracker.ceph.com/issues/41603
Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoConditionally add container builds for wip- branches 1378/head
Dan Mick [Sat, 24 Aug 2019 04:30:24 +0000 (21:30 -0700)]
Conditionally add container builds for wip- branches

New parameter CI_CONTAINER ('true' or 'false') controls behavior;
if set to 'true', ceph-container.git will be used to build a centos7
daemon-base default flavor container and push it to a repo server.
This requires waiting until the shaman repo is built.

New parameters CONTAINER_REPO_{HOSTNAME, ORGANIZATION} set where
to push the resultant container.

If repo doesn't become ready or if the actual build/push fails, don't
fail the overall build.  Maybe we can come up with a better way
to indicate this than just a log notation

Signed-off-by: Dan Mick <dan.mick@redhat.com>
6 years agoceph-dev-new-build: add quay.io credentials for cephci repo
Dan Mick [Sat, 24 Aug 2019 04:20:20 +0000 (21:20 -0700)]
ceph-dev-new-build: add quay.io credentials for cephci repo

Signed-off-by: Dan Mick <dan.mick@redhat.com>
6 years agoceph-dev-new-*: add CONTAINER_BRANCH and check it out
Dan Mick [Sat, 24 Aug 2019 04:19:40 +0000 (21:19 -0700)]
ceph-dev-new-*: add CONTAINER_BRANCH and check it out

In case a container build is needed, check out $CONTAINER_BRANCH
of ceph-container.git to use to build it

Signed-off-by: Dan Mick <dan.mick@redhat.com>
6 years agoMerge pull request #1388 from ceph/prune-fix
Alfredo Deza [Wed, 4 Sep 2019 13:06:53 +0000 (09:06 -0400)]
Merge pull request #1388 from ceph/prune-fix

scripts: use a loop instead of globbing directly

6 years agoscripts: use a loop instead of globbing directly 1388/head
Alfredo Deza [Wed, 4 Sep 2019 12:53:00 +0000 (08:53 -0400)]
scripts: use a loop instead of globbing directly

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #1387 from tchaikov/wip=40646
Alfredo Deza [Tue, 3 Sep 2019 12:28:36 +0000 (08:28 -0400)]
Merge pull request #1387 from tchaikov/wip=40646

Revert "ceph-*build/build/setup_rpm: downgrade to gcc-c++-8.2.1"

6 years agoRevert "ceph-*build/build/setup_rpm: downgrade to gcc-c++-8.2.1" 1387/head
Kefu Chai [Tue, 3 Sep 2019 06:13:52 +0000 (14:13 +0800)]
Revert "ceph-*build/build/setup_rpm: downgrade to gcc-c++-8.2.1"

This reverts commit cf2c26b181a86738e2a8bb17545f45d6aa1c7c45.

since https://bugzilla.redhat.com/show_bug.cgi?id=1726630 has been
fixed. and we have devtoolset-8-gcc-c++-8.3.1-3.1.el7.x86_64.rpm.

no reason to stick to devtoolset-8-gcc-c++-8.2.1-3 anymore.

Fixes: https://tracker.ceph.com/issues/40646
Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #1386 from ceph/prune-fix
Alfredo Deza [Fri, 30 Aug 2019 17:32:10 +0000 (13:32 -0400)]
Merge pull request #1386 from ceph/prune-fix

scripts: can't use globbing with quotes

6 years agoscripts: can't use globbing with quotes 1386/head
Alfredo Deza [Fri, 30 Aug 2019 17:28:20 +0000 (13:28 -0400)]
scripts: can't use globbing with quotes

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #1385 from ceph/prune-fix
Kefu Chai [Fri, 30 Aug 2019 13:04:16 +0000 (21:04 +0800)]
Merge pull request #1385 from ceph/prune-fix

scripts: do not specify directories with find -delete, rm the path

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoscripts: do not specify directories with find -delete, rm the path 1385/head
Alfredo Deza [Fri, 30 Aug 2019 13:00:01 +0000 (09:00 -0400)]
scripts: do not specify directories with find -delete, rm the path

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #1383 from ceph/prune-fix
Kefu Chai [Fri, 30 Aug 2019 12:49:48 +0000 (20:49 +0800)]
Merge pull request #1383 from ceph/prune-fix

scripts: use find's -delete option to prevent 'argument too long'

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoscripts: use find's -delete option to prevent 'argument too long' 1383/head
Alfredo Deza [Thu, 29 Aug 2019 20:15:53 +0000 (16:15 -0400)]
scripts: use find's -delete option to prevent 'argument too long'

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #1382 from ceph/fix-cv-tox
David Galloway [Wed, 28 Aug 2019 13:14:41 +0000 (09:14 -0400)]
Merge pull request #1382 from ceph/fix-cv-tox

ceph-volume-pr: remove escape which doubles the curly brackets

6 years agoceph-volume-pr: remove escape which doubles the curly brackes resulting in syntax... 1382/head
Alfredo Deza [Wed, 28 Aug 2019 12:21:33 +0000 (08:21 -0400)]
ceph-volume-pr: remove escape which doubles the curly brackes resulting in syntax errors

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #1381 from ceph/submodules-wipe
David Galloway [Mon, 26 Aug 2019 16:11:41 +0000 (12:11 -0400)]
Merge pull request #1381 from ceph/submodules-wipe

ceph-pr-submodules: wipe the workspace to prevent repo corruption

6 years agoceph-pr-submodules: wipe the workspace to prevent repo corruption 1381/head
Alfredo Deza [Mon, 26 Aug 2019 15:55:12 +0000 (11:55 -0400)]
ceph-pr-submodules: wipe the workspace to prevent repo corruption

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #1380 from ceph/ceph-signed-wipe
David Galloway [Mon, 26 Aug 2019 13:26:03 +0000 (09:26 -0400)]
Merge pull request #1380 from ceph/ceph-signed-wipe

ceph-pr-commits: wipe workspace to prevent repo corruption

6 years agoceph-pr-commits: wipe workspace to prevent repo corruption 1380/head
Alfredo Deza [Mon, 26 Aug 2019 13:22:30 +0000 (09:22 -0400)]
ceph-pr-commits: wipe workspace to prevent repo corruption

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #1377 from ceph/ceph-volume-cleanup
David Galloway [Mon, 26 Aug 2019 12:27:33 +0000 (08:27 -0400)]
Merge pull request #1377 from ceph/ceph-volume-cleanup

ceph-volume: cleanup workspace before running tests

6 years agoceph-volume use wipe-workspace in Git to cleanup before running 1377/head
Alfredo Deza [Mon, 26 Aug 2019 11:53:40 +0000 (07:53 -0400)]
ceph-volume use wipe-workspace in Git to cleanup before running

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #1379 from ceph/wip-signed-master
Alfredo Deza [Mon, 26 Aug 2019 10:50:31 +0000 (06:50 -0400)]
Merge pull request #1379 from ceph/wip-signed-master

ceph-pr-commits: add trigger phrase

6 years agoceph-pr-commits: add trigger phrase 1379/head
Ernesto Puerta [Mon, 26 Aug 2019 09:09:28 +0000 (11:09 +0200)]
ceph-pr-commits: add trigger phrase

When Jenkins fails to clone a branch, signed-off checks will fail. If
all other checks have passed, there's no reason to force a full run of
Jenkins jobs again on that PR. This PR introduces `jenkins test signed`
trigger phrase to allow re-running the pr-commit check.

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
6 years agoMerge pull request #1376 from ceph/wip-enable-leap15
David Galloway [Fri, 23 Aug 2019 14:07:45 +0000 (10:07 -0400)]
Merge pull request #1376 from ceph/wip-enable-leap15

enable leap15 for ceph-dev-trigger and ceph-dev-new-trigger