]> git.apps.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
2 years agoRevert "build_utils.sh: Disable cephfs_java with Crimson" 2096/head
Matan Breizman [Wed, 11 Jan 2023 17:57:11 +0000 (19:57 +0200)]
Revert "build_utils.sh: Disable cephfs_java with Crimson"

This reverts commit dd03c322eaded5f1bb274bb46fb13fbfe7a191aa.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 years agoMerge pull request #2095 from Matan-B/wip-matanb-c-cephfs-java-disable
Samuel Just [Tue, 10 Jan 2023 18:31:45 +0000 (10:31 -0800)]
Merge pull request #2095 from Matan-B/wip-matanb-c-cephfs-java-disable

build_utils.sh: Disable cephfs_java with Crimson

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agobuild_utils.sh: Disable cephfs_java with Crimson 2095/head
Matan Breizman [Tue, 10 Jan 2023 10:07:21 +0000 (12:07 +0200)]
build_utils.sh: Disable cephfs_java with Crimson

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 years agoMerge pull request #2094 from ionutbalutoiu/update-ceph-win-tests
Lucian Petrut [Fri, 6 Jan 2023 15:10:09 +0000 (17:10 +0200)]
Merge pull request #2094 from ionutbalutoiu/update-ceph-win-tests

ceph-windows: Use PowerShell script to run tests

2 years agoceph-windows: Use PowerShell script to run tests 2094/head
Ionut Balutoiu [Fri, 6 Jan 2023 11:37:32 +0000 (13:37 +0200)]
ceph-windows: Use PowerShell script to run tests

We have a new PowerShell script that runs all the Ceph Windows tests
from the main repository.

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
2 years agoMerge pull request #2093 from ionutbalutoiu/update-ceph-win-tests
Lucian Petrut [Wed, 4 Jan 2023 16:51:21 +0000 (18:51 +0200)]
Merge pull request #2093 from ionutbalutoiu/update-ceph-win-tests

ceph-windows: Use locally cloned script, if possible

2 years agoceph-windows: Use locally cloned script, if possible 2093/head
Ionut Balutoiu [Wed, 4 Jan 2023 16:40:50 +0000 (18:40 +0200)]
ceph-windows: Use locally cloned script, if possible

Use the locally cloned `test_rbd_wnbd.py` script if `$WORKSPACE/ceph`
repository was cloned as part of the Jenkins job.

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
2 years agoMerge pull request #2091 from petrutlucian94/win_stamp_test
Ilya Dryomov [Mon, 26 Dec 2022 12:20:13 +0000 (13:20 +0100)]
Merge pull request #2091 from petrutlucian94/win_stamp_test

ceph-windows: re-enable rbd-wnbd stamp test

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoceph-windows: re-enable rbd-wnbd stamp test 2091/head
Lucian Petrut [Thu, 24 Nov 2022 08:01:52 +0000 (10:01 +0200)]
ceph-windows: re-enable rbd-wnbd stamp test

We had to disable one of the rbd-wnbd tests while investigating
the reason why disks started coming up as read-only.

This was actually caused by the wnbd bus type, which changed from
virtual to SAS. The default Windows policy (offlineShared) doesn't
automatically bring online such disks, SAS being considered a
shared bus.

While at it, we're also enabling the new *Fs* tests, which use
a Windows partition instead of the raw block devices.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2076 from rzarzynski/wip-kickoff-reef
Kefu Chai [Wed, 14 Dec 2022 11:29:53 +0000 (19:29 +0800)]
Merge pull request #2076 from rzarzynski/wip-kickoff-reef

kickoff v18 reef

2 years agoMerge pull request #2090 from ceph/ceph-ansible-infinite-loop
Dan Mick [Tue, 22 Nov 2022 23:03:46 +0000 (15:03 -0800)]
Merge pull request #2090 from ceph/ceph-ansible-infinite-loop

ceph-ansible-nightly: Don't search tags endlessly

2 years agoceph-ansible-nightly: Don't search tags endlessly 2090/head
Zack Cerza [Tue, 22 Nov 2022 22:32:12 +0000 (15:32 -0700)]
ceph-ansible-nightly: Don't search tags endlessly

