Skip to content

[ceph-make-check-periodic-ppc64] Added support for ppc64 runners#2492

Open
anshuman-agarwala wants to merge 1 commit into
ceph:mainfrom
anshuman-agarwala:power-support
Open

[ceph-make-check-periodic-ppc64] Added support for ppc64 runners#2492
anshuman-agarwala wants to merge 1 commit into
ceph:mainfrom
anshuman-agarwala:power-support

Conversation

@anshuman-agarwala

@anshuman-agarwala anshuman-agarwala commented Nov 10, 2025

Copy link
Copy Markdown
Member

This PR adds support for running make check job on Power hardware.

@ceph-jenkins

Copy link
Copy Markdown

Can one of the admins verify this patch?

@anshuman-agarwala anshuman-agarwala force-pushed the power-support branch 2 times, most recently from c7048b8 to bed38a4 Compare November 10, 2025 05:23
@jmundack

Copy link
Copy Markdown
Contributor

can we add in some details on why we are adding this in?

also - do we have enough runners in the lab for this?

@anshuman-agarwala

Copy link
Copy Markdown
Member Author

can we add in some details on why we are adding this in?

also - do we have enough runners in the lab for this?

I've added some detail on what this does in the description.
As for the runners, they will be provided by my team at IBM.
We had a discussion a while back with some folks from the Ceph engineering team about running make check on power. We were told that they'll be fine with it as long as we maintain the code and hardware for it.
This PR is a Draft since we still have some things to fix on our end.

@anshuman-agarwala anshuman-agarwala force-pushed the power-support branch 2 times, most recently from 7402b9d to a1acd92 Compare November 17, 2025 05:45
@jmundack

Copy link
Copy Markdown
Contributor

thanks for the context.!

can this be like a weekly job rather than a PR check? especially in the beginning while resources are flushed out (gear as well as effort to maintain this)

@anshuman-agarwala

Copy link
Copy Markdown
Member Author

Sure! I've changed the job cadence to weekly.

@anshuman-agarwala anshuman-agarwala changed the title [ceph-pull-requests-ppc64] Added support for ppc64 runners [ceph-make-check-periodic-ppc64] Added support for ppc64 runners Nov 27, 2025
@anshuman-agarwala anshuman-agarwala marked this pull request as ready for review June 15, 2026 03:08

@zmc zmc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just some minor suggestions

# echo '===== npm cache info ======='
# du -sh "${NPMCACHE}" || echo "${NPMCACHE} not present"
# echo '============================'
#}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest removing the commented bits

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've removed the commented code

"${@}"
}

podman login -u ${DOCKER_HUB_USERNAME} -p ${DOCKER_HUB_PASSWORD} docker.io

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is bwc pulling from docker.io?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the default centos-9 image is being pulled from dockerhub when I run this script.

# echo "Warning: Attempt $((i + 1)) to cache npm packages failed."
# sleep $((10 + 30 * i))
#done
#npm_cache_info

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest removing the rest of the commented bits here as well

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

# manually after the job is aborted.

# if ctest is still running, get its pid, otherwise we are done.
ctest_pid=$(pgrep ctest) || exit 0

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

won't this potentially kill other runs on the same machine since concurrent: true is set in the job config?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is how we're doing it for the x86/arm jobs:

ctest_pid=$(pgrep ctest) || exit 0

Anyways it should not matter here since the power runners won't have any other jobs running on them right now.

node: 'ppc64 && (installed-os-noble || centos9)'
parameters:
- string:
name: ghprbPullId

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest renaming this parameter since the (deprecated) ghprb plugin isn't being used here

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've renamed this parameter.

num-to-keep: 300
- raw:
xml: |
<com.sonyericsson.jenkins.plugins.bfa.model.ScannerJobProperty plugin="build-failure-analyzer@1.18.1">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this section necessary? I haven't seen this done before.
I am also a little concerned about the hardcoding of the plugin version.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't recall why I added this. I'm looking at corresponding x86 and arm jobs and they don't seem to have this. I've removed both these sections.

url: https://github.com/ceph/ceph/
- raw:
xml: |
<com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.25">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question here as above

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've removed this.

Signed-off-by: Anshuman <anshuman@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants