]> git.apps.os.sepia.ceph.com Git - ceph-build.git/log
ceph-build.git
19 months agoexamples/builder.yml: Add 'update-ca-trust" step for CentOS 7 2192/head
Dan Mick [Thu, 8 Feb 2024 09:41:58 +0000 (01:41 -0800)]
examples/builder.yml: Add 'update-ca-trust" step for CentOS 7

get_url to update agent.jar was failing with a cert error,
but jenkins.ceph.com's cert was fine; on a hunch I updated the
dynamic ca trust database and that resolved the error.  I can't
see that it would do any damage to do so unconditionally.

Signed-off-by: Dan Mick <dmick@redhat.com>
19 months agolibrary/jenkins_node: Allow to work on centos7 by adding xml parser
Dan Mick [Thu, 8 Feb 2024 04:13:09 +0000 (20:13 -0800)]
library/jenkins_node: Allow to work on centos7 by adding xml parser

xmltodict is exactly what I needed, but it's too hard to dig up
for centos7 (and overkill anyway).  Supply an implementation that
allows jenkins XML parsing and use it instead.

Also, use python3 on centos7, and tweak the packages a bit in
examples/builder.yml

Signed-off-by: Dan Mick <dmick@redhat.com>
19 months agoansible.cfg: Help debugging by setting logger
Dan Mick [Thu, 8 Feb 2024 04:12:32 +0000 (20:12 -0800)]
ansible.cfg: Help debugging by setting logger

Signed-off-by: Dan Mick <dmick@redhat.com>
19 months agoMerge pull request #2186 from rkachach/fix_issue_64013
Nizamudeen A [Thu, 25 Jan 2024 12:38:35 +0000 (18:08 +0530)]
Merge pull request #2186 from rkachach/fix_issue_64013

project config: adding logic to create kvm default network

19 months agoceph-build: behave is now installed as part of run-tests script 2186/head
Redouane Kachach [Thu, 25 Jan 2024 09:28:54 +0000 (10:28 +0100)]
ceph-build: behave is now installed as part of run-tests script

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
19 months agoproject config: improving deps installation script stability
Redouane Kachach [Fri, 12 Jan 2024 12:26:19 +0000 (13:26 +0100)]
project config: improving deps installation script stability
Fixes: https://tracker.ceph.com/issues/64013
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
20 months agoMerge pull request #2189 from dmick/wip-ceph-iscsi-stable-centos9
Dan Mick [Mon, 22 Jan 2024 23:36:11 +0000 (15:36 -0800)]
Merge pull request #2189 from dmick/wip-ceph-iscsi-stable-centos9

ceph-iscsi-stable: make centos9 work

20 months agoceph-iscsi-stable: make centos9 work 2189/head
Dan Mick [Mon, 22 Jan 2024 23:20:36 +0000 (15:20 -0800)]
ceph-iscsi-stable: make centos9 work

also remove centos7 builds

Signed-off-by: Dan Mick <dmick@redhat.com>
20 months agoMerge pull request #2188 from dmick/wip-remove-debugsolver
Dan Mick [Fri, 19 Jan 2024 04:08:05 +0000 (20:08 -0800)]
Merge pull request #2188 from dmick/wip-remove-debugsolver

build_utils.sh: remove --debugsolver

20 months agobuild_utils.sh: remove --debugsolver 2188/head
Dan Mick [Thu, 18 Jan 2024 23:40:46 +0000 (15:40 -0800)]
build_utils.sh: remove --debugsolver

It leaves root-owned files around which causes cleanup issues

Signed-off-by: Dan Mick <dmick@redhat.com>
20 months agoMerge pull request #2178 from cbodley/wip-unblock-c9-containers
Ilya Dryomov [Thu, 11 Jan 2024 13:09:56 +0000 (14:09 +0100)]
Merge pull request #2178 from cbodley/wip-unblock-c9-containers

enable centos9 builds for ceph-iscsi, tcmu-runner

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Dan Mick <dan.mick@redhat.com>
20 months agotcmu-runner: disable glfs for lack of glusterfs-api-devel 2178/head
Casey Bodley [Wed, 3 Jan 2024 00:41:21 +0000 (19:41 -0500)]
tcmu-runner: disable glfs for lack of glusterfs-api-devel

Signed-off-by: Casey Bodley <cbodley@redhat.com>
20 months agoMerge pull request #2185 from Matan-B/wip-matanb-crimson-remove-c8
Dan Mick [Wed, 10 Jan 2024 19:27:52 +0000 (11:27 -0800)]
Merge pull request #2185 from Matan-B/wip-matanb-crimson-remove-c8

ceph-dev*: remove centos8 crimson builds

20 months agoceph-dev*: remove centos8 crimson builds 2185/head
Matan Breizman [Tue, 9 Jan 2024 09:45:25 +0000 (11:45 +0200)]
ceph-dev*: remove centos8 crimson builds

remove any quincy crimson buils (not a supported release)
remove reef c8 builds
remove main c8 builds

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
20 months agoMerge pull request #2184 from dmick/wip-debug-solver
Dan Mick [Tue, 9 Jan 2024 00:14:24 +0000 (16:14 -0800)]
Merge pull request #2184 from dmick/wip-debug-solver

build_utils.sh: try using dnf, adding debug, and using dnf clean all

20 months agobuild_utils.sh Add "dnf clean all" as a Big Hammer 2184/head
Dan Mick [Mon, 8 Jan 2024 22:39:58 +0000 (14:39 -0800)]
build_utils.sh Add "dnf clean all" as a Big Hammer

There's no reason this should be necessary, but maybe it
works around the mysterious issue of "Problem: cannot install
both python3-devel-3.9.18-1.el9.x86_64 from appstream and
python3-devel-3.9.18-1.el9.x86_64 from @System"

Signed-off-by: Dan Mick <dmick@redhat.com>
20 months agobuild_utils.sh: try using dnf, adding -d 10 --debugsolver for more info
Dan Mick [Sat, 6 Jan 2024 03:20:57 +0000 (19:20 -0800)]
build_utils.sh: try using dnf, adding -d 10 --debugsolver for more info

Signed-off-by: Dan Mick <dmick@redhat.com>
20 months agoMerge pull request #2183 from dmick/wip-verbose-builddep
Laura Flores [Thu, 4 Jan 2024 22:52:50 +0000 (16:52 -0600)]
Merge pull request #2183 from dmick/wip-verbose-builddep

Add verbosity to yum-builddep to try to get more info about failure

20 months agoAdd verbosity to yum-builddep to try to get more info about failure 2183/head
Dan Mick [Thu, 4 Jan 2024 21:45:35 +0000 (13:45 -0800)]
Add verbosity to yum-builddep to try to get more info about failure

Signed-off-by: Dan Mick <dmick@redhat.com>
21 months agoMerge pull request #2182 from dmick/wip-ceph-container-prerelease-build
Dan Mick [Sat, 16 Dec 2023 02:54:41 +0000 (18:54 -0800)]
Merge pull request #2182 from dmick/wip-ceph-container-prerelease-build

Add ceph-container-prerelease-build

21 months agoAdd ceph-container-prerelease-build 2182/head
Dan Mick [Fri, 15 Dec 2023 04:24:50 +0000 (20:24 -0800)]
Add ceph-container-prerelease-build

Based on ceph-container-build-ceph-base-push-imgs, but
for building containers for testing before the release is
validated and committed.  Differences:

1) pulls packages from download.ceph.com/prerelease
2) does not attempt to build aarch64
3) pushes built container to quay.ceph.io:ceph/prerelease

The prerelease directories are password-protected to avoid any
early exposure to in-progress builds.

This requires corresponding changes to ceph-container.git.

Signed-off-by: Dan Mick <dmick@redhat.com>
21 months agoMerge pull request #2181 from dmick/wip-release-tools
Dan Mick [Thu, 14 Dec 2023 23:41:47 +0000 (15:41 -0800)]
Merge pull request #2181 from dmick/wip-release-tools

sync-push: "staging" -> "prerelease", and allow specifying releasename-version

21 months agoAllow specifying '<release>-<version>' to sync only one version 2181/head
Dan Mick [Mon, 27 Nov 2023 23:43:26 +0000 (15:43 -0800)]
Allow specifying '<release>-<version>' to sync only one version

Signed-off-by: Dan Mick <dmick@redhat.com>
21 months agoChange from "staging" to "prerelease"
Dan Mick [Mon, 27 Nov 2023 23:41:29 +0000 (15:41 -0800)]
Change from "staging" to "prerelease"

ceph-container already uses the word "staging" for a specific
function; avoid confusion by standardizing on "prerelease" here

Signed-off-by: Dan Mick <dmick@redhat.com>
21 months agoMerge pull request #2180 from ceph/wip-pin-ansible
Dan Mick [Mon, 11 Dec 2023 21:47:52 +0000 (13:47 -0800)]
Merge pull request #2180 from ceph/wip-pin-ansible

ceph-setup, ceph-tag: pin ansible to < 9

21 months agoceph-setup, ceph-tag: pin ansible to < 9 2180/head
Dan Mick [Sat, 9 Dec 2023 00:53:41 +0000 (16:53 -0800)]
ceph-setup, ceph-tag: pin ansible to < 9