If the reponse is in an unexpected format (e.g. it's an error response),
we were looping infinitely; one job got to over 60k pages!

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoMerge pull request #2089 from petrutlucian94/disable_wnbd_test
Ilya Dryomov [Thu, 17 Nov 2022 14:38:41 +0000 (15:38 +0100)]
Merge pull request #2089 from petrutlucian94/disable_wnbd_test

temporarily disable windows RbdStampTest test

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agotemporarily disable windows rbd-wnbd test 2089/head
Lucian Petrut [Thu, 17 Nov 2022 12:04:19 +0000 (14:04 +0200)]
temporarily disable windows rbd-wnbd test

One of the rbd-wnbd tests has started failing after the Windows
image got updated. The disks now show up as "read-only" by default.

https://pastebin.com/raw/JXmLXFnN

We'll temporarily disable this test to unblock the Windows job
while doing further investigation.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2088 from ceph/cdn-quay
Zack Cerza [Wed, 16 Nov 2022 20:51:42 +0000 (13:51 -0700)]
Merge pull request #2088 from ceph/cdn-quay

ceph-dev-new: Default to internal quay instance

2 years agoceph-dev-new: Default to internal quay instance 2088/head
Zack Cerza [Wed, 16 Nov 2022 20:25:39 +0000 (13:25 -0700)]
ceph-dev-new: Default to internal quay instance

Temporarily, so we can unblock building on git push.

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoMerge pull request #2087 from ceph/quay-ceph-io-ceph-ci
Dan Mick [Fri, 11 Nov 2022 23:44:12 +0000 (15:44 -0800)]
Merge pull request #2087 from ceph/quay-ceph-io-ceph-ci

Replace dmick-quay creds with quay-ceph-io-ceph-ci

2 years agoReplace dmick-quay creds with quay-ceph-io-ceph-ci 2087/head
Zack Cerza [Wed, 9 Nov 2022 18:47:32 +0000 (11:47 -0700)]
Replace dmick-quay creds with quay-ceph-io-ceph-ci

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoMerge pull request #2086 from ionutbalutoiu/add-windows-tests
Lucian Petrut [Mon, 31 Oct 2022 17:31:41 +0000 (10:31 -0700)]
Merge pull request #2086 from ionutbalutoiu/add-windows-tests

ceph-windows: Add more Windows testing

2 years agoMerge pull request #2085 from ionutbalutoiu/update-ceph-win-img-build
Lucian Petrut [Mon, 31 Oct 2022 17:27:57 +0000 (10:27 -0700)]
Merge pull request #2085 from ionutbalutoiu/update-ceph-win-img-build

ceph-windows: Update `ceph-windows-image-build` setup script

2 years agoceph-windows: Add more Windows testing 2086/head
Ionut Balutoiu [Mon, 31 Oct 2022 16:16:56 +0000 (18:16 +0200)]
ceph-windows: Add more Windows testing

Run `test_rbd_wnbd.py` script from the upstream Ceph QA Windows
workunit scripts as part of the `script/ceph-windows/run_tests`.

The new test cases don't take a lot of time to execute (unless
something is wrong with Ceph on Windows or Linux). So, we won't
have any noticeable jobs' execute time penalty.

This adds more Windows tests to the Jenkins jobs:
* `ceph-windows-test`
* `ceph-windows-pull-requests`

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
2 years agoceph-windows: Update `ceph-windows-image-build` setup script 2085/head
Ionut Balutoiu [Mon, 31 Oct 2022 09:43:29 +0000 (11:43 +0200)]
ceph-windows: Update `ceph-windows-image-build` setup script

* Bump Python to `3.11`.
* Add `fio` as part of Windows CI image setup.
* Add `prettytable` pip dependency. We'll use this for the Python
  `test_rbd_wnbd.py` script.

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
2 years agoMerge pull request #2084 from lxbsz/fs_encryption
Ilya Dryomov [Mon, 24 Oct 2022 08:34:26 +0000 (10:34 +0200)]
Merge pull request #2084 from lxbsz/fs_encryption

kernel: enable filesystem encryption option

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agokernel: enable filesystem encryption option 2084/head
Xiubo Li [Mon, 24 Oct 2022 05:04:34 +0000 (13:04 +0800)]
kernel: enable filesystem encryption option

This will enable us to test the filesystem encryption feature in
cephfs kclient.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
2 years agoMerge pull request #2083 from dmick/main
Zack Cerza [Tue, 18 Oct 2022 19:21:39 +0000 (13:21 -0600)]
Merge pull request #2083 from dmick/main

Fix slave.yml symlink

2 years agoFix slave.yml symlink 2083/head
Dan Mick [Thu, 13 Oct 2022 23:27:09 +0000 (16:27 -0700)]
Fix slave.yml symlink

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2082 from ceph/wip-kernel-trigger-master
Ilya Dryomov [Tue, 4 Oct 2022 20:15:39 +0000 (22:15 +0200)]
Merge pull request #2082 from ceph/wip-kernel-trigger-master

kernel: re-add master branch to the trigger list

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
3 years agoceph-dev-build: update {build,setup}_osc for reef 2076/head
Radosław Zarzyński [Tue, 20 Sep 2022 10:37:18 +0000 (12:37 +0200)]
ceph-dev-build: update {build,setup}_osc for reef

Based on 18c3c7719c3ded64dbec815774defa6166a492d1.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agoscripts/build_utils: map 18.* to reef
Radosław Zarzyński [Tue, 20 Sep 2022 10:35:54 +0000 (12:35 +0200)]
scripts/build_utils: map 18.* to reef

Based on e75fe3903f750811d7f4067ec9c9f2597203ebfe.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agoMerge pull request #2075 from ceph/cv-fix-nightly
Guillaume Abrioux [Mon, 19 Sep 2022 13:24:28 +0000 (15:24 +0200)]
Merge pull request #2075 from ceph/cv-fix-nightly

ceph-volume-nightly: fix broken tests

3 years agoceph-volume: drop testing against focal 2075/head
Guillaume Abrioux [Mon, 19 Sep 2022 13:21:08 +0000 (15:21 +0200)]
ceph-volume: drop testing against focal

due the a too few number of available jenkins workers allocated
to ceph-volume, we can't afford testing against both centos and ubuntu.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoceph-volume-nightly: fix broken tests
Guillaume Abrioux [Mon, 19 Sep 2022 13:14:46 +0000 (15:14 +0200)]
ceph-volume-nightly: fix broken tests

ceph-volume nightly jobs are broken for a while because it
picks 'main' as ceph-ansible branch for any ceph release being tested.

With this commit, the right ceph-ansible branch will be picked.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #2074 from ceph/revert-refactor-collect-logs
Guillaume Abrioux [Fri, 16 Sep 2022 09:21:15 +0000 (11:21 +0200)]
Merge pull request #2074 from ceph/revert-refactor-collect-logs

build_utils: revert collect-logs refactor

3 years agoRevert "ceph-ansible-prs: refact collect-logs" 2074/head
Guillaume Abrioux [Fri, 16 Sep 2022 09:13:52 +0000 (11:13 +0200)]
Revert "ceph-ansible-prs: refact collect-logs"

This reverts commit 21cbce81e1759852b9e2b167d43c7d2e80f7aeba.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoRevert "build_utils: fix collect_ceph_logs function"
Guillaume Abrioux [Fri, 16 Sep 2022 09:12:29 +0000 (11:12 +0200)]
Revert "build_utils: fix collect_ceph_logs function"

This reverts commit 14f91f9d7a2b2bd9ca17cc1a89b5a48191e46d1f.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #2073 from ceph/refactor-collect-logs
Guillaume Abrioux [Fri, 16 Sep 2022 08:48:45 +0000 (10:48 +0200)]
Merge pull request #2073 from ceph/refactor-collect-logs

build_utils: fix collect_ceph_logs function

3 years agobuild_utils: fix collect_ceph_logs function 2073/head
Guillaume Abrioux [Fri, 16 Sep 2022 08:36:08 +0000 (10:36 +0200)]
build_utils: fix collect_ceph_logs function

typical error from ceph-volume tests:

```
ERROR! the playbook: /home/jenkins-build/build/workspace/ceph-volume-prs-lvm-centos8-bluestore-dmcrypt/tests/functional/collect-logs.yml could not be found
```

Since `collect-logs.yml` is maintained in ceph-ansible repository,
when `collect_ceph_logs` is called from a job different from
ceph-ansible, the path is incorrect.
The idea is to make ceph-volume jobs override this path.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #2072 from ionutbalutoiu/collect-win-logs
Lucian Petrut [Fri, 16 Sep 2022 07:30:59 +0000 (10:30 +0300)]
Merge pull request #2072 from ionutbalutoiu/collect-win-logs

ceph-windows-pull-requests: Collect tests logs

3 years agoceph-windows-pull-requests: Collect tests logs 2072/head
Ionut Balutoiu [Fri, 16 Sep 2022 07:17:38 +0000 (10:17 +0300)]
ceph-windows-pull-requests: Collect tests logs

Also, set `artifact-days-to-keep` and `artifact-num-to-keep` to make
sure we don't clutter the Jenkins server with log files.

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
3 years agoMerge pull request #2071 from ceph/cv-nightlies-update
Guillaume Abrioux [Thu, 15 Sep 2022 11:55:23 +0000 (13:55 +0200)]
Merge pull request #2071 from ceph/cv-nightlies-update

ceph-volume-nightly: cleanup

3 years agoceph-volume-nightly: cleanup 2071/head
Guillaume Abrioux [Thu, 15 Sep 2022 07:23:32 +0000 (09:23 +0200)]
ceph-volume-nightly: cleanup

update ceph-volume nightly jobs.
drop nautilus testing as it's EOL for a while.
drop testing against el7
drop testing against xenial (replace with focal)
test against quincy and pacific

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #2070 from dsavineau/tcmalloc_in_mock
Guillaume Abrioux [Wed, 14 Sep 2022 16:02:56 +0000 (18:02 +0200)]
Merge pull request #2070 from dsavineau/tcmalloc_in_mock

nfs-ganesha/rpm: Fix tcmalloc allocator setup

3 years agonfs-ganesha/rpm: Fix tcmalloc allocator setup 2070/head
Dimitri Savineau [Wed, 14 Sep 2022 15:55:08 +0000 (11:55 -0400)]
nfs-ganesha/rpm: Fix tcmalloc allocator setup

The previous commit installed the gperftools-devel package and set the
cmake ALLOCATION variable to tcmalloc but this isn't used at all during
the RPM package build via mock.
We also need those changes in the RPM spec file.
This is a temporary solution until the upstream nfs-ganesha RPM spec file
will support such change.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
3 years agoMerge pull request #2069 from ceph/fix-ganesha-builds
Guillaume Abrioux [Tue, 13 Sep 2022 14:12:19 +0000 (16:12 +0200)]
Merge pull request #2069 from ceph/fix-ganesha-builds

nfs-ganesha: build with tcmalloc

3 years agonfs-ganesha: bump debian build to focal 2069/head
Guillaume Abrioux [Mon, 12 Sep 2022 14:53:56 +0000 (16:53 +0200)]
nfs-ganesha: bump debian build to focal

we don't build for bionic anymore, this should be updated.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agonfs-ganesha: build with tcmalloc
Guillaume Abrioux [Mon, 12 Sep 2022 14:09:59 +0000 (16:09 +0200)]
nfs-ganesha: build with tcmalloc

since https://github.com/ceph/ceph/pull/47628 any development builds of nfs-ganesha
are broken.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #2066 from ceph/builtin
adam kraitman [Wed, 31 Aug 2022 13:27:27 +0000 (16:27 +0300)]
Merge pull request #2066 from ceph/builtin

ceph-dev-container-only: Use Jenkins controller for main job

3 years agoceph-dev-container-only: Use Jenkins controller for main job 2066/head
David Galloway [Wed, 31 Aug 2022 12:41:49 +0000 (08:41 -0400)]
ceph-dev-container-only: Use Jenkins controller for main job

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #2065 from ceph/fix-sync-pull2
adam kraitman [Sun, 28 Aug 2022 06:17:28 +0000 (09:17 +0300)]
Merge pull request #2065 from ceph/fix-sync-pull2

Updates for sync-pull signing script

3 years agosync-pull: Fix ssh command 2065/head
David Galloway [Fri, 26 Aug 2022 17:37:38 +0000 (13:37 -0400)]
sync-pull: Fix ssh command

chacra.ceph.com used to live in OVH and listened for SSH on port 2222.  The VM is in Sepia now and listens on 22.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agosync-pull: Automate download.ceph.com tarball upload
David Galloway [Fri, 26 Aug 2022 17:35:21 +0000 (13:35 -0400)]
sync-pull: Automate download.ceph.com tarball upload

