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

Creating big query tables for perf tests - 3 #1450

Merged
merged 64 commits into from Nov 1, 2023

Conversation

Tulsishah
Copy link
Collaborator

@Tulsishah Tulsishah commented Oct 18, 2023

Description

Changing python script, to upload data in big query tables(Added functions).
Added licence files.

ref - #1209

Link to the issue in case of a bug fix.

NA

Testing details

  1. Manual - Tested build script manually, Working fine uploading data on gsheet.
  2. Unit tests - NA
  3. Integration tests - NA

gargnitingoogle and others added 14 commits October 10, 2023 05:24
1. It chunkifies DiffFiles utility function.
This rationalizes the memory requirement
of file-op of this utility. This utility
earlier used to the read the complete files
in memory, but now only a chunk is read and
compared at a time.

2. Rename DiffFiles to AreFilesIdentical

Renames file-op utility DiffFiles to AreFilesIdentical
and changes it to return bool instead of int.
…1380)

* adding print log file statement

* failure test

* testing error

* undo testing changes

* formating

* fix comment

* adding test error

* small fix

* small fix

* testing

* adding action artifacts

* small fix

* small fix

* removing error statement

* testing

* testing

* testing

* undo changes

* undo testing changes

* fixing comments
* Upgrading go version to 1.21.1

* Temp changes to run perf/integration test

* Revert "Temp changes to run perf/integration test"

This reverts commit 18dd533.
For now, it just prints stack-trace
whenever anyone calls logger.Fatalf(...).
This needs to be enhanced further to
include more scenarios (i.e. more
sources of crashes).
Also, improved the doc for config-file.
Upgrade from golang 1.21.1 to 1.21.2
* update go yaml package version from v2 to v3 in integration tests

* Empty-Commit
#1430)

* Passing gcsfuse flags from build.sh to mount the test bucket for performing list benchmarking

* removing __pycache

* small fix

* small fix

* unmount after fio tests

* small fix

* empty commit

* testing kokoro perf tests

* undo testing changes

* adding upload flag

* small fix

* small fix

* upload to upload_gs

* unnecessary change
@Tulsishah Tulsishah changed the base branch from master to nov_2023_release October 18, 2023 05:58
@Tulsishah Tulsishah changed the title Creating big query tables for perf tests - 3 [Don't Review] Creating big query tables for perf tests - 3 Oct 18, 2023
@Tulsishah Tulsishah force-pushed the create_big_query_tables_3 branch 2 times, most recently from b1ad848 to 3467c94 Compare October 18, 2023 09:29
@Tulsishah Tulsishah force-pushed the create_big_query_tables_3 branch 3 times, most recently from 3ffaebc to 1be2b96 Compare October 26, 2023 09:56
Copy link
Collaborator

@raj-prince raj-prince left a comment

Choose a reason for hiding this comment

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

Few minor comments.

@Tulsishah
Copy link
Collaborator Author

Few minor comments.

Fixed and tested again.

@gargnitingoogle
Copy link
Collaborator

@mustvicky@gmail.com test

@gargnitingoogle
Copy link
Collaborator

gargnitingoogle commented Nov 1, 2023

@mustvicky@gmail.com this is changes that we talked about offline. This is a change being merged into the master branch just 3 days before release (coming Monday). This has no impact on a user, and is purely in our regression jobs. So, this should be okay to go ahead, and not be blocked from merge into master. Needed your confirmation.

cc @Tulsishah

@mustvicky
Copy link

Confirmed to let the commit go to Master. My understanding is that if there is a problem this causes in regression test, we should rollback this chaneg to not release a possibly incorrect software, even if the software is not in the main logic.

Also, in general, we should tag master before runnign the longhaul tests release the build from that tag. I understand we are not there yet.

@Tulsishah Tulsishah merged commit 7fed6ea into master Nov 1, 2023
4 checks passed
gargnitingoogle added a commit that referenced this pull request Nov 1, 2023
* Fix DiffFiles utility function

1. It chunkifies DiffFiles utility function.
This rationalizes the memory requirement
of file-op of this utility. This utility
earlier used to the read the complete files
in memory, but now only a chunk is read and
compared at a time.

2. Rename DiffFiles to AreFilesIdentical

Renames file-op utility DiffFiles to AreFilesIdentical
and changes it to return bool instead of int.

* Copying logs on kokoro artifacts incase of integration test failure. (#1380)

* adding print log file statement

* failure test

* testing error

* undo testing changes

* formating

* fix comment

* adding test error

* small fix

* small fix

* testing

* adding action artifacts

* small fix

* small fix

* removing error statement

* testing

* testing

* testing

* undo changes

* undo testing changes

* fixing comments

* Upgrading go version from 1.21.0 to 1.21.1 (#1401)

* Upgrading go version to 1.21.1

* Temp changes to run perf/integration test

* Revert "Temp changes to run perf/integration test"

This reverts commit 18dd533.

* Updating semantics docs (#1407)

* Print stack-trace on crash

For now, it just prints stack-trace
whenever anyone calls logger.Fatalf(...).
This needs to be enhanced further to
include more scenarios (i.e. more
sources of crashes).

* Throw error in case of unexpected fields (#1416)

Also, improved the doc for config-file.

* Upgraded the fuse library (#1419)

* add "create-empty-file: true" tests to run_tests_mounted_directory.sh (#1413)

* Upgrade golang from 1.21.1 to 1.21.2 (#1431)

Upgrade from golang 1.21.1 to 1.21.2

* Update yaml package version from v2 to v3 in integration tests (#1434)

* update go yaml package version from v2 to v3 in integration tests

* Empty-Commit

* Passing gcsfuse flags from build.sh to mount the test bucket for perf… (#1430)

* Passing gcsfuse flags from build.sh to mount the test bucket for performing list benchmarking

* removing __pycache

* small fix

* small fix

* unmount after fio tests

* small fix

* empty commit

* testing kokoro perf tests

* undo testing changes

* adding upload flag

* small fix

* small fix

* upload to upload_gs

* unnecessary change

* adding big query table setup

* changes for small pr

* adding requirements and setup scripts

* indentation fix

* removing unnecessary changes

* adding start build time

* adding requirements and setup scripts

* python file changes

* small fix

* testing

* testing gsheet upload

* perfmetrics/scripts/ls_metrics/listing_benchmark.py

* testing

* removing unnecessary changes

* Creating big query tables for perf tests - 1 (#1444)

* adding big query table setup

* changes for small pr

* indentation fix

* removing unnecessary changes

* adding start build time

* changes for small pr

* indentation fix

* removing unnecessary changes

* adding requirements and setup scripts

* merge with parent

* testing

* testing gsheet upload

* merge with parent

* removing unnecessary changes

* fixing requirements.in

* Creating big query tables for perf tests - 2 (#1445)

* adding big query table setup

* changes for small pr

* adding requirements and setup scripts

* fixing requirements.in

* merge

* merge

* small fixes

* small fixes

* small fix

* undo testing changes

* formating

* testing changes

* undo testing changes

* remove unnecessary functions

* fixing indentation

* small fix

* adding testing changes

* small fix

* undo testing changes

* formating

* fixing unit tests

* formatting

* fixing commets and adding test changes

* undo testing changes

---------

Co-authored-by: Nitin Garg <gargnitin@google.com>
Co-authored-by: Prince Kumar <princer@google.com>
Co-authored-by: Ayush Sethi <ayushsethi@google.com>
Co-authored-by: Ashmeen Kaur <57195160+ashmeenkaur@users.noreply.github.com>
Co-authored-by: Nitin Garg <113666283+gargnitingoogle@users.noreply.github.com>
gargnitingoogle added a commit that referenced this pull request Nov 28, 2023
* Fix DiffFiles utility function

1. It chunkifies DiffFiles utility function.
This rationalizes the memory requirement
of file-op of this utility. This utility
earlier used to the read the complete files
in memory, but now only a chunk is read and
compared at a time.

2. Rename DiffFiles to AreFilesIdentical

Renames file-op utility DiffFiles to AreFilesIdentical
and changes it to return bool instead of int.

* Copying logs on kokoro artifacts incase of integration test failure. (#1380)

* adding print log file statement

* failure test

* testing error

* undo testing changes

* formating

* fix comment

* adding test error

* small fix

* small fix

* testing

* adding action artifacts

* small fix

* small fix

* removing error statement

* testing

* testing

* testing

* undo changes

* undo testing changes

* fixing comments

* Upgrading go version from 1.21.0 to 1.21.1 (#1401)

* Upgrading go version to 1.21.1

* Temp changes to run perf/integration test

* Revert "Temp changes to run perf/integration test"

This reverts commit 18dd533.

* Updating semantics docs (#1407)

* Print stack-trace on crash

For now, it just prints stack-trace
whenever anyone calls logger.Fatalf(...).
This needs to be enhanced further to
include more scenarios (i.e. more
sources of crashes).

* Throw error in case of unexpected fields (#1416)

Also, improved the doc for config-file.

* Upgraded the fuse library (#1419)

* add "create-empty-file: true" tests to run_tests_mounted_directory.sh (#1413)

* Upgrade golang from 1.21.1 to 1.21.2 (#1431)

Upgrade from golang 1.21.1 to 1.21.2

* Update yaml package version from v2 to v3 in integration tests (#1434)

* update go yaml package version from v2 to v3 in integration tests

* Empty-Commit

* Passing gcsfuse flags from build.sh to mount the test bucket for perf… (#1430)

* Passing gcsfuse flags from build.sh to mount the test bucket for performing list benchmarking

* removing __pycache

* small fix

* small fix

* unmount after fio tests

* small fix

* empty commit

* testing kokoro perf tests

* undo testing changes

* adding upload flag

* small fix

* small fix

* upload to upload_gs

* unnecessary change

* adding big query table setup

* changes for small pr

* adding requirements and setup scripts

* indentation fix

* removing unnecessary changes

* adding start build time

* adding requirements and setup scripts

* python file changes

* small fix

* testing

* testing gsheet upload

* perfmetrics/scripts/ls_metrics/listing_benchmark.py

* testing

* removing unnecessary changes

* Creating big query tables for perf tests - 1 (#1444)

* adding big query table setup

* changes for small pr

* indentation fix

* removing unnecessary changes

* adding start build time

* changes for small pr

* indentation fix

* removing unnecessary changes

* adding requirements and setup scripts

* merge with parent

* testing

* testing gsheet upload

* merge with parent

* removing unnecessary changes

* fixing requirements.in

* Creating big query tables for perf tests - 2 (#1445)

* adding big query table setup

* changes for small pr

* adding requirements and setup scripts

* fixing requirements.in

* merge

* merge

* small fixes

* small fixes

* small fix

* undo testing changes

* formating

* testing changes

* undo testing changes

* remove unnecessary functions

* fixing indentation

* small fix

* adding testing changes

* small fix

* undo testing changes

* formating

* fixing unit tests

* formatting

* fixing commets and adding test changes

* undo testing changes

---------

Co-authored-by: Nitin Garg <gargnitin@google.com>
Co-authored-by: Prince Kumar <princer@google.com>
Co-authored-by: Ayush Sethi <ayushsethi@google.com>
Co-authored-by: Ashmeen Kaur <57195160+ashmeenkaur@users.noreply.github.com>
Co-authored-by: Nitin Garg <113666283+gargnitingoogle@users.noreply.github.com>
gargnitingoogle added a commit that referenced this pull request Nov 29, 2023
* Fix DiffFiles utility function

1. It chunkifies DiffFiles utility function.
This rationalizes the memory requirement
of file-op of this utility. This utility
earlier used to the read the complete files
in memory, but now only a chunk is read and
compared at a time.

2. Rename DiffFiles to AreFilesIdentical

Renames file-op utility DiffFiles to AreFilesIdentical
and changes it to return bool instead of int.

* Copying logs on kokoro artifacts incase of integration test failure. (#1380)

* adding print log file statement

* failure test

* testing error

* undo testing changes

* formating

* fix comment

* adding test error

* small fix

* small fix

* testing

* adding action artifacts

* small fix

* small fix

* removing error statement

* testing

* testing

* testing

* undo changes

* undo testing changes

* fixing comments

* Upgrading go version from 1.21.0 to 1.21.1 (#1401)

* Upgrading go version to 1.21.1

* Temp changes to run perf/integration test

* Revert "Temp changes to run perf/integration test"

This reverts commit 18dd533.

* Updating semantics docs (#1407)

* Print stack-trace on crash

For now, it just prints stack-trace
whenever anyone calls logger.Fatalf(...).
This needs to be enhanced further to
include more scenarios (i.e. more
sources of crashes).

* Throw error in case of unexpected fields (#1416)

Also, improved the doc for config-file.

* Upgraded the fuse library (#1419)

* add "create-empty-file: true" tests to run_tests_mounted_directory.sh (#1413)

* Upgrade golang from 1.21.1 to 1.21.2 (#1431)

Upgrade from golang 1.21.1 to 1.21.2

* Update yaml package version from v2 to v3 in integration tests (#1434)

* update go yaml package version from v2 to v3 in integration tests

* Empty-Commit

* Passing gcsfuse flags from build.sh to mount the test bucket for perf… (#1430)

* Passing gcsfuse flags from build.sh to mount the test bucket for performing list benchmarking

* removing __pycache

* small fix

* small fix

* unmount after fio tests

* small fix

* empty commit

* testing kokoro perf tests

* undo testing changes

* adding upload flag

* small fix

* small fix

* upload to upload_gs

* unnecessary change

* adding big query table setup

* changes for small pr

* adding requirements and setup scripts

* indentation fix

* removing unnecessary changes

* adding start build time

* adding requirements and setup scripts

* python file changes

* small fix

* testing

* testing gsheet upload

* perfmetrics/scripts/ls_metrics/listing_benchmark.py

* testing

* removing unnecessary changes

* Creating big query tables for perf tests - 1 (#1444)

* adding big query table setup

* changes for small pr

* indentation fix

* removing unnecessary changes

* adding start build time

* changes for small pr

* indentation fix

* removing unnecessary changes

* adding requirements and setup scripts

* merge with parent

* testing

* testing gsheet upload

* merge with parent

* removing unnecessary changes

* fixing requirements.in

* Creating big query tables for perf tests - 2 (#1445)

* adding big query table setup

* changes for small pr

* adding requirements and setup scripts

* fixing requirements.in

* merge

* merge

* small fixes

* small fixes

* small fix

* undo testing changes

* formating

* testing changes

* undo testing changes

* remove unnecessary functions

* fixing indentation

* small fix

* adding testing changes

* small fix

* undo testing changes

* formating

* fixing unit tests

* formatting

* fixing commets and adding test changes

* undo testing changes

---------

Co-authored-by: Nitin Garg <gargnitin@google.com>
Co-authored-by: Prince Kumar <princer@google.com>
Co-authored-by: Ayush Sethi <ayushsethi@google.com>
Co-authored-by: Ashmeen Kaur <57195160+ashmeenkaur@users.noreply.github.com>
Co-authored-by: Nitin Garg <113666283+gargnitingoogle@users.noreply.github.com>
gargnitingoogle added a commit that referenced this pull request Nov 29, 2023
* Fix DiffFiles utility function

1. It chunkifies DiffFiles utility function.
This rationalizes the memory requirement
of file-op of this utility. This utility
earlier used to the read the complete files
in memory, but now only a chunk is read and
compared at a time.

2. Rename DiffFiles to AreFilesIdentical

Renames file-op utility DiffFiles to AreFilesIdentical
and changes it to return bool instead of int.

* Copying logs on kokoro artifacts incase of integration test failure. (#1380)

* adding print log file statement

* failure test

* testing error

* undo testing changes

* formating

* fix comment

* adding test error

* small fix

* small fix

* testing

* adding action artifacts

* small fix

* small fix

* removing error statement

* testing

* testing

* testing

* undo changes

* undo testing changes

* fixing comments

* Upgrading go version from 1.21.0 to 1.21.1 (#1401)

* Upgrading go version to 1.21.1

* Temp changes to run perf/integration test

* Revert "Temp changes to run perf/integration test"

This reverts commit 18dd533.

* Updating semantics docs (#1407)

* Print stack-trace on crash

For now, it just prints stack-trace
whenever anyone calls logger.Fatalf(...).
This needs to be enhanced further to
include more scenarios (i.e. more
sources of crashes).

* Throw error in case of unexpected fields (#1416)

Also, improved the doc for config-file.

* Upgraded the fuse library (#1419)

* add "create-empty-file: true" tests to run_tests_mounted_directory.sh (#1413)

* Upgrade golang from 1.21.1 to 1.21.2 (#1431)

Upgrade from golang 1.21.1 to 1.21.2

* Update yaml package version from v2 to v3 in integration tests (#1434)

* update go yaml package version from v2 to v3 in integration tests

* Empty-Commit

* Passing gcsfuse flags from build.sh to mount the test bucket for perf… (#1430)

* Passing gcsfuse flags from build.sh to mount the test bucket for performing list benchmarking

* removing __pycache

* small fix

* small fix

* unmount after fio tests

* small fix

* empty commit

* testing kokoro perf tests

* undo testing changes

* adding upload flag

* small fix

* small fix

* upload to upload_gs

* unnecessary change

* adding big query table setup

* changes for small pr

* adding requirements and setup scripts

* indentation fix

* removing unnecessary changes

* adding start build time

* adding requirements and setup scripts

* python file changes

* small fix

* testing

* testing gsheet upload

* perfmetrics/scripts/ls_metrics/listing_benchmark.py

* testing

* removing unnecessary changes

* Creating big query tables for perf tests - 1 (#1444)

* adding big query table setup

* changes for small pr

* indentation fix

* removing unnecessary changes

* adding start build time

* changes for small pr

* indentation fix

* removing unnecessary changes

* adding requirements and setup scripts

* merge with parent

* testing

* testing gsheet upload

* merge with parent

* removing unnecessary changes

* fixing requirements.in

* Creating big query tables for perf tests - 2 (#1445)

* adding big query table setup

* changes for small pr

* adding requirements and setup scripts

* fixing requirements.in

* merge

* merge

* small fixes

* small fixes

* small fix

* undo testing changes

* formating

* testing changes

* undo testing changes

* remove unnecessary functions

* fixing indentation

* small fix

* adding testing changes

* small fix

* undo testing changes

* formating

* fixing unit tests

* formatting

* fixing commets and adding test changes

* undo testing changes

---------

Co-authored-by: Nitin Garg <gargnitin@google.com>
Co-authored-by: Prince Kumar <princer@google.com>
Co-authored-by: Ayush Sethi <ayushsethi@google.com>
Co-authored-by: Ashmeen Kaur <57195160+ashmeenkaur@users.noreply.github.com>
Co-authored-by: Nitin Garg <113666283+gargnitingoogle@users.noreply.github.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.

None yet

6 participants