This is a temporary hack until we have time to properly test
changing include to include_tasks, required by ansible 9 (include
has been deprecated for some time, and now it's officially gone)

Signed-off-by: Dan Mick <dmick@redhat.com>
21 months agoMerge pull request #2179 from rhcs-dashboard/upgrade-grafana-9.4.12
Nizamudeen A [Wed, 6 Dec 2023 17:23:28 +0000 (22:53 +0530)]
Merge pull request #2179 from rhcs-dashboard/upgrade-grafana-9.4.12

ceph-grafana-trigger: update the grafana version to 9.4.12

21 months agoceph-grafana-trigger: update the grafana version to 9.4.12 2179/head
Nizamudeen A [Wed, 6 Dec 2023 06:30:04 +0000 (12:00 +0530)]
ceph-grafana-trigger: update the grafana version to 9.4.12

Signed-off-by: Nizamudeen A <nia@redhat.com>
21 months agoMerge pull request #2160 from rzarzynski/wip-kickoff-squid
Ilya Dryomov [Tue, 5 Dec 2023 21:24:16 +0000 (22:24 +0100)]
Merge pull request #2160 from rzarzynski/wip-kickoff-squid

kickoff v19 squid

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
21 months agotcmu-runner: enable centos9
Casey Bodley [Mon, 4 Dec 2023 17:12:54 +0000 (12:12 -0500)]
tcmu-runner: enable centos9

Signed-off-by: Casey Bodley <cbodley@redhat.com>
21 months agoceph-iscsi: enable centos9
Casey Bodley [Mon, 4 Dec 2023 17:10:53 +0000 (12:10 -0500)]
ceph-iscsi: enable centos9

Signed-off-by: Casey Bodley <cbodley@redhat.com>
22 months agoMerge pull request #2170 from ceph/wip-kernel-trigger-timeout
Ilya Dryomov [Thu, 16 Nov 2023 10:34:01 +0000 (11:34 +0100)]
Merge pull request #2170 from ceph/wip-kernel-trigger-timeout

kernel-trigger: increase clone timeout

Reviewed-by: Dan Mick <dan.mick@redhat.com>
22 months agoMerge pull request #2169 from ceph/wip-kernel-rpmbuild-fix
Ilya Dryomov [Thu, 16 Nov 2023 10:33:47 +0000 (11:33 +0100)]
Merge pull request #2169 from ceph/wip-kernel-rpmbuild-fix

kernel: unbreak RPM builds

Reviewed-by: Dan Mick <dan.mick@redhat.com>
22 months agoMerge pull request #2177 from ceph/teuth-pr-disable
Dan Mick [Tue, 14 Nov 2023 00:51:31 +0000 (16:51 -0800)]
Merge pull request #2177 from ceph/teuth-pr-disable

Remove teuthology-pull-requests

22 months agoRemove teuthology-pull-requests 2177/head
Zack Cerza [Mon, 13 Nov 2023 19:12:39 +0000 (12:12 -0700)]
Remove teuthology-pull-requests

This job represents a small subset of what we test with GitHub Actions. It's
also unreliable, for reasons including - but not limited to - the fact that
it's not possible to request an agent with a particular OS version.

Signed-off-by: Zack Cerza <zack@redhat.com>
22 months agoMerge pull request #2175 from dmick/wip-ceph-build-pull-requests
Dan Mick [Mon, 13 Nov 2023 23:47:09 +0000 (15:47 -0800)]
Merge pull request #2175 from dmick/wip-ceph-build-pull-requests

ceph-build-pull-requests: rather than ansible, pin ansible-core

22 months agoMerge pull request #2176 from tserlin/wip-tserlin-pin-to-V5.7
tserlin [Wed, 8 Nov 2023 15:49:26 +0000 (10:49 -0500)]
Merge pull request #2176 from tserlin/wip-tserlin-pin-to-V5.7

nfs-ganesha: pin the daily build to V5.7

22 months agonfs-ganesha: pin the daily build to V5.7 2176/head
Thomas Serlin [Tue, 7 Nov 2023 20:24:09 +0000 (15:24 -0500)]
nfs-ganesha: pin the daily build to V5.7

The latest upstream nfs-ganesha 5 tag was released. Bump from
V5.5 to V5.7.

22 months agoMerge pull request #2166 from rkachach/fix_issue_63019
Nizamudeen A [Tue, 7 Nov 2023 12:43:04 +0000 (18:13 +0530)]
Merge pull request #2166 from rkachach/fix_issue_63019

project config: adding rook orchestrator e2e testing job

22 months agoceph-build: adding quincy, pacific and octopus to blacklist 2166/head
Redouane Kachach [Tue, 7 Nov 2023 11:50:33 +0000 (12:50 +0100)]
ceph-build: adding quincy, pacific and octopus to blacklist

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
22 months agotest: changing trigger-phrase
Redouane Kachach [Mon, 6 Nov 2023 14:37:55 +0000 (15:37 +0100)]
test: changing trigger-phrase

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
22 months agoproject config: adding rook orchestrator e2e testing job
Redouane Kachach [Fri, 29 Sep 2023 08:33:13 +0000 (10:33 +0200)]
project config: adding rook orchestrator e2e testing job
Fixes: https://tracker.ceph.com/issues/63019
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
22 months agoMerge pull request #2172 from dmick/wip-sync-push
Laura Flores [Thu, 26 Oct 2023 20:21:42 +0000 (16:21 -0400)]
Merge pull request #2172 from dmick/wip-sync-push

sync-push et al: add -ex to shebang, add staging area to sync-push

22 months agoceph-build-pull-requests: rather than ansible, pin ansible-core 2175/head
Dan Mick [Thu, 26 Oct 2023 00:20:44 +0000 (17:20 -0700)]
ceph-build-pull-requests: rather than ansible, pin ansible-core

Last change pinned ansible to 8.4.0 to workaround a bug.  The
buggy code is actually in ansible-core, so pin that instead.
See https://github.com/ceph/ceph-build/pull/2173

Signed-off-by: Dan Mick <dmick@redhat.com>
22 months agoMerge pull request #2173 from dmick/wip-ceph-build-pull-requests
Zack Cerza [Wed, 25 Oct 2023 21:39:42 +0000 (15:39 -0600)]
Merge pull request #2173 from dmick/wip-ceph-build-pull-requests

ceph-build-pull-requests/build/build: pin ansible to 8.4.0

22 months agoMerge pull request #2174 from ceph/wip-bookworm
Dan Mick [Wed, 25 Oct 2023 21:34:21 +0000 (14:34 -0700)]
Merge pull request #2174 from ceph/wip-bookworm

ceph-build, etc: add debian bookworm

22 months agoceph-build, etc: add debian bookworm 2174/head
Josh Durgin [Wed, 25 Oct 2023 14:57:29 +0000 (10:57 -0400)]
ceph-build, etc: add debian bookworm

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
23 months agoceph-build-pull-requests/build/build: pin ansible to 8.4.0 2173/head
Dan Mick [Wed, 25 Oct 2023 03:32:18 +0000 (20:32 -0700)]
ceph-build-pull-requests/build/build: pin ansible to 8.4.0

ansible 8.5.0 includes a change to ansible-galaxy that breaks
the installation of sensu and rabbitmq:

https://github.com/ansible/ansible/issues/82073

Work around that by pinning ansible to 8.4.0

Fixes: https://tracker.ceph.com/issues/63223
Signed-off-by: Dan Mick <dmick@redhat.com>
23 months agosync-push: add staging_dir for releases under construction 2172/head
Dan Mick [Tue, 24 Oct 2023 22:50:41 +0000 (15:50 -0700)]
sync-push: add staging_dir for releases under construction

Signed-off-by: Dan Mick <dmick@redhat.com>
23 months agosync-pull, sign-rpms, sync-push: add -ex to shebang line
Dan Mick [Fri, 20 Oct 2023 23:40:46 +0000 (16:40 -0700)]
sync-pull, sign-rpms, sync-push: add -ex to shebang line

Show what we're doing, and exit on error

Signed-off-by: Dan Mick <dmick@redhat.com>
23 months agokernel-trigger: increase clone timeout 2170/head
Ilya Dryomov [Mon, 16 Oct 2023 12:09:17 +0000 (14:09 +0200)]
kernel-trigger: increase clone timeout

From time to time Jenkins kills "git index-pack" due to a timeout:

 > git fetch --no-tags --progress -- https://github.com/ceph/ceph-client.git +refs/heads/*:refs/remotes/origin/* # timeout=20
ERROR: Timeout after 20 minutes
...
remote: Enumerating objects: 9769655, done.
remote: Counting objects:   0% (1/368573)
...
remote: Counting objects: 100% (368573/368573), done.
remote: Compressing objects:   0% (1/73615)
...
remote: Compressing objects: 100% (73615/73615), done.
Receiving objects:   0% (1/9769655)
...
Receiving objects:  99% (9762992/9769655), 2.61 GiB | 19.22 MiB/s
remote: Total 9769655 (delta 294178), reused 368051 (delta 293885), pack-reused 9401082
Receiving objects: 100% (9769655/9769655), 2.62 GiB | 19.00 MiB/s
Receiving objects: 100% (9769655/9769655), 2.63 GiB | 19.17 MiB/s, done.
Resolving deltas:   0% (0/8264128)
...
Resolving deltas:  15% (1312818/8264128)
error: index-pack died of signal 15
fatal: index-pack failed

This step is CPU intensive, but it's very hard to tell what was going
on the worker node at the time and what made it slow.  As kernel builds
are pretty infrequent, just bump the timeout drastically.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
23 months agokernel: unbreak RPM builds 2169/head
Ilya Dryomov [Wed, 11 Oct 2023 10:57:15 +0000 (12:57 +0200)]
kernel: unbreak RPM builds

A bunch of kbuild changes went into 6.6-rc1.  In particular, the
location of rpmbuild structure has changed and BuildRequires clauses
are now applied universally so we need dwarves to be installed.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
23 months agoMerge pull request #2167 from batrick/debug-options
Dan Mick [Thu, 5 Oct 2023 22:19:02 +0000 (15:19 -0700)]
Merge pull request #2167 from batrick/debug-options

ceph-dev-new-setup: enable debug options for dev builds

23 months agoceph-dev-new-setup: enable debug options for dev builds 2167/head
Patrick Donnelly [Tue, 3 Oct 2023 16:47:52 +0000 (16:47 +0000)]
ceph-dev-new-setup: enable debug options for dev builds

Note: it has been this way since at least 35e1a715. It's difficult to tell when
or even if ceph was ever properly built with debugging configurations for QA as
there are corresponding changes in ceph with the switch to cmake which makes
this challenging to evaluate.

It's likely that it was wrongly assumed that cmake would set the build type to
Debug because the ".git" directory would be present. This is not the case
because the "make-dist" script (executed below) creates a git tarball that is
used for the actual untar/build. See also:

https://github.com/ceph/ceph/pull/53800

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
23 months agoMerge pull request #2168 from rhcs-dashboard/node-version-upgrade
Nizamudeen A [Thu, 5 Oct 2023 05:31:37 +0000 (11:01 +0530)]
Merge pull request #2168 from rhcs-dashboard/node-version-upgrade

deps: upgrade the node version to 16

23 months agodeps: upgrade the node version to 16 2168/head
Nizamudeen A [Thu, 5 Oct 2023 03:49:16 +0000 (09:19 +0530)]
deps: upgrade the node version to 16

the reasoning for choosing the node 16 is because it supports angular
version 12, 13, 14 and 15. We have angular 12 in the pacific

Signed-off-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #2164 from petrutlucian94/whitelist_ceph
Ilya Dryomov [Thu, 21 Sep 2023 10:01:18 +0000 (12:01 +0200)]
Merge pull request #2164 from petrutlucian94/whitelist_ceph

windows: add Ceph dir to Windows Defender exclusion list

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agowindows: add Ceph dir to Windows Defender exclusion list 2164/head
Lucian Petrut [Thu, 21 Sep 2023 08:24:11 +0000 (08:24 +0000)]
windows: add Ceph dir to Windows Defender exclusion list

We're getting occasional false positives from Windows Defender.
For this reason, we'll add the Ceph dir to the exclusion list.

  ERROR - Test exception: [WinError 225] Operation did not complete
  successfully because the file contains a virus or potentially unwanted
  software. Total exceptions: 22

   Windows Defender Antivirus has taken action to protect this machine from
   malware or other potentially unwanted software.
    For more information please see the following:
   https://go.microsoft.com/fwlink/?linkid=37020&name=Trojan:Win32/Bearfoos.A!m
   l&threatid=2147731250&enterprise=0
        Name: Trojan:Win32/Bearfoos.A!ml
        ID: 2147731250
        Severity: Severe
        Category: Trojan
        Path: file:_C:\ceph\rbd-wnbd.exe
        Detection Origin: Local machine
        Detection Type: Concrete
        Detection Source: Real-Time Protection
        User: NT AUTHORITY\SYSTEM
        Process Name: C:\Program Files\Python311\python.exe
        Action: Quarantine
        Action Status:  No additional actions required
        Error Code: 0x80508023
        Error description: The program could not find the malware and other
                       potentially unwanted software on this device.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2163 from dmick/wip-sepia-fog-images-build
Zack Cerza [Thu, 7 Sep 2023 16:44:43 +0000 (09:44 -0700)]
Merge pull request #2163 from dmick/wip-sepia-fog-images-build

2 years agosepia-fog-images/build/build: bootstrap teuthology unconditionally 2163/head
Dan Mick [Sat, 2 Sep 2023 07:28:27 +0000 (00:28 -0700)]
sepia-fog-images/build/build: bootstrap teuthology unconditionally

Whether or not we will teuthology-lock machines, we always need
teuthology-queue --pause

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2162 from petrutlucian94/win32_sv_start
Ionut BALUTOIU [Tue, 29 Aug 2023 08:00:15 +0000 (11:00 +0300)]
Merge pull request #2162 from petrutlucian94/win32_sv_start

windows: use "net.exe start" instead of Start-Service

2 years agowindows: use "net.exe start" instead of Start-Service 2162/head
Lucian Petrut [Tue, 29 Aug 2023 07:50:37 +0000 (07:50 +0000)]
windows: use "net.exe start" instead of Start-Service

The "Start-Serice" command doesn't really say why the service could
not be started:

  Start-Service : Service 'ceph-rbd (ceph-rbd)' cannot be started
  due to the following error: Cannot start service

We'll use the "net.exe start" command instead, which provides
additional information.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2161 from tserlin/wip-tserlin-pin-to-V5.5
tserlin [Mon, 28 Aug 2023 20:49:39 +0000 (16:49 -0400)]
Merge pull request #2161 from tserlin/wip-tserlin-pin-to-V5.5

nfs-ganesha: pin the daily build to V5.5

2 years agonfs-ganesha: pin the daily build to V5.5 2161/head
Thomas Serlin [Mon, 28 Aug 2023 18:38:24 +0000 (14:38 -0400)]
nfs-ganesha: pin the daily build to V5.5

Instead of just building the tip of whatever is in the "next"
branch, let's pin the daily nfs-ganesha build to the latest
stable tag: V5.5.

2 years agoceph-dev-build: update {build,setup}_osc for squid 2160/head
Radosław Zarzyński [Sat, 26 Aug 2023 17:53:30 +0000 (19:53 +0200)]
ceph-dev-build: update {build,setup}_osc for squid

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
2 years agoscripts/build_utils: map 19.* to squid
Radosław Zarzyński [Sat, 26 Aug 2023 17:51:47 +0000 (19:51 +0200)]
scripts/build_utils: map 19.* to squid

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
2 years agoMerge pull request #2159 from ljflores/wip-lower-concurrency
Laura Flores [Wed, 16 Aug 2023 21:49:24 +0000 (16:49 -0500)]
Merge pull request #2159 from ljflores/wip-lower-concurrency

scripts: lower concurrency for many-core machines

2 years agoscripts: lower concurrency for many-core machines 2159/head
Laura Flores [Wed, 16 Aug 2023 20:42:50 +0000 (15:42 -0500)]
scripts: lower concurrency for many-core machines

adami nodes have 96 processing units (nproc). Based on the old script
logic, we were compiling 90 build jobs with 96 processing units. This
combination (96/90) ends up causing many instances of memory
overconsumption on adami nodes.

With this new logic, we take into account that jobs take up more memory
than we expect. This will make it so adami nodes will compile 67 build
jobs on 96 processing units, which will hopefully avoid so many instances
of memory overconsumption. (Total memory on adami nodes is generally
~270036 MiB, so 270036 / 4000 = 67)

braggi nodes do not have this problem; they have 48 processing units.
It has been working so far to compile 48 build jobs with 48 processing
units on the braggi nodes, and this new logic will not change that or
any other node with nproc <= 50.

Fixes: https://tracker.ceph.com/issues/57296
Signed-off-by: Laura Flores <lflores@ibm.com>
2 years agoMerge pull request #2157 from dmick/wip-jenkins-builders
Zack Cerza [Mon, 14 Aug 2023 18:52:42 +0000 (12:52 -0600)]
Merge pull request #2157 from dmick/wip-jenkins-builders

Update jenkins-builder support

2 years agoMerge pull request #2158 from ceph/fix-ca-flake8
Guillaume Abrioux [Thu, 10 Aug 2023 22:08:00 +0000 (00:08 +0200)]
Merge pull request #2158 from ceph/fix-ca-flake8

ceph-container-flake8: migrate to alpine/flake8 image

2 years agoceph-container-flake8: migrate to alpine/flake8 image 2158/head
Guillaume Abrioux [Thu, 10 Aug 2023 21:09:23 +0000 (23:09 +0200)]
ceph-container-flake8: migrate to alpine/flake8 image

the current image is old and uses a flake8 build based on
py2.7.

It means we are checking python 3.x code with a python 2.7 version
of flake8. That doesn't work very well.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoStandardize on "label" name for parameter 2157/head
Dan Mick [Wed, 9 Aug 2023 02:05:25 +0000 (19:05 -0700)]
Standardize on "label" name for parameter

The Jenkins UI (or at least the Python binding) uses "label", not
"labels" (for reconfig only, because it uses XML, and the XML contains
the tag 'label'.  Sadly that's not true for create.)

Avoid the confusion that wasted my time.

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoansible/builder.yml: add bookworm deb signing keys
Dan Mick [Tue, 1 Aug 2023 22:24:58 +0000 (15:24 -0700)]
ansible/builder.yml: add bookworm deb signing keys

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoTreat 8.43-IP hosts as "permanent" builders too (for ceph.io, which builds HTML)
Dan Mick [Wed, 19 Jul 2023 20:33:06 +0000 (13:33 -0700)]
Treat 8.43-IP hosts as "permanent" builders too (for ceph.io, which builds HTML)

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoansible: use 'inventory_hostname' to look up jenkins labels
Dan Mick [Wed, 19 Jul 2023 20:31:31 +0000 (13:31 -0700)]
ansible: use 'inventory_hostname' to look up jenkins labels

inventory_hostname is as it appears in the inventory file, and keeping
that consistent is easier than dealing with short vs long names
Note: this requires a change to ceph-sepia-secrets to standardize on
the inventory form of the name

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2156 from ceph/fix-container-flake8
Guillaume Abrioux [Mon, 7 Aug 2023 15:21:55 +0000 (17:21 +0200)]
Merge pull request #2156 from ceph/fix-container-flake8

ceph-container-flake8: fix test

2 years agoceph-container-flake8: fix test 2156/head
Guillaume Abrioux [Mon, 7 Aug 2023 15:10:57 +0000 (17:10 +0200)]
ceph-container-flake8: fix test

Looks like this job has never worked.
The file should be bind-mounted in /code, not in /
There's no need to pass arguments, the entrypoint automatically
scan /code and run flake8 against any present files.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #2154 from Matan-B/wip-matanb-crimson-centos9
Dan Mick [Thu, 3 Aug 2023 07:13:28 +0000 (00:13 -0700)]
Merge pull request #2154 from Matan-B/wip-matanb-crimson-centos9

ceph-dev*: build crimson on centos9 (main and reef)

2 years agoMerge pull request #2155 from petrutlucian94/log_disk_space
Ionut BALUTOIU [Wed, 2 Aug 2023 08:12:46 +0000 (11:12 +0300)]
Merge pull request #2155 from petrutlucian94/log_disk_space

2 years agowindows: log available disk space 2155/head
Lucian Petrut [Wed, 2 Aug 2023 08:01:58 +0000 (08:01 +0000)]
windows: log available disk space

Some Windows test jobs have failed after the OSDs ran out of disk
space. Those jobs use Linux VMs with 128GBs of storage and run
3 OSDs, each having 15GB.

In order to get a better picture, we'll log the disk space usage,
including the vstart directory contents.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #2147 from dmick/wip-jenkins-builders
Zack Cerza [Wed, 26 Jul 2023 22:46:46 +0000 (16:46 -0600)]
Merge pull request #2147 from dmick/wip-jenkins-builders

ansible: enhance library/jenkins_node to allow node update

2 years agoceph-dev*: build crimson on centos9 (main and reef) 2154/head
Matan [Wed, 26 Jul 2023 12:45:01 +0000 (15:45 +0300)]
ceph-dev*: build crimson on centos9 (main and reef)

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 years agoMerge pull request #2152 from dmick/wip-vault-pass
Yuri Weinstein [Tue, 25 Jul 2023 02:44:44 +0000 (22:44 -0400)]
Merge pull request #2152 from dmick/wip-vault-pass

ansible: remove vault_password_file; jenkins-build doesn't have one

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2 years agoansible: remove vault_password_file; jenkins-build doesn't have one 2152/head
Dan Mick [Tue, 25 Jul 2023 02:35:26 +0000 (19:35 -0700)]
ansible: remove vault_password_file; jenkins-build doesn't have one

Jenkins also uses ansible for some builds, and this config item breaks
the run, because although the ansible secret isn't needed, if you configure
it, ansible requires it.  <sigh>

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2150 from lxbsz/centos9
Ilya Dryomov [Mon, 24 Jul 2023 08:55:19 +0000 (10:55 +0200)]
Merge pull request #2150 from lxbsz/centos9

kernel: enable centos9 build

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agokernel: enable the centos9 build 2150/head
Xiubo Li [Mon, 24 Jul 2023 06:47:35 +0000 (14:47 +0800)]
kernel: enable the centos9 build

commit 4b61a221e4e2f53dc7df3137fc34f418c3f3b879 just forgot to enable
it after adding centos9.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
2 years agoMerge pull request #2149 from dmick/wip-preserve-temp-jobs
Zack Cerza [Fri, 21 Jul 2023 16:10:06 +0000 (10:10 -0600)]
Merge pull request #2149 from dmick/wip-preserve-temp-jobs

jenkins-job-builder: don't delete jobs named 'preserve-*'

2 years agojenkins-job-builder: don't delete jobs named 'preserve-*' 2149/head
Dan Mick [Fri, 21 Jul 2023 02:43:05 +0000 (19:43 -0700)]
jenkins-job-builder: don't delete jobs named 'preserve-*'

This is to allow job development without losing the jobs and past builds
as other ceph-build PRs are pushed.  It's assumed that if you create a job
with 'preserve-' in its title that you will clean it up when you're done.

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2141 from ceph/wip-tcmu-runner-repo-url
Ilya Dryomov [Thu, 20 Jul 2023 11:14:21 +0000 (13:14 +0200)]
Merge pull request #2141 from ceph/wip-tcmu-runner-repo-url

tcmu-runner: set $RELEASE before it's used

Reviewed-by: Adam Kraitman <akraitma@redhat.com>
2 years agoMerge pull request #2148 from ljflores/wip-increase-timeout
Laura Flores [Wed, 19 Jul 2023 21:28:02 +0000 (16:28 -0500)]
Merge pull request #2148 from ljflores/wip-increase-timeout

ceph-dev-new-setup/config/definitions: increase timeout for cloning ci repo

2 years agoceph-dev-new-setup/config/definitions: increase timeout for cloning ci repo 2148/head
Laura Flores [Mon, 17 Jul 2023 21:44:44 +0000 (16:44 -0500)]
ceph-dev-new-setup/config/definitions: increase timeout for cloning ci repo

Might help address failures like
```
fatal: fetch-pack: invalid index-pack output`
```
and
```
error: rev-list died of signal 15
error: github.com:ceph/ceph-ci.git did not send all necessary objects
```

Signed-off-by: Laura Flores <lflores@redhat.com>
2 years agolibrary/jenkins_node: improve diagnostics on failure. 2147/head
Dan Mick [Sat, 15 Jul 2023 01:09:08 +0000 (18:09 -0700)]
library/jenkins_node: improve diagnostics on failure.

Capture exception args for exceptions that have no msg or message,
and capture a traceback.

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoexamples/builder.yml, library/jenkins_node: support node update
Dan Mick [Sat, 15 Jul 2023 01:07:32 +0000 (18:07 -0700)]
examples/builder.yml, library/jenkins_node: support node update

Original implementation would only permit nodes to be created if they
did not exist.  Add support to update certain attributes of the node
with a run against extant nodes.  Only permit a few attribute updates.
This is primarily motivated by the desire to support maintaining node
labels with ansible.

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2139 from dmick/wip-jenkins-builders
Dan Mick [Sat, 15 Jul 2023 01:02:20 +0000 (18:02 -0700)]
Merge pull request #2139 from dmick/wip-jenkins-builders

Fix up a number of problems with ansible/examples/builder.yml

2 years agoMerge pull request #2146 from rhcs-dashboard/cleanup-script-cephadm-e2e-nightly
Nizamudeen A [Fri, 14 Jul 2023 12:11:10 +0000 (17:41 +0530)]
Merge pull request #2146 from rhcs-dashboard/cleanup-script-cephadm-e2e-nightly

dashboard-cephadm-e2e-nightly: move the cleanup script to postbuild step

2 years agolibrary/jenkins_node: use python3 2139/head
Dan Mick [Thu, 8 Jun 2023 09:07:09 +0000 (02:07 -0700)]
library/jenkins_node: use python3

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agofiles/ssh/hostkeys/github.com.pub: update the github host key
Dan Mick [Thu, 8 Jun 2023 09:05:24 +0000 (02:05 -0700)]
files/ssh/hostkeys/github.com.pub: update the github host key

github reissued its host key in March 2023 (see
https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/).
Record here for use in setting up jenkins builders.

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoansible/examples/builder.yml: kill any rogue agent/slave.jar procs
Dan Mick [Thu, 8 Jun 2023 09:03:39 +0000 (02:03 -0700)]
ansible/examples/builder.yml: kill any rogue agent/slave.jar procs

Some time ago slave.jar was renamed agent.jar, and there were
builders running the old version, sometimes as root (which caused
problems when the job would check out git workspaces as root
that could then not be removed by a job running as jenkins-build).
Clean up the crufty procs, if any.

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoansible/examples/builder.yml: fix egregious spelling error
Dan Mick [Thu, 8 Jun 2023 09:02:50 +0000 (02:02 -0700)]
ansible/examples/builder.yml: fix egregious spelling error

also add a tag for the register step; will be useful for updating
tags once I get updating working

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #2144 from ljflores/wip-crimson-pacific-2
Dan Mick [Tue, 11 Jul 2023 21:31:37 +0000 (14:31 -0700)]
Merge pull request #2144 from ljflores/wip-crimson-pacific-2

ceph-dev-cron, ceph-dev-new-trigger: don't build crimson for pacific