ceph-build.git
3 years agoceph-dashboard-pull-requests: install python3 packages only 1784/head
Kefu Chai [Tue, 30 Mar 2021 11:59:00 +0000 (19:59 +0800)]
ceph-dashboard-pull-requests: install python3 packages only

since we've moved to ubuntu focal for running "make check", "ceph-dashboard-pull-requests"
and "ceph-pr-api" tests. and ubuntu focal does not package python2 packages
for python-scipy or python-routes. let's just install the python3
packages.

this change is related to nautilus builds. because nautilus is the last
release which supports python2.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1783 from tchaikov/wip-api-test-python2
Kefu Chai [Tue, 30 Mar 2021 08:51:44 +0000 (16:51 +0800)]
Merge pull request #1783 from tchaikov/wip-api-test-python2

ceph-{api-nightly,pr-api}: install python3 packages on debian derivat…

Reviewed-by: Laura Paduano <lpaduano@suse.com>
3 years agoceph-{api-nightly,pr-api}: install python3 packages on debian derivatives 1783/head
Kefu Chai [Tue, 30 Mar 2021 02:57:43 +0000 (10:57 +0800)]
ceph-{api-nightly,pr-api}: install python3 packages on debian derivatives

since we've moved to ubuntu focal for running "make check" and
"ceph-pr-api" tests. and ubuntu focal does not package python2 packages
for python-scipy or python-routes. let's just install the python3
packages.

this change is related to nautilus builds. because nautilus is the last
release which supports python2.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1778 from dmick/wip-tcmu-runner-arm64
Dan Mick [Tue, 30 Mar 2021 01:10:41 +0000 (18:10 -0700)]
Merge pull request #1778 from dmick/wip-tcmu-runner-arm64

tcmu-runner: add arm64

3 years agoMerge pull request #1779 from tchaikov/wip-pr-ctest
Kefu Chai [Thu, 25 Mar 2021 12:22:06 +0000 (20:22 +0800)]
Merge pull request #1779 from tchaikov/wip-pr-ctest

ceph-pull-requests: use XUnit for publishing the test result of ctest

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoceph-pr-commits: remove non-ascii char 1779/head
Kefu Chai [Thu, 25 Mar 2021 10:55:45 +0000 (18:55 +0800)]
ceph-pr-commits: remove non-ascii char

otherwise `jenkins-jobs test` fails when reading it in non-utf-8 locale,

Traceback (most recent call last):
  File "/tmp/venv.KVnqGXyZ3a/bin/jenkins-jobs", line 8, in <module>
    sys.exit(main())
  File "/tmp/venv.KVnqGXyZ3a/lib/python3.6/site-packages/jenkins_jobs/cli/entry.py", line 165, in main
    jjb.execute()
  File "/tmp/venv.KVnqGXyZ3a/lib/python3.6/site-packages/jenkins_jobs/cli/entry.py", line 146, in execute
    ext.obj.execute(self.options, self.jjb_config)
  File "/tmp/venv.KVnqGXyZ3a/lib/python3.6/site-packages/jenkins_jobs/cli/subcommand/test.py", line 66, in execute
    config_xml=options.config_xml)
  File "/tmp/venv.KVnqGXyZ3a/lib/python3.6/site-packages/jenkins_jobs/builder.py", line 279, in update_jobs
    output.write(job.output())
  File "/tmp/venv.KVnqGXyZ3a/lib/python3.6/codecs.py", line 836, in write
    return self.writer.write(data)
  File "/tmp/venv.KVnqGXyZ3a/lib/python3.6/codecs.py", line 376, in write
    data, consumed = self.encode(object, self.errors)
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2014' in position 57823: ordinal not in range(256)

before this change:

$ iconv -f ascii -t ascii < ./ceph-pr-commits/build/build
...
input sequence at position 197

after this change,

$ iconv -f ascii -t ascii < ./ceph-pr-commits/build/build

finishes without issues.

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoceph-pull-requests: use XUnit for publishing the test result of ctest
Kefu Chai [Thu, 25 Mar 2021 09:15:44 +0000 (17:15 +0800)]
ceph-pull-requests: use XUnit for publishing the test result of ctest

for better developer experience

Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agotcmu-runner: add arm64 1778/head
Dan Mick [Tue, 23 Mar 2021 02:23:17 +0000 (19:23 -0700)]
tcmu-runner: add arm64

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoMerge pull request #1775 from ceph/wip-nomore10
David Galloway [Thu, 18 Mar 2021 20:34:43 +0000 (16:34 -0400)]
Merge pull request #1775 from ceph/wip-nomore10

build_utils: Start using pip 21.0.1 instead of 10.0.0

3 years agobuild_utils: Start using pip 20.3.4 instead of 10.0.0 1775/head
David Galloway [Thu, 18 Mar 2021 19:09:20 +0000 (15:09 -0400)]
build_utils: Start using pip 20.3.4 instead of 10.0.0

Started seeing
```
+ /tmp/venv.ivc8u2qcCO/bin/pip install --no-binary=:all: --upgrade --exists-action=i --find-links=file:///home/jenkins-build/.cache/pip --no-index 'jenkins-job-builder>=3.5.0'
Looking in links: file:///home/jenkins-build/.cache/pip
Collecting jenkins-job-builder>=3.5.0
Collecting six>=1.9.0 (from jenkins-job-builder>=3.5.0)
Collecting PyYAML<6,>=3.10.0 (from jenkins-job-builder>=3.5.0)
  Could not find a version that satisfies the requirement wheel (from versions: )
No matching distribution found for wheel
```

Even 21.0.1 on Ubuntu 16.04 was failing.  It's just time to pin a newer version.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1774 from ceph/wip-preferpy3
Dan Mick [Thu, 18 Mar 2021 20:10:37 +0000 (13:10 -0700)]
Merge pull request #1774 from ceph/wip-preferpy3

build_utils.sh: Prefer python3 instead of python2 for virtualenvs

3 years agoMerge pull request #1709 from ceph/wip-login-dockerhub
David Galloway [Thu, 18 Mar 2021 19:59:54 +0000 (15:59 -0400)]
Merge pull request #1709 from ceph/wip-login-dockerhub

ceph*build: Login to docker.io if needed

3 years agoMerge pull request #1761 from ceph/wip-spc
David Galloway [Thu, 18 Mar 2021 19:53:44 +0000 (15:53 -0400)]
Merge pull request #1761 from ceph/wip-spc

ansible: Install software-properties-common on deb builders

3 years agoMerge pull request #1769 from ceph/wip-use-network
David Galloway [Thu, 18 Mar 2021 19:45:21 +0000 (15:45 -0400)]
Merge pull request #1769 from ceph/wip-use-network

build_utils: Use network in pbuilder env

3 years agoMerge pull request #1773 from ceph/wip-or-pacific
David Galloway [Thu, 18 Mar 2021 19:37:37 +0000 (15:37 -0400)]
Merge pull request #1773 from ceph/wip-or-pacific

build_utils: Don't build pacific containers for el7

3 years agoMerge pull request #1772 from ceph/wip-oh-noes
David Galloway [Thu, 18 Mar 2021 19:26:11 +0000 (15:26 -0400)]
Merge pull request #1772 from ceph/wip-oh-noes

sync-push: Print releases in order

3 years agoMerge pull request #1776 from ceph/wip-laterjjb
David Galloway [Thu, 18 Mar 2021 19:23:54 +0000 (15:23 -0400)]
Merge pull request #1776 from ceph/wip-laterjjb

ceph-build-pull-requests: Use newer jjb

3 years agoceph-build-pull-requests: Use newer jjb 1776/head
David Galloway [Thu, 18 Mar 2021 19:12:29 +0000 (15:12 -0400)]
ceph-build-pull-requests: Use newer jjb

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agobuild_utils.sh: Prefer python3 instead of python2 for virtualenvs 1774/head
David Galloway [Thu, 4 Mar 2021 14:51:56 +0000 (09:51 -0500)]
build_utils.sh: Prefer python3 instead of python2 for virtualenvs

https://github.com/ceph/ceph-build/blob/master/scripts/build_utils.sh#L94-L105

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agobuild_utils: Don't build pacific containers for el7 1773/head
David Galloway [Thu, 18 Mar 2021 17:46:48 +0000 (13:46 -0400)]
build_utils: Don't build pacific containers for el7

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agosync-push: Print releases in order 1772/head
David Galloway [Thu, 18 Mar 2021 16:06:23 +0000 (12:06 -0400)]
sync-push: Print releases in order

Previous directory listing behavior:

```
octopus-15.2.10
octopus-15.2.4
octopus-15.2.5
octopus-15.2.6
octopus-15.2.7
octopus-15.2.8
octopus-15.2.9
```

Desired (and current with this PR) listing behavior:

```
octopus-15.2.4
octopus-15.2.5
octopus-15.2.6
octopus-15.2.7
octopus-15.2.8
octopus-15.2.9
octopus-15.2.10
```

This wasn't discovered until now because the `$newgen` stuff I do in this script only applies to Octopus for now.  Octopus only had single digit minor release versions (15.x.{1..9}) until 15.2.10.  The symlink didn't get updated to download.ceph.com/rpm-octopus still pointed to download.ceph.com/rpm-15.2.9 since it was last in the directory listing.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1767 from ceph/drop-3.2-5.0
Guillaume Abrioux [Thu, 18 Mar 2021 05:41:32 +0000 (06:41 +0100)]
Merge pull request #1767 from ceph/drop-3.2-5.0

ceph-ansible: drop stable-3.2 and stable-5.0 nightlies

3 years agoMerge pull request #1771 from ceph/wip-pip3
Dan Mick [Thu, 18 Mar 2021 02:06:04 +0000 (19:06 -0700)]
Merge pull request #1771 from ceph/wip-pip3

Revert "build_utils.sh: Prefer python3 instead of python2 for virtual envs

3 years agoRevert "build_utils.sh: Prefer python3 instead of python2 for virtualenvs" 1771/head
David Galloway [Wed, 17 Mar 2021 23:57:41 +0000 (19:57 -0400)]
Revert "build_utils.sh: Prefer python3 instead of python2 for virtualenvs"

This reverts commit 58afbde0aead09adc1f7af06e8491670e1acd614.

3 years agobuild_utils: Use network in pbuilder env 1769/head
David Galloway [Wed, 17 Mar 2021 20:42:23 +0000 (16:42 -0400)]
build_utils: Use network in pbuilder env

Not sure what happened between 0.229.1 vs 0.230.4 but seems `--use-network no` is now the default.  Discovered on a Focal builder.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1766 from ceph/wip-prefer-py3
David Galloway [Wed, 17 Mar 2021 18:31:31 +0000 (14:31 -0400)]
Merge pull request #1766 from ceph/wip-prefer-py3

build_utils.sh: Prefer python3 instead of python2 for virtualenvs

3 years agoceph-ansible: drop stable-3.2 and stable-5.0 nightlies 1767/head
Guillaume Abrioux [Wed, 17 Mar 2021 15:25:20 +0000 (16:25 +0100)]
ceph-ansible: drop stable-3.2 and stable-5.0 nightlies

stable-3.2 no longer receives patches
stable-5.0 won't be productized

there so few CI resources allocated to ceph-ansible that we can't
affoard testing all of this.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1764 from tchaikov/wip-ceph-pull-request-kill-tests
Kefu Chai [Wed, 17 Mar 2021 14:13:39 +0000 (22:13 +0800)]
Merge pull request #1764 from tchaikov/wip-ceph-pull-request-kill-tests

ceph-pull-requests: kill orphan processes after job is aborted

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoceph-pull-requests: kill orphan processes after job is aborted 1764/head
Kefu Chai [Wed, 17 Mar 2021 11:22:36 +0000 (19:22 +0800)]
ceph-pull-requests: kill orphan processes after job is aborted

Fixes: https://tracker.ceph.com/issues/47830
Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agoMerge pull request #1763 from ceph/fix_ganesha_builds
Guillaume Abrioux [Wed, 17 Mar 2021 10:36:03 +0000 (11:36 +0100)]
Merge pull request #1763 from ceph/fix_ganesha_builds

nfs-ganesha: fix wrong url for setting REPO_URL

3 years agonfs-ganesha: fix wrong url for setting REPO_URL 1763/head
Guillaume Abrioux [Wed, 17 Mar 2021 10:29:50 +0000 (11:29 +0100)]
nfs-ganesha: fix wrong url for setting REPO_URL