I swapped the paths in `for endpoint in` because there may not be a centos/9 repo.  That means `$version` gets left unset and isn't available to `get-tarballs.sh` later in the script.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agosync-pull: Update possible distro combos
David Galloway [Fri, 26 Aug 2022 17:34:24 +0000 (13:34 -0400)]
sync-pull: Update possible distro combos

Removed EOL releases

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #2030 from rhcs-dashboard/change-log-dir
David Galloway [Mon, 22 Aug 2022 17:59:01 +0000 (13:59 -0400)]
Merge pull request #2030 from rhcs-dashboard/change-log-dir

dashboard-e2e: change artifact dir to mstart ones

3 years agoMerge pull request #2064 from tchaikov/ceph-windows-cleanup
Kefu Chai [Sat, 20 Aug 2022 02:44:05 +0000 (10:44 +0800)]
Merge pull request #2064 from tchaikov/ceph-windows-cleanup

ceph-windows: remove installed packages

3 years agoceph-windows: remove installed packages 2064/head
Kefu Chai [Sat, 20 Aug 2022 00:17:45 +0000 (08:17 +0800)]
ceph-windows: remove installed packages

`ceph-windows/run_tests` installs client side dependencies using
`cephadm install ceph-common`, which leaves us with a bunch ceph
packages after the test finishes. and they inteferes with succeeding
tests which, for instance, try to import python modules from test's
building directory.
but they end up with importing the python modules installed in system.

in this change, the installed package and its ceph dependencies are
removed in the cleanup script. the list of packages is collected by
inspecting `/var/log/dpkg.log` on the system where the test failures
were spotted and `ceph/debian/control` 's "ceph-common" section.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #2058 from ceph/quincy-c9
David Galloway [Thu, 18 Aug 2022 13:31:00 +0000 (09:31 -0400)]
Merge pull request #2058 from ceph/quincy-c9

ceph-dev-cron: Build quincy on el9 daily

3 years agoMerge pull request #2055 from ceph/touch-mgr-file
David Galloway [Wed, 17 Aug 2022 19:52:10 +0000 (15:52 -0400)]
Merge pull request #2055 from ceph/touch-mgr-file

ceph-pr-api: Avoid artifact archive plugin hang

3 years agoMerge pull request #2043 from cbodley/wip-boost-valgrind
David Galloway [Wed, 17 Aug 2022 14:16:03 +0000 (10:16 -0400)]
Merge pull request #2043 from cbodley/wip-boost-valgrind

add WITH_BOOST_VALGRIND to default build flavor

3 years agoMerge pull request #2061 from tchaikov/pbuilder
David Galloway [Mon, 15 Aug 2022 20:44:49 +0000 (16:44 -0400)]
Merge pull request #2061 from tchaikov/pbuilder

build_utils/build_debs: use variable when appropriate

3 years agoMerge pull request #2063 from ceph/no-more-lsb
Zack Cerza [Mon, 15 Aug 2022 15:43:30 +0000 (09:43 -0600)]
Merge pull request #2063 from ceph/no-more-lsb

Stop using lsb for rpm-based distros

3 years agoMerge pull request #2060 from ceph/ceph-ci-c9
Zack Cerza [Thu, 11 Aug 2022 15:14:46 +0000 (09:14 -0600)]
Merge pull request #2060 from ceph/ceph-ci-c9

ceph-dev-new: Build centos9 for main and quincy based ceph-ci branches

3 years agoStop using lsb for rpm-based distros 2063/head
David Galloway [Thu, 11 Aug 2022 13:31:48 +0000 (09:31 -0400)]
Stop using lsb for rpm-based distros

lsb_release was removed in EL9 and we already have functions to read /etc/os-release and return the values we want.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #2059 from ceph/scripts-c9
adam kraitman [Thu, 11 Aug 2022 13:15:07 +0000 (16:15 +0300)]
Merge pull request #2059 from ceph/scripts-c9

scripts: Update signing scripts for el9

3 years agobuild_utils/build_debs: use variable when appropriate 2061/head
Kefu Chai [Thu, 11 Aug 2022 02:13:16 +0000 (10:13 +0800)]
build_utils/build_debs: use variable when appropriate

