diff --git a/LICENSE b/LICENSE index d9a10c0d8e8..b8ccd6aefb0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,176 +1,51 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS +Copyright (c) 2021 Intel Corporation. + +SPDX-License-Identifier: BSD-2-Clause-Patent + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +Subject to the terms and conditions of this license, each copyright holder +and contributor hereby grants to those receiving rights under this license +a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable +(except for failure to satisfy the conditions of this license) patent +license to make, have made, use, offer to sell, sell, import, and otherwise +transfer this software, where such license applies only to those patent +claims, already acquired or hereafter acquired, licensable by such copyright +holder or contributor that are necessarily infringed by: + +(a) their Contribution(s) (the licensed copyrights of copyright holders and + non-copyrightable additions of contributors, in source or binary form) + alone; or + +(b) combination of their Contribution(s) with the work of authorship to + which such Contribution(s) was added by such copyright holder or + contributor, if, at the time the Contribution is added, such addition + causes such combination to be necessarily infringed. The patent license + shall not apply to any other combinations which include the + Contribution. + +Except as expressly stated above, no rights or licenses from any copyright +holder or contributor is granted under this license, whether expressly, by +implication, estoppel or otherwise. + +DISCLAIMER + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. diff --git a/src/security/cli_security.c b/src/security/cli_security.c index cab48d6a490..ad839e3927c 100644 --- a/src/security/cli_security.c +++ b/src/security/cli_security.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #include diff --git a/src/security/srv.c b/src/security/srv.c index 8290a70a212..9a624b5a81d 100644 --- a/src/security/srv.c +++ b/src/security/srv.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2019 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** diff --git a/src/security/srv_acl.c b/src/security/srv_acl.c index 49ee2c8e537..4931d8d175f 100644 --- a/src/security/srv_acl.c +++ b/src/security/srv_acl.c @@ -1,24 +1,7 @@ /* * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #include diff --git a/src/security/srv_internal.h b/src/security/srv_internal.h index 281ef646896..1c35699a196 100644 --- a/src/security/srv_internal.h +++ b/src/security/srv_internal.h @@ -1,24 +1,7 @@ /* - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** diff --git a/src/security/tests/cli_security_tests.c b/src/security/tests/cli_security_tests.c index 7016142e9b3..5116101173e 100644 --- a/src/security/tests/cli_security_tests.c +++ b/src/security/tests/cli_security_tests.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2018-2019 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** diff --git a/src/security/tests/drpc_mocks.c b/src/security/tests/drpc_mocks.c index 1398b0a7ce7..fc14d7583f1 100644 --- a/src/security/tests/drpc_mocks.c +++ b/src/security/tests/drpc_mocks.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** diff --git a/src/security/tests/drpc_mocks.h b/src/security/tests/drpc_mocks.h index 522eb0021f2..55d90c9d0af 100644 --- a/src/security/tests/drpc_mocks.h +++ b/src/security/tests/drpc_mocks.h @@ -1,24 +1,7 @@ /* - * (C) Copyright 2019 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** diff --git a/src/security/tests/srv_acl_tests.c b/src/security/tests/srv_acl_tests.c index a8f5f3f0852..d373e385258 100644 --- a/src/security/tests/srv_acl_tests.c +++ b/src/security/tests/srv_acl_tests.c @@ -1,24 +1,7 @@ /* * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** diff --git a/src/tests/daos_perf.c b/src/tests/daos_perf.c index 242640369b6..a922aebc2c8 100644 --- a/src/tests/daos_perf.c +++ b/src/tests/daos_perf.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(tests) diff --git a/src/tests/daos_racer.c b/src/tests/daos_racer.c index 4119b1bc79e..e9184769051 100644 --- a/src/tests/daos_racer.c +++ b/src/tests/daos_racer.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(tests) diff --git a/src/tests/drpc/drpc_iosrv_test.c b/src/tests/drpc/drpc_iosrv_test.c index c0b7a794302..990a2bc388d 100644 --- a/src/tests/drpc/drpc_iosrv_test.c +++ b/src/tests/drpc/drpc_iosrv_test.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** diff --git a/src/tests/drpc/drpc_test.c b/src/tests/drpc/drpc_test.c index 16ca3ff2091..efe70109aa4 100644 --- a/src/tests/drpc/drpc_test.c +++ b/src/tests/drpc/drpc_test.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #include #include diff --git a/src/tests/ftest/aggregation/aggregation_basic.py b/src/tests/ftest/aggregation/aggregation_basic.py index d4d96297d21..68ae0ea480f 100644 --- a/src/tests/ftest/aggregation/aggregation_basic.py +++ b/src/tests/ftest/aggregation/aggregation_basic.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time diff --git a/src/tests/ftest/aggregation/aggregation_checksum.py b/src/tests/ftest/aggregation/aggregation_checksum.py index fc6fadea4e1..875b9a969ab 100644 --- a/src/tests/ftest/aggregation/aggregation_checksum.py +++ b/src/tests/ftest/aggregation/aggregation_checksum.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time diff --git a/src/tests/ftest/aggregation/aggregation_io_small.py b/src/tests/ftest/aggregation/aggregation_io_small.py index eb9c63d7f0d..7e6644df6d2 100644 --- a/src/tests/ftest/aggregation/aggregation_io_small.py +++ b/src/tests/ftest/aggregation/aggregation_io_small.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time diff --git a/src/tests/ftest/aggregation/aggregation_punching.py b/src/tests/ftest/aggregation/aggregation_punching.py index ea1e09fe9dc..af423bb3bae 100644 --- a/src/tests/ftest/aggregation/aggregation_punching.py +++ b/src/tests/ftest/aggregation/aggregation_punching.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time diff --git a/src/tests/ftest/aggregation/aggregation_throttling.py b/src/tests/ftest/aggregation/aggregation_throttling.py index f9ccfb9f607..2f297b7f987 100644 --- a/src/tests/ftest/aggregation/aggregation_throttling.py +++ b/src/tests/ftest/aggregation/aggregation_throttling.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time diff --git a/src/tests/ftest/aggregation/dfuse_space_check.py b/src/tests/ftest/aggregation/dfuse_space_check.py index 5760702b186..ebd7362f5bd 100644 --- a/src/tests/ftest/aggregation/dfuse_space_check.py +++ b/src/tests/ftest/aggregation/dfuse_space_check.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time diff --git a/src/tests/ftest/avocado_tests.py b/src/tests/ftest/avocado_tests.py index 185d859d426..fe4a9b9482b 100755 --- a/src/tests/ftest/avocado_tests.py +++ b/src/tests/ftest/avocado_tests.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Governments rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time diff --git a/src/tests/ftest/cart/common.h b/src/tests/ftest/cart/common.h index dd2f7d0ddf9..33cb22306f6 100644 --- a/src/tests/ftest/cart/common.h +++ b/src/tests/ftest/cart/common.h @@ -1,24 +1,7 @@ /* - * (C) Copyright 2017-2020 Intel Corporation. + * (C) Copyright 2017-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Common code for threaded_client/threaded_server testing multiple threads diff --git a/src/tests/ftest/cart/corpc/cart_corpc_five_node.py b/src/tests/ftest/cart/corpc/cart_corpc_five_node.py index 144d26fbddd..dea17e9e2c8 100755 --- a/src/tests/ftest/cart/corpc/cart_corpc_five_node.py +++ b/src/tests/ftest/cart/corpc/cart_corpc_five_node.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/cart/corpc/cart_corpc_one_node.py b/src/tests/ftest/cart/corpc/cart_corpc_one_node.py index c5231e91f18..515d2de4523 100755 --- a/src/tests/ftest/cart/corpc/cart_corpc_one_node.py +++ b/src/tests/ftest/cart/corpc/cart_corpc_one_node.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/cart/corpc/cart_corpc_two_node.py b/src/tests/ftest/cart/corpc/cart_corpc_two_node.py index a1c068ded3c..7248a39f594 100755 --- a/src/tests/ftest/cart/corpc/cart_corpc_two_node.py +++ b/src/tests/ftest/cart/corpc/cart_corpc_two_node.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/cart/crt_basic.c b/src/tests/ftest/cart/crt_basic.c index af64703dd01..2f200d4f3b1 100644 --- a/src/tests/ftest/cart/crt_basic.c +++ b/src/tests/ftest/cart/crt_basic.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This is a compile test to ensure that cart can be compiled with -pedantic diff --git a/src/tests/ftest/cart/ctl/cart_ctl_five_node.py b/src/tests/ftest/cart/ctl/cart_ctl_five_node.py index 4a2e98cbfd6..a6bfaffc990 100755 --- a/src/tests/ftest/cart/ctl/cart_ctl_five_node.py +++ b/src/tests/ftest/cart/ctl/cart_ctl_five_node.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/cart/ctl/cart_ctl_one_node.py b/src/tests/ftest/cart/ctl/cart_ctl_one_node.py index a347a297b73..38c22906c82 100755 --- a/src/tests/ftest/cart/ctl/cart_ctl_one_node.py +++ b/src/tests/ftest/cart/ctl/cart_ctl_one_node.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/cart/fault_status.c b/src/tests/ftest/cart/fault_status.c index 2837060efe9..e1edc109a36 100644 --- a/src/tests/ftest/cart/fault_status.c +++ b/src/tests/ftest/cart/fault_status.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2020 Intel Corporation. + * (C) Copyright 2020-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B620873. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ int main(void) { diff --git a/src/tests/ftest/cart/ghost_rank_rpc/cart_ghost_rank_prc_one_node.py b/src/tests/ftest/cart/ghost_rank_rpc/cart_ghost_rank_prc_one_node.py index b2ac213ab6a..f65a2f044eb 100755 --- a/src/tests/ftest/cart/ghost_rank_rpc/cart_ghost_rank_prc_one_node.py +++ b/src/tests/ftest/cart/ghost_rank_rpc/cart_ghost_rank_prc_one_node.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/cart/group_test/group_test.py b/src/tests/ftest/cart/group_test/group_test.py index e813ade16e9..5c5e85e2546 100755 --- a/src/tests/ftest/cart/group_test/group_test.py +++ b/src/tests/ftest/cart/group_test/group_test.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/cart/iv/cart_iv_one_node.py b/src/tests/ftest/cart/iv/cart_iv_one_node.py index f401de60792..d689c4460be 100755 --- a/src/tests/ftest/cart/iv/cart_iv_one_node.py +++ b/src/tests/ftest/cart/iv/cart_iv_one_node.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/cart/iv/cart_iv_two_node.py b/src/tests/ftest/cart/iv/cart_iv_two_node.py index 416cc44ac3f..30d937671c6 100755 --- a/src/tests/ftest/cart/iv/cart_iv_two_node.py +++ b/src/tests/ftest/cart/iv/cart_iv_two_node.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/cart/iv_client.c b/src/tests/ftest/cart/iv_client.c index b354874922f..cd217f7f9d2 100644 --- a/src/tests/ftest/cart/iv_client.c +++ b/src/tests/ftest/cart/iv_client.c @@ -1,24 +1,7 @@ /* * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This is a runtime test for verifying IV framework. IV Client is used for diff --git a/src/tests/ftest/cart/iv_common.h b/src/tests/ftest/cart/iv_common.h index 0d390c52057..b6c76cd3030 100644 --- a/src/tests/ftest/cart/iv_common.h +++ b/src/tests/ftest/cart/iv_common.h @@ -1,24 +1,7 @@ /* * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This is a common file for IV client and IV server diff --git a/src/tests/ftest/cart/iv_server.c b/src/tests/ftest/cart/iv_server.c index 3fdcecbfdcb..47d49fa72a9 100644 --- a/src/tests/ftest/cart/iv_server.c +++ b/src/tests/ftest/cart/iv_server.c @@ -1,24 +1,7 @@ /* * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This is a runtime IV server test that implements IV framework callbacks diff --git a/src/tests/ftest/cart/no_pmix/cart_nopmix_multictx_one_node.py b/src/tests/ftest/cart/no_pmix/cart_nopmix_multictx_one_node.py index b68e87fe69d..c3a3c019802 100755 --- a/src/tests/ftest/cart/no_pmix/cart_nopmix_multictx_one_node.py +++ b/src/tests/ftest/cart/no_pmix/cart_nopmix_multictx_one_node.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/cart/no_pmix_corpc_errors.c b/src/tests/ftest/cart/no_pmix_corpc_errors.c index e476108d5c0..c64dd592fca 100644 --- a/src/tests/ftest/cart/no_pmix_corpc_errors.c +++ b/src/tests/ftest/cart/no_pmix_corpc_errors.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Dynamic group testing for primary and secondary groups diff --git a/src/tests/ftest/cart/no_pmix_group_test.c b/src/tests/ftest/cart/no_pmix_group_test.c index 493daaf14ad..a16011cf376 100644 --- a/src/tests/ftest/cart/no_pmix_group_test.c +++ b/src/tests/ftest/cart/no_pmix_group_test.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Dynamic group testing for primary and secondary groups diff --git a/src/tests/ftest/cart/no_pmix_group_version.c b/src/tests/ftest/cart/no_pmix_group_version.c index 6636c914cc3..e7226c7c24c 100644 --- a/src/tests/ftest/cart/no_pmix_group_version.c +++ b/src/tests/ftest/cart/no_pmix_group_version.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Dynamic group testing for primary and secondary groups diff --git a/src/tests/ftest/cart/no_pmix_launcher_client.c b/src/tests/ftest/cart/no_pmix_launcher_client.c index ec1d39b4dd8..89c2133eabc 100644 --- a/src/tests/ftest/cart/no_pmix_launcher_client.c +++ b/src/tests/ftest/cart/no_pmix_launcher_client.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Client utilizing crt_launch generated environment for NO-PMIX mode diff --git a/src/tests/ftest/cart/no_pmix_launcher_common.h b/src/tests/ftest/cart/no_pmix_launcher_common.h index 9f9af17b5db..b96c2878706 100644 --- a/src/tests/ftest/cart/no_pmix_launcher_common.h +++ b/src/tests/ftest/cart/no_pmix_launcher_common.h @@ -1,24 +1,7 @@ /* - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #ifndef __NO_PMIX_LAUNCHER_COMMON_H__ #define __NO_PMIX_LAUNCHER_COMMON_H__ diff --git a/src/tests/ftest/cart/no_pmix_launcher_server.c b/src/tests/ftest/cart/no_pmix_launcher_server.c index 788a97cd887..f324d03e7aa 100644 --- a/src/tests/ftest/cart/no_pmix_launcher_server.c +++ b/src/tests/ftest/cart/no_pmix_launcher_server.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Server utilizing crt_launch generated environment for NO-PMIX mode diff --git a/src/tests/ftest/cart/no_pmix_multi_ctx.c b/src/tests/ftest/cart/no_pmix_multi_ctx.c index d8eb66f756e..dc6f2e6ae19 100644 --- a/src/tests/ftest/cart/no_pmix_multi_ctx.c +++ b/src/tests/ftest/cart/no_pmix_multi_ctx.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This test verifies proper destruction of contexts and of associated internal diff --git a/src/tests/ftest/cart/nopmix_launcher/cart_nopmix_launcher_one_node.py b/src/tests/ftest/cart/nopmix_launcher/cart_nopmix_launcher_one_node.py index 40af833ee79..c40a45f1c2e 100755 --- a/src/tests/ftest/cart/nopmix_launcher/cart_nopmix_launcher_one_node.py +++ b/src/tests/ftest/cart/nopmix_launcher/cart_nopmix_launcher_one_node.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/cart/rpc/cart_rpc_one_node.py b/src/tests/ftest/cart/rpc/cart_rpc_one_node.py index db4fd04c18d..c665b1ffb77 100755 --- a/src/tests/ftest/cart/rpc/cart_rpc_one_node.py +++ b/src/tests/ftest/cart/rpc/cart_rpc_one_node.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/cart/rpc/cart_rpc_two_node.py b/src/tests/ftest/cart/rpc/cart_rpc_two_node.py index 6481a82935a..864ce937a0d 100755 --- a/src/tests/ftest/cart/rpc/cart_rpc_two_node.py +++ b/src/tests/ftest/cart/rpc/cart_rpc_two_node.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/cart/rpc_test_cli.c b/src/tests/ftest/cart/rpc_test_cli.c index 2efc10ad727..67016a09073 100644 --- a/src/tests/ftest/cart/rpc_test_cli.c +++ b/src/tests/ftest/cart/rpc_test_cli.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2017-2020 Intel Corporation. + * (C) Copyright 2017-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This is a simple example of rpc client based on crt APIs. diff --git a/src/tests/ftest/cart/rpc_test_common.h b/src/tests/ftest/cart/rpc_test_common.h index b0bbb87d8fe..886ab475281 100644 --- a/src/tests/ftest/cart/rpc_test_common.h +++ b/src/tests/ftest/cart/rpc_test_common.h @@ -1,24 +1,7 @@ /* - * (C) Copyright 2017-2020 Intel Corporation. + * (C) Copyright 2017-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of the CaRT rpc test example which is based on CaRT APIs. diff --git a/src/tests/ftest/cart/rpc_test_srv.c b/src/tests/ftest/cart/rpc_test_srv.c index f35c8a6f983..a3b42df7c2f 100644 --- a/src/tests/ftest/cart/rpc_test_srv.c +++ b/src/tests/ftest/cart/rpc_test_srv.c @@ -1,24 +1,7 @@ /* * (C) Copyright 2017-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This is a simple example of rpc server based on crt APIs. diff --git a/src/tests/ftest/cart/rpc_test_srv2.c b/src/tests/ftest/cart/rpc_test_srv2.c index 0195e9f1577..03d634b3178 100644 --- a/src/tests/ftest/cart/rpc_test_srv2.c +++ b/src/tests/ftest/cart/rpc_test_srv2.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2017-2020 Intel Corporation. + * (C) Copyright 2017-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This is a simple example of rpc server based on crt APIs. diff --git a/src/tests/ftest/cart/selftest/cart_selftest_three_node.py b/src/tests/ftest/cart/selftest/cart_selftest_three_node.py index f817086e590..5eb8f82e8d6 100755 --- a/src/tests/ftest/cart/selftest/cart_selftest_three_node.py +++ b/src/tests/ftest/cart/selftest/cart_selftest_three_node.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/cart/test_corpc_exclusive.c b/src/tests/ftest/cart/test_corpc_exclusive.c index 6db8cd1f5a1..f11e1ef9126 100644 --- a/src/tests/ftest/cart/test_corpc_exclusive.c +++ b/src/tests/ftest/cart/test_corpc_exclusive.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Basic CORPC test to check CRT_FLAG_RPC_FILTER_INVERT flag. Test assumes 5 diff --git a/src/tests/ftest/cart/test_corpc_prefwd.c b/src/tests/ftest/cart/test_corpc_prefwd.c index 359985094a3..c9a4e4a8cf4 100644 --- a/src/tests/ftest/cart/test_corpc_prefwd.c +++ b/src/tests/ftest/cart/test_corpc_prefwd.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Basic CORPC test with pre-forward callbacks. Rank0 sends CORPC request to diff --git a/src/tests/ftest/cart/test_ep_cred_client.c b/src/tests/ftest/cart/test_ep_cred_client.c index 12beb0c10de..67c7cb52128 100644 --- a/src/tests/ftest/cart/test_ep_cred_client.c +++ b/src/tests/ftest/cart/test_ep_cred_client.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #include diff --git a/src/tests/ftest/cart/test_ep_cred_common.h b/src/tests/ftest/cart/test_ep_cred_common.h index 1cad97b21f0..fbda89bea8f 100644 --- a/src/tests/ftest/cart/test_ep_cred_common.h +++ b/src/tests/ftest/cart/test_ep_cred_common.h @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #ifndef __TEST_EP_CRED_COMMON_H__ #define __TEST_EP_CRED_COMMON_H__ diff --git a/src/tests/ftest/cart/test_ep_cred_server.c b/src/tests/ftest/cart/test_ep_cred_server.c index a256cfa1218..498d5a59f76 100644 --- a/src/tests/ftest/cart/test_ep_cred_server.c +++ b/src/tests/ftest/cart/test_ep_cred_server.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #include diff --git a/src/tests/ftest/cart/test_group.c b/src/tests/ftest/cart/test_group.c index eeb29205117..ae137b1c656 100644 --- a/src/tests/ftest/cart/test_group.c +++ b/src/tests/ftest/cart/test_group.c @@ -1,24 +1,7 @@ /* * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This is a simple example of cart rpc group test based on crt API. diff --git a/src/tests/ftest/cart/test_group_np_cli.c b/src/tests/ftest/cart/test_group_np_cli.c index 04a8260f224..8706bfbf7d2 100644 --- a/src/tests/ftest/cart/test_group_np_cli.c +++ b/src/tests/ftest/cart/test_group_np_cli.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This is a simple example of cart test_group client running with no pmix. diff --git a/src/tests/ftest/cart/test_group_np_common.h b/src/tests/ftest/cart/test_group_np_common.h index 325c370e733..ebe7dd1c5fc 100644 --- a/src/tests/ftest/cart/test_group_np_common.h +++ b/src/tests/ftest/cart/test_group_np_common.h @@ -1,24 +1,7 @@ /* - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This is a cart test_group common file, running with no pmix. diff --git a/src/tests/ftest/cart/test_group_np_srv.c b/src/tests/ftest/cart/test_group_np_srv.c index da5d43af287..771c5a1bcfa 100644 --- a/src/tests/ftest/cart/test_group_np_srv.c +++ b/src/tests/ftest/cart/test_group_np_srv.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This is a simple example of cart test_group server, running with no pmix. diff --git a/src/tests/ftest/cart/test_group_rpc.h b/src/tests/ftest/cart/test_group_rpc.h index ca0c7802efb..750a5287959 100644 --- a/src/tests/ftest/cart/test_group_rpc.h +++ b/src/tests/ftest/cart/test_group_rpc.h @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define TEST_OPC_CHECKIN CRT_PROTO_OPC(0x010000000, 0, 0) #define TEST_OPC_PING_DELAY CRT_PROTO_OPC(0x010000000, 0, 2) diff --git a/src/tests/ftest/cart/test_hlc_net.c b/src/tests/ftest/cart/test_hlc_net.c index e6863527743..befcc7d8b5d 100644 --- a/src/tests/ftest/cart/test_hlc_net.c +++ b/src/tests/ftest/cart/test_hlc_net.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #include #include diff --git a/src/tests/ftest/cart/test_no_timeout.c b/src/tests/ftest/cart/test_no_timeout.c index 7d643faede4..402c1ca81cc 100644 --- a/src/tests/ftest/cart/test_no_timeout.c +++ b/src/tests/ftest/cart/test_no_timeout.c @@ -1,24 +1,7 @@ /* * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #include #include diff --git a/src/tests/ftest/cart/test_proto_client.c b/src/tests/ftest/cart/test_proto_client.c index f0936309e76..1360c7fc075 100644 --- a/src/tests/ftest/cart/test_proto_client.c +++ b/src/tests/ftest/cart/test_proto_client.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #include diff --git a/src/tests/ftest/cart/test_proto_common.h b/src/tests/ftest/cart/test_proto_common.h index 96fa9ffa396..5fc542089f2 100644 --- a/src/tests/ftest/cart/test_proto_common.h +++ b/src/tests/ftest/cart/test_proto_common.h @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #ifndef __TEST_PROTO_COMMON_H__ #define __TEST_PROTO_COMMON_H__ diff --git a/src/tests/ftest/cart/test_proto_server.c b/src/tests/ftest/cart/test_proto_server.c index 6c213d59d04..5a1d44df23d 100644 --- a/src/tests/ftest/cart/test_proto_server.c +++ b/src/tests/ftest/cart/test_proto_server.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #include diff --git a/src/tests/ftest/cart/test_rpc_error.c b/src/tests/ftest/cart/test_rpc_error.c index b65a453c930..8b519c71e61 100644 --- a/src/tests/ftest/cart/test_rpc_error.c +++ b/src/tests/ftest/cart/test_rpc_error.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2017-2020 Intel Corporation. + * (C) Copyright 2017-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This is a test for the RPC error case in which the RPC handler doesn't call diff --git a/src/tests/ftest/cart/test_rpc_to_ghost_rank.c b/src/tests/ftest/cart/test_rpc_to_ghost_rank.c index eacc8508667..8b0ba3a3aa1 100644 --- a/src/tests/ftest/cart/test_rpc_to_ghost_rank.c +++ b/src/tests/ftest/cart/test_rpc_to_ghost_rank.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This is a cart test of an rpc to an exited rank. diff --git a/src/tests/ftest/cart/test_swim.c b/src/tests/ftest/cart/test_swim.c index ed04276f843..0e6750e2ffc 100644 --- a/src/tests/ftest/cart/test_swim.c +++ b/src/tests/ftest/cart/test_swim.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This is a simple example of SWIM implementation on top of CaRT APIs. diff --git a/src/tests/ftest/cart/test_swim_emu.c b/src/tests/ftest/cart/test_swim_emu.c index b02b1ecdafc..d3220d00bab 100644 --- a/src/tests/ftest/cart/test_swim_emu.c +++ b/src/tests/ftest/cart/test_swim_emu.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2020 Intel Corporation. + * (C) Copyright 2020-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This is a simple example of SWIM implementation on top of CaRT APIs. diff --git a/src/tests/ftest/cart/test_swim_net.c b/src/tests/ftest/cart/test_swim_net.c index 2b06d9823c9..64c5e7ab596 100644 --- a/src/tests/ftest/cart/test_swim_net.c +++ b/src/tests/ftest/cart/test_swim_net.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This is a simple example of SWIM implementation on top of CaRT APIs. diff --git a/src/tests/ftest/cart/tests_common.h b/src/tests/ftest/cart/tests_common.h index 287921bd49b..111bae16610 100644 --- a/src/tests/ftest/cart/tests_common.h +++ b/src/tests/ftest/cart/tests_common.h @@ -1,24 +1,7 @@ /* - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Common functions to be shared among tests diff --git a/src/tests/ftest/cart/threaded_client.c b/src/tests/ftest/cart/threaded_client.c index 41ba7eb8293..aca70c73cd8 100644 --- a/src/tests/ftest/cart/threaded_client.c +++ b/src/tests/ftest/cart/threaded_client.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2017-2020 Intel Corporation. + * (C) Copyright 2017-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This tests a threaded client sending RPCs on a single context diff --git a/src/tests/ftest/cart/threaded_rpc.h b/src/tests/ftest/cart/threaded_rpc.h index ac69727a1bd..1fc3ab3efab 100644 --- a/src/tests/ftest/cart/threaded_rpc.h +++ b/src/tests/ftest/cart/threaded_rpc.h @@ -1,24 +1,7 @@ /* - * (C) Copyright 2017-2020 Intel Corporation. + * (C) Copyright 2017-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Common code for threaded_client/threaded_server testing multiple threads diff --git a/src/tests/ftest/cart/threaded_server.c b/src/tests/ftest/cart/threaded_server.c index da9974e97db..055f8d1fa35 100644 --- a/src/tests/ftest/cart/threaded_server.c +++ b/src/tests/ftest/cart/threaded_server.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2017-2020 Intel Corporation. + * (C) Copyright 2017-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This tests a threaded server handling RPCs on a single context diff --git a/src/tests/ftest/cart/utest/utest_hlc.c b/src/tests/ftest/cart/utest/utest_hlc.c index 80361bd95aa..bca5da994b1 100644 --- a/src/tests/ftest/cart/utest/utest_hlc.c +++ b/src/tests/ftest/cart/utest/utest_hlc.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of CaRT testing. diff --git a/src/tests/ftest/cart/utest/utest_portnumber.c b/src/tests/ftest/cart/utest/utest_portnumber.c index 4e7ebae6d34..ac5fb03faf7 100644 --- a/src/tests/ftest/cart/utest/utest_portnumber.c +++ b/src/tests/ftest/cart/utest/utest_portnumber.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2020 Intel Corporation. + * (C) Copyright 2020-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of CaRT testing. diff --git a/src/tests/ftest/cart/utest/utest_swim.c b/src/tests/ftest/cart/utest/utest_swim.c index e315a9372cb..8d5b0286b80 100644 --- a/src/tests/ftest/cart/utest/utest_swim.c +++ b/src/tests/ftest/cart/utest/utest_swim.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2020 Intel Corporation. + * (C) Copyright 2020-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of CaRT testing. diff --git a/src/tests/ftest/cart/utest/wrap_cmocka.h b/src/tests/ftest/cart/utest/wrap_cmocka.h index bc628fcfe6b..e33887328e7 100644 --- a/src/tests/ftest/cart/utest/wrap_cmocka.h +++ b/src/tests/ftest/cart/utest/wrap_cmocka.h @@ -1,24 +1,7 @@ /* - * (C) Copyright 2017-2020 Intel Corporation. + * (C) Copyright 2017-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** Header file to include items needs by cmocka libraries */ #ifndef __WRAP_CMOCKA_H__ diff --git a/src/tests/ftest/cart/util/cart_utils.py b/src/tests/ftest/cart/util/cart_utils.py index 9f72759a78d..3f2a2d152a8 100755 --- a/src/tests/ftest/cart/util/cart_utils.py +++ b/src/tests/ftest/cart/util/cart_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function # pylint: disable=broad-except diff --git a/src/tests/ftest/checksum/basic_checksum.py b/src/tests/ftest/checksum/basic_checksum.py index 086825c39a7..f3b0dfe85c6 100644 --- a/src/tests/ftest/checksum/basic_checksum.py +++ b/src/tests/ftest/checksum/basic_checksum.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import ctypes diff --git a/src/tests/ftest/checksum/csum_error_logging.py b/src/tests/ftest/checksum/csum_error_logging.py index a39e45a6669..1db507431d9 100644 --- a/src/tests/ftest/checksum/csum_error_logging.py +++ b/src/tests/ftest/checksum/csum_error_logging.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import json diff --git a/src/tests/ftest/config_file_gen.py b/src/tests/ftest/config_file_gen.py index 17b239c515d..9595d3fd3f0 100755 --- a/src/tests/ftest/config_file_gen.py +++ b/src/tests/ftest/config_file_gen.py @@ -1,25 +1,8 @@ #!/usr/bin/python2 """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import logging from argparse import ArgumentParser, RawDescriptionHelpFormatter diff --git a/src/tests/ftest/container/attribute.py b/src/tests/ftest/container/attribute.py index 422504d3be4..e5b571feaeb 100755 --- a/src/tests/ftest/container/attribute.py +++ b/src/tests/ftest/container/attribute.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/container/basic_snapshot.py b/src/tests/ftest/container/basic_snapshot.py index 2b52497a4a2..24768850882 100755 --- a/src/tests/ftest/container/basic_snapshot.py +++ b/src/tests/ftest/container/basic_snapshot.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import random diff --git a/src/tests/ftest/container/basic_tx_test.py b/src/tests/ftest/container/basic_tx_test.py index d63db719bdd..264b3a0fe4e 100755 --- a/src/tests/ftest/container/basic_tx_test.py +++ b/src/tests/ftest/container/basic_tx_test.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/container/container_async.py b/src/tests/ftest/container/container_async.py index d68326e16b9..35e5679d1a7 100755 --- a/src/tests/ftest/container/container_async.py +++ b/src/tests/ftest/container/container_async.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' import traceback diff --git a/src/tests/ftest/container/container_check.py b/src/tests/ftest/container/container_check.py index fe64134074b..9bf5efb526c 100644 --- a/src/tests/ftest/container/container_check.py +++ b/src/tests/ftest/container/container_check.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from avocado.core.exceptions import TestFail diff --git a/src/tests/ftest/container/create.py b/src/tests/ftest/container/create.py index 5f7155ec012..195d9313c9f 100755 --- a/src/tests/ftest/container/create.py +++ b/src/tests/ftest/container/create.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/container/delete.py b/src/tests/ftest/container/delete.py index 12e014c55aa..1968b571aa3 100755 --- a/src/tests/ftest/container/delete.py +++ b/src/tests/ftest/container/delete.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time import traceback diff --git a/src/tests/ftest/container/full_pool_container_create.py b/src/tests/ftest/container/full_pool_container_create.py index 529a5c592b1..77a7d8a5ff6 100755 --- a/src/tests/ftest/container/full_pool_container_create.py +++ b/src/tests/ftest/container/full_pool_container_create.py @@ -1,24 +1,7 @@ """ - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers, skipForTicket from pydaos.raw import DaosContainer, DaosApiError diff --git a/src/tests/ftest/container/global_handle.py b/src/tests/ftest/container/global_handle.py index fd2fa876a77..538480a7e2f 100755 --- a/src/tests/ftest/container/global_handle.py +++ b/src/tests/ftest/container/global_handle.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Governments rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/container/list_containers.py b/src/tests/ftest/container/list_containers.py index 10e09a04a6f..713380f88d6 100755 --- a/src/tests/ftest/container/list_containers.py +++ b/src/tests/ftest/container/list_containers.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from apricot import TestWithServers from daos_utils import DaosCommand diff --git a/src/tests/ftest/container/multiple_container_delete.py b/src/tests/ftest/container/multiple_container_delete.py index 06b43099213..15d8a77b2a4 100644 --- a/src/tests/ftest/container/multiple_container_delete.py +++ b/src/tests/ftest/container/multiple_container_delete.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from ior_test_base import IorTestBase diff --git a/src/tests/ftest/container/open.py b/src/tests/ftest/container/open.py index 5f8e28088b3..ca9955f36ee 100755 --- a/src/tests/ftest/container/open.py +++ b/src/tests/ftest/container/open.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' import traceback import uuid diff --git a/src/tests/ftest/container/open_close.py b/src/tests/ftest/container/open_close.py index 46755797538..199ead77645 100755 --- a/src/tests/ftest/container/open_close.py +++ b/src/tests/ftest/container/open_close.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' import traceback import uuid diff --git a/src/tests/ftest/container/query_attribute.py b/src/tests/ftest/container/query_attribute.py index f5935288220..efb9a4f84f0 100644 --- a/src/tests/ftest/container/query_attribute.py +++ b/src/tests/ftest/container/query_attribute.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Governments rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers from daos_utils import DaosCommand diff --git a/src/tests/ftest/container/root_container_test.py b/src/tests/ftest/container/root_container_test.py index 39c949a17f5..bc066b5af62 100644 --- a/src/tests/ftest/container/root_container_test.py +++ b/src/tests/ftest/container/root_container_test.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from dfuse_test_base import DfuseTestBase from command_utils import CommandFailure diff --git a/src/tests/ftest/container/simple_create_delete_test.py b/src/tests/ftest/container/simple_create_delete_test.py index 9113d44845c..41cc00b2c44 100755 --- a/src/tests/ftest/container/simple_create_delete_test.py +++ b/src/tests/ftest/container/simple_create_delete_test.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers from test_utils_pool import TestPool diff --git a/src/tests/ftest/container/snapshot.py b/src/tests/ftest/container/snapshot.py index 787ede6fc5f..b103db74ba4 100755 --- a/src/tests/ftest/container/snapshot.py +++ b/src/tests/ftest/container/snapshot.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function import traceback diff --git a/src/tests/ftest/container/snapshot_aggregation.py b/src/tests/ftest/container/snapshot_aggregation.py index 56399dd6727..804d1816f83 100644 --- a/src/tests/ftest/container/snapshot_aggregation.py +++ b/src/tests/ftest/container/snapshot_aggregation.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time diff --git a/src/tests/ftest/control/daos_admin_privileged.py b/src/tests/ftest/control/daos_admin_privileged.py index c10c99cfb03..3fff135ef34 100644 --- a/src/tests/ftest/control/daos_admin_privileged.py +++ b/src/tests/ftest/control/daos_admin_privileged.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/control/daos_agent_config.py b/src/tests/ftest/control/daos_agent_config.py index 4aa2c5c0438..f51409047ab 100644 --- a/src/tests/ftest/control/daos_agent_config.py +++ b/src/tests/ftest/control/daos_agent_config.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/control/daos_control_config.py b/src/tests/ftest/control/daos_control_config.py index f10d9fd74fa..27bd85bb4d9 100644 --- a/src/tests/ftest/control/daos_control_config.py +++ b/src/tests/ftest/control/daos_control_config.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/control/daos_object_query.py b/src/tests/ftest/control/daos_object_query.py index ee894dda027..928b7128522 100644 --- a/src/tests/ftest/control/daos_object_query.py +++ b/src/tests/ftest/control/daos_object_query.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers from daos_utils import DaosCommand diff --git a/src/tests/ftest/control/daos_scm_config.py b/src/tests/ftest/control/daos_scm_config.py index a1967b63058..d0e9ece930f 100644 --- a/src/tests/ftest/control/daos_scm_config.py +++ b/src/tests/ftest/control/daos_scm_config.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import avocado diff --git a/src/tests/ftest/control/daos_snapshot.py b/src/tests/ftest/control/daos_snapshot.py index c01ecdecfcc..0179b253e11 100755 --- a/src/tests/ftest/control/daos_snapshot.py +++ b/src/tests/ftest/control/daos_snapshot.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from apricot import TestWithServers, skipForTicket from daos_utils import DaosCommand diff --git a/src/tests/ftest/control/dmg_network_scan.py b/src/tests/ftest/control/dmg_network_scan.py index c0f43681ef4..233704384cc 100644 --- a/src/tests/ftest/control/dmg_network_scan.py +++ b/src/tests/ftest/control/dmg_network_scan.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/control/dmg_nvme_scan_test.py b/src/tests/ftest/control/dmg_nvme_scan_test.py index 8b67b24f71d..45f069e9d29 100755 --- a/src/tests/ftest/control/dmg_nvme_scan_test.py +++ b/src/tests/ftest/control/dmg_nvme_scan_test.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2019 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/control/dmg_pool_evict.py b/src/tests/ftest/control/dmg_pool_evict.py index bd5c3beb45a..e404f08a702 100644 --- a/src/tests/ftest/control/dmg_pool_evict.py +++ b/src/tests/ftest/control/dmg_pool_evict.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers from command_utils import CommandFailure diff --git a/src/tests/ftest/control/dmg_pool_query_test.py b/src/tests/ftest/control/dmg_pool_query_test.py index fdb2ec1788d..8de5e3fb70c 100644 --- a/src/tests/ftest/control/dmg_pool_query_test.py +++ b/src/tests/ftest/control/dmg_pool_query_test.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/control/dmg_storage_query.py b/src/tests/ftest/control/dmg_storage_query.py index 4c63aaf4685..69c27533b1d 100644 --- a/src/tests/ftest/control/dmg_storage_query.py +++ b/src/tests/ftest/control/dmg_storage_query.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/control/dmg_storage_scan_scm.py b/src/tests/ftest/control/dmg_storage_scan_scm.py index 1efb45c9c4d..498bc69d71f 100644 --- a/src/tests/ftest/control/dmg_storage_scan_scm.py +++ b/src/tests/ftest/control/dmg_storage_scan_scm.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/control/dmg_system_leader_query.py b/src/tests/ftest/control/dmg_system_leader_query.py index d45c42c8d95..51f0d572a0c 100644 --- a/src/tests/ftest/control/dmg_system_leader_query.py +++ b/src/tests/ftest/control/dmg_system_leader_query.py @@ -2,24 +2,7 @@ """ (C) Copyright 2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. 8F-30005. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/control/dmg_system_reformat.py b/src/tests/ftest/control/dmg_system_reformat.py index 577b3808b8c..7c5aadd1983 100644 --- a/src/tests/ftest/control/dmg_system_reformat.py +++ b/src/tests/ftest/control/dmg_system_reformat.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/control/ssd_socket.py b/src/tests/ftest/control/ssd_socket.py index be3c4487e16..70376b40c29 100644 --- a/src/tests/ftest/control/ssd_socket.py +++ b/src/tests/ftest/control/ssd_socket.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers from general_utils import pcmd, run_task diff --git a/src/tests/ftest/control/super_block_versioning.py b/src/tests/ftest/control/super_block_versioning.py index 8c591cfb5ad..1ba13407b7e 100644 --- a/src/tests/ftest/control/super_block_versioning.py +++ b/src/tests/ftest/control/super_block_versioning.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/daos_test/daos_core_test-nvme_recovery.py b/src/tests/ftest/daos_test/daos_core_test-nvme_recovery.py index e65cf3d1053..227372823ed 100644 --- a/src/tests/ftest/daos_test/daos_core_test-nvme_recovery.py +++ b/src/tests/ftest/daos_test/daos_core_test-nvme_recovery.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from daos_core_base import DaosCoreBase diff --git a/src/tests/ftest/daos_test/daos_core_test-rebuild.py b/src/tests/ftest/daos_test/daos_core_test-rebuild.py index 0ef5c03a2dd..d05f8fa7732 100755 --- a/src/tests/ftest/daos_test/daos_core_test-rebuild.py +++ b/src/tests/ftest/daos_test/daos_core_test-rebuild.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from daos_core_base import DaosCoreBase diff --git a/src/tests/ftest/daos_test/daos_core_test.py b/src/tests/ftest/daos_test/daos_core_test.py index 338c22b5c66..a04c54f3705 100755 --- a/src/tests/ftest/daos_test/daos_core_test.py +++ b/src/tests/ftest/daos_test/daos_core_test.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from daos_core_base import DaosCoreBase diff --git a/src/tests/ftest/daos_test/daos_core_test_dfs.py b/src/tests/ftest/daos_test/daos_core_test_dfs.py index c0d759cdd9b..4c0dcccc896 100755 --- a/src/tests/ftest/daos_test/daos_core_test_dfs.py +++ b/src/tests/ftest/daos_test/daos_core_test_dfs.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/datamover/container_copy.py b/src/tests/ftest/datamover/container_copy.py index b469687dae7..331365e93b3 100644 --- a/src/tests/ftest/datamover/container_copy.py +++ b/src/tests/ftest/datamover/container_copy.py @@ -1,21 +1,7 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - 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 - http://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. - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from ior_test_base import IorTestBase diff --git a/src/tests/ftest/datamover/copy_basics.py b/src/tests/ftest/datamover/copy_basics.py index 487b4f946d4..c71a6cd3584 100644 --- a/src/tests/ftest/datamover/copy_basics.py +++ b/src/tests/ftest/datamover/copy_basics.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from data_mover_test_base import DataMoverTestBase from os.path import join, sep diff --git a/src/tests/ftest/datamover/copy_negative.py b/src/tests/ftest/datamover/copy_negative.py index d101dbb1b94..ab17d7d16cb 100644 --- a/src/tests/ftest/datamover/copy_negative.py +++ b/src/tests/ftest/datamover/copy_negative.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from data_mover_test_base import DataMoverTestBase from os.path import join, sep diff --git a/src/tests/ftest/datamover/copy_procs.py b/src/tests/ftest/datamover/copy_procs.py index 46e515f3eb1..576942fd1d5 100644 --- a/src/tests/ftest/datamover/copy_procs.py +++ b/src/tests/ftest/datamover/copy_procs.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from data_mover_test_base import DataMoverTestBase from os.path import join, sep diff --git a/src/tests/ftest/erasurecode/ec_ior_smoke.py b/src/tests/ftest/erasurecode/ec_ior_smoke.py index ce7eaad35ec..9862a6d981d 100644 --- a/src/tests/ftest/erasurecode/ec_ior_smoke.py +++ b/src/tests/ftest/erasurecode/ec_ior_smoke.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from ior_test_base import IorTestBase diff --git a/src/tests/ftest/erasurecode/ec_mdtest_smoke.py b/src/tests/ftest/erasurecode/ec_mdtest_smoke.py index 1115390b0f8..50bd0ce82fc 100644 --- a/src/tests/ftest/erasurecode/ec_mdtest_smoke.py +++ b/src/tests/ftest/erasurecode/ec_mdtest_smoke.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from mdtest_test_base import MdtestBase diff --git a/src/tests/ftest/erasurecode/ec_offline_rebuild.py b/src/tests/ftest/erasurecode/ec_offline_rebuild.py index 54ad126cce3..7c832780cb2 100644 --- a/src/tests/ftest/erasurecode/ec_offline_rebuild.py +++ b/src/tests/ftest/erasurecode/ec_offline_rebuild.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from ec_utils import ErasureCodeIor from apricot import skipForTicket diff --git a/src/tests/ftest/erasurecode/ec_online_rebuild.py b/src/tests/ftest/erasurecode/ec_online_rebuild.py index 348ed4c3cbd..2ee4c1c5245 100644 --- a/src/tests/ftest/erasurecode/ec_online_rebuild.py +++ b/src/tests/ftest/erasurecode/ec_online_rebuild.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from ec_utils import ErasureCodeIor from apricot import skipForTicket diff --git a/src/tests/ftest/erasurecode/ec_rebuild_disabled.py b/src/tests/ftest/erasurecode/ec_rebuild_disabled.py index 2166db0662d..6d5150948fb 100644 --- a/src/tests/ftest/erasurecode/ec_rebuild_disabled.py +++ b/src/tests/ftest/erasurecode/ec_rebuild_disabled.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' import time from ec_utils import ErasureCodeIor diff --git a/src/tests/ftest/io/crash_ior.py b/src/tests/ftest/io/crash_ior.py index f2ab6c8c6d3..bf031d0f776 100644 --- a/src/tests/ftest/io/crash_ior.py +++ b/src/tests/ftest/io/crash_ior.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time diff --git a/src/tests/ftest/io/daos_perf.py b/src/tests/ftest/io/daos_perf.py index cb476042cb5..d6167b27e40 100755 --- a/src/tests/ftest/io/daos_perf.py +++ b/src/tests/ftest/io/daos_perf.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2019-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from daos_perf_base import DaosPerfBase diff --git a/src/tests/ftest/io/daos_perf_large.py b/src/tests/ftest/io/daos_perf_large.py index a9ea6b743b3..d26c5697029 100755 --- a/src/tests/ftest/io/daos_perf_large.py +++ b/src/tests/ftest/io/daos_perf_large.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2019-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from daos_perf_base import DaosPerfBase diff --git a/src/tests/ftest/io/daos_racer.py b/src/tests/ftest/io/daos_racer.py index 8e0d8f3d4e1..ba0a6916025 100644 --- a/src/tests/ftest/io/daos_racer.py +++ b/src/tests/ftest/io/daos_racer.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers diff --git a/src/tests/ftest/io/daos_vol.py b/src/tests/ftest/io/daos_vol.py index 4e4881cfa11..8f98f74fd0b 100644 --- a/src/tests/ftest/io/daos_vol.py +++ b/src/tests/ftest/io/daos_vol.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ -(C) Copyright 2019-2020 Intel Corporation. +(C) Copyright 2019-2021 Intel Corporation. -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 - - http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, display, -or disclose this software are subject to the terms of the Apache License as -provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +SPDX-License-Identifier: BSD-2-Clause-Patent """ from vol_test_base import VolTestBase from general_utils import get_job_manager_class diff --git a/src/tests/ftest/io/dfuse_bash_cmd.py b/src/tests/ftest/io/dfuse_bash_cmd.py index d5cdbcf0866..a587659e6ea 100644 --- a/src/tests/ftest/io/dfuse_bash_cmd.py +++ b/src/tests/ftest/io/dfuse_bash_cmd.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os import general_utils diff --git a/src/tests/ftest/io/dfuse_find_cmd.py b/src/tests/ftest/io/dfuse_find_cmd.py index 1fdae7e5e1f..f96c2432948 100755 --- a/src/tests/ftest/io/dfuse_find_cmd.py +++ b/src/tests/ftest/io/dfuse_find_cmd.py @@ -2,24 +2,7 @@ """ (C) Copyright 2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os import sys diff --git a/src/tests/ftest/io/dfuse_sparse_file.py b/src/tests/ftest/io/dfuse_sparse_file.py index 5aed1847e3d..9b0a5999c54 100644 --- a/src/tests/ftest/io/dfuse_sparse_file.py +++ b/src/tests/ftest/io/dfuse_sparse_file.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from getpass import getuser diff --git a/src/tests/ftest/io/fio_small.py b/src/tests/ftest/io/fio_small.py index faad8a353a0..e8e76b65bdd 100755 --- a/src/tests/ftest/io/fio_small.py +++ b/src/tests/ftest/io/fio_small.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2019 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2019-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from fio_test_base import FioBase diff --git a/src/tests/ftest/io/hdf5.py b/src/tests/ftest/io/hdf5.py index 86ec9283796..47294fdfd08 100644 --- a/src/tests/ftest/io/hdf5.py +++ b/src/tests/ftest/io/hdf5.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from mpio_test_base import MpiioTests diff --git a/src/tests/ftest/io/io_aggregation.py b/src/tests/ftest/io/io_aggregation.py index c9705ab6462..2142a2ec785 100644 --- a/src/tests/ftest/io/io_aggregation.py +++ b/src/tests/ftest/io/io_aggregation.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time diff --git a/src/tests/ftest/io/io_consistency.py b/src/tests/ftest/io/io_consistency.py index 55cb7d9982f..a08ae19c81a 100644 --- a/src/tests/ftest/io/io_consistency.py +++ b/src/tests/ftest/io/io_consistency.py @@ -1,21 +1,7 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - 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 - http://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. - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from ior_test_base import IorTestBase diff --git a/src/tests/ftest/io/ior_hdf5.py b/src/tests/ftest/io/ior_hdf5.py index a5057b8e450..f23b0a57ca8 100644 --- a/src/tests/ftest/io/ior_hdf5.py +++ b/src/tests/ftest/io/ior_hdf5.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ -(C) Copyright 2018-2020 Intel Corporation. +(C) Copyright 2018-2021 Intel Corporation. -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 - - http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, display, -or disclose this software are subject to the terms of the Apache License as -provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +SPDX-License-Identifier: BSD-2-Clause-Patent """ from ior_test_base import IorTestBase diff --git a/src/tests/ftest/io/ior_intercept_basic.py b/src/tests/ftest/io/ior_intercept_basic.py index 93c029d8574..3a6c89d5f38 100644 --- a/src/tests/ftest/io/ior_intercept_basic.py +++ b/src/tests/ftest/io/ior_intercept_basic.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/io/ior_intercept_dfuse_mix.py b/src/tests/ftest/io/ior_intercept_dfuse_mix.py index 3e9f3de0960..909c2295b74 100644 --- a/src/tests/ftest/io/ior_intercept_dfuse_mix.py +++ b/src/tests/ftest/io/ior_intercept_dfuse_mix.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2019-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/io/ior_intercept_multi_client.py b/src/tests/ftest/io/ior_intercept_multi_client.py index 5f397817e5c..98f2d8fa724 100644 --- a/src/tests/ftest/io/ior_intercept_multi_client.py +++ b/src/tests/ftest/io/ior_intercept_multi_client.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/io/ior_intercept_verify_data_integrity.py b/src/tests/ftest/io/ior_intercept_verify_data_integrity.py index 37b81ccff87..f4e8c215a3c 100644 --- a/src/tests/ftest/io/ior_intercept_verify_data_integrity.py +++ b/src/tests/ftest/io/ior_intercept_verify_data_integrity.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/io/ior_large.py b/src/tests/ftest/io/ior_large.py index 565bb939f92..5495a172e29 100755 --- a/src/tests/ftest/io/ior_large.py +++ b/src/tests/ftest/io/ior_large.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2019 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from ior_test_base import IorTestBase diff --git a/src/tests/ftest/io/ior_small.py b/src/tests/ftest/io/ior_small.py index 30009019a63..bea5b8bc28f 100755 --- a/src/tests/ftest/io/ior_small.py +++ b/src/tests/ftest/io/ior_small.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ -(C) Copyright 2018-2019 Intel Corporation. +(C) Copyright 2018-2021 Intel Corporation. -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 - - http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, display, -or disclose this software are subject to the terms of the Apache License as -provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +SPDX-License-Identifier: BSD-2-Clause-Patent """ from ior_test_base import IorTestBase diff --git a/src/tests/ftest/io/large_file_count.py b/src/tests/ftest/io/large_file_count.py index a0c602264af..7732623f9bd 100644 --- a/src/tests/ftest/io/large_file_count.py +++ b/src/tests/ftest/io/large_file_count.py @@ -1,21 +1,7 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - 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 - http://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. - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from ior_test_base import IorTestBase from mdtest_test_base import MdtestBase diff --git a/src/tests/ftest/io/llnl_mpi4py.py b/src/tests/ftest/io/llnl_mpi4py.py index dd20f8486da..10f6b7e3651 100755 --- a/src/tests/ftest/io/llnl_mpi4py.py +++ b/src/tests/ftest/io/llnl_mpi4py.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function from mpio_test_base import MpiioTests diff --git a/src/tests/ftest/io/macsio_test.py b/src/tests/ftest/io/macsio_test.py index 01dc00fe588..641a09893f8 100755 --- a/src/tests/ftest/io/macsio_test.py +++ b/src/tests/ftest/io/macsio_test.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from general_utils import convert_list from dfuse_test_base import DfuseTestBase diff --git a/src/tests/ftest/io/mdtest_large.py b/src/tests/ftest/io/mdtest_large.py index f19a872e670..ae9c67bdb74 100755 --- a/src/tests/ftest/io/mdtest_large.py +++ b/src/tests/ftest/io/mdtest_large.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from mdtest_test_base import MdtestBase diff --git a/src/tests/ftest/io/mdtest_small.py b/src/tests/ftest/io/mdtest_small.py index b81f6cd170c..6531e239146 100755 --- a/src/tests/ftest/io/mdtest_small.py +++ b/src/tests/ftest/io/mdtest_small.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from mdtest_test_base import MdtestBase diff --git a/src/tests/ftest/io/parallel_io.py b/src/tests/ftest/io/parallel_io.py index cb8dcbf3cfd..a7e2f997498 100644 --- a/src/tests/ftest/io/parallel_io.py +++ b/src/tests/ftest/io/parallel_io.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import threading diff --git a/src/tests/ftest/io/romio.py b/src/tests/ftest/io/romio.py index 105435ce504..90884faa614 100755 --- a/src/tests/ftest/io/romio.py +++ b/src/tests/ftest/io/romio.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function from mpio_test_base import MpiioTests diff --git a/src/tests/ftest/io/seg_count.py b/src/tests/ftest/io/seg_count.py index 0cf3c8b3a29..b8b8d253a7f 100755 --- a/src/tests/ftest/io/seg_count.py +++ b/src/tests/ftest/io/seg_count.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2019 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from ior_test_base import IorTestBase from write_host_file import write_host_file diff --git a/src/tests/ftest/io/unaligned_io.py b/src/tests/ftest/io/unaligned_io.py index 30c70c87533..1ec3c5ae1a3 100644 --- a/src/tests/ftest/io/unaligned_io.py +++ b/src/tests/ftest/io/unaligned_io.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from daos_io_conf import IoConfTestBase diff --git a/src/tests/ftest/launch.py b/src/tests/ftest/launch.py index d0b059adfa0..fcee4fc8339 100755 --- a/src/tests/ftest/launch.py +++ b/src/tests/ftest/launch.py @@ -1,25 +1,8 @@ #!/usr/bin/python2 -u """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ # pylint: disable=too-many-lines from __future__ import print_function diff --git a/src/tests/ftest/metrics.py b/src/tests/ftest/metrics.py index c5b51168243..38583bdc72b 100755 --- a/src/tests/ftest/metrics.py +++ b/src/tests/ftest/metrics.py @@ -1,25 +1,8 @@ #!/usr/bin/python2 """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/network/cart_self_test.py b/src/tests/ftest/network/cart_self_test.py index bc0f35abc6a..5de37a56f2d 100755 --- a/src/tests/ftest/network/cart_self_test.py +++ b/src/tests/ftest/network/cart_self_test.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2019 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/network/zero_config.py b/src/tests/ftest/network/zero_config.py index 03afb61f9d2..59a70228f67 100644 --- a/src/tests/ftest/network/zero_config.py +++ b/src/tests/ftest/network/zero_config.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/nvme/enospace.py b/src/tests/ftest/nvme/enospace.py index b45a16c19a6..5120d3f0c76 100644 --- a/src/tests/ftest/nvme/enospace.py +++ b/src/tests/ftest/nvme/enospace.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' import time import threading diff --git a/src/tests/ftest/nvme/nvme_fault.py b/src/tests/ftest/nvme/nvme_fault.py index 63746a3bc9b..5a4fed9f6b2 100644 --- a/src/tests/ftest/nvme/nvme_fault.py +++ b/src/tests/ftest/nvme/nvme_fault.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' import os from nvme_utils import ServerFillUp diff --git a/src/tests/ftest/nvme/nvme_fragmentation.py b/src/tests/ftest/nvme/nvme_fragmentation.py index 9d9ca8bd807..4e824ec8cc0 100644 --- a/src/tests/ftest/nvme/nvme_fragmentation.py +++ b/src/tests/ftest/nvme/nvme_fragmentation.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time diff --git a/src/tests/ftest/nvme/nvme_health.py b/src/tests/ftest/nvme/nvme_health.py index 19141c6c9d4..17b0375ab2c 100644 --- a/src/tests/ftest/nvme/nvme_health.py +++ b/src/tests/ftest/nvme/nvme_health.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' import os from nvme_utils import ServerFillUp, get_device_ids diff --git a/src/tests/ftest/nvme/nvme_io.py b/src/tests/ftest/nvme/nvme_io.py index 020c99a3b9d..a86e3382413 100755 --- a/src/tests/ftest/nvme/nvme_io.py +++ b/src/tests/ftest/nvme/nvme_io.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/nvme/nvme_io_stats.py b/src/tests/ftest/nvme/nvme_io_stats.py index 30f71f32d51..f7d6b264501 100755 --- a/src/tests/ftest/nvme/nvme_io_stats.py +++ b/src/tests/ftest/nvme/nvme_io_stats.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import re from ior_test_base import IorTestBase diff --git a/src/tests/ftest/nvme/nvme_io_verification.py b/src/tests/ftest/nvme/nvme_io_verification.py index afbcd7ceaad..e100fce4a2b 100755 --- a/src/tests/ftest/nvme/nvme_io_verification.py +++ b/src/tests/ftest/nvme/nvme_io_verification.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/nvme/nvme_object.py b/src/tests/ftest/nvme/nvme_object.py index 15ce091da76..88e5dbbaf3b 100755 --- a/src/tests/ftest/nvme/nvme_object.py +++ b/src/tests/ftest/nvme/nvme_object.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/nvme/nvme_pool_capacity.py b/src/tests/ftest/nvme/nvme_pool_capacity.py index 04ec1325175..3ebc2d3020d 100644 --- a/src/tests/ftest/nvme/nvme_pool_capacity.py +++ b/src/tests/ftest/nvme/nvme_pool_capacity.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time diff --git a/src/tests/ftest/nvme/nvme_pool_exclude.py b/src/tests/ftest/nvme/nvme_pool_exclude.py index 21f775461ca..aafd4565296 100644 --- a/src/tests/ftest/nvme/nvme_pool_exclude.py +++ b/src/tests/ftest/nvme/nvme_pool_exclude.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time import uuid diff --git a/src/tests/ftest/nvme/nvme_pool_extend.py b/src/tests/ftest/nvme/nvme_pool_extend.py index 7a343677e0d..71be4d78f45 100644 --- a/src/tests/ftest/nvme/nvme_pool_extend.py +++ b/src/tests/ftest/nvme/nvme_pool_extend.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time import uuid diff --git a/src/tests/ftest/object/array_obj_test.py b/src/tests/ftest/object/array_obj_test.py index 41d63acbe54..f9c7383f98c 100755 --- a/src/tests/ftest/object/array_obj_test.py +++ b/src/tests/ftest/object/array_obj_test.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2017-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2017-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/object/create_many_dkeys.py b/src/tests/ftest/object/create_many_dkeys.py index be485c9fa20..323777c28c8 100755 --- a/src/tests/ftest/object/create_many_dkeys.py +++ b/src/tests/ftest/object/create_many_dkeys.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/object/obj_fetch_bad_param.py b/src/tests/ftest/object/obj_fetch_bad_param.py index b07dca9de0e..138218b09b0 100755 --- a/src/tests/ftest/object/obj_fetch_bad_param.py +++ b/src/tests/ftest/object/obj_fetch_bad_param.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/object/obj_open_bad_param.py b/src/tests/ftest/object/obj_open_bad_param.py index 24d46161a98..d8a55accd2c 100755 --- a/src/tests/ftest/object/obj_open_bad_param.py +++ b/src/tests/ftest/object/obj_open_bad_param.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/object/obj_update_bad_param.py b/src/tests/ftest/object/obj_update_bad_param.py index 46cdcc9545b..1624e4c4299 100755 --- a/src/tests/ftest/object/obj_update_bad_param.py +++ b/src/tests/ftest/object/obj_update_bad_param.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/object/object_integrity.py b/src/tests/ftest/object/object_integrity.py index b76a56f90e9..e2c27173942 100755 --- a/src/tests/ftest/object/object_integrity.py +++ b/src/tests/ftest/object/object_integrity.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import ctypes import time diff --git a/src/tests/ftest/object/punch_test.py b/src/tests/ftest/object/punch_test.py index c15e28b8caa..2b7f10c6bd5 100755 --- a/src/tests/ftest/object/punch_test.py +++ b/src/tests/ftest/object/punch_test.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/object/same_key_different_value.py b/src/tests/ftest/object/same_key_different_value.py index 6747cf5a1c7..1afa7f8b53f 100755 --- a/src/tests/ftest/object/same_key_different_value.py +++ b/src/tests/ftest/object/same_key_different_value.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/osa/osa_offline_drain.py b/src/tests/ftest/osa/osa_offline_drain.py index 41378e0606b..b8499752024 100644 --- a/src/tests/ftest/osa/osa_offline_drain.py +++ b/src/tests/ftest/osa/osa_offline_drain.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time import random diff --git a/src/tests/ftest/osa/osa_offline_extend.py b/src/tests/ftest/osa/osa_offline_extend.py index fc2507951ab..25291ade90f 100644 --- a/src/tests/ftest/osa/osa_offline_extend.py +++ b/src/tests/ftest/osa/osa_offline_extend.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time from osa_utils import OSAUtils diff --git a/src/tests/ftest/osa/osa_offline_parallel_test.py b/src/tests/ftest/osa/osa_offline_parallel_test.py index 2cb7dd9f235..d9f5a4d3d46 100644 --- a/src/tests/ftest/osa/osa_offline_parallel_test.py +++ b/src/tests/ftest/osa/osa_offline_parallel_test.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time import random diff --git a/src/tests/ftest/osa/osa_offline_reintegration.py b/src/tests/ftest/osa/osa_offline_reintegration.py index 3540b741815..0bf67e5e5fb 100755 --- a/src/tests/ftest/osa/osa_offline_reintegration.py +++ b/src/tests/ftest/osa/osa_offline_reintegration.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time import random diff --git a/src/tests/ftest/osa/osa_online_drain.py b/src/tests/ftest/osa/osa_online_drain.py index b5bf953c7de..9721e13115a 100644 --- a/src/tests/ftest/osa/osa_online_drain.py +++ b/src/tests/ftest/osa/osa_online_drain.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time import random diff --git a/src/tests/ftest/osa/osa_online_extend.py b/src/tests/ftest/osa/osa_online_extend.py index 86202fa0ba2..502d2d0965c 100644 --- a/src/tests/ftest/osa/osa_online_extend.py +++ b/src/tests/ftest/osa/osa_online_extend.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time import threading diff --git a/src/tests/ftest/osa/osa_online_parallel_test.py b/src/tests/ftest/osa/osa_online_parallel_test.py index 0926828f9f5..3793947a899 100644 --- a/src/tests/ftest/osa/osa_online_parallel_test.py +++ b/src/tests/ftest/osa/osa_online_parallel_test.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time import random diff --git a/src/tests/ftest/osa/osa_online_reintegration.py b/src/tests/ftest/osa/osa_online_reintegration.py index 867db478fd3..8cf0185eae7 100644 --- a/src/tests/ftest/osa/osa_online_reintegration.py +++ b/src/tests/ftest/osa/osa_online_reintegration.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import time import random diff --git a/src/tests/ftest/pool/attribute.py b/src/tests/ftest/pool/attribute.py index 33917c19e12..96b62e58c25 100755 --- a/src/tests/ftest/pool/attribute.py +++ b/src/tests/ftest/pool/attribute.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/pool/bad_connect.py b/src/tests/ftest/pool/bad_connect.py index 72eac286773..9d583c0cdfb 100755 --- a/src/tests/ftest/pool/bad_connect.py +++ b/src/tests/ftest/pool/bad_connect.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/pool/bad_create.py b/src/tests/ftest/pool/bad_create.py index 53aaeab6925..1b0f2a48039 100755 --- a/src/tests/ftest/pool/bad_create.py +++ b/src/tests/ftest/pool/bad_create.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' import os import traceback diff --git a/src/tests/ftest/pool/bad_evict.py b/src/tests/ftest/pool/bad_evict.py index 4fe86493504..bb740760d76 100755 --- a/src/tests/ftest/pool/bad_evict.py +++ b/src/tests/ftest/pool/bad_evict.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' import traceback import ctypes diff --git a/src/tests/ftest/pool/bad_exclude.py b/src/tests/ftest/pool/bad_exclude.py index 121f97b288d..0f8b14a93de 100755 --- a/src/tests/ftest/pool/bad_exclude.py +++ b/src/tests/ftest/pool/bad_exclude.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/pool/bad_query.py b/src/tests/ftest/pool/bad_query.py index 7db10b06537..665c898dc18 100755 --- a/src/tests/ftest/pool/bad_query.py +++ b/src/tests/ftest/pool/bad_query.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' import traceback diff --git a/src/tests/ftest/pool/connect_test.py b/src/tests/ftest/pool/connect_test.py index 7c73e0cb3ed..a2d285df1bd 100755 --- a/src/tests/ftest/pool/connect_test.py +++ b/src/tests/ftest/pool/connect_test.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/pool/create_capacity_test.py b/src/tests/ftest/pool/create_capacity_test.py index a472b5f09fe..029b9e244e6 100755 --- a/src/tests/ftest/pool/create_capacity_test.py +++ b/src/tests/ftest/pool/create_capacity_test.py @@ -2,24 +2,7 @@ """ (C) Copyright 2021 Intel Corporation. -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 - - http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, display, -or disclose this software are subject to the terms of the Apache License as -provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +SPDX-License-Identifier: BSD-2-Clause-Patent """ import time diff --git a/src/tests/ftest/pool/create_test.py b/src/tests/ftest/pool/create_test.py index 12c44665beb..62445eabf1b 100644 --- a/src/tests/ftest/pool/create_test.py +++ b/src/tests/ftest/pool/create_test.py @@ -2,24 +2,7 @@ """ (C) Copyright 2021 Intel Corporation. -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 - - http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, display, -or disclose this software are subject to the terms of the Apache License as -provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +SPDX-License-Identifier: BSD-2-Clause-Patent """ from pool_test_base import PoolTestBase diff --git a/src/tests/ftest/pool/destroy_rebuild.py b/src/tests/ftest/pool/destroy_rebuild.py index 23f537b4830..9a0427470c2 100755 --- a/src/tests/ftest/pool/destroy_rebuild.py +++ b/src/tests/ftest/pool/destroy_rebuild.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from apricot import TestWithServers, skipForTicket from test_utils_pool import TestPool diff --git a/src/tests/ftest/pool/destroy_tests.py b/src/tests/ftest/pool/destroy_tests.py index 89d0f183df0..b8452fdf957 100755 --- a/src/tests/ftest/pool/destroy_tests.py +++ b/src/tests/ftest/pool/destroy_tests.py @@ -1,25 +1,8 @@ #!/usr/bin/python2 """ -(C) Copyright 2018-2019 Intel Corporation. - -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 - - http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, display, -or disclose this software are subject to the terms of the Apache License as -provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +(C) Copyright 2018-2021 Intel Corporation. + +SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/pool/dynamic_server_pool.py b/src/tests/ftest/pool/dynamic_server_pool.py index 73cd74f625a..72c55fdfe88 100644 --- a/src/tests/ftest/pool/dynamic_server_pool.py +++ b/src/tests/ftest/pool/dynamic_server_pool.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers from check_for_pool import check_for_pool diff --git a/src/tests/ftest/pool/evict_test.py b/src/tests/ftest/pool/evict_test.py index 8bde15e5f72..245740cf661 100644 --- a/src/tests/ftest/pool/evict_test.py +++ b/src/tests/ftest/pool/evict_test.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/pool/global_handle.py b/src/tests/ftest/pool/global_handle.py index e6b95489c74..1bcc5e76978 100755 --- a/src/tests/ftest/pool/global_handle.py +++ b/src/tests/ftest/pool/global_handle.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Governments rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function import traceback diff --git a/src/tests/ftest/pool/info_tests.py b/src/tests/ftest/pool/info_tests.py index d3662665cec..b3594d3c45b 100755 --- a/src/tests/ftest/pool/info_tests.py +++ b/src/tests/ftest/pool/info_tests.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers from test_utils_pool import TestPool diff --git a/src/tests/ftest/pool/list_pools.py b/src/tests/ftest/pool/list_pools.py index 58ee07c5035..45caff8539f 100755 --- a/src/tests/ftest/pool/list_pools.py +++ b/src/tests/ftest/pool/list_pools.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Governments rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers from avocado.core.exceptions import TestFail diff --git a/src/tests/ftest/pool/multi_server_create_delete_test.py b/src/tests/ftest/pool/multi_server_create_delete_test.py index cc1adb09ed1..12f77bc6ebe 100755 --- a/src/tests/ftest/pool/multi_server_create_delete_test.py +++ b/src/tests/ftest/pool/multi_server_create_delete_test.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2017-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2017-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os from apricot import TestWithServers diff --git a/src/tests/ftest/pool/multiple_creates_test.py b/src/tests/ftest/pool/multiple_creates_test.py index 95260b2fc08..838c5b42e32 100755 --- a/src/tests/ftest/pool/multiple_creates_test.py +++ b/src/tests/ftest/pool/multiple_creates_test.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2019 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/pool/permission.py b/src/tests/ftest/pool/permission.py index c38ace88210..f33ddb0ac1d 100755 --- a/src/tests/ftest/pool/permission.py +++ b/src/tests/ftest/pool/permission.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from apricot import TestWithServers from pydaos.raw import DaosContainer, DaosApiError diff --git a/src/tests/ftest/pool/pool_svc.py b/src/tests/ftest/pool/pool_svc.py index 672ffc9134f..4040934b4fd 100755 --- a/src/tests/ftest/pool/pool_svc.py +++ b/src/tests/ftest/pool/pool_svc.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function import traceback diff --git a/src/tests/ftest/pool/query_attribute.py b/src/tests/ftest/pool/query_attribute.py index 77cff40ba78..6f01a381add 100644 --- a/src/tests/ftest/pool/query_attribute.py +++ b/src/tests/ftest/pool/query_attribute.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Governments rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers from daos_utils import DaosCommand diff --git a/src/tests/ftest/pool/rebuild_no_cap.py b/src/tests/ftest/pool/rebuild_no_cap.py index 3b86e59c440..1e1d5fe09f8 100755 --- a/src/tests/ftest/pool/rebuild_no_cap.py +++ b/src/tests/ftest/pool/rebuild_no_cap.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from apricot import TestWithServers, skipForTicket from test_utils_pool import TestPool diff --git a/src/tests/ftest/pool/rebuild_tests.py b/src/tests/ftest/pool/rebuild_tests.py index 43fc9421ff6..53ee158cbe1 100755 --- a/src/tests/ftest/pool/rebuild_tests.py +++ b/src/tests/ftest/pool/rebuild_tests.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Governments rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers, skipForTicket from test_utils_pool import TestPool diff --git a/src/tests/ftest/pool/rebuild_with_io.py b/src/tests/ftest/pool/rebuild_with_io.py index 4f1fcf2e48b..3b41c62d08e 100755 --- a/src/tests/ftest/pool/rebuild_with_io.py +++ b/src/tests/ftest/pool/rebuild_with_io.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Governments rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers, skipForTicket from test_utils_pool import TestPool diff --git a/src/tests/ftest/pool/rebuild_with_ior.py b/src/tests/ftest/pool/rebuild_with_ior.py index 2237e84d1d2..7d36cfad24d 100755 --- a/src/tests/ftest/pool/rebuild_with_ior.py +++ b/src/tests/ftest/pool/rebuild_with_ior.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Governments rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/pool/simple_create_delete_test.py b/src/tests/ftest/pool/simple_create_delete_test.py index 598cea1b51a..88da279cb4e 100755 --- a/src/tests/ftest/pool/simple_create_delete_test.py +++ b/src/tests/ftest/pool/simple_create_delete_test.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2017-2020 Intel Corporation. + (C) Copyright 2017-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/pool/storage_ratio.py b/src/tests/ftest/pool/storage_ratio.py index 534f3521a78..e2845559f4e 100644 --- a/src/tests/ftest/pool/storage_ratio.py +++ b/src/tests/ftest/pool/storage_ratio.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers from test_utils_pool import TestPool diff --git a/src/tests/ftest/rebuild/cascading_failures.py b/src/tests/ftest/rebuild/cascading_failures.py index 10790259c5c..5b03f9068cd 100644 --- a/src/tests/ftest/rebuild/cascading_failures.py +++ b/src/tests/ftest/rebuild/cascading_failures.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2019-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import skipForTicket from rebuild_test_base import RebuildTestBase diff --git a/src/tests/ftest/rebuild/container_create.py b/src/tests/ftest/rebuild/container_create.py index 82041b98915..f315b18e559 100644 --- a/src/tests/ftest/rebuild/container_create.py +++ b/src/tests/ftest/rebuild/container_create.py @@ -1,24 +1,7 @@ """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from avocado.core.exceptions import TestFail from apricot import TestWithServers, skipForTicket diff --git a/src/tests/ftest/rebuild/delete_objects.py b/src/tests/ftest/rebuild/delete_objects.py index 32ec95008a8..daf8b4794bb 100644 --- a/src/tests/ftest/rebuild/delete_objects.py +++ b/src/tests/ftest/rebuild/delete_objects.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2019-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from rebuild_test_base import RebuildTestBase diff --git a/src/tests/ftest/rebuild/io_conf_run.py b/src/tests/ftest/rebuild/io_conf_run.py index fbd749f09b6..528d42c2ff8 100644 --- a/src/tests/ftest/rebuild/io_conf_run.py +++ b/src/tests/ftest/rebuild/io_conf_run.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from daos_io_conf import IoConfTestBase from apricot import skipForTicket diff --git a/src/tests/ftest/rebuild/pool_destroy_rebuild.py b/src/tests/ftest/rebuild/pool_destroy_rebuild.py index 5ac8e44f005..6c71cf602de 100755 --- a/src/tests/ftest/rebuild/pool_destroy_rebuild.py +++ b/src/tests/ftest/rebuild/pool_destroy_rebuild.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Governments rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/rebuild/read_array.py b/src/tests/ftest/rebuild/read_array.py index 21f8fb596fc..1cc3e42ef2a 100755 --- a/src/tests/ftest/rebuild/read_array.py +++ b/src/tests/ftest/rebuild/read_array.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import skipForTicket from rebuild_test_base import RebuildTestBase diff --git a/src/tests/ftest/security/cont_create_acl.py b/src/tests/ftest/security/cont_create_acl.py index ad8d664ca60..e8dfe29b31d 100755 --- a/src/tests/ftest/security/cont_create_acl.py +++ b/src/tests/ftest/security/cont_create_acl.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. 8F-30005. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from cont_security_test_base import ContSecurityTestBase from security_test_base import generate_acl_file diff --git a/src/tests/ftest/security/cont_delete_acl.py b/src/tests/ftest/security/cont_delete_acl.py index cecd150dd11..69ef032e3a4 100644 --- a/src/tests/ftest/security/cont_delete_acl.py +++ b/src/tests/ftest/security/cont_delete_acl.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. 8F-30005. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from cont_security_test_base import ContSecurityTestBase diff --git a/src/tests/ftest/security/cont_get_acl.py b/src/tests/ftest/security/cont_get_acl.py index 755a296a74d..b3988981dd0 100644 --- a/src/tests/ftest/security/cont_get_acl.py +++ b/src/tests/ftest/security/cont_get_acl.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. 8F-30005. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/security/cont_overwrite_acl.py b/src/tests/ftest/security/cont_overwrite_acl.py index 4cd8d539e71..6096ecc8ff2 100644 --- a/src/tests/ftest/security/cont_overwrite_acl.py +++ b/src/tests/ftest/security/cont_overwrite_acl.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. 8F-30005. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/security/cont_update_acl.py b/src/tests/ftest/security/cont_update_acl.py index 29153f1893c..08d6297179a 100644 --- a/src/tests/ftest/security/cont_update_acl.py +++ b/src/tests/ftest/security/cont_update_acl.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. 8F-30005. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/security/container_security_acl.py b/src/tests/ftest/security/container_security_acl.py index a8385c1d77d..59ce0cd44e7 100755 --- a/src/tests/ftest/security/container_security_acl.py +++ b/src/tests/ftest/security/container_security_acl.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. 8F-30005. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os import security_test_base as secTestBase diff --git a/src/tests/ftest/security/pool_connect_init.py b/src/tests/ftest/security/pool_connect_init.py index bca1b3b9daa..c3d6e6a1707 100755 --- a/src/tests/ftest/security/pool_connect_init.py +++ b/src/tests/ftest/security/pool_connect_init.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function import os diff --git a/src/tests/ftest/security/pool_security_acl.py b/src/tests/ftest/security/pool_security_acl.py index db182ba68b7..7bb490189fc 100755 --- a/src/tests/ftest/security/pool_security_acl.py +++ b/src/tests/ftest/security/pool_security_acl.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/security/pool_security_groups.py b/src/tests/ftest/security/pool_security_groups.py index ad7d2657920..9a63b556196 100755 --- a/src/tests/ftest/security/pool_security_groups.py +++ b/src/tests/ftest/security/pool_security_groups.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' import os diff --git a/src/tests/ftest/server/cpu_usage.py b/src/tests/ftest/server/cpu_usage.py index edc1337b851..b9dbdf89456 100644 --- a/src/tests/ftest/server/cpu_usage.py +++ b/src/tests/ftest/server/cpu_usage.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers, skipForTicket from general_utils import run_task diff --git a/src/tests/ftest/server/daos_server_config.py b/src/tests/ftest/server/daos_server_config.py index 098cadb1546..dc54360bf17 100644 --- a/src/tests/ftest/server/daos_server_config.py +++ b/src/tests/ftest/server/daos_server_config.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/server/daos_server_restart.py b/src/tests/ftest/server/daos_server_restart.py index 95566230235..0d15b52f043 100644 --- a/src/tests/ftest/server/daos_server_restart.py +++ b/src/tests/ftest/server/daos_server_restart.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/server/dynamic_start_stop.py b/src/tests/ftest/server/dynamic_start_stop.py index 94f12887c28..68fe8bf115f 100644 --- a/src/tests/ftest/server/dynamic_start_stop.py +++ b/src/tests/ftest/server/dynamic_start_stop.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import json from apricot import TestWithServers diff --git a/src/tests/ftest/server/metadata.py b/src/tests/ftest/server/metadata.py index af626ccc137..06aaee1a73c 100755 --- a/src/tests/ftest/server/metadata.py +++ b/src/tests/ftest/server/metadata.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2019-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/slurm_setup.py b/src/tests/ftest/slurm_setup.py index 8d6e4d6850b..153201171cb 100755 --- a/src/tests/ftest/slurm_setup.py +++ b/src/tests/ftest/slurm_setup.py @@ -1,25 +1,8 @@ #!/usr/bin/python2 """ - (C) Copyright 2018-2019 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import socket diff --git a/src/tests/ftest/soak/soak_faults.py b/src/tests/ftest/soak/soak_faults.py index c6ba53d53b4..15ad36d434d 100644 --- a/src/tests/ftest/soak/soak_faults.py +++ b/src/tests/ftest/soak/soak_faults.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ -(C) Copyright 2018-2019 Intel Corporation. - -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 - - http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, display, -or disclose this software are subject to the terms of the Apache License as -provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +(C) Copyright 2018-2021 Intel Corporation. + +SPDX-License-Identifier: BSD-2-Clause-Patent """ from soak_test_base import SoakTestBase diff --git a/src/tests/ftest/soak/soak_harassers.py b/src/tests/ftest/soak/soak_harassers.py index 0332a077024..5e3395a390e 100644 --- a/src/tests/ftest/soak/soak_harassers.py +++ b/src/tests/ftest/soak/soak_harassers.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ -(C) Copyright 2018-2019 Intel Corporation. - -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 - - http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, display, -or disclose this software are subject to the terms of the Apache License as -provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +(C) Copyright 2018-2021 Intel Corporation. + +SPDX-License-Identifier: BSD-2-Clause-Patent """ from soak_test_base import SoakTestBase diff --git a/src/tests/ftest/soak/soak_smoke.py b/src/tests/ftest/soak/soak_smoke.py index ed915f1f0dd..4401e074075 100644 --- a/src/tests/ftest/soak/soak_smoke.py +++ b/src/tests/ftest/soak/soak_smoke.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ -(C) Copyright 2018-2019 Intel Corporation. - -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 - - http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, display, -or disclose this software are subject to the terms of the Apache License as -provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +(C) Copyright 2018-2021 Intel Corporation. + +SPDX-License-Identifier: BSD-2-Clause-Patent """ from soak_test_base import SoakTestBase diff --git a/src/tests/ftest/soak/soak_stress_2h.py b/src/tests/ftest/soak/soak_stress_2h.py index b77cffc89b1..bb46b8ff226 100644 --- a/src/tests/ftest/soak/soak_stress_2h.py +++ b/src/tests/ftest/soak/soak_stress_2h.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ -(C) Copyright 2018-2019 Intel Corporation. - -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 - - http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, display, -or disclose this software are subject to the terms of the Apache License as -provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +(C) Copyright 2018-2021 Intel Corporation. + +SPDX-License-Identifier: BSD-2-Clause-Patent """ from soak_test_base import SoakTestBase diff --git a/src/tests/ftest/soak/soak_stress_48h.py b/src/tests/ftest/soak/soak_stress_48h.py index fb7c3d4c5a4..67acd7ad6c8 100644 --- a/src/tests/ftest/soak/soak_stress_48h.py +++ b/src/tests/ftest/soak/soak_stress_48h.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ -(C) Copyright 2018-2019 Intel Corporation. - -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 - - http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, display, -or disclose this software are subject to the terms of the Apache License as -provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +(C) Copyright 2018-2021 Intel Corporation. + +SPDX-License-Identifier: BSD-2-Clause-Patent """ from soak_test_base import SoakTestBase diff --git a/src/tests/ftest/soak/soak_test_base.py b/src/tests/ftest/soak/soak_test_base.py index 5866f04cc35..758758920c3 100644 --- a/src/tests/ftest/soak/soak_test_base.py +++ b/src/tests/ftest/soak/soak_test_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ -(C) Copyright 2019-2020 Intel Corporation. - -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 - -http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, display, -or disclose this software are subject to the terms of the Apache License as -provided in Contract No. 8F-30005. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +(C) Copyright 2019-2021 Intel Corporation. + +SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/soak/soak_utils.py b/src/tests/ftest/soak/soak_utils.py index db5e2e87e58..147d5d9be41 100644 --- a/src/tests/ftest/soak/soak_utils.py +++ b/src/tests/ftest/soak/soak_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ -(C) Copyright 2019 Intel Corporation. - -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 - - http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, display, -or disclose this software are subject to the terms of the Apache License as -provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +(C) Copyright 2019-2021 Intel Corporation. + +SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/unittest/unittest.py b/src/tests/ftest/unittest/unittest.py index d1d7e979e66..d9556bac082 100755 --- a/src/tests/ftest/unittest/unittest.py +++ b/src/tests/ftest/unittest/unittest.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' import os from avocado.utils import process diff --git a/src/tests/ftest/util/agent_utils.py b/src/tests/ftest/util/agent_utils.py index ef6ab0e784b..8e2a77c29b7 100755 --- a/src/tests/ftest/util/agent_utils.py +++ b/src/tests/ftest/util/agent_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2019-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import socket diff --git a/src/tests/ftest/util/agent_utils_params.py b/src/tests/ftest/util/agent_utils_params.py index 0da93c6d22a..52b5d8fd8ca 100644 --- a/src/tests/ftest/util/agent_utils_params.py +++ b/src/tests/ftest/util/agent_utils_params.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/util/apricot/apricot/test.py b/src/tests/ftest/util/apricot/apricot/test.py index b40f0ee39a4..4f9a884f55d 100644 --- a/src/tests/ftest/util/apricot/apricot/test.py +++ b/src/tests/ftest/util/apricot/apricot/test.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ # pylint: disable=too-many-lines diff --git a/src/tests/ftest/util/check_for_pool.py b/src/tests/ftest/util/check_for_pool.py index e63602364a5..49c05b47768 100644 --- a/src/tests/ftest/util/check_for_pool.py +++ b/src/tests/ftest/util/check_for_pool.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2017-2019 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2017-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/util/command_utils.py b/src/tests/ftest/util/command_utils.py index ab777b50965..1fe2281726c 100644 --- a/src/tests/ftest/util/command_utils.py +++ b/src/tests/ftest/util/command_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from logging import getLogger import re diff --git a/src/tests/ftest/util/command_utils_base.py b/src/tests/ftest/util/command_utils_base.py index b1d99c32ed8..f2ddce53359 100644 --- a/src/tests/ftest/util/command_utils_base.py +++ b/src/tests/ftest/util/command_utils_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from logging import getLogger import os diff --git a/src/tests/ftest/util/configuration_utils.py b/src/tests/ftest/util/configuration_utils.py index 18d1cb6c563..4959fd37d2f 100644 --- a/src/tests/ftest/util/configuration_utils.py +++ b/src/tests/ftest/util/configuration_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2019-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from logging import getLogger import re diff --git a/src/tests/ftest/util/cont_security_test_base.py b/src/tests/ftest/util/cont_security_test_base.py index f2a19e38ad2..7ee476775da 100755 --- a/src/tests/ftest/util/cont_security_test_base.py +++ b/src/tests/ftest/util/cont_security_test_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. 8F-30005. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/util/control_test_base.py b/src/tests/ftest/util/control_test_base.py index ac709a743e1..714ff81b45a 100644 --- a/src/tests/ftest/util/control_test_base.py +++ b/src/tests/ftest/util/control_test_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from avocado import fail_on diff --git a/src/tests/ftest/util/daos_core_base.py b/src/tests/ftest/util/daos_core_base.py index ad702250b00..fbe03685b35 100644 --- a/src/tests/ftest/util/daos_core_base.py +++ b/src/tests/ftest/util/daos_core_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/util/daos_io_conf.py b/src/tests/ftest/util/daos_io_conf.py index 510961806b8..d0feb9e67bf 100644 --- a/src/tests/ftest/util/daos_io_conf.py +++ b/src/tests/ftest/util/daos_io_conf.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os import random diff --git a/src/tests/ftest/util/daos_perf_base.py b/src/tests/ftest/util/daos_perf_base.py index 4c2fc00271a..c5269156cae 100644 --- a/src/tests/ftest/util/daos_perf_base.py +++ b/src/tests/ftest/util/daos_perf_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ import re diff --git a/src/tests/ftest/util/daos_perf_utils.py b/src/tests/ftest/util/daos_perf_utils.py index 59cdfe42aa0..700bff8cf43 100644 --- a/src/tests/ftest/util/daos_perf_utils.py +++ b/src/tests/ftest/util/daos_perf_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2019-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from command_utils_base import FormattedParameter from command_utils import ExecutableCommand diff --git a/src/tests/ftest/util/daos_racer_utils.py b/src/tests/ftest/util/daos_racer_utils.py index 80937ab96fc..584c4983922 100644 --- a/src/tests/ftest/util/daos_racer_utils.py +++ b/src/tests/ftest/util/daos_racer_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from command_utils_base import \ CommandFailure, BasicParameter, FormattedParameter diff --git a/src/tests/ftest/util/daos_utils.py b/src/tests/ftest/util/daos_utils.py index c3f6f9ea1b0..5aaae939225 100644 --- a/src/tests/ftest/util/daos_utils.py +++ b/src/tests/ftest/util/daos_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import re import traceback diff --git a/src/tests/ftest/util/daos_utils_base.py b/src/tests/ftest/util/daos_utils_base.py index 21187510984..62ad4235597 100644 --- a/src/tests/ftest/util/daos_utils_base.py +++ b/src/tests/ftest/util/daos_utils_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from command_utils_base import FormattedParameter, CommandWithParameters from command_utils import CommandWithSubCommand diff --git a/src/tests/ftest/util/data_mover_test_base.py b/src/tests/ftest/util/data_mover_test_base.py index 2be1faad16b..69af69a07bf 100644 --- a/src/tests/ftest/util/data_mover_test_base.py +++ b/src/tests/ftest/util/data_mover_test_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ -(C) Copyright 2018-2020 Intel Corporation. - -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 - - http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, display, -or disclose this software are subject to the terms of the Apache License as -provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +(C) Copyright 2018-2021 Intel Corporation. + +SPDX-License-Identifier: BSD-2-Clause-Patent """ from command_utils_base import CommandFailure from daos_utils import DaosCommand diff --git a/src/tests/ftest/util/data_mover_utils.py b/src/tests/ftest/util/data_mover_utils.py index bab68574d25..7f19842e380 100644 --- a/src/tests/ftest/util/data_mover_utils.py +++ b/src/tests/ftest/util/data_mover_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/util/dfuse_test_base.py b/src/tests/ftest/util/dfuse_test_base.py index 650bf0abf34..8d1de2f9f0f 100644 --- a/src/tests/ftest/util/dfuse_test_base.py +++ b/src/tests/ftest/util/dfuse_test_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ -(C) Copyright 2020 Intel Corporation. +(C) Copyright 2020-2021 Intel Corporation. -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 - -http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, -display, or disclose this software are subject to the terms of the Apache -License as provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +SPDX-License-Identifier: BSD-2-Clause-Patent """ from ClusterShell.NodeSet import NodeSet diff --git a/src/tests/ftest/util/dfuse_utils.py b/src/tests/ftest/util/dfuse_utils.py index d42c0c5f4aa..337e539d995 100644 --- a/src/tests/ftest/util/dfuse_utils.py +++ b/src/tests/ftest/util/dfuse_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2019-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function import time diff --git a/src/tests/ftest/util/dmg_utils.py b/src/tests/ftest/util/dmg_utils.py index accfb5088cf..d5320e341a5 100644 --- a/src/tests/ftest/util/dmg_utils.py +++ b/src/tests/ftest/util/dmg_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/util/dmg_utils_base.py b/src/tests/ftest/util/dmg_utils_base.py index 0b1e0c0f629..0a2b285632e 100644 --- a/src/tests/ftest/util/dmg_utils_base.py +++ b/src/tests/ftest/util/dmg_utils_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/util/dmg_utils_params.py b/src/tests/ftest/util/dmg_utils_params.py index 20eb4500f99..be389ea569f 100644 --- a/src/tests/ftest/util/dmg_utils_params.py +++ b/src/tests/ftest/util/dmg_utils_params.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from command_utils_base import \ diff --git a/src/tests/ftest/util/ec_utils.py b/src/tests/ftest/util/ec_utils.py index 3897422a5ca..340a349b2c9 100644 --- a/src/tests/ftest/util/ec_utils.py +++ b/src/tests/ftest/util/ec_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import re diff --git a/src/tests/ftest/util/fault_config_utils.py b/src/tests/ftest/util/fault_config_utils.py index c1a12039421..1ba47719a85 100755 --- a/src/tests/ftest/util/fault_config_utils.py +++ b/src/tests/ftest/util/fault_config_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2019 Intel Corporation. + (C) Copyright 2019-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' import os diff --git a/src/tests/ftest/util/fio_test_base.py b/src/tests/ftest/util/fio_test_base.py index eeeb40237b0..5af46aaa973 100755 --- a/src/tests/ftest/util/fio_test_base.py +++ b/src/tests/ftest/util/fio_test_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. + (C) Copyright 2020-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from dfuse_test_base import DfuseTestBase from fio_utils import FioCommand diff --git a/src/tests/ftest/util/fio_utils.py b/src/tests/ftest/util/fio_utils.py index 74dcd109256..6f64f7e6e3b 100644 --- a/src/tests/ftest/util/fio_utils.py +++ b/src/tests/ftest/util/fio_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2019-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from general_utils import pcmd diff --git a/src/tests/ftest/util/general_utils.py b/src/tests/ftest/util/general_utils.py index 8347d3022e6..22282306cb7 100644 --- a/src/tests/ftest/util/general_utils.py +++ b/src/tests/ftest/util/general_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2019 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function from logging import getLogger diff --git a/src/tests/ftest/util/get_hosts_from_file.py b/src/tests/ftest/util/get_hosts_from_file.py index 88cbc8f986e..d3eed7fb0e8 100644 --- a/src/tests/ftest/util/get_hosts_from_file.py +++ b/src/tests/ftest/util/get_hosts_from_file.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/util/io_utilities.py b/src/tests/ftest/util/io_utilities.py index 2cdb70c9cd9..e65e19d5155 100644 --- a/src/tests/ftest/util/io_utilities.py +++ b/src/tests/ftest/util/io_utilities.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/ftest/util/ior_test_base.py b/src/tests/ftest/util/ior_test_base.py index cbce2f33e99..d2f537003f9 100644 --- a/src/tests/ftest/util/ior_test_base.py +++ b/src/tests/ftest/util/ior_test_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ -(C) Copyright 2018-2020 Intel Corporation. - -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 - - http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, display, -or disclose this software are subject to the terms of the Apache License as -provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +(C) Copyright 2018-2021 Intel Corporation. + +SPDX-License-Identifier: BSD-2-Clause-Patent """ import os import threading diff --git a/src/tests/ftest/util/ior_utils.py b/src/tests/ftest/util/ior_utils.py index 186ebd7d819..4716576a7c8 100644 --- a/src/tests/ftest/util/ior_utils.py +++ b/src/tests/ftest/util/ior_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ -(C) Copyright 2018-2020 Intel Corporation. - -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 - - http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, display, -or disclose this software are subject to the terms of the Apache License as -provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +(C) Copyright 2018-2021 Intel Corporation. + +SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/util/job_manager_utils.py b/src/tests/ftest/util/job_manager_utils.py index d3229a44cf2..c1aaee1599c 100644 --- a/src/tests/ftest/util/job_manager_utils.py +++ b/src/tests/ftest/util/job_manager_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from distutils.spawn import find_executable import os diff --git a/src/tests/ftest/util/logger_utils.py b/src/tests/ftest/util/logger_utils.py index 91f1ae23bd8..47e4d29a6c2 100644 --- a/src/tests/ftest/util/logger_utils.py +++ b/src/tests/ftest/util/logger_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from logging import DEBUG, INFO, WARNING, ERROR import sys diff --git a/src/tests/ftest/util/macsio_test_base.py b/src/tests/ftest/util/macsio_test_base.py index 82edf50d340..59b4e5916c8 100644 --- a/src/tests/ftest/util/macsio_test_base.py +++ b/src/tests/ftest/util/macsio_test_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers from command_utils_base import CommandFailure diff --git a/src/tests/ftest/util/macsio_util.py b/src/tests/ftest/util/macsio_util.py index 4cceff7f4a9..6ea5ce8cd6e 100644 --- a/src/tests/ftest/util/macsio_util.py +++ b/src/tests/ftest/util/macsio_util.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from command_utils_base import FormattedParameter from command_utils import ExecutableCommand diff --git a/src/tests/ftest/util/mdtest_test_base.py b/src/tests/ftest/util/mdtest_test_base.py index e2a16b99a2c..c0b0d08738c 100755 --- a/src/tests/ftest/util/mdtest_test_base.py +++ b/src/tests/ftest/util/mdtest_test_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from dfuse_test_base import DfuseTestBase from mpio_utils import MpioUtils diff --git a/src/tests/ftest/util/mdtest_utils.py b/src/tests/ftest/util/mdtest_utils.py index 693f55d3ee7..f1ec822d7ad 100644 --- a/src/tests/ftest/util/mdtest_utils.py +++ b/src/tests/ftest/util/mdtest_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2019-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/util/mpio_utils.py b/src/tests/ftest/util/mpio_utils.py index ee1cb04b7a0..661cfc5a91a 100644 --- a/src/tests/ftest/util/mpio_utils.py +++ b/src/tests/ftest/util/mpio_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2019-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Governments rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2019-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/util/nvme_utils.py b/src/tests/ftest/util/nvme_utils.py index affd54ad081..bbaf8a7a9a9 100644 --- a/src/tests/ftest/util/nvme_utils.py +++ b/src/tests/ftest/util/nvme_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import threading import re diff --git a/src/tests/ftest/util/osa_utils.py b/src/tests/ftest/util/osa_utils.py index ffd9ff56475..86ec4f2e832 100644 --- a/src/tests/ftest/util/osa_utils.py +++ b/src/tests/ftest/util/osa_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import ctypes import uuid diff --git a/src/tests/ftest/util/pool_security_test_base.py b/src/tests/ftest/util/pool_security_test_base.py index 6f43bc85666..8d00044e7ea 100755 --- a/src/tests/ftest/util/pool_security_test_base.py +++ b/src/tests/ftest/util/pool_security_test_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/util/pool_test_base.py b/src/tests/ftest/util/pool_test_base.py index 80896ff7883..35dc12a0045 100644 --- a/src/tests/ftest/util/pool_test_base.py +++ b/src/tests/ftest/util/pool_test_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ -(C) Copyright 2020 Intel Corporation. - -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 - - http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, display, -or disclose this software are subject to the terms of the Apache License as -provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +(C) Copyright 2020-2021 Intel Corporation. + +SPDX-License-Identifier: BSD-2-Clause-Patent """ import time diff --git a/src/tests/ftest/util/rebuild_test_base.py b/src/tests/ftest/util/rebuild_test_base.py index 81a7f389f0f..a4dffa07be5 100644 --- a/src/tests/ftest/util/rebuild_test_base.py +++ b/src/tests/ftest/util/rebuild_test_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from apricot import TestWithServers from command_utils_base import ObjectWithParameters, BasicParameter diff --git a/src/tests/ftest/util/security_test_base.py b/src/tests/ftest/util/security_test_base.py index d96098e689e..8524d458c82 100644 --- a/src/tests/ftest/util/security_test_base.py +++ b/src/tests/ftest/util/security_test_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. 8F-30005. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/util/server_utils.py b/src/tests/ftest/util/server_utils.py index d4cafa4b62e..a194e2c1258 100644 --- a/src/tests/ftest/util/server_utils.py +++ b/src/tests/ftest/util/server_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import getpass import os diff --git a/src/tests/ftest/util/server_utils_params.py b/src/tests/ftest/util/server_utils_params.py index 08c30336d11..6c00bcf4560 100644 --- a/src/tests/ftest/util/server_utils_params.py +++ b/src/tests/ftest/util/server_utils_params.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2020-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/util/slurm_utils.py b/src/tests/ftest/util/slurm_utils.py index 2926446be70..7a1ed83d03b 100644 --- a/src/tests/ftest/util/slurm_utils.py +++ b/src/tests/ftest/util/slurm_utils.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ -(C) Copyright 2019 Intel Corporation. - -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 - - http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, display, -or disclose this software are subject to the terms of the Apache License as -provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +(C) Copyright 2019-2021 Intel Corporation. + +SPDX-License-Identifier: BSD-2-Clause-Patent """ from __future__ import print_function diff --git a/src/tests/ftest/util/test_utils_base.py b/src/tests/ftest/util/test_utils_base.py index a8ff6fef9a9..10418e26b01 100644 --- a/src/tests/ftest/util/test_utils_base.py +++ b/src/tests/ftest/util/test_utils_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from logging import getLogger from time import sleep diff --git a/src/tests/ftest/util/test_utils_container.py b/src/tests/ftest/util/test_utils_container.py index c9a412df1d0..45ac8fabd02 100644 --- a/src/tests/ftest/util/test_utils_container.py +++ b/src/tests/ftest/util/test_utils_container.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ from logging import getLogger from time import time diff --git a/src/tests/ftest/util/test_utils_pool.py b/src/tests/ftest/util/test_utils_pool.py index 13f4a146e48..52de64060ad 100644 --- a/src/tests/ftest/util/test_utils_pool.py +++ b/src/tests/ftest/util/test_utils_pool.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent """ import os from time import sleep, time diff --git a/src/tests/ftest/util/vol_test_base.py b/src/tests/ftest/util/vol_test_base.py index a40984485e3..71ea99c1e19 100644 --- a/src/tests/ftest/util/vol_test_base.py +++ b/src/tests/ftest/util/vol_test_base.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ -(C) Copyright 2020 Intel Corporation. +(C) Copyright 2020-2021 Intel Corporation. -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 - -http://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. - -GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE -The Government's rights to use, modify, reproduce, release, perform, -display, or disclose this software are subject to the terms of the Apache -License as provided in Contract No. B609815. -Any reproduction of computer software, computer software documentation, or -portions thereof marked with this legend must also reproduce the markings. +SPDX-License-Identifier: BSD-2-Clause-Patent """ import os diff --git a/src/tests/ftest/util/write_host_file.py b/src/tests/ftest/util/write_host_file.py index 597f7821d27..f2b0c5e498a 100644 --- a/src/tests/ftest/util/write_host_file.py +++ b/src/tests/ftest/util/write_host_file.py @@ -1,25 +1,8 @@ #!/usr/bin/python """ - (C) Copyright 2018-2020 Intel Corporation. + (C) Copyright 2018-2021 Intel Corporation. - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + SPDX-License-Identifier: BSD-2-Clause-Patent """ from logging import getLogger diff --git a/src/tests/ftest/util/write_some_data.py b/src/tests/ftest/util/write_some_data.py index 13ad248e6b0..294424e6985 100755 --- a/src/tests/ftest/util/write_some_data.py +++ b/src/tests/ftest/util/write_some_data.py @@ -1,25 +1,8 @@ #!/usr/bin/python ''' - (C) Copyright 2018-2019 Intel Corporation. - - 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 - - http://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. - - GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - The Government's rights to use, modify, reproduce, release, perform, display, - or disclose this software are subject to the terms of the Apache License as - provided in Contract No. B609815. - Any reproduction of computer software, computer software documentation, or - portions thereof marked with this legend must also reproduce the markings. + (C) Copyright 2018-2021 Intel Corporation. + + SPDX-License-Identifier: BSD-2-Clause-Patent ''' from __future__ import print_function diff --git a/src/tests/jobtest.c b/src/tests/jobtest.c index 7b07a3bc00e..85cd34e7f31 100644 --- a/src/tests/jobtest.c +++ b/src/tests/jobtest.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2020 Intel Corporation. + * (C) Copyright 2020-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /* diff --git a/src/tests/obj_ctl.c b/src/tests/obj_ctl.c index e5ac18bfa7d..bf3f3d47fe3 100644 --- a/src/tests/obj_ctl.c +++ b/src/tests/obj_ctl.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2017-2020 Intel Corporation. + * (C) Copyright 2017-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(tests) diff --git a/src/tests/security/acl_dump_test.c b/src/tests/security/acl_dump_test.c index a96103ba7a1..493fb0b498b 100644 --- a/src/tests/security/acl_dump_test.c +++ b/src/tests/security/acl_dump_test.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /* diff --git a/src/tests/security/security_test.c b/src/tests/security/security_test.c index 5e370d95bdb..599dee9e2be 100644 --- a/src/tests/security/security_test.c +++ b/src/tests/security/security_test.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #include #include diff --git a/src/tests/simple_array.c b/src/tests/simple_array.c index 83e850b1517..3dc34266b9e 100644 --- a/src/tests/simple_array.c +++ b/src/tests/simple_array.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Simple sliced 1D array example diff --git a/src/tests/simple_obj.c b/src/tests/simple_obj.c index b43d0bd29ac..3f2ee62445d 100644 --- a/src/tests/simple_obj.c +++ b/src/tests/simple_obj.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2020 Intel Corporation. + * (C) Copyright 2020-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /* diff --git a/src/tests/suite/daos_aggregate_ec.c b/src/tests/suite/daos_aggregate_ec.c index 5bbcbc17e46..401d074a667 100644 --- a/src/tests/suite/daos_aggregate_ec.c +++ b/src/tests/suite/daos_aggregate_ec.c @@ -1,23 +1,6 @@ /** * (C) Copyright 2020-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is for simple tests of EC aggregation. These tests verify the diff --git a/src/tests/suite/daos_array.c b/src/tests/suite/daos_array.c index a49cb2655c7..95bd5b72da1 100644 --- a/src/tests/suite/daos_array.c +++ b/src/tests/suite/daos_array.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/daos_base_tx.c b/src/tests/suite/daos_base_tx.c index 62c1c8cc039..6f776321085 100644 --- a/src/tests/suite/daos_base_tx.c +++ b/src/tests/suite/daos_base_tx.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/daos_capa.c b/src/tests/suite/daos_capa.c index f0cc47d452c..a2e6302b184 100644 --- a/src/tests/suite/daos_capa.c +++ b/src/tests/suite/daos_capa.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/daos_checksum.c b/src/tests/suite/daos_checksum.c index fa67cc661dd..052d6ee81cb 100644 --- a/src/tests/suite/daos_checksum.c +++ b/src/tests/suite/daos_checksum.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(tests) diff --git a/src/tests/suite/daos_container.c b/src/tests/suite/daos_container.c index ac695c29e3b..c3e0dcd3033 100644 --- a/src/tests/suite/daos_container.c +++ b/src/tests/suite/daos_container.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/daos_dedup.c b/src/tests/suite/daos_dedup.c index bc8cc8c0098..22d2b2de9e8 100644 --- a/src/tests/suite/daos_dedup.c +++ b/src/tests/suite/daos_dedup.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2020 Intel Corporation. + * (C) Copyright 2020-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(tests) diff --git a/src/tests/suite/daos_degrade_ec.c b/src/tests/suite/daos_degrade_ec.c index 26d1478c8a5..b99c258a4d6 100644 --- a/src/tests/suite/daos_degrade_ec.c +++ b/src/tests/suite/daos_degrade_ec.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is for simple tests of degraded EC object. diff --git a/src/tests/suite/daos_degraded.c b/src/tests/suite/daos_degraded.c index 06d8fa68ba4..8fdea684574 100644 --- a/src/tests/suite/daos_degraded.c +++ b/src/tests/suite/daos_degraded.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/daos_dist_tx.c b/src/tests/suite/daos_dist_tx.c index 9ab6ab1e8fc..8a051dcf5ed 100644 --- a/src/tests/suite/daos_dist_tx.c +++ b/src/tests/suite/daos_dist_tx.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2020 Intel Corporation. + * (C) Copyright 2020-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/daos_drain_simple.c b/src/tests/suite/daos_drain_simple.c index da37f020c54..dd96f2d0563 100644 --- a/src/tests/suite/daos_drain_simple.c +++ b/src/tests/suite/daos_drain_simple.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is for simple tests of drain, which does not need to kill the diff --git a/src/tests/suite/daos_epoch.c b/src/tests/suite/daos_epoch.c index 1650d24627d..9cec9eab6a5 100644 --- a/src/tests/suite/daos_epoch.c +++ b/src/tests/suite/daos_epoch.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /* * Epoch Tests diff --git a/src/tests/suite/daos_epoch_io.c b/src/tests/suite/daos_epoch_io.c index 2eea7fef49b..359e5d850c3 100644 --- a/src/tests/suite/daos_epoch_io.c +++ b/src/tests/suite/daos_epoch_io.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos, to test epoch IO. diff --git a/src/tests/suite/daos_epoch_recovery.c b/src/tests/suite/daos_epoch_recovery.c index ff8117c9a3f..ec0d2d7ee03 100644 --- a/src/tests/suite/daos_epoch_recovery.c +++ b/src/tests/suite/daos_epoch_recovery.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/daos_iotest.h b/src/tests/suite/daos_iotest.h index a5ee492148c..c50cbc5a356 100644 --- a/src/tests/suite/daos_iotest.h +++ b/src/tests/suite/daos_iotest.h @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/daos_kv.c b/src/tests/suite/daos_kv.c index d1add0a4995..9e4cbf74325 100644 --- a/src/tests/suite/daos_kv.c +++ b/src/tests/suite/daos_kv.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/daos_md_replication.c b/src/tests/suite/daos_md_replication.c index 5a15ca6e00f..6297163eca5 100644 --- a/src/tests/suite/daos_md_replication.c +++ b/src/tests/suite/daos_md_replication.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2017-2020 Intel Corporation. + * (C) Copyright 2017-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * DAOS Metadata Replication Tests diff --git a/src/tests/suite/daos_mgmt.c b/src/tests/suite/daos_mgmt.c index 9eee44cf9e0..50944ba9241 100644 --- a/src/tests/suite/daos_mgmt.c +++ b/src/tests/suite/daos_mgmt.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos, basic testing for the management API diff --git a/src/tests/suite/daos_nvme_recovery.c b/src/tests/suite/daos_nvme_recovery.c index f41399f9b8f..9f5b9fc74ba 100644 --- a/src/tests/suite/daos_nvme_recovery.c +++ b/src/tests/suite/daos_nvme_recovery.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/daos_obj.c b/src/tests/suite/daos_obj.c index 7ec80224765..015eb77c595 100644 --- a/src/tests/suite/daos_obj.c +++ b/src/tests/suite/daos_obj.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/daos_obj_array.c b/src/tests/suite/daos_obj_array.c index 3e7c42d0c6c..c4e80d9d62d 100644 --- a/src/tests/suite/daos_obj_array.c +++ b/src/tests/suite/daos_obj_array.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/daos_oid_alloc.c b/src/tests/suite/daos_oid_alloc.c index 8d4bb5c6068..920b841585d 100644 --- a/src/tests/suite/daos_oid_alloc.c +++ b/src/tests/suite/daos_oid_alloc.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos_m diff --git a/src/tests/suite/daos_pool.c b/src/tests/suite/daos_pool.c index e3d33f84f81..1de81c5dff5 100644 --- a/src/tests/suite/daos_pool.c +++ b/src/tests/suite/daos_pool.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/daos_rebuild.c b/src/tests/suite/daos_rebuild.c index 76c67740c23..608fe4f35f0 100644 --- a/src/tests/suite/daos_rebuild.c +++ b/src/tests/suite/daos_rebuild.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/daos_rebuild_common.c b/src/tests/suite/daos_rebuild_common.c index 45b9044b0c9..ba0e3454257 100644 --- a/src/tests/suite/daos_rebuild_common.c +++ b/src/tests/suite/daos_rebuild_common.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/daos_rebuild_ec.c b/src/tests/suite/daos_rebuild_ec.c index 46e76d7f8fc..28211330f6a 100644 --- a/src/tests/suite/daos_rebuild_ec.c +++ b/src/tests/suite/daos_rebuild_ec.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is for simple tests of rebuild, which does not need to kill the diff --git a/src/tests/suite/daos_rebuild_simple.c b/src/tests/suite/daos_rebuild_simple.c index 6a9c7f9b9e7..86a54ff7529 100644 --- a/src/tests/suite/daos_rebuild_simple.c +++ b/src/tests/suite/daos_rebuild_simple.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is for simple tests of rebuild, which does not need to kill the diff --git a/src/tests/suite/daos_test.c b/src/tests/suite/daos_test.c index a6f1147891b..0cfbff00695 100644 --- a/src/tests/suite/daos_test.c +++ b/src/tests/suite/daos_test.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/daos_test.h b/src/tests/suite/daos_test.h index b4c2e2f963d..14a71515251 100644 --- a/src/tests/suite/daos_test.h +++ b/src/tests/suite/daos_test.h @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of DAOS diff --git a/src/tests/suite/daos_test_common.c b/src/tests/suite/daos_test_common.c index 7b75cd570cd..483e495d823 100644 --- a/src/tests/suite/daos_test_common.c +++ b/src/tests/suite/daos_test_common.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/daos_verify_consistency.c b/src/tests/suite/daos_verify_consistency.c index d88d4130e4d..313481495dd 100644 --- a/src/tests/suite/daos_verify_consistency.c +++ b/src/tests/suite/daos_verify_consistency.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/dfs_par_test.c b/src/tests/suite/dfs_par_test.c index ceddffd3c2b..2c8d3b31d5d 100644 --- a/src/tests/suite/dfs_par_test.c +++ b/src/tests/suite/dfs_par_test.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(tests) diff --git a/src/tests/suite/dfs_test.c b/src/tests/suite/dfs_test.c index 20c6f046ad2..dfdef169c78 100644 --- a/src/tests/suite/dfs_test.c +++ b/src/tests/suite/dfs_test.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/tests/suite/dfs_test.h b/src/tests/suite/dfs_test.h index 0399759de12..d8cc1fbd789 100644 --- a/src/tests/suite/dfs_test.h +++ b/src/tests/suite/dfs_test.h @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of DAOS diff --git a/src/tests/suite/dfs_unit_test.c b/src/tests/suite/dfs_unit_test.c index 93dea90bf99..7c29ba1f562 100644 --- a/src/tests/suite/dfs_unit_test.c +++ b/src/tests/suite/dfs_unit_test.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(tests) diff --git a/src/tests/suite/io_conf/daos_generate_io_conf.c b/src/tests/suite/io_conf/daos_generate_io_conf.c index 6b51f5539be..02e796aa29e 100644 --- a/src/tests/suite/io_conf/daos_generate_io_conf.c +++ b/src/tests/suite/io_conf/daos_generate_io_conf.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2018 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos, to generate the io test. diff --git a/src/tests/suite/io_conf/daos_run_io_conf.c b/src/tests/suite/io_conf/daos_run_io_conf.c index 361cc44ec6c..9c09066848e 100644 --- a/src/tests/suite/io_conf/daos_run_io_conf.c +++ b/src/tests/suite/io_conf/daos_run_io_conf.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2018 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos, to generate the epoch io test. diff --git a/src/utils/crt_launch/crt_launch.c b/src/utils/crt_launch/crt_launch.c index d31132c2fdf..658aa02738e 100644 --- a/src/utils/crt_launch/crt_launch.c +++ b/src/utils/crt_launch/crt_launch.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * MPI-based and cart-based crt_launch application that facilitates launching diff --git a/src/utils/ctl/cart_ctl.c b/src/utils/ctl/cart_ctl.c index f8be975b47c..5f6b40ad172 100644 --- a/src/utils/ctl/cart_ctl.c +++ b/src/utils/ctl/cart_ctl.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of CaRT. It implements client side of the cart_ctl command diff --git a/src/utils/daos.c b/src/utils/daos.c index 676855c8017..992bf7b0e99 100644 --- a/src/utils/daos.c +++ b/src/utils/daos.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * daos(8): DAOS Container and Object Management Utility diff --git a/src/utils/daos_autotest.c b/src/utils/daos_autotest.c index e88a9ff141b..79d8a9adfda 100644 --- a/src/utils/daos_autotest.c +++ b/src/utils/daos_autotest.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2020 Intel Corporation. + * (C) Copyright 2020-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /* daos_autotest.c - smoke tests against an existing pool to verify installation diff --git a/src/utils/daos_hdlr.c b/src/utils/daos_hdlr.c index 8e74d58b9c5..7dc53137f48 100644 --- a/src/utils/daos_hdlr.c +++ b/src/utils/daos_hdlr.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /* daos_hdlr.c - resource and operation-specific handler functions diff --git a/src/utils/daos_hdlr.h b/src/utils/daos_hdlr.h index 788c820d4a6..ba6867a8edd 100644 --- a/src/utils/daos_hdlr.h +++ b/src/utils/daos_hdlr.h @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B620873. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ enum fs_op { diff --git a/src/utils/self_test/self_test.c b/src/utils/self_test/self_test.c index 68be5770c87..071f49876ae 100644 --- a/src/utils/self_test/self_test.c +++ b/src/utils/self_test/self_test.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. 8F-30005. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(st) diff --git a/src/vea/tests/vea_ut.c b/src/vea/tests/vea_ut.c index 2bc7130199e..879455c91fd 100644 --- a/src/vea/tests/vea_ut.c +++ b/src/vea/tests/vea_ut.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(tests) diff --git a/src/vea/vea_alloc.c b/src/vea/vea_alloc.c index b87e91a61d3..1f7ab4aeef3 100644 --- a/src/vea/vea_alloc.c +++ b/src/vea/vea_alloc.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B620873. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(vos) diff --git a/src/vea/vea_api.c b/src/vea/vea_api.c index cd31a6e9583..c0eb55fa1fa 100644 --- a/src/vea/vea_api.c +++ b/src/vea/vea_api.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B620873. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(vos) diff --git a/src/vea/vea_free.c b/src/vea/vea_free.c index e698de648cc..e7671a55afe 100644 --- a/src/vea/vea_free.c +++ b/src/vea/vea_free.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B620873. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(vos) diff --git a/src/vea/vea_hint.c b/src/vea/vea_hint.c index 0ed03533309..b755523a3fe 100644 --- a/src/vea/vea_hint.c +++ b/src/vea/vea_hint.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B620873. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(vos) diff --git a/src/vea/vea_init.c b/src/vea/vea_init.c index 0144451efa4..8293a3c86db 100644 --- a/src/vea/vea_init.c +++ b/src/vea/vea_init.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B620873. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(vos) diff --git a/src/vea/vea_internal.h b/src/vea/vea_internal.h index eb13944b708..33f4f9e6eaf 100644 --- a/src/vea/vea_internal.h +++ b/src/vea/vea_internal.h @@ -1,24 +1,7 @@ /** - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B620873. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #ifndef __VEA_INTERNAL_H__ diff --git a/src/vea/vea_util.c b/src/vea/vea_util.c index a4d8b560043..8abd60aee67 100644 --- a/src/vea/vea_util.c +++ b/src/vea/vea_util.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B620873. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(vos) diff --git a/src/vos/evt_iter.c b/src/vos/evt_iter.c index 469279f2eaf..054b1d29920 100644 --- a/src/vos/evt_iter.c +++ b/src/vos/evt_iter.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2017-2020 Intel Corporation. + * (C) Copyright 2017-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(vos) diff --git a/src/vos/evt_priv.h b/src/vos/evt_priv.h index fd5d2cd2d0f..c85760e9c3e 100644 --- a/src/vos/evt_priv.h +++ b/src/vos/evt_priv.h @@ -1,24 +1,7 @@ /** - * (C) Copyright 2017-2020 Intel Corporation. + * (C) Copyright 2017-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #ifndef __EVT_PRIV_H__ #define __EVT_PRIV_H__ diff --git a/src/vos/evtree.c b/src/vos/evtree.c index 4caa87cc9c6..634ed38382f 100644 --- a/src/vos/evtree.c +++ b/src/vos/evtree.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2017-2020 Intel Corporation. + * (C) Copyright 2017-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(vos) diff --git a/src/vos/ilog.c b/src/vos/ilog.c index 63c321cf9de..bce71309ee9 100644 --- a/src/vos/ilog.c +++ b/src/vos/ilog.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * VOS Object/Key incarnation log diff --git a/src/vos/ilog.h b/src/vos/ilog.h index acc8e7fe398..0374ea01d0d 100644 --- a/src/vos/ilog.h +++ b/src/vos/ilog.h @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * VOS Object/Key incarnation log diff --git a/src/vos/lru_array.c b/src/vos/lru_array.c index 60a64b19a6c..d23b7f52739 100644 --- a/src/vos/lru_array.c +++ b/src/vos/lru_array.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2020 Intel Corporation. + * (C) Copyright 2020-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * LRU array implementation diff --git a/src/vos/lru_array.h b/src/vos/lru_array.h index aa9ad284676..de10af24458 100644 --- a/src/vos/lru_array.h +++ b/src/vos/lru_array.h @@ -1,24 +1,7 @@ /** - * (C) Copyright 2020 Intel Corporation. + * (C) Copyright 2020-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Generic struct for allocating LRU entries in an array diff --git a/src/vos/tests/evt_ctl.c b/src/vos/tests/evt_ctl.c index 10d51478bd5..a122b48bc83 100644 --- a/src/vos/tests/evt_ctl.c +++ b/src/vos/tests/evt_ctl.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2017-2020 Intel Corporation. + * (C) Copyright 2017-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(tests) diff --git a/src/vos/tests/vos_tests.c b/src/vos/tests/vos_tests.c index e513bb145c3..bb79867d66a 100644 --- a/src/vos/tests/vos_tests.c +++ b/src/vos/tests/vos_tests.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of vos diff --git a/src/vos/tests/vts_aggregate.c b/src/vos/tests/vts_aggregate.c index 98d2348ea27..1977318d222 100644 --- a/src/vos/tests/vts_aggregate.c +++ b/src/vos/tests/vts_aggregate.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of vos/tests/ diff --git a/src/vos/tests/vts_array.c b/src/vos/tests/vts_array.c index c959c8aeccb..6fa7fa5e80c 100644 --- a/src/vos/tests/vts_array.c +++ b/src/vos/tests/vts_array.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of vos/tests/ diff --git a/src/vos/tests/vts_array.h b/src/vos/tests/vts_array.h index a72f23fad5b..46c602e0fd0 100644 --- a/src/vos/tests/vts_array.h +++ b/src/vos/tests/vts_array.h @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This simulates the array API (array of integers only) on top of VOS only diff --git a/src/vos/tests/vts_checksum.c b/src/vos/tests/vts_checksum.c index 7b108567b48..d13d4c4da77 100644 --- a/src/vos/tests/vts_checksum.c +++ b/src/vos/tests/vts_checksum.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #include diff --git a/src/vos/tests/vts_common.c b/src/vos/tests/vts_common.c index bc0931bf466..507b8cfcb9b 100644 --- a/src/vos/tests/vts_common.c +++ b/src/vos/tests/vts_common.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of vos diff --git a/src/vos/tests/vts_common.h b/src/vos/tests/vts_common.h index 6eba64d9c41..f6604a30ed6 100644 --- a/src/vos/tests/vts_common.h +++ b/src/vos/tests/vts_common.h @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of vos diff --git a/src/vos/tests/vts_container.c b/src/vos/tests/vts_container.c index 4b56488eca4..c12aeab6e42 100644 --- a/src/vos/tests/vts_container.c +++ b/src/vos/tests/vts_container.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of dsm diff --git a/src/vos/tests/vts_dtx.c b/src/vos/tests/vts_dtx.c index f3c24d7798b..ea5204896a9 100644 --- a/src/vos/tests/vts_dtx.c +++ b/src/vos/tests/vts_dtx.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of vos/tests/ diff --git a/src/vos/tests/vts_gc.c b/src/vos/tests/vts_gc.c index 6c58a0cb80c..1183fadf40a 100644 --- a/src/vos/tests/vts_gc.c +++ b/src/vos/tests/vts_gc.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of vos/tests/ diff --git a/src/vos/tests/vts_ilog.c b/src/vos/tests/vts_ilog.c index 18a8333044a..fbcd8e5a4d6 100644 --- a/src/vos/tests/vts_ilog.c +++ b/src/vos/tests/vts_ilog.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of vos/tests/ diff --git a/src/vos/tests/vts_io.c b/src/vos/tests/vts_io.c index 32a9c0f9fcc..dacc3fe3a01 100644 --- a/src/vos/tests/vts_io.c +++ b/src/vos/tests/vts_io.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of vos/tests/ diff --git a/src/vos/tests/vts_io.h b/src/vos/tests/vts_io.h index 225f09fdfd9..9b1610edf49 100644 --- a/src/vos/tests/vts_io.h +++ b/src/vos/tests/vts_io.h @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of vos/tests/ diff --git a/src/vos/tests/vts_mvcc.c b/src/vos/tests/vts_mvcc.c index e102f95acde..b3b72880ec5 100644 --- a/src/vos/tests/vts_mvcc.c +++ b/src/vos/tests/vts_mvcc.c @@ -1,24 +1,7 @@ /* - * (C) Copyright 2020 Intel Corporation. + * (C) Copyright 2020-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * \file diff --git a/src/vos/tests/vts_pm.c b/src/vos/tests/vts_pm.c index 5427c762a1a..cc5cb143820 100644 --- a/src/vos/tests/vts_pm.c +++ b/src/vos/tests/vts_pm.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of vos/tests/ diff --git a/src/vos/tests/vts_pool.c b/src/vos/tests/vts_pool.c index 2b8d6be4830..3b962aa790a 100644 --- a/src/vos/tests/vts_pool.c +++ b/src/vos/tests/vts_pool.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of dsm diff --git a/src/vos/tests/vts_ts.c b/src/vos/tests/vts_ts.c index 12ea3155a74..fb6c9469922 100644 --- a/src/vos/tests/vts_ts.c +++ b/src/vos/tests/vts_ts.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2020 Intel Corporation. + * (C) Copyright 2020-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of vos/tests/ diff --git a/src/vos/vos_aggregate.c b/src/vos/vos_aggregate.c index b38fdba003f..9d1d901d113 100644 --- a/src/vos/vos_aggregate.c +++ b/src/vos/vos_aggregate.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Implementation for aggregation and discard diff --git a/src/vos/vos_common.c b/src/vos/vos_common.c index 24fa02568af..60fa93db623 100644 --- a/src/vos/vos_common.c +++ b/src/vos/vos_common.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Common internal functions for VOS diff --git a/src/vos/vos_container.c b/src/vos/vos_container.c index 5a3486f330d..4e06b39aab6 100644 --- a/src/vos/vos_container.c +++ b/src/vos/vos_container.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * VOS Container API implementation diff --git a/src/vos/vos_dtx.c b/src/vos/vos_dtx.c index 4a3b197ce52..75c6d722afe 100644 --- a/src/vos/vos_dtx.c +++ b/src/vos/vos_dtx.c @@ -1,24 +1,7 @@ /** * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos two-phase commit transaction. diff --git a/src/vos/vos_dtx_iter.c b/src/vos/vos_dtx_iter.c index 1d92f64452e..5bd1ae6ca7a 100644 --- a/src/vos/vos_dtx_iter.c +++ b/src/vos/vos_dtx_iter.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos two-phase commit transaction. diff --git a/src/vos/vos_gc.c b/src/vos/vos_gc.c index b6c85399322..c62a18bfe93 100644 --- a/src/vos/vos_gc.c +++ b/src/vos/vos_gc.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/vos/vos_ilog.c b/src/vos/vos_ilog.c index 8acc504f19f..75d5ea37f0b 100644 --- a/src/vos/vos_ilog.c +++ b/src/vos/vos_ilog.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/vos/vos_ilog.h b/src/vos/vos_ilog.h index a7a6cd639ce..af90adb95c0 100644 --- a/src/vos/vos_ilog.h +++ b/src/vos/vos_ilog.h @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Incarnation log wrappers for fetching the log and checking existence diff --git a/src/vos/vos_internal.h b/src/vos/vos_internal.h index 3fb415d4c77..ccb9e9ed8f0 100644 --- a/src/vos/vos_internal.h +++ b/src/vos/vos_internal.h @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Layout definition for VOS root object diff --git a/src/vos/vos_io.c b/src/vos/vos_io.c index 72a689f5b89..89ded513077 100644 --- a/src/vos/vos_io.c +++ b/src/vos/vos_io.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2018-2020 Intel Corporation. + * (C) Copyright 2018-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/vos/vos_iterator.c b/src/vos/vos_iterator.c index c7b9741a423..dcbdfdde208 100644 --- a/src/vos/vos_iterator.c +++ b/src/vos/vos_iterator.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/vos/vos_layout.h b/src/vos/vos_layout.h index f82b2d6e8f9..18f4c6ed9c6 100644 --- a/src/vos/vos_layout.h +++ b/src/vos/vos_layout.h @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Layout definition for VOS root object diff --git a/src/vos/vos_obj.c b/src/vos/vos_obj.c index d61e539b03a..cc45546fc49 100644 --- a/src/vos/vos_obj.c +++ b/src/vos/vos_obj.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/vos/vos_obj.h b/src/vos/vos_obj.h index 03ab7dfc0b6..55fa605a664 100644 --- a/src/vos/vos_obj.h +++ b/src/vos/vos_obj.h @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Object related API and structures diff --git a/src/vos/vos_obj_cache.c b/src/vos/vos_obj_cache.c index f3bbe6dc93c..962837eaa90 100644 --- a/src/vos/vos_obj_cache.c +++ b/src/vos/vos_obj_cache.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Object cache for VOS OI table. diff --git a/src/vos/vos_obj_index.c b/src/vos/vos_obj_index.c index d3fd0fa7614..60a5542c066 100644 --- a/src/vos/vos_obj_index.c +++ b/src/vos/vos_obj_index.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * VOS object table definition diff --git a/src/vos/vos_pool.c b/src/vos/vos_pool.c index f1a313d73cb..2c4988e97cb 100644 --- a/src/vos/vos_pool.c +++ b/src/vos/vos_pool.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Implementation for pool specific functions in VOS diff --git a/src/vos/vos_query.c b/src/vos/vos_query.c index d15c60f984a..813d9deb6bb 100644 --- a/src/vos/vos_query.c +++ b/src/vos/vos_query.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/vos/vos_size.c b/src/vos/vos_size.c index 7f17bb584ea..4ec8b4a4b3a 100644 --- a/src/vos/vos_size.c +++ b/src/vos/vos_size.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2019-2020 Intel Corporation. + * (C) Copyright 2019-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /* This generates a summary of struct sizes to be used by vos_size.py * to generate metadata overhead estimates diff --git a/src/vos/vos_space.c b/src/vos/vos_space.c index d8101dd641d..95e712867ac 100644 --- a/src/vos/vos_space.c +++ b/src/vos/vos_space.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2020 Intel Corporation. + * (C) Copyright 2020-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(vos) diff --git a/src/vos/vos_tls.h b/src/vos/vos_tls.h index a9abb14ef11..5ec36a7198c 100644 --- a/src/vos/vos_tls.h +++ b/src/vos/vos_tls.h @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Thread local storage for vos diff --git a/src/vos/vos_tree.c b/src/vos/vos_tree.c index abbb12d6d54..94a680c4466 100644 --- a/src/vos/vos_tree.c +++ b/src/vos/vos_tree.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2016-2020 Intel Corporation. + * (C) Copyright 2016-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * This file is part of daos diff --git a/src/vos/vos_ts.c b/src/vos/vos_ts.c index 295a256754d..6ea6f6de1f7 100644 --- a/src/vos/vos_ts.c +++ b/src/vos/vos_ts.c @@ -1,24 +1,7 @@ /** - * (C) Copyright 2020 Intel Corporation. + * (C) Copyright 2020-2021 Intel Corporation. * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Record timestamp table diff --git a/src/vos/vos_ts.h b/src/vos/vos_ts.h index a7aa46bcfbc..a7fdf3da7bb 100644 --- a/src/vos/vos_ts.h +++ b/src/vos/vos_ts.h @@ -1,24 +1,7 @@ /** - * (C) Copyright 2020 Intel Corporation. - * - * 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 - * - * http://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. - * - * GOVERNMENT LICENSE RIGHTS-OPEN SOURCE SOFTWARE - * The Government's rights to use, modify, reproduce, release, perform, display, - * or disclose this software are subject to the terms of the Apache License as - * provided in Contract No. B609815. - * Any reproduction of computer software, computer software documentation, or - * portions thereof marked with this legend must also reproduce the markings. + * (C) Copyright 2020-2021 Intel Corporation. + * + * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Record timestamp table diff --git a/utils/githooks/pre-commit b/utils/githooks/pre-commit index 157d69ff3ac..da98a7db950 100755 --- a/utils/githooks/pre-commit +++ b/utils/githooks/pre-commit @@ -5,12 +5,12 @@ if [ -n "${NO_PRE_COMMIT:=""}" ]; then exit 0 fi -regex='(^\s*[\*/].*)((Copyright\s*)([0-9]{4})(-([0-9]{4}))?)(\s*(Intel.*$))' +regex='(^\s*[\*/]*.*)((Copyright\s*)([0-9]{4})(-([0-9]{4}))?)(\s*(Intel.*$))' year=$(date +%Y) errors=0 files=$(git diff --diff-filter=AM --name-only --cached -- \ - '*.c' '*.h' '*.go' 'Makefile') + '*.c' '*.h' '*.go' 'Makefile' '*.py') for file in $files; do if [[ "$file" == *vendor* ]] || [[ "$file" == *pb.go ]] || \ [[ "$file" == *_string.go ]] || [[ "$file" == *pb-c* ]]; then