7173ede7ec472b555c137093cb30e272ce1868cd was an attempt to fix the
nfs-ganesha job but it's using the wrong url. This commit fixes it.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1762 from ceph/fix_ganesha_builds
Guillaume Abrioux [Wed, 17 Mar 2021 10:13:06 +0000 (11:13 +0100)]
Merge pull request #1762 from ceph/fix_ganesha_builds

nfs-ganesha: fix devel builds

3 years agonfs-ganesha: fix devel builds 1762/head
Guillaume Abrioux [Wed, 17 Mar 2021 10:06:16 +0000 (11:06 +0100)]
nfs-ganesha: fix devel builds

since recent changes in shaman, the query for setting `REPO_URL` must be
updated.
This should fix the builds that are currently broken.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1688 from ceph/wip-force-vagrant
Guillaume Abrioux [Wed, 17 Mar 2021 06:24:37 +0000 (07:24 +0100)]
Merge pull request #1688 from ceph/wip-force-vagrant

ansible: New playbook to force reinstall vagrant on CentOS8

3 years agoMerge pull request #1760 from ceph/new-c-v-maintainer
Guillaume Abrioux [Mon, 15 Mar 2021 12:58:02 +0000 (13:58 +0100)]
Merge pull request #1760 from ceph/new-c-v-maintainer

swap ceph-volume maintainers

3 years agoansible: Install software-properties-common on deb builders 1761/head
David Galloway [Thu, 11 Mar 2021 19:17:03 +0000 (14:17 -0500)]
ansible: Install software-properties-common on deb builders

Provides `add-apt-repository`

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1759 from dmick/wip-arm
David Galloway [Thu, 11 Mar 2021 18:48:58 +0000 (13:48 -0500)]
Merge pull request #1759 from dmick/wip-arm

prune-quay.py: Provision for aarch64 containers, manifest lists, minor improvements

3 years agoswap ceph-volume maintainers 1760/head
Jan Fajerski [Tue, 9 Mar 2021 12:29:27 +0000 (13:29 +0100)]
swap ceph-volume maintainers

Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
3 years agoprune-quay.py: don't try to examine manifest-list tags 1759/head
Dan Mick [Mon, 8 Mar 2021 20:33:04 +0000 (12:33 -0800)]
prune-quay.py: don't try to examine manifest-list tags

They don't have image_ids, so don't consider them for "same as"
comparisons

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoprune-quay.py: reinstate verbose log about form of tag
Dan Mick [Mon, 8 Mar 2021 20:31:48 +0000 (12:31 -0800)]
prune-quay.py: reinstate verbose log about form of tag

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoprune-quay.py: parse and hold possible arch value
Dan Mick [Mon, 8 Mar 2021 19:53:25 +0000 (11:53 -0800)]
prune-quay.py: parse and hold possible arch value

currently only for debugging ease; may be useful in future

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoprune-quay.py: handle aarch64 images
Dan Mick [Thu, 4 Mar 2021 19:52:10 +0000 (11:52 -0800)]
prune-quay.py: handle aarch64 images

3 years agoprune-quay.py: limit shaman search to ceph project
Dan Mick [Thu, 4 Mar 2021 19:51:04 +0000 (11:51 -0800)]
prune-quay.py: limit shaman search to ceph project

Some of the searches were broad enough to find hits in other projects

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agobuild_utils.sh: Prefer python3 instead of python2 for virtualenvs wip-prefer-py3 1766/head
David Galloway [Thu, 4 Mar 2021 14:51:56 +0000 (09:51 -0500)]
build_utils.sh: Prefer python3 instead of python2 for virtualenvs

https://github.com/ceph/ceph-build/blob/master/scripts/build_utils.sh#L94-L105

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1758 from ceph/wip-tmpreaper-notimeout
adam kraitman [Thu, 4 Mar 2021 14:14:58 +0000 (16:14 +0200)]
Merge pull request #1758 from ceph/wip-tmpreaper-notimeout

ansible: Disable timeout on tmp{watch,reaper}

3 years agoansible: Disable timeout on tmp{watch,reaper} 1758/head
David Galloway [Thu, 4 Mar 2021 13:45:14 +0000 (08:45 -0500)]
ansible: Disable timeout on tmp{watch,reaper}

From the man page:

```
       -T x, --runtime=x
              Execution of tmpreaper will aborted after x seconds; this is to prevent attacks that create many, many files.  By default the timeout is set to 55 seconds.  A value of 0 will disable this feature, which is not advised as this feature prevents possible
              race-conditions between different instances of tmpreaper.
```

So tmpreaper wasn't running for the past week since I set this up because there was so much to clean up that it'd time out.  These are Jenkins builders where the primary user already has sudo access so there's no real use to locking down tmpreaper.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1757 from ceph/ceph_ansible_nightly_pacific_centos_release
Dimitri Savineau [Thu, 4 Mar 2021 02:41:55 +0000 (21:41 -0500)]
Merge pull request #1757 from ceph/ceph_ansible_nightly_pacific_centos_release

ceph_ansible_nightly: add pacific centos release

3 years agoceph_ansible_nightly: add pacific centos release 1757/head
Dimitri Savineau [Thu, 4 Mar 2021 02:36:43 +0000 (21:36 -0500)]
ceph_ansible_nightly: add pacific centos release

This adds Pacific release based on CentOS 8 like Octopus.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoMerge pull request #1756 from ceph/wip-win32-build
Jason Dillaman [Tue, 2 Mar 2021 22:23:16 +0000 (17:23 -0500)]
Merge pull request #1756 from ceph/wip-win32-build

ceph-dev-new-build: cleanup root-owned mingw64 pbuilder environment

Reviewed-by: David Galloway <dgallowa@redhat.com>
3 years agoceph-dev-new-build: cleanup root-owned mingw64 pbuilder environment 1756/head
Jason Dillaman [Tue, 2 Mar 2021 18:08:49 +0000 (13:08 -0500)]
ceph-dev-new-build: cleanup root-owned mingw64 pbuilder environment

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
3 years agoMerge pull request #1754 from ceph/wip-win32-build-trigger
Jason Dillaman [Tue, 2 Mar 2021 14:39:21 +0000 (09:39 -0500)]
Merge pull request #1754 from ceph/wip-win32-build-trigger

ceph-dev-new-trigger: build windows for pacific and master

3 years agoMerge pull request #1755 from petrutlucian94/win_pbuilder
Jason Dillaman [Tue, 2 Mar 2021 14:15:05 +0000 (09:15 -0500)]
Merge pull request #1755 from petrutlucian94/win_pbuilder

ceph-dev-new-build: cross-compile Windows targets using pbuilder

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
3 years agoceph-dev-new-build: cross-compile Windows targets using pbuilder 1755/head
Lucian Petrut [Tue, 2 Mar 2021 08:44:19 +0000 (10:44 +0200)]
ceph-dev-new-build: cross-compile Windows targets using pbuilder

The Windows builds that are generated right now are unusable due to
known Mingw runtime bugs.

We need Ubuntu Focal or later, for which reason we're going to use
pbuilder.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
3 years agoMerge pull request #1753 from ceph/wip-win32-build
Jason Dillaman [Fri, 26 Feb 2021 00:57:58 +0000 (19:57 -0500)]
Merge pull request #1753 from ceph/wip-win32-build

ceph-dev-new-build: tweak chacra binary and repo endpoints for windows

3 years agoceph-dev-new-build: use dynamic chacra url for windows build 1753/head
Jason Dillaman [Fri, 26 Feb 2021 00:54:47 +0000 (19:54 -0500)]
ceph-dev-new-build: use dynamic chacra url for windows build

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
3 years agoceph-dev-new-trigger: build windows for pacific and master 1754/head
Jason Dillaman [Thu, 25 Feb 2021 19:14:40 +0000 (14:14 -0500)]
ceph-dev-new-trigger: build windows for pacific and master

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
3 years agoceph-dev-new-build: tweak chacra binary and repo endpoints for windows
Jason Dillaman [Thu, 25 Feb 2021 19:11:24 +0000 (14:11 -0500)]
ceph-dev-new-build: tweak chacra binary and repo endpoints for windows

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
3 years agoMerge pull request #1752 from ceph/wip-win32-build
Jason Dillaman [Thu, 25 Feb 2021 18:26:02 +0000 (13:26 -0500)]
Merge pull request #1752 from ceph/wip-win32-build

ceph-dev-new-build: extract artifacts prior to attempting windows build

3 years agoceph-dev-new-build: extract artifacts prior to attempting windows build 1752/head
Jason Dillaman [Thu, 25 Feb 2021 18:19:57 +0000 (13:19 -0500)]
ceph-dev-new-build: extract artifacts prior to attempting windows build

Also fixed the chacra endpoints to be consistent between the setup and
build steps.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
3 years agoMerge pull request #1751 from ceph/wip-win32-build
Jason Dillaman [Thu, 25 Feb 2021 17:57:07 +0000 (12:57 -0500)]
Merge pull request #1751 from ceph/wip-win32-build

ceph-dev-new-build: fixed windows build environment variables

3 years agoceph-dev-new-build: fixed windows build environment variables 1751/head
Jason Dillaman [Thu, 25 Feb 2021 17:51:07 +0000 (12:51 -0500)]
ceph-dev-new-build: fixed windows build environment variables

The environment variables should be placed before the command.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
3 years agoMerge pull request #1722 from petrutlucian94/win32
Jason Dillaman [Thu, 25 Feb 2021 15:19:33 +0000 (10:19 -0500)]
Merge pull request #1722 from petrutlucian94/win32

ceph-dev-new: add Windows build

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1750 from ceph/wip-notcmalloc
Sage Weil [Wed, 24 Feb 2021 21:06:04 +0000 (15:06 -0600)]
Merge pull request #1750 from ceph/wip-notcmalloc

Disable notcmalloc builds!

3 years agoceph-dev-new: add Windows build 1722/head
Lucian Petrut [Wed, 6 Jan 2021 13:09:08 +0000 (15:09 +0200)]
ceph-dev-new: add Windows build

We're going to do a Windows build using Mingw as part of the
ceph-dev-new job.

"windows" is added as a valid distro. The "validate_mingw" script
will ensure that we're running on top of a Linux distro that the
Windows build script supports (currently just Ubuntu and Suse
distros).

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
3 years agoDisable notcmalloc builds! 1750/head
David Galloway [Wed, 24 Feb 2021 20:13:40 +0000 (15:13 -0500)]
Disable notcmalloc builds!

We no longer need notmcalloc packages.  Valgrind works now.

See https://github.com/ceph/ceph/pull/39561

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1749 from ceph/wip-defaults
adam kraitman [Tue, 23 Feb 2021 16:54:51 +0000 (18:54 +0200)]
Merge pull request #1749 from ceph/wip-defaults

Update ceph ARCH defaults

3 years agoUpdate ceph ARCH defaults 1749/head
David Galloway [Tue, 23 Feb 2021 14:09:02 +0000 (09:09 -0500)]
Update ceph ARCH defaults

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1747 from ceph/wip-noarmcrimson
Sage Weil [Fri, 19 Feb 2021 16:01:17 +0000 (10:01 -0600)]
Merge pull request #1747 from ceph/wip-noarmcrimson

ceph-dev: Disable arm64 notcmalloc and crimson builds

3 years agoceph-dev: Disable arm64 notcmalloc and crimson builds 1747/head
David Galloway [Fri, 19 Feb 2021 15:29:21 +0000 (10:29 -0500)]
ceph-dev: Disable arm64 notcmalloc and crimson builds

Nobody will use them and crimson is failing anyway

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1746 from ceph/wip-always
David Galloway [Fri, 19 Feb 2021 14:24:37 +0000 (09:24 -0500)]
Merge pull request #1746 from ceph/wip-always

always set facts

3 years agoansible: Always set_facts 1746/head
David Galloway [Thu, 18 Feb 2021 22:49:55 +0000 (17:49 -0500)]
ansible: Always set_facts

Without these set_fact tasks having the always tag, a few conditionals (e.g., permanent|bool) and vars don't get set.  So if we're running `ansible-playbook --tags tmp`, for example, all the tasks get skipped because `permanent|bool` didn't get set automatically.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1745 from ceph/wip-tmpcleaner
David Galloway [Thu, 18 Feb 2021 22:46:48 +0000 (17:46 -0500)]
Merge pull request #1745 from ceph/wip-tmpcleaner

ansible: Install tmpreaper/tmpwatch and clean /tmp daily

3 years agoansible: Install tmpreaper/tmpwatch and clean /tmp daily 1745/head
David Galloway [Thu, 18 Feb 2021 18:22:53 +0000 (13:22 -0500)]
ansible: Install tmpreaper/tmpwatch and clean /tmp daily

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1744 from ceph/wip-make-ken-happy-again
David Galloway [Thu, 18 Feb 2021 17:03:21 +0000 (12:03 -0500)]
Merge pull request #1744 from ceph/wip-make-ken-happy-again

s/ceph-dev-nightly/ceph-dev-cron

3 years agos/ceph-dev-nightly/ceph-dev-cron 1744/head
David Galloway [Wed, 17 Feb 2021 21:06:03 +0000 (16:06 -0500)]
s/ceph-dev-nightly/ceph-dev-cron

Fixes: https://github.com/ceph/ceph-build/pull/1743#issuecomment-780840190
Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1743 from ceph/wip-cephnightly
David Galloway [Wed, 17 Feb 2021 16:08:20 +0000 (11:08 -0500)]
Merge pull request #1743 from ceph/wip-cephnightly

Switch to building ceph.git branches twice daily

3 years agoceph-dev-trigger: Disable job for now 1743/head
David Galloway [Tue, 16 Feb 2021 16:11:46 +0000 (11:11 -0500)]
ceph-dev-trigger: Disable job for now

We no longer want to build packages for every merge in active branches.  ceph-dev-nightly will build each active branch twice daily instead.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoceph-dev-nightly: Create job
David Galloway [Mon, 15 Feb 2021 22:20:51 +0000 (17:20 -0500)]
ceph-dev-nightly: Create job

Build active branches twice daily if changes are found

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1741 from ceph/remove_ca_add_osds
Guillaume Abrioux [Sun, 14 Feb 2021 07:26:26 +0000 (08:26 +0100)]
Merge pull request #1741 from ceph/remove_ca_add_osds

ceph-ansible: remove add_osds jobs

3 years agoceph-ansible: remove add_osds jobs 1741/head
Guillaume Abrioux [Sun, 14 Feb 2021 07:21:51 +0000 (08:21 +0100)]
ceph-ansible: remove add_osds jobs

The add-osds.yml playbook was dropped as of 5.0

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1740 from ceph/quick_patch_cv
Guillaume Abrioux [Thu, 11 Feb 2021 06:59:43 +0000 (07:59 +0100)]
Merge pull request #1740 from ceph/quick_patch_cv

ceph-volume-prs: use ceph-ansible@stable-6.0 for pacific

3 years agoceph-volume-prs: use ceph-ansible@stable-6.0 for pacific 1740/head
Guillaume Abrioux [Thu, 11 Feb 2021 06:53:43 +0000 (07:53 +0100)]
ceph-volume-prs: use ceph-ansible@stable-6.0 for pacific

Since, ceph-ansible stable-6.0 has been branched for deploying pacific,
we should use this branch in ceph-volume testing.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1739 from ceph/ca_6.0
Guillaume Abrioux [Wed, 10 Feb 2021 13:03:11 +0000 (14:03 +0100)]
Merge pull request #1739 from ceph/ca_6.0

ceph-ansible: branch stable-6.0

3 years agoceph-ansible: branch stable-6.0 1739/head
Guillaume Abrioux [Wed, 10 Feb 2021 12:05:22 +0000 (13:05 +0100)]
ceph-ansible: branch stable-6.0

This commit brings the required modification to branch stable-6.0

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #1738 from ceph/wip-reenable-arm
David Galloway [Thu, 4 Feb 2021 18:57:50 +0000 (13:57 -0500)]
Merge pull request #1738 from ceph/wip-reenable-arm

ceph-dev*: Enable dev builds for arm64

3 years agoceph-dev*: Enable dev builds for arm64 1738/head
David Galloway [Wed, 3 Feb 2021 22:13:46 +0000 (17:13 -0500)]
ceph-dev*: Enable dev builds for arm64

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1737 from ceph/wip-docs-easier
David Galloway [Wed, 3 Feb 2021 19:16:03 +0000 (14:16 -0500)]
Merge pull request #1737 from ceph/wip-docs-easier

Stop building binaries for docs-only PRs

3 years agoMerge pull request #1734 from dmick/wip-quay-fix-ref-delete
David Galloway [Wed, 3 Feb 2021 18:23:25 +0000 (13:23 -0500)]
Merge pull request #1734 from dmick/wip-quay-fix-ref-delete

Fix prune-quay.py's deletion of busy (well-known) refs

3 years agoceph-pr-api: Don't run for docs-only PRs 1737/head
David Galloway [Wed, 3 Feb 2021 18:12:26 +0000 (13:12 -0500)]
ceph-pr-api: Don't run for docs-only PRs

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoceph-pull-requests: Skip make check on a docs-only PR
David Galloway [Wed, 3 Feb 2021 17:49:51 +0000 (12:49 -0500)]
ceph-pull-requests: Skip make check on a docs-only PR

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoceph-pr-commits: Move 'docs only' check to build_utils for reuse
David Galloway [Wed, 3 Feb 2021 15:22:20 +0000 (10:22 -0500)]
ceph-pr-commits: Move 'docs only' check to build_utils for reuse

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1736 from ceph/wip-notcmalloc-boost-valgrind
Kefu Chai [Wed, 3 Feb 2021 14:47:23 +0000 (22:47 +0800)]
Merge pull request #1736 from ceph/wip-notcmalloc-boost-valgrind

build: notcmalloc builds enable WITH_BOOST_VALGRIND

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agobuild: notcmalloc builds enable WITH_BOOST_VALGRIND 1736/head
Casey Bodley [Wed, 3 Feb 2021 14:32:28 +0000 (09:32 -0500)]
build: notcmalloc builds enable WITH_BOOST_VALGRIND

this flag silences a false-positive from valgrind in boost::context:
```
<error>
  <unique>0x0</unique>
  <tid>124</tid>
  <kind>InvalidRead</kind>
  <what>Invalid read of size 8</what>
  <stack>
    <frame>
      <ip>0x52FF7E7</ip>
      <obj>/usr/lib64/libradosgw.so.2.0.0</obj>
      <fn>spawn::detail::continuation_context::resume()</fn>
    </frame>
  </stack>
  <auxwhat>Address 0x57f65728 is in a rw- anonymous segment</auxwhat>
</error>
```

Fixes: https://tracker.ceph.com/issues/48963
Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoprune-quay.py: fix deletion of busy ref names (master etc.) 1734/head
Dan Mick [Tue, 2 Feb 2021 08:19:44 +0000 (08:19 +0000)]
prune-quay.py: fix deletion of busy ref names (master etc.)

We must only delete the ref name if it refers to the same image
as the ref-shortsha1-el form of the name; if it's been pushed as a
new build of ref from a new sha1, it's no longer the image we
need to delete.  Verify the ref tag points to the same image as the
ref-shortsha1-el tag.

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoprune-quay.py: improve verbose logging
Dan Mick [Tue, 2 Feb 2021 08:14:12 +0000 (08:14 +0000)]
prune-quay.py: improve verbose logging

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoMerge pull request #1735 from dmick/wip-tcmu-runner-arm64
Dan Mick [Tue, 2 Feb 2021 18:07:54 +0000 (10:07 -0800)]
Merge pull request #1735 from dmick/wip-tcmu-runner-arm64

tcmu-runner: fix for arm64/aarch64

3 years agotcmu-runner: fix for arm64/aarch64 1735/head
Dan Mick [Tue, 2 Feb 2021 07:15:20 +0000 (07:15 +0000)]
tcmu-runner: fix for arm64/aarch64

Add "available arch" arm64, and fix build_rpm script to use aarch64
Also limit aarch64 build to CentOS 8

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoMerge pull request #1733 from dmick/master
Kefu Chai [Fri, 29 Jan 2021 03:51:02 +0000 (11:51 +0800)]
Merge pull request #1733 from dmick/master

scripts/build_utils.sh: handle lowercase CentOS dnf repo names

Reviewed-by: Kefu Chai <kchai@redhat.com>
3 years agoscripts/build_utils.sh: handle lowercase CentOS dnf repo names 1733/head
Dan Mick [Fri, 29 Jan 2021 03:24:53 +0000 (03:24 +0000)]
scripts/build_utils.sh: handle lowercase CentOS dnf repo names

Signed-off-by: Dan Mick <dmick@redhat.com>
3 years agoMerge pull request #1732 from ceph/wip-disable-leap15-for-master
Kefu Chai [Wed, 27 Jan 2021 14:46:58 +0000 (22:46 +0800)]
Merge pull request #1732 from ceph/wip-disable-leap15-for-master

disable leap15 for master and pacific

Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>