less "magic numbers" this way.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #1999 from ceph/wip-pbuilder-dir
Kefu Chai [Thu, 11 Aug 2022 02:09:39 +0000 (10:09 +0800)]
Merge pull request #1999 from ceph/wip-pbuilder-dir

pbuilder: build in $WORKSPACE

3 years agoceph-dev-new: Build centos9 for main and quincy based ceph-ci branches 2060/head
David Galloway [Thu, 11 Aug 2022 01:06:50 +0000 (21:06 -0400)]
ceph-dev-new: Build centos9 for main and quincy based ceph-ci branches

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoscripts: Update signing scripts for el9 2059/head
David Galloway [Thu, 11 Aug 2022 01:04:54 +0000 (21:04 -0400)]
scripts: Update signing scripts for el9

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agopbuilder: build in $WORKSPACE or tmpfs if available 1999/head
David Galloway [Fri, 13 May 2022 17:28:55 +0000 (13:28 -0400)]
pbuilder: build in $WORKSPACE or tmpfs if available

Come to find out unless --buildplace is defined, pbuilder builds in /var/cache/pbuilder/build.

The braggi and adami builders have separate faster and larger SSDs mounted at /home/jenkins-build but pbuilder hasn't been using them.

Additionally, it is possible to build in memory.  The braggi and adami have plenty of space available to build in it so let's use it.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoceph-dev-cron: Build quincy on el9 daily 2058/head
David Galloway [Thu, 11 Aug 2022 00:48:19 +0000 (20:48 -0400)]
ceph-dev-cron: Build quincy on el9 daily

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #2057 from ceph/c9-cron
David Galloway [Wed, 10 Aug 2022 21:20:20 +0000 (17:20 -0400)]
Merge pull request #2057 from ceph/c9-cron

ceph-dev-cron: Build main on centos9 daily

3 years agoceph-dev-cron: Build main on centos9 daily 2057/head
David Galloway [Wed, 10 Aug 2022 21:18:05 +0000 (17:18 -0400)]
ceph-dev-cron: Build main on centos9 daily

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #2054 from ceph/el9
David Galloway [Wed, 10 Aug 2022 18:55:50 +0000 (14:55 -0400)]
Merge pull request #2054 from ceph/el9

ceph-dev: Automatically build main on centos9

3 years agoMerge pull request #2056 from ceph/no-rhel9-container
Ken Dreyer [Wed, 10 Aug 2022 18:50:51 +0000 (14:50 -0400)]
Merge pull request #2056 from ceph/no-rhel9-container

ceph*build: Do not build containers on CentOS9 for now

3 years agoMerge pull request #2044 from ceph/trigger-branches
David Galloway [Wed, 10 Aug 2022 18:44:54 +0000 (14:44 -0400)]
Merge pull request #2044 from ceph/trigger-branches

ceph-docs-rtd: Create job to keep releases docs up-to-date

3 years agoceph-docs-rtd: Create job to keep releases docs up-to-date 2044/head
David Galloway [Wed, 10 Aug 2022 18:41:35 +0000 (14:41 -0400)]
ceph-docs-rtd: Create job to keep releases docs up-to-date

See ceph/ceph#46917

This Jenkins job will receive webhooks from the github plugin.  It will then check if the main branch is what was updated and if the `doc/releases` dir was updated.

If true, it will trigger a build for each active Ceph release's docs.

ceph/ceph#47442
ceph/ceph#47443
ceph/ceph#47444

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #2052 from ceph/windows-jammy
David Galloway [Wed, 10 Aug 2022 18:05:17 +0000 (14:05 -0400)]
Merge pull request #2052 from ceph/windows-jammy

More fixes to get Windows jobs running again

3 years agoceph*build: Do not build containers on CentOS9 for now 2056/head
David Galloway [Wed, 10 Aug 2022 17:29:01 +0000 (13:29 -0400)]
ceph*build: Do not build containers on CentOS9 for now

ceph-container isn't ready yet.  There is work being done in https://github.com/ceph/ceph-container/pull/2038 but our build scripts still need a lot of adjustments.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoceph-pr-api: Avoid artifact archive plugin hang 2055/head
David Galloway [Wed, 10 Aug 2022 17:19:02 +0000 (13:19 -0400)]
ceph-pr-api: Avoid artifact archive plugin hang

More often than not, docs-only PRs hang during this job for 45-50 minutes then crash like this:

