From c8a25723b0df05d03da248bc6e7ac7abeba305d0 Mon Sep 17 00:00:00 2001 From: Nitin Garg Date: Mon, 16 Sep 2024 10:19:17 +0000 Subject: [PATCH] add/update copyright headers --- .../testing_on_gke/examples/dlio/dlio_workload.py | 15 +++++++++++++++ .../examples/dlio/dlio_workload_test.py | 15 +++++++++++++++ .../testing_on_gke/examples/dlio/parse_logs.py | 2 +- .../testing_on_gke/examples/dlio/run_tests.py | 2 +- .../testing_on_gke/examples/fio/fio_workload.py | 15 +++++++++++++++ .../examples/fio/fio_workload_test.py | 15 +++++++++++++++ .../testing_on_gke/examples/fio/parse_logs.py | 2 +- .../testing_on_gke/examples/fio/run_tests.py | 2 +- .../testing_on_gke/examples/utils/utils.py | 2 +- 9 files changed, 65 insertions(+), 5 deletions(-) diff --git a/perfmetrics/scripts/testing_on_gke/examples/dlio/dlio_workload.py b/perfmetrics/scripts/testing_on_gke/examples/dlio/dlio_workload.py index 141c4425db..25873d72c9 100644 --- a/perfmetrics/scripts/testing_on_gke/examples/dlio/dlio_workload.py +++ b/perfmetrics/scripts/testing_on_gke/examples/dlio/dlio_workload.py @@ -1,3 +1,18 @@ +# Copyright 2018 The Kubernetes Authors. +# Copyright 2024 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """This file defines a DlioWorkload (a DLIO Unet3d workload) and provides utility for parsing a json test-config file for a list of them. diff --git a/perfmetrics/scripts/testing_on_gke/examples/dlio/dlio_workload_test.py b/perfmetrics/scripts/testing_on_gke/examples/dlio/dlio_workload_test.py index acb225731b..62780d12a4 100644 --- a/perfmetrics/scripts/testing_on_gke/examples/dlio/dlio_workload_test.py +++ b/perfmetrics/scripts/testing_on_gke/examples/dlio/dlio_workload_test.py @@ -1,3 +1,18 @@ +# Copyright 2018 The Kubernetes Authors. +# Copyright 2024 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """This file defines unit tests for functionalities in dlio_workload.py""" import unittest diff --git a/perfmetrics/scripts/testing_on_gke/examples/dlio/parse_logs.py b/perfmetrics/scripts/testing_on_gke/examples/dlio/parse_logs.py index 536667e85f..3ed9a66ca8 100644 --- a/perfmetrics/scripts/testing_on_gke/examples/dlio/parse_logs.py +++ b/perfmetrics/scripts/testing_on_gke/examples/dlio/parse_logs.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # Copyright 2018 The Kubernetes Authors. -# Copyright 2022 Google LLC +# Copyright 2024 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/perfmetrics/scripts/testing_on_gke/examples/dlio/run_tests.py b/perfmetrics/scripts/testing_on_gke/examples/dlio/run_tests.py index 0b1973117c..780b35c3b2 100644 --- a/perfmetrics/scripts/testing_on_gke/examples/dlio/run_tests.py +++ b/perfmetrics/scripts/testing_on_gke/examples/dlio/run_tests.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # Copyright 2018 The Kubernetes Authors. -# Copyright 2022 Google LLC +# Copyright 2024 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/perfmetrics/scripts/testing_on_gke/examples/fio/fio_workload.py b/perfmetrics/scripts/testing_on_gke/examples/fio/fio_workload.py index e136ecc9ae..84a5257487 100644 --- a/perfmetrics/scripts/testing_on_gke/examples/fio/fio_workload.py +++ b/perfmetrics/scripts/testing_on_gke/examples/fio/fio_workload.py @@ -1,3 +1,18 @@ +# Copyright 2018 The Kubernetes Authors. +# Copyright 2024 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """This file defines a FioWorkload and provides utility for parsing a json test-config file for a list of them. diff --git a/perfmetrics/scripts/testing_on_gke/examples/fio/fio_workload_test.py b/perfmetrics/scripts/testing_on_gke/examples/fio/fio_workload_test.py index 6fda5f0178..0766b7acbc 100644 --- a/perfmetrics/scripts/testing_on_gke/examples/fio/fio_workload_test.py +++ b/perfmetrics/scripts/testing_on_gke/examples/fio/fio_workload_test.py @@ -1,3 +1,18 @@ +# Copyright 2018 The Kubernetes Authors. +# Copyright 2024 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """This file defines unit tests for functionalities in fio_workload.py""" import unittest diff --git a/perfmetrics/scripts/testing_on_gke/examples/fio/parse_logs.py b/perfmetrics/scripts/testing_on_gke/examples/fio/parse_logs.py index 755778a504..c9196fa727 100644 --- a/perfmetrics/scripts/testing_on_gke/examples/fio/parse_logs.py +++ b/perfmetrics/scripts/testing_on_gke/examples/fio/parse_logs.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # Copyright 2018 The Kubernetes Authors. -# Copyright 2022 Google LLC +# Copyright 2024 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/perfmetrics/scripts/testing_on_gke/examples/fio/run_tests.py b/perfmetrics/scripts/testing_on_gke/examples/fio/run_tests.py index 07d70230e2..6ef8031e89 100644 --- a/perfmetrics/scripts/testing_on_gke/examples/fio/run_tests.py +++ b/perfmetrics/scripts/testing_on_gke/examples/fio/run_tests.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # Copyright 2018 The Kubernetes Authors. -# Copyright 2022 Google LLC +# Copyright 2024 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/perfmetrics/scripts/testing_on_gke/examples/utils/utils.py b/perfmetrics/scripts/testing_on_gke/examples/utils/utils.py index 766a5c8a38..6cf2428cbb 100644 --- a/perfmetrics/scripts/testing_on_gke/examples/utils/utils.py +++ b/perfmetrics/scripts/testing_on_gke/examples/utils/utils.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # Copyright 2018 The Kubernetes Authors. -# Copyright 2022 Google LLC +# Copyright 2024 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.