This is an archive of the discontinued LLVM Phabricator instance.

Changing the ppc64[be|le] bots to TestSuiteBuilders
ClosedPublic

Authored by kamaub on Jun 21 2022, 6:41 AM.

Details

Summary

Update the ppc64 lnt bots to use cmake and ninja to build and run test-suite

To achieve this with minimal impact, most of the functionality from UnifiedTreeBuilder.py
is copied into TestSuiteBuilder.py instead of importing it so that the step naming convention
and ninja environment variables can be modified without impacting all the bots that
use getCmakeBuildFactory().

Bots are renamed to reflect this change:

  • clang-ppc64le-linux-lnt => clang-ppc64le-linux-test-suite
  • clang-ppc64be-linux-lnt => clang-ppc64be-linux-test-suite

The clang-ppc64le-rhel bot is updated to run check-all instead of check on the llvm-lit testing step.

Diff Detail

Event Timeline

kamaub created this revision.Jun 21 2022, 6:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 21 2022, 6:41 AM
Herald added a subscriber: shchenz. · View Herald Transcript
kamaub requested review of this revision.Jun 21 2022, 6:41 AM
kamaub edited the summary of this revision. (Show Details)Jun 23 2022, 12:50 PM
kamaub planned changes to this revision.Jun 23 2022, 1:38 PM

Planning to move away from the UnifiedTreeBuilder for our TestSuiteBuilder

kamaub updated this revision to Diff 441001.Jun 29 2022, 7:27 AM

This update removes the edits made to the TestSuiteBuilder, as they are not
critical to the PR, we will not be moving away from the UnifiedTreeBuilder
as a base for the TestSuiteBuilder.

amyk added a comment.Jun 29 2022, 3:02 PM

I think the patch makes sense - just had a question I wanted to ask.

buildbot/osuosl/master/config/builders.py
689

Can you remind me why we're removing the check here again? Does this correspond to the 'ninja check' that we previously discussed?

kamaub added inline comments.Jun 30 2022, 9:35 AM
buildbot/osuosl/master/config/builders.py
689

Yes, on https://reviews.llvm.org/source/zorg/browse/main/zorg/buildbot/builders/UnifiedTreeBuilder.py$295 , the bot is set to run ninja check-all as most general bots and certainly our ppc bots do, not sure why we specifically chose to make this ninja check but with this the bot is allowed to use the default as it should.

gkistanova accepted this revision.Jun 30 2022, 12:20 PM

Thanks, Kamau!
LGTM.

I assume you renamed the existing workers keeping the secret part the same respectively. Please send me the new set of credentials otherwise, would you?

This revision is now accepted and ready to land.Jun 30 2022, 12:20 PM
kamaub added a comment.Jul 5 2022, 1:35 PM

Thank you!

I assume you renamed the existing workers keeping the secret part the same respectively. Please send me the new set of credentials otherwise, would you?

Yes, let us keep the secret part the same for both of them.

When is the next build master restart scheduled for? I would like to turn these two workers off at the end of the day before, so I don't spam incorrect credentials again like with the flang and mlir worker.

This revision was automatically updated to reflect the committed changes.

Please feel free to connect with the new names.