```
+ '[' true = true ']'
+ echo 'Only the doc/ dir changed.  No need to run make check or API tests.'
Only the doc/ dir changed.  No need to run make check or API tests.
+ exit 0
[PostBuildScript] - [INFO] Executing post build scripts.
[PostBuildScript] - [INFO] Build does not have any of the results [ABORTED]. Did not execute build step #0.
Archiving artifacts
java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.Arrays.copyOf(Arrays.java:3689)
at java.base/java.util.Vector.grow(Vector.java:261)
at java.base/java.util.Vector.ensureCapacity(Vector.java:241)
at org.apache.tools.ant.util.VectorSet.doAdd(VectorSet.java:86)
at org.apache.tools.ant.util.VectorSet.addElement(VectorSet.java:98)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1245)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1267)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1194)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1156)
at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:954)
at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:912)
at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:528)
at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:3159)
Caused: java.io.IOException: Remote call on JNLP4-connect connection from 8.43.84.3/8.43.84.3:42699 failed
at hudson.remoting.Channel.call(Channel.java:1004)
at hudson.FilePath.act(FilePath.java:1194)
at hudson.FilePath.act(FilePath.java:1183)
at hudson.FilePath.validateAntFileMask(FilePath.java:3095)
at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:271)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:79)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:816)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:765)
at hudson.model.Build$BuildExecution.post2(Build.java:179)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:709)
at hudson.model.Run.execute(Run.java:1922)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
at hudson.model.ResourceController.execute(ResourceController.java:101)
at hudson.model.Executor.run(Executor.java:442)
No artifacts found that match the file pattern "build/out/mgr.*.log". Configuration error?
```

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoceph-windows: Cleanup repo files 2052/head
David Galloway [Tue, 9 Aug 2022 16:59:11 +0000 (12:59 -0400)]
ceph-windows: Cleanup repo files

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoceph-windows: Install dev version of ceph-common
David Galloway [Tue, 9 Aug 2022 16:57:27 +0000 (12:57 -0400)]
ceph-windows: Install dev version of ceph-common

We don't have an official Ubuntu Jammy ceph-common package yet and won't until the next version of quincy.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoceph-dev: Automatically build main on centos9 2054/head
David Galloway [Wed, 10 Aug 2022 14:21:55 +0000 (10:21 -0400)]
ceph-dev: Automatically build main on centos9

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #2053 from ceph/enable-linger
Guillaume Abrioux [Tue, 9 Aug 2022 17:44:32 +0000 (19:44 +0200)]
Merge pull request #2053 from ceph/enable-linger

ansible: loginctl enable-linger jenkins-build

3 years agoansible: loginctl enable-linger jenkins-build 2053/head
David Galloway [Tue, 9 Aug 2022 17:20:52 +0000 (13:20 -0400)]
ansible: loginctl enable-linger jenkins-build

https://github.com/containers/podman/issues/9002

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoceph-windows: Use quincy
David Galloway [Tue, 9 Aug 2022 16:52:27 +0000 (12:52 -0400)]
ceph-windows: Use quincy

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #2051 from ceph/cleanupfix
David Galloway [Tue, 9 Aug 2022 15:50:57 +0000 (11:50 -0400)]
Merge pull request #2051 from ceph/cleanupfix

windows: Check for cephadm binary before attempting to use it

3 years agowindows: Check for cephadm binary before attempting to use it 2051/head
David Galloway [Tue, 9 Aug 2022 15:44:44 +0000 (11:44 -0400)]
windows: Check for cephadm binary before attempting to use it

Fixes:
```
+ [[ -x /home/jenkins-build/build/workspace/wnbd-build/cephadm ]]
+ sudo /home/jenkins-build/build/workspace/wnbd-build/cephadm rm-repo
[sudo] password for jenkins-build:
sudo: no password was provided
sudo: a password is required
Build step 'Execute scripts' changed build result to FAILURE
Build step 'Execute scripts' marked build as failure
```

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #2050 from tchaikov/drop-stale-comment
David Galloway [Tue, 9 Aug 2022 15:06:31 +0000 (11:06 -0400)]
Merge pull request #2050 from tchaikov/drop-stale-comment

ceph-build-pull-requests: drop stale comment

3 years agoceph-build-pull-requests: drop stale comment 2050/head
Kefu Chai [Tue, 9 Aug 2022 12:41:24 +0000 (20:41 +0800)]
ceph-build-pull-requests: drop stale comment

now that we've bumped up the urllib3's version in
f2f9bec9da002ac07b27c5caf5131aeab196509c. the comment does not
apply anymore.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #2048 from tchaikov/wip-newer-urllib3
David Galloway [Tue, 9 Aug 2022 00:23:53 +0000 (20:23 -0400)]
Merge pull request #2048 from tchaikov/wip-newer-urllib3

ceph-build-pull-requests: use a newer urllib3 when installing jjb

3 years agoMerge pull request #2047 from tchaikov/node14
Kefu Chai [Tue, 9 Aug 2022 00:18:47 +0000 (08:18 +0800)]
Merge pull request #2047 from tchaikov/node14

dashboard-cephadm-e2e: bump node version to 14

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoceph-build-pull-requests: use a newer urllib3 when installing jjb 2048/head
Kefu Chai [Tue, 9 Aug 2022 00:01:26 +0000 (08:01 +0800)]
ceph-build-pull-requests: use a newer urllib3 when installing jjb

as urllib3 v1.22 is not compatible with python3.10 which is shipped by
ubuntu jammy. see https://pypi.org/project/urllib3/1.22/

so, to run jjb in a python3.10 venv we should use a newer urllib.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agodashboard-cephadm-e2e: bump node version to 14 2047/head
Kefu Chai [Mon, 8 Aug 2022 16:04:17 +0000 (00:04 +0800)]
dashboard-cephadm-e2e: bump node version to 14

as node.js 12 is being deprecated. and the oldest node.js which is
packaged by https://github.com/nodesource is node.js 14. see
https://github.com/nodesource/distributions#debinstall

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #2046 from ceph/windows-cleanup
David Galloway [Mon, 8 Aug 2022 15:53:47 +0000 (11:53 -0400)]
Merge pull request #2046 from ceph/windows-cleanup

ceph-windows: Clean up repo files

3 years agoceph-windows: Clean up repo files 2046/head
David Galloway [Mon, 8 Aug 2022 15:31:33 +0000 (11:31 -0400)]
ceph-windows: Clean up repo files

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #2045 from ionutbalutoiu/fix-windows-jenkins-jobs
David Galloway [Mon, 8 Aug 2022 14:34:32 +0000 (10:34 -0400)]
Merge pull request #2045 from ionutbalutoiu/fix-windows-jenkins-jobs

Improve Windows libvirt VM IP detection

3 years agoImprove Windows libvirt VM IP detection 2045/head
Ionut Balutoiu [Mon, 8 Aug 2022 11:10:52 +0000 (14:10 +0300)]
Improve Windows libvirt VM IP detection

On some of the KVM hosts targeted by the Windows jobs, the main
interface within the VM will have a different NIC name.

Therefore, the command:
```
virsh domifaddr --source agent --interface Ethernet --full $VM_NAME
```
will not return anything, since the NIC name is not guaranteed to
have `Ethernet` name.

These changes improve how the VM IP is detected, by filtering the
guest NICs via MAC address to find the proper NIC. Furthermore, the
VM address belonging to the `default` virsh network is returned.

3 years agoadd WITH_BOOST_VALGRIND to default build flavor 2043/head
Casey Bodley [Tue, 2 Aug 2022 17:41:55 +0000 (13:41 -0400)]
add WITH_BOOST_VALGRIND to default build flavor

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agodashboard-e2e: change artifact dir to mstart ones 2030/head
Nizamudeen A [Thu, 30 Jun 2022 17:48:06 +0000 (23:18 +0530)]
dashboard-e2e: change artifact dir to mstart ones

after #46848, the log dir will be changed because the test is going to
use the mstart instead of vstart

Signed-off-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #1971 from cbodley/wip-cxx20
Kefu Chai [Mon, 1 Aug 2022 22:45:42 +0000 (06:45 +0800)]
Merge pull request #1971 from cbodley/wip-cxx20

reenable ubuntu's toolchain ppa for c++20 support

3 years agouse_ppa=true on focal for reef 1971/head
Casey Bodley [Thu, 24 Feb 2022 20:52:41 +0000 (15:52 -0500)]
use_ppa=true on focal for reef

Signed-off-by: Casey Bodley <cbodley@redhat.com>