Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(profiler): compile busybench before running backoff test #6375

Merged
merged 4 commits into from
Jul 19, 2022

Conversation

amchiclet
Copy link
Contributor

The backoff test is timing out because all the 45 processes that are spawned use the command go run, which compiles busybench to a temp directory and run it. This means 45 processes compile the same code and have their own copy of the compiled code in their own temp directory. On the VM, this requires a lot of resources and causes delays (~10 minutes) when launching busybench, causing it to timeout.

This PR compiles busybench with go build first so all the processes can use the single binary. As a result the tests finish within 1 hour.

Also cleaned up the script to install go.

Tested on my GCP project and the backoff test finishes within the time limit.

@product-auto-label product-auto-label bot added size: s Pull request size is small. api: cloudprofiler Issues related to the Cloud Profiler API. labels Jul 19, 2022
@amchiclet amchiclet marked this pull request as ready for review July 19, 2022 23:30
@amchiclet amchiclet requested review from a team as code owners July 19, 2022 23:30
@amchiclet amchiclet requested a review from wyk9787 July 19, 2022 23:30
Copy link

@wyk9787 wyk9787 left a comment

Choose a reason for hiding this comment

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

LGTM pending CI results.

@amchiclet amchiclet merged commit 2b57588 into googleapis:main Jul 19, 2022
noahdietz added a commit that referenced this pull request Jul 21, 2022
* chore: release main (#6351)

* test(profiler): compile busybench before running backoff test (#6375)

* chore(bigquery/storage/managedwriter): augment test logging (#6373)

* chore(storage): RewriteObject implementation (#6313)

* chore(storage): RewriteObject implementation

* address feedback

* refactor source/destination object types

* address feedback

* address feedback

* fix test

* chore(main): release storage 1.24.0 (#6336)

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Chris Cotter <cjcotter@google.com>

* chore(internal/gapicgen): update microgen v0.31.2 (#6383)

Only includes fixes to regapic generation.

* test(bigquery/storage/managedwriter): relax error checking (#6385)

When a user issues a large request, the response from the
backend is a bare "InvalidArgument".  This PR removes additional
validation on information that is only attached when interrogating
the backend from a known client; it's stripped in the normal case.

Internal issue 239740070 was created to address the unactionable
nature of the response.

Fixes: #6361

* feat(firestore): adds Bulkwriter support to Firestore client (#5946)

* feat: adds Bulkwriter support to Firestore client

* test(storage): unflake TestIntegration_ACL (#6392)

Few minor changes to make sure potentially flaky and/or
eventually consistent operations for ACLs are retried appropriately.

Fixes #6379

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Amarin (Um) Phaosawasdi <amchiclet@users.noreply.github.com>
Co-authored-by: shollyman <shollyman@google.com>
Co-authored-by: Noah Dietz <noahdietz@users.noreply.github.com>
Co-authored-by: Chris Cotter <cjcotter@google.com>
Co-authored-by: Eric Schmidt <erschmid@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: cloudprofiler Issues related to the Cloud Profiler API. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants