Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Allow to run testnet-automation.sh directly from PRs#9212

Closed
ryoqun wants to merge 1 commit intosolana-labs:masterfrom
ryoqun:pr-triggered-testnet-automation
Closed

Allow to run testnet-automation.sh directly from PRs#9212
ryoqun wants to merge 1 commit intosolana-labs:masterfrom
ryoqun:pr-triggered-testnet-automation

Conversation

@ryoqun
Copy link
Copy Markdown
Contributor

@ryoqun ryoqun commented Apr 1, 2020

Problem

While doing #9161, I noticed that I can't test testnet automation scripts with my changes in that PR.

Summary of Changes

I'm surprised testnet-automation.sh is really solid to this extent; just a small more wiring was needed to fix the problem.

As a bonus, this paves the way to run preset of testnet runs from PRs directly and automatically.

Well, adequately streamlined, yet invoking bunch of colo.sh/gcp.sh and net.sh is a bit tedious for me just to run normal perf. tests. You know, engineers are lazy.. :p

@ryoqun ryoqun requested review from danpaul000 and mvines April 1, 2020 03:08
maybeDebug=--debug
fi
# Our build machne is on Azure which supports AVX512 but colos don't support AVX512.
# So, turn off simd at all as a work around to correctly cross-compile
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I need to create a tiny build-related PR against solana-reed-solomon to remove this work-around.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

if [[ -z $NDEBUG ]]; then
maybeDebug=--debug
fi
# Our build machne is on Azure which supports AVX512 but colos don't support AVX512.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

err, machine.

Copy link
Copy Markdown
Contributor

@mvines mvines left a comment

Choose a reason for hiding this comment

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

neat

@danpaul000
Copy link
Copy Markdown
Contributor

@ryoqun I don't quite follow where the direct-from-PR trigger is here. I think you are aware of the doc here for running test cases against a PR commit, yes? https://docs.google.com/document/d/1h1nYR7uwCNxntkKCvbsx64rVPGhhcH1Ub47rVYYVFZw/edit#heading=h.fxcmhq1uji4u

So we can run against a PR already, but not directly triggered from github, still requires a few clicks in buildkite.

@ryoqun
Copy link
Copy Markdown
Contributor Author

ryoqun commented Apr 1, 2020

@ryoqun I don't quite follow where the direct-from-PR trigger is here. I think you are aware of the doc here for running test cases against a PR commit, yes? https://docs.google.com/document/d/1h1nYR7uwCNxntkKCvbsx64rVPGhhcH1Ub47rVYYVFZw/edit#heading=h.fxcmhq1uji4u

So we can run against a PR already, but not directly triggered from github, still requires a few clicks in buildkite.

Cool!! So, we have that feature in place.. I created this pr while mistakenly thinking I cannot deploy PR changes to colo from wrong assumption/code reading... And, I've read that doc in the distant past and I've forgotten... Sorry for confusing by lack of understanding!

Anyway, I'll give it a shot!

@stale
Copy link
Copy Markdown

stale Bot commented Apr 8, 2020

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale Bot added the stale [bot only] Added to stale content; results in auto-close after a week. label Apr 8, 2020
@stale
Copy link
Copy Markdown

stale Bot commented Apr 15, 2020

This stale pull request has been automatically closed. Thank you for your contributions.

@stale stale Bot closed this Apr 15, 2020
@ryoqun
Copy link
Copy Markdown
Contributor Author

ryoqun commented Sep 22, 2020

(I'm trying to boot this aged pr for test-upgrade pr #12337 ): the successful build https://buildkite.com/solana-labs/testnet-automation-colocation/builds/130#565ed5c7-b9f4-4842-807f-2165b16e3184

@ryoqun ryoqun mentioned this pull request Sep 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

stale [bot only] Added to stale content; results in auto-close after a